* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scroll Animation */
.fade-in-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.animate {
  opacity: 1;
  transform: translateY(0);
}

header {
  background: white;
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #003d82;
}

/* Desktop Navigation */
.nav-desktop a {
  margin-left: 30px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background: #333;
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: 1px;
}

.hamburger.active span:first-child {
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:last-child {
  transform: rotate(-45deg);
}

/* Mobile Navigation */
.nav-mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #002b66;
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.nav-mobile.active {
  transform: translateX(0);
}

.nav-mobile-content {
  padding: 80px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.nav-mobile a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.3s ease;
}

.nav-mobile a:hover {
  color: #7fb8ff;
}

/* Body scroll lock when menu is open */
body.menu-open {
  overflow: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-desktop {
    display: none;
  }
  
  .header-content {
    padding: 15px 20px;
  }
  
  .logo {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .pc-tb-only {
    display: none;
  }

  .nav-mobile-content {
    padding: 60px 15px 20px;
    gap: 20px;
  }
  
  .nav-mobile a {
    font-size: 16px;
    padding: 12px 0;
  }
}

/* === Hero Section === */
.hero {
  position: relative;
  height: 90vh;
  background: linear-gradient(135deg, #003d82 0%, #004c99 100%);
  color: white;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  width: 100%;
  max-width: 100vw;
}

.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  gap: 40px;
}

.hero-content {
  position: relative;
  z-index: 4;
  flex: 0 0 40%;
  max-width: 480px;
  min-width: 0;
  overflow: visible;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: bold;
  white-space: normal;
  overflow: visible;
}

.hero p {
  font-size: 16px;
  line-height: 1.8;
  white-space: normal;
  overflow: visible;
}

.hero-images {
  flex: 0 0 55%;
  max-width: 660px;
  min-width: 0;
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-image {
  flex: 1;
  background: #d9e2ef center/cover no-repeat;
  border-radius: 8px;
  opacity: 1;
  position: relative;
  overflow: hidden;
}

.hero-image_1 {
    height: 400px;
    width: 200px;
    border-radius: 8px;
    flex-shrink: 0;
    object-fit: cover;
}

.hero-image_2 {
    height: 400px;
    width: 200px;
    border-radius: 8px;
    flex-shrink: 0;
    object-fit: cover;
}

.hero-image_3 {
    height: 400px;
    width: 200px;
    border-radius: 8px;
    flex-shrink: 0;
    object-fit: cover;
}

.hero-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 61, 130, 0.4);
}

.hero-image span {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.7);
  padding: 4px 8px;
  font-size: 12px;
  color: #666;
  border-radius: 4px;
  font-weight: bold;
  z-index: 2;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 160px;
  background: #002b66;
  transform: skewY(-6deg);
  transform-origin: 100% 100%;
  z-index: 1;
}

/* Hero responsive adjustments */
@media (max-width: 1200px) {
  .hero-container {
    max-width: 100%;
    padding: 0 40px;
  }
}

@media (max-width: 1024px) {
  .hero-container {
    padding: 0 20px;
    gap: 30px;
  }
  
  .hero-content {
    flex: 0 0 45%;
    min-width: 0;
    max-width: 450px;
  }
  
  .hero-images {
    flex: 0 0 50%;
    min-width: 0;
    max-width: 600px;
  }
  
  .hero h1 {
    font-size: 42px;
  }
  
  .hero p {
    font-size: 15px;
  }
}

@media (max-width: 900px) {
  .hero {
    height: auto;
    padding: 60px 20px;
  }
  
  .hero-container {
    padding: 0 10px;
    flex-direction: column;
    gap: 40px;
  }
  
  .hero-content {
    flex: none;
    min-width: auto;
    max-width: 100%;
    text-align: center;
  }
  
  .hero-images {
    flex: none;
    min-width: auto;
    max-width: 100%;
    width: 100%;
    justify-content: center;
  }
  
  .hero h1 {
    font-size: 36px;
    white-space: normal;
  }
  
  .hero p {
    font-size: 15px;
    white-space: normal;
  }
}

@media (max-width: 800px) {
  .hero-container {
    gap: 30px;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .hero p {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }
  
  .hero p {
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .hero {
    height: auto;
    padding: 40px 20px 60px;
  }
  
  .hero-container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  
  .hero-content {
    flex: none;
    min-width: auto;
    max-width: 100%;
    width: 100%;
  }
  
  .hero h1 {
    font-size: 28px;
    line-height: 1.4;
    margin-bottom: 15px;
    white-space: normal;
  }
  
  .hero p {
    font-size: 14px;
    line-height: 1.6;
    white-space: normal;
  }

  /* スマホ表示時：テキストの下に画像を並べて表示 */
  .hero-images {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    gap: 8px;
  }

  .hero-image_1,
  .hero-image_2,
  .hero-image_3 {
    height: 220px;
    width: auto;
  }
}

/* === About Section === */
#about-section {
  position: relative;
  background: linear-gradient(135deg, #f3f3f3 0%, #eaeaea 50%, #f3f3f3 100%);
  padding: 100px 0;
  overflow: hidden;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 0 20px;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 36px;
  line-height: 1.5;
  font-weight: bold;
  margin-bottom: 20px;
  background: linear-gradient(to right, #002b66, #003d82);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 30px;
}

.about-image-single {
  flex: 1;
  border-radius: 12px;
  position: relative;
  height: 400px;
  overflow: hidden;
}

.about-image-single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* About Section Responsive */
@media (max-width: 768px) {
  .about-container {
    gap: 30px;
    padding: 0 20px;
  }
  
  .about-text h2 {
    font-size: 32px;
  }
  
  .about-text p {
    font-size: 15px;
  }
  
  .about-image-single {
    height: 350px;
  }
  
  .about-image-single img {
    height: 100%;
  }
}

@media (max-width: 600px) {
  .about-container {
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
  }
  
  .about-text {
    order: 1;
  }
  
  .about-text h2 {
    font-size: 28px;
    text-align: center;
  }
  
  .about-text p {
    font-size: 15px;
    text-align: justify;
  }
  
  .about-image-single {
    order: 2;
    height: 300px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .about-image-single img {
    height: 100%;
  }
}

@media (max-width: 480px) {
  #about-section {
    padding: 60px 0;
  }
  
  .about-container {
    gap: 20px;
    padding: 0 15px;
  }
  
  .about-text h2 {
    font-size: 24px;
  }
  
  .about-text p {
    font-size: 14px;
  }
  
  .about-image-single {
    height: 250px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .about-image-single img {
    height: 100%;
  }
}

/* === Services Section === */
#services-section {
  background: linear-gradient(135deg, #e9f1fa 0%, #f4f8fc 100%);
  padding: 100px 0;
  text-align: center;
}

#services-section h2 {
  font-size: 42px;
  background: linear-gradient(to right, #002b66, #004c99);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 60px;
  font-weight: bold;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  align-items: stretch;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 40px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
}

.service-card h3 {
  font-size: 20px;
  color: #003d82;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 20px;
}

.service-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background: #004c99;
  border-radius: 4px;
  margin-top: 15px;
}

.service-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.service-card p strong {
  color: #003d82;
  font-weight: bold;
}

/* レスポンシブな列数調整 */

/* タブレット（3カラム） */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  #services-section {
    padding: 80px 0;
  }

  #services-section h2 {
    font-size: 36px;
    margin-bottom: 40px;
  }

  .service-card {
    padding: 32px 18px;
  }

  .service-card h3 {
    font-size: 19px;
  }

  .service-card p {
    font-size: 13px;
  }
}

/* タブレット（2カラム） */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* モバイル（1カラム） */
@media (max-width: 600px) {
  #services-section {
    padding: 60px 0 70px;
  }

  #services-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  
  .service-card {
    max-width: 100%;
    min-width: 0;
    padding: 22px 10px;
    align-items: flex-start;
  }

  .service-card h3 {
    font-size: 16px;
    margin-bottom: 14px;
    padding-bottom: 14px;
  }

  .service-card p {
    font-size: 12px;
    line-height: 1.6;
  }
}

/* === Common Sections === */
.section-title {
  background: #003d82;
  color: #fff;
  padding: 15px 20px;
  margin: 60px 0 30px 0;
  font-size: 18px;
  font-weight: bold;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

footer {
  background: #1a1a2e;
  color: #fff;
  padding: 30px 0 20px 0;
  text-align: center;
}

/* Footer Responsive */
@media (max-width: 768px) {
  footer {
    padding: 25px 0 15px 0;
  }
  
  footer .container {
    padding: 0 20px;
  }
  
  footer p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 20px 0 15px 0;
  }
  
  footer .container {
    padding: 0 15px;
  }
  
  footer p {
    font-size: 13px;
    line-height: 1.5;
  }
}

/* === Strengths & Numbers === */
#strength-section {
  background: linear-gradient(135deg, #003d82 0%, #004c99 100%);
  color: #fff;
  position: relative;
  padding: 100px 0;
}

.strength-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 30px;
  align-items: start;
  padding: 0 20px;
}

.strength-lead small {
  display: block;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  opacity: 0.9;
}

.strength-lead h2 {
  font-size: 56px;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 800;
}

.strength-lead p {
  font-size: 16px;
  line-height: 1.9;
  opacity: 0.95;
}

.strength-metrics {
  width: 100%;
}

.strength-metrics hr {
  border: none;
  height: 2px;
  background: rgba(255, 255, 255, 0.7);
  margin: 14px 0 26px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric .label {
  font-size: 18px;
  font-weight: 700;
  opacity: 0.95;
}

.metric .sublabel {
  font-size: 12px;
  opacity: 0.8;
}

.metric .value {
  font-size: 60px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.metric .unit {
  font-size: 28px;
  margin-left: 6px;
}

@media (max-width: 980px) {
  .strength-wrap {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .strength-lead h2 {
    font-size: 40px;
  }
  
  .metric .value {
    font-size: 48px;
  }
}

/* === Company Section === */
#company-section {
  background: #f4f7fb;
  padding: 60px 0 100px 0;
}

#company-section h2 {
  font-size: 40px;
  text-align: center;
  background: linear-gradient(to right, #002b66, #004c99);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 30px;
  font-weight: 800;
}

.company-info {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.company-info dl {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid #d9e2ef;
}

.company-info dt {
  width: 25%;
  padding: 16px 14px;
  color: #003d82;
  font-weight: 700;
  border-bottom: 1px solid #d9e2ef;
}

.company-info dd {
  width: 75%;
  padding: 16px 14px;
  border-bottom: 1px solid #d9e2ef;
}

@media (max-width: 820px) {
  .company-info dt,
  .company-info dd {
    width: 100%;
  }
}

/* === Access Section === */
#access-section {
  background: #fff;
  padding: 100px 0;
}

.access-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  padding: 0 20px;
}

.access-content {
  flex: 1 1 420px;
  min-width: 320px;
}

.access-content h2 {
  font-size: 40px;
  background: linear-gradient(to right, #002b66, #004c99);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 30px;
  font-weight: 800;
}

.access-content p {
  font-size: 16px;
  margin-bottom: 20px;
}

.access-info {
  margin-bottom: 30px;
}

.access-info h3 {
  font-size: 16px;
  color: #003d82;
  margin-bottom: 10px;
}

.access-info p {
  font-size: 14px;
  line-height: 1.8;
}

.access-map {
  flex: 1 1 600px;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.access-map iframe {
  border: 0;
  width: 100%;
}

/* Access Section Responsive */
@media (max-width: 1200px) {
  .access-container {
    max-width: 100%;
    padding: 0 40px;
  }
}

@media (max-width: 900px) {
  .access-container {
    padding: 0 30px;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .access-container {
    flex-direction: column;
    gap: 10px;
    padding: 0 20px;
  }
  
  .access-content {
    flex: none;
    width: 100%;
    min-width: auto;
  }
  
  .access-map {
    flex: none;
    width: 100%;
    min-width: auto;
    height: 100%;
  }
}

@media (max-width: 480px) {
  #access-section {
    padding: 60px 0;
  }
  
  .access-container {
    gap: 0px;
    padding: 0 15px;
  }
  
  .access-content h2 {
    font-size: 32px;
  }
  
  .access-content p {
    font-size: 14px;
  }
  
  .access-info h3 {
    font-size: 15px;
  }
  
  .access-info p {
    font-size: 13px;
  }
  
  .access-map {
    height: 100%;
  }
}

/* === Contact Section === */
/* 既存のCONTACT USセクション（コメントアウト）
#contact-section {
  padding: 0 20px;
}

.contact-container {
  max-width: 1200px;
  margin: 60px auto;
  background: linear-gradient(135deg, #004c99 0%, #7fb8ff 100%);
  color: #fff;
  border-radius: 24px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  padding: 60px 80px;
  text-align: left;
}

.contact-container h2 {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 40px;
  letter-spacing: 2px;
}

.contact-container p {
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 30px;
}

.contact-info {
  background: rgba(255, 255, 255, 0.15);
  padding: 20px 30px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  margin-bottom: 40px;
}

.contact-container ul {
  list-style: none;
  font-size: 15px;
  line-height: 2.0;
}

.contact-button {
  text-align: center;
}

.contact-button a {
  display: inline-block;
  background: #fff;
  color: #004c99;
  font-weight: bold;
  font-size: 16px;
  padding: 14px 36px;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}

.contact-button a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

// Contact Section Responsive
@media (max-width: 768px) {
  .contact-container {
    padding: 40px 30px;
    margin: 40px auto;
  }
  
  .contact-container h2 {
    font-size: 40px;
    margin-bottom: 30px;
  }
  
  .contact-container p {
    font-size: 15px;
    margin-bottom: 25px;
  }
  
  .contact-info {
    padding: 15px 20px;
    margin-bottom: 30px;
  }
  
  .contact-container ul {
    font-size: 14px;
  }
  
  .contact-button a {
    font-size: 15px;
    padding: 12px 30px;
  }
}

@media (max-width: 480px) {
  #contact-section {
    padding: 0 15px;
  }
  
  .contact-container {
    padding: 30px 20px;
    margin: 30px auto;
    border-radius: 16px;
  }
  
  .contact-container h2 {
    font-size: 32px;
    margin-bottom: 25px;
    letter-spacing: 1px;
  }
  
  .contact-container p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
  }
  
  .contact-info {
    padding: 12px 15px;
    margin-bottom: 25px;
    border-radius: 8px;
  }
  
  .contact-container ul {
    font-size: 13px;
    line-height: 1.8;
  }
  
  .contact-button a {
    font-size: 14px;
    padding: 10px 25px;
    border-radius: 25px;
  }
}
*/

/* === 新しいContact Section === */
#contact-section {
  padding: 0 20px;
  position: relative;
}

.contact-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 60px auto;
  /* コンテンツに応じて高さを自動調整 */
  min-height: 700px;
  padding: 80px 60px;
  /* カードセット全体を中央揃えで配置 */
  display: flex;
  justify-content: center;
  align-items: center;
  /* カード全体が見えるようにオーバーフローを許可 */
  overflow: visible;
  /* コンテナの幅を確実に制限 */
  width: 100%;
  box-sizing: border-box;
}

/* 白のシャドウが効いた背景の四角 */
.contact-background-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 120px);
  height: auto;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(15, 13, 13, 0.5);
  z-index: 1;
  /* コンテンツに応じて高さを自動調整 */
  min-height: 600px;
}

/* メインのコンテンツカード（青のグラデーション） */
.contact-main-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(calc(-50% - 8%), calc(-50% - 8%));
  width: calc(100% - 120px);
  height: auto;
  z-index: 2;
  background: linear-gradient(135deg, #004c99 0%, #7fb8ff 100%);
  color: #fff;
  border-radius: 24px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  padding: 60px 80px;
  text-align: left;
  /* コンテンツに応じて高さを自動調整 */
  min-height: 500px;
  /* 内容が確実に表示されるように調整 */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.contact-container {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow: visible;
}

.contact-container h2 {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 40px;
  letter-spacing: 2px;
  flex-shrink: 0;
}

.contact-container p {
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 30px;
}

.contact-info {
  background: rgba(255, 255, 255, 0.15);
  padding: 20px 30px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  margin-bottom: 40px;
  width: 100%;
}

.contact-container ul {
  list-style: none;
  font-size: 15px;
  line-height: 2.0;
}

.contact-button {
  text-align: center;
}

.contact-button a {
  display: inline-block;
  background: #fff;
  color: #004c99;
  font-weight: bold;
  font-size: 16px;
  padding: 14px 36px;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}

.contact-button a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 新しいContact Section Responsive */
@media (max-width: 768px) {
  .contact-wrapper {
    margin: 40px auto;
    min-height: 600px;
    padding: 60px 30px;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .contact-background-card {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 60px);
    height: auto;
    min-height: 500px;
  }
  
  .contact-main-card {
    padding: 40px 30px;
    /* モバイルでも同じずらし効果を維持（全体が見えるように調整） */
    transform: translate(calc(-50% - 6%), calc(-50% - 6%));
    width: calc(100% - 60px);
    height: auto;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }
  
  .contact-container h2 {
    font-size: 40px;
    margin-bottom: 30px;
  }
  
  .contact-container p {
    font-size: 15px;
    margin-bottom: 25px;
  }
  
  .contact-info {
    padding: 15px 20px;
    margin-bottom: 30px;
  }
  
  .contact-container ul {
    font-size: 14px;
  }
  
  .contact-button a {
    font-size: 15px;
    padding: 12px 30px;
  }
}

@media (max-width: 480px) {
  #contact-section {
    padding: 0 15px;
  }
  
  .contact-wrapper {
    margin: 0 auto;
    padding: 40px 0;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .contact-background-card {
    display: none;
  }
  
  .contact-main-card {
    padding: 30px 20px;
    border-radius: 16px;
    /* スマホサイズでは青のカードのみを中央揃えで表示 */
    position: static;
    transform: none;
    width: 100%;
    height: auto;
    min-height: 350px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }
  
  .contact-container h2 {
    font-size: 28px;
    margin-bottom: 25px;
    letter-spacing: 1px;
  }
  
  .contact-container p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
  }
  
  .contact-info {
    padding: 12px 15px;
    margin-bottom: 25px;
    border-radius: 8px;
  }
  
  .contact-container ul {
    font-size: 13px;
    line-height: 1.8;
  }
  
  .contact-button a {
    font-size: 14px;
    padding: 10px 25px;
    border-radius: 25px;
  }
}