/* ============================================================
   SOLUNA — セルフ脱毛&ホワイトニング(制作サンプル)
   Tone: ピンク×クリームのポップ。丸ゴシック・吹き出し・バッジ。
   ============================================================ */
:root {
  --pink:      #E5408A;
  --pink-deep: #C2256E;
  --pink-pale: #FFE3EF;
  --cream:     #FFF6E8;
  --yellow:    #FFC53D;
  --ink:       #46232F;
  --muted:     #8A6470;
  --line-color: #F3CADC;
  --white:     #FFFFFF;
  --radius:    18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* アンカー着地時に上部の sticky サンプルバーへ潜り込ませない */
.fv, .sec { scroll-margin-top: 44px; }
body {
  font-family: "Zen Maru Gothic", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 10%, #FFE9F3 0, transparent 45%),
    radial-gradient(circle at 80% 90%, #FFF3DC 0, transparent 45%),
    #FBEFF5;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

/* サンプル注記バー */
.sample-bar {
  position: sticky; top: 0; z-index: 60;
  background: #46232F; color: #FFD9E9;
  font-size: 11px; text-align: center; padding: 6px 10px;
  letter-spacing: .04em;
}

/* スマホ縦長LPの基本コンテナ */
.lp {
  max-width: 430px; margin: 0 auto;
  background: var(--white);
  box-shadow: 0 0 60px rgba(197, 64, 124, .15);
  overflow: clip;
}

/* セクション構造チップ(8コンテンツの見える化) */
/* 構造ラベル(01/02…)は本番LPでは非表示。継ぎ目のない見た目にする */
.sec-chip { display: none; }

/* ベイク画像セクション:全幅・余白ゼロで隙間なく積む(Tiana調の連続感) */
/* ベイク画像セクション:全幅・余白ゼロで隙間なく積む(Tiana調の連続感) */
.sec-bake { padding: 0; margin: 0; background: none; line-height: 0; }
.sec-bake .ph { width: 100%; margin: 0; border-radius: 0; display: block; }
/* ベイク画像内のボタンに重ねる透明クリックリンク(位置は画像ごとにinline指定) */
.bake-hero { position: relative; line-height: 0; }
.bake-link { position: absolute; z-index: 3; border-radius: 999px; -webkit-tap-highlight-color: rgba(255,255,255,.25); }
.bake-link:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }

/* ---------- ① FV(ベイク画像フルブリード+透明クリックリンク) ---------- */
.fv { position: relative; }
.fv-hero { position: relative; line-height: 0; }
.fv-img { width: 100%; height: auto; display: block; }
/* ベイクされたLINEボタンの真上に重ねる実クリックリンク(画像解析で位置を校正) */
.fv-cta-overlay {
  position: absolute;
  left: 34%; width: 60%;
  top: 85%; height: 11.5%;
  z-index: 3; border-radius: 999px;
  -webkit-tap-highlight-color: rgba(255,255,255,.25);
}
.fv-cta-overlay:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
/* 視覚的に隠すがDOM/AI/スクリーンリーダーには残す(結論先出し・NAP・価格のAEO用) */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.fv-body {
  position: relative; z-index: 2;
  margin-top: -90px;
  padding: 26px 22px 34px;
  background: linear-gradient(180deg, transparent 0, #fff 70px);
  text-align: center;
}
.fv-area {
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  color: var(--pink-deep);
  background: #fff; border: 1.5px solid var(--line-color);
  display: inline-block; border-radius: 999px; padding: 4px 16px;
}
.fv-logo {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 900; font-size: 52px; letter-spacing: .06em;
  color: var(--pink); line-height: 1.1; margin: 12px 0 4px;
}
.fv-logo span { display: block; font-size: 13px; letter-spacing: .4em; color: var(--muted); font-weight: 800; }
.fv-answer { font-size: 15px; text-align: left; margin: 16px 2px 18px; }
.fv-answer b { color: var(--pink-deep); font-weight: 900; }

.fv-offer {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--cream); border: 2px solid var(--yellow);
  border-radius: var(--radius); padding: 14px 10px; margin-bottom: 16px;
  flex-wrap: wrap;
}
.offer-label {
  font-weight: 900; font-size: 14px;
  background: var(--yellow); color: var(--ink);
  border-radius: 8px; padding: 4px 10px;
}
.offer-price {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 900; font-size: 44px; color: var(--pink-deep); line-height: 1;
}
.offer-price small { font-size: 16px; font-weight: 800; }
.offer-note { font-size: 11px; font-weight: 700; color: var(--muted); width: 100%; text-align: center; }

.cta {
  display: block; text-decoration: none; text-align: center;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 900; font-size: 18px; letter-spacing: .04em;
  border-radius: 999px; padding: 16px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.cta:active { transform: scale(.97); }
.cta-line {
  color: #fff; background: #06C755;
  box-shadow: 0 6px 0 #049A42, 0 14px 24px -8px rgba(6,199,85,.5);
}
.cta-sub { font-size: 11px; color: var(--muted); margin-top: 10px; }
.cta-sub-light { font-size: 11px; color: rgba(255,255,255,.8); margin-top: 10px; text-align: center; }

/* ---------- 共通セクション ---------- */
.sec { padding: 44px 22px 48px; }
.sec-cream { background: var(--cream); }
.sec-pink {
  background: linear-gradient(160deg, var(--pink) 0%, var(--pink-deep) 100%);
  color: #fff;
}
.sec-final {
  background:
    radial-gradient(circle at 80% 0%, rgba(255,255,255,.18) 0, transparent 40%),
    linear-gradient(160deg, var(--pink-deep) 0%, #8E1B52 100%);
  color: #fff; text-align: center;
}

.h2 {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 900; font-size: 24px; line-height: 1.45;
  margin-bottom: 20px;
}
.h2 em { font-style: normal; color: var(--pink); background: linear-gradient(transparent 62%, var(--yellow) 62%); }
.h2-light { color: #fff; }
.h2-light em { color: var(--yellow); background: none; }
.lead-light { font-size: 14px; margin-bottom: 18px; }

.ph { width: 100%; height: auto; display: block; border-radius: var(--radius); margin: 18px 0; }
.bake-note { font-size: 11px; color: var(--muted); text-align: center; margin: -8px 0 4px; }
.note { font-size: 11px; color: var(--muted); }
.sec-pink .note { color: rgba(255,255,255,.75); }

/* ② 悩み */
.worry { list-style: none; display: grid; gap: 12px; }
.worry li {
  background: #fff; border: 1.5px solid var(--line-color);
  border-radius: var(--radius); padding: 14px 16px;
  position: relative; padding-left: 44px;
}
.worry li::before {
  content: "✕"; position: absolute; left: 14px; top: 14px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--pink-pale); color: var(--pink-deep);
  font-weight: 900; font-size: 12px;
  display: grid; place-items: center;
}
.worry b { display: block; font-size: 15px; font-weight: 900; }
.worry span { font-size: 13px; color: var(--muted); }

.pop-stat {
  text-align: center; background: #fff;
  border: 2px dashed var(--pink);
  border-radius: var(--radius); padding: 18px;
}
.pop-stat p { font-weight: 900; font-size: 15px; color: var(--pink-deep); }
.pop-stat strong {
  display: block; font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 900; font-size: 28px; color: var(--pink);
}
.pop-stat small { font-size: 11px; color: var(--muted); }

/* ③ ステップ */
.steps { list-style: none; counter-reset: st; display: grid; gap: 12px; margin-bottom: 14px; }
.steps li {
  counter-increment: st;
  background: var(--cream); border-radius: var(--radius);
  padding: 14px 16px 14px 56px; position: relative;
}
.steps li::before {
  content: counter(st);
  position: absolute; left: 14px; top: 14px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--pink); color: #fff;
  font-family: "M PLUS Rounded 1c", sans-serif; font-weight: 900;
  display: grid; place-items: center;
}
.steps b { display: block; font-weight: 900; font-size: 15px; }
.steps span { font-size: 13px; color: var(--muted); }

/* ④ 料金 */
.price-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 20px 16px; }
.price-card h3 { font-size: 17px; font-weight: 900; text-align: center; margin-bottom: 4px; }
.price-card h3 small { display: block; font-size: 11px; color: var(--muted); font-weight: 700; }
.price-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.price-table th, .price-table td { border-bottom: 1.5px solid var(--line-color); padding: 12px 6px; text-align: left; font-size: 13px; }
.price-table th { font-weight: 700; width: 46%; }
.price-table td b { font-size: 17px; font-weight: 900; color: var(--pink-deep); display: block; }
.price-table td span { font-size: 11px; color: var(--muted); }
.price-table tr.hot th, .price-table tr.hot td { background: var(--pink-pale); }
.price-note { font-size: 11px; color: var(--muted); margin-top: 10px; }

/* ⑤ 比較表 */
.compare-wrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 12px; background: #fff; border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { border: 1px solid var(--line-color); padding: 10px 6px; text-align: center; }
.compare thead th { background: var(--cream); font-weight: 900; }
.compare thead th.me { background: var(--pink); color: #fff; font-size: 14px; }
.compare tbody th { background: #FFF9F1; font-weight: 700; text-align: left; padding-left: 10px; }
.compare td.me { background: var(--pink-pale); color: var(--pink-deep); font-weight: 900; }
.compare td.me span { display: block; font-size: 10px; font-weight: 700; color: var(--muted); margin-top: 2px; }
.compare + .note { margin-top: 10px; }

/* ⑥ 実績・声・FAQ */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 6px; }
.stats div { background: #fff; border-radius: var(--radius); text-align: center; padding: 16px 6px; border: 1.5px solid var(--line-color); }
.stats strong { font-family: "M PLUS Rounded 1c", sans-serif; font-weight: 900; font-size: 24px; color: var(--pink-deep); }
.stats strong small { font-size: 12px; }
.stats span { display: block; font-size: 11px; color: var(--muted); font-weight: 700; }
.stats-note { font-size: 11px; color: var(--muted); text-align: center; }

.voices { display: grid; gap: 12px; margin-bottom: 26px; }
.voice { background: #fff; border-radius: var(--radius); padding: 16px; position: relative; }
.voice::before { content: "“"; position: absolute; top: 2px; left: 12px; font-size: 40px; color: var(--pink-pale); font-family: serif; }
.voice blockquote { font-size: 14px; font-weight: 700; padding-left: 18px; }
.voice figcaption { font-size: 11px; color: var(--muted); text-align: right; margin-top: 6px; }

.faq h3 { font-family: "M PLUS Rounded 1c", sans-serif; font-weight: 900; font-size: 19px; text-align: center; margin-bottom: 14px; }
.faq details { background: #fff; border-radius: 14px; margin-bottom: 10px; border: 1.5px solid var(--line-color); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer;
  font-weight: 900; font-size: 14px; padding: 14px 38px 14px 40px; position: relative;
}
.faq summary::before {
  content: "Q"; position: absolute; left: 12px; top: 13px;
  width: 20px; height: 20px; border-radius: 6px;
  background: var(--pink); color: #fff; font-size: 11px;
  display: grid; place-items: center; font-family: "M PLUS Rounded 1c", sans-serif;
}
.faq summary::after { content: "+"; position: absolute; right: 14px; top: 12px; color: var(--pink); font-weight: 900; font-size: 18px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 16px 14px 40px; font-size: 13px; color: #5C3A47; }

/* ⑦ まとめ */
.summary { list-style: none; text-align: left; display: grid; gap: 8px; margin-bottom: 8px; }
.summary li {
  background: rgba(255,255,255,.12); border-radius: 10px;
  padding: 10px 14px 10px 40px; font-weight: 700; font-size: 14px; position: relative;
}
.summary li::before {
  content: "✓"; position: absolute; left: 12px; top: 10px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--yellow); color: var(--ink);
  font-weight: 900; font-size: 12px; display: grid; place-items: center;
}
.offer-final { background: #fff; border-color: var(--yellow); }

/* ⑧ 保証・店舗情報 */
.assure { display: grid; gap: 12px; margin-bottom: 26px; }
.assure-item { background: var(--cream); border-radius: var(--radius); padding: 14px 16px; }
.assure-item b { display: block; font-size: 15px; font-weight: 900; color: var(--pink-deep); }
.assure-item span { font-size: 12px; color: var(--muted); }

.shop-info { background: #fff; border: 1.5px solid var(--line-color); border-radius: var(--radius); padding: 18px 16px; }
.shop-info h3 { font-size: 16px; font-weight: 900; margin-bottom: 10px; text-align: center; }
.shop-info dl { display: grid; grid-template-columns: 76px 1fr; gap: 6px 10px; font-size: 12px; }
.shop-info dt { font-weight: 900; color: var(--pink-deep); }

/* フッター */
.foot { background: #46232F; color: #E8C9D6; padding: 26px 22px 110px; font-size: 11px; text-align: center; }
.foot-info { max-width: 360px; margin: 0 auto 18px; text-align: left; }
.foot-info h3 { font-size: 14px; font-weight: 900; text-align: center; margin-bottom: 10px; color: #F3E3DF; }
.foot-info dl { display: grid; grid-template-columns: 64px 1fr; gap: 6px 10px; font-size: 12px; }
.foot-info dt { font-weight: 700; color: #EFC4B8; }
.foot-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; text-decoration: underline; }
.foot-disclaimer { text-align: left; opacity: .85; margin-bottom: 14px; }
.foot a { color: #FFC53D; }
.foot-credit { letter-spacing: .12em; font-weight: 700; }

/* 追従CTA */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-top: 2px solid var(--pink-pale);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
}
.sticky-price { line-height: 1.2; }
.sticky-price span { display: block; font-size: 10px; font-weight: 700; color: var(--muted); }
.sticky-price b { font-family: "M PLUS Rounded 1c", sans-serif; font-weight: 900; font-size: 22px; color: var(--pink-deep); }
.cta-mini {
  flex: 1; text-align: center; text-decoration: none;
  font-family: "M PLUS Rounded 1c", sans-serif; font-weight: 900; font-size: 16px;
  color: #fff; background: #06C755; border-radius: 999px; padding: 12px;
  box-shadow: 0 4px 0 #049A42;
}

/* ============================================================
   UI/UX 仕上げ — スクロール演出・ホバー・アクセシビリティ
   (Scroll-Triggered Storytelling パターン / prefers-reduced-motion 対応)
   ============================================================ */

/* スクロール進捗インジケーター */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  z-index: 70; pointer-events: none;
  background: linear-gradient(90deg, var(--pink), var(--pink-deep));
  box-shadow: 0 1px 6px rgba(229, 64, 138, .45);
}

/* ベイク画像は“面一”に固定:スクロールでの出現アニメは無し(常時フル表示・継ぎ目なし) */
.sec-bake, .faq { opacity: 1; transform: none; }

/* クリック可能要素:カーソル+ホバー/フォーカスのフィードバック(150–300ms) */
.fv-cta-overlay, .bake-link { cursor: pointer; transition: box-shadow .2s ease; }
.fv-cta-overlay:hover, .bake-link:hover {
  box-shadow: 0 0 0 3px rgba(229, 64, 138, .28), 0 10px 26px -8px rgba(229, 64, 138, .45);
}

/* 追従CTA:ホバーで微発光(レイアウトシフトなし) */
.sticky-cta .cta-mini { transition: filter .2s ease, box-shadow .2s ease; }
.sticky-cta .cta-mini:hover { filter: brightness(1.04); box-shadow: 0 6px 0 #049A42, 0 8px 22px -6px rgba(6,199,85,.5); }

/* FAQ:ホバー背景+開閉時のコンテンツフェード */
.faq summary { cursor: pointer; transition: background-color .2s ease; }
.faq summary:hover { background: var(--pink-pale); }
.faq details[open] > p { animation: faqReveal .3s ease-out both; }
@keyframes faqReveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* フッターリンク:ホバー */
.foot-links a { transition: opacity .2s ease; }
.foot-links a:hover { opacity: .65; }

/* キーボードフォーカス可視化(全インタラクティブ要素) */
a:focus-visible, summary:focus-visible, .bake-link:focus-visible, .fv-cta-overlay:focus-visible {
  outline: 3px solid var(--pink); outline-offset: 2px; border-radius: 6px;
}

/* モーション低減設定の尊重 */
@media (prefers-reduced-motion: reduce) {
  .sec-bake, .faq { opacity: 1 !important; transform: none !important; transition: none !important; }
  .faq details[open] > p { animation: none; }
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ============================================================
   AEO: 画像下の可視 answer-first キャプション(speakable対象)
   AIに引用される“答え”を可視テキストで。seamlessを壊さない控えめ装飾。
   ============================================================ */
.fv-caption, .bake-caption {
  font-size: 13px; line-height: 1.85; color: #6B4A57;
  max-width: 36em; margin: 0 auto;
  padding: 16px 22px;
  text-align: left;
  background: var(--cream);
  border-top: 1px solid var(--line-color);
}
.fv-caption { background: #fff; padding-top: 22px; }
.fv-caption b, .bake-caption b { color: var(--pink-deep); font-weight: 900; }
.bake-caption-dark { background: #2E1620; color: #E8C9D6; border-top-color: rgba(255,255,255,.12); }
.bake-caption-dark b { color: #FFC53D; }
