/* =========================================================
   components.css — 骨格・ボタン・レール・追従CTA・出現
   流用元：../../mens_lp_v3/css/components.css（中央の縦列＋PC左右レール）→ 白ベースに反転
   ========================================================= */

.skiplink {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 14px; font-size: 14px;
}
.skiplink:focus { top: 8px; }

.stage { position: relative; }

/* ---- 中央の縦列 ---- */
.shell {
  position: relative;
  max-width: var(--col);
  margin-inline: auto;
  background: var(--bg);
  overflow-x: clip;
  padding-bottom: var(--sticky-h);
}

/* ---- セクション ---- */
.section {
  position: relative;
  padding-block: var(--sp-section);
  padding-inline: var(--gut);
}
.section--cream { background: var(--bg-2); }
.section--night { background: var(--night); color: var(--ink-inv); }
.section--night .lead { color: var(--ink-inv-2); }
.section--night .note { color: var(--ink-inv-2); }
.section--night .label-en { color: var(--red-lift); }

.section__head { display: grid; gap: 14px; margin-bottom: var(--sp-block); }
.label-en { color: var(--red-deep); font-weight: 500; }

/* 見出しの強調：一語を赤 */
.h2 em, .fv__title em {
  font-style: normal;
  font-family: var(--ff-min);
  font-weight: 700;
  color: var(--red-deep);
}
.section--night .h2 em { color: var(--red-lift); }
.num-em, .yen-em {
  font-family: var(--ff-en) !important;
  font-weight: 500 !important;
  font-size: 1.5em;
  line-height: 1;
  vertical-align: -0.06em;
  letter-spacing: 0;
}

.note { margin-top: 18px; }

/* ---- ボタン ---- */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  width: 100%;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  text-align: center;
  border-radius: 0;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform 200ms var(--ease);
}
.btn--red { background: var(--red); color: #FFFFFF; }
.btn--red:hover { background: var(--red-deep); }
.btn:active { transform: translateY(1px); }
.btn--ink { background: var(--ink); color: #FFFFFF; }
.btn--ink:hover { background: #2A2A2A; }
.btn--line { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); min-height: 52px; }
.btn--line:hover { background: var(--ink); color: #FFFFFF; }
/* 矢印は文字（→）でなく線アイコン（SVG）。外部（HPB）へ開くボタンは外部アイコン。
   2026-10-05 UI/UX パス：押した先が見た目で分かるので「押すと〜」の説明文は消した */
.btn::after, .ic {
  content: ""; flex: none; display: inline-block; width: 18px; height: 18px;
  background: currentColor;
  -webkit-mask: var(--ic-arrow) center / contain no-repeat;
          mask: var(--ic-arrow) center / contain no-repeat;
  transition: transform 300ms var(--ease);
}
.btn--line::after { -webkit-mask-image: var(--ic-down); mask-image: var(--ic-down); }
.btn[target="_blank"]::after { -webkit-mask-image: var(--ic-ext); mask-image: var(--ic-ext); }
.btn:hover::after, .btn:focus-visible::after { transform: translateX(3px); }
.btn--line:hover::after, .btn--line:focus-visible::after { transform: translateY(2px); }
.btn[target="_blank"]:hover::after, .btn[target="_blank"]:focus-visible::after { transform: translate(2px, -2px); }
.section > .btn { margin-top: 28px; }

/* ---- PC左右レール（1100px以上） ---- */
.wing { display: none; }
@media (min-width: 1100px) {
  .wing {
    display: block;
    position: fixed; top: 0; bottom: 0;
    z-index: 5;
  }
  .wing--l { left: 0; right: calc(50% + var(--col) / 2); }
  .wing--r { right: 0; left: calc(50% + var(--col) / 2); }
  .wing__inner {
    height: 100%;
    display: flex; flex-direction: column; justify-content: center;
    gap: 22px;
    padding: 48px clamp(28px, 4vw, 64px);
    align-items: flex-end;
    text-align: right;
  }
  .wing__inner--r { align-items: flex-start; text-align: left; gap: 10px; }
  .wing__tag {
    font-family: var(--ff-en); font-size: 12px; letter-spacing: .3em; color: var(--red-deep);
  }
  .wingnav { display: grid; gap: 14px; margin-top: 18px; }
  .wingnav a { font-size: 14px; color: var(--ink-2); letter-spacing: .06em; }
  .wingnav a:hover { color: var(--red-deep); }
  .wing__head { font-size: 14px; color: var(--ink-2); letter-spacing: .08em; margin-bottom: 6px; }
  .wing__cta {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    width: 230px; min-height: 56px; padding: 14px 18px;
    background: var(--red); color: #FFFFFF;
    font-size: 15px; font-weight: 700; letter-spacing: .06em;
    transition: background 300ms var(--ease), transform 300ms var(--ease), box-shadow 300ms var(--ease);
  }
  .wing__cta::after {
    content: ""; width: 18px; height: 18px; flex: none; background: currentColor;
    -webkit-mask: var(--ic-arrow) center / contain no-repeat; mask: var(--ic-arrow) center / contain no-repeat;
    transition: transform 300ms var(--ease);
  }
  .wing__cta:hover, .wing__cta:focus-visible { background: var(--red-deep); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(230, 0, 18, .22); }
  .wing__cta:hover::after, .wing__cta:focus-visible::after { transform: translateX(3px); }
  .wing__note { font-size: 14px; color: var(--ink-2); line-height: 1.7; margin-top: 8px; }
  .wing__note b { font-family: var(--ff-en); font-size: 22px; font-weight: 600; color: var(--red-deep); }
  .shell { padding-bottom: 0; box-shadow: 0 0 0 1px var(--line), 0 30px 80px rgba(15,15,15,.06); }
  body { background: var(--surface); }
}

/* ---- SP 追従CTA ---- */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .94);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform var(--dur) var(--ease);
}
.sticky.is-on { transform: translateY(0); }
.sticky .btn { max-width: calc(var(--col) - 2 * var(--gut)); margin-inline: auto; min-height: 52px; font-size: 14px; }
.sticky .btn span { font-family: var(--ff-en); font-weight: 500; font-size: 14px; opacity: .95; margin-left: 4px; }
@media (min-width: 1100px) { .sticky { display: none; } }

/* ---- 出現（表示状態が既定。JS が有効な時だけ下から） ---- */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(16px); 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; } }
