@charset "UTF-8";

/* =========================================================
   MT4 Lock System (MLS) 直販LP ─ v2
   Design: Black × Gold / Revolis brand tone

   v1からの主な変更
     - ヒーロー背景を hero-fortress.webp（要塞＋門＋騎士＋不死鳥）へ
     - .hero__veil を hero_composite.py の VEIL_FIX と同じ勾配に
     - .offer / .author の背景まわり（騎士が画面外だった件の是正）
     - スマホの文字サイズを全体的に引き上げ（12〜13px相当を廃止）
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  --bg:        #07070a;
  --bg-2:      #0b0b10;
  --surface:   #101017;
  --surface-2: #16161f;

  --gold:      #c8a24a;
  --gold-hi:   #f3dfa2;
  --gold-dim:  #7d6733;
  --line:      rgba(200, 162, 74, .22);
  --line-soft: rgba(255, 255, 255, .07);

  --text:      #d7d7de;
  --text-dim:  #9a9aa4;
  --white:     #ffffff;

  --red:       #e2453c;
  --blue:      #3ba3e3;

  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans:  "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;

  --maxw: 1080px;
  --pad-y: clamp(84px, 11vw, 150px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 2;
  letter-spacing: .04em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; border: 0; }
a   { color: var(--gold-hi); text-decoration: none; transition: opacity .25s; }
a:hover { opacity: .7; }
p   { margin: 0 0 1.4em; }
h1, h2, h3, h4 { margin: 0 0 .8em; line-height: 1.5; font-weight: 700; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* ---------- Layout Utilities ---------- */
.container { width: min(100% - 44px, var(--maxw)); margin-inline: auto; }
.narrow    { width: min(100% - 44px, 760px); margin-inline: auto; }
.section   { padding-block: var(--pad-y); position: relative; }
.center    { text-align: center; }
.mt-s { margin-top: 24px; }  .mt-m { margin-top: 48px; }  .mt-l { margin-top: 80px; }

.bg-surface { background: var(--bg-2); }
.bg-panel   { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }

/* ---------- Typography Parts ---------- */
.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .42em;
  text-indent: .42em;
  color: var(--gold);
  margin-bottom: 26px;
  text-transform: uppercase;
}

.sec-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.5rem, 4.3vw, 2.3rem);
  line-height: 1.65;
  color: var(--white);
  letter-spacing: .02em;
}

/* 日本語の改行を文節単位に（対応ブラウザのみ／未対応でも実害なし） */
.hero h1, .sec-title, .closing-title, .pull-quote, .memory-quote,
.verdict .big, .product-mark, .card h3, .stage h4, .page-head h1 {
  word-break: auto-phrase;
  line-break: strict;
}

.lead {
  font-size: clamp(.96rem, 2.4vw, 1.06rem);
  color: var(--text-dim);
  line-height: 2.2;
}

.gold      { color: var(--gold-hi); }
.red       { color: var(--red); }
.blue      { color: var(--blue); }
.strong-w  { color: var(--white); font-weight: 700; }
.caution   { color: var(--red); }

/* 脳の部位名など、専門語をそっと立てる */
.term {
  font-style: normal;
  color: var(--gold-hi);
  border-bottom: 1px dotted var(--gold-dim);
  padding-bottom: 1px;
}

.text-link {
  font-size: .92rem;
  letter-spacing: .06em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
}

.gold-grad {
  background: linear-gradient(100deg, var(--gold-dim), var(--gold-hi) 45%, var(--gold) 75%, var(--gold-hi));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rule {
  width: 1px; height: 68px;
  margin: 0 auto;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
}

.rule-h {
  height: 1px; border: 0; margin: 0;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

/* 章番号 */
.sec-index {
  font-family: var(--serif);
  font-size: .78rem;
  letter-spacing: .4em;
  color: var(--gold-dim);
  margin-bottom: 14px;
}

/* 補足の一行（仕様の但し書きなど） */
.note-inline {
  display: inline-block;
  margin: 26px auto 0;
  padding: 10px 22px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  font-size: .84rem;
  color: var(--text-dim);
  letter-spacing: .08em;
  line-height: 1.9;
}
.disclaimer-note { font-size: .8rem; color: var(--text-dim); margin-top: 36px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 34px);
  background: rgba(7, 7, 10, 0);
  border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
}
.site-header.is-stuck {
  background: rgba(7, 7, 10, .88);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-header .brand { display: flex; align-items: center; gap: 11px; }
.site-header .brand img { width: 38px; }
.site-header .brand span {
  font-size: .74rem; letter-spacing: .24em; color: var(--text-dim);
}
.header-cta {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 10px 22px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  color: var(--gold-hi);
  white-space: nowrap;
}
.header-cta:hover { background: var(--gold); color: #000; opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 128px 0 92px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background: url("../img/hero-fortress.webp") no-repeat center right / cover;
  transform: scale(1.06);
  animation: heroDrift 26s ease-in-out infinite alternate;
}
@media (min-resolution: 1.5dppx) {
  .hero__bg { background-image: url("../img/hero-fortress@2x.webp"); }
}
@keyframes heroDrift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.13) translate3d(-1.4%, -1%, 0); }
}
/* reference/scripts/hero_composite.py の VEIL_FIX と同じ勾配。
   騎士が現行勾配だと沈むため、右側を明るく残している。片方を直したら両方直すこと。
   v2.1：「ヒーローが暗い」という指摘を受けて右側と下側をさらに薄くした。
   左（本文が乗る側）の .96 / .90 は本文の可読性のために動かさないこと。 */
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(95deg, rgba(4,4,6,.96) 2%, rgba(4,4,6,.90) 22%, rgba(4,4,6,.50) 44%, rgba(4,4,6,.16) 70%, rgba(4,4,6,.42) 100%),
    linear-gradient(180deg, rgba(4,4,6,.84) 0%, rgba(4,4,6,.06) 24%, rgba(4,4,6,.10) 58%, var(--bg) 99%);
}
/* 本文の段は他セクションより広い枠に置いて左へ寄せる。
   1080pxの共通コンテナのままだと、広い画面で見出しの右端が騎士の頭に重なる
   （1920幅で本文が420..1060、騎士が900..1150）。 */
.hero__inner { position: relative; z-index: 2; width: min(100% - 44px, 1400px); }
.hero__content { max-width: 580px; }

.hero__tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .72rem; letter-spacing: .22em; color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 7px 16px;
  margin-bottom: 32px;
  background: rgba(200,162,74,.05);
}
.hero__tag::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 8px var(--gold);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(1.95rem, 6.2vw, 3.5rem);
  line-height: 1.55;
  color: var(--white);
  letter-spacing: .01em;
  margin-bottom: 30px;
  text-shadow: 0 4px 40px rgba(0,0,0,.85);
}
.hero h1 .small { display: block; font-size: .52em; font-weight: 700; color: var(--text-dim); margin-bottom: .7em; letter-spacing: .08em; }

.hero__sub {
  font-size: clamp(.93rem, 2.5vw, 1.03rem);
  line-height: 2.15;
  color: var(--text);
  margin-bottom: 38px;
  max-width: 34em;
  text-shadow: 0 2px 18px rgba(0,0,0,.8);
}
.hero__product {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 36px;
}
.hero__product img { width: 54px; }
.hero__product .name {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 3vw, 1.35rem);
  font-weight: 700;
  letter-spacing: .06em;
}
.hero__product .name small { display: block; font-size: .58em; color: var(--text-dim); letter-spacing: .2em; font-weight: 400; }

/* 「買い切りか月額か」だけはヒーロー直下で潰しておく（金額は書かない） */
.hero__facts {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin-top: 28px;
}
.hero__facts li {
  position: relative;
  padding-left: 18px;
  font-size: .82rem;
  letter-spacing: .08em;
  color: var(--text-dim);
  line-height: 1.7;
}
.hero__facts li::before {
  content: ""; position: absolute; left: 0; top: .68em;
  width: 8px; height: 4px;
  border-left: 1px solid var(--gold); border-bottom: 1px solid var(--gold);
  transform: rotate(-45deg);
}

.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; z-index: 3;
  transform: translateX(-50%);
  font-size: .62rem; letter-spacing: .3em; color: var(--text-dim);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.hero__scroll::after {
  content: ""; width: 1px; height: 46px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: .25; } 50% { opacity: 1; } }

/* ---------- Buttons ---------- */
.btn-row {
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center;
}
.btn-row.center-row { justify-content: center; }

.btn {
  position: relative;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px;
  padding: 20px 44px;
  border: 0; border-radius: 3px;
  font-family: var(--sans);
  font-size: clamp(.96rem, 2.6vw, 1.08rem);
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
  text-align: center;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
  overflow: hidden;
}
.btn small { font-size: .78rem; font-weight: 400; letter-spacing: .1em; opacity: .82; }

.btn-primary {
  background: linear-gradient(135deg, #a9853a 0%, #e7cd85 42%, #c8a24a 60%, #f3dfa2 100%);
  color: #14100a;
  box-shadow: 0 10px 34px rgba(200,162,74,.24), inset 0 1px 0 rgba(255,255,255,.45);
}
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg);
  animation: sheen 4.5s ease-in-out infinite;
}
@keyframes sheen { 0%, 62% { left: -60%; } 88%, 100% { left: 130%; } }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(200,162,74,.4), inset 0 1px 0 rgba(255,255,255,.5); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,.26);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); transform: translateY(-3px); }

.btn-lg { padding: 24px 56px; font-size: clamp(1rem, 3vw, 1.22rem); width: 100%; max-width: 480px; }
.btn-sm { padding: 14px 32px; font-size: .92rem; }

/* セクション途中の小さなCTA（離脱ゾーンを埋める） */
.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 14px 32px;
  margin-top: 72px;
  padding: 28px 26px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(200,162,74,.045), transparent);
}
.cta-band p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1rem, 2.9vw, 1.2rem);
  color: var(--white);
  letter-spacing: .04em;
}

/* ---------- Reveal Animation ----------
   JS無効時に本文が消えないよう、.js が付いている時だけ隠す */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2,.7,.3,1), transform .9s cubic-bezier(.2,.7,.3,1);
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .12s; }
.js .reveal[data-delay="2"] { transition-delay: .24s; }
.js .reveal[data-delay="3"] { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg { animation: none; }
  .btn-primary::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Memory (問題提起) ---------- */
.memory-quote {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 3.6vw, 1.9rem);
  line-height: 2;
  color: var(--white);
  font-weight: 700;
}
.memory-list { margin: 52px 0 0; }
.memory-list li {
  position: relative;
  padding: 22px 0 22px 40px;
  border-bottom: 1px solid var(--line-soft);
  font-size: clamp(.94rem, 2.5vw, 1.02rem);
  line-height: 1.95;
}
.memory-list li:first-child { border-top: 1px solid var(--line-soft); }
.memory-list li::before {
  content: "";
  position: absolute; left: 8px; top: 34px;
  width: 14px; height: 1px;
  background: var(--red);
}

.verdict {
  margin-top: 64px;
  padding: 40px 32px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(200,162,74,.06), transparent);
  text-align: center;
}
.verdict p:last-child { margin-bottom: 0; }
.verdict .big {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 3.6vw, 1.75rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.8;
}

/* ---------- Figure ---------- */
.figure { margin: 0; }
.figure img {
  width: 100%;
  border-radius: 4px;
  border: 1px solid var(--line-soft);
  box-shadow: 0 24px 70px rgba(0,0,0,.7);
}
.figure figcaption {
  margin-top: 16px; font-size: .82rem; color: var(--text-dim); text-align: center; letter-spacing: .1em;
}
.only-narrow { display: none; }

/* フルブリード画像（左右いっぱいに広げて黒へ溶かす） */
.bleed-figure {
  position: relative;
  margin: 64px calc(50% - 50vw) 0;
  width: 100vw;
  overflow: hidden;
}
.bleed-figure img { width: 100%; }
.bleed-figure::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, transparent 16%, transparent 80%, var(--bg) 100%),
    linear-gradient(90deg, var(--bg) 0%, transparent 11%, transparent 89%, var(--bg) 100%);
  pointer-events: none;
}
/* 素材が暗すぎて黒背景に沈む場合の持ち上げ。
   実測した平均輝度をもとに、画像ごとに強度を変えている。
   基準は canva-brain（無補正・平均輝度11／明部7.4%）。 */
.bleed-figure--lift img   { filter: brightness(2);   }  /* canva-rise      → 平均10前後 */
.bleed-figure--lift-x img { filter: brightness(2.7); }  /* canva-regret-alt → 平均13前後 */
.bleed-figure figcaption {
  position: absolute; inset: auto 0 clamp(18px, 4vw, 44px) 0;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1rem, 3.4vw, 1.7rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: .06em;
  text-shadow: 0 4px 30px rgba(0,0,0,.95);
  z-index: 1;
  padding-inline: 20px;
}
.bleed-figure figcaption .em { color: var(--gold-hi); }

/* ---------- 実UIのスクリーンショット ----------
   出どころは購入者向けマニュアルPDFの埋め込み画像。
   埋め込み時点の解像度（設定画面363px／プレート約240px）が上限で、
   **これを超えて引き伸ばすと滲む。** 下の max-width はその実寸に合わせてある。 */

/* 左＝設定画面、右＝手順の説明 */
.ui-figure {
  display: grid;
  /* 元画像は363px。ここは縮小方向なので滲まない */
  grid-template-columns: 320px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
  margin-top: 52px;
}
.ui-shot { margin: 0; }
.ui-shot img {
  width: 100%;
  display: block;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 24px 64px rgba(0,0,0,.8);
}
.ui-shot figcaption {
  margin-top: 14px;
  font-size: .8rem;
  color: var(--text-dim);
  text-align: center;
  letter-spacing: .08em;
}
/* 単独で置く場合（詳細設定画面）。元画像は369px */
.ui-shot--solo { max-width: 369px; margin-inline: auto; }

.ui-notes h4 {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 3vw, 1.35rem);
  color: var(--white);
  margin-bottom: 22px;
}
.ui-notes ol { counter-reset: un; }
.ui-notes ol li {
  counter-increment: un;
  position: relative;
  padding: 0 0 18px 40px;
  font-size: .93rem;
  line-height: 1.95;
  color: var(--text);
}
.ui-notes ol li::before {
  content: counter(un);
  position: absolute; left: 0; top: 2px;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  font-size: .72rem;
  color: var(--gold);
  font-family: var(--sans);
}
.ui-notes ol li strong { color: var(--white); }
.ui-notes__foot {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--gold-hi);
}

/* MLSプレートの状態変化（待機→監視→赤／青ロック） */
.plate-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.plate-row figure, .panel-duo figure, .dialogs figure { margin: 0; }
/* width:100% にすると枠より小さい素材が引き伸ばされて滲む。
   width:auto + max-width:100% なら、縮小はしても拡大はしない。 */
.plate-row img, .panel-duo img {
  width: auto;
  max-width: 100%;
  display: block;
  margin-inline: auto;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
}
.plate-row figcaption, .panel-duo figcaption, .dialogs figcaption {
  margin-top: 12px;
  font-size: .8rem;
  color: var(--text-dim);
  text-align: center;
  letter-spacing: .06em;
  line-height: 1.7;
}
.plate-row figcaption small {
  display: block;
  margin-top: 4px;
  font-size: .82em;
  opacity: .72;
}

.panel-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 40px);
  max-width: 620px;
  margin: 28px auto 0;
}

/* 警告ダイアログ。白いWindowsダイアログをそのまま出す。
   黒地の中で浮くのが狙い（＝加工していない実物に見える） */
.dialogs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3.5vw, 34px);
  margin-top: 32px;
  align-items: start;
}
.dialogs img {
  width: auto;
  max-width: 100%;
  display: block;
  margin-inline: auto;
  border-radius: 4px;
  box-shadow: 0 16px 40px rgba(0,0,0,.6);
}

/* 実画面のスクリーンショット（黒背景に溶かさず、額装して「証拠」に見せる） */
.shot {
  margin: 52px 0 0;
  border: 1px solid var(--line);
  background: #05050a;
  padding: clamp(10px, 2vw, 18px);
  box-shadow: 0 30px 80px rgba(0,0,0,.75);
}
.shot img { width: 100%; }
.shot figcaption {
  margin-top: 14px;
  font-size: .82rem;
  color: var(--text-dim);
  letter-spacing: .06em;
  text-align: center;
  line-height: 1.9;
}

/* マニュアル表紙（書籍風に立てて見せる） */
.doc-cover {
  max-width: 340px;
  margin-inline: auto;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.04) inset;
  transform: perspective(1200px) rotateY(-7deg);
  transition: transform .5s;
}
.doc-cover:hover { transform: perspective(1200px) rotateY(0deg); }
.doc-cover img { border: 0; border-radius: 0; box-shadow: none; }

/* ---------- Versus（EA単体型との構造比較・05セクション） ----------
   .duo と同じ骨格だが、左右で「操作 → 結果」の対を見せるため
   li を2段組みにしている。左（他社側）を沈ませ、右（MLS）を金で立てる。 */
.versus {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
  margin-top: 48px;
}
.versus__col {
  border: 1px solid var(--line-soft);
  background: rgba(16,16,23,.7);
  padding: 30px 26px;
}
.versus__col--them { border-top: 2px solid rgba(226,69,60,.55); opacity: .82; }
.versus__col--mls  { border-top: 2px solid var(--gold); background: linear-gradient(180deg, rgba(200,162,74,.07), rgba(16,16,23,.7)); }
.versus__head {
  font-family: var(--serif);
  font-size: 1rem; line-height: 1.7; color: var(--white);
  margin: 0 0 6px;
}
.versus__col--mls .versus__head { color: var(--gold-hi); }
.versus__col ul { margin: 18px 0 0; }
.versus__col li {
  font-size: .88rem; color: var(--text-dim); line-height: 1.8;
  padding: 11px 0 11px 20px; position: relative;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.versus__col li:last-child { border-bottom: 0; }
.versus__col li::before {
  content: ""; position: absolute; left: 2px; top: 1.55em;
  width: 8px; height: 1px; background: var(--gold-dim);
}
.versus__col--them li::before { background: var(--red); }
/* 「操作」の下に結果を落とす。→ ではなく改行で見せたほうが幅が読める */
.versus__col li em {
  display: block; margin-top: 5px;
  font-style: normal; font-weight: 700;
  font-size: .96em; letter-spacing: .02em;
  color: var(--red);
}
.versus__col li em.ok { color: var(--gold-hi); }
.versus__col li em::before { content: "→ "; color: var(--text-dim); font-weight: 400; }
.versus__foot {
  margin: 20px 0 0;
  font-size: .8rem; line-height: 1.9; color: var(--text-dim);
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 16px;
}
.versus__vs {
  align-self: center;
  font-family: var(--serif);
  font-size: .82rem; letter-spacing: .2em; color: var(--gold-dim);
  writing-mode: vertical-rl;
  padding: 10px 0;
}

/* ---------- Chain（連鎖の図） ---------- */
.chain { margin: 56px 0 0; }
.chain__item {
  position: relative;
  border: 1px solid var(--line-soft);
  background: linear-gradient(100deg, rgba(22,22,31,.9), rgba(11,11,16,.6));
  padding: 24px 28px;
  margin-bottom: 34px;
  display: flex; align-items: center; gap: 22px;
}
.chain__item:last-child { margin-bottom: 0; }
.chain__item:not(:last-child)::after {
  content: "";
  position: absolute; left: 50%; bottom: -30px;
  width: 1px; height: 26px;
  background: linear-gradient(180deg, var(--gold-dim), transparent);
}
.chain__item .num {
  flex: 0 0 auto;
  font-family: var(--serif); font-size: .74rem; letter-spacing: .2em;
  color: var(--gold-dim);
  border: 1px solid var(--line);
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.chain__item .txt { font-size: clamp(.94rem, 2.5vw, 1.02rem); line-height: 1.85; }
.chain__item .txt strong { color: var(--white); }
.chain__item--last { border-color: var(--line); background: linear-gradient(100deg, rgba(226,69,60,.1), rgba(11,11,16,.6)); }
.chain__item--last .num { color: var(--red); border-color: rgba(226,69,60,.5); }

/* ---------- 4つの許容値 ---------- */
.tol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.tol {
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--gold-dim);
  background: linear-gradient(100deg, var(--surface), rgba(11,11,16,.55));
  padding: 26px 24px;
}
.tol--red  { border-left-color: var(--red); }
.tol--blue { border-left-color: var(--blue); }
.tol__no {
  display: block;
  font-family: var(--serif); font-size: .72rem; letter-spacing: .26em;
  color: var(--gold-dim); margin-bottom: 12px;
}
.tol--red  .tol__no { color: #c26058; }
.tol--blue .tol__no { color: #5b93bb; }
.tol__t { display: block; color: var(--white); font-weight: 700; font-size: 1.02rem; margin-bottom: 10px; line-height: 1.7; }
.tol__d { display: block; font-size: .89rem; color: var(--text-dim); line-height: 1.95; }

/* ---------- Duo（自分A / 自分B） ---------- */
.duo {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
  margin-top: 56px;
}
.duo__panel {
  border: 1px solid var(--line-soft);
  background: rgba(16,16,23,.7);
  padding: 32px 26px;
}
.duo__panel .who {
  font-family: var(--serif);
  font-size: 1.05rem; color: var(--white); margin-bottom: 6px;
}
.duo__panel .who small { display: block; font-size: .68em; color: var(--text-dim); letter-spacing: .16em; margin-top: 5px; font-family: var(--sans); }
.duo__panel ul { margin-top: 20px; }
.duo__panel li {
  font-size: .9rem; color: var(--text-dim); line-height: 1.9;
  padding: 9px 0 9px 20px; position: relative;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.duo__panel li:last-child { border-bottom: 0; }
.duo__panel li::before {
  content: ""; position: absolute; left: 2px; top: 1.5em;
  width: 8px; height: 1px; background: var(--gold-dim);
}
.duo__panel--calm { border-top: 2px solid var(--blue); }
.duo__panel--calm li::before { background: var(--blue); }
.duo__panel--wild { border-top: 2px solid var(--red); }
.duo__panel--wild li::before { background: var(--red); }
.duo__vs {
  align-self: center;
  font-family: var(--serif);
  font-size: .82rem; letter-spacing: .2em; color: var(--gold-dim);
  writing-mode: vertical-rl;
  padding: 10px 0;
}
.duo-note {
  margin-top: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(200,162,74,.07), transparent);
  padding: 30px 26px;
  text-align: center;
}
.duo-note p { margin: 0; }
.duo-note .big {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.05rem, 3.2vw, 1.4rem); color: var(--white); line-height: 1.85;
  margin-bottom: .6em;
}
.duo-note .sub { font-size: .9rem; color: var(--text-dim); }

/* 「今までの脳 / 新しい脳」はHTMLで組まず mental-rewrite.webp の図版に戻したため、
   .brain-duo 系のスタイルは v2.1 で削除した。 */

/* ---------- Type Cards（刺さるトレーダー） ---------- */
.type-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 52px;
  counter-reset: tcard;
}
.type-card {
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, var(--surface), rgba(11,11,16,.5));
  padding: 34px 26px;
  position: relative;
  transition: border-color .35s, transform .35s;
}
.type-card:hover { border-color: var(--line); transform: translateY(-5px); }
.type-card::before {
  counter-increment: tcard;
  content: "0" counter(tcard);
  font-family: var(--serif);
  font-size: 2.6rem; font-weight: 900;
  color: rgba(200,162,74,.16);
  line-height: 1; display: block; margin-bottom: 14px;
}
.type-card p { margin: 0; font-size: .95rem; line-height: 1.95; color: var(--text); }
.type-card p strong { color: var(--gold-hi); }

/* ---------- Solution / Product ---------- */
.product-mark {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 7.5vw, 4rem);
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1.3;
  margin: 8px 0 6px;
}
.product-sub { font-size: .82rem; letter-spacing: .34em; color: var(--text-dim); margin-bottom: 40px; }

/* Flow */
.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 14px;
  margin-top: 56px;
}
.flow__step {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--gold-dim);
  padding: 30px 20px;
  text-align: center;
}
.flow__step:nth-child(3) { border-top-color: var(--gold); }
.flow__step:nth-child(5) { border-top-color: var(--red); }
.flow__step .n {
  font-family: var(--serif); font-size: .72rem; letter-spacing: .3em; color: var(--gold-dim); display: block; margin-bottom: 14px;
}
.flow__step .t { display: block; color: var(--white); font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; }
.flow__step .d { font-size: .88rem; color: var(--text-dim); line-height: 1.8; }
.flow__arrow { align-self: center; color: var(--gold-dim); font-size: 1.1rem; }

/* ---------- Feature Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 20px;
  margin-top: 56px;
}
.card {
  background: linear-gradient(180deg, var(--surface), rgba(11,11,16,.6));
  border: 1px solid var(--line-soft);
  padding: 40px 26px 34px;
  text-align: center;
  position: relative;
  transition: transform .35s, border-color .35s;
}
.card:hover { transform: translateY(-6px); border-color: var(--line); }
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
}
.card--red::before   { background: linear-gradient(90deg, transparent, var(--red), transparent); }
.card--blue::before  { background: linear-gradient(90deg, transparent, var(--blue), transparent); }
.card--gold::before  { background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.card img { width: 108px; margin: 0 auto 24px; border-radius: 8px; }
.card h3 { font-size: 1.06rem; color: var(--white); margin-bottom: 14px; letter-spacing: .02em; }
.card h3 small { display: block; font-size: .74em; color: var(--text-dim); font-weight: 400; margin-top: 6px; letter-spacing: .12em; }
.card p { font-size: .9rem; color: var(--text-dim); line-height: 1.95; margin: 0; }

/* ---------- 導入者の声 ---------- */
.review {
  max-width: 720px;
  margin: 52px auto 0;
  padding: 34px clamp(22px, 4vw, 40px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(200,162,74,.06), transparent);
}
.review__title {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 3vw, 1.25rem);
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.7;
}
.review__stars { color: var(--gold); letter-spacing: .3em; font-size: .95rem; margin-bottom: 18px; }
.review__body { font-size: .95rem; line-height: 2.1; color: var(--text); margin-bottom: 18px; }
.review__meta { font-size: .8rem; color: var(--text-dim); letter-spacing: .06em; }

/* .voice-card は将来アンケートの声を足すときに再利用するので残してある
   （v2.3で架空の4件を削除し、現在は使用箇所なし）。 */
.voice-card { text-align: left; padding: 34px 28px; }
.voice-card h3 { font-family: var(--serif); font-size: 1.05rem; line-height: 1.7; }
.voice-card p { color: var(--text); }
.voice-card__who {
  margin: 20px 0 0;
  color: var(--gold-dim);
  font-size: .8rem;
  letter-spacing: .1em;
}

/* ---------- Spec List ---------- */
.spec-list { margin-top: 48px; }
.spec-list li {
  display: flex; gap: 18px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line-soft);
  font-size: .95rem;
  line-height: 1.9;
}
.spec-list li:first-child { border-top: 1px solid var(--line-soft); }
.spec-list .k {
  flex: 0 0 auto; min-width: 1.8em;
  color: var(--gold); font-family: var(--serif); font-size: .82rem; letter-spacing: .1em; padding-top: .25em;
}
.spec-list .v strong { color: var(--white); }

/* ---------- Rewire (核心セクション) ---------- */
.rewire { position: relative; overflow: hidden; }
.rewire::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(200,162,74,.11), transparent 70%);
  pointer-events: none;
}
.rewire > * { position: relative; }

.stage-track {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 56px;
  counter-reset: stage;
}
.stage {
  border: 1px solid var(--line-soft);
  background: rgba(16,16,23,.72);
  padding: 32px 24px;
  position: relative;
}
.stage::before {
  counter-increment: stage;
  content: "STAGE 0" counter(stage);
  font-family: var(--serif); font-size: .66rem; letter-spacing: .28em; color: var(--gold-dim);
  display: block; margin-bottom: 16px;
}
.stage h4 { color: var(--white); font-size: 1rem; margin-bottom: 12px; }
.stage p { font-size: .9rem; color: var(--text-dim); line-height: 1.95; margin: 0; }
.stage--last { border-color: var(--line); background: linear-gradient(180deg, rgba(200,162,74,.09), rgba(16,16,23,.72)); }
.stage--last h4 { color: var(--gold-hi); }

.pull-quote {
  margin: 72px auto 0;
  max-width: 720px;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.9;
  color: var(--white);
  padding: 44px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ---------- Video ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
  margin-top: 52px;
}
.video-item h4 { font-size: .92rem; color: var(--text-dim); font-weight: 500; margin-bottom: 14px; letter-spacing: .06em; }
.video-frame {
  position: relative; padding-bottom: 56.25%; height: 0;
  border: 1px solid var(--line-soft);
  background: #000;
  overflow: hidden;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-note { font-size: .82rem; color: var(--text-dim); margin: 12px 0 0; line-height: 1.9; }

/* ---------- Author ---------- */
.author {
  position: relative;
  background: url("../img/study.webp") no-repeat center top / cover;
}
/* 書斎の写真をうっすら残す。中央を .92 まで上げると背景が完全に死ぬので .86 で止めている */
.author::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(7,7,10,.88) 20%, rgba(7,7,10,.86) 55%, rgba(7,7,10,.93) 82%, var(--bg) 100%);
}
.author > * { position: relative; }
.author-body {
  border-left: 1px solid var(--line);
  padding-left: clamp(20px, 4vw, 40px);
  font-size: clamp(.94rem, 2.4vw, 1rem);
  line-height: 2.2;
}
.author-body p:last-child { margin-bottom: 0; }
.author-sign {
  margin-top: 40px;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--gold-hi);
  letter-spacing: .1em;
}
.author-sign small { display: block; font-size: .7rem; color: var(--text-dim); letter-spacing: .16em; margin-top: 6px; font-family: var(--sans); }

/* 左＝人物、右＝資格。免許証は「実在する」ことが伝わればよいので、
   読み取れない大きさに抑える（偽造防止）。人物のほうを主役にする。 */
.author-figs {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 40px);
  align-items: start;
  margin-top: 56px;
}
.portrait { margin: 0; }
.portrait img {
  width: 100%;
  display: block;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(0,0,0,.7);
}
.portrait figcaption {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--gold-hi);
  letter-spacing: .1em;
  text-align: center;
}
.portrait figcaption small {
  display: block;
  margin-top: 8px;
  font-family: var(--sans);
  font-size: .68rem;
  color: var(--text-dim);
  letter-spacing: .12em;
  line-height: 1.9;
}

/* 資格証明（実在性の裏づけ） */
.credential {
  margin: 0;
  align-self: center;
  text-align: center;
}
.credential img {
  width: 100%;
  max-width: 190px;   /* 元画像240px。これ以上大きくすると記載事項が読めてしまう */
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 18px 44px rgba(0,0,0,.7);
  background: #fff;
}
.credential figcaption {
  margin-top: 14px;
  font-size: .8rem;
  color: var(--text-dim);
  letter-spacing: .08em;
  line-height: 1.9;
}
.credential figcaption small { display: block; margin-top: 4px; font-size: .84em; opacity: .8; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 48px; border-top: 1px solid var(--line-soft); }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-q {
  width: 100%;
  display: flex; align-items: flex-start; gap: 16px;
  background: none; border: 0;
  padding: 26px 4px;
  color: var(--white);
  font-family: var(--sans);
  font-size: clamp(.94rem, 2.5vw, 1rem);
  font-weight: 500;
  line-height: 1.8;
  text-align: left;
  cursor: pointer;
  letter-spacing: .04em;
}
.faq-q .mark { color: var(--gold); font-family: var(--serif); flex: 0 0 auto; }
.faq-q .txt { flex: 1; }
.faq-q .ico {
  flex: 0 0 auto; width: 13px; height: 13px; position: relative; margin-top: .55em;
}
.faq-q .ico::before, .faq-q .ico::after {
  content: ""; position: absolute; inset: 50% 0 auto 0; height: 1px; background: var(--gold);
  transition: transform .35s;
}
.faq-q .ico::after { transform: rotate(90deg); }
.faq-item.is-open .ico::after { transform: rotate(0deg); }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .4s ease;
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; padding: 0 4px 8px 34px; }
.faq-a p {
  margin: 0 0 1.2em;
  font-size: .92rem; color: var(--text-dim); line-height: 2;
}
.faq-a p:last-child { margin-bottom: 20px; }

/* ---------- Offer / Price ---------- */
/* v1では guardian-block.png を background:cover で敷いていたが、
   縦2000pxのセクションに横長画像を合わせるため騎士も悪魔も枠の外に出ていた
   （デスクトップで31.8%、スマホで8.7%しか映らない）。
   マスコットとして見せる以上、背景ではなくセクション内の図版として置くこと。
   詳細は reference/lp_image_decisions.md を参照。 */
.offer {
  position: relative;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(200,162,74,.08), transparent 68%), var(--bg);
  overflow: hidden;
}

.anchor-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 44px 0 12px;
}
.anchor-box div {
  border: 1px solid var(--line-soft);
  padding: 22px 12px;
  text-align: center;
}
/* レビューで「360px幅で溢れる」と指摘された箇所だが、実測すると
   「− 300,000円〜」は118px／枠内寸306px で余裕がある。サイズは据え置き、
   代わりにスマホでは .anchor-box を1列にして折り返しの可能性自体を消してある。 */
.anchor-box .amt {
  font-family: var(--serif); font-size: clamp(1.15rem, 3.6vw, 1.5rem); color: var(--red); font-weight: 700; display: block;
  white-space: nowrap;
}
.anchor-box .lbl { font-size: .78rem; color: var(--text-dim); letter-spacing: .1em; }

.price-card {
  max-width: 620px;
  margin: 56px auto 0;
  padding: clamp(34px, 6vw, 56px) clamp(20px, 5vw, 46px);
  background: linear-gradient(165deg, rgba(28,24,16,.96), rgba(10,10,14,.97));
  border: 1px solid var(--gold-dim);
  position: relative;
  text-align: center;
  box-shadow: 0 30px 90px rgba(0,0,0,.8);
}
.price-card::before {
  content: ""; position: absolute; inset: 6px;
  border: 1px solid rgba(200,162,74,.2);
  pointer-events: none;
}
.price-badge {
  display: inline-block;
  font-size: .74rem; letter-spacing: .24em; color: #14100a;
  background: linear-gradient(135deg, var(--gold), var(--gold-hi));
  padding: 8px 22px;
  margin-bottom: 28px;
  font-weight: 700;
}
.price-name { font-size: .98rem; color: var(--text); margin-bottom: 26px; letter-spacing: .06em; }
.price-was {
  font-size: .95rem; color: var(--text-dim); margin-bottom: 4px;
}
.price-was s { text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.price-now {
  font-family: var(--serif);
  /* 375px幅での実測：文字幅146px／カード内寸290px。溢れないので v1 のまま */
  font-size: clamp(2.6rem, 11vw, 4.4rem);
  font-weight: 900;
  line-height: 1.15;
  margin: 6px 0 4px;
  letter-spacing: .01em;
  white-space: nowrap;
}
.price-now .yen { font-size: .34em; margin-right: .12em; }
.price-now .tax { font-size: .28em; color: var(--text-dim); margin-left: .3em; font-family: var(--sans); letter-spacing: .1em; }
.price-off {
  display: inline-block;
  font-size: .8rem; color: var(--red); letter-spacing: .12em;
  border: 1px solid rgba(226,69,60,.4);
  padding: 5px 14px;
  margin-bottom: 30px;
}
.price-note { font-size: .8rem; color: var(--text-dim); line-height: 1.9; margin: 26px 0 0; letter-spacing: .06em; }

.include-list { margin: 34px 0 0; text-align: left; }
.include-list li {
  position: relative;
  padding: 11px 0 11px 30px;
  font-size: .92rem;
  color: var(--text);
  border-bottom: 1px dashed rgba(255,255,255,.08);
}
.include-list li:last-child { border-bottom: 0; }
.include-list li::before {
  content: ""; position: absolute; left: 4px; top: 1.3em;
  width: 9px; height: 5px;
  border-left: 1px solid var(--gold); border-bottom: 1px solid var(--gold);
  transform: rotate(-45deg);
}

.trial-band {
  max-width: 620px;
  margin: 26px auto 0;
  padding: 30px 26px;
  border: 1px dashed rgba(255,255,255,.18);
  text-align: center;
}
.trial-band h4 { color: var(--white); font-size: 1.02rem; margin-bottom: 10px; }
.trial-band p { font-size: .88rem; color: var(--text-dim); margin-bottom: 22px; }

/* SmartScreen警告の突破手順（DLボタンの直前・v2.3）。
   「不意打ちにしない」のが目的なので、開閉式にせず常時表示にしている。 */
.smartscreen {
  text-align: left;
  margin: 0 0 26px;
  padding: 24px clamp(18px, 3vw, 26px);
  border: 1px solid var(--line-soft);
  background: rgba(11,11,16,.6);
}
/* 見出しではなく「注記」なので、セリフの大見出しにはしない。
   ※で始まる文をゴールドのセリフで大きく組むと据わりが悪い。 */
.smartscreen__head {
  font-size: .9rem; font-weight: 500;
  color: var(--gold-hi); line-height: 1.75;
  letter-spacing: .02em;
  margin: 0 0 12px;
}
.smartscreen__intro { font-size: .86rem; line-height: 2; color: var(--text-dim); margin: 0 0 22px; }

.ss-step { border-top: 1px solid rgba(255,255,255,.07); padding-top: 18px; margin-top: 18px; }
.ss-step:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.ss-step__t {
  font-size: .92rem; color: var(--white); font-weight: 500;
  margin: 0 0 12px; line-height: 1.7;
}
.ss-step__n {
  display: inline-block; margin-right: 10px;
  font-family: var(--serif); font-size: .78rem; letter-spacing: .14em;
  color: var(--gold); border: 1px solid var(--line); border-radius: 2px;
  padding: 2px 9px; vertical-align: 2px;
}
.ss-step ol { margin: 0; padding-left: 1.5em; }
.ss-step li {
  list-style: decimal;
  font-size: .86rem; line-height: 2; color: var(--text-dim);
  margin-bottom: .5em;
}
.ss-step__note {
  font-size: .82rem; line-height: 1.95; color: var(--text-dim);
  margin: 10px 0 0; padding-left: 1.5em;
  opacity: .85;
}
.ss-step__lead {
  font-size: .86rem; line-height: 2; color: var(--text-dim);
  margin: 0 0 16px;
}
/* 手順の画像。Windowsのダイアログを等倍で撮ったものなので、
   拡大すると即ぼやける。width:auto で原寸を上限にする（CLAUDE.md の画像の原則）。 */
.ss-step figure { margin: 18px 0 0; text-align: center; }
.ss-step figure img {
  width: auto; max-width: 100%;
  margin-inline: auto;                      /* img は display:block */
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  box-shadow: 0 12px 32px rgba(0,0,0,.6);
}
.ss-step figcaption { font-size: .78rem; color: var(--text-dim); margin-top: 10px; line-height: 1.8; }
.ss-step figure + ol { margin-top: 18px; }
.ss-foot {
  margin: 20px 0 0; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: .8rem; line-height: 1.95; color: var(--text-dim);
}

/* 門の絵を敷いたページヘッダー（trial.html）。
   絵は右側に主役、左半分が黒。左から黒いヴェールをかけて見出しの可読性を確保する。 */
.page-head--trial {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(4,4,6,.96) 0%, rgba(4,4,6,.86) 38%, rgba(4,4,6,.42) 72%, rgba(4,4,6,.66) 100%),
    linear-gradient(180deg, rgba(4,4,6,.5) 0%, transparent 34%, rgba(7,7,10,.94) 100%),
    url("../img/trial-gate.webp") center right / cover no-repeat,
    var(--bg);
  padding-block: clamp(64px, 11vw, 118px);
}
.page-head--trial > .container { position: relative; }
.page-head--trial h1 { text-shadow: 0 2px 24px rgba(0,0,0,.9); }

/* 文言を外してボタンだけになったCTAバンド（trial.html末尾） */
.cta-band--solo { text-align: center; }
.cta-band--solo p { display: none; }

/* ---------- Closing ---------- */
.closing-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(1.6rem, 5.6vw, 3rem);
  line-height: 1.7;
  color: var(--white);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #030305;
  border-top: 1px solid var(--line-soft);
  padding: 64px 0 44px;
  text-align: center;
}
.site-footer img.f-logo { width: 46px; margin: 0 auto 22px; opacity: .8; }
.footer-nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px;
  margin-bottom: 30px;
}
.footer-nav a { font-size: .84rem; color: var(--text-dim); letter-spacing: .08em; }
.footer-nav a:hover { color: var(--gold-hi); opacity: 1; }
/* 法務上のリスク開示文。読めない色に落とさないこと */
.footer-note {
  font-size: .8rem; color: #8d8d97; line-height: 2; max-width: 720px; margin: 0 auto 22px;
  letter-spacing: .04em;
}
.copyright { font-size: .76rem; color: #6f6f79; letter-spacing: .16em; margin: 0; }

/* ---------- Sticky Mobile CTA ---------- */
.sticky-cta {
  position: fixed; inset: auto 0 0 0; z-index: 90;
  display: flex; gap: 10px; justify-content: center;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(7,7,10,.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(115%);
  transition: transform .4s cubic-bezier(.2,.7,.3,1);
}
.sticky-cta.is-shown { transform: none; }
.sticky-cta .btn { padding: 13px 30px; font-size: .9rem; }
.sticky-cta .btn small { display: none; }

@media (max-width: 720px) {
  .sticky-cta .btn { flex: 1; padding: 14px 8px; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 200;
  transform: translate(-50%, 20px);
  background: rgba(18,18,24,.97);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: .88rem;
  letter-spacing: .06em;
  padding: 14px 26px;
  border-radius: 3px;
  box-shadow: 0 16px 50px rgba(0,0,0,.7);
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s;
  max-width: calc(100% - 40px);
  text-align: center;
}
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Sub Pages (特商法など) ---------- */
.page-head {
  padding: 150px 0 60px;
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
}
.page-head h1 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 4.4vw, 2.1rem);
  color: var(--white);
  margin-bottom: 10px;
}
.page-head p { font-size: .78rem; letter-spacing: .3em; color: var(--gold-dim); margin: 0; }

.legal-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.legal-table th, .legal-table td {
  text-align: left; vertical-align: top;
  padding: 22px 16px;
  border-bottom: 1px solid var(--line-soft);
  font-size: .92rem;
  line-height: 2;
}
.legal-table th {
  width: 30%;
  color: var(--gold-hi);
  font-weight: 500;
  letter-spacing: .06em;
  white-space: nowrap;
}
.legal-table td { color: var(--text); }
.legal-table td small { display: block; color: var(--text-dim); font-size: .86em; margin-top: 6px; line-height: 1.9; }

.todo {
  color: #ff9f43;
  background: rgba(255,159,67,.1);
  border: 1px dashed rgba(255,159,67,.45);
  padding: 2px 10px;
  font-size: .86em;
  border-radius: 2px;
}

/* ---------- 無料お試し版ページ（trial.html） ---------- */

/* Liteロゴ。原寸256pxなので拡大しない（150px上限）。
   背後の金の放射グラデで「浮かせる」だけにして、枠や影は付けない
   （ロゴ自体が透過PNG由来で、枠を付けると余白が目立つため）。 */
.lite-mark {
  margin: 0 auto 34px;
  text-align: center;
  position: relative;
}
.lite-mark::before {
  content: "";
  position: absolute; left: 50%; top: 0;
  width: 520px; height: 520px; max-width: 130vw;
  transform: translate(-50%, -20%);
  background: radial-gradient(circle, rgba(200,162,74,.20), rgba(200,162,74,.05) 45%, transparent 68%);
  pointer-events: none;
}
/* 素の img は display:block（62行目）なので、text-align では中央に来ない。
   margin-inline:auto が必須。 */
/* 上限300px。素材は256px原本をLANCZOSで512pxへ引き伸ばしたもの（build_assets_v25.py）。
   本来「原寸を超えて拡大しない」原則に反するが、文字ではなくロゴ図形なので許容した。
   より大きい原本が見つかったら差し替えること。 */
.lite-mark img {
  position: relative;
  width: clamp(200px, 52vw, 300px);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,.75));
}
.lite-mark figcaption {
  position: relative;
  margin-top: 16px;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 3.2vw, 1.3rem);
  color: var(--white);
  letter-spacing: .04em;
  line-height: 1.6;
}
.lite-mark figcaption small {
  display: block;
  margin-top: 8px;
  font-family: var(--sans);
  font-size: .68em; font-weight: 400;
  color: var(--text-dim);
  letter-spacing: .14em;
}

/* Lite / 製品版の比較表。狭い画面では表そのものを横スクロールさせる
   （縦積みにすると「どっちの列の話か」が消えて比較の意味がなくなる） */
.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 40px; }
.cmp-table { width: 100%; min-width: 560px; border-collapse: collapse; }
.cmp-table th, .cmp-table td {
  text-align: left; vertical-align: top;
  padding: 16px 14px;
  border-bottom: 1px solid var(--line-soft);
  font-size: .86rem; line-height: 1.9;
}
.cmp-table thead th {
  font-family: var(--serif);
  font-size: .84rem; letter-spacing: .08em;
  color: var(--gold-hi);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.cmp-table thead th:first-child { color: var(--text-dim); }
.cmp-table tbody th { width: 34%; color: var(--white); font-weight: 500; }
.cmp-table td { color: var(--text-dim); width: 33%; }
.cmp-table td.is-pro { color: var(--text); background: rgba(200,162,74,.05); }

/* アンケートのお願い */
.survey-box {
  margin-top: 40px;
  padding: 32px clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(200,162,74,.06), transparent);
}
.survey-box > p { font-size: .92rem; line-height: 2.05; color: var(--text); margin: 0 0 24px; }
.survey-box__gift {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px;
  padding: 20px 22px; margin: 0 0 24px;
  border: 1px solid var(--line);
  background: rgba(11,11,16,.6);
  font-size: .88rem; color: var(--text); line-height: 1.9;
}
.survey-box__amt {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(1.3rem, 4.5vw, 1.7rem);
  color: var(--gold-hi); letter-spacing: .02em;
  white-space: nowrap;
}
.survey-notes { margin: 0; padding: 0; list-style: none; }
.survey-notes li {
  position: relative; padding: 10px 0 10px 20px;
  font-size: .85rem; line-height: 1.95; color: var(--text-dim);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.survey-notes li:last-child { border-bottom: 0; }
.survey-notes li::before {
  content: ""; position: absolute; left: 2px; top: 1.55em;
  width: 8px; height: 1px; background: var(--gold-dim);
}
.survey-notes strong { color: var(--white); }

/* メールアドレスの登録フォーム */
.dl-form {
  max-width: 520px; margin: 36px auto 0;
  padding: 30px clamp(20px, 4vw, 32px);
  border: 1px solid var(--line-soft);
  background: rgba(16,16,23,.7);
}
.dl-form.is-done { opacity: .6; }
.dl-form__label {
  display: block; font-size: .84rem; color: var(--gold-hi);
  letter-spacing: .08em; margin-bottom: 10px;
}
.dl-form__input {
  width: 100%; padding: 14px 16px;
  font-family: inherit; font-size: 1rem;   /* 16px未満だとiOSがズームする */
  color: var(--white); background: rgba(7,7,10,.85);
  border: 1px solid var(--line-soft); border-radius: 2px;
}
.dl-form__input:focus { outline: none; border-color: var(--gold); }
.dl-form__hint { font-size: .8rem; color: var(--text-dim); margin: 10px 0 22px; line-height: 1.8; }
.dl-form__check {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .82rem; line-height: 1.85; color: var(--text-dim);
  margin-bottom: 24px; cursor: pointer;
}
.dl-form__check input { margin-top: .35em; flex: 0 0 auto; accent-color: var(--gold); }

/* アンケート設問（voice.html） */
.survey-q { margin-bottom: 8px; }
.survey-q > .dl-form__label { line-height: 1.7; }
.survey-checks {
  display: flex; flex-direction: column; gap: 2px;
  margin: 0 0 4px; padding: 12px 14px;
  border: 1px solid var(--line-soft); background: rgba(7,7,10,.5);
}
.survey-checks .dl-form__check { margin-bottom: 0; padding: 6px 0; }

.dl-form__submit { width: 100%; }
.dl-form__submit:disabled { cursor: default; opacity: .8; }
.dl-form__error {
  display: none; margin: 14px 0 0;
  font-size: .84rem; color: var(--red); line-height: 1.8;
}
.dl-form__error.is-shown { display: block; }

select.dl-form__input {
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold-dim) 50%),
                     linear-gradient(135deg, var(--gold-dim) 50%, transparent 50%);
  background-position: right 18px center, right 12px center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
select.dl-form__input:invalid { color: var(--text-dim); }
textarea.dl-form__input { min-height: 110px; line-height: 1.8; resize: vertical; }

/* ハニーポット。botには見えて人間には見えない位置に置く（display:noneは
   一部のbotがそこだけ回避するため、画面外へ飛ばす方式にする） */
.hp-field {
  position: absolute; left: -9999px; top: -9999px;
  width: 1px; height: 1px; overflow: hidden;
}

/* 登録後に出るダウンロードボタン */
.dl-gate { max-width: 520px; margin: 26px auto 0; text-align: center; }
.dl-gate .btn { width: 100%; }
.dl-gate__note { font-size: .8rem; color: var(--text-dim); line-height: 1.9; margin: 18px 0 0; }

.legal-body h2 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--white);
  margin: 56px 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.legal-body p, .legal-body li { font-size: .92rem; line-height: 2.1; color: var(--text); }
.legal-body ol { padding-left: 1.5em; margin: 0 0 1.4em; }
.legal-body ol li { list-style: decimal; margin-bottom: .5em; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; }
  .flow__arrow { transform: rotate(90deg); padding: 2px 0; }
  .duo { grid-template-columns: 1fr; }
  .duo__vs { writing-mode: horizontal-tb; text-align: center; padding: 0; }
  .versus { grid-template-columns: 1fr; }
  .versus__vs { writing-mode: horizontal-tb; text-align: center; padding: 0; }

  /* 設定画面と説明を縦に積む。画像は元寸(363px)を超えないこと */
  .ui-figure { grid-template-columns: 1fr; justify-items: center; }
  .ui-shot { max-width: 363px; }
  .ui-notes { max-width: 520px; }
  .plate-row { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
  /* 人物と免許証を縦に積む。免許証は上限190pxのまま中央へ */
  .author-figs { grid-template-columns: 1fr; justify-items: center; }
  .portrait { max-width: 380px; }
  .credential { margin-top: 12px; }

  /* mental-rewrite は図の中に文字が焼き込まれている。
     360px幅まで縮めると図中の本文が8px相当になって読めないので、
     縮めずに横スクロールさせる。 */
  .figure--scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .figure--scroll img { width: 720px; max-width: none; }
  .figure--scroll .only-narrow {
    display: block; position: sticky; left: 0;
    width: 100%; font-size: .74rem;
  }
}

@media (max-width: 600px) {
  .stage-track { grid-template-columns: 1fr; }
  .dialogs { grid-template-columns: 1fr; }
  .panel-duo { grid-template-columns: 1fr; max-width: 260px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; line-height: 1.95; }

  /* ファーストビューにボタンを収める。
     375×667 でも .btn-primary の上端が画面内に入る構成にしてある。 */
  .hero { min-height: auto; padding: 104px 0 72px; }
  .hero__bg { background-position: 60% center; }
  /* v2.1：デスクトップ側と同じだけ暗幕を薄くしている（「ヒーローが暗い」への対応） */
  .hero__veil {
    background:
      linear-gradient(180deg, rgba(4,4,6,.92) 0%, rgba(4,4,6,.54) 34%, rgba(4,4,6,.86) 74%, var(--bg) 100%),
      linear-gradient(90deg, rgba(4,4,6,.78), rgba(4,4,6,.36));
  }
  .hero__tag { margin-bottom: 24px; }
  .hero h1 { margin-bottom: 24px; }
  .hero__sub { margin-bottom: 30px; }
  .hero__product { display: none; }   /* ロゴはヘッダーに出ているので省略 */
  .hero__facts { gap: 8px 18px; margin-top: 22px; }
  .hero__scroll { display: none; }

  .btn-row { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; padding: 18px 20px; }
  .btn-sm { width: auto; }
  .header-cta { display: none; }

  /* SmartScreen手順の余白を詰めて、読める本文幅を確保する。 */
  .smartscreen { padding: 20px 14px; margin-left: -4px; margin-right: -4px; }
  .ss-step ol { padding-left: 1.3em; }
  .ss-step__note { padding-left: 0; }

  /* Windowsのダイアログのスクショは、375px幅に収めると
     元13px相当の文字が6px相当まで潰れて読めなくなる。
     mental-rewrite と同じ判断で、縮めずに横スクロールさせる。 */
  .ss-step figure { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .ss-step figure img { max-width: none; margin-inline: 0; }
  .ss-step figcaption { position: sticky; left: 0; width: 100%; }
  .ss-step figcaption::after {
    content: "（横にスクロールできます）";
    display: block; font-size: .92em; opacity: .75; margin-top: 2px;
  }

  .cta-band { margin-top: 56px; padding: 24px 18px; }
  .anchor-box { grid-template-columns: 1fr; }   /* 「−300,000円〜」の折り返し対策 */
  .shot { padding: 8px; }

  .legal-table th, .legal-table td { display: block; width: 100%; }
  .legal-table th { border-bottom: 0; padding-bottom: 0; }
  .legal-table td { padding-top: 8px; }

  body.has-sticky { padding-bottom: 78px; }
}

/* iPhone SE などの縦の短い端末。ここを詰めないと購入ボタンが画面外に落ちる。
   375×667 で .btn-primary の上端が 500px 手前に来ることを実測して決めた値。 */
@media (max-width: 720px) and (max-height: 740px) {
  .hero { padding: 92px 0 56px; }
  .hero__tag { margin-bottom: 18px; }
  .hero h1 { font-size: 1.72rem; margin-bottom: 18px; }
  .hero__sub { font-size: .88rem; line-height: 1.95; margin-bottom: 24px; }
  .hero__facts { margin-top: 16px; }
  .btn-row { gap: 12px; }
  .btn { padding: 16px 18px; }
}
