/* Mouthpiece (Orthodontics) Page Specific Styles */

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

/* Section 1: イントロ */
.treatment-mouthpiece__intro-title {
  color: #fa9a00;
  text-align: center;
}

.treatment-mouthpiece__intro-text {
  text-align: center;
  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;
}

.treatment-mouthpiece__intro-text p {
  margin: 0;
}

.treatment-mouthpiece__intro-text p:not(:last-child) {
  margin-bottom: 0;
}

/* Section 1: 2つのタイプカード */
.treatment-mouthpiece__types {
  display: flex;
  gap: 55px;
  justify-content: center;
  margin-top: 40px;
}

.treatment-mouthpiece__type-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  flex: 1;
  max-width: 500px;
  display: flex;
  flex-direction: column;
}

.treatment-mouthpiece__type-image {
  overflow: hidden;
  line-height: 0;
}

.treatment-mouthpiece__type-image img {
  display: block;
  width: 100%;
  height: auto;
}

.treatment-mouthpiece__type-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

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

.treatment-mouthpiece__type-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;
  padding-left: 0;
}

.treatment-mouthpiece__type-list li:not(:last-child) {
  margin-bottom: 0;
}

/* Section 2: メリット・デメリット */
.treatment-section:has(.treatment-mouthpiece__pros-cons) .treatment-section__text-content {
  text-align: center;
  gap: 0;
}

.treatment-mouthpiece__pros-cons {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.treatment-mouthpiece__pros-card,
.treatment-mouthpiece__cons-card {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  flex: 1;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.treatment-mouthpiece__pros-header,
.treatment-mouthpiece__cons-header {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
}

.treatment-mouthpiece__pros-icon,
.treatment-mouthpiece__cons-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

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

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

.treatment-mouthpiece__pros-list li,
.treatment-mouthpiece__cons-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;
  padding-left: 0;
}

.treatment-mouthpiece__pros-list li:not(:last-child),
.treatment-mouthpiece__cons-list li:not(:last-child) {
  margin-bottom: 0;
}

.treatment-mouthpiece__cons-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

/* Section 3: カウンセリング */
.treatment-mouthpiece__counseling-intro {
  display: flex;
  gap: 50px;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

.treatment-mouthpiece__counseling-image {
  width: 402px;
  border-radius: 20px;
  overflow: hidden;
  background: #f0f0f0;
  flex-shrink: 0;
}

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

.treatment-mouthpiece__counseling-text {
  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;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.treatment-mouthpiece__counseling-text p {
  margin: 0;
}

.treatment-mouthpiece__counseling-text p:not(:last-child) {
  margin-bottom: 0;
}

.treatment-mouthpiece__counseling-flow {
  margin-top: 50px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.treatment-mouthpiece__counseling-flow-title {
  font-family: 'FOT-TsukuARdGothic_Std', 'Zen Maru Gothic', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #333;
  line-height: 1.6;
  text-align: center;
  margin: 0 0 30px;
}

.treatment-mouthpiece__counseling-steps {
  display: flex;
  gap: 50px;
  justify-content: center;
}

.treatment-mouthpiece__counseling-step {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  flex: 1;
  max-width: 500px;
}

.treatment-mouthpiece__counseling-step-number {
  background: #666;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  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-mouthpiece__counseling-step-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.treatment-mouthpiece__counseling-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: #333;
  line-height: 1.6;
  text-align: center;
  margin: 0;
}

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

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

.treatment-mouthpiece__counseling-note p {
  margin: 0;
}

.treatment-mouthpiece__counseling-note p:not(:last-child) {
  margin-bottom: 0;
}

/* Section 5: メンテナンス */
.treatment-section:has(.treatment-mouthpiece__maintenance) .treatment-section__text-content {
  text-align: center;
  gap: 0;
}

.treatment-mouthpiece__maintenance {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 40px;
}

.treatment-mouthpiece__maintenance-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  flex: 1;
  max-width: 320px;
  display: flex;
  flex-direction: column;
}

.treatment-mouthpiece__maintenance-image {
  background: #e0e0e0;
  overflow: hidden;
  aspect-ratio: 240 / 121;
  width: 100%;
}

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

.treatment-mouthpiece__maintenance-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.treatment-mouthpiece__maintenance-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-mouthpiece__types {
    gap: 30px;
  }

  .treatment-mouthpiece__pros-cons {
    gap: 30px;
  }

  .treatment-mouthpiece__counseling-intro {
    flex-direction: column;
    gap: 30px;
  }

  .treatment-mouthpiece__counseling-image {
    width: 100%;
    max-width: 402px;
  }

  .treatment-mouthpiece__counseling-steps {
    flex-direction: column;
    gap: 30px;
  }

  .treatment-mouthpiece__counseling-step {
    max-width: 100%;
  }

  .treatment-mouthpiece__maintenance {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .treatment-mouthpiece__maintenance-card {
    max-width: 440px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .treatment-mouthpiece__types {
    flex-direction: column;
    align-items: center;
  }

  .treatment-mouthpiece__type-card {
    max-width: 100%;
    width: 100%;
  }

  .treatment-mouthpiece__type-title {
    font-size: 20px;
  }

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

  .treatment-mouthpiece__pros-cons {
    flex-direction: column;
    align-items: center;
  }

  .treatment-mouthpiece__pros-card,
  .treatment-mouthpiece__cons-card {
    max-width: 100%;
    width: 100%;
  }

  .treatment-mouthpiece__pros-title,
  .treatment-mouthpiece__cons-title {
    font-size: 20px;
  }

  .treatment-mouthpiece__pros-list li,
  .treatment-mouthpiece__cons-list li {
    font-size: 14px;
  }

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

  .treatment-mouthpiece__counseling-flow-title {
    font-size: 20px;
  }

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

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

  .treatment-mouthpiece__counseling-note {
    font-size: 12px;
  }

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

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