/* AI BUILDRICH モック — スタイル */
:root {
  --bg: #fafaf7;
  --bg-alt: #f2f2ee;
  --paper: #ffffff;
  --ink: #0f1b2d;        /* 濃紺 */
  --ink-2: #2b2f36;      /* チャコール */
  --ink-3: #5b6270;
  --ink-4: #8a909b;
  --line: #e3e3dd;
  --line-2: #d4d4cc;
  --blue: #2457e6;       /* アクセント1色 */
  --blue-ink: #1b43b8;
  --blue-soft: #eaf0fe;
  --dark: #0d1726;
  --dark-2: #142035;
  --dark-line: #24324a;
  --neg: #b4402e;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(15,27,45,.05), 0 8px 28px rgba(15,27,45,.06);
  --shadow-lg: 0 2px 4px rgba(15,27,45,.06), 0 24px 60px rgba(15,27,45,.12);
  --jp: "Noto Sans JP", system-ui, sans-serif;
  --en: "Inter", "Noto Sans JP", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0; background: var(--bg); color: var(--ink-2);
  font-family: var(--jp); font-size: 16px; line-height: 1.8; letter-spacing: .02em;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.4; letter-spacing: .01em; word-break: auto-phrase; text-wrap: balance; font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.wrap.narrow { max-width: 860px; }
.muted { color: var(--ink-3); }
.small { font-size: 13px; line-height: 1.7; }
.center { text-align: center; }
.eyebrow { font-family: var(--en); font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--blue); margin-bottom: 14px; }

/* ---------- モック表示 ---------- */
.mock-bar {
  position: fixed; left: 16px; bottom: 16px; z-index: 60; max-width: min(520px, calc(100vw - 32px));
  display: flex; gap: 10px; align-items: flex-start;
  background: rgba(15,27,45,.92); color: #e6e9ef; font-size: 12px; line-height: 1.6;
  padding: 9px 14px; border-radius: 10px; box-shadow: var(--shadow);
}
.mock-dot { width: 7px; height: 7px; border-radius: 50%; background: #f2b84b; margin-top: 6px; flex: none; }

/* ---------- ボタン・バッジ ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--blue); }
.btn-ghost { border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; white-space: normal; text-align: center; line-height: 1.4; }

.pill {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; border: 1px solid transparent;
}
.pill[data-status="prep"] { background: var(--blue-soft); color: var(--blue-ink); }
.pill[data-status="plan"] { background: #f0f0eb; color: var(--ink-3); border-color: var(--line); }
.pill[data-status="verify"] { background: #fff; color: var(--ink-2); border: 1px dashed var(--ink-4); }
.pill-blue { background: var(--blue); color: #fff; }
.tentative { display: inline-block; font-size: 11px; font-weight: 700; color: var(--ink-3); border: 1px solid var(--line-2); border-radius: 4px; padding: 0 6px; line-height: 1.6; }
.tag-m { display: inline-block; font-size: 11px; font-weight: 700; color: #fff; background: var(--blue); border-radius: 4px; padding: 0 6px; margin-right: 8px; line-height: 1.7; vertical-align: middle; }

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,250,247,.86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo-mark { width: 26px; height: 26px; fill: var(--ink); }
.logo-mark rect:nth-child(4) { fill: var(--blue); }
.logo-text { font-family: var(--en); color: var(--ink); display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.wm { font-weight: 800; font-size: 18px; letter-spacing: -.035em; line-height: 1; }
.wm-b { color: var(--blue); }
.wm-p { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--ink-3); margin-right: -2px; }
.logo-light .wm-p { color: #8a97ad; }
.wm-s { font-size: 10px; font-weight: 700; letter-spacing: .2em; color: var(--ink-3); }
.logo-light .wm-b { color: #7fa0ff; }
.logo-light .wm-s { color: #8a97ad; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { font-size: 14px; color: var(--ink-2); font-weight: 500; white-space: nowrap; }
.nav a:hover { color: var(--blue); }
.audience, .aud-inline { display: inline-flex; padding: 3px; background: #ecece6; border-radius: 999px; flex: none; }
.aud-btn { height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--ink-3); white-space: nowrap; transition: background .2s, color .2s; }
.aud-btn[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(15,27,45,.12); }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 10px; position: relative; flex: none; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .25s, top .25s; }
.menu-btn span:first-child { top: 16px; } .menu-btn span:last-child { top: 23px; }
.nav-open .menu-btn span:first-child { top: 19.5px; transform: rotate(45deg); }
.nav-open .menu-btn span:last-child { top: 19.5px; transform: rotate(-45deg); }
.member-strip { display: none; background: var(--ink); color: #dfe5ef; font-size: 13px; }
.is-member .member-strip { display: block; }
.member-strip-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding-top: 8px; padding-bottom: 8px; }
.member-strip .muted { color: #9aa6ba; }

/* ---------- ヒーロー ---------- */
.hero { padding: 88px 0 104px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 64px; align-items: center; }
.hero-title { font-size: clamp(34px, 4.3vw, 58px); line-height: 1.32; letter-spacing: .01em; font-weight: 700; }
.hero-title span { display: block; }
.hero-title span:last-child { color: var(--blue); }
.hero-sub { margin-top: 26px; font-size: 17px; color: var(--ink-3); max-width: 31em; line-height: 1.9; }
.hero-earn { text-wrap: pretty; word-break: auto-phrase; margin-top: 12px; font-size: 15px; font-weight: 700; color: var(--ink); padding-left: 14px; border-left: 2px solid var(--blue); line-height: 1.7; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-facts { display: flex; gap: 0; margin: 44px 0 0; border-top: 1px solid var(--line); padding-top: 22px; }
.hero-facts div { flex: 1; padding-right: 16px; }
.hero-facts div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.hero-facts dt { font-family: var(--en); font-size: 12px; color: var(--ink-4); letter-spacing: .08em; }
.hero-facts dd { margin: 2px 0 0; font-weight: 700; color: var(--ink); font-size: 15px; }

.window { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--line); background: #fbfbf9; font-size: 12px; color: var(--ink-3); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2e2dc; }
.window-bar span { margin-left: 10px; font-family: var(--mono); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dummy-tag { margin-left: auto; font-style: normal; font-size: 11px; color: var(--ink-4); border: 1px solid var(--line); border-radius: 4px; padding: 0 6px; white-space: nowrap; }
.build { padding: 26px 26px 28px; background:
  radial-gradient(circle at 1px 1px, #e7e7e1 1px, transparent 0) 0 0 / 18px 18px; }
.build-layer { position: relative; }
.layer-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--ink-4); margin-bottom: 8px; }
.agent-card { display: flex; align-items: center; gap: 14px; background: var(--ink); color: #fff; border-radius: 14px; padding: 16px 18px; box-shadow: 0 10px 30px rgba(15,27,45,.25); }
.agent-ava { width: 42px; height: 42px; border-radius: 12px; background: var(--blue); display: grid; place-items: center; flex: none; }
.agent-ava svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.7; }
.agent-meta { display: flex; flex-direction: column; min-width: 0; line-height: 1.5; }
.agent-meta strong { font-size: 15px; }
.agent-meta span { font-size: 12px; color: #aab5c8; }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #c9d3e3; white-space: nowrap; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #5ad19a; animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.wires { display: block; width: 100%; height: 34px; overflow: visible; }
.wires path { fill: none; stroke: var(--blue); stroke-width: 1.4; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; animation: flow 1.6s linear infinite; opacity: .7; }
@keyframes flow { to { stroke-dashoffset: -18; } }
.skill-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.skill-chip { display: flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--line-2); border-radius: 11px; padding: 10px 11px; font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.4; box-shadow: var(--shadow); }
.skill-chip .ico { width: 28px; height: 28px; border-radius: 8px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex: none; }
.skill-chip .ico svg { width: 16px; height: 16px; }
.base-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.base-grid span { background: #f6f6f2; padding: 12px 12px; display: flex; flex-direction: column; line-height: 1.45; }
.base-grid b { font-size: 13px; color: var(--ink); font-family: var(--en); }
.base-grid small { font-size: 11px; color: var(--ink-3); }

/* ---------- セクション共通 ---------- */
.section { padding: 112px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: #c9d2e0; }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.45; }
.sec-head .lead { margin-top: 18px; color: var(--ink-3); font-size: 16px; line-height: 1.9; }
.on-dark h2 { color: #fff; }
.on-dark .lead { color: #a7b3c6; }
.on-dark .eyebrow { color: #7fa0ff; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-motion .reveal { opacity: 1; transform: none; transition: none; }
.no-motion *, .no-motion *::before, .no-motion *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .wires path, .live i, .float { animation: none !important; } }

/* ---------- 3ステップ ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: s; position: relative; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 28px; position: relative; }
.step + .step::before { content: ""; position: absolute; left: -24px; top: 92px; width: 24px; height: 1px; background: var(--line-2); }
.step-art { background: #f6f6f2; border-radius: 10px; margin-bottom: 20px; }
.step-art svg { display: block; width: 100%; height: auto; }
.step-art .runner { fill: none; stroke: #d6d6cf; stroke-width: 1.2; stroke-dasharray: 3 4; }
.step-art .part { stroke-width: 1.2; }
.step-art .base { fill: #dfe3ea; stroke: #b9c0cc; }
.step-art .stud { fill: #c8ced9; }
.step-art .p1, .step-art .p2, .step-art .p3 { fill: #fff; stroke: var(--blue); }
.step-art .top { fill: var(--ink); stroke: var(--ink); }
.step-art text { font-family: var(--jp); font-size: 11px; font-weight: 700; fill: var(--ink-2); }
.step-art .t-light { fill: #fff; }
.step-art .guide { stroke: var(--blue); stroke-dasharray: 2 3; fill: none; opacity: .6; }
.step-art .float { animation: bob 3.4s ease-in-out infinite; }
.step-art .f2 { animation-delay: .4s; } .step-art .f3 { animation-delay: .8s; }
@keyframes bob { 50% { transform: translateY(4px); } }
.step-no { font-family: var(--en); font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--blue); }
.step h3 { font-size: 22px; margin: 4px 0 10px; }
.step p { color: var(--ink-3); font-size: 15px; line-height: 1.85; }

/* ---------- 初心者キット ---------- */
.kit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.kit-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.kit-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.kit-card.open { border-color: var(--ink); }
.kit-toggle { display: flex; align-items: flex-start; gap: 14px; width: 100%; text-align: left; padding: 22px 22px 10px; }
.kit-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex: none; }
.kit-ico svg { width: 22px; height: 22px; }
.kit-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.kit-sub { font-size: 12px; color: var(--ink-4); font-weight: 700; letter-spacing: .04em; }
.kit-title { font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.5; word-break: auto-phrase; text-wrap: balance; }
.kit-plus { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; flex: none; margin-top: 4px; transition: transform .3s, background .2s; }
.kit-plus::before, .kit-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.kit-plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.kit-card.open .kit-plus { background: var(--ink); border-color: var(--ink); }
.kit-card.open .kit-plus::before, .kit-card.open .kit-plus::after { background: #fff; }
.kit-card.open .kit-plus::after { transform: translate(-50%, -50%) rotate(0); }
.kit-curr { padding: 0 22px 20px 80px; font-size: 13px; color: var(--ink-3); line-height: 1.75; }
.kit-curr span { display: block; font-family: var(--en); font-size: 11px; font-weight: 700; color: var(--ink-4); letter-spacing: .06em; }
.kit-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.kit-card.open .kit-detail { grid-template-rows: 1fr; }
.kit-detail-inner { overflow: hidden; }
.kit-detail-inner > * { margin-left: 22px; margin-right: 22px; }
.kit-detail-h { padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--ink-4); letter-spacing: .06em; }
.kit-detail ul { padding: 8px 0 22px; display: grid; gap: 8px; }
.kit-detail li { font-size: 14px; line-height: 1.6; display: flex; flex-direction: column; background: #f7f7f4; border-radius: 8px; padding: 9px 12px; }
.kit-detail .kind { font-size: 11px; font-weight: 700; color: var(--blue); }
.kit-foot { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 24px; }
.kit-foot > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.kit-foot-name { color: var(--ink); }
.price-inline b { font-family: var(--en); font-size: 22px; color: var(--ink); }
.price-inline small { font-size: 13px; margin-left: 2px; color: var(--ink-3); }
.price-inline .price-text { font-weight: 700; color: var(--ink); }

/* ---------- Skillストア ---------- */
.store { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.store-top { padding: 18px 22px 0; border-bottom: 1px solid var(--line); background: #fbfbf9; }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; flex: none; height: 46px; padding: 0 16px; font-size: 14px; font-weight: 700; color: var(--ink-3); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; background: var(--blue); border-radius: 2px; }
.tab-n { font-family: var(--en); font-size: 11px; color: var(--ink-4); background: #ececE6; border-radius: 999px; padding: 0 7px; line-height: 1.7; }
.store-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 12px 4px 14px; border-top: 1px solid var(--line); margin-top: 2px; }
.legend-item { display: inline-flex; align-items: center; gap: 8px; }
.legend-item small { font-size: 12px; color: var(--ink-3); }
.store-body { padding: 26px 22px 30px; min-height: 420px; }
.store-body.swap, .app-main.swap { animation: swap .4s ease; }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } }
.store-note { font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.skill-grid ~ .store-note { margin: 18px 0 0; }
.store-group + .store-group { margin-top: 28px; }
.store-group h4 { font-size: 14px; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--ink-2); }
.store-group h4 span { font-family: var(--en); font-size: 11px; color: var(--ink-4); }
.skill-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.skill-card { display: flex; flex-direction: column; text-align: left; gap: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px 16px 14px; transition: border-color .2s, box-shadow .2s, transform .2s; min-width: 0; }
.skill-card:hover { border-color: var(--ink-4); box-shadow: var(--shadow); transform: translateY(-2px); }
.sc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sc-ico { width: 38px; height: 38px; border-radius: 10px; background: #f1f3f7; color: var(--ink); display: grid; place-items: center; flex: none; }
.sc-ico.lg { width: 52px; height: 52px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); }
.sc-ico.lg svg { width: 26px; height: 26px; }
.sc-name { font-weight: 700; color: var(--ink); font-size: 16px; line-height: 1.5; word-break: auto-phrase; }
.sc-desc { font-size: 14px; color: var(--ink-3); line-height: 1.7; flex: 1; }
.sc-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 2px; }
.sc-env { font-size: 11px; color: var(--ink-4); font-family: var(--en); }
.sc-level { font-size: 11px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.stars { display: inline-flex; gap: 3px; vertical-align: middle; }
.stars i { width: 9px; height: 9px; border-radius: 2px; background: var(--line-2); transform: rotate(45deg); }
.stars i.on { background: var(--ink); }

/* ドロワー */
.drawer { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.drawer-bg { position: absolute; inset: 0; background: rgba(13,23,38,.38); opacity: 0; transition: opacity .3s; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--paper); padding: 30px 30px 40px; overflow-y: auto; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); box-shadow: var(--shadow-lg); }
.drawer.open { pointer-events: auto; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.drawer:not(.open) .drawer-panel { box-shadow: none; visibility: hidden; transition: transform .35s, visibility 0s .35s; }
.drawer-x { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); font-size: 20px; line-height: 1; color: var(--ink-3); }
.dw-head { display: flex; gap: 16px; align-items: flex-start; padding-right: 40px; }
.dw-cat { font-size: 12px; color: var(--ink-4); font-weight: 700; }
.dw-head h3 { font-size: 22px; margin: 2px 0 8px; }
.dw-desc { margin-top: 20px; font-size: 15px; color: var(--ink-2); }
.dw-spec { margin: 20px 0 0; border-top: 1px solid var(--line); }
.dw-spec div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.dw-spec dt { color: var(--ink-4); font-weight: 700; font-size: 12px; padding-top: 2px; }
.dw-spec dd { margin: 0; line-height: 1.6; }
.dw-spec dd small { display: block; color: var(--ink-3); font-size: 12px; }
.dw-h { margin-top: 22px; font-size: 12px; font-weight: 700; color: var(--ink-4); }
.dw-parts { margin-top: 8px; display: grid; gap: 6px; }
.dw-parts li { font-size: 14px; padding-left: 16px; position: relative; }
.dw-parts li::before { content: ""; position: absolute; left: 0; top: .8em; width: 7px; height: 1.5px; background: var(--blue); }
.dw-term { margin-top: 22px; background: var(--dark); border-radius: 10px; overflow: hidden; }
.dw-term-bar { font-size: 11px; color: #8796ae; padding: 7px 12px; border-bottom: 1px solid var(--dark-line); }
.dw-term pre { margin: 0; padding: 12px 14px; font-family: var(--mono); font-size: 12px; line-height: 1.7; color: #d7deea; white-space: pre-wrap; word-break: break-all; }
.dw-term .ok { color: #7fd6a8; }
.dw-foot { margin-top: 24px; display: grid; gap: 10px; }

/* ---------- 投資デモ ---------- */
.app { display: grid; grid-template-columns: 240px minmax(0, 1fr); background: #f7f8fa; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.35); color: var(--ink-2); }
.app-side { background: var(--dark-2); color: #c9d2e0; padding: 22px 18px; display: flex; flex-direction: column; gap: 22px; }
.app-brand { font-weight: 700; color: #fff; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.app-brand em { font-style: normal; font-size: 10px; font-weight: 700; color: #9db4ff; border: 1px solid #3a4c74; border-radius: 4px; padding: 0 5px; }
.app-field label { display: block; font-size: 11px; font-weight: 700; color: #7f8ca3; letter-spacing: .08em; margin-bottom: 8px; }
.fake-select { font-family: var(--mono); font-size: 12px; background: #1b2942; border: 1px solid var(--dark-line); border-radius: 8px; padding: 8px 10px; color: #c9d2e0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vault-tabs { display: grid; gap: 6px; }
.vtab { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; text-align: left; padding: 10px 12px; border-radius: 9px; border: 1px solid var(--dark-line); color: #c9d2e0; transition: background .2s, border-color .2s; }
.vtab strong { font-size: 14px; }
.vtab small { font-family: var(--en); font-size: 11px; color: #8796ae; }
.vtab[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.vtab[aria-selected="true"] small { color: #dbe5ff; }
.side-skills { display: grid; gap: 8px; }
.side-skills li { display: flex; gap: 8px; align-items: center; font-size: 12px; line-height: 1.5; color: #b3bfd2; }
.side-skills .ico svg { width: 16px; height: 16px; color: #7fa0ff; }
.app-main { padding: 26px 28px 30px; display: grid; gap: 16px; min-width: 0; }
.app-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 16px; }
.app-crumb { font-size: 12px; color: var(--ink-4); }
.app-top h3 { font-size: 20px; }
.app-chip { font-size: 12px; color: var(--ink-3); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; white-space: nowrap; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpis-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kpi-l { font-size: 12px; color: var(--ink-3); line-height: 1.5; }
.kpi-v { font-family: var(--en); font-weight: 700; font-size: 26px; color: var(--ink); letter-spacing: -.01em; line-height: 1.2; margin-top: auto; }
.kpi-v small { font-size: 12px; color: var(--ink-4); margin-left: 4px; font-weight: 500; }
.kpi.accent { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.kpi.accent .kpi-v { color: var(--blue); }
.kpi.neg .kpi-v { color: var(--neg); }
.kpi.text .kpi-v { font-family: var(--jp); font-size: 18px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px 18px; min-width: 0; }
.panel-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 14px; }
.panel-h strong { font-size: 14px; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.panel-h small { font-size: 12px; color: var(--ink-4); }
.ico-inline svg { width: 16px; height: 16px; color: var(--blue); display: block; }
.hbars { display: grid; gap: 10px; }
.hbar { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 64px; align-items: center; gap: 14px; }
.hb-label { font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.hb-track { position: relative; height: 14px; background: #f0f1f4; border-radius: 4px; }
.hb-fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: #b8c2d3; border-radius: 4px; transition: width .8s ease; }
.hbar.hl .hb-fill { background: var(--blue); }
.hbar.hold .hb-fill { background: var(--ink); }
.hbar.hl .hb-label { font-weight: 700; color: var(--blue-ink); }
.hb-principal { position: absolute; top: -4px; bottom: -4px; width: 0; border-left: 1.5px dashed var(--ink-3); }
.hb-val { font-family: var(--en); font-weight: 700; font-size: 14px; color: var(--ink); text-align: right; }
.hb-axisrow { margin-top: -2px; }
.hb-ticks { position: relative; height: 14px; font-family: var(--en); font-size: 10px; color: var(--ink-4); }
.hb-ticks span { position: absolute; top: 0; transform: translateX(-50%); }
.hb-ticks span:first-child { transform: none; }
.hb-ticks span:last-child { transform: translateX(-100%); }
.hb-unit { font-family: var(--en); font-size: 10px; color: var(--ink-4); text-align: right; }
.split-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; }
.donut-panel { display: grid; grid-template-columns: 120px minmax(0, 1fr); column-gap: 18px; align-items: center; }
.donut-panel .panel-h, .donut-panel > p { grid-column: 1 / -1; }
.donut-panel > p { margin-top: 12px; }
.donut { position: relative; width: 120px; height: 120px; }
.donut svg { width: 120px; height: 120px; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 14; }
.d-bg { stroke: #dfe4ec; }
.d-fg { stroke: var(--neg); stroke-linecap: butt; }
.donut-c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.2; }
.donut-c b { font-family: var(--en); font-size: 22px; color: var(--ink); }
.donut-c small { font-size: 11px; color: var(--ink-3); }
.legend { display: grid; gap: 8px; font-size: 13px; line-height: 1.5; }
.legend li { display: flex; gap: 8px; align-items: baseline; }
.legend i { width: 10px; height: 10px; border-radius: 3px; flex: none; transform: translateY(1px); }
.lg-a { background: var(--neg); } .lg-b { background: #dfe4ec; }
.waterfall { display: grid; gap: 12px; }
.wf { display: grid; grid-template-columns: 112px minmax(0, 1fr) 96px; align-items: center; gap: 12px; }
.wf-l { font-size: 13px; }
.wf-track { height: 22px; background: #f0f1f4; border-radius: 4px; position: relative; overflow: hidden; }
.wf-bar { position: absolute; top: 0; bottom: 0; left: 0; width: var(--w); border-radius: 4px; }
.wf.pos .wf-bar { background: var(--blue); }
.wf.neg .wf-bar { background: var(--neg); }
.wf.net .wf-bar { background: var(--ink); }
.wf-v { font-family: var(--en); font-weight: 700; font-size: 14px; text-align: right; color: var(--ink); white-space: nowrap; }
.wf.neg .wf-v, .wf.net .wf-v { color: var(--neg); }
.flat-compare { display: grid; gap: 12px; }
.fc-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) 92px; align-items: center; gap: 12px; }
.fc-label { font-size: 13px; }
.fc-bar { height: 14px; background: #b8c2d3; border-radius: 4px; width: 100%; grid-column: 2; }
.fc-bar.short { width: 94%; background: var(--blue); }
.fc-gap { font-family: var(--en); font-weight: 700; color: var(--neg); font-size: 14px; text-align: right; }
.report ol { counter-reset: r; display: grid; gap: 10px; }
.report li { counter-increment: r; position: relative; padding-left: 34px; font-size: 14px; line-height: 1.75; color: var(--ink-2); }
.report li::before { content: counter(r); position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 6px; background: var(--blue-soft); color: var(--blue); font-family: var(--en); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.source { margin-top: 18px; font-size: 12px; color: #8a97ad; line-height: 1.8; max-width: 900px; }

.pack-title { color: #fff; font-size: 22px; margin: 80px 0 22px; }
.pack-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.pack-col { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 14px; padding: 18px 16px 16px; }
.pack-col.adv { border-style: dashed; background: transparent; }
.pack-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pack-h strong { color: #fff; font-size: 16px; }
.pack-col .pill[data-status="verify"] { background: transparent; color: #c9d2e0; border-color: #6b7a94; }
.pack-d { font-size: 12px; color: #8a97ad; margin: 6px 0 12px; line-height: 1.7; }
.pack-col ul { display: grid; gap: 4px; }
.pack-col button { display: flex; gap: 8px; align-items: center; width: 100%; text-align: left; font-size: 13px; line-height: 1.5; color: #d6dde9; padding: 6px 8px; margin: 0 -8px; width: calc(100% + 16px); border-radius: 7px; transition: background .2s; }
.pack-col button:hover { background: #1e2d48; }
.pack-col button svg { width: 16px; height: 16px; color: #7fa0ff; }

/* ---------- エージェント ---------- */
.agent-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 72px; align-items: center; }
.agent-copy h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.45; }
.agent-copy .lead { margin-top: 18px; color: var(--ink-3); }
.timeline { margin: 34px 0 14px; position: relative; display: grid; gap: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 18px; padding: 0 0 18px 0; }
.timeline li::before { content: ""; position: absolute; left: 104px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 2px solid var(--blue); z-index: 1; }
.timeline li::after { content: ""; position: absolute; left: 109px; top: 18px; bottom: 0; width: 1px; background: var(--line-2); }
.timeline li:last-child::after { display: none; }
.timeline li:last-child::before { background: var(--blue); }
.t-time { font-family: var(--en); font-size: 13px; color: var(--ink-4); font-weight: 600; grid-row: span 2; padding-top: 1px; white-space: nowrap; }
.timeline strong { color: var(--ink); font-size: 16px; padding-left: 24px; line-height: 1.6; }
.timeline small { font-size: 13px; color: var(--ink-3); padding-left: 24px; line-height: 1.6; }

.phone-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.phone { width: 340px; max-width: 100%; background: #0d1219; border-radius: 46px; padding: 12px; box-shadow: var(--shadow-lg); position: relative; }
.phone > * { position: relative; }
.phone-notch { position: absolute; top: 20px; left: 50%; width: 92px; height: 26px; background: #0d1219; border-radius: 20px; transform: translateX(-50%); z-index: 3; }
.phone-status, .chat-head, .chat-body, .chat-input { background: #eef1f5; }
.phone-status { display: flex; justify-content: space-between; padding: 14px 28px 6px; font-family: var(--en); font-size: 12px; font-weight: 600; color: var(--ink); border-radius: 36px 36px 0 0; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.chat-ava { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--en); font-weight: 700; font-size: 13px; display: grid; place-items: center; flex: none; }
.chat-head div:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.chat-head strong { font-size: 14px; color: var(--ink); }
.chat-head small { font-size: 11px; color: var(--ink-4); }
.chat-body { padding: 12px 12px 16px; display: flex; flex-direction: column; gap: 10px; min-height: 470px; }
.chat-day { align-self: center; font-size: 11px; color: var(--ink-4); background: #e2e6ec; border-radius: 999px; padding: 0 10px; }
.bubble { align-self: flex-start; max-width: 88%; background: #fff; border-radius: 4px 16px 16px 16px; padding: 10px 12px 8px; font-size: 13px; line-height: 1.65; color: var(--ink-2); box-shadow: 0 1px 1px rgba(0,0,0,.04); position: relative; }
.bubble p + p, .bubble ul + p { margin-top: 6px; }
.bubble ul { margin: 6px 0 0; display: grid; gap: 3px; }
.bubble li { padding-left: 12px; position: relative; }
.bubble li::before { content: ""; position: absolute; left: 0; top: .75em; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.bubble b { font-family: var(--en); color: var(--ink); }
.b-title { font-weight: 700; color: var(--ink); }
.b-time { display: block; text-align: right; font-family: var(--en); font-size: 10px; color: var(--ink-4); margin-top: 2px; }
.bubble.me { align-self: flex-end; background: var(--blue); color: #fff; border-radius: 16px 4px 16px 16px; }
.bubble.me .b-time { color: #cfdcff; }
.bubble.typing { display: flex; gap: 4px; padding: 12px 14px; }
.bubble.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-4); animation: dots 1.2s infinite; }
.bubble.typing i:nth-child(2) { animation-delay: .15s; } .bubble.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 50% { opacity: .25; transform: translateY(-2px); } }
.chat-input { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px 18px; background: #fff; border-top: 1px solid var(--line); border-radius: 0 0 36px 36px; font-size: 13px; color: var(--ink-4); }
.chat-input b { color: var(--blue); font-size: 13px; }

/* ---------- サポート ---------- */
.support-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.sup-card { display: flex; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.sup-ico { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); color: var(--ink); display: grid; place-items: center; flex: none; }
.sup-card strong { display: block; color: var(--ink); font-size: 16px; margin-top: 4px; }
.sup-card p { font-size: 14px; color: var(--ink-3); line-height: 1.75; margin-top: 2px; }
.support-price { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; border-top: 1px solid var(--line-2); padding-top: 22px; }
.support-price > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.support-price strong { color: var(--ink); }

/* ---------- 料金 ---------- */
.aud-inline { margin-bottom: 26px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px 24px; display: flex; flex-direction: column; }
.plan.rec { border: 1.5px solid var(--ink); box-shadow: var(--shadow-lg); }
.rec-tag { position: absolute; top: -13px; left: 26px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 12px; border-radius: 999px; letter-spacing: .06em; }
.plan-role { font-size: 12px; font-weight: 700; color: var(--blue); letter-spacing: .08em; }
.plan h3 { font-size: 20px; margin-top: 4px; }
.plan-lead { font-size: 14px; color: var(--ink-3); margin-top: 10px; line-height: 1.75; min-height: 4.9em; }
.plan-price { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.pp b { font-family: var(--en); font-size: 38px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
.pp small { font-size: 15px; margin-left: 2px; color: var(--ink-2); font-weight: 700; }
.pp.price-text { font-size: 18px; font-weight: 700; color: var(--ink); }
.unit { font-size: 12px; color: var(--ink-4); }
.was { flex-basis: 100%; font-size: 12px; color: var(--ink-4); text-decoration: line-through; }
.bundle { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; background: var(--blue-soft); border-radius: 10px; padding: 8px 12px; font-size: 13px; color: var(--ink-2); }
.bundle s { font-family: var(--en); color: var(--ink-3); }
.bundle-gap { margin-left: auto; font-weight: 700; color: var(--blue-ink); }
.req { margin-top: 10px; font-size: 12px; color: var(--ink-3); }
.checks { margin-top: 18px; display: grid; gap: 8px; flex: 1; align-content: start; }
.checks li { position: relative; padding-left: 24px; font-size: 14px; line-height: 1.6; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 1.8px solid var(--blue); border-bottom: 1.8px solid var(--blue); transform: rotate(-45deg); }
.plan-foot { margin-top: 22px; display: grid; gap: 12px; justify-items: start; }
.plans-sub { margin-top: 18px; display: grid; gap: 12px; }
.sub-plan { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 18px 28px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; }
.sub-name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.sub-name h3 { font-size: 17px; }
.sub-main p { font-size: 14px; color: var(--ink-3); margin-top: 6px; line-height: 1.7; }
.sub-price { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.sub-price .pp b { font-size: 28px; }
.table-title { font-size: 20px; margin: 64px 0 18px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 14px; }
.compare th, .compare td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: center; line-height: 1.55; }
.compare thead th { font-size: 13px; color: var(--ink-3); font-weight: 700; background: #fbfbf9; }
.compare tbody th { text-align: left; font-weight: 500; color: var(--ink-2); width: 34%; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .rec { background: #f4f7ff; }
.compare thead th.rec { color: var(--blue-ink); background: #eaf0fe; }
.compare .yes { display: inline-block; width: 14px; height: 8px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg) translateY(-2px); }
.compare .no { color: var(--line-2); }
.compare .price-row td { font-family: var(--en); font-weight: 700; color: var(--ink); }
#pricing > .wrap > .muted { margin-top: 14px; }

/* ---------- 会員 ---------- */
.member-section { display: none; padding: 0 0 112px; }
.is-member .member-section { display: block; }
.member-card { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; background: var(--ink); color: #c9d2e0; border-radius: 22px; padding: 44px 48px; }
.member-card h2 { color: #fff; font-size: clamp(22px, 2.4vw, 30px); }
.member-card .eyebrow { color: #7fa0ff; }
.member-card > div > p { margin-top: 14px; }
.member-card .checks li::before { border-color: #7fa0ff; }
.member-card .muted { color: #8a97ad; margin-top: 16px; }
.member-side { display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.member-sum { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 14px; padding: 6px 18px; }
.ms-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--dark-line); font-size: 13px; }
.ms-row:last-child { border-bottom: 0; }
.ms-row span:last-child { white-space: nowrap; }
.ms-row s { color: #6f7d95; margin-right: 8px; font-family: var(--en); }
.ms-row b { color: #fff; font-family: var(--en); font-size: 16px; }
.member-side .btn-primary { background: var(--blue); }
.member-side .btn-primary:hover { background: #fff; color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 18px 22px; font-weight: 700; color: var(--ink); line-height: 1.6; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span:first-child { flex: 1; word-break: auto-phrase; }
.faq-item summary i { width: 12px; height: 12px; border-right: 1.6px solid var(--ink-3); border-bottom: 1.6px solid var(--ink-3); transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s; flex: none; }
.faq-item[open] summary i { transform: rotate(-135deg) translate(-2px, -2px); }
.faq-a { padding: 0 22px 20px; color: var(--ink-3); font-size: 15px; line-height: 1.9; }

/* ---------- フッター ---------- */
.site-footer { background: var(--dark); color: #8a97ad; padding: 72px 0 110px; font-size: 14px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.logo-light .logo-mark { fill: #fff; }
.logo-light .logo-text { color: #fff; }
.footer-brand-kana { margin-top: 6px; font-size: 12px; color: #8a97ad; letter-spacing: .1em; }
.footer-meaning { font-size: 12px; color: #8a97ad; margin-top: 2px; }
.footer-concept { margin-top: 10px; color: #c9d2e0; }
.footer-cols { display: flex; gap: 64px; }
.footer-cols div { display: flex; flex-direction: column; gap: 8px; }
.footer-cols strong { color: #fff; font-size: 13px; margin-bottom: 4px; }
.footer-cols a:hover { color: #fff; }
.footer-note { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--dark-line); display: grid; gap: 8px; font-size: 12px; line-height: 1.8; }

/* ---------- トースト ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 90; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; font-size: 14px; padding: 12px 20px; border-radius: 999px; box-shadow: var(--shadow-lg); transition: opacity .25s, transform .25s; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }


/* ---------- AI個別指導（モニター） ---------- */

.demo30 { margin-top: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.d30-bar { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--line); background: #fbfbf9; font-size: 12px; color: var(--ink-3); }
.d30-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2e2dc; flex: none; }
.d30-bar span { margin-left: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.d30-body { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); }
.d30-req { padding: 26px 26px; border-right: 1px solid var(--line); background: #f7f8fa; display: flex; flex-direction: column; gap: 12px; }
.d30-label { font-size: 12px; font-weight: 700; color: var(--ink-4); letter-spacing: .06em; }
.d30-q { background: #fff; border: 1px solid var(--line); border-radius: 4px 14px 14px 14px; padding: 12px 14px; font-size: 14px; line-height: 1.75; color: var(--ink-2); }
.d30-timer { margin-top: auto; display: flex; align-items: baseline; gap: 8px; }
.d30-timer b { font-family: var(--en); font-size: 34px; color: var(--blue); line-height: 1.1; }
.d30-timer span { font-size: 14px; font-weight: 700; color: var(--ink); }
.d30-outs { padding: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.d30-out { border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.d30-out strong { display: block; font-size: 14px; color: var(--ink); line-height: 1.5; }
.d30-out small { display: block; font-size: 12px; color: var(--ink-3); line-height: 1.55; }
.d30-out.o1 { border-color: var(--blue); }
.d30-thumb { height: 86px; background: #f4f5f7; border-radius: 8px; display: grid; place-items: center; overflow: hidden; }
.d30-thumb span { display: grid; gap: 5px; }
.d30-thumb i { display: block; border-radius: 2px; background: #cdd3dd; }
.th-doc { width: 58%; } .th-doc i { height: 5px; } .th-doc i.s { width: 60%; }
.th-app { width: 46px; padding: 6px; background: #fff; border: 1px solid var(--line-2); border-radius: 8px; height: 74px; align-content: start; }
.th-app i.h { height: 8px; background: var(--blue); } .th-app i.f { height: 9px; background: #e6e9ef; } .th-app i.b { height: 10px; background: var(--ink); margin-top: 6px; border-radius: 4px; }
.th-pages { grid-template-columns: repeat(3, 26px); } .th-pages i { height: 50px; background: #fff; border: 1px solid var(--line-2); border-top: 6px solid #b8c2d3; }
.th-pages i:nth-child(2) { border-top-color: var(--blue); } .th-pages i:nth-child(3) { border-top-color: var(--ink); }
.th-img { grid-template-columns: 30px 30px 50px; align-items: center; gap: 8px !important; } .th-img i.c { height: 30px; border-radius: 50%; background: var(--blue); } .th-img i.r { height: 30px; background: var(--ink); border-radius: 8px; } .th-img i.w { height: 20px; background: #b8c2d3; }
.th-video i { width: 38px; height: 66px; background: var(--ink); border-radius: 6px; position: relative; }
.th-video i::after { content: ""; position: absolute; left: 15px; top: 26px; border-left: 10px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }

.voices { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.voice-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.voice { margin: 0; background: #f6f6f2; border-radius: 12px; padding: 14px 16px; }
.voice blockquote { margin: 0; font-size: 14px; line-height: 1.75; color: var(--ink-2); }
.voice figcaption { margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--ink-4); }

.sub-group { font-size: 12px; font-weight: 700; color: var(--ink-4); letter-spacing: .08em; margin: 8px 0 -2px; }
.sub-price { flex-wrap: wrap; }

@media (max-width: 1040px) {
  .d30-body { grid-template-columns: minmax(0, 1fr); }
  .d30-req { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .d30-req { padding: 18px 16px; }
  .d30-outs { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px; gap: 8px; }
  .d30-out.o0 { grid-column: 1 / -1; }
  .voice-list { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 1180px) {
  .nav { gap: 16px; }
  .nav a { font-size: 13px; }
  .pack-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1040px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .audience { margin-left: auto; }
  .nav-open .nav { display: flex; flex-direction: column; gap: 0; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 32px 16px; margin: 0; box-shadow: var(--shadow); }
  .nav-open .nav a { padding: 12px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hero-sub { max-width: none; }
  .agent-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .kit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app { grid-template-columns: minmax(0, 1fr); }
  .app-side { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .app-brand { grid-column: 1 / -1; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-row { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .plan-lead { min-height: 0; }
  .member-card { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  :root { --header-h: 60px; }
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .header-inner { gap: 10px; }
  .logo-text { font-size: 14px; letter-spacing: .05em; }
  .logo-mark { width: 22px; height: 22px; }
  .aud-btn { height: 32px; padding: 0 10px; font-size: 12px; }
  .nav-open .nav { padding: 4px 16px 12px; }
  .hero { padding: 48px 0 64px; }
  .hero-title { font-size: 31px; line-height: 1.4; }
  .hero-sub { font-size: 16px; margin-top: 20px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-facts { margin-top: 32px; }
  .hero-facts div + div { padding-left: 12px; }
  .hero-facts dd { font-size: 13px; }
  .build { padding: 18px 14px 20px; }
  .skill-row { gap: 6px; }
  .skill-chip { flex-direction: column; align-items: flex-start; font-size: 12px; padding: 9px 9px; gap: 6px; }
  .base-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agent-card { padding: 13px 14px; gap: 10px; }
  .agent-meta span { font-size: 11px; }
  .live { display: none; }
  .section { padding: 72px 0; }
  .sec-head { margin-bottom: 36px; }
  .sec-head h2 { font-size: 25px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .step + .step::before { display: none; }
  .kit-grid { grid-template-columns: minmax(0, 1fr); }
  .kit-curr { padding-left: 22px; }
  .store-top { padding: 10px 10px 0; }
  .store-legend { gap: 6px 14px; }
  .legend-item small { display: none; }
  .store-body { padding: 18px 14px 22px; }
  .skill-grid { grid-template-columns: minmax(0, 1fr); }
  .drawer-panel { padding: 24px 18px 32px; }
  .app-side { grid-template-columns: minmax(0, 1fr); padding: 18px 16px; gap: 14px; }
  .vault-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-main { padding: 18px 14px 20px; }
  .kpis, .kpis-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .kpis-3 .kpi:last-child { grid-column: 1 / -1; }
  .kpi { padding: 12px; }
  .kpi-v { font-size: 21px; }
  .hbar { grid-template-columns: minmax(0, 1fr) 56px; gap: 4px 10px; }
  .hb-label { grid-column: 1 / -1; font-size: 12px; }
  .hb-axisrow > span:first-child { display: none; }
  .donut-panel { grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; }
  .donut, .donut svg { width: 96px; height: 96px; }
  .donut-c b { font-size: 18px; }
  .wf { grid-template-columns: minmax(0, 1fr) 84px; gap: 4px 10px; }
  .wf-l { grid-column: 1 / -1; }
  .wf-track { grid-column: 1; }
  .fc-col { grid-template-columns: minmax(0, 1fr) 84px; gap: 4px 10px; }
  .fc-label { grid-column: 1 / -1; }
  .fc-bar { grid-column: 1; }
  .pack-title { margin-top: 56px; font-size: 20px; }
  .pack-grid { grid-template-columns: minmax(0, 1fr); }
  .timeline li { grid-template-columns: 78px minmax(0, 1fr); column-gap: 10px; }
  .timeline li::before { left: 84px; }
  .timeline li::after { left: 89px; }
  .timeline strong, .timeline small { padding-left: 20px; }
  .timeline strong { font-size: 15px; }
  .t-time { font-size: 12px; }
  .phone { width: 100%; max-width: 330px; }
  .support-grid { grid-template-columns: minmax(0, 1fr); }
  .plan { padding: 26px 20px 22px; }
  .sub-plan { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 20px; }
  .sub-plan .btn { width: 100%; }
  .table-title { margin-top: 48px; }
  .member-section { padding-bottom: 72px; }
  .member-card { padding: 30px 20px; gap: 28px; }
  .faq-item summary { padding: 16px 16px; }
  .faq-a { padding: 0 16px 18px; }
  .footer-cols { gap: 40px; }
  .mock-bar { left: 8px; right: 8px; bottom: 8px; max-width: none; font-size: 11px; padding: 7px 12px; }
}
.l-short { display: none; }
@media (max-width: 760px) {
  .audience .l-long { display: none; }
  .audience .l-short { display: inline; }
}
@media (max-width: 340px) {
  .wm-s { display: none; }
}

/* ---------- 受講中の方の声・実演 ---------- */
.demo-head { margin: 64px 0 18px; }
.demo-head h3 { font-size: 22px; }
.demo-head p { margin-top: 6px; font-size: 14px; }
.demo-head + .demo30 { margin-top: 0; }
#voices .voice-list { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 0; }
#voices .voice { background: var(--paper); border: 1px solid var(--line); padding: 20px 20px 18px; display: flex; flex-direction: column; }
#voices .voice blockquote { flex: 1; font-size: 15px; }
#voices .voice .q { width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 1.6; margin-bottom: 8px; }
#voices .voice figcaption b { color: var(--ink); margin-right: 8px; }
#voices .voice figcaption { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 14px; font-weight: 500; }
.voice-note { margin-top: 14px; }
.monitor-band { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: 14px 20px; }
.monitor-band > div { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.monitor-band strong { color: var(--ink); font-size: 15px; }
.mb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); animation: pulse 2.2s ease-in-out infinite; }
.mb-text { font-size: 13px; color: var(--ink-3); }
@media (max-width: 1040px) { #voices .voice-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  #voices .voice-list { grid-template-columns: minmax(0, 1fr); }
  .monitor-band .btn { width: 100%; }
  .demo-head { margin-top: 48px; }
  .demo-head h3 { font-size: 20px; }
  .wm { font-size: 16px; }
}

@media (max-width: 760px) {
  .d30-bar { height: auto; flex-wrap: wrap; padding: 10px 14px; row-gap: 4px; }
  .d30-bar span { white-space: normal; }
  .d30-bar .dummy-tag { margin-left: 0; }
}

/* 誰が何を担うか */
.team-grid{display:grid;grid-template-columns:1fr auto 1fr;gap:20px;align-items:stretch;margin-top:40px}
.team-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:28px 28px 24px}
.team-role{font-size:13px;font-weight:600;color:var(--blue);letter-spacing:.04em;margin:0 0 6px}
.team-card h3{font-size:24px;color:var(--ink);margin:0 0 16px}
.team-card ul{margin:0;padding:0;list-style:none;display:grid;gap:10px}
.team-card li{position:relative;padding-left:18px;color:var(--ink-2);line-height:1.7;font-size:16px}
.team-card li::before{content:"";position:absolute;left:0;top:.72em;width:7px;height:7px;border-radius:2px;background:var(--blue)}
.team-arrow{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:var(--blue);font-size:13px;font-weight:600;white-space:nowrap}
.team-flow{margin:28px 0 0;padding:16px 20px;border-radius:var(--radius-sm);background:var(--blue-soft);color:var(--ink);font-weight:600;text-align:center;line-height:1.7}
@media (max-width:760px){
  .team-grid{grid-template-columns:1fr;gap:12px}
  .team-arrow{flex-direction:row;gap:10px;padding:4px 0}
  .team-arrow svg{transform:rotate(90deg);width:28px}
  .team-card{padding:22px 20px}
}
