/* Dental Checkup Page Specific Styles */

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

/* Section 1: しばらく歯医者に行けていない方へ */
.treatment-section:has(.treatment-checkup__message) .treatment-section__content {
  margin-bottom: 60px;
}

.treatment-section:has(.treatment-checkup__message) .treatment-section__image {
  width: 100%;
  border-radius: 20px;
  max-width: 440px;
  aspect-ratio: 55 / 32
}

.treatment-checkup__message {
  margin: 0 auto 60px;
  max-width: 956px;
  text-align: center;
}

.treatment-checkup__message-title {
  font-family: 'FOT-TsukuARdGothic_Std', 'Zen Maru Gothic', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #333;
  line-height: 1.6;
  margin: 0;
  word-break: auto-phrase;
}

.treatment-checkup__cards {
  display: flex;
  gap: 20px;
}

.treatment-checkup__card {
  flex: 1;
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

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

.treatment-checkup__card-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-checkup__card-text p:not(:last-child) {
  margin-bottom: 1em;
}

.treatment-checkup__card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1em;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.treatment-checkup__card-list 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: 400;
  color: #333;
  line-height: 1.6;
  margin: 0;
  padding-left: 1em;
  position: relative;
}

.treatment-checkup__card-list li::before {
  content: '・';
  position: absolute;
  left: 0;
}

/* Section 2: 企業・学校等教育機関・各種団体の歯科検診を承っています */
.treatment-checkup__services {
  display: flex;
  gap: 24px;
  margin-top: 40px;
}

.treatment-checkup__services._2cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.treatment-checkup__service-card {
  flex: 1;
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.treatment-checkup__service-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 1em;
}

.treatment-checkup__service-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: #fa9a00;
  line-height: 1.6;
  margin: 0;
  text-align: center;
  word-break: auto-phrase;
}

.treatment-checkup__service-list {
  list-style: disc;
  padding-left: 24px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.treatment-checkup__service-list 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: 400;
  color: #333;
  line-height: 1.6;
  margin: 0;
}

.treatment-checkup__service-list li:not(:last-child) {
  margin-bottom: 0.5em;
}

.treatment-checkup__service-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.treatment-checkup__service-steps li {
  display: flex;
  gap: 10px;
  align-items: center;
}

.treatment-checkup__step-number {
  width: 32px;
  height: 32px;
  border: 2px solid #fa9a00;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fa9a00;
}

.treatment-checkup__step-text {
  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: #333;
  line-height: 1.6;
}

.treatment-checkup__service-note {
  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-checkup__service-details {
  border-top: 1px solid #999;
  display: grid;
  grid-template-columns: auto 1fr;
  margin-top: 1em;
}

.treatment-checkup__service-details dt {
  border-bottom: 1px solid #999;
  font-weight: 600;
  padding: .5em 0;
}

.treatment-checkup__service-details dd {
  border-bottom: 1px solid #999;
  padding: .5em 0 .5em 2em;
}

/* Section 3: 御社・貴団体の「健康づくり」をサポートします */
.treatment-checkup__support-list {
  list-style: disc;
  padding-left: 27px;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

.treatment-checkup__support-list li:not(:last-child) {
  margin-bottom: 0.5em;
}

/* Section 4: ご相談・お見積りはお気軽に */
.treatment-checkup__contact {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  margin-top: 40px;
}

.treatment-checkup__contact-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;
  text-align: center;
  margin: 0;
}

.treatment-checkup__estimate {
  background: rgba(51, 51, 51, 0.1);
  border-radius: 8px;
  padding: 25px;
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.treatment-checkup__estimate-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;
  word-break: auto-phrase;
}

.treatment-checkup__estimate-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.treatment-checkup__estimate-row {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.treatment-checkup__estimate-label {
  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;
  flex-shrink: 0;
}

.treatment-checkup__estimate-value {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #333;
  line-height: 1.6;
  flex: 1;
}

.treatment-checkup__estimate-note {
  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-checkup__contact .treatment-cta__contact {
  margin-top: 30px;
}

.treatment-checkup__contact .treatment-cta__contact .treatment-button {
  font-size: 24px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .treatment-section:has(.treatment-checkup__message) .treatment-section__content {
    margin-bottom: 60px;
  }

  .treatment-section:has(.treatment-checkup__message) .treatment-section__title--left {
    text-align: left;
  }

  .treatment-checkup__message {
    margin-bottom: 60px;
  }
}

@media (max-width: 768px) {
  .treatment-section:has(.treatment-checkup__message) .treatment-section__content {
    margin-bottom: 40px;
  }

  .treatment-section:has(.treatment-checkup__message) .treatment-section__title--left {
    font-size: 24px;
  }

  .treatment-checkup__message {
    margin-bottom: 40px;
  }

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

  .treatment-checkup__cards {
    flex-direction: column;
  }

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

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

  .treatment-checkup__card-list li {
    font-size: 14px;
  }

  .treatment-checkup__services {
    flex-direction: column;
  }

  .treatment-checkup__services._2cols {
    display: flex;
    grid-template-columns: unset;
  }

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

  .treatment-checkup__service-list li {
    font-size: 14px;
  }

  .treatment-checkup__step-text {
    font-size: 16px;
  }

  .treatment-checkup__support-list li {
    font-size: 16px;
  }

  .treatment-checkup__estimate {
    padding: 20px;
  }

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

  .treatment-checkup__estimate-label {
    font-size: 14px;
    min-width: 50px;
  }

  .treatment-checkup__estimate-value {
    font-size: 12px;
  }

  .treatment-checkup__tel-label,
  .treatment-checkup__tel-number {
    font-size: 24px;
  }

  .treatment-checkup__cta .treatment-button {
    font-size: 18px;
    padding: 14px 30px 16px;
  }
}
