/* Orofacial Pain Page Specific Styles */

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

/* Section 1: Border Bottom */
.treatment-section--border-bottom {
  border-bottom: 1px solid #fa9a00;
}

/* Section 1: 専門医紹介 — 画像402×503px（Figma準拠） */
.treatment-section--border-bottom .treatment-section__image {
  flex: 0 0 402px;
  width: 402px;
  height: 503px;
}

.treatment-section--border-bottom .treatment-section__image img {
  object-fit: contain;
}

/* Section 3: 口腔顔面痛に関連する代表的な症状 */
.treatment-orofacial-pain__symptoms {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  margin-top: 30px;
  justify-content: center;
}

.treatment-orofacial-pain__symptom-item {
  display: flex;
  gap: 25px;
  align-items: flex-start;
  flex: 0 1 calc(50% - 25px);
  max-width: 625px;
}

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

.treatment-orofacial-pain__symptom-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.treatment-orofacial-pain__symptom-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-orofacial-pain__symptom-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;
}

/* Section 4: なかい歯科の診療体制とサポート */
.treatment-section:has(.treatment-orofacial-pain__steps) .treatment-section__text-content {
  max-width: 925px;
  margin-left: auto;
  margin-right: auto;
}

.treatment-orofacial-pain__steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 30px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.treatment-orofacial-pain__step-item {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.treatment-orofacial-pain__step-number {
  border: 2px solid #fa9a00;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  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: #fa9a00;
}

.treatment-orofacial-pain__step-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.treatment-orofacial-pain__step-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;
}

.treatment-orofacial-pain__step-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;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .treatment-section--border-bottom .treatment-section__image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 402px;
    height: auto;
  }

  .treatment-section--border-bottom .treatment-section__image img {
    width: 100%;
    height: auto;
  }

  .treatment-orofacial-pain__symptoms {
    gap: 30px;
  }

  .treatment-orofacial-pain__symptom-item {
    flex: 0 1 100%;
    max-width: 100%;
  }

  .treatment-orofacial-pain__steps {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .treatment-orofacial-pain__symptoms {
    gap: 20px;
  }

  .treatment-orofacial-pain__symptom-number {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

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

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

  .treatment-orofacial-pain__step-item {
    flex-direction: column;
    gap: 15px;
  }

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

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