/* ======================
   Service Hero
   ====================== */
.hero-service {
  height: 276px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-page-title {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}

.hero-title-ja {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.2;
}

.hero-title-en {
  font-size: 20px;
  font-weight: 400;
  margin: 0;
}

/* ======================
   Service Intro Section
   ====================== */
.service-intro-section {
  background: #fff;
  padding: 60px 0;
}

.service-intro-section .section-container {
  max-width: 896px;
}

.service-intro-text {
  font-size: 18px;
  color: #364153;
  line-height: 2;
  text-align: center;
  margin: 0;
}

/* ======================
   Insurance Logos Section
   ====================== */
.insurance-section {
  background: #fff;
  padding: 0 0 80px;
}

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

.insurance-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.insurance-logo-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #E5E7EB;
  background: #fff;
  padding: 24px;
  margin-bottom: 16px;
  transition: box-shadow 0.2s;
  aspect-ratio: 4/3;
}

.insurance-item:hover .insurance-logo-wrap {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.insurance-logo {
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
}

.insurance-name {
  font-size: 16px;
  color: #101828;
  margin: 0;
  text-align: center;
}

/* ======================
   Responsive (SP)
   ====================== */
@media (max-width: 767px) {

  /* Service Hero */
  .hero-service {
    height: 200px;
  }

  .hero-title-ja {
    font-size: 24px;
  }

  .hero-title-en {
    font-size: 16px;
  }

  /* Intro */
  .service-intro-section {
    padding: 40px 0;
  }

  .service-intro-text {
    font-size: 15px;
  }

  /* Logo grid: 2列 → 1列 */
  .insurance-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .insurance-name {
    font-size: 13px;
  }

  .insurance-section {
    padding: 0 0 48px;
  }

  .insurance-logo {
    max-height: 80px;
  }
}

@media (max-width: 400px) {
  .insurance-grid {
    grid-template-columns: 1fr;
  }
}