/* =========================================================
   WOLF TRACE SMC — 共通スタイル + LP + ログイン
   テーマ: ライト標準 / [data-theme="dark"] でダーク切替
   金アクセントはロゴ正本から (#C9B27A 系)。
   ヒーロー・CTA帯は写真/演出セクションのため常時ダーク。
   ========================================================= */

:root {
  /* テーマ非依存 */
  --gold: #C9B27A;
  --gold-bright: #E7D8AC;
  --gold-deep: #8F7838;
  --serif-en: "Cinzel", "Times New Roman", serif;
  --serif-jp: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  --maxw: 1120px;
  --header-h: 64px;
  --danger: #C25454;
}

/* ---------- ライト(既定) ---------- */
:root, [data-theme="light"] {
  color-scheme: light;
  --bg-page: #F5F6FA;
  --bg-alt: #ECEFF5;
  --bg-card: #FFFFFF;
  --bg-card-soft: #F8FAFD;
  --bg-header: rgba(248, 249, 252, .82);
  --bg-input: #FFFFFF;
  --ink-strong: #151D2C;
  --ink: #2A3547;
  --ink-dim: #55647D;
  --ink-faint: #8B97AC;
  --line: rgba(21, 42, 80, .14);
  --line-soft: rgba(21, 42, 80, .08);
  --line-gold: rgba(143, 120, 56, .45);
  --glow: #2563C9;
  --glow-soft: rgba(37, 99, 201, .1);
  --link: #1D5BBF;
  --text-gold: #8F7838;
  --shadow-card: 0 10px 30px rgba(23, 42, 72, .08);
  --shadow-card-hover: 0 16px 40px rgba(23, 42, 72, .14);
  --wm-color: #1E3A66; --wm-blend: multiply; --wm-opacity: .05;
  --selection: rgba(37, 99, 201, .18);
}

/* ---------- ダーク ---------- */
[data-theme="dark"] {
  color-scheme: dark;
  --bg-page: #07090E;
  --bg-alt: #060A12;
  --bg-card: #0E1626;
  --bg-card-soft: #0A101C;
  --bg-header: rgba(4, 7, 14, .85);
  --bg-input: rgba(4, 7, 14, .7);
  --ink-strong: #EFF3FA;
  --ink: #D9E0EC;
  --ink-dim: #97A4BA;
  --ink-faint: #64718A;
  --line: rgba(199, 211, 228, .13);
  --line-soft: rgba(199, 211, 228, .07);
  --line-gold: rgba(201, 178, 122, .38);
  --glow: #5FA8FF;
  --glow-soft: rgba(95, 168, 255, .1);
  --link: #9CC5FF;
  --text-gold: #E7D8AC;
  --shadow-card: 0 12px 34px rgba(2, 4, 9, .55);
  --shadow-card-hover: 0 16px 44px rgba(2, 4, 9, .75);
  --wm-color: #C7D3E4; --wm-blend: screen; --wm-opacity: .05;
  --selection: rgba(95, 168, 255, .28);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  background: var(--bg-page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.9;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .3s, color .3s;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--selection); }

/* ---------- 汎用 ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.sec { padding: 104px 0; position: relative; }
.sec-alt { background: var(--bg-alt); }

.sec-head { margin-bottom: 56px; }
.sec-label {
  font-family: var(--serif-en);
  font-size: .78rem;
  letter-spacing: .42em;
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  text-transform: uppercase;
}
[data-theme="dark"] .sec-label { color: var(--gold); }
.sec-label::after {
  content: "";
  height: 1px;
  width: 72px;
  background: linear-gradient(90deg, var(--line-gold), transparent);
}
.sec-title {
  font-family: var(--serif-jp);
  font-weight: 600;
  font-size: clamp(1.55rem, 3.4vw, 2.2rem);
  line-height: 1.5;
  color: var(--ink-strong);
}
.sec-lead { margin-top: 18px; color: var(--ink-dim); max-width: 720px; }

/* 装飾罫線 */
.ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; margin: 8px auto 0; width: min(360px, 70%);
}
.ornament::before, .ornament::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-gold));
}
.ornament::after { background: linear-gradient(90deg, var(--line-gold), transparent); }
.ornament i {
  width: 7px; height: 7px; flex: none;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(201, 178, 122, .55);
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 34px;
  font-size: .92rem; font-weight: 700; letter-spacing: .12em;
  border-radius: 3px; border: 1px solid transparent;
  transition: all .3s ease;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, #A9905C 0%, #E7D8AC 45%, #C9B27A 100%);
  color: #0A0D14;
  box-shadow: 0 4px 22px rgba(169, 144, 92, .35);
}
.btn-gold:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(169, 144, 92, .45); }
.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: var(--bg-card);
}
.btn-ghost:hover { border-color: var(--glow); color: var(--glow); box-shadow: 0 0 22px var(--glow-soft); }
.btn-line-gold {
  border-color: var(--line-gold); color: var(--text-gold); background: transparent;
}
.btn-line-gold:hover { background: rgba(201, 178, 122, .12); box-shadow: 0 0 22px rgba(201, 178, 122, .18); }
.btn-sm { padding: 10px 20px; font-size: .82rem; }
.btn-block { width: 100%; }

/* ---------- テーマ切替ボタン ---------- */
.theme-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--bg-card);
  color: var(--ink-dim); font-size: 1rem; line-height: 1;
  transition: all .25s; flex: none;
}
.theme-btn:hover { color: var(--glow); border-color: var(--glow); transform: rotate(15deg); }

/* ---------- ヘッダー ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .35s, border-color .35s, box-shadow .35s;
}
.header.scrolled {
  background: var(--bg-header);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 4px 24px rgba(20, 30, 50, .06);
}
.header .wrap { width: 100%; display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img.mark { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 0 14px rgba(95, 168, 255, .35); }
.brand .name {
  font-family: var(--serif-en); font-weight: 600; font-size: 1.02rem;
  letter-spacing: .18em; color: #E8EEF6;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
  transition: color .3s;
}
.header.scrolled .brand .name { color: var(--ink-strong); text-shadow: none; }
/* 項目を足しても2行にならないよう、折り返しと文字の改行を禁止しておく */
.gnav { display: flex; gap: 26px; margin-left: auto; align-items: center; flex-wrap: nowrap; }
.gnav a { white-space: nowrap; }
.gnav a {
  font-size: .86rem; letter-spacing: .1em; position: relative;
  color: rgba(235, 241, 250, .82); text-shadow: 0 1px 10px rgba(0, 0, 0, .5);
  transition: color .25s;
}
.header.scrolled .gnav a { color: var(--ink-dim); text-shadow: none; }
.gnav a:hover { color: var(--glow); }
.header:not(.scrolled) .gnav a:hover { color: #fff; }
.gnav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px;
  background: var(--gold); transition: width .3s;
}
.gnav a:hover::after { width: 100%; }
.nav-login { margin-left: 6px; }
.header:not(.scrolled) .nav-login { color: var(--gold-bright); border-color: rgba(201, 178, 122, .5); }
.header:not(.scrolled) .theme-btn { background: rgba(4, 7, 14, .4); border-color: rgba(235, 241, 250, .3); color: rgba(235, 241, 250, .85); }
.menu-btn {
  display: none; margin-left: auto; background: rgba(4, 7, 14, .4);
  border: 1px solid rgba(235, 241, 250, .3); color: #E8EEF6;
  width: 42px; height: 42px; border-radius: 4px; font-size: 1.1rem;
}
.header.scrolled .menu-btn { background: var(--bg-card); border-color: var(--line); color: var(--ink); }

@media (max-width: 900px) {
  .gnav {
    position: fixed; top: var(--header-h); right: 0; bottom: 0;
    flex-direction: column; align-items: flex-start; gap: 8px;
    width: min(78vw, 320px); padding: 28px 26px;
    background: var(--bg-card); border-left: 1px solid var(--line);
    transform: translateX(100%); transition: transform .35s ease;
  }
  .gnav.open { transform: none; }
  .gnav a, .header:not(.scrolled) .gnav a { font-size: 1rem; padding: 10px 0; width: 100%; color: var(--ink); text-shadow: none; }
  .nav-login { margin: 14px 0 0; width: 100%; }
  .menu-btn { display: block; }
}

/* ---------- ヒーロー（実写背景・常時ダーク） ---------- */
.hero {
  position: relative;
  min-height: 94svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 30px) 0 80px;
  background: #04070E;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: -60px 0;
  /* 看板(SMART MONEY CONCEPT)が見出しの右に来るよう、拡大して左端合わせで右へ寄せる */
  background: url("../img/hero-nasdaq.jpg") 0% 47% / 140% auto no-repeat;
  will-change: transform;
}
@media (max-width: 900px) {
  /* 狭い画面では看板が画面外へ出るため通常のcoverに戻す */
  .hero-bg { background: url("../img/hero-nasdaq.jpg") center 47% / cover no-repeat; }
}
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(4, 7, 14, .93) 0%, rgba(4, 7, 14, .74) 40%,
    rgba(4, 7, 14, .28) 72%, rgba(4, 7, 14, .55) 100%);
}
.hero-shade2 {
  position: absolute; inset: auto 0 0 0; height: 45%;
  background: linear-gradient(180deg, transparent, rgba(4, 7, 14, .96));
}
[data-theme="light"] .hero-shade2 { background: linear-gradient(180deg, transparent, rgba(4, 7, 14, .7)); }
.hero-in { position: relative; z-index: 2; max-width: var(--maxw); width: 100%; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif-en); font-size: .74rem; letter-spacing: .32em;
  color: #C7D3E4; opacity: .9; margin-bottom: 22px;
  animation: fadeUp 1s .1s ease both;
}
.hero-eyebrow img { width: 32px; height: 32px; border-radius: 50%; box-shadow: 0 0 16px rgba(95, 168, 255, .5); }
.hero h1 {
  font-family: var(--serif-jp); font-weight: 700;
  font-size: clamp(1.65rem, 3.9vw, 2.75rem);
  line-height: 1.52; color: #F4F7FC;
  text-shadow: 0 2px 34px rgba(0, 0, 0, .65);
  margin-bottom: 20px; max-width: 800px;
  animation: fadeUp 1s .25s ease both;
}
.hero h1 .em { color: var(--gold-bright); }
.hero-sub {
  max-width: 560px; color: #BAC5D7; font-size: .98rem;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .8);
  margin-bottom: 26px;
  animation: fadeUp 1s .4s ease both;
}
.hero-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; animation: fadeUp 1s .55s ease both; }
.hchip {
  font-size: .73rem; letter-spacing: .05em; color: #AFC4E0;
  border: 1px solid rgba(95, 168, 255, .35); border-radius: 999px; padding: 6px 15px;
  background: rgba(4, 7, 14, .55); backdrop-filter: blur(4px);
}
.hchip.gold { color: var(--gold-bright); border-color: rgba(201, 178, 122, .5); }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeUp 1s .7s ease both; }
.hero .btn-ghost {
  border-color: rgba(199, 211, 228, .4); color: #C7D3E4;
  background: rgba(4, 7, 14, .4); backdrop-filter: blur(4px);
}
.hero .btn-ghost:hover { border-color: #5FA8FF; color: #fff; box-shadow: 0 0 24px rgba(95, 168, 255, .2); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-family: var(--serif-en); font-size: .62rem; letter-spacing: .35em; color: rgba(199, 211, 228, .5);
  display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 2;
}
.scroll-cue::after {
  content: ""; width: 1px; height: 44px;
  background: linear-gradient(180deg, rgba(199, 211, 228, .6), transparent);
  animation: cue 2.2s ease infinite;
}
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* 実績ストリップ */
.proofbar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--line-soft);
  padding: 34px 0;
  box-shadow: 0 10px 30px rgba(20, 35, 60, .05);
  position: relative; z-index: 3;
}
.proof-in { display: flex; align-items: stretch; }
.proofbar .p { flex: 1; padding: 4px 30px; border-left: 1px solid var(--line-soft); }
.proofbar .p:first-child { border-left: none; padding-left: 0; }
.proofbar .n { font-family: var(--serif-en); font-size: 1.75rem; color: var(--ink-strong); line-height: 1.2; }
.proofbar .n small { font-size: .85rem; color: var(--gold-deep); }
[data-theme="dark"] .proofbar .n small { color: var(--gold); }
.proofbar .d { font-size: .72rem; color: var(--ink-faint); margin-top: 6px; letter-spacing: .05em; }
.proofbar .d a { color: var(--link); text-decoration: none; }
.proofbar .d a:hover { text-decoration: underline; }
@media (max-width: 680px) {
  .proof-in { flex-direction: column; gap: 18px; }
  .proofbar .p { border-left: none; padding: 0; }
}

/* ---------- スクロール出現 ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .12s; } .rv-d2 { transition-delay: .24s; } .rv-d3 { transition-delay: .36s; }

/* ---------- カード共通 ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 34px 30px;
  box-shadow: var(--shadow-card);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.card:hover { transform: translateY(-5px); border-color: var(--glow); box-shadow: var(--shadow-card-hover); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

/* ---------- 01 PROBLEM ---------- */
.problem { background: var(--bg-alt); }
.problem-num {
  font-family: var(--serif-en); font-size: 2rem; color: var(--line-gold);
  line-height: 1; margin-bottom: 16px;
}
.problem h3 { font-family: var(--serif-jp); font-size: 1.08rem; color: var(--ink-strong); margin-bottom: 12px; line-height: 1.7; }
.problem p { font-size: .9rem; color: var(--ink-dim); }
.problem-answer {
  margin-top: 54px; text-align: center;
  font-family: var(--serif-jp); font-size: clamp(1.1rem, 2.4vw, 1.5rem); line-height: 2.1; color: var(--ink);
}
.problem-answer .em { color: var(--gold-deep); border-bottom: 1px solid var(--line-gold); padding-bottom: 2px; }
[data-theme="dark"] .problem-answer .em { color: var(--gold-bright); }

/* ---------- 02 ABOUT ---------- */
.about-flex { display: flex; gap: 56px; align-items: center; }
.about-copy { flex: 1.15; }
.about-copy p { color: var(--ink-dim); margin-bottom: 18px; }
.about-copy p strong { color: var(--ink-strong); font-weight: 700; }
.about-visual { flex: .85; position: relative; }
.about-visual img { border-radius: 8px; border: 1px solid var(--line-soft); box-shadow: var(--shadow-card-hover); }
.about-visual figcaption { margin-top: 12px; font-size: .74rem; color: var(--ink-faint); letter-spacing: .06em; text-align: right; }
@media (max-width: 900px) { .about-flex { flex-direction: column; } .about-visual { width: 100%; } }

.pillars { margin-top: 64px; }
.pillar-card { text-align: center; position: relative; overflow: hidden; }
.pillar-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--line-gold), transparent);
  opacity: 0; transition: opacity .35s;
}
.pillar-card:hover::before { opacity: 1; }
.pillar-en { font-family: var(--serif-en); font-size: 1.02rem; letter-spacing: .26em; color: var(--gold-deep); margin-bottom: 6px; }
[data-theme="dark"] .pillar-en { color: var(--gold); }
.pillar-jp { font-family: var(--serif-jp); font-size: .95rem; color: var(--ink); margin-bottom: 14px; }
.pillar-card p { font-size: .88rem; color: var(--ink-dim); }

/* 4ステップ帯 */
.steps-band {
  margin-top: 64px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  padding: 42px 38px;
}
.steps-band h3 {
  text-align: center; font-family: var(--serif-jp); font-size: 1.05rem; color: var(--ink-strong);
  letter-spacing: .14em; margin-bottom: 34px;
}
.steps { display: flex; align-items: stretch; gap: 0; }
.step { flex: 1; text-align: center; position: relative; padding: 0 10px; }
.step + .step::before {
  content: "⇢"; position: absolute; left: -9px; top: 12px;
  color: var(--glow); font-size: 1.05rem; opacity: .85;
}
.step-no { font-family: var(--serif-en); color: var(--gold-deep); font-size: .85rem; letter-spacing: .2em; margin-bottom: 10px; }
[data-theme="dark"] .step-no { color: var(--gold); }
.step-name { font-family: var(--serif-jp); font-size: 1rem; color: var(--ink-strong); margin-bottom: 8px; }
.step p { font-size: .78rem; color: var(--ink-faint); line-height: 1.75; }
@media (max-width: 820px) {
  .steps { flex-wrap: wrap; gap: 26px 0; }
  .step { flex: 1 1 50%; }
  .step:nth-child(3)::before { display: none; }
}
@media (max-width: 480px) { .step { flex: 1 1 100%; } .step + .step::before { display: none; } }

/* ---------- 03 REASON ---------- */
.reason { background: var(--bg-alt); }
.reason-list { display: flex; flex-direction: column; gap: 0; }
.reason-item {
  display: flex; gap: 44px; padding: 46px 8px;
  border-bottom: 1px solid var(--line); align-items: flex-start;
}
.reason-item:first-child { border-top: 1px solid var(--line); }
.reason-no {
  font-family: var(--serif-en); font-size: 2.6rem; line-height: 1; flex: none; width: 92px;
  background: linear-gradient(180deg, var(--gold), var(--line-gold));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.reason-body h3 { font-family: var(--serif-jp); font-size: 1.25rem; color: var(--ink-strong); margin-bottom: 12px; }
.reason-body p { color: var(--ink-dim); font-size: .93rem; max-width: 760px; }
.reason-body p b { color: var(--ink-strong); }
.reason-body .note { font-size: .76rem; color: var(--ink-faint); margin-top: 10px; }
@media (max-width: 700px) { .reason-item { flex-direction: column; gap: 14px; } .reason-no { width: auto; } }

/* ---------- 04 LIVE TRACE ---------- */
.tgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 800px) { .tgrid { grid-template-columns: 1fr; } }
.tcard {
  position: relative; border: 1px solid var(--line-soft); border-radius: 12px; overflow: hidden;
  background: var(--bg-card); box-shadow: var(--shadow-card);
  transition: transform .18s ease-out, box-shadow .3s, border-color .3s;
  transform-style: preserve-3d; will-change: transform;
}
.tcard:hover { border-color: var(--glow); box-shadow: var(--shadow-card-hover); }
.tcard .im { position: relative; overflow: hidden; background: #0B121D; }
.tcard .im img { width: 100%; transition: transform .5s; }
.tcard:hover .im img { transform: scale(1.03); }
.tcard .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.tcard .play i {
  width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .6); background: rgba(4, 7, 14, .55);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-style: normal; font-size: 1.05rem; padding-left: 4px;
  backdrop-filter: blur(3px); transition: .3s;
}
.tcard:hover .play i { background: rgba(201, 178, 122, .92); color: #0A0D14; border-color: transparent; transform: scale(1.1); }
.tcard .cap { padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.ttag {
  flex: none; font-size: .62rem; letter-spacing: .14em; font-weight: 700;
  border-radius: 3px; padding: 2px 10px;
}
.ttag.gold { color: #0A0D14; background: linear-gradient(135deg, #A9905C, #E7D8AC); }
.ttag.blue { border: 1px solid var(--glow); color: var(--glow); }
.tcard .cap p { font-size: .86rem; color: var(--ink-strong); line-height: 1.6; }
.tcard .cap small { display: block; font-size: .68rem; color: var(--ink-faint); font-weight: 400; }

/* ---------- CURRICULUM ---------- */
.curriculum-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.module {
  display: flex; align-items: center; gap: 22px;
  border: 1px solid var(--line-soft); border-radius: 8px;
  padding: 22px 26px;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  transition: border-color .3s, transform .3s;
}
.module:hover { border-color: var(--line-gold); transform: translateX(4px); }
.module-no { font-family: var(--serif-en); color: var(--gold-deep); font-size: .8rem; letter-spacing: .18em; flex: none; }
[data-theme="dark"] .module-no { color: var(--gold); }
.module-name { font-family: var(--serif-jp); color: var(--ink-strong); font-size: 1rem; }
.module-tags { margin-left: auto; font-size: .7rem; color: var(--ink-faint); letter-spacing: .08em; flex: none; }
@media (max-width: 800px) { .curriculum-grid { grid-template-columns: 1fr; } .module-tags { display: none; } }
.curriculum-note { margin-top: 26px; text-align: center; font-size: .82rem; color: var(--ink-faint); }

/* ---------- FOUNDER（YS紹介） ---------- */
.founder-sec { background: var(--bg-alt); }
.ys { display: flex; gap: 54px; align-items: center; }
.ys .av { flex: none; position: relative; }
.ys .av img {
  width: clamp(180px, 22vw, 230px); height: clamp(180px, 22vw, 230px);
  border-radius: 50%; border: 1px solid var(--line-gold);
  box-shadow: 0 0 0 9px rgba(201, 178, 122, .08), var(--shadow-card-hover);
}
.ys .av::after {
  content: "YS-SMC FOUNDER"; position: absolute; left: 50%; bottom: -13px; transform: translateX(-50%);
  font-family: var(--serif-en); font-size: .56rem; letter-spacing: .26em; color: var(--text-gold);
  background: var(--bg-card); border: 1px solid var(--line-gold); border-radius: 999px;
  padding: 4px 15px; white-space: nowrap;
}
.ys .nm { font-family: var(--serif-jp); font-size: 1.6rem; color: var(--ink-strong); margin-bottom: 4px; }
.ys .rl { font-size: .78rem; color: var(--ink-faint); margin-bottom: 18px; letter-spacing: .05em; }
.ys .bd p { font-size: .92rem; color: var(--ink-dim); max-width: 620px; margin-bottom: 12px; }
.ys .bd p b { color: var(--gold-deep); }
[data-theme="dark"] .ys .bd p b { color: var(--gold-bright); }
.ys .sns { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.ys .sns a {
  font-size: .73rem; letter-spacing: .08em; color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 17px;
  background: var(--bg-card); transition: .2s;
}
.ys .sns a:hover { border-color: var(--glow); color: var(--glow); }
@media (max-width: 760px) {
  .ys { flex-direction: column; text-align: center; gap: 40px; }
  .ys .sns { justify-content: center; }
}

/* ---------- PRICING ---------- */
.plan {
  display: flex; flex-direction: column; text-align: center; padding: 44px 34px 38px; position: relative;
}
.plan-tier { font-family: var(--serif-en); letter-spacing: .3em; font-size: .74rem; color: var(--ink-faint); margin-bottom: 14px; }
.plan-name { font-family: var(--serif-jp); font-size: 1.3rem; color: var(--ink-strong); margin-bottom: 22px; }
.plan-price { font-family: var(--serif-en); font-size: 2.9rem; line-height: 1; color: var(--ink-strong); }
.plan-price .unit { font-size: 1rem; color: var(--ink-dim); margin-left: 6px; letter-spacing: .06em; }
.plan-type { font-size: .78rem; color: var(--gold-deep); letter-spacing: .2em; margin: 12px 0 26px; }
[data-theme="dark"] .plan-type { color: var(--gold); }
.plan-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); margin-bottom: 26px; }
.plan ul { text-align: left; margin-bottom: 34px; flex: 1; }
.plan li { padding: 8px 0 8px 30px; position: relative; font-size: .88rem; color: var(--ink-dim); }
.plan li::before { content: "✦"; position: absolute; left: 4px; color: var(--glow); font-size: .8rem; }
.plan li.minus { color: var(--ink-faint); }
.plan li.minus::before { content: "—"; color: var(--ink-faint); }
.plan-featured {
  border-color: var(--line-gold);
  background: linear-gradient(180deg, rgba(201, 178, 122, .07), transparent 40%), var(--bg-card);
  transform: scale(1.03);
}
.plan-featured:hover { transform: scale(1.03) translateY(-5px); border-color: var(--gold); }
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #A9905C, #E7D8AC 50%, #C9B27A);
  color: #0A0D14; font-size: .72rem; font-weight: 700; letter-spacing: .18em;
  padding: 6px 20px; border-radius: 999px; white-space: nowrap;
}
.pricing-note { margin-top: 34px; text-align: center; font-size: .8rem; color: var(--ink-faint); line-height: 2; }
@media (max-width: 900px) { .plan-featured { transform: none; } .plan-featured:hover { transform: translateY(-5px); } }

/* ---------- MEMBERS紹介 ---------- */
.members-sec { position: relative; overflow: hidden; background: var(--bg-alt); }
.members-flex { display: flex; gap: 60px; align-items: center; }
.members-copy { flex: 1; }
.members-copy > p { color: var(--ink-dim) !important; }
.mfeat { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; margin: 30px 0 38px; }
.mfeat li { padding-left: 30px; position: relative; font-size: .9rem; color: var(--ink-dim); }
.mfeat li::before { content: "◆"; position: absolute; left: 2px; color: var(--gold-deep); font-size: .7rem; top: 9px; }
[data-theme="dark"] .mfeat li::before { color: var(--gold); }
.members-mock { flex: 1; min-width: 0; }
/* 会員サイトのミニプレビュー（常時ダークのUIモック） */
.mock {
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  background: #070A12; box-shadow: var(--shadow-card-hover);
  font-size: .68rem;
}
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 11px 16px; border-bottom: 1px solid rgba(199, 211, 228, .13); background: rgba(10, 15, 25, .9); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(199, 211, 228, .18); }
.mock-bar span { margin-left: 10px; color: #64718A; letter-spacing: .12em; font-family: var(--serif-en); }
.mock-body { display: flex; min-height: 250px; }
.mock-nav { width: 108px; border-right: 1px solid rgba(199, 211, 228, .13); padding: 14px 0; background: rgba(8, 12, 20, .8); }
.mock-nav b { display: block; padding: 7px 16px; color: #64718A; font-weight: 400; }
.mock-nav b.on { color: #E7D8AC; border-left: 2px solid #C9B27A; background: rgba(201, 178, 122, .07); }
.mock-main { flex: 1; padding: 16px; }
.mock-main h5 { color: #C7D3E4; font-size: .74rem; margin-bottom: 12px; font-family: var(--serif-jp); letter-spacing: .1em; }
.mock-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.mock-card { border: 1px solid rgba(199, 211, 228, .13); border-radius: 6px; overflow: hidden; background: rgba(14, 20, 33, .8); }
.mock-thumb { height: 44px; background: linear-gradient(135deg, #16304F, #0A1524); position: relative; }
.mock-thumb::after { content: "▶"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(199, 211, 228, .75); font-size: .7rem; }
.mock-card p { padding: 8px 9px; color: #97A4BA; line-height: 1.5; }
@media (max-width: 900px) { .members-flex { flex-direction: column; } .members-mock { width: 100%; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq {
  border: 1px solid var(--line-soft); border-radius: 8px; margin-bottom: 14px;
  background: var(--bg-card); box-shadow: var(--shadow-card);
  overflow: hidden;
}
.faq summary {
  list-style: none; display: flex; align-items: center; gap: 18px;
  padding: 22px 26px; cursor: pointer; font-size: .95rem; color: var(--ink-strong);
  transition: background .25s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--glow-soft); }
.faq summary .q { font-family: var(--serif-en); color: var(--gold-deep); flex: none; font-size: .9rem; }
[data-theme="dark"] .faq summary .q { color: var(--gold); }
.faq summary .tgl { margin-left: auto; color: var(--ink-faint); transition: transform .3s; flex: none; }
.faq[open] summary .tgl { transform: rotate(45deg); }
.faq-a { padding: 0 26px 24px 62px; color: var(--ink-dim); font-size: .89rem; }

/* ---------- CTA / CONTACT（常時ダーク・粒子演出） ---------- */
.cta-band {
  position: relative; text-align: center; padding: 130px 24px; overflow: hidden;
  background:
    radial-gradient(ellipse 55% 60% at 50% 42%, rgba(95, 168, 255, .16), transparent 70%),
    linear-gradient(180deg, #0B121D, #04070E);
}
.cta-stars { position: absolute; inset: 0; pointer-events: none; }
.cta-band .mark, .cta-band h2, .cta-band p, .cta-band .contact-lines { position: relative; z-index: 2; }
.cta-band .mark { width: 92px; height: 92px; margin: 0 auto 26px; border-radius: 50%; box-shadow: 0 0 50px rgba(95, 168, 255, .4); }
.cta-band h2 { font-family: var(--serif-jp); font-size: clamp(1.4rem, 3vw, 2rem); color: #F0F4FA; margin-bottom: 14px; }
.cta-band p { color: #97A4BA; margin-bottom: 40px; }
.contact-lines { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-ghost {
  border-color: rgba(199, 211, 228, .35); color: #C7D3E4; background: rgba(199, 211, 228, .03);
}
.cta-band .btn-ghost:hover { border-color: #5FA8FF; color: #fff; }
.soon-chip {
  display: inline-block; margin-left: 8px; padding: 1px 9px; border-radius: 999px;
  font-size: .62rem; letter-spacing: .14em; color: var(--gold-bright); border: 1px solid rgba(201, 178, 122, .5);
  vertical-align: 2px;
}

/* ---------- フッター ---------- */
.footer { border-top: 1px solid var(--line-soft); background: var(--bg-alt); padding: 60px 0 40px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.footer-brand {
  font-family: var(--serif-en); font-size: 1.02rem; letter-spacing: .3em;
  color: var(--ink-strong); opacity: .9;
}
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { font-size: .78rem; color: var(--ink-faint); letter-spacing: .08em; }
.footer-nav a:hover { color: var(--glow); }
.disclaimer {
  max-width: 780px; font-size: .72rem; color: var(--ink-faint); line-height: 2;
  border: 1px solid var(--line-soft); border-radius: 8px; padding: 18px 24px;
  background: var(--bg-card);
}
.copyright { font-family: var(--serif-en); font-size: .7rem; letter-spacing: .22em; color: var(--ink-faint); }

/* ---------- ログインページ ---------- */
.login-page {
  min-height: 100svh; display: flex; align-items: center; justify-content: center;
  padding: 90px 20px 60px; position: relative; overflow: hidden;
  background: var(--bg-alt);
}
.login-card {
  width: min(430px, 100%);
  border: 1px solid var(--line-soft); border-radius: 14px;
  background: var(--bg-card);
  padding: 46px 42px 40px; position: relative; z-index: 2;
  box-shadow: var(--shadow-card-hover);
}
.login-card .mark { width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%; box-shadow: 0 0 34px rgba(95, 168, 255, .35); }
.login-card h1 { text-align: center; font-family: var(--serif-en); font-size: 1.1rem; letter-spacing: .24em; color: var(--ink-strong); margin-bottom: 4px; }
.login-card .sub { text-align: center; font-size: .78rem; color: var(--ink-faint); margin-bottom: 30px; letter-spacing: .1em; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .76rem; color: var(--ink-dim); letter-spacing: .12em; margin-bottom: 8px; }
.field input {
  width: 100%; padding: 13px 16px; border-radius: 5px;
  border: 1px solid var(--line); background: var(--bg-input); color: var(--ink);
  font-size: .95rem; font-family: inherit; transition: border-color .25s, box-shadow .25s;
}
.field input:focus { outline: none; border-color: var(--glow); box-shadow: 0 0 0 3px var(--glow-soft); }
.login-err { display: none; color: var(--danger); font-size: .8rem; margin-bottom: 14px; text-align: center; }
.login-err.show { display: block; }
.demo-box {
  margin-top: 24px; border: 1px dashed var(--line-gold); border-radius: 8px;
  padding: 16px 18px; font-size: .78rem; color: var(--ink-dim); line-height: 2;
}
.demo-box b { color: var(--gold-deep); font-weight: 700; }
[data-theme="dark"] .demo-box b { color: var(--gold-bright); }
.demo-box code { color: var(--ink-strong); background: var(--bg-alt); padding: 1px 8px; border-radius: 4px; font-size: .8rem; }
.demo-box span { color: var(--ink-faint) !important; }
.login-back { display: block; text-align: center; margin-top: 22px; font-size: .78rem; color: var(--ink-faint); }
.login-back:hover { color: var(--glow); }
.login-theme { position: fixed; top: 18px; right: 18px; z-index: 10; }

/* ---------- 動画モーダル ---------- */
.vmodal { position: fixed; inset: 0; z-index: 500; display: none; }
.vmodal.open { display: block; }
.vmodal-bg { position: absolute; inset: 0; background: rgba(2, 4, 9, .88); backdrop-filter: blur(6px); }
.vmodal-box {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  height: min(86vh, 900px); aspect-ratio: 9 / 16; max-width: 92vw;
}
.vmodal-box video {
  width: 100%; height: 100%; border-radius: 14px;
  border: 1px solid rgba(199, 211, 228, .25); background: #000;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .8);
}
.vmodal-x {
  position: absolute; top: -44px; right: 0;
  background: none; border: 1px solid rgba(199, 211, 228, .35); border-radius: 50%;
  width: 36px; height: 36px; color: #C7D3E4; font-size: .95rem;
}
.vmodal-x:hover { color: #fff; border-color: #5FA8FF; }

/* ---------- ページ内共通トースト ---------- */
.wt-toast {
  position: fixed; left: 50%; bottom: 34px; transform: translateX(-50%) translateY(20px);
  background: var(--bg-card); border: 1px solid var(--line-gold);
  color: var(--text-gold); font-size: .8rem; letter-spacing: .06em;
  padding: 11px 22px; border-radius: 999px; opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s; z-index: 400; white-space: nowrap;
  box-shadow: var(--shadow-card);
}
.wt-toast.show { opacity: 1; transform: translateX(-50%); }

/* ---------- YouTubeショート 自動スライド ---------- */
.shorts-rail { position: relative; overflow: hidden; margin: 8px -8px 0; padding: 8px; }
.shorts-rail::before, .shorts-rail::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 3; pointer-events: none;
}
.shorts-rail::before { left: 0; background: linear-gradient(90deg, var(--bg-page), transparent); }
.shorts-rail::after { right: 0; background: linear-gradient(270deg, var(--bg-page), transparent); }
.shorts-track { display: flex; gap: 16px; will-change: transform; }
.short-card {
  flex: 0 0 216px; cursor: pointer;
  transition: transform .25s;
}
.short-card:hover { transform: translateY(-4px); }
.short-thumb {
  position: relative; width: 100%; aspect-ratio: 9 / 16; overflow: hidden;
  border-radius: 14px; background: #0B111C; border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
}
.short-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  /* ショートのサムネは16:9の中央に縦絵が入っているため拡大して中央を使う */
  transform: scale(1.72);
}
.short-thumb iframe { width: 100%; height: 100%; border: 0; display: block; }
.short-play {
  position: absolute; inset: 0; margin: auto; width: 52px; height: 52px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(10, 14, 22, .62); color: #fff; font-size: 1.05rem;
  backdrop-filter: blur(4px); border: 1px solid rgba(255, 255, 255, .35);
  transition: transform .25s, background .25s;
}
.short-card:hover .short-play { transform: scale(1.12); background: rgba(37, 99, 201, .85); }
.short-card.is-playing { transform: none; }
.short-title {
  font-size: .78rem; color: var(--ink-dim); line-height: 1.65; margin: 10px 2px 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.shorts-nav {
  position: absolute; top: calc(50% - 30px); transform: translateY(-50%); z-index: 4;
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  background: var(--bg-card); border: 1px solid var(--line); color: var(--ink);
  font-size: 1.3rem; line-height: 1; display: grid; place-items: center;
  box-shadow: var(--shadow-card); transition: all .2s;
}
.shorts-nav:hover { color: var(--glow); border-color: var(--glow); }
.shorts-nav.prev { left: 4px; }
.shorts-nav.next { right: 4px; }
@media (max-width: 640px) {
  .short-card { flex-basis: 168px; }
  .shorts-nav { display: none; }
}

/* ---------- ショート再生モーダル ---------- */
.smodal {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center; gap: 18px;
  padding: 20px;
}
.smodal[hidden] { display: none; }
.smodal-bg { position: absolute; inset: 0; background: rgba(4, 7, 14, .88); backdrop-filter: blur(6px); }
.smodal-box { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.smodal-player {
  width: min(calc((100vh - 150px) * 9 / 16), 90vw);
  aspect-ratio: 9 / 16;
  max-height: calc(100vh - 150px);
  border-radius: 16px; overflow: hidden;
  background: #000; box-shadow: 0 24px 70px rgba(0, 0, 0, .6);
  animation: smodalIn .28s cubic-bezier(.22,.61,.36,1) both;
}
@keyframes smodalIn { from { opacity: 0; transform: scale(.94) } to { opacity: 1; transform: none } }
.smodal-player iframe { width: 100%; height: 100%; border: 0; display: block; }
.smodal-title {
  color: #E8EEF6; font-size: .88rem; margin-top: 14px; text-align: center;
  max-width: min(560px, 88vw); line-height: 1.7;
}
.smodal-x {
  position: absolute; top: 18px; right: 22px; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .3);
  color: #fff; font-size: 1.5rem; line-height: 1; display: grid; place-items: center;
  transition: background .2s;
}
.smodal-x:hover { background: rgba(255, 255, 255, .22); }
.smodal-nav {
  position: relative; z-index: 3; flex: none;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .3);
  color: #fff; font-size: 1.7rem; line-height: 1; display: grid; place-items: center;
  transition: background .2s, transform .2s;
}
.smodal-nav:hover { background: rgba(255, 255, 255, .22); transform: scale(1.06); }
@media (max-width: 700px) {
  .smodal { gap: 8px; padding: 12px; }
  .smodal-player { width: min(calc((100vh - 190px) * 9 / 16), 92vw); }
  .smodal-nav { width: 40px; height: 40px; font-size: 1.3rem; }
  .smodal-x { top: 10px; right: 12px; width: 38px; height: 38px; font-size: 1.25rem; }
}

/* ===== v2: 記事単品購入ストリップ (LP 料金セクション) ===== */
.single-article {
  display: flex; align-items: center; gap: 28px;
  background: var(--bg-card); border: 1px solid rgba(212, 175, 95, 0.45);
  border-radius: 16px; box-shadow: var(--shadow-card);
  padding: 26px 30px; margin: 26px 0 18px;
}
.single-article .sa-tier {
  font-family: "Cinzel", serif; font-size: .7rem; letter-spacing: .22em;
  color: var(--text-gold); font-weight: 700; margin-bottom: 6px;
}
.single-article .sa-title {
  font-family: "Shippori Mincho", serif; font-size: 1.2rem; color: var(--ink-strong);
  margin-bottom: 8px; font-weight: 700;
}
.single-article .sa-price { color: var(--text-gold); font-size: 1.35rem; margin-left: 6px; }
.single-article .sa-unit { font-size: .78rem; color: var(--ink-faint); font-weight: 400; }
.single-article p { font-size: .87rem; color: var(--ink-dim); line-height: 1.9; margin: 0; }
.single-article .sa-cta { flex: 0 0 240px; text-align: center; }
.single-article .sa-note { display: block; font-size: .72rem; color: var(--ink-faint); margin-top: 8px; }
@media (max-width: 760px) {
  .single-article { flex-direction: column; align-items: stretch; gap: 16px; }
  .single-article .sa-cta { flex: none; }
}
