/* =========================================================================
   みえるEA — 2026-10 リニューアル
   コンセプト「記録帳」: 罫線(=段)の上で、相場が行って戻る。それを全部みせる。
   書体: 見出し=しっぽり明朝 / 本文=Zen角ゴシックNew / 数字=IBM Plex Mono
   色:   紙と墨、藍(記録・データ)、朱(行動・受け取り)、夜(稼働中の計器)
   既存ページのクラス名はそのまま使えるように残している(記事・日報のテンプレも同じCSS)
   ========================================================================= */

:root {
  --paper: #f3efe6; --paper-2: #ebe5d8; --card: #fbf9f4;
  --ink: #15140f; --ink-2: #3b3830; --muted: #6a6458; --faint: #a39d90;
  --rule: rgba(21,20,15,.13); --rule-2: rgba(21,20,15,.26); --rule-strong: #15140f;
  --indigo: #2d4374; --indigo-2: #5d76ad; --indigo-soft: rgba(45,67,116,.08); --indigo-bar: rgba(45,67,116,.5);
  --shu: #c63d22; --shu-dark: #a5321b; --shu-soft: rgba(198,61,34,.09);
  --night: #0e131f; --night-2: #161d2d; --night-3: #1f2840; --night-ink: #ece7db; --night-muted: #a4a9b6; --night-rule: rgba(236,231,219,.13);
  --on: #2f8f5b;
  /* 旧トークン(インラインstyleとテンプレが参照している) */
  --bg: var(--paper); --bg-panel: var(--card); --accent: var(--indigo); --accent-soft: var(--indigo-soft); --accent-bar: var(--indigo-bar); --status-on: var(--on);
  /* 図(canvas)の色。夜の面では上書きする */
  --c-ink: #15140f; --c-accent: #2d4374; --c-accent-soft: rgba(45,67,116,.09); --c-muted: #6a6458; --c-grid: rgba(21,20,15,.22); --c-up: #f3efe6;

  --serif: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --sans: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Yu Gothic', 'Noto Sans JP', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;

  --maxw: 1360px;
  --pad-x: clamp(20px, 5.2vw, 80px);
  --sp-l: clamp(88px, 11vw, 168px); --sp-m: clamp(60px, 7.4vw, 112px); --sp-s: clamp(44px, 5vw, 72px);
  --hd-h: 72px;
  --ease: cubic-bezier(.2,.7,.1,1);
  --ease-io: cubic-bezier(.7,0,.2,1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; scroll-padding-top: calc(var(--hd-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-feature-settings: 'palt'; font-size: 16px; line-height: 1.95; letter-spacing: .02em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, canvas, video { max-width: 100%; }
::selection { background: var(--indigo); color: var(--paper); }
:focus-visible { outline: 2px solid var(--shu); outline-offset: 3px; }
a { color: var(--indigo); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--indigo-bar); transition: color .2s, text-decoration-color .2s; }
a:hover { color: var(--indigo); text-decoration-color: var(--indigo); text-decoration-thickness: 2px; }
.brand, nav.gnav a, .btn, .btn-o, .btn-x, .article-list a, a.zoom, .tabs a, a.box, .card-link, .dock, .subnav a, .day-nav a, .ft-nav a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
b, strong { font-weight: 700; }
.mono, .num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: 0; white-space: nowrap; }
.muted { color: var(--muted); }
.ink2 { color: var(--ink-2); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.nb { display: inline-block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header.scrolled { border-bottom-color: var(--rule); }
.site-header .wrap { height: var(--hd-h); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand svg { display: block; width: 36px; height: 36px; transition: transform .5s var(--ease); }
.brand:hover svg { transform: rotate(-8deg); }
.brand-name { font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: .06em; line-height: 1; white-space: nowrap; }
.brand-tag { font-size: 11.5px; color: var(--muted); letter-spacing: .08em; line-height: 1.3; padding-left: 12px; margin-left: 2px; border-left: 1px solid var(--rule-2); white-space: nowrap; }
nav.gnav { display: flex; align-items: center; gap: 4px; margin-left: auto; font-size: 14.5px; font-weight: 500; }
nav.gnav a { position: relative; padding: 8px 14px; white-space: nowrap; color: var(--ink-2); border-radius: 999px; transition: color .2s, background .2s; }
nav.gnav a:not(.cta):hover { color: var(--ink); background: var(--indigo-soft); }
nav.gnav a.on:not(.cta) { color: var(--ink); }
nav.gnav a.on:not(.cta)::after { content: ''; position: absolute; left: 50%; bottom: 1px; width: 5px; height: 5px; border-radius: 50%; background: var(--shu); transform: translateX(-50%); }
nav.gnav a.cta { margin-left: 10px; padding: 10px 20px; color: #fff; background: var(--shu); font-weight: 700; letter-spacing: .04em; }
nav.gnav a.cta:hover { background: var(--shu-dark); color: #fff; }
nav.gnav a.cta::after { content: '→'; display: inline-block; margin-left: 8px; font-family: var(--mono); transition: transform .3s var(--ease); }
nav.gnav a.cta:hover::after { transform: translateX(3px); }
nav.gnav .nav-n { display: none; }
.hd-status { order: -1; display: none; }
.hd-pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; padding: 6px 12px; border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--on); display: inline-block; flex: none; position: relative; }
.dot:not(.off)::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--on); opacity: 0; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .9; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.dot.off { background: transparent; border: 1px solid var(--muted); }
.menu-btn { display: none; }
.hd-cta { display: none !important; }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: var(--night-muted); position: relative; overflow: hidden; }
.site-footer a { color: var(--night-ink); text-decoration-color: rgba(236,231,219,.35); }
.site-footer a:hover { color: #fff; text-decoration-color: #fff; }
.site-footer .wrap { padding-top: clamp(56px, 7vw, 96px); padding-bottom: 32px; position: relative; }
.ft-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 64px; padding-bottom: 56px; border-bottom: 1px solid var(--night-rule); }
.ft-brand .brand { color: var(--night-ink); }
.ft-brand .brand svg { width: 44px; height: 44px; }
.ft-brand .brand-name { font-size: 24px; }
.ft-brand p { margin: 20px 0 0; font-size: 14px; line-height: 1.9; max-width: 360px; }
.ft-brand .btn-x { margin-top: 24px; }
.ft-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.ft-nav h3 { margin: 0 0 14px; font-family: var(--mono); font-size: 11.5px; font-weight: 400; letter-spacing: .14em; color: var(--night-muted); text-transform: uppercase; }
.ft-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ft-nav a { color: var(--night-ink); font-size: 14.5px; }
.ft-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.ft-legal { margin: 32px 0 0; font-size: 12.5px; line-height: 1.95; max-width: 980px; }
.ft-legal b { color: var(--night-ink); font-weight: 500; margin-right: .6em; }
.ft-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 40px; }
.ft-mark { font-family: var(--serif); font-weight: 800; font-size: clamp(64px, 15vw, 240px); line-height: .82; letter-spacing: -.01em; color: transparent; -webkit-text-stroke: 1px rgba(236,231,219,.22); user-select: none; white-space: nowrap; margin-bottom: -.06em; }
.ft-bottom .cp { font-family: var(--mono); font-size: 12px; white-space: nowrap; }
/* 旧フッター(未変換のページ用) */
.site-footer > .wrap > p { margin: 0 0 16px; font-size: 13px; line-height: 1.9; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; }

/* ---------- buttons & links ---------- */
.btn { --b: var(--shu); --b2: var(--shu-dark); display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 17px 30px; background: var(--b); color: #fff; font-family: var(--sans); font-size: 16px; font-weight: 700; letter-spacing: .05em; line-height: 1.35; border-radius: 999px; border: 0; cursor: pointer; position: relative; overflow: hidden; isolation: isolate; transition: transform .3s var(--ease), box-shadow .3s var(--ease); box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 10px 24px -12px rgba(198,61,34,.55); }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--b2); transform: translateY(101%); transition: transform .45s var(--ease); border-radius: inherit; }
.btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 16px 30px -14px rgba(198,61,34,.65); }
.btn:hover::before { transform: translateY(0); }
.btn .arr, .btn-o .arr { font-family: var(--mono); font-weight: 400; transition: transform .3s var(--ease); }
.btn:hover .arr, .btn-o:hover .arr { transform: translateX(4px); }
.btn.ink { --b: var(--ink); --b2: var(--indigo); box-shadow: none; }
.btn.lg { padding: 21px 38px; font-size: 17.5px; }
.btn small { font-weight: 500; font-size: 12px; opacity: .85; letter-spacing: .04em; }
.btn.dis { cursor: default; }
.btn-o { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); font-size: 15px; font-weight: 500; letter-spacing: .04em; line-height: 1.4; background: transparent; transition: background .25s, color .25s, border-color .25s; }
.btn-o:hover { background: var(--ink); color: var(--paper); }
.btn-x { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border: 1px solid currentColor; border-radius: 999px; font-size: 14px; font-weight: 500; }
.btn-x svg { width: 14px; height: 14px; fill: currentColor; }
.tlink { font-size: 15px; font-weight: 500; color: var(--indigo); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--indigo-bar); }
.tlink:hover { text-decoration-color: var(--indigo); text-decoration-thickness: 2px; }
.actions { display: flex; gap: 16px 28px; align-items: center; flex-wrap: wrap; }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: var(--muted); line-height: 1.6; }
.eyebrow::before { content: ''; width: 18px; height: 1px; background: currentColor; flex: none; }
.eyebrow a { color: inherit; text-decoration-color: var(--rule-2); }
.eyebrow a:hover { color: var(--indigo); }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: var(--shu); }
h1, h2, h3 { font-family: var(--serif); font-feature-settings: 'palt'; color: var(--ink); word-break: auto-phrase; text-wrap: pretty; }
h1.display { margin: 0; font-size: clamp(46px, 7.9vw, 128px); line-height: 1.06; font-weight: 800; letter-spacing: -.01em; }
h1.page { margin: 0; font-size: clamp(34px, 5vw, 66px); line-height: 1.22; font-weight: 700; letter-spacing: .01em; }
h2.sec { margin: 0; font-size: clamp(32px, 4.4vw, 64px); line-height: 1.24; font-weight: 700; letter-spacing: .01em; }
h2.sub { margin: 0; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.3; font-weight: 700; }
h2.sm { margin: 0; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.4; font-weight: 700; }
h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.55; font-weight: 700; }
.lead { margin: 28px 0 0; font-size: 17px; line-height: 2; color: var(--ink-2); max-width: 640px; }
.lead-lg { margin: 28px 0 0; font-size: clamp(16px, 1.35vw, 19px); line-height: 2; color: var(--ink-2); max-width: 600px; }
.body { font-size: 16px; line-height: 2; color: var(--ink-2); }
.body p { margin: 0 0 16px; }
.small { font-size: 13px; line-height: 1.9; color: var(--muted); }
.label { font-size: 13px; line-height: 1.6; color: var(--muted); }
.accent-shu { color: var(--shu); }
mark.hl { background: linear-gradient(transparent 62%, rgba(198,61,34,.2) 62%); color: inherit; padding: 0 .08em; }

/* ---------- 汎用レイアウト(下層ページ) ---------- */
.hero-sub { padding-block: clamp(48px, 7vw, 112px) clamp(40px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(40px, 6vw, 96px); align-items: end; }
.hero-sub > div:first-child { min-width: 0; }
.section { padding-block: 0 var(--sp-l); }
.two { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); }
.two > div:first-child h2.sec { font-size: clamp(30px, 3.4vw, 46px); }
.two-eq { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.panel { background: var(--card); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding-block: var(--sp-m); --surface: var(--card); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 44px; gap: 24px; flex-wrap: wrap; }
.sec-head .eyebrow { margin-bottom: 18px; }

/* ---------- figures & charts ---------- */
.figure { border-top: 1px solid var(--rule-strong); padding: 22px 0 0; margin-inline: 0; }
.figure.plain { border: 0; padding: 0; }
.fig-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--muted); margin-bottom: 16px; gap: 8px 16px; flex-wrap: wrap; line-height: 1.7; }
.fig-head .mono { white-space: nowrap; font-size: 12px; }
.fig-grid { display: grid; grid-template-columns: minmax(0, 1fr) 72px; gap: 12px; }
.fig-grid.narrow { grid-template-columns: minmax(0, 1fr) 48px; }
.chart { width: 100%; display: block; height: 280px; }
.yaxis { font-family: var(--mono); font-size: 11.5px; color: var(--muted); display: flex; flex-direction: column; justify-content: space-between; }
.xaxis { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-top: 8px; padding-right: 84px; }
.fig-grid.narrow + .xaxis { padding-right: 60px; }
.legend { display: flex; gap: 6px 22px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { display: inline-block; width: 18px; height: 2px; background: var(--c-ink); }
.legend i.accent { background: var(--c-accent); }
.legend i.dash { height: 0; border-top: 1px dashed var(--c-muted); background: none; }
.legend i.band { height: 10px; background: var(--indigo-soft); border-top: 1px solid var(--indigo); border-bottom: 1px solid var(--indigo); }
.figure figcaption, .fig-note { margin-top: 14px; font-size: 13px; color: var(--muted); line-height: 1.85; }
.figure img { width: 100%; height: auto; display: block; }
a.zoom { cursor: zoom-in; display: block; position: relative; }
a.zoom img { transition: transform .6s var(--ease); }
a.zoom:hover img { outline: 1px solid var(--indigo); outline-offset: 4px; }
figure:has(a.zoom) .fig-head .mono, .figure:has(a.zoom) .fig-head .mono { color: var(--indigo); }

/* ---------- 指標 ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule); font-variant-numeric: tabular-nums; }
.stat-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat-grid.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
.stat-grid > div { padding: 22px 22px 24px; border-right: 1px solid var(--rule); min-width: 0; }
.stat-grid > div:first-child { padding-left: 0; }
.stat-grid > div:last-child { border-right: 0; padding-right: 0; }
.stat-grid .s-l { font-size: 13px; color: var(--muted); line-height: 1.6; }
.stat-grid .s-v { font-family: var(--mono); font-size: clamp(22px, 2.2vw, 30px); margin-top: 10px; white-space: nowrap; display: flex; align-items: center; gap: 10px; letter-spacing: -.01em; line-height: 1.25; }
.stat-grid .s-v.accent { color: var(--indigo); }
.stat-grid .s-v small { font-size: 14px; color: var(--muted); margin-left: 4px; }
.stat-grid .s-s { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 6px; white-space: normal; }

/* ---------- 表 ---------- */
table.data { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.data th { color: var(--muted); font-family: var(--sans); font-size: 12.5px; font-weight: 500; text-align: right; padding: 0 0 12px; border-bottom: 1px solid var(--rule-strong); }
table.data th:first-child, table.data td:first-child { text-align: left; }
table.data td { text-align: right; padding: 13px 0; border-bottom: 1px solid var(--rule); }
table.data th + th, table.data td + td { padding-left: 16px; }
table.data tbody tr { transition: background .2s; }
table.data tbody tr:hover { background: var(--indigo-soft); }
table.data td.accent { color: var(--indigo); font-weight: 500; }
table.data td.serif, table.data th.serif { font-family: var(--sans); }
table.data td a { color: var(--indigo); }
table.data.cmp { white-space: normal; line-height: 1.6; }
table.data.cmp td, table.data.cmp th { vertical-align: top; }
table.data.cmp td:first-child { font-family: var(--sans); white-space: nowrap; padding-right: 8px; }
.tbl-wrap { overflow-x: auto; background:
  linear-gradient(to right, var(--surface, var(--paper)) 40%, transparent) left / 36px 100% no-repeat local,
  linear-gradient(to left, var(--surface, var(--paper)) 40%, transparent) right / 36px 100% no-repeat local,
  linear-gradient(to right, rgba(21,20,15,.14), transparent) left / 12px 100% no-repeat scroll,
  linear-gradient(to left, rgba(21,20,15,.14), transparent) right / 12px 100% no-repeat scroll; }
.tbl-cap { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
details.more .tbl-wrap { margin-top: 10px; }

/* ---------- 仕様リスト ---------- */
dl.spec { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0 28px; font-size: 16px; line-height: 1.75; border-top: 1px solid var(--rule-strong); }
dl.spec dt { padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--muted); font-size: 14px; line-height: 1.9; }
dl.spec dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--rule); }
dl.spec dd.mono { white-space: normal; }
dl.spec dd .note { font-family: var(--sans); color: var(--muted); margin-left: 10px; font-size: 13px; letter-spacing: .02em; }
.meta-list { font-size: 14px; color: var(--muted); line-height: 1.8; border-top: 1px solid var(--rule-strong); }
.meta-list div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.meta-list div:has(> span:first-child:empty) { border-top: 0; margin-top: -12px; }
.meta-list div span:last-child { color: var(--ink); text-align: right; font-weight: 500; }

/* ---------- 要点 ---------- */
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 56px; font-size: 16px; line-height: 2; color: var(--ink-2); }
.point { position: relative; padding-top: 22px; border-top: 1px solid var(--rule-2); }
.point .n { font-family: var(--mono); font-size: 12px; color: var(--shu); margin-bottom: 12px; letter-spacing: .1em; }
.point p { margin: 0; }

/* ---------- 箱 ---------- */
.box { border: 1px solid var(--rule-strong); padding: clamp(28px, 4vw, 52px); background: var(--card); border-radius: 4px; }
.box.weak { border-color: var(--rule); background: transparent; padding: clamp(24px, 3vw, 40px); }
.box .eyebrow { margin-bottom: 18px; }
.box p { margin: 0 0 24px; font-size: 16px; line-height: 1.95; color: var(--ink-2); }
a.box { transition: background .2s, border-color .2s; }
a.box:hover { background: var(--indigo-soft); border-color: var(--indigo); }

/* ---------- 建玉バー ---------- */
.pos-bars { border-top: 1px solid var(--rule-strong); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.pos-bar { display: grid; grid-template-columns: 64px minmax(0, 1fr) 84px; align-items: center; gap: 12px; font-family: var(--mono); font-size: 13px; }
.pos-bar .lv { color: var(--muted); }
.pos-bar .track { height: 14px; display: flex; justify-content: flex-end; }
.pos-bar .track.gain { justify-content: flex-start; }
.pos-bar .bar { height: 100%; background: var(--indigo-bar); }
.pos-bar .pl { text-align: right; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(14,19,31,.88); display: none; align-items: center; justify-content: center; z-index: 200; cursor: zoom-out; padding: 24px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox.on { display: flex; animation: fadein .3s var(--ease); }
.lightbox img { max-width: min(96vw, 1600px); max-height: 92vh; width: auto; height: auto; background: var(--paper); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox .lb-close { position: absolute; top: 18px; right: 22px; color: var(--night-ink); font-size: 13px; letter-spacing: .1em; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 一覧 ---------- */
.article-list { border-top: 1px solid var(--rule-strong); }
.article-list a { display: grid; grid-template-columns: 160px 1fr auto; gap: 24px; align-items: baseline; padding: 20px 14px; margin: 0 -14px; border-bottom: 1px solid var(--rule); font-size: 16.5px; line-height: 1.7; transition: background .25s, padding .35s var(--ease); border-radius: 2px; }
.article-list a .mono { font-size: 12.5px; color: var(--muted); }
.article-list a > span:not(.mono) { color: var(--ink); font-weight: 500; }
.article-list a::after { content: '→'; font-family: var(--mono); color: var(--shu); transition: transform .35s var(--ease); }
.article-list a:hover { background: var(--indigo-soft); }
.article-list a:hover > span:not(.mono) { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--indigo-bar); }
.article-list a:hover::after { transform: translateX(5px); }
.article-list.reads a { grid-template-columns: 120px 1fr auto; }
.tabs { display: flex; gap: 6px; margin-bottom: 18px; flex-wrap: wrap; }
.tabs a { padding: 9px 18px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); border: 1px solid var(--rule-2); border-radius: 999px; transition: background .2s, color .2s, border-color .2s; }
.tabs a:hover { border-color: var(--ink); }
.tabs a.on { color: var(--paper) !important; background: var(--ink); border-color: var(--ink) !important; }
.tabs a .mono { font-size: 11px; margin-left: 8px; opacity: .7; }

/* ---------- 記事 ---------- */
.article-grid { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: clamp(40px, 6vw, 96px); justify-content: center; }
.article-meta { font-size: 13px; color: var(--muted); line-height: 2; padding-top: 6px; }
.article-meta .mono { font-size: 12.5px; }
article h1 { margin: 0; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.42; font-weight: 700; letter-spacing: .01em; }
article .intro { margin: 32px 0 0; font-size: 17px; line-height: 2.05; color: var(--ink-2); }
article h2 { margin: 80px 0 24px; font-size: clamp(23px, 2.2vw, 30px); line-height: 1.5; font-weight: 700; padding-top: 22px; border-top: 1px solid var(--rule-strong); position: relative; }
article h2::before { content: ''; position: absolute; left: 0; top: -1px; width: 48px; height: 3px; background: var(--shu); }
article h3 { margin: 40px 0 12px; font-size: 19px; }
article p { margin: 24px 0 0; font-size: 16.5px; line-height: 2.05; color: var(--ink-2); }
article figure { margin: 32px 0 0; border-top: 1px solid var(--rule); padding: 18px 0 0; }
article img { width: 100%; height: auto; display: block; }
article ul { margin: 18px 0 0; padding-left: 1.3em; }
article li { font-size: 16px; line-height: 1.95; color: var(--ink-2); margin-bottom: 6px; }
article ul.premise { padding: 18px 22px 14px 2.2em; background: var(--card); border: 1px solid var(--rule); border-radius: 4px; }
article ul.premise li { font-size: 14px; line-height: 1.85; color: var(--muted); }
article .says { margin-top: 36px; }
article figure.video { margin: 36px 0 0; border: 0; padding: 0; }
article figure.video video { display: block; width: 100%; max-width: 300px; height: auto; aspect-ratio: 9 / 16; margin: 0 auto; background: var(--ink); border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(14,19,31,.6); }
article figure.video figcaption { text-align: center; }
.article-end { margin: 72px 0 0; padding: 26px 0; border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; font-size: 15px; line-height: 1.85; color: var(--ink-2); }
.after-read { margin-top: 28px; }
@media (min-width: 1025px) { .article-meta { position: sticky; top: calc(var(--hd-h) + 24px); align-self: start; } }

/* 目次 */
.toc { margin-top: 36px; border-top: 1px solid var(--rule); padding-top: 16px; }
.toc .toc-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; color: var(--muted); }
.toc ol { list-style: none; margin: 12px 0 0; padding: 0; font-size: 13.5px; line-height: 1.7; }
.toc li { margin: 0 0 11px; padding-left: 16px; position: relative; }
.toc li::before { content: ''; position: absolute; left: 0; top: .8em; width: 7px; height: 1px; background: var(--faint); transition: width .3s, background .3s; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--indigo); }
.toc a.on { color: var(--ink); font-weight: 700; }
.toc li:has(a.on)::before { background: var(--shu); width: 11px; }
.toc.inline { margin-top: 28px; padding: 16px 18px 6px; border: 1px solid var(--rule); border-radius: 4px; background: var(--card); }

/* 前後の日報・共有 */
.day-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.day-nav:empty { display: none; }
.day-nav a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--rule); border-radius: 4px; color: var(--ink); font-size: 15px; line-height: 1.7; transition: border-color .2s, background .2s; }
.day-nav a:hover { border-color: var(--ink); background: var(--card); }
.day-nav a .mono { font-size: 12px; color: var(--shu); }
.day-nav a.next { text-align: right; align-items: flex-end; }

/* 文章ページ */
.prose { max-width: 720px; }
.prose h2 { margin: 64px 0 18px; font-size: clamp(23px, 2.2vw, 30px); line-height: 1.5; font-weight: 700; }
.prose p, .prose li { font-size: 16.5px; line-height: 2; color: var(--ink-2); }
.prose ul { padding-left: 20px; margin: 0; }
.faq h3 { margin: 32px 0 8px; font-size: 18px; font-weight: 700; line-height: 1.6; padding-left: 16px; border-left: 3px solid var(--shu); }
.faq p { margin: 0; font-size: 16px; line-height: 2; color: var(--ink-2); }

/* 受け取り口の帯(記事・下層ページの末尾) */
.cta-band { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: center; padding: clamp(32px, 4.4vw, 60px); background: var(--night); color: var(--night-ink); border-radius: 6px; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: repeating-linear-gradient(to bottom, transparent 0 35px, rgba(236,231,219,.07) 35px 36px); }
.cta-band::after { content: '無料'; position: absolute; right: clamp(16px, 3vw, 40px); top: -10px; z-index: -1; font-family: var(--serif); font-weight: 800; font-size: clamp(90px, 13vw, 190px); line-height: 1; color: rgba(236,231,219,.05); pointer-events: none; }
.cta-band .eyebrow { color: #f0a493; }
.cta-band h2.sm { color: var(--night-ink); margin: 14px 0 12px !important; }
.cta-band p { color: var(--night-muted) !important; font-size: 15.5px; line-height: 1.95; max-width: 640px; }
.cta-band .actions { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.cta-band .tlink { color: var(--night-ink); text-decoration-color: rgba(236,231,219,.4); text-align: center; }
.cta-band .tlink:hover { color: #fff; text-decoration-color: #fff; }

/* 折りたたみ・切り替え */
details.more { margin-top: 12px; }
details.more summary { cursor: pointer; font-size: 14px; font-weight: 500; color: var(--indigo); list-style: none; display: inline-flex; align-items: center; gap: 8px; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::before { content: '+'; font-family: var(--mono); display: inline-grid; place-items: center; width: 20px; height: 20px; border: 1px solid currentColor; border-radius: 50%; font-size: 13px; line-height: 1; transition: transform .3s var(--ease); }
details.more[open] summary::before { content: '−'; transform: rotate(180deg); }
details.more summary:hover { text-decoration: underline; text-underline-offset: 4px; }
details.more p { margin: 10px 0 0; }
.seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin: 20px 0 16px; padding: 4px; border: 1px solid var(--rule-2); border-radius: 999px; background: var(--card); }
.seg button { appearance: none; border: 0; background: none; padding: 9px 20px; border-radius: 999px; font-family: var(--sans); font-size: 14.5px; font-weight: 500; line-height: 1.4; color: var(--ink-2); cursor: pointer; display: flex; flex-direction: column; align-items: center; transition: background .25s, color .25s; }
.seg button small { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.seg button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.seg button[aria-selected="true"] small { color: var(--paper); opacity: .7; }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: var(--sp-s); font-size: 14px; }
.subnav a { padding: 8px 16px; border: 1px solid var(--rule-2); border-radius: 999px; color: var(--ink-2); white-space: nowrap; line-height: 1.5; transition: border-color .2s, color .2s, background .2s; }
.subnav a:hover { border-color: var(--ink); color: var(--ink); background: var(--card); }

/* バックテスト: 結論を先に */
.takeaways { border-top: 1px solid var(--rule-strong); padding: 24px 0 28px; margin-bottom: 12px; }
.takeaways ol { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; counter-reset: tk; }
.takeaways li { counter-increment: tk; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; padding-top: 18px; border-top: 1px solid var(--rule); }
.takeaways li::before { content: '0' counter(tk); font-family: var(--mono); font-size: 12px; color: var(--shu); letter-spacing: .1em; }
.takeaways li b { font-family: var(--serif); font-size: 21px; line-height: 1.55; font-weight: 700; }
.takeaways li span { font-size: 15px; line-height: 1.9; color: var(--ink-2); }
.takeaways details.more { margin-top: 24px; }
.takeaways ul { margin: 10px 0 0; padding-left: 1.2em; max-width: 820px; }
.takeaways ul li { display: list-item; margin-bottom: 4px; padding: 0; border: 0; }
.takeaways ul li::before { content: none; }
.tk-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.tk-head .says { margin: 0; }

/* 旧ホーム・旧LPの部品(下層ページで使われている分) */
.quick { border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule); padding: 24px 0 28px; }
.cta-row { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--rule); }
.pair { margin: 44px 0 0; padding-top: 20px; border-top: 1px solid var(--rule-strong); font-size: 16px; line-height: 1.95; color: var(--ink-2); max-width: 880px; }
.pair b { font-weight: 700; color: var(--ink); }
.follow { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: center; gap: 20px 40px; flex-wrap: wrap; }
.follow p { margin: 0; font-size: 15px; line-height: 1.9; color: var(--ink-2); max-width: 640px; }
.schema { position: relative; }
.schema .mk { position: absolute; width: 12px; height: 11px; overflow: visible; }
.schema .mk.s { transform: translate(-50%, -100%); fill: var(--indigo); }
.schema .mk.c { transform: translate(-50%, 1px); fill: var(--paper); stroke: var(--indigo); stroke-width: 1.3; }
.schema .tag { position: absolute; font-family: var(--mono); font-size: 12px; line-height: 1.4; color: var(--indigo); background: var(--paper); padding: 0 5px; }

/* ---------- キャラクター(キロク=記録係のフクロウ / フリコ=振り子しっぽの猫) ---------- */
.chara { display: block; height: auto; max-width: 100%; user-select: none; }
.says { display: flex; align-items: flex-end; gap: 14px; margin: 28px 0 0; }
.says.mt { margin-top: 44px; }
.says .chara { flex: none; width: auto; height: 108px; }
.says p { position: relative; margin: 0 0 16px !important; padding: 13px 18px; border: 1px solid var(--ink); border-radius: 18px 18px 18px 4px; background: var(--card); font-family: var(--sans); font-size: 14.5px !important; line-height: 1.8 !important; color: var(--ink) !important; max-width: 440px; box-shadow: 3px 3px 0 var(--ink); }
.says.r { flex-direction: row-reverse; }
.says.r p { border-radius: 18px 18px 4px 18px; }
.says.col { flex-direction: column-reverse; align-items: flex-start; gap: 6px; margin-top: 36px; }
.says.col p { margin-bottom: 8px !important; border-radius: 18px 18px 18px 4px; }
.says.col .chara { height: 140px; }
.panel .says p { background: var(--paper); }
.h1-mate { display: flex; align-items: flex-end; margin-top: 18px; }
.h1-mate .chara { height: 80px; width: auto; flex: none; }
.h1-mate::after { content: ''; flex: 1; margin: 0 0 4px 14px; border-bottom: 1px dashed var(--rule-2); }
.h1-chara { display: none; }
.who-chara { margin-top: 20px; width: 240px; }
.list-chara { margin-top: 28px; width: 200px; display: block; }
.cast { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 8px; }
.cast .chara { margin-bottom: 12px; }
.cast h3 { font-size: 18px; margin: 0 0 6px; }
.cast p { margin: 0 !important; }

/* ---------- 下の受け取り口(スマホ) ---------- */
.dock { display: none; }

/* =========================================================================
   ホーム / LP の部品
   ========================================================================= */

/* ヒーロー: 罫線(=段)の上で、相場が行って戻る */
.hero { position: relative; isolation: isolate; min-height: min(calc(100svh - var(--hd-h)), 900px); display: flex; flex-direction: column; justify-content: space-between; padding-block: clamp(36px, 5vw, 72px) 0; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; display: block; }
.hero-inner { position: relative; }
.hero > .wrap { width: 100%; }
.hero .eyebrow { margin-bottom: clamp(20px, 3vw, 36px); }
.hero h1.display .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1.display .ln > span { display: inline-block; }
.hero h1.display em { font-style: normal; color: var(--shu); }
.hero-foot { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 400px); justify-content: space-between; align-items: end; gap: 32px 48px; padding-bottom: clamp(28px, 4vw, 56px); }
.hero-foot .lead-lg { margin: 0; color: var(--ink-2); }
.hero-foot .lead-lg b { color: var(--ink); }
.hero .actions { margin-top: 28px; }
.hero-note { position: absolute; right: var(--pad-x); top: clamp(36px, 5vw, 72px); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--muted); writing-mode: vertical-rl; }
.live-card { background: color-mix(in srgb, var(--card) 92%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--ink); border-radius: 6px; padding: 18px 20px 16px; box-shadow: 6px 6px 0 var(--ink); text-decoration: none; color: var(--ink); display: block; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.live-card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); color: var(--ink); }
.lc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; }
.lc-top .st { display: inline-flex; align-items: center; gap: 8px; }
.lc-top .t { font-family: var(--mono); font-size: 11.5px; color: var(--muted); font-weight: 400; }
.lc-main { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--rule); }
.lc-main .k { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.lc-main .v { font-family: var(--mono); font-size: 30px; font-weight: 500; letter-spacing: -.02em; color: var(--indigo); line-height: 1.1; }
.lc-rows { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 12px; border-top: 1px solid var(--rule); }
.lc-rows > div { padding: 10px 0 0; font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.lc-rows > div + div { padding-left: 12px; border-left: 1px solid var(--rule); }
.lc-rows b { display: block; font-family: var(--mono); font-size: 16px; font-weight: 500; color: var(--ink); margin-top: 2px; }
.lc-go { display: flex; justify-content: space-between; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--indigo); }
.lc-go .arr { font-family: var(--mono); transition: transform .3s var(--ease); }
.live-card:hover .lc-go .arr { transform: translateX(4px); }

/* 流れる数字の帯 */
.ticker { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--ink); color: var(--paper); overflow: hidden; white-space: nowrap; position: relative; }
.ticker-track { display: inline-flex; animation: tick 46s linear infinite; padding-block: 13px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { display: inline-flex; align-items: center; gap: 10px; padding: 0 28px; font-family: var(--mono); font-size: 13px; letter-spacing: .04em; }
.ticker span::after { content: '◆'; font-size: 7px; color: var(--shu); margin-left: 28px; }
.ticker b { font-weight: 500; color: #fff; }
.ticker em { font-style: normal; color: #f0a493; }
@keyframes tick { to { transform: translateX(-50%); } }

/* 章の見出し(縦書きの章名+番号) */
.chap { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 clamp(16px, 3vw, 48px); }
.chap-side { position: relative; }
.chap-side .no { font-family: var(--mono); font-size: 12px; color: var(--shu); letter-spacing: .1em; }
.chap-side .vt { display: block; margin-top: 14px; writing-mode: vertical-rl; font-family: var(--serif); font-size: 15px; font-weight: 600; letter-spacing: .3em; color: var(--muted); }
.chap-side::after { content: ''; position: absolute; left: 7px; top: 140px; bottom: 0; width: 1px; background: linear-gradient(var(--rule-2), transparent); }
.sec-title { max-width: 980px; }
.sec-title .lead-lg { max-width: 680px; }

/* はじめての方へ: 3枚 */
.start { padding-block: var(--sp-l) var(--sp-m); }
.start-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(40px, 5vw, 72px); counter-reset: st; }
.st-card { position: relative; background: var(--card); border: 1px solid var(--rule-2); border-radius: 6px; padding: 28px 28px 30px; display: flex; flex-direction: column; min-height: 100%; transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease); }
.st-card:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: 0 24px 40px -28px rgba(21,20,15,.45); }
.st-card .q { font-family: var(--mono); font-size: 12px; color: var(--shu); letter-spacing: .1em; }
.st-card h3 { font-size: clamp(20px, 1.75vw, 24px); margin: 14px 0 0; line-height: 1.45; }
.st-card p { margin: 14px 0 0; font-size: 15.5px; line-height: 1.95; color: var(--ink-2); }
.st-card .ill { height: 120px; margin-top: auto; padding-top: 24px; display: flex; align-items: flex-end; justify-content: flex-end; }
.st-card .ill img, .st-card .ill svg { height: 100%; width: auto; }
.st-card .tag { display: inline-block; margin-top: 16px; font-size: 12.5px; color: var(--muted); }

/* 根拠: 20倍 */
.evidence { padding-block: var(--sp-m) var(--sp-l); }
.ev-grid { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(32px, 6vw, 96px); align-items: end; }
.ev-bars { display: grid; gap: 34px; }
.ev-row .k { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 14px; color: var(--ink-2); }
.ev-row .v { font-family: var(--mono); font-size: clamp(34px, 5vw, 72px); line-height: 1; letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
.ev-row .v small { font-size: .3em; letter-spacing: 0; margin-left: 6px; color: var(--muted); }
.ev-bar { margin-top: 14px; height: 18px; position: relative; background: repeating-linear-gradient(90deg, var(--rule) 0 1px, transparent 1px 10%); }
.ev-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: var(--indigo); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease); }
.ev-row.short .ev-bar i { background: var(--shu); }
.in .ev-bar i, .ev-bar.in i { transform: scaleX(1); }
.ev-big { border-top: 1px solid var(--ink); padding-top: 20px; }
.ev-big .x { font-family: var(--serif); font-weight: 800; font-size: clamp(110px, 14vw, 220px); line-height: .9; letter-spacing: -.04em; color: var(--shu); }
.ev-big .x small { font-size: .26em; color: var(--ink); letter-spacing: 0; margin-left: .08em; }
.ev-big p { margin: 18px 0 0; font-size: 16px; line-height: 1.95; color: var(--ink-2); }
.ev-mini { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule-2); }
.ev-mini > div { padding: 22px 24px 0 0; }
.ev-mini > div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
.ev-mini .v { font-family: var(--mono); font-size: clamp(28px, 3vw, 40px); letter-spacing: -.02em; line-height: 1.1; }
.ev-mini .v small { font-size: 15px; margin-left: 4px; color: var(--muted); }
.ev-mini p { margin: 10px 0 0; font-size: 14px; line-height: 1.85; color: var(--ink-2); }

/* しくみ: 図を固定して、手順だけ流す */
.how { padding-block: var(--sp-l); background: var(--card); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); --surface: var(--card); }
.how-grid { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.how-fig { position: sticky; top: max(calc(var(--hd-h) + 32px), calc(50vh - 250px)); align-self: start; }
.how-stage { position: relative; border: 1px solid var(--ink); border-radius: 6px; background: var(--paper); overflow: hidden; }
.how-stage svg { display: block; width: 100%; height: auto; }
.how-cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.how-cap .pg { font-family: var(--mono); color: var(--ink); white-space: nowrap; }
.how-steps { list-style: none; margin: 0; padding: 0; }
.how-step { min-height: 62vh; padding: 0 0 40px; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .5s var(--ease); }
.how-step:first-child { min-height: 50vh; justify-content: flex-start; padding-top: 8px; }
.how-step:last-child { min-height: 56vh; }
.how-step.on { opacity: 1; }
.how-step .n { font-family: var(--serif); font-weight: 800; font-size: 64px; line-height: 1; color: var(--shu); letter-spacing: -.02em; }
.how-step h3 { font-size: clamp(22px, 2.2vw, 30px); margin: 14px 0 12px; line-height: 1.45; }
.how-step p { margin: 0; font-size: 16px; line-height: 2; color: var(--ink-2); max-width: 520px; }
.how-step .eg { margin-top: 16px; padding: 14px 16px; border-left: 3px solid var(--indigo); background: var(--indigo-soft); font-size: 14.5px; line-height: 1.85; color: var(--ink-2); max-width: 520px; }
.how-step .eg b { color: var(--ink); }
.how-after { margin-top: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding: 28px 32px; border: 1px solid var(--ink); border-radius: 6px; background: var(--paper); }
.how-after p { margin: 0; font-size: 16px; line-height: 1.95; color: var(--ink-2); }
.how-after b { color: var(--ink); }
/* 図の状態(data-step) */
.hw .s1only { opacity: 0; transition: opacity .5s var(--ease); }
.hw[data-step="1"] .s1only { opacity: 1; }
.hw .s1, .hw .s2, .hw .s3, .hw .s4 { opacity: 0; transition: opacity .6s var(--ease); }
.hw[data-step="1"] .s1, .hw[data-step="2"] .s1, .hw[data-step="3"] .s1, .hw[data-step="4"] .s1 { opacity: 1; }
.hw[data-step="2"] .s2, .hw[data-step="3"] .s2, .hw[data-step="4"] .s2 { opacity: 1; }
.hw[data-step="3"] .s3, .hw[data-step="4"] .s3 { opacity: 1; }
.hw[data-step="4"] .s4 { opacity: 1; }
.hw .path { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; transition: stroke-dashoffset 1.6s var(--ease); }
.hw .path.a { stroke-dasharray: 700; stroke-dashoffset: 700; }
.hw .path.b { stroke-dasharray: 760; stroke-dashoffset: 760; }
.hw[data-step="3"] .path.a, .hw[data-step="4"] .path.a { stroke-dashoffset: 0; }
.hw[data-step="4"] .path.b { stroke-dashoffset: 0; }
.hw .lv { stroke: var(--ink); stroke-opacity: .32; stroke-dasharray: 3 6; }
.hw .band { fill: var(--indigo); fill-opacity: .07; }
.hw .bandline { stroke: var(--indigo); stroke-width: 1.4; }
.hw text { font-family: var(--mono); font-size: 13px; fill: var(--muted); }
.hw text.jp { font-family: var(--sans); font-size: 14px; fill: var(--ink-2); font-weight: 500; }
.hw .sell { fill: var(--indigo); }
.hw .close { fill: var(--paper); stroke: var(--indigo); stroke-width: 1.6; }
.hw .gain rect { fill: var(--shu); }
.hw .gain text { fill: #fff; font-family: var(--mono); font-size: 12px; font-weight: 500; }
.hw .pop { transform-box: fill-box; transform-origin: center; }
.hw[data-step="3"] .s3.pop, .hw[data-step="4"] .s3.pop, .hw[data-step="4"] .s4.pop { animation: pop .5s var(--ease) both; }
@keyframes pop { from { transform: scale(.2); } to { transform: scale(1); } }

/* 夜の面: 稼働中の計器 */
.night { background: var(--night); color: var(--night-ink); --surface: var(--night);
  --ink: #ece7db; --ink-2: #c9c4b8; --muted: #9ba1ae; --faint: #6c7383; --card: var(--night-2); --paper: var(--night);
  --rule: rgba(236,231,219,.12); --rule-2: rgba(236,231,219,.24); --rule-strong: rgba(236,231,219,.55);
  --indigo: #9db2e6; --indigo-soft: rgba(157,178,230,.09); --indigo-bar: rgba(157,178,230,.45);
  --c-ink: #ece7db; --c-accent: #9db2e6; --c-accent-soft: rgba(157,178,230,.12); --c-muted: #9ba1ae; --c-grid: rgba(236,231,219,.2); --c-up: #0e131f; }
.night a.tlink, .night a { color: #c3d0f2; text-decoration-color: rgba(195,208,242,.45); }
.night a:hover { color: #fff; }
.night .btn, .night .btn:hover { color: #fff; }
.night .btn-o { border-color: var(--ink); color: var(--ink); }
.night .btn-o:hover { background: var(--ink); color: var(--night); }
.night .says p { background: var(--night-2); border-color: var(--ink); color: var(--ink) !important; box-shadow: 3px 3px 0 rgba(236,231,219,.5); }
.night .says .chara { filter: none; }
.live { padding-block: var(--sp-l); position: relative; overflow: hidden; }
.live::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(to bottom, transparent 0 47px, rgba(236,231,219,.045) 47px 48px); pointer-events: none; }
.live .wrap { position: relative; }
.live-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.live-head .meta { font-family: var(--mono); font-size: 12.5px; color: var(--muted); line-height: 1.8; text-align: right; }
.live-stats { margin-top: clamp(36px, 4vw, 56px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; }
.live-stats > div { background: var(--night); padding: 22px 22px 24px; min-width: 0; }
.live-stats .s-l { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.live-stats .s-v { margin-top: 10px; font-family: var(--mono); font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -.02em; line-height: 1.2; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.live-stats .s-v.accent { color: var(--indigo); }
.live-stats .s-v small { font-size: 14px; color: var(--muted); }
.live-stats .s-s { margin-top: 6px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.live-body { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 20px; }
.live-panel { border: 1px solid var(--rule); border-radius: 6px; padding: 22px 24px 20px; background: rgba(255,255,255,.015); min-width: 0; }
.live-panel .fig-head { margin-bottom: 14px; }
.live-panel table.data td { padding: 11px 0; }
.live-trade { margin-top: 20px; }
.live-foot { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.live-foot .pair { margin: 0; padding-top: 0; border: 0; color: var(--ink-2); }

/* 23年の検証 */
.bt { padding-block: var(--sp-l) var(--sp-m); }
.bt-nums { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.bt-nums > div { padding: 26px 28px 8px 0; }
.bt-nums > div + div { padding-left: 28px; border-left: 1px solid var(--rule); }
.bt-nums .k { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.bt-nums .v { margin-top: 10px; font-family: var(--serif); font-weight: 800; font-size: clamp(54px, 7vw, 108px); line-height: 1; letter-spacing: -.03em; }
.bt-nums .v small { font-family: var(--sans); font-weight: 700; font-size: .26em; margin-left: .2em; letter-spacing: .02em; }
.bt-nums .v.shu { color: var(--shu); }
.bt-nums p { margin: 14px 0 0; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }
.bt-fig { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.bt-fig .figure { border-top: 0; padding: 0; }
.bt-fig .figure img { border: 1px solid var(--rule-2); border-radius: 4px; }
.weak-note { border-top: 1px solid var(--ink); padding-top: 22px; }
.weak-note .kicker { display: block; margin-bottom: 10px; }
.weak-note h3 { font-size: 24px; margin: 0 0 12px; }
.weak-note p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.95; color: var(--ink-2); }

/* 資金に合わせた設定(計算) */
.sim { padding-block: var(--sp-m) var(--sp-l); }
.sim-box { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--ink); border-radius: 6px; overflow: hidden; background: var(--card); box-shadow: 8px 8px 0 var(--ink); }
.sim-in { padding: clamp(24px, 3.4vw, 48px); border-right: 1px solid var(--ink); }
.sim-in label { display: block; font-size: 14px; font-weight: 700; }
.sim-cap { display: flex; align-items: baseline; gap: 6px; margin-top: 10px; font-family: var(--mono); font-size: clamp(44px, 5vw, 72px); letter-spacing: -.03em; line-height: 1.05; }
.sim-cap small { font-family: var(--sans); font-size: 18px; font-weight: 700; letter-spacing: 0; }
input[type=range].rng { -webkit-appearance: none; appearance: none; width: 100%; margin: 28px 0 8px; height: 28px; background: transparent; cursor: pointer; --p: 30%; }
input[type=range].rng::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(to right, var(--shu) var(--p), var(--rule-2) var(--p)); }
input[type=range].rng::-moz-range-track { height: 6px; border-radius: 999px; background: var(--rule-2); }
input[type=range].rng::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--shu); }
input[type=range].rng::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: var(--card); border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); transition: transform .2s; }
input[type=range].rng::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--card); border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); }
input[type=range].rng:active::-webkit-slider-thumb { transform: scale(1.12); }
.sim-scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.sim-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.sim-presets button { appearance: none; border: 1px solid var(--rule-2); background: transparent; border-radius: 999px; padding: 7px 14px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.sim-presets button:hover, .sim-presets button.on { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.sim-out { padding: clamp(24px, 3.4vw, 48px); display: flex; flex-direction: column; }
.sim-out .k { font-size: 13px; color: var(--muted); }
.sim-set { margin-top: 6px; font-family: var(--serif); font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.45; }
.sim-rows { margin-top: 22px; border-top: 1px solid var(--rule-2); }
.sim-rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 14px; color: var(--ink-2); }
.sim-rows b { font-family: var(--mono); font-size: 20px; font-weight: 500; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; }
.sim-rows b.ac { color: var(--indigo); }
.sim-warn { margin-top: 18px; font-size: 12.5px; line-height: 1.85; color: var(--muted); }
.sim-warn.low { color: var(--shu); font-weight: 500; }
.sim-out .actions { margin-top: auto; padding-top: 24px; }

/* なぜ無料か */
.why-free { padding-block: var(--sp-m); }
.wf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.wf-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 10px; }
.wf-node { border: 1px solid var(--ink); border-radius: 6px; padding: 16px 14px; text-align: center; background: var(--card); font-size: 14px; line-height: 1.6; font-weight: 700; }
.wf-node small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); margin-top: 4px; }
.wf-node.me { background: var(--ink); color: var(--paper); }
.wf-node.me small { color: rgba(243,239,230,.7); }
.wf-arr { font-family: var(--mono); color: var(--shu); font-size: 13px; text-align: center; line-height: 1.4; }
.wf-arr small { display: block; font-size: 10.5px; color: var(--muted); font-family: var(--sans); }
.wf-text p { margin: 0 0 16px; font-size: 16px; line-height: 2; color: var(--ink-2); }

/* 受け取りの4ステップ(大きい受け取り口) */
.get { padding-block: var(--sp-l); background: var(--shu); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.get::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: repeating-linear-gradient(to bottom, transparent 0 47px, rgba(255,255,255,.09) 47px 48px); }
.get .eyebrow, .get .kicker { color: rgba(255,255,255,.8); }
.get h2.sec { color: #fff; }
.get .lead-lg { color: rgba(255,255,255,.88); }
.get-steps { list-style: none; margin: clamp(40px, 5vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.5); counter-reset: gs; }
.get-steps li { padding: 24px 24px 0 0; position: relative; }
.get-steps li + li { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.28); }
.get-steps .n { font-family: var(--serif); font-weight: 800; font-size: 56px; line-height: 1; color: #fff; }
.get-steps b { display: block; margin-top: 14px; font-size: 18px; line-height: 1.5; }
.get-steps p { margin: 8px 0 0; font-size: 14px; line-height: 1.85; color: rgba(255,255,255,.85); }
.get-steps .tm { display: inline-block; margin-top: 12px; font-family: var(--mono); font-size: 12px; padding: 3px 10px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; }
.get-cta { margin-top: clamp(40px, 5vw, 64px); display: flex; align-items: center; gap: 20px 32px; flex-wrap: wrap; }
.get .btn { --b: var(--ink); --b2: #000; box-shadow: 0 18px 36px -18px rgba(0,0,0,.6); }
.get .tlink { color: #fff; text-decoration-color: rgba(255,255,255,.55); }
.get .tlink:hover { color: #fff; text-decoration-color: #fff; }
.get .note { font-size: 13px; color: rgba(255,255,255,.8); max-width: 520px; line-height: 1.85; }
.stamp { position: absolute; right: clamp(16px, 6vw, 96px); top: clamp(40px, 6vw, 96px); width: clamp(130px, 13vw, 190px); aspect-ratio: 1; display: grid; place-items: center; transform: rotate(-12deg); color: #fff; z-index: -1; }
.stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.stamp .ring { transform-origin: 100px 100px; animation: spin 28s linear infinite; }
.stamp text { font-family: var(--mono); font-size: 13px; letter-spacing: .22em; fill: currentColor; }
.stamp circle { fill: none; stroke: currentColor; }
.stamp > span { font-family: var(--serif); font-weight: 800; font-size: clamp(32px, 3.4vw, 48px); line-height: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

/* よくある質問(アコーディオン) */
.qa { padding-block: var(--sp-l) var(--sp-m); }
.qa-list { margin-top: clamp(36px, 4vw, 56px); border-top: 1px solid var(--ink); }
.qa-list details { border-bottom: 1px solid var(--rule-2); }
.qa-list summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 44px minmax(0, 1fr) 32px; gap: 12px; align-items: center; padding: 24px 0; font-family: var(--serif); font-weight: 700; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55; }
.qa-list summary::-webkit-details-marker { display: none; }
.qa-list summary .qn { font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--shu); letter-spacing: .08em; }
.qa-list summary .pm { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--ink); position: relative; transition: background .25s, transform .4s var(--ease); }
.qa-list summary .pm::before, .qa-list summary .pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .4s var(--ease), background .25s; }
.qa-list summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa-list details[open] summary .pm { background: var(--ink); }
.qa-list details[open] summary .pm::before { background: var(--paper); }
.qa-list details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0); background: var(--paper); }
.qa-list summary:hover .pm { transform: rotate(90deg); }
.qa-a { padding: 0 44px 28px 56px; font-size: 16px; line-height: 2; color: var(--ink-2); max-width: 900px; }
.qa-a p { margin: 0 0 12px; }

/* 次に読む(カード) */
.next-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.card-link { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 220px; padding: 26px; border: 1px solid var(--rule-2); border-radius: 6px; background: var(--card); transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease); }
.card-link:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: 0 24px 40px -28px rgba(21,20,15,.45); }
.card-link .mono { font-size: 12px; color: var(--shu); letter-spacing: .08em; }
.card-link b { display: block; margin-top: 12px; font-family: var(--serif); font-size: 20px; line-height: 1.55; font-weight: 700; color: var(--ink); }
.card-link .go { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.card-link .go i { font-style: normal; font-family: var(--mono); width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; color: var(--ink); transition: background .3s, color .3s, transform .4s var(--ease); }
.card-link:hover .go i { background: var(--shu); border-color: var(--shu); color: #fff; transform: translateX(4px); }

/* 運営と収益 */
.who { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); border-top: 1px solid var(--rule-strong); padding-top: 32px; }
.who-body { max-width: 720px; }
.who-body p { margin: 0 0 14px; font-size: 16px; line-height: 2; color: var(--ink-2); }
.who-body .actions { margin-top: 20px; }

/* LP */
.lp-hero { padding-block: clamp(40px, 6vw, 96px) clamp(48px, 6vw, 96px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.lp-hero h1.display { font-size: clamp(40px, 6.4vw, 104px); line-height: 1.1; }
.lp-hero h1 .free { color: var(--shu); position: relative; white-space: nowrap; }
.pkg { position: relative; border: 1px solid var(--ink); border-radius: 8px; background: var(--card); box-shadow: 10px 10px 0 var(--ink); padding: 26px 26px 22px; }
.pkg-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 12px; color: var(--muted); padding-bottom: 14px; border-bottom: 1px dashed var(--rule-2); }
.pkg ul { list-style: none; margin: 0; padding: 0; }
.pkg li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.pkg li:last-child { border-bottom: 0; }
.pkg .ic { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--ink); display: grid; place-items: center; font-family: var(--mono); font-size: 11px; font-weight: 500; background: var(--paper); }
.pkg .ic.ac { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.pkg li b { display: block; font-size: 15.5px; line-height: 1.5; }
.pkg li span { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.pkg-foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--ink); }
.pkg-foot .price { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.pkg-foot .price s { margin-right: 10px; }
.pkg-foot .zero { font-family: var(--serif); font-weight: 800; font-size: 40px; line-height: 1; color: var(--shu); }
.pkg-foot .zero small { font-size: 15px; margin-left: 4px; }
.pkg .stamp { right: -34px; top: -50px; z-index: 2; color: var(--shu); width: 124px; }
.pkg .stamp::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--paper); z-index: -1; }
.pkg .stamp > span { font-size: 28px; }
.facts-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); margin-top: 0; }
.facts-row > div { padding: 18px 20px 18px 0; font-size: 13px; color: var(--muted); line-height: 1.6; }
.facts-row > div + div { padding-left: 20px; border-left: 1px solid var(--rule); }
.facts-row b { display: block; margin-top: 4px; font-size: 17px; color: var(--ink); line-height: 1.5; }
.tl { list-style: none; margin: 0; padding: 0; position: relative; }
.tl::before { content: ''; position: absolute; left: 31px; top: 12px; bottom: 40px; width: 1px; background: var(--rule-2); }
.tl > li { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 24px; padding-bottom: 48px; }
.tl .n { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--ink); background: var(--paper); display: grid; place-items: center; font-family: var(--serif); font-weight: 800; font-size: 24px; position: relative; z-index: 1; transition: background .4s, color .4s; }
.tl > li.in .n { background: var(--ink); color: var(--paper); }
.tl h3 { font-size: clamp(20px, 2vw, 26px); margin: 12px 0 10px; }
.tl .tm { display: inline-block; font-family: var(--mono); font-size: 12px; color: var(--shu); border: 1px solid var(--shu); border-radius: 999px; padding: 2px 10px; margin-left: 10px; vertical-align: middle; }
.tl .actions { margin-top: 4px; }
.tl p { margin: 0 0 14px; font-size: 16px; line-height: 2; color: var(--ink-2); max-width: 680px; }
.tl .opt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 6px 0 18px; max-width: 680px; }
.tl .opt div { border: 1px solid var(--rule-2); border-radius: 6px; padding: 12px 14px; font-size: 12.5px; color: var(--muted); line-height: 1.6; background: var(--card); }
.tl .opt b { display: block; font-size: 16px; color: var(--ink); }
.need { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.need > div { border: 1px solid var(--rule-2); border-radius: 6px; padding: 26px; background: var(--card); }
.need .ck { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 13px; margin-bottom: 14px; }
.need h3 { font-size: 19px; }
.need p { margin: 0; font-size: 15px; line-height: 1.95; color: var(--ink-2); }

/* =========================================================================
   表示の演出(スクロールで現れる)。動きを減らす設定では全部止める
   ========================================================================= */
.js [data-r] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-r].in { opacity: 1; transform: none; }
.js [data-r="fade"] { transform: none; }
.js [data-r="clip"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease-io); transition-delay: var(--d, 0s); }
.js [data-r="clip"].in { clip-path: inset(0 0 0 0); }
.hero h1.display .ln > span { animation: rise 1.1s var(--ease) both; animation-delay: calc(.15s + var(--i, 0) * .12s); }
.hero .eyebrow, .hero-foot > * { animation: fadeup 1s var(--ease) both; animation-delay: .6s; }
.hero-foot > * + * { animation-delay: .75s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-r] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .ev-bar i { transform: none; }
  .hw .path.a, .hw .path.b { stroke-dashoffset: 0; }
}

/* =========================================================================
   レスポンシブ
   ========================================================================= */
@media (max-width: 1180px) {
  .brand-tag { display: none; }
  nav.gnav a { padding: 8px 10px; }
  .live-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .live-stats > div:nth-child(4), .live-stats > div:nth-child(5) { grid-column: span 1; }
}
@media (max-width: 1024px) {
  .hero-sub, .two, .two-eq, .article-grid, .ev-grid, .how-grid, .bt-fig, .wf, .lp-hero, .live-body { grid-template-columns: 1fr !important; }
  .two > *, .two-eq > *, .hero-sub > *, .article-grid > * { min-width: 0; }
  .article-grid { justify-content: stretch; }
  .stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-grid > div:nth-child(3n) { border-right: 0; }
  .stat-grid > div:nth-child(3n+1) { padding-left: 0; }
  .stat-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-grid.four > div:nth-child(3n) { border-right: 1px solid var(--rule); }
  .stat-grid.four > div:nth-child(2n) { border-right: 0; }
  .points { grid-template-columns: 1fr; gap: 28px; }
  .takeaways ol { grid-template-columns: 1fr; gap: 22px; }
  .says.col { flex-direction: row; align-items: flex-end; gap: 14px; margin-top: 24px; }
  .says.col p { margin-bottom: 16px !important; }
  .says.col .chara { height: 108px; }
  .who { grid-template-columns: 1fr; gap: 16px; }
  .who-chara { width: 200px; margin-top: 12px; }
  .list-chara { display: none; }
  .hero-foot { grid-template-columns: 1fr; padding-top: 190px; }
  .hero { min-height: 0; }
  .live-card { max-width: 460px; }
  .start-grid, .next-cards { grid-template-columns: 1fr; }
  .st-card { display: grid; grid-template-columns: minmax(0, 1fr) 110px; column-gap: 20px; }
  .st-card > :not(.ill) { grid-column: 1; }
  .st-card .ill { grid-column: 2; grid-row: 1 / span 4; height: auto; padding: 0; align-items: center; }
  .st-card .ill img { width: 110px; height: auto; }
  .how-fig { top: calc(var(--hd-h) + 8px); z-index: 2; }
  .how-step { min-height: 46vh; }
  .how-after { grid-template-columns: 1fr; }
  .bt-nums { grid-template-columns: 1fr; }
  .bt-nums > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .sim-box { grid-template-columns: 1fr; }
  .sim-in { border-right: 0; border-bottom: 1px solid var(--ink); }
  .get-steps { grid-template-columns: 1fr 1fr; }
  .get-steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .get-steps li:nth-child(n+3) { margin-top: 24px; border-top: 1px solid rgba(255,255,255,.28); }
  .ft-top { grid-template-columns: 1fr; gap: 40px; }
  .facts-row { grid-template-columns: 1fr 1fr; }
  .facts-row > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts-row > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .live-foot { grid-template-columns: 1fr; }
  .chap { grid-template-columns: 1fr; }
  .chap-side { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
  .chap-side .vt { writing-mode: horizontal-tb; margin: 0; font-size: 13px; letter-spacing: .2em; }
  .chap-side::after { display: none; }
}
@media (max-width: 900px) {
  :root { --hd-h: 60px; }
  /* backdrop-filter があると中の position:fixed(メニュー)がヘッダーの高さに閉じ込められる */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--paper); }
  .hd-pill { margin-left: auto; }
  .menu-btn { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; padding: 0; background: none; border: 0; cursor: pointer; position: relative; z-index: 61; }
  .menu-btn i { position: absolute; width: 22px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), background .3s; }
  .menu-btn i:first-child { transform: translateY(-4px); }
  .menu-btn i:last-child { transform: translateY(4px); }
  .nav-open .menu-btn i { background: var(--paper); }
  .nav-open .menu-btn i:first-child { transform: rotate(45deg); }
  .nav-open .menu-btn i:last-child { transform: rotate(-45deg); }
  .nav-open .brand { color: var(--paper); position: relative; z-index: 61; }
  .nav-open .site-header { border-bottom-color: transparent; }
  nav.gnav { position: fixed; inset: 0; z-index: 60; margin: 0; padding: calc(var(--hd-h) + 24px) var(--pad-x) 32px; background: var(--night); flex-direction: column; align-items: stretch; gap: 0; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s; overflow-y: auto; }
  .nav-open nav.gnav { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
  nav.gnav a { display: flex; align-items: baseline; gap: 16px; padding: 18px 0; border-radius: 0; border-bottom: 1px solid var(--night-rule); color: var(--night-ink); font-family: var(--serif); font-weight: 700; font-size: 28px; line-height: 1.3; transform: translateY(14px); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease); }
  .nav-open nav.gnav a { transform: none; opacity: 1; }
  nav.gnav a:nth-child(2) { transition-delay: .04s; } nav.gnav a:nth-child(3) { transition-delay: .08s; } nav.gnav a:nth-child(4) { transition-delay: .12s; } nav.gnav a:nth-child(5) { transition-delay: .16s; }
  nav.gnav a:not(.cta):hover { background: none; color: #fff; }
  nav.gnav a.on:not(.cta)::after { left: auto; right: 0; bottom: 50%; transform: none; }
  nav.gnav .nav-n { display: inline; font-family: var(--mono); font-weight: 400; font-size: 12px; color: #f0a493; }
  nav.gnav a.cta { margin: 32px 0 0; justify-content: center; border-radius: 999px; border: 0; font-family: var(--sans); font-size: 17px; padding: 18px; }
  .nav-open body, body.nav-lock { overflow: hidden; }
  .dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 22px; background: var(--shu); color: #fff; border-radius: 999px; box-shadow: 0 16px 36px -14px rgba(120,30,10,.6); transform: translateY(140%); transition: transform .5s var(--ease); }
  .dock.on { transform: none; }
  .dock span { font-weight: 700; font-size: 15.5px; letter-spacing: .04em; line-height: 1.3; }
  .dock small { display: block; font-weight: 400; font-size: 11px; opacity: .85; letter-spacing: .02em; }
  .dock i { font-style: normal; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--shu); display: grid; place-items: center; font-family: var(--mono); }
  .site-footer { padding-bottom: 76px; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .hide-s { display: none; }
  .brand svg { width: 32px; height: 32px; } .brand-name { font-size: 19px; }
  .hd-pill { font-size: 11px; padding: 5px 10px; }
  .hd-pill .t { display: none; }
  h3 { font-size: 18px; }
  .lead, .lead-lg { margin-top: 22px; font-size: 16px; line-height: 1.95; }
  .btn { width: 100%; padding: 18px 24px; }
  .btn-o { padding: 15px 22px; }
  .actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .actions .tlink { text-align: center; }
  .stat-grid, .stat-grid.four, .stat-grid.three, .stat-grid.two-col { grid-template-columns: 1fr; border-bottom: 0; }
  .stat-grid > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0 !important; border-right: 0 !important; border-bottom: 1px solid var(--rule); }
  .stat-grid .s-v { font-size: 22px; margin-top: 0; }
  .stat-grid .s-s { display: none; }
  .chart { height: 180px; }
  .fig-grid, .fig-grid.narrow { grid-template-columns: minmax(0, 1fr) 46px; gap: 8px; }
  .yaxis, .xaxis { font-size: 10.5px; }
  .xaxis, .fig-grid.narrow + .xaxis { padding-right: 54px; }
  dl.spec { grid-template-columns: 1fr; }
  dl.spec dt { padding-bottom: 0; border-bottom: 0; }
  dl.spec dd { padding-top: 2px; }
  table.data { font-size: 13px; }
  table.data th { font-size: 11.5px; }
  table.data .hide-m { display: none; }
  table.data.cmp { white-space: normal; font-size: 13px; line-height: 1.6; table-layout: fixed; }
  table.data.cmp th, table.data.cmp td { padding-left: 10px; vertical-align: top; }
  table.data.cmp th:first-child, table.data.cmp td:first-child { padding-left: 0; width: 34%; font-family: var(--sans); }
  .article-list a { grid-template-columns: 1fr auto; gap: 4px 12px; padding: 16px 8px; margin: 0 -8px; font-size: 15.5px; }
  .article-list a .mono { grid-column: 1 / -1; }
  .article-list a > span:not(.mono) { grid-column: 1; grid-row: 2; }
  .article-list a::after { grid-column: 2; grid-row: 2; }
  .article-list.reads a { grid-template-columns: 1fr auto; }
  article h2 { margin-top: 60px; }
  article p, article .intro { font-size: 16px; line-height: 2; }
  .pos-bar { grid-template-columns: 56px minmax(0, 1fr) 72px; }
  .day-nav { grid-template-columns: 1fr; }
  .day-nav a.next { text-align: left; align-items: flex-start; }
  .says { gap: 10px; }
  .says .chara, .says.col .chara { height: 80px; }
  .says p { font-size: 14px !important; padding: 11px 14px; }
  .h1-mate { margin-top: 12px; }
  .h1-mate .chara { height: 58px; }
  .cast { grid-template-columns: 1fr; gap: 24px; }
  .subnav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-right: 0; max-width: 100vw; }
  .subnav::-webkit-scrollbar { display: none; }
  .subnav a:last-child { margin-right: var(--pad-x); }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .actions { align-items: stretch; }
  .follow .btn-o { width: 100%; }
  /* ホーム */
  .hero { min-height: 0; padding-top: 28px; }
  .hero h1.display { font-size: clamp(44px, 13.4vw, 64px); line-height: 1.1; }
  .hero-note { display: none; }
  .hero-foot { padding-top: 172px; gap: 24px; padding-bottom: 28px; }
  .hero-foot .lead-lg { font-size: 15.5px; }
  .live-card { box-shadow: 4px 4px 0 var(--ink); padding: 16px 16px 14px; }
  .lc-main .v { font-size: 26px; }
  .ticker span { font-size: 12px; padding: 0 18px; }
  .ticker span::after { margin-left: 18px; }
  .st-card { grid-template-columns: minmax(0, 1fr) 80px; padding: 22px 20px 24px; }
  .st-card .ill img { width: 80px; }
  .ev-mini { grid-template-columns: 1fr; }
  .ev-mini > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); margin-top: 20px; }
  .how-stage { border-radius: 4px; }
  .how-fig .how-cap { display: none; }
  .how-step { min-height: 52vh; }
  .how-step:first-child { min-height: 40vh; }
  .how-step .n { font-size: 44px; }
  .how-after { padding: 22px 20px; }
  .live-stats { grid-template-columns: 1fr 1fr; }
  .live-stats > div:first-child { grid-column: 1 / -1; }
  .live-stats > div { padding: 16px; }
  .live-panel { padding: 18px 16px 16px; }
  .live-head .meta { text-align: left; }
  .sim-box { box-shadow: 5px 5px 0 var(--ink); }
  .get-steps { grid-template-columns: 1fr; }
  .get-steps li, .get-steps li + li { padding: 22px 0 0 !important; border-left: 0 !important; margin-top: 0 !important; }
  .get-steps li + li { border-top: 1px solid rgba(255,255,255,.28); margin-top: 22px !important; }
  .stamp { top: 20px; right: 12px; width: 104px; }
  .stamp > span { font-size: 24px; }
  .qa-list summary { grid-template-columns: 34px minmax(0, 1fr) 30px; padding: 20px 0; }
  .qa-a { padding: 0 0 24px 46px; font-size: 15.5px; }
  .wf-flow { grid-template-columns: 1fr; }
  .wf-arr { transform: rotate(90deg); padding: 4px 0; }
  .wf-arr small { transform: rotate(-90deg); }
  .ft-nav { grid-template-columns: 1fr 1fr; }
  .ft-bottom { flex-direction: column-reverse; align-items: flex-start; }
  .pkg { box-shadow: 6px 6px 0 var(--ink); padding: 20px 18px 16px; }
  .pkg .stamp { right: -8px; top: -52px; width: 100px; }
  .pkg .stamp > span { font-size: 22px; }
  .tl::before { left: 23px; }
  .tl > li { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; }
  .tl .n { width: 48px; height: 48px; font-size: 19px; }
  .tl h3 { margin-top: 8px; }
  .tl .tm { margin: 6px 0 0; display: table; }
  .tl .opt { grid-template-columns: 1fr; }
  .need { grid-template-columns: 1fr; }
  .facts-row { grid-template-columns: 1fr 1fr; }
}
