/* kodomo__invisalign-first（インビザラインファースト）ページ専用CSS（リライト版・kizon.css + invisalign-first-page-additions.css を移植） */
/* =============================================
   CSS変数・リセット
============================================= */
:root {
  --rose:       #e8a4a4;
  --rose-light: #f5dada;
  --rose-pale:  #fdf0f0;
  --rose-deep:  #c47878;
  --cream:      #faf7f4;
  --ivory:      #f7f2ed;
  --charcoal:   #2d2424;
  --brown-mid:  #6b4f4f;
  --brown-light:#9c7b7b;
  --white:      #ffffff;
  --border:     #e8d8d8;
  --shadow:     rgba(180,120,120,0.12);
  --font-serif-en: 'Cormorant Garamond', Georgia, serif;
  --font-serif-jp: 'Noto Serif JP', 'Georgia', serif;
  --font-sans:  'Noto Sans JP', sans-serif;
  --transition: 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
}

:where(.fs-main) *,
:where(.fs-main) *::before,
:where(.fs-main) *::after { box-sizing: border-box; margin: 0; padding: 0; }
:where(.fs-main) { scroll-behavior: smooth; }
:where(.fs-main) {
  font-family: var(--font-sans);
  color: var(--charcoal);
  line-height: 1.8;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
:where(.fs-main) img { max-width: 100%; height: auto; display: block; }
:where(.fs-main) a { color: inherit; text-decoration: none; }
:where(.fs-main) .invimain {  background: var(--cream);}
/* =============================================
   共通レイアウト
============================================= */
:where(.fs-main) .container { max-width: 1020px; margin: 0 auto; padding: 0 32px; }
:where(.fs-main) .container--narrow { max-width: 780px;  margin: 0 auto; padding: 0 32px; }
:where(.fs-main) .section { padding: 88px 0; }
:where(.fs-main) .section--alt { background: var(--ivory); }
:where(.fs-main) .section--rose { background: var(--rose-pale); }
:where(.fs-main) .section--white { background: var(--white); }
:where(.fs-main) .center {text-align: center;}

/* =============================================
   共通見出し
============================================= */
:where(.fs-main) .sec-head { text-align: center; margin-bottom: 56px; }
:where(.fs-main) .sec-head__en {
  display: block;
  font-family: var(--font-serif-en);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 10px;
}
:where(.fs-main) .sec-head__ja {
  font-family: var(--font-serif-jp);
  font-weight: 400;
  font-size: clamp(20px, 3vw, 26px);
  color: var(--charcoal);
  letter-spacing: 0.06em;
  line-height: 1.5;
}
:where(.fs-main) .sec-head__ja span { color: var(--rose-deep); }
:where(.fs-main) .sec-head::after {
  content: '';
  display: block;
  width: 36px; height: 1px;
  background: var(--rose);
  margin: 18px auto 0;
}

/* =============================================
   パンくず
============================================= */
:where(.fs-main) .breadcrumb {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
:where(.fs-main) .breadcrumb__list {
  display: flex; align-items: center; gap: 6px;
  list-style: none;
  font-size: 12px; color: var(--brown-light);
}
:where(.fs-main) .breadcrumb__list li + li::before { content: '›'; color: var(--rose); }
:where(.fs-main) .breadcrumb__list a:hover { color: var(--rose-deep); }

/* =============================================
   HERO
============================================= */
:where(.fs-main) .hero {
  position: relative;
  background: linear-gradient(145deg, #fdf0f0 0%, #faf7f4 40%, #f5e8e8 100%);
  padding: 80px 0 64px;
  overflow: hidden;
}
:where(.fs-main) .hero::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,164,164,0.18) 0%, transparent 70%);
  pointer-events: none;
}
:where(.fs-main) .hero__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 20px; align-items: center;
  max-width: 1020px; margin: 0 auto; padding: 0 32px;
}
:where(.fs-main) .hero__kicker {
  display: inline-block;
  font-family: var(--font-serif-en);
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--rose-deep);
  border: 1px solid var(--rose);
  padding: 5px 14px; border-radius: 2px; margin-bottom: 20px;
}
:where(.fs-main) .hero__title {
  font-family: var(--font-serif-jp);
  font-weight: 400;
  font-size: clamp(22px, 3.5vw, 34px);
  line-height: 1.55; letter-spacing: 0.04em;
  color: var(--charcoal); margin-bottom: 24px;
}
:where(.fs-main) .hero__title em { font-style: normal; color: var(--rose-deep); }
:where(.fs-main) .hero__lead {
  font-size: 16px; line-height: 1.9;
  color: var(--brown-mid); margin-bottom: 36px; max-width: 540px;
}
:where(.fs-main) .hero__badges { display: flex; gap: 5px; flex-wrap: wrap; }
:where(.fs-main) .hero__badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; color: var(--brown-mid);
  background: var(--white);
  border: 1px solid var(--border); border-radius: 4px;
  padding: 8px 14px;
  box-shadow: 0 2px 8px var(--shadow);
}
:where(.fs-main) .hero__badge svg { width: 16px; height: 16px; fill: none; stroke: var(--rose-deep); stroke-width: 1.8; flex-shrink: 0; }

/* ヒーロービジュアル */
:where(.fs-main) .hero__visual { position: relative; }
:where(.fs-main) .hero__img-wrap {
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 16px 48px rgba(180,120,120,0.22);
  aspect-ratio: 4/3;
}
:where(.fs-main) .hero__img-wrap img { width: 100%; height: 100%; object-fit: cover; }
:where(.fs-main) .hero__float-card {
  position: absolute; bottom: -20px; left: -28px;
  background: var(--white); border-radius: 10px;
  padding: 14px 20px;
  box-shadow: 0 8px 32px rgba(180,120,120,0.2);
  min-width: 180px;
}
:where(.fs-main) .hero__float-card-label {
  font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--rose-deep); font-family: var(--font-serif-en); margin-bottom: 4px;
}
:where(.fs-main) .hero__float-card-value {
  font-family: var(--font-serif-jp);
  font-size: 14px; font-weight: 500; color: var(--charcoal); line-height: 1.5;
}

/* =============================================
   3ポイント強み帯
============================================= */
:where(.fs-main) .strengths {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
:where(.fs-main) .strengths__list {
  display: grid; grid-template-columns: repeat(3, 1fr);
  max-width: 1020px; margin: 0 auto;
}
:where(.fs-main) .strengths__item {
  padding: 32px 36px;
  display: flex; align-items: flex-start; gap: 16px;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}
:where(.fs-main) .strengths__item:last-child { border-right: none; }
:where(.fs-main) .strengths__item:hover { background: var(--rose-pale); }
:where(.fs-main) .strengths__icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--rose-pale); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
:where(.fs-main) .strengths__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--rose-deep); stroke-width: 1.5; }
:where(.fs-main) .strengths__text-label { font-size: 11px; color: var(--rose-deep); letter-spacing: 0.1em; margin-bottom: 4px; font-family: var(--font-serif-en); }
:where(.fs-main) .strengths__text-main { font-family: var(--font-serif-jp); font-size: 14px; font-weight: 500; color: var(--charcoal); line-height: 1.5; }

/* =============================================
   インビザラインとは
============================================= */
:where(.fs-main) .about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
:where(.fs-main) .about-grid__img {
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 8px 32px var(--shadow);
  aspect-ratio: 4/3;
}
:where(.fs-main) .about-grid__img img { width: 100%; height: 100%; object-fit: cover; }
:where(.fs-main) .about-grid__lead {
  font-size: 14px;
  line-height: 1.95;
  color: var(--brown-mid);
  margin-bottom: 16px;
}
:where(.fs-main) .about-grid__text {
  font-size: 14px; line-height: 1.95;
  color: var(--brown-mid); margin-bottom: 16px;
}
:where(.fs-main) .about-grid__note {
  font-size: 12px; color: var(--brown-mid);
  background: var(--rose-pale);
  border-left: 3px solid var(--rose);
  padding: 12px 16px; border-radius: 0 6px 6px 0; line-height: 1.7;
}

/* =============================================
   適応症例
============================================= */
:where(.fs-main) .indication { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
:where(.fs-main) .indication__box {
  background: var(--white); border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
}
:where(.fs-main) .indication__head {
  padding: 20px 28px; display: flex; align-items: center; gap: 12px;
  font-family: var(--font-serif-jp); font-size: 15px; font-weight: 500;
}
:where(.fs-main) .indication__head--ok { background: var(--rose-pale); color: var(--rose-deep); }
:where(.fs-main) .indication__head--ng { background: #f5f5f5; color: var(--brown-mid); }
:where(.fs-main) .indication__head-icon {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
:where(.fs-main) .indication__head--ok .indication__head-icon { background: var(--rose-deep); color: white; }
:where(.fs-main) .indication__head--ng .indication__head-icon { background: #bbb; color: white; }
:where(.fs-main) .indication__list { padding: 20px 28px; list-style: none; }
:where(.fs-main) .indication__list li {
  font-size: 14px; padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  display: flex; align-items: center; gap: 8px; color: var(--brown-mid);
}
:where(.fs-main) .indication__list li:last-child { border-bottom: none; }
:where(.fs-main) .indication__list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--rose); flex-shrink: 0; }
:where(.fs-main) .indication__note {
  margin-top: 28px;
  background: var(--ivory); border-radius: 8px;
  padding: 20px 24px; font-size: 13px; color: var(--brown-mid);
  line-height: 1.8; border: 1px solid var(--border);
}

/* =============================================
   メリット
============================================= */
:where(.fs-main) .merit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
:where(.fs-main) .merit-card {
  background: var(--white); border-radius: 10px; padding: 28px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
:where(.fs-main) .merit-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(180,120,120,0.18); }
:where(.fs-main) .merit-card__num { font-family: var(--font-serif-en); font-size: 36px; font-weight: 300; color: var(--rose-light); line-height: 1; margin-bottom: 8px; }
:where(.fs-main) .merit-card__title { font-family: var(--font-serif-jp); font-size: 15px; font-weight: 500; color: var(--charcoal); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
:where(.fs-main) .merit-card__text { font-size: 13px; line-height: 1.85; color: var(--brown-mid); }

/* メリットカードに画像を追加 */
:where(.fs-main) .merit-card__img {
  border-radius: 8px; overflow: hidden; margin-bottom: 16px;
  aspect-ratio: 16/9;
}
:where(.fs-main) .merit-card__img img { width: 100%; height: 100%; object-fit: cover; }

/* =============================================
   デメリット
============================================= */
:where(.fs-main) .demerit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
:where(.fs-main) .demerit-card {
  background: var(--white); border-radius: 10px; padding: 24px;
  border: 1px solid var(--border);
}
:where(.fs-main) .demerit-card__img {
  border-radius: 8px; overflow: hidden; margin-bottom: 16px; aspect-ratio: 4/3;
}
:where(.fs-main) .demerit-card__img img { width: 100%; height: 100%; object-fit: cover; }
:where(.fs-main) .demerit-card__num { font-family: var(--font-serif-en); font-size: 28px; font-weight: 300; color: #e8a4a4; line-height: 1; margin-bottom: 6px; }
:where(.fs-main) .demerit-card__title { font-family: var(--font-serif-jp); font-size: 14px; font-weight: 500; color: var(--brown-mid); margin-bottom: 10px; }
:where(.fs-main) .demerit-card__text { font-size: 13px; line-height: 1.85; color: var(--brown-light); }

/* =============================================
   こんな方に
============================================= */
:where(.fs-main) .recommend-wrap {
  display: grid; grid-template-columns: 420px 1fr;
  gap: 56px; align-items: center;
}
:where(.fs-main) .recommend-img {
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 8px 32px var(--shadow);
}
:where(.fs-main) .recommend-img img { width: 100%; height: 100%; object-fit: cover; }
:where(.fs-main) .recommend-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
:where(.fs-main) .recommend-item {
  background: var(--white); border-radius: 12px; padding: 22px 20px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px var(--shadow);
  display: flex; align-items: center; gap: 14px;
  transition: transform var(--transition), box-shadow var(--transition);
}
:where(.fs-main) .recommend-item__icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--rose-pale); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
:where(.fs-main) .recommend-item__icon svg { width: 20px; height: 20px; fill: none; stroke: var(--rose-deep); stroke-width: 1.6; }
:where(.fs-main) .recommend-item__text { font-size: 13px; font-weight: 500; color: var(--brown-mid); line-height: 1.55; padding-top: 2px; }

/* =============================================
   iTero
============================================= */
:where(.fs-main) .itero-grid {
  display: grid; grid-template-columns: 480px 1fr;
  gap: 64px; align-items: center;
}
:where(.fs-main) .itero-img {
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 12px 40px var(--shadow);
}
:where(.fs-main) .itero-img img { width: 100%; height: 100%; object-fit: cover; }
:where(.fs-main) .itero-body__subtitle {
  font-family: var(--font-serif-jp); font-size: 18px; font-weight: 400;
  color: var(--charcoal); margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
:where(.fs-main) .itero-body__text { font-size: 14px; line-height: 1.95; color: var(--brown-mid); margin-bottom: 16px; }
:where(.fs-main) .itero-points { list-style: none; display: flex; flex-direction: column; gap: 10px; }
:where(.fs-main) .itero-points li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; line-height: 1.7; color: var(--brown-mid);
}
:where(.fs-main) .itero-points li::before { content: '✓'; color: var(--rose-deep); font-weight: 700; margin-top: 1px; flex-shrink: 0; }
:where(.fs-main) .itero-link {
  display: block; margin-top: 24px;
  font-size: 13px; color: var(--rose-deep);
  border-bottom: 1px solid var(--rose);
  padding-bottom: 2px; transition: opacity var(--transition);
  text-align: right;
}
:where(.fs-main) .itero-link:hover { opacity: 0.7; }

/* =============================================
   選ばれる5つの理由
============================================= */
:where(.fs-main) .reasons { display: flex; flex-direction: column; }
:where(.fs-main) .reason-item {
  display: grid; grid-template-columns: 120px 1fr;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
:where(.fs-main) .reason-item:first-child { border-top: 1px solid var(--border); }
:where(.fs-main) .reason-item:hover { background: var(--rose-pale); }
:where(.fs-main) .reason-num {
  display: flex; align-items: center; justify-content: center;
  padding: 36px 24px; border-right: 1px solid var(--border);
  font-family: var(--font-serif-en); font-size: 42px; font-weight: 300;
  color: var(--rose-light); line-height: 1;
  flex-direction: column; gap: 4px;
}
:where(.fs-main) .reason-num span { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rose-deep); font-weight: 400; }
:where(.fs-main) .reason-body { padding: 32px 40px; }
:where(.fs-main) .reason-body__title { font-family: var(--font-serif-jp); font-size: 16px; font-weight: 500; color: var(--charcoal); margin-bottom: 12px; }
:where(.fs-main) .reason-body__text { font-size: 14px; line-height: 1.9; color: var(--brown-mid); }
:where(.fs-main) .reason-body__tag { display: inline-block; margin-top: 12px; font-size: 11px; color: var(--rose-deep); background: var(--rose-pale); border-radius: 3px; padding: 3px 10px; }

/* =============================================
   費用・期間
============================================= */
:where(.fs-main) .price-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; margin-bottom: 32px;
}
:where(.fs-main) .price-item { background: var(--white); padding: 32px 24px; text-align: center; }
:where(.fs-main) .price-item__label { font-size: 12px; letter-spacing: 0.1em; color: var(--rose-deep); font-family: var(--font-serif-en); text-transform: uppercase; margin-bottom: 8px; }
:where(.fs-main) .price-item__value { font-family: var(--font-serif-jp); font-size: 20px; font-weight: 500; color: var(--charcoal); margin-bottom: 6px; }
:where(.fs-main) .price-item__note { font-size: 11px; color: var(--brown-light); line-height: 1.6; }
:where(.fs-main) .price-note { background: var(--ivory); border-radius: 8px; padding: 20px 24px; font-size: 13px; color: var(--brown-mid); line-height: 1.9; border: 1px solid var(--border); }
:where(.fs-main) .price-note strong { color: var(--charcoal); }
:where(.fs-main) .price-cta { text-align: center; margin-top: 28px; }
:where(.fs-main) .price-link {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--rose-deep); color: var(--white);
  padding: 14px 32px; border-radius: 4px;
  font-size: 14px; font-family: var(--font-serif-jp); font-weight: 500;
  transition: opacity var(--transition); letter-spacing: 0.05em;
}
:where(.fs-main) .price-link:hover { opacity: 0.85; }
:where(.fs-main) .price-link svg { width: 16px; height: 16px; fill: none; stroke: white; stroke-width: 2; }

/* =============================================
   治療の流れ（縦ライン型）
============================================= */
:where(.fs-main) .flow-steps { display: flex; flex-direction: column; position: relative; }

/* 縦の繋ぎ線 */
:where(.fs-main) .flow-steps::before {
  content: '';
  position: absolute;
  top: 28px; bottom: 28px;
  left: 40px;
  width: 2px;
  background: linear-gradient(to bottom, var(--rose-light) 0%, var(--rose) 100%);
  z-index: 0;
}

:where(.fs-main) .flow-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 24px;
  position: relative;
  z-index: 1;
}
:where(.fs-main) .flow-step + .flow-step { margin-top: 16px; }

/* 番号列 */
:where(.fs-main) .flow-step__num {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 16px;
}
:where(.fs-main) .flow-step__dot {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--rose-deep);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif-en);
  font-size: 15px; font-weight: 300;
  flex-shrink: 0;
  box-shadow: 0 0 0 5px var(--cream), 0 0 0 6px var(--rose-light);
  position: relative;
  z-index: 1;
}

/* コンテンツカード */
:where(.fs-main) .flow-step__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 28px;
  margin-bottom: 0;
  box-shadow: 0 2px 12px var(--shadow);
  transition: box-shadow var(--transition);
}
:where(.fs-main) .flow-step__card:hover { box-shadow: 0 6px 24px rgba(180,120,120,0.18); }

:where(.fs-main) .flow-step__card-img {
  border-radius: 8px; overflow: hidden;
  margin-bottom: 14px; aspect-ratio: 16/6;
}
:where(.fs-main) .flow-step__card-img img { width: 100%; height: 100%; object-fit: cover; }

:where(.fs-main) .flow-step__label {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--rose-deep); font-family: var(--font-serif-en); margin-bottom: 4px;
}
:where(.fs-main) .flow-step__title {
  font-family: var(--font-serif-jp); font-size: 16px; font-weight: 500;
  color: var(--charcoal); margin-bottom: 8px;
}
:where(.fs-main) .flow-step__text { font-size: 13px; line-height: 1.85; color: var(--brown-mid); }

/* =============================================
   FAQ
============================================= */
:where(.fs-main) .faq-list { display: flex; flex-direction: column; gap: 12px; }
:where(.fs-main) .faq-item { background: var(--white); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
:where(.fs-main) .faq-q {
  padding: 22px 60px 22px 28px;
  display: flex; align-items: flex-start; gap: 16px;
  cursor: pointer;
  font-family: var(--font-serif-jp); font-size: 15px; font-weight: 500; color: var(--charcoal);
  position: relative; list-style: none; user-select: none;
}
:where(.fs-main) .faq-q::-webkit-details-marker { display: none; }
:where(.fs-main) .faq-q::marker { display: none; }
:where(.fs-main) .faq-q-mark { font-family: var(--font-serif-en); font-size: 18px; font-weight: 300; color: var(--rose-deep); flex-shrink: 0; line-height: 1.5; }
:where(.fs-main) .faq-q-toggle { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; }
:where(.fs-main) .faq-q-toggle svg { width: 16px; height: 16px; fill: none; stroke: var(--rose-deep); stroke-width: 2; transition: transform var(--transition); }
:where(.fs-main) details[open] .faq-q-toggle svg { transform: rotate(45deg); }
:where(.fs-main) .faq-a { padding: 20px 28px 24px 62px; font-size: 14px; line-height: 1.9; color: var(--brown-mid); border-top: 1px solid var(--border); }

/* =============================================
   薬事承認
============================================= */
:where(.fs-main) .approval-box { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 40px 48px; }
:where(.fs-main) .approval-box__title { font-family: var(--font-serif-jp); font-size: 15px; font-weight: 500; color: var(--charcoal); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
:where(.fs-main) .approval-box__text { font-size: 13px; line-height: 1.95; color: var(--brown-mid); }

/* =============================================
   CTA
============================================= */
:where(.fs-main) .cta-section {
  background: linear-gradient(135deg, var(--rose-deep) 0%, #b86868 100%);
  padding: 80px 0; text-align: center;
  position: relative; overflow: hidden;
}
:where(.fs-main) .cta-section::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
:where(.fs-main) .cta-section__inner { position: relative; z-index: 1; }
:where(.fs-main) .cta-section__en { font-family: var(--font-serif-en); font-size: 12px; letter-spacing: 0.35em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 16px; }
:where(.fs-main) .cta-section__title { font-family: var(--font-serif-jp); font-size: clamp(18px, 3vw, 26px); font-weight: 400; color: white; margin-bottom: 12px; line-height: 1.6; letter-spacing: 0.05em; }
:where(.fs-main) .cta-section__sub { font-size: 14px; color: rgba(255,255,255,0.8); margin-bottom: 40px; line-height: 1.8; }
:where(.fs-main) .cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
:where(.fs-main) .cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 36px; border-radius: 4px;
  font-size: 14px; font-family: var(--font-serif-jp); font-weight: 500; letter-spacing: 0.05em;
  transition: transform var(--transition), box-shadow var(--transition); cursor: pointer;
}
:where(.fs-main) .cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
:where(.fs-main) .cta-btn--primary { background: white; color: var(--rose-deep); }
:where(.fs-main) .cta-btn--secondary { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.6); }
:where(.fs-main) .cta-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
:where(.fs-main) .cta-note { margin-top: 24px; font-size: 12px; color: rgba(255,255,255,0.7); }
:where(.fs-main) .sp_only {display: none;}
:where(.fs-main) .pc_only {display: block;}

/* =============================================
   レスポンシブ
============================================= */

/* タブレット（〜900px）*/
@media (max-width: 900px) {
  :where(.fs-main) .hero__inner { grid-template-columns: 1fr; }
  :where(.fs-main) .hero__visual { display: none; }
  :where(.fs-main) .about-grid { grid-template-columns: 1fr; gap: 32px; }
  :where(.fs-main) .about-grid__img { aspect-ratio: 16/7; }
  :where(.fs-main) .itero-grid { grid-template-columns: 1fr; gap: 36px; }
  :where(.fs-main) .itero-img { aspect-ratio: 16/11; }
  :where(.fs-main) .strengths__list { grid-template-columns: 1fr; }
  :where(.fs-main) .strengths__item { border-right: none; border-bottom: 1px solid var(--border); }
  :where(.fs-main) .strengths__item:last-child { border-bottom: none; }
  :where(.fs-main) .demerit-grid { grid-template-columns: 1fr 1fr; }
  :where(.fs-main) .recommend-wrap { grid-template-columns: 1fr; gap: 32px; }
  :where(.fs-main) .recommend-img { aspect-ratio: 16/7; max-height: 260px; overflow: hidden; }
  :where(.fs-main) .recommend-list { grid-template-columns: 1fr 1fr; }
  :where(.fs-main) .indication { grid-template-columns: 1fr; }
  :where(.fs-main) .price-grid { grid-template-columns: 1fr; }
  :where(.fs-main) .reason-item { grid-template-columns: 80px 1fr; }
  :where(.fs-main) .reason-body { padding: 24px 28px; }
  :where(.fs-main) .approval-box { padding: 28px 24px; }

  :where(.fs-main) .flow-steps::before { left: 32px; }
  :where(.fs-main) .flow-step { grid-template-columns: 64px 1fr; gap: 0 16px; }
  :where(.fs-main) .flow-step__dot { width: 40px; height: 40px; font-size: 13px; }
  :where(.fs-main) .sp_only {display: none;}
  :where(.fs-main) .pc_only {display: block;}
}

/* スマートフォン（〜600px）*/
@media (max-width: 600px) {
  :where(.fs-main) .section { padding: 56px 0; }
  :where(.fs-main) .container,
:where(.fs-main) .container--narrow { padding: 0 20px; }
  :where(.fs-main) .hero { padding: 48px 0 40px; }
  :where(.fs-main) .hero__title { font-size: 20px; }
  :where(.fs-main) .hero__badges {justify-content: center;}

  :where(.fs-main) .demerit-grid { grid-template-columns: 1fr; }
  :where(.fs-main) .recommend-list { grid-template-columns: 1fr; }
  :where(.fs-main) .cta-buttons { flex-direction: column; align-items: center; }
  :where(.fs-main) .reason-item { grid-template-columns: 60px 1fr; }
  :where(.fs-main) .reason-num { padding: 24px 12px; font-size: 32px; }
  :where(.fs-main) .reason-body { padding: 20px 16px; }
  :where(.fs-main) .faq-a { padding-left: 28px; }
  :where(.fs-main) .approval-box { padding: 24px 20px; }
  :where(.fs-main) .merit-grid {grid-template-columns: repeat(1, 1fr);gap:5px;}

  :where(.fs-main) .flow-steps::before { left: 24px; top: 24px; bottom: 24px; }
  :where(.fs-main) .flow-step { grid-template-columns: 52px 1fr; gap: 0 12px; }
  :where(.fs-main) .flow-step__dot { width: 36px; height: 36px; font-size: 12px; }
  :where(.fs-main) .flow-step__card { padding: 18px 16px; }
  :where(.fs-main) .flow-step__title { font-size: 15px; }

  :where(.fs-main) .sp_only {display: block;}
  :where(.fs-main) .pc_only {display: none;}
}

/* インビザライン・ファーストページ専用スタイル */

:where(.fs-main) .first-page .strengths__icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

/* 読みやすさを優先した文字サイズ（本文16px・見出し17px以上） */
:where(.fs-main) .first-page {
  font-size: 16px;
}

:where(.fs-main) .first-page .hero__lead,
:where(.fs-main) .first-page .about-grid__lead,
:where(.fs-main) .first-page .about-grid__text,
:where(.fs-main) .first-page .about-grid__note,
:where(.fs-main) .first-page .indication__list li,
:where(.fs-main) .first-page .indication__note,
:where(.fs-main) .first-page .merit-card__text,
:where(.fs-main) .first-page .demerit-card__text,
:where(.fs-main) .first-page .first-feature-card__text,
:where(.fs-main) .first-page .first-routine-card__text,
:where(.fs-main) .first-page .first-exam-item__text,
:where(.fs-main) .first-page .flow-step__text,
:where(.fs-main) .first-page .price-note,
:where(.fs-main) .first-page .price-item__note,
:where(.fs-main) .first-page .first-data-table,
:where(.fs-main) .first-page .faq-a,
:where(.fs-main) .first-page .approval-box__text,
:where(.fs-main) .first-page .cta-section__sub {
  font-size: 16px;
}

:where(.fs-main) .first-page .hero__badge,
:where(.fs-main) .first-page .hero__float-card-label,
:where(.fs-main) .first-page .strengths__text-label,
:where(.fs-main) .first-page .first-routine-card__label,
:where(.fs-main) .first-page .flow-step__label,
:where(.fs-main) .first-page .price-item__label,
:where(.fs-main) .first-page .first-case__caption,
:where(.fs-main) .first-page .cta-note {
  font-size: 14px;
}

:where(.fs-main) .first-page .hero__float-card-value,
:where(.fs-main) .first-page .strengths__text-main {
  font-size: 17px;
}

:where(.fs-main) .first-page .indication__head,
:where(.fs-main) .first-page .first-routine-card__title,
:where(.fs-main) .first-page .first-exam-item__title,
:where(.fs-main) .first-page .faq-q,
:where(.fs-main) .first-page .approval-box__title {
  font-size: 18px;
}

:where(.fs-main) .first-page .first-feature-card__title,
:where(.fs-main) .first-page .merit-card__title,
:where(.fs-main) .first-page .demerit-card__title,
:where(.fs-main) .first-page .flow-step__title {
  font-size: 19px;
}

:where(.fs-main) .first-page .price-item__value {
  font-size: 22px;
}

:where(.fs-main) .first-page .cta-btn {
  font-size: 16px;
}

:where(.fs-main) .first-hero__img img {
  object-position: center;
}

:where(.fs-main) .first-section-lead {
  max-width: 820px;
  margin: 0 auto 32px;
  text-align: center;
}

:where(.fs-main) .first-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

:where(.fs-main) .first-feature-card {
  position: relative;
  min-height: 220px;
  padding: 32px 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 4px 20px var(--shadow);
}

:where(.fs-main) .first-feature-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -42px;
  width: 120px;
  height: 120px;
  border: 18px solid var(--rose-pale);
  border-radius: 50%;
}

:where(.fs-main) .first-feature-card__num {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
  color: var(--rose-light);
  font-family: var(--font-serif-en);
  font-size: 42px;
  font-weight: 300;
  line-height: 1;
}

:where(.fs-main) .first-feature-card__title {
  position: relative;
  z-index: 1;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--charcoal);
  font-family: var(--font-serif-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
}

:where(.fs-main) .first-feature-card__text {
  position: relative;
  z-index: 1;
  color: var(--brown-mid);
  font-size: 13px;
  line-height: 1.85;
}

:where(.fs-main) .first-routine-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

:where(.fs-main) .first-routine-card {
  padding: 26px 22px;
  border-top: 3px solid var(--rose);
  border-radius: 0 0 10px 10px;
  background: var(--white);
  box-shadow: 0 3px 16px var(--shadow);
}

:where(.fs-main) .first-routine-card__label {
  display: block;
  margin-bottom: 7px;
  color: var(--rose-deep);
  font-family: var(--font-serif-en);
  font-size: 10px;
  letter-spacing: 0.18em;
}

:where(.fs-main) .first-routine-card__title {
  margin-bottom: 12px;
  color: var(--charcoal);
  font-family: var(--font-serif-jp);
  font-size: 16px;
  font-weight: 500;
}

:where(.fs-main) .first-routine-card__text {
  color: var(--brown-mid);
  font-size: 13px;
  line-height: 1.85;
}

:where(.fs-main) .first-merit-grid {
  grid-template-columns: repeat(3, 1fr);
}

:where(.fs-main) .first-merit-grid .merit-card:last-child {
  grid-column: 2 / 3;
}

:where(.fs-main) .first-caution-grid {
  grid-template-columns: repeat(3, 1fr);
}

:where(.fs-main) .first-exam-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}

:where(.fs-main) .first-exam-item {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 2px 10px var(--shadow);
}

:where(.fs-main) .first-exam-item__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--rose-pale);
}

:where(.fs-main) .first-exam-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

:where(.fs-main) .first-exam-item__body {
  padding: 18px 20px 20px;
}

:where(.fs-main) .first-exam-item__title {
  margin-bottom: 7px;
  color: var(--charcoal);
  font-family: var(--font-serif-jp);
  font-size: 14px;
  font-weight: 500;
}

:where(.fs-main) .first-exam-item__text {
  color: var(--brown-mid);
  font-size: 12px;
  line-height: 1.75;
}

:where(.fs-main) .first-data-table-wrap {
  margin-top: 28px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
}

:where(.fs-main) .first-data-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.75;
}

:where(.fs-main) .first-data-table th,
:where(.fs-main) .first-data-table td {
  padding: 14px 16px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--brown-mid);
  vertical-align: top;
}

:where(.fs-main) .first-data-table th {
  background: var(--rose-pale);
  color: var(--charcoal);
  font-family: var(--font-serif-jp);
  font-weight: 500;
  white-space: nowrap;
}

:where(.fs-main) .first-data-table tr:last-child th,
:where(.fs-main) .first-data-table tr:last-child td {
  border-bottom: none;
}

:where(.fs-main) .first-data-table th:last-child,
:where(.fs-main) .first-data-table td:last-child {
  border-right: none;
}

:where(.fs-main) .first-case {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

:where(.fs-main) .first-case__visual {
  display: grid;
  gap: 14px;
}

:where(.fs-main) .first-case__img {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
}

:where(.fs-main) .first-case__img img {
  width: 100%;
  height: auto;
}

:where(.fs-main) .first-case__caption {
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  color: var(--brown-mid);
  font-family: var(--font-serif-en);
  font-size: 12px;
  letter-spacing: 0.12em;
}

:where(.fs-main) .first-case__table-wrap {
  margin-top: 0;
}

:where(.fs-main) .first-case__table-wrap .first-data-table {
  min-width: 0;
}

:where(.fs-main) .first-case__table-wrap .first-data-table th {
  width: 132px;
}

:where(.fs-main) .first-approval-box__second-title {
  margin-top: 28px;
}

@media (max-width: 900px) {
  :where(.fs-main) .first-feature-grid,
:where(.fs-main) .first-merit-grid,
:where(.fs-main) .first-caution-grid,
:where(.fs-main) .first-exam-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  :where(.fs-main) .first-routine-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  :where(.fs-main) .first-merit-grid .merit-card:last-child {
    grid-column: auto;
  }

  :where(.fs-main) .first-case {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  :where(.fs-main) .first-section-lead {
    text-align: left;
  }

  :where(.fs-main) .first-feature-grid,
:where(.fs-main) .first-routine-grid,
:where(.fs-main) .first-merit-grid,
:where(.fs-main) .first-caution-grid,
:where(.fs-main) .first-exam-grid {
    grid-template-columns: 1fr;
  }

  :where(.fs-main) .first-feature-card {
    min-height: 0;
    padding: 26px 22px;
  }

  :where(.fs-main) .first-routine-card {
    padding: 22px 20px;
  }

  :where(.fs-main) .first-data-table-wrap {
    overflow-x: visible;
    border: none;
    border-radius: 0;
    background: transparent;
  }

  :where(.fs-main) .first-data-table {
    width: 100%;
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0;
  }

  :where(.fs-main) .first-data-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  :where(.fs-main) .first-data-table tr {
    display: block;
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
  }

  :where(.fs-main) .first-data-table th[scope="row"] {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border-right: none;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    white-space: normal;
  }

  :where(.fs-main) .first-data-table td {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 16px;
    border-right: none;
    border-bottom: 1px solid var(--border);
    text-align: right;
  }

  :where(.fs-main) .first-data-table tr td:last-child {
    border-bottom: none;
  }

  :where(.fs-main) .first-data-table td::before {
    content: attr(data-label);
    flex-shrink: 0;
    color: var(--charcoal);
    font-family: var(--font-serif-jp);
    font-weight: 500;
    text-align: left;
  }

  :where(.fs-main) .first-case__table-wrap .first-data-table th {
    width: 100%;
  }

  :where(.fs-main) .first-approval-box {
    padding: 24px 20px;
  }
}
