/* Whitening Page Specific Styles */

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

/* Section 1: イントロ */
.treatment-whitening__intro-title {
  color: #fa9a00;
  text-align: center;
  word-break: auto-phrase;
}

.treatment-whitening__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: 2;
  letter-spacing: 0.36px;
}

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

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

/* Section 1: 3つの特徴カード */
.treatment-whitening__features {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.treatment-whitening__feature-card {
  background: #fff5e5;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 340px;
}

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

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

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

/* Section 2: 比較カード */
.treatment-section:has(.treatment-whitening__comparison) {
  padding: 80px 0 0;
}

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

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

.treatment-whitening__comparison-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;
  text-align: center;
  margin: 0;
  word-break: auto-phrase;
}

.treatment-whitening__comparison-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-whitening__comparison-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 32px;
}

.treatment-whitening__comparison-subtitle {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #333;
  line-height: normal;
  margin: 0;
  word-break: auto-phrase;
}

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

.treatment-whitening__comparison-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-whitening__comparison-list li strong {
  font-weight: 500;
}

.treatment-whitening__comparison-list--nested > li {
  font-weight: 500;
}

.treatment-whitening__comparison-sublist {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.treatment-whitening__comparison-sublist li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.treatment-whitening__comparison-sublist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: #333;
}

.treatment-whitening__comparison-note {
  margin-top: 16px;
  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;
}

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

/* Section 3: 白斑治療について */
.treatment-whitening__whitespot {
  border: 1px solid #fa9a00;
  border-radius: 5px;
  padding: 10px 40px;
}

.treatment-whitening__whitespot-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 0;
}

.treatment-whitening__whitespot-intro {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.treatment-whitening__whitespot-media {
  overflow: hidden;
  aspect-ratio: 825 / 551;
  width: 49%;
}

.treatment-whitening__whitespot-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.treatment-whitening__whitespot-intro-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.treatment-whitening__whitespot-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: normal;
  margin: 0;
  word-break: auto-phrase;
}

.treatment-whitening__whitespot-lead {
  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;
}

.treatment-whitening__whitespot-lead p {
  margin: 0;
}

.treatment-whitening__whitespot-details {
  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.4;
}

.treatment-whitening__whitespot-details p {
  margin: 0;
}

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

.treatment-whitening__whitespot-cause-title {
  margin: 0;
}

.treatment-whitening__whitespot-cause-text {
  margin: 0;
  padding-left: 1em;
}

.treatment-whitening__whitespot-details .treatment-whitening__whitespot-closing {
  margin: 1em 0 0;
}

.treatment-whitening__features + .treatment-whitening__whitespot-gallery {
  margin-top: 40px;
  padding-bottom: 0;
}

.treatment-whitening__whitespot-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: stretch;
  margin-top: 24px;
  padding-bottom: 16px;
}

.treatment-whitening__whitespot-img {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 8px;
  vertical-align: bottom;
}

/* Section 4: 選ばれる理由 */
.treatment-whitening__reasons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

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

.treatment-whitening__reason-title {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fa9a00;
  line-height: normal;
  margin: 0;
  word-break: auto-phrase;
}

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


/* Responsive Styles */
@media (max-width: 1024px) {
  .treatment-whitening__features {
    flex-direction: column;
    gap: 30px;
  }

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

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

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

@media (max-width: 768px) {
  .treatment-whitening__intro-text {
    font-size: 16px;
  }

  .treatment-whitening__feature-number {
    width: 50px;
    height: 50px;
    font-size: 14px;
  }

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

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

  .treatment-whitening__comparison-card {
    padding: 20px;
  }

  .treatment-whitening__comparison-title {
    font-size: 17px;
  }

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

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

  .treatment-whitening__whitespot {
    padding: 10px 20px;
  }

  .treatment-whitening__whitespot-intro {
    flex-direction: column;
    gap: 24px;
  }

  .treatment-whitening__whitespot-media {
    flex: none;
    width: 100%;
    height: auto;
    aspect-ratio: 550 / 367;
  }

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

  .treatment-whitening__whitespot-lead,
  .treatment-whitening__whitespot-details {
    font-size: 14px;
  }

  .treatment-whitening__whitespot-gallery {
    flex-direction: column;
    gap: 12px;
  }

  .treatment-whitening__whitespot-img {
    flex: none;
    width: 100%;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .treatment-whitening__reason-title {
    font-size: 15px;
  }

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