/* Pediatric Dentistry Page Specific Styles */

/* Hero Section */
.hero__content {
  background-image: url(../../img/treatment/pediatric/pediatric-hero.jpg);
}

/* Section 1: 子どもの歯を守ることは、未来の健康を守ること。 */
.treatment-section__text-content .treatment-section__title--left {
  font-family: 'Zen Kaku Gothic New', 'FOT-TsukuARdGothic_Std', 'Zen Maru Gothic', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #fa9a00;
  line-height: 1.6;
  margin: 0 0 16px;
}

/* Section 2: 歯医者さん＝「こわい」をなくしたい */
.treatment-section__text-content ul {
  list-style: disc;
  padding-left: 1.5em;
  margin: 16px 0;
}

.treatment-section__text-content ul li {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  line-height: 1.6;
  margin: 0;
}

/* Section 3: 年齢別のケアとポイント */
.treatment-section:has(.treatment-pediatric__ages) {
  padding: 80px 0;
}

.treatment-section__inner:has(.treatment-pediatric__ages) {
  max-width: 1200px;
}

.treatment-pediatric__ages {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.treatment-pediatric__age-item {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.treatment-pediatric__age-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.treatment-pediatric__age-title {
  font-family: 'FOT-TsukuARdGothic_Std', 'Zen Maru Gothic', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  font-size: 18.7px;
  font-weight: 700;
  color: #fa9a00;
  line-height: 1.6;
  margin: 0;
}

.treatment-pediatric__age-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.treatment-pediatric__age-text p {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #333;
  line-height: 1.6;
  margin: 0;
}

.treatment-pediatric__age-text p:not(:last-child) {
  margin-bottom: 1em;
}

.treatment-pediatric__age-image {
  flex: 0 0 360px;
  width: 360px;
  height: 236px;
  border-radius: 8px;
  overflow: hidden;
}

.treatment-pediatric__age-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Section 4: 予防処置・サポートメニュー */
.treatment-pediatric__intro-title {
  font-family: 'FOT-TsukuARdGothic_Std', 'Zen Maru Gothic', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #333;
  line-height: 1.6;
  margin: 0 0 16px;
}

.treatment-pediatric__preventions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.treatment-pediatric__prevention-card {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  min-height: 392px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  text-align: center;
}

.treatment-pediatric__prevention-number {
  width: 60px;
  height: 60px;
  background: #666;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.treatment-pediatric__prevention-title {
  font-family: 'Zen Kaku Gothic New', 'FOT-TsukuARdGothic_Std', 'Zen Maru Gothic', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #333;
  line-height: 1.4;
  margin: 0;
}

.treatment-pediatric__prevention-text {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #333;
  line-height: 1.6;
  margin: 0;
  text-align: left;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .treatment-pediatric__age-item {
    gap: 20px;
  }

  .treatment-pediatric__age-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 360px;
    height: auto;
    aspect-ratio: 360 / 236;
  }

  .treatment-pediatric__preventions {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .treatment-pediatric__age-item {
    flex-direction: column;
  }

  .treatment-pediatric__ages {
    margin-top: 30px;
  }

  .treatment-pediatric__age-title {
    font-size: 16px;
  }

  .treatment-pediatric__age-text p {
    font-size: 14px;
  }

  .treatment-pediatric__age-image {
    width: 100%;
    max-width: 400px;
    align-self: center;
  }

  .treatment-pediatric__preventions {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .treatment-pediatric__prevention-card {
    min-height: auto;
  }

  .treatment-pediatric__prevention-title {
    font-size: 18px;
  }

  .treatment-pediatric__prevention-text {
    font-size: 14px;
  }
}
