/* =========================================================
   components.css — J's 髪質改善（LUXELL STRAIGHT）
   骨格は姉妹3本と共通（中央450px縦列＋固定翼）。
   テーマはダーク・ウォーム。実写B/Aと料金はアイボリー(paper)面に載せる。
   ========================================================= */

/* ---- 見出し（明朝＝姉妹と差別化）---- */
.h2 {
  font-family: var(--ff-mincho);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.62;
  letter-spacing: .04em;
}
.h3 { font-family: var(--ff-mincho); font-size: var(--fs-h3); font-weight: 500; line-height: 1.6; }

.label-en {
  font-family: var(--ff-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
}
.lead { font-size: var(--fs-sm); line-height: 2.05; color: var(--ink-2); }
.note { font-size: var(--fs-note); line-height: 1.85; color: var(--ink-3); }

/* ---------------------------------------------------------
   1. 骨格
   --------------------------------------------------------- */
.stage { position: relative; }
.shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--col);
  margin-inline: auto;
  background: var(--bg);
  overflow: hidden;
}
.wing {
  display: none;
  position: fixed;
  top: 0;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
}
.wing__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wing__veil {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(30,24,21,.72) 0%, rgba(30,24,21,.30) 30%,
    rgba(30,24,21,.24) 60%, rgba(30,24,21,.78) 100%);
}
.wing__inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 40px; color: var(--ink);
}
.wing__logo { width: 88px; }
.wing__logo img { width: 100%; filter: brightness(0) invert(1); }
.wing__tag {
  margin-top: 14px; font-family: var(--ff-en); font-size: 12px; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase; color: var(--gold);
}
.wing__foot { font-size: 12px; line-height: 2; color: var(--ink-2); }
.wing__foot strong { display: block; font-weight: 500; letter-spacing: .04em; color: var(--ink); }

.wingnav { text-align: right; padding: 16px 20px; background: rgba(15,11,9,.5); }
.wingnav li + li { margin-top: 13px; }
.wingnav a {
  font-family: var(--ff-mincho); font-size: 14px; letter-spacing: .08em;
  color: var(--ink); transition: color 240ms var(--ease);
}
.wingnav a:hover { color: var(--gold-lite); }

.wing__ctas { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.wing__ctas-head {
  margin-bottom: 2px; font-family: var(--ff-en); font-size: 12px; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase; color: var(--gold);
}
.wing__cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 220px; padding: 14px 22px;
  background: var(--cv); color: var(--cv-ink);
  font-size: 13px; font-weight: 500; letter-spacing: .04em;
  border-radius: var(--radius); transition: background 240ms var(--ease);
}
.wing__cta:hover { background: var(--cv-hover); }
.wing__cta:active { background: var(--ink-2); }

@media (min-width: 1100px) {
  .wing { display: block; }
  .wing--l { left: 0; right: calc(50% + var(--col) / 2); }
  .wing--r { right: 0; left: calc(50% + var(--col) / 2); }
}
@media (min-width: 1500px) {
  .wing { width: 525px; }
  .wing--l { left: auto; right: calc(50% + var(--col) / 2); }
  .wing--r { right: auto; left: calc(50% + var(--col) / 2); }
}

/* ---------------------------------------------------------
   2. セクション
   --------------------------------------------------------- */
.section { padding: var(--sp-section) var(--gut); }
.section + .section { padding-top: calc(var(--sp-section) * .66); }
.section--2 { background: var(--bg-2); }
/* アイボリー面：実写B/A・料金 */
.section--paper { background: var(--paper); color: var(--ink-paper); }
.section--paper .h2, .section--paper .h3 { color: var(--ink-paper); }
.section--paper .lead { color: var(--ink-paper-2); }
.section--paper .label-en { color: var(--gold-deep); }
.section--paper .note { color: var(--ink-paper-2); }

.section__head { margin-bottom: var(--sp-block); }
.section__head .label-en { display: block; margin-bottom: 14px; }
.section__head .h2 { margin-bottom: 16px; }

/* ---------------------------------------------------------
   3. ボタン
   --------------------------------------------------------- */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 18px 20px;
  background: var(--cv); color: var(--cv-ink);
  font-size: 15px; font-weight: 500; letter-spacing: .04em;
  border-radius: var(--radius); transition: background 240ms var(--ease);
}
.btn:hover { background: var(--cv-hover); }
.btn:active { background: var(--ink-2); }
.btn__arrow { font-family: var(--ff-en); }

.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--gold); }
.btn--ghost:hover { background: rgba(176,138,79,.1); }
.section--paper .btn { background: var(--ink-paper); color: var(--paper); }
.section--paper .btn:hover { background: #000; }

.cta2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cta2 .btn { flex-direction: column; gap: 3px; padding: 15px 10px; font-size: 14px; line-height: 1.45; }
.cta2 .btn span {
  font-family: var(--ff-en); font-size: 11px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep);
}
.section--paper .cta2 .btn span { color: var(--gold); }
.cta2-head { margin-bottom: 9px; text-align: center; font-size: var(--fs-note); color: var(--ink-2); }
.section--paper .cta2-head { color: var(--ink-paper-2); }
.btn-note { margin-top: 10px; text-align: center; font-size: var(--fs-note); color: var(--ink-3); }
.section--paper .btn-note { color: var(--ink-paper-2); }

/* ---------------------------------------------------------
   4. 追従CTA
   --------------------------------------------------------- */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(30,24,21,.95); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform 420ms var(--ease);
}
.sticky.is-on { transform: translateY(0); }
.sticky .btn { padding: 13px 10px; font-size: 14px; }
.sticky__label { display: block; margin-bottom: 6px; text-align: center; font-size: var(--fs-note); color: var(--ink-2); }
.sticky__label b { font-weight: 500; color: var(--gold-lite); }
.sticky__label, .sticky .cta2 { max-width: var(--col); margin-inline: auto; }
@media (min-width: 1100px) { .sticky { display: none; } }

/* ---------------------------------------------------------
   5. 悩み（4項目）
   --------------------------------------------------------- */
.worry { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.worry li { padding: 18px; background: var(--bg); }
.worry dt { font-family: var(--ff-mincho); font-size: 15px; color: var(--gold-lite); margin-bottom: 6px; letter-spacing: .04em; }
.worry dd { margin: 0; font-size: var(--fs-sm); line-height: 1.85; color: var(--ink-2); }
.worry-bridge { margin-top: 26px; font-size: var(--fs-sm); line-height: 2.05; color: var(--ink-2); }

/* ---------------------------------------------------------
   6. Before / After（実写・アイボリー面）
   --------------------------------------------------------- */
.ba + .ba { margin-top: 30px; }
.ba__labels {
  display: flex; justify-content: space-between;
  font-family: var(--ff-en); font-size: 14px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep);
  margin-bottom: 8px;
}
/* 実写は元画像がBefore/After一体なので枠だけ。左と上に細ゴールド罫（非対称） */
.ba__media { border-top: 1px solid var(--gold); border-left: 1px solid var(--gold); }
.ba__media img { width: 100%; height: auto; display: block; }
.ba__cap { margin-top: 10px; font-size: var(--fs-sm); line-height: 1.8; color: var(--ink-paper); }
.ba__note { margin-top: 6px; font-size: var(--fs-note); line-height: 1.7; color: var(--ink-paper-2); }

/* ---------------------------------------------------------
   7. 技術（3点＋施術中実写）
   --------------------------------------------------------- */
.tech { margin-top: 24px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tech li { padding: 18px; background: var(--bg); }
.tech dt { font-family: var(--ff-mincho); font-size: 15px; color: var(--gold-lite); margin-bottom: 6px; }
.tech dd { margin: 0; font-size: var(--fs-sm); line-height: 1.85; color: var(--ink-2); }
.tech-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
.tech-photos img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1/1; }

/* ---------------------------------------------------------
   8. 再現性
   --------------------------------------------------------- */
.repro { margin-top: 20px; }
.repro p { font-size: var(--fs-sm); line-height: 2; color: var(--ink-2); }

/* ---------------------------------------------------------
   9. 料金（凍結＝数字なし・価値分解）
   --------------------------------------------------------- */
.price-value { margin-top: 4px; border-top: 1px solid var(--line-paper); }
.price-value li {
  padding: 14px 0; border-bottom: 1px solid var(--line-paper);
  font-size: var(--fs-sm); line-height: 1.7; color: var(--ink-paper);
  display: flex; align-items: baseline; gap: 12px;
}
.price-value li::before {
  content: counter(pv, decimal-leading-zero); counter-increment: pv;
  font-family: var(--ff-en); font-size: 13px; color: var(--gold); flex-shrink: 0;
}
.price-value { counter-reset: pv; }
.price-tbd {
  margin-top: 20px; padding: 16px; border: 1px solid var(--line-paper);
  font-size: var(--fs-sm); line-height: 1.9; color: var(--ink-paper);
}
.price-tbd b { color: var(--ink-paper); font-weight: 600; }

/* ---------------------------------------------------------
   10. FAQ
   --------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  width: 100%; padding: 20px 0; text-align: left;
  font-size: var(--fs-body); font-weight: 500; line-height: 1.75; color: var(--ink);
}
.faq__q:active { background: var(--bg-2); }
.faq__q em { font-style: normal; white-space: nowrap; }
.faq__mark { flex-shrink: 0; width: 14px; font-size: 15px; color: var(--gold); transition: transform 320ms var(--ease); }
.faq__q[aria-expanded="true"] .faq__mark { transform: rotate(45deg); }
.faq__q:hover .faq__mark { color: var(--gold-lite); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 400ms var(--ease); }
.faq__a.is-open { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 0 22px; font-size: var(--fs-sm); line-height: 2.05; color: var(--ink-2); }

/* ---------------------------------------------------------
   11. 店舗
   --------------------------------------------------------- */
.shop + .shop { margin-top: 16px; }
.shop { padding: 24px 20px; background: var(--bg-2); border: 1px solid var(--line); }
.shop__name { font-family: var(--ff-mincho); font-size: var(--fs-h3); margin-bottom: 4px; color: var(--ink); }
.shop__area { font-family: var(--ff-en); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.shop__info { margin: 16px 0 20px; font-size: var(--fs-sm); line-height: 2; color: var(--ink-2); }
.shop__info a { display: inline-block; min-height: 44px; padding: 11px 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------
   12. 最終CTA・相互送客・フッター
   --------------------------------------------------------- */
.final { text-align: center; }
.final .h2 { margin-bottom: 16px; }
.final .lead { margin-bottom: var(--sp-block); }
.cross { margin: var(--sp-block) 0 0; text-align: center; font-size: var(--fs-sm); line-height: 1.9; color: var(--ink-3); }
.cross a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; }
.cross a:hover { color: var(--gold-lite); }

.foot { padding: 34px var(--gut) calc(var(--sticky-h) + 34px); background: var(--bg); border-top: 1px solid var(--line); text-align: center; }
.foot__logo { width: 52px; margin: 0 auto 16px; }
.foot__logo img { width: 100%; filter: brightness(0) invert(1); }
.foot__rule { width: 26px; height: 2px; margin: 18px auto; background: var(--brand); }
.foot__note { font-size: var(--fs-note); line-height: 1.9; color: var(--ink-3); }
@media (min-width: 1100px) { .foot { padding-bottom: 34px; } }

/* ---------------------------------------------------------
   13. reveal（JSが動いた時だけ隠す）＋スキップ
   --------------------------------------------------------- */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

.skiplink { position: absolute; left: -9999px; z-index: 100; }
.skiplink:focus { left: 12px; top: 12px; padding: 12px 18px; background: var(--ink); color: var(--bg); font-size: 13px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.section--paper :focus-visible { outline-color: var(--ink-paper); }

/* 日本語の孤立行(オーファン)を自動回避 */
.h2,.h3,.fv__title{ text-wrap: balance; }
p,li,dd,.ba__cap,.worry dd,.price-tbd,.lead{ text-wrap: pretty; }

.nb{ white-space: nowrap; }
