/* =========================================================
   components.css — J's MEN'S
   骨格は color_lp（女性版）で検証済みのものを継承。
   スキンのみ黒基調へ差し替え（設計書 §4-1「骨格継承・スキン新規」）。
   ========================================================= */

/* ---------------------------------------------------------
   1. 骨格：PCでもスマホ幅の縦列＋左右固定翼
   --------------------------------------------------------- */
.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(10, 8, 7, .74) 0%,
    rgba(10, 8, 7, .34) 30%,
    rgba(10, 8, 7, .28) 58%,
    rgba(10, 8, 7, .56) 80%,
    rgba(10, 8, 7, .86) 100%
  );
}

.wing__inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px;
  color: var(--ink);
}

.wing__logo { width: 92px; }
.wing__logo img { width: 100%; filter: brightness(0) invert(1); }

.wing__tag {
  margin-top: 14px;
  font-family: var(--ff-en);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.wing__foot { font-size: 12px; line-height: 2; color: var(--ink-2); }
.wing__foot strong { display: block; font-weight: 500; letter-spacing: .06em; color: var(--ink); }

.wingnav {
  text-align: right;
  padding: 16px 20px;
  background: rgba(10, 8, 7, .55);
}
.wingnav li + li { margin-top: 13px; }
.wingnav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--ink);
  transition: color 240ms var(--ease);
}
.wingnav a:hover { color: var(--accent-lift); }

.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: 10px;
  font-weight: 300;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.wing__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 208px;
  padding: 14px 22px;
  background: var(--cv);
  color: var(--cv-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  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--tint { background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.section--paper { background: var(--ink); color: var(--bg); }
.section--paper .lead { color: #4A423C; }
.section--paper .label-en { color: #6E645C; }

.section__head { margin-bottom: var(--sp-block); }
.section__head .label-en { display: block; margin-bottom: 13px; }
.section__head .h2 { margin-bottom: 16px; }

.label-en {
  font-family: var(--ff-en);
  font-size: var(--fs-label);
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-lift);
}

.lead { font-size: var(--fs-sm); line-height: 2.05; color: var(--ink-2); }
.note { font-size: var(--fs-note); line-height: 1.8; color: var(--ink-3); }

/* ---------------------------------------------------------
   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: 700;
  letter-spacing: .05em;
  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); font-weight: 400; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn--ghost:hover { background: var(--surface); }
.btn--ghost:active { background: var(--surface-2); }

/* 店舗2択（エリアで選ぶ人が多いため予約導線は常に2店舗並置） */
.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: 9px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #6E645C;
}
.cta2-head {
  margin-bottom: 9px;
  text-align: center;
  font-size: var(--fs-note);
  letter-spacing: .04em;
  color: var(--ink-2);
}
.btn-note {
  margin-top: 10px;
  text-align: center;
  font-size: var(--fs-note);
  color: var(--ink-3);
}

/* ---------------------------------------------------------
   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(20, 17, 15, .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: 700; color: var(--ink); }
.sticky__label, .sticky .cta2 { max-width: var(--col); margin-inline: auto; }

@media (min-width: 1100px) { .sticky { display: none; } }

/* ---------------------------------------------------------
   5. ORDER CARD（本LPの主役）
   1:1固定＝スクショ・共有前提（設計書 §4-4）
   --------------------------------------------------------- */
.card + .card { margin-top: 16px; }

.card__btn {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 240ms var(--ease);
}
.card__btn:hover { border-color: var(--accent-lift); }
.card__btn:active { background: var(--surface-2); }

.card__media { position: relative; aspect-ratio: 1 / 1; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }

/* 写真が暗いため番号は不透明ラベルで固定（女性版で実証した対処） */
.card__num {
  position: absolute;
  top: 0; left: 0;
  padding: 7px 11px 8px;
  background: var(--ink);
  font-family: var(--ff-en);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--bg);
}

.card__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px;
}
.card__name {
  font-size: clamp(15px, 4vw, 17px);
  font-weight: 700;
  letter-spacing: .03em;
  white-space: nowrap;
  min-width: 0;
}
.card__toggle {
  flex-shrink: 0;
  position: relative;
  width: 30px; height: 30px;
  border: 1px solid var(--line);
  transition: transform 320ms var(--ease), border-color 240ms var(--ease);
}
.card__toggle::before, .card__toggle::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 9px; height: 1px;
  background: var(--ink-2);
}
.card__toggle::before { transform: translate(-72%, -50%) rotate(45deg); }
.card__toggle::after  { transform: translate(-28%, -50%) rotate(-45deg); }
.card__btn[aria-expanded="true"] .card__toggle { transform: rotate(180deg); }

.card__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 420ms var(--ease);
  border: 1px solid var(--line);
  border-top: 0;
}
.card__panel.is-open { grid-template-rows: 1fr; }
.card__panel > div { overflow: hidden; }
.card__inner { padding: 20px 16px 22px; }

/* ★指名ワード＝このLPの核。美容師にそのまま言える一文 */
.order {
  margin-bottom: 20px;
  padding: 16px 16px 18px;
  background: var(--bg);
  border-left: 2px solid var(--accent-lift);
}
.order__label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--ff-en);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-lift);
}
.order__text {
  font-size: var(--fs-body);
  line-height: 1.85;
  color: var(--ink);
  letter-spacing: .02em;
}

.spec { border-top: 1px solid var(--line-soft); }
.spec div { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.spec dt {
  margin-bottom: 3px;
  font-size: var(--fs-note);
  letter-spacing: .06em;
  color: var(--ink-3);
}
.spec dd { margin: 0; font-size: var(--fs-sm); line-height: 1.75; color: var(--ink); }

/* ---------------------------------------------------------
   6. 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.7;
}
.faq__q:active { background: var(--bg-2); }
.faq__q em { font-style: normal; white-space: nowrap; }
.faq__mark {
  flex-shrink: 0;
  width: 14px;
  font-family: var(--ff-en);
  font-size: 15px;
  color: var(--ink-3);
  transition: transform 320ms var(--ease), color 240ms var(--ease);
}
.faq__q[aria-expanded="true"] .faq__mark { transform: rotate(45deg); }
.faq__q:hover .faq__mark { color: var(--ink); }

.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); }

/* ---------------------------------------------------------
   7. スクロール・イン（JSが動いた時だけ隠す）
   --------------------------------------------------------- */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(14px); 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; } }

/* ---------------------------------------------------------
   8. その他
   --------------------------------------------------------- */
.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;
}

.section--paper :focus-visible { outline-color: var(--bg); }

/* 調査反映：ミリ数など数値指定が分からない人の逃げ道。
   これが無いと「ショート」枠だけ注文のハードルが跳ね上がる。 */
.order__alt {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: var(--fs-sm);
  line-height: 1.85;
  color: var(--ink-2);
}
.order__alt b { color: var(--ink); font-weight: 700; }
