/*
 * PreMed株式会社 コーポレートサイト（premed.jp）— 全ページ共通
 * Issue: #12352
 *
 * 2026-10-03 依頼者の指定: 構成は freebe.jp/about、文字組みは artless.co.jp。
 * 「頭が良さそう」「テクノロジーを感じる」「図形や数値をイケてる見せ方で」「モーション」。
 *   freebe から: 白地・黒・グレーの帯 #e7e7e7、黒 1px の枠、丸いボタン #bebebe、角丸 16px の「＋ ＝」の 3 枠
 *   artless から: 小文字の英字（Inter）、大きい字と極小の注記の落差、細い罫線、所在地などのメタ情報の並び
 *   数字は社内リポジトリの実測値だけ。細い書体で大きく、図は細い線・目盛り・番号・英字の注記で描く
 *   差し色は 1 つだけ（#ff3d00）。最新の値・ピーク・「いま」の印にしか使わない
 * 動きは assets/js/motion.js が html.js のときだけ付ける（JS が無い・動きを減らす設定なら最終の状態で表示）。
 * 書体は自社配信（fonts-noto-inter.css）。
 */
:root {
  --bg: #fff;
  --fg: #000;
  --gray: #e7e7e7;
  --btn: #bebebe;
  --muted: #6b6b6b;
  --faint: #b4b4b4;
  --hair: #d4d4d4;
  --accent: #ff3d00;
  --ja: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --en: "Inter", "Helvetica Neue", Helvetica, Arial, "Noto Sans JP", sans-serif;
  --hd-h: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--hd-h); }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--ja); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; padding-top: var(--hd-h); }
img, svg { display: block; }
a { color: inherit; text-underline-offset: 0.2em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
p, h1, h2, h3, ul, ol, dl, dd, figure, figcaption, address, table { margin: 0; padding: 0; }
h1, h2, h3 { font-weight: 700; word-break: auto-phrase; }
.num { font-family: var(--en); font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
::selection { background: var(--accent); color: #fff; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 80; background: var(--bg); padding: 6px 12px; }

.wrap { max-width: 1320px; margin-inline: auto; padding-inline: 24px; }
@media (min-width: 1024px) { .wrap { padding-inline: 40px; } }

/* 読んだ位置の細い線（上端） */
.progress { position: fixed; inset: 0 auto auto 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--accent); z-index: 70; }

/* 節の番号 */
.idx { display: flex; align-items: baseline; gap: 10px; font-family: var(--en); font-size: 11px; letter-spacing: 0.02em; color: var(--muted); }
.idx > span { font-variant-numeric: tabular-nums; color: var(--fg); padding-right: 10px; border-right: 1px solid currentColor; line-height: 1; }
.idx b { font-weight: 400; }
.idx--inv { color: #9a9a9a; }
.idx--inv > span { color: #fff; }
.idx--center { justify-content: center; }

/* ---------- ヘッダー ---------- */
.hd { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--hd-h); background: rgb(255 255 255 / 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--hair); }
.hd__in { height: 100%; display: flex; align-items: center; gap: 24px; }
.hd__logo { font-family: var(--en); font-weight: 700; font-size: 21px; letter-spacing: -0.04em; text-decoration: none; }
.hd__logo span, .ft__big span { font-weight: 400; font-size: 0.5em; letter-spacing: 0; margin-left: 3px; vertical-align: super; }
.hd__meta { font-family: var(--en); font-size: 10px; line-height: 1.45; color: var(--muted); margin-right: auto; font-variant-numeric: tabular-nums; }
.hd__nav ul { list-style: none; display: flex; gap: 20px; }
.hd__nav a { font-family: var(--en); font-size: 19px; letter-spacing: -0.03em; color: var(--faint); text-decoration: none; transition: color .25s; }
.hd__nav a:hover, .hd__nav a[aria-current="page"] { color: var(--fg); }
.hd__cta { font-family: var(--en); font-weight: 500; font-size: 14px; text-decoration: none; background: var(--btn); border-radius: 9999px; padding: 8px 22px; transition: background .25s, color .25s; }
.hd__cta:hover { background: var(--fg); color: #fff; }
.hd__menu { display: none; width: 40px; height: 40px; border: 0; background: none; padding: 0; position: relative; cursor: pointer; }
.hd__menu span:not(.sr) { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--fg); transition: transform .3s var(--ease); }
.hd__menu span:nth-child(1) { top: 15px; } .hd__menu span:nth-child(2) { top: 23px; }
.hd__menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.hd__menu[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 1180px) {
  .hd__menu { display: block; }
  .hd__nav { position: fixed; inset: var(--hd-h) 0 auto 0; background: #000; color: #fff; padding: 24px 24px 40px; transform: translateY(-110%); transition: transform .5s var(--ease); z-index: -1; height: calc(100dvh - var(--hd-h)); }
  .hd__nav.is-open { transform: none; }
  .hd__nav ul { flex-direction: column; gap: 4px; }
  .hd__nav a { font-size: clamp(40px, 11vw, 72px); font-weight: 500; letter-spacing: -0.05em; color: #fff; line-height: 1.1; }
  .hd__nav a[aria-current="page"] { color: var(--accent); }
  .no-js .hd__nav { position: static; transform: none; background: none; height: auto; padding: 0; }
  .no-js .hd__menu { display: none; }
}
@media (max-width: 560px) { .hd__meta { display: none; } .hd__logo { margin-right: auto; } .hd__cta { padding: 7px 16px; } }

/* ---------- 大きい英字 ---------- */
.statement { margin-top: 36px; font-family: var(--en); font-weight: 500; font-size: clamp(40px, 7vw, 112px); line-height: 0.98; letter-spacing: -0.055em; }
.statement--xl { font-size: clamp(48px, 10.5vw, 176px); line-height: 0.92; letter-spacing: -0.065em; }
.statement .ln { display: block; overflow: hidden; padding-block: 0.1em 0.06em; margin-top: -0.1em; }
.statement .ln > span { display: inline-block; }
.statement .ln--dim { color: var(--faint); }
.phero--black .statement .ln--dim, .sec--black .ln--dim { color: #555; }
.en-big { margin-top: 26px; font-family: var(--en); font-weight: 500; font-size: clamp(34px, 5vw, 76px); line-height: 1; letter-spacing: -0.05em; }
.en-big span { color: var(--faint); }
.sec--black .en-big span, .phero--black .en-big span { color: #555; }

.ghost { position: absolute; top: 72px; right: -0.08em; writing-mode: vertical-rl; font-family: var(--en); font-weight: 700; font-size: clamp(64px, 8vw, 140px); line-height: 1; letter-spacing: -0.05em; color: var(--gray); pointer-events: none; user-select: none; }
@media (max-width: 1100px) { .ghost { display: none; } }

/* ---------- トップの冒頭 ---------- */
.hero { position: relative; padding-top: 56px; }
.hero__ja { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px 64px; padding-top: 28px; border-top: 1px solid var(--fg); }
@media (min-width: 960px) { .hero__ja { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.hero__h { font-size: clamp(22px, 1.4vw + 14px, 30px); line-height: 1.45; }
.hero__sub { margin-top: 8px; font-size: 14px; color: var(--muted); }
.hero__lines { font-size: 14px; line-height: 2; color: #333; }
.hero__lines b { display: block; margin-top: 10px; color: var(--fg); font-weight: 700; }

/* fig.0 日ごとのマス（トップ・黒い帯） */
.dayband { margin-top: 56px; background: #000; color: #fff; padding-block: 24px 28px; }
.dayband figcaption { font-family: var(--en); font-size: 11px; color: #9a9a9a; }
.dayband figcaption .num { color: #fff; margin-right: 8px; }
.dayband .heat { min-width: 720px; }

/* 数字のテロップ */
.ticker { background: #000; color: #fff; border-top: 1px solid #222; overflow: hidden; white-space: nowrap; }
.ticker__track { display: inline-flex; gap: 0; animation: ticker 48s linear infinite; padding-block: 14px; }
.ticker span { font-family: var(--en); font-size: 13px; color: #9a9a9a; padding-right: 56px; }
.ticker b { color: #fff; font-weight: 300; font-size: 22px; letter-spacing: -0.03em; margin-right: 8px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- 下層の冒頭 ---------- */
.phero { position: relative; overflow: hidden; padding-block: 56px 88px; }
.phero--black { background: #000; color: #fff; }
.phero__ja { margin-top: 56px; padding-top: 28px; border-top: 1px solid currentColor; max-width: 1080px; }
.phero__h { font-size: clamp(24px, 1.4vw + 16px, 34px); line-height: 1.3; }
.phero__lead { margin-top: 14px; font-size: 15px; line-height: 2; max-width: 46em; }
.phero--black .phero__lead { color: #cfcfcf; }

.btns { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; }
.btns--center { justify-content: center; }
.btn { display: inline-block; border-radius: 9999px; padding: 13px 32px; font-size: 15px; font-weight: 700; line-height: 1.4; text-decoration: none; transition: background .25s, color .25s, border-color .25s; }
.btn--fill { background: var(--btn); }
.btn--fill:hover { background: var(--fg); color: #fff; }
.btn--line { border: 1px solid currentColor; padding-block: 12px; }
.btn--line:hover { background: var(--fg); color: #fff; border-color: var(--fg); }
.phero--black .btn--fill:hover { background: #fff; color: #000; }

.meta { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px 32px; max-width: 1080px; }
.meta dt, .fig__k, .mini dt { font-family: var(--en); font-size: 10.5px; color: var(--muted); letter-spacing: 0.02em; }
.meta dd { margin-top: 6px; font-size: 12px; line-height: 1.6; }
.meta dd span[lang="en"] { font-family: var(--en); font-size: 11px; color: var(--muted); }
.meta dd.num { font-size: 15px; }

/* ---------- 節 ---------- */
.sec { position: relative; padding-block: 104px; }
.sec--tight { padding-top: 64px; }
.sec--gray { background: var(--gray); }
.sec--black { background: #000; color: #fff; }
.center { text-align: center; }
.sec-head { max-width: 1080px; }
.sec-head__ja { margin-top: 20px; font-size: 14px; line-height: 1.9; color: #444; max-width: 46em; }
.sec--black .sec-head__ja { color: #bdbdbd; }
.en-h { margin-top: 20px; font-family: var(--en); font-size: clamp(26px, 2vw + 14px, 36px); line-height: 1.25; letter-spacing: -0.035em; }
.en-h--md { font-size: clamp(24px, 1.4vw + 14px, 30px); }
.ja-h { margin-top: 18px; font-size: 18px; font-weight: 700; line-height: 1.45; }
.ja-h--sm { margin-top: 14px; font-size: 16px; }
.body { margin-top: 22px; font-size: 15px; line-height: 1.9; }
.body + .body { margin-top: 1em; }
.narrow { max-width: 768px; margin-inline: auto; text-align: left; }
.cols { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 48px; max-width: 1080px; }
@media (min-width: 900px) { .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cols .body { margin-top: 0; } @media (max-width: 899px) { .cols .body + .body { margin-top: 1em; } }
.more { margin-top: 36px; font-family: var(--en); font-size: 13px; }
.more a { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: color .2s; }
.more a:hover { color: var(--accent); }
.note { margin-top: 28px; font-size: 13px; color: var(--muted); }

/* ---------- 数字（白地） ---------- */
.kf { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--fg); }
@media (min-width: 960px) { .kf { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kf__item { padding: 20px 20px 28px 0; border-bottom: 1px solid var(--hair); }
.kf__item + .kf__item { padding-left: 20px; border-left: 1px solid var(--hair); }
@media (max-width: 959px) { .kf__item:nth-child(3) { padding-left: 0; border-left: 0; } }
.kf__v { margin-top: 8px; font-weight: 200; font-size: clamp(40px, 12vw, 112px); line-height: 0.95; letter-spacing: -0.06em; }
@media (min-width: 600px) and (max-width: 959px) { .kf__v { font-size: clamp(56px, 10vw, 96px); } }
@media (min-width: 960px) { .kf__v { font-size: clamp(56px, 7vw, 112px); } }
.kf__v small, .fig__v small { font-size: 0.32em; font-weight: 400; letter-spacing: 0; margin-left: 6px; color: var(--muted); }
.fig__ja { margin-top: 10px; font-size: 12px; color: #555; line-height: 1.6; }
.kf--inv { border-top-color: #fff; }
@media (min-width: 960px) { .kf--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.kf--inv .kf__item { border-color: #333; }
.kf--inv .fig__k { color: #9a9a9a; }
.kf--inv .fig__ja { color: #bdbdbd; }

/* ---------- 一覧（トップの index） ---------- */
.ix { list-style: none; margin-top: 48px; border-top: 1px solid #fff; }
.ix a { display: grid; grid-template-columns: 3em minmax(0, 1fr) auto; align-items: baseline; gap: 4px 20px; padding: 18px 0; border-bottom: 1px solid #333; text-decoration: none; position: relative; overflow: hidden; }
@media (min-width: 900px) { .ix a { grid-template-columns: 4em minmax(0, 5fr) minmax(0, 6fr) auto; } }
.ix a::before { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleY(0); transform-origin: 50% 100%; transition: transform .5s var(--ease); z-index: 0; }
.ix a > * { position: relative; z-index: 1; transition: color .3s; }
.ix a:hover::before, .ix a:focus-visible::before { transform: scaleY(1); }
.ix a:hover > *, .ix a:focus-visible > * { color: #000; }
.ix__n { font-size: 11px; color: #9a9a9a; }
.ix__en { font-family: var(--en); font-weight: 500; font-size: clamp(32px, 4.6vw, 64px); letter-spacing: -0.05em; line-height: 1; }
.ix__ja { font-size: 13px; color: #bdbdbd; }
@media (max-width: 899px) { .ix__ja { grid-column: 2 / 3; } .ix__arrow { grid-row: 1; grid-column: 3; } }
.ix__arrow { font-family: var(--en); font-size: 24px; transition: transform .4s var(--ease), color .3s; }
.ix a:hover .ix__arrow { transform: translateX(8px); color: var(--accent); }

/* ---------- お知らせ ---------- */
.ledger { list-style: none; margin-top: 32px; border-top: 1px solid var(--fg); }
.ledger li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px 28px; padding-block: 16px; border-bottom: 1px solid var(--hair); }
@media (min-width: 720px) { .ledger li { grid-template-columns: 8.5rem minmax(0, 1fr); } .ledger--lg li { grid-template-columns: 9rem 5rem minmax(0, 1fr); } }
.ledger time { font-size: 15px; font-weight: 300; letter-spacing: -0.01em; }
.ledger--lg time { font-size: 20px; }
.ledger__tag { font-family: var(--en); font-size: 11px; color: var(--muted); padding-top: 6px; }
.sec-head--row { display: flex; align-items: baseline; gap: 20px; }

/* ---------- 01 figures（黒） ---------- */
.figs__grid { margin-top: 64px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); border-top: 1px solid #fff; }
.fig { grid-column: span 6; padding: 22px 16px 28px 0; border-bottom: 1px solid #333; }
@media (min-width: 900px) {
  .fig { grid-column: span 3; padding-left: 20px; border-left: 1px solid #333; }
  .fig--hero { grid-column: span 12; padding-left: 0; border-left: 0; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto 1fr auto; column-gap: 32px; }
  .fig--hero .fig__k { grid-column: 1 / -1; }
  .fig--hero .fig__v { grid-row: 2 / 4; }
  .fig--hero .fig__ja { align-self: end; }
  .fig--hero + .fig, .fig--hero ~ .fig:nth-of-type(4n + 2) { padding-left: 0; border-left: 0; }
}
@media (max-width: 899px) { .fig--hero { grid-column: span 12; } .fig:not(.fig--hero):nth-of-type(odd) { padding-left: 16px; border-left: 1px solid #333; } }
.phero--black .fig__k { color: #9a9a9a; }
.fig__v { margin-top: 6px; font-weight: 200; font-size: clamp(96px, 17vw, 260px); line-height: 0.88; letter-spacing: -0.065em; }
.fig__v--m { font-size: clamp(44px, 5vw, 76px); font-weight: 300; letter-spacing: -0.05em; line-height: 1; }
.phero--black .fig__ja { color: #bdbdbd; }
.fig__note { margin-top: 6px; font-size: 11px; color: #9a9a9a; }

.chart { grid-column: span 12; padding: 28px 0 16px; border-bottom: 1px solid #333; }
@media (min-width: 1100px) {
  .chart--half { grid-column: span 6; padding-right: 32px; }
  .chart--half:nth-of-type(even) { padding-left: 32px; padding-right: 0; border-left: 1px solid #333; }
}
.chart figcaption, .pipe-wrap figcaption, .geo-wrap figcaption { font-family: var(--en); font-size: 11px; color: #9a9a9a; }
.chart figcaption .num { color: #fff; margin-right: 8px; }
.pipe-wrap figcaption .num, .geo-wrap figcaption .num { color: #000; margin-right: 8px; }
.pipe-wrap figcaption, .geo-wrap figcaption { color: var(--muted); }
.chart__ja { display: block; margin-top: 2px; font-family: var(--ja); font-size: 11px; color: #5e5e5e; }
.sec--black .chart__ja, .phero--black .chart__ja { color: #a3a3a3; }

.bars { width: 100%; height: auto; margin-top: 18px; font-family: var(--en); overflow: visible; }
.bars .grid { stroke: #2a2a2a; stroke-width: 1; }
.bars .base { stroke: #fff; stroke-width: 1; }
.bars .bar { fill: #fff; transform-box: fill-box; transform-origin: 50% 100%; }
.bars .bar--hi { fill: var(--accent); }
.ax { fill: #8a8a8a; font-size: 11px; font-family: var(--en); }

.heat__scroll { margin-top: 18px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.heat { font-family: var(--en); width: 100%; min-width: 460px; height: auto; }
.heat .l0 { fill: #1c1c1c; } .heat .l1 { fill: #4a4a4a; } .heat .l2 { fill: #8c8c8c; } .heat .l3 { fill: #dcdcdc; } .heat .l4 { fill: var(--accent); }
.heat__legend { margin-top: 12px; display: flex; align-items: center; gap: 4px; font-family: var(--en); font-size: 10px; color: #8a8a8a; }
.heat__legend i { width: 10px; height: 10px; display: inline-block; }
.heat__legend .l0 { background: #1c1c1c; } .heat__legend .l1 { background: #4a4a4a; } .heat__legend .l2 { background: #8c8c8c; } .heat__legend .l3 { background: #dcdcdc; } .heat__legend .l4 { background: var(--accent); }
.heat__legend span:first-child { margin-right: 4px; } .heat__legend span:last-child { margin-left: 4px; }

.figs__src { margin-top: 18px; font-size: 10px; color: #777; }

/* ---------- 黒線の枠（about） ---------- */
.frame { border: 1px solid var(--fg); max-width: 1080px; }
.frame__main { padding: clamp(28px, 4vw, 56px); }
.frame__main .body { max-width: 50em; }
.frame__vm { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--fg); }
@media (min-width: 768px) { .frame__vm { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vm + .vm { border-left: 1px solid var(--fg); } }
@media (max-width: 767px) { .vm + .vm { border-top: 1px solid var(--fg); } }
.vm { padding: clamp(28px, 3.5vw, 40px) clamp(28px, 3.5vw, 40px) clamp(32px, 4vw, 48px); }
.vm .body { margin-top: 20px; }
.vm-note { margin-top: 12px; font-size: 11px; color: var(--muted); }

/* ---------- 同心円 ---------- */
.ring { margin: 48px auto 0; max-width: 800px; }
.ring__svg { width: 100%; height: auto; font-family: var(--ja); overflow: visible; }
.ring__svg .rg { fill: none; stroke: #000; stroke-width: 1; }
.ring__svg .rg--thin { stroke-width: 0.6; }
.ring__svg .rg--dash { stroke-dasharray: 2 4; }
.ring__svg .tick { stroke: #000; stroke-width: 0.8; }
.ring__svg .spoke { stroke: #000; stroke-width: 1; }
.ring__svg .node { fill: var(--gray); stroke: #000; stroke-width: 1; }
.ring__svg .node__n { font-family: var(--en); font-size: 10px; font-weight: 500; fill: #000; }
.ring__svg .ring__ja { font-size: 17px; font-weight: 700; fill: #000; }
.ring__svg .ring__en { font-family: var(--en); font-size: 10.5px; fill: #555; }
.ring__svg .ring__core { fill: #fff; font-family: var(--en); font-size: 25px; font-weight: 700; letter-spacing: -0.04em; }
.ring__svg .ring__core-s { fill: #fff; font-size: 12px; opacity: 0.8; }
.ring__rot { transform-box: view-box; transform-origin: 50% 50%; animation: spin 140s linear infinite; }
.ring__rot--rev { animation-duration: 60s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.ring__list { display: none; }
@media (max-width: 600px) {
  .ring__svg { display: none; }
  .ring__list { display: block; list-style: none; text-align: left; border-top: 1px solid var(--fg); }
  .ring__list li { display: flex; gap: 14px; padding-block: 12px; border-bottom: 1px solid #c4c4c4; font-weight: 700; font-size: 15px; }
  .ring__list .num { font-weight: 400; font-size: 12px; color: var(--muted); padding-top: 2px; }
}

/* ---------- ＋ ＝ の 3 枠 ---------- */
.eq { margin: 56px auto 0; max-width: 1080px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; text-align: left; }
@media (min-width: 1024px) { .eq { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 24px; align-items: stretch; } }
.eq__box { border: 1px solid var(--fg); border-radius: 16px; padding: 32px; background: var(--bg); }
.eq__box--result { border-color: #000; background: #000; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.eq__en { font-family: var(--en); font-size: 11px; color: var(--muted); }
.eq__box--result .eq__en { color: var(--accent); }
.eq__h { margin-top: 4px; font-size: 20px; line-height: 1.4; }
.eq__box dl { margin-top: 18px; display: grid; gap: 14px; }
.eq__box dl div { padding-top: 12px; border-top: 1px solid var(--hair); }
.eq__box dt { font-size: 14px; font-weight: 700; line-height: 1.4; }
.eq__box dd { margin-top: 2px; font-size: 12px; line-height: 1.6; color: #333; }
.eq__box--result > p:last-child { margin-top: 14px; font-size: 14px; line-height: 1.8; color: #cfcfcf; }
.eq__op { align-self: center; justify-self: center; font-family: var(--en); font-size: 40px; font-weight: 200; line-height: 1; }

/* ---------- 事業 ---------- */
.dom { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px 48px; padding-block: 48px 56px; border-top: 1px solid var(--fg); }
@media (min-width: 960px) { .dom { grid-template-columns: 9rem minmax(0, 7fr) minmax(0, 4fr); } .dom:not(:has(.dom__photo)) .dom__body { grid-column: 2 / 4; max-width: 52em; } }
.dom__n { font-weight: 200; font-size: clamp(64px, 8vw, 128px); line-height: 0.85; letter-spacing: -0.06em; }
.dom__h { margin-top: 6px; font-size: clamp(22px, 1.4vw + 14px, 30px); line-height: 1.35; }
.dom__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .8s var(--ease); }
.dom__photo:hover img { filter: none; }
.dom__photo figcaption { margin-top: 8px; font-size: 10.5px; color: var(--muted); }
.fn { list-style: none; margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--hair); }
.fn li { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--hair); font-size: 14px; font-weight: 700; }
.fn .num { font-size: 11px; font-weight: 400; color: var(--muted); }
.fn i { margin-left: auto; padding-right: 12px; font-family: var(--en); font-style: normal; font-weight: 400; font-size: 10.5px; color: var(--muted); }
.mini { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px 48px; }
.mini dd { margin-top: 4px; font-weight: 300; font-size: 36px; letter-spacing: -0.04em; line-height: 1; }

/* ---------- テクノロジー ---------- */
.pipe-wrap { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--fg); }
.sec--gray .pipe-wrap { border-top-color: #000; }
.pipe { width: 100%; min-width: 640px; height: auto; margin-top: 18px; font-family: var(--ja); }
.pipe-wrap { overflow-x: auto; }
.pipe__line { fill: none; stroke: #000; stroke-width: 1; }
.pipe__node { fill: var(--bg); stroke: #000; stroke-width: 1; }
.sec--gray .pipe__node { fill: var(--gray); }
.pipe__n { font-family: var(--en); font-size: 11px; font-weight: 500; }
.pipe__ja { font-size: 14px; font-weight: 700; }
.pipe__en { font-family: var(--en); font-size: 10.5px; fill: #555; }
.pipe__dot { fill: var(--accent); }
.spec { list-style: none; margin-top: 40px; border-top: 1px solid #000; }
.spec li { display: grid; grid-template-columns: 3.5em minmax(0, 1fr); gap: 16px; padding-block: 22px; border-bottom: 1px solid #c4c4c4; }
.spec .num { font-weight: 200; font-size: 34px; line-height: 1; letter-spacing: -0.04em; }
.spec h3 { font-size: 17px; line-height: 1.5; }
.spec p { margin-top: 6px; font-size: 14px; line-height: 1.8; color: #333; }

/* ---------- グループ ---------- */
.tbl { width: 100%; margin-top: 32px; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { text-align: left; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--hair); vertical-align: baseline; }
.tbl thead th { font-family: var(--en); font-weight: 400; font-size: 10.5px; color: var(--muted); border-bottom: 1px solid var(--fg); padding-block: 10px; }
.tbl tbody th { font-weight: 700; font-size: 15px; }
.tbl td.num { font-size: 11px; color: var(--muted); width: 3.5em; }
.tbl tr.is-plan th::after { content: "  → 2027.05"; font-family: var(--en); font-weight: 400; font-size: 11px; color: var(--accent); }
.tbl tr.is-next th::after { content: "  → 2026.11"; font-family: var(--en); font-weight: 400; font-size: 11px; color: var(--accent); }
@media (max-width: 720px) { .tbl thead { display: none; } .tbl tr { display: grid; grid-template-columns: 3em 1fr; padding-block: 10px; border-bottom: 1px solid var(--hair); } .tbl th, .tbl td { border: 0; padding: 2px 0; } .tbl tbody td:not(.num) { grid-column: 2; font-size: 13px; color: #444; } }
.geo-wrap { margin-top: 64px; padding-top: 22px; border-top: 1px solid var(--fg); }
.geo { width: 100%; height: auto; margin-top: 18px; font-family: var(--ja); background: #000; overflow: visible; }
.geo__grid { stroke: #222; stroke-width: 1; }
.geo .ax { fill: #666; font-size: 10px; }
.geo__link { stroke: #fff; stroke-opacity: .7; stroke-width: 1; fill: none; }
.geo__km { fill: var(--accent); font-family: var(--en); font-size: 12px; }
.geo__pt { fill: #fff; }
.geo__pt.is-next { fill: #000; stroke: #fff; stroke-width: 1.5; }
.geo__hq { fill: var(--accent); }
.geo__pulse { fill: none; stroke: var(--accent); stroke-width: 1; transform-box: fill-box; transform-origin: 50% 50%; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(0.6); opacity: 1; } to { transform: scale(3.2); opacity: 0; } }
.geo__ja { fill: #fff; font-size: 14px; font-weight: 700; }
.geo__en { fill: #8a8a8a; font-family: var(--en); font-size: 10px; }

/* ---------- 採用 ---------- */
.roles { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--fg); }
@media (min-width: 960px) { .roles { grid-template-columns: repeat(3, minmax(0, 1fr)); } .role + .role { border-left: 1px solid var(--hair); padding-left: 28px; } }
.role { padding: 28px 28px 36px 0; border-bottom: 1px solid var(--hair); }
.role__n { font-weight: 200; font-size: 72px; line-height: 0.9; letter-spacing: -0.06em; margin-bottom: 18px; }
.role__h { margin-top: 4px; font-size: 22px; }
.tags { list-style: none; margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-family: var(--en); font-size: 11px; border: 1px solid var(--fg); border-radius: 9999px; padding: 3px 10px; }

/* ---------- お問い合わせ ---------- */
.kicker { font-family: var(--en); font-size: 13px; font-weight: 500; color: var(--muted); }
.contact__h { margin-top: 10px; font-size: clamp(22px, 1.6vw + 14px, 30px); line-height: 1.4; }
.contact__text { margin-top: 20px; font-size: 15px; line-height: 1.9; }
.desk { list-style: none; border-top: 1px solid var(--fg); }
.desk li { display: grid; grid-template-columns: 3em minmax(0, 1fr); gap: 6px 20px; align-items: baseline; padding-block: 24px; border-bottom: 1px solid var(--hair); }
@media (min-width: 820px) { .desk li { grid-template-columns: 4em minmax(0, 1fr) auto; } }
.desk .num { font-size: 11px; color: var(--muted); }
.desk h2 { font-size: 18px; }
.desk p { margin-top: 4px; font-size: 13px; color: #555; }
.desk a { font-family: var(--en); font-size: 15px; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; justify-self: start; transition: color .2s; }
@media (max-width: 819px) { .desk a { grid-column: 2; } }
.desk a:hover { color: var(--accent); }

/* ---------- 会社概要・年表 ---------- */
.profile { margin-top: 32px; border-top: 1px solid var(--fg); max-width: 1080px; }
.profile div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px 32px; padding-block: 18px; border-bottom: 1px solid var(--hair); }
@media (min-width: 640px) { .profile div { grid-template-columns: 9rem minmax(0, 1fr); } }
.profile dt { color: var(--muted); font-size: 13px; }
.profile__en { margin-left: 12px; font-family: var(--en); font-size: 12px; color: var(--muted); }
.axis { width: 100%; height: auto; margin-top: 56px; font-family: var(--en); overflow: visible; }
.axis .axis__base { stroke: #000; stroke-width: 1; fill: none; }
.axis .tick { stroke: #000; stroke-width: 0.7; }
.axis .ax { fill: #000; font-size: 12px; }
.axis .axis__stem { stroke: #000; stroke-width: 0.7; stroke-dasharray: 2 3; }
.axis .axis__dot { fill: #000; }
.axis .axis__dot.is-next { fill: #fff; stroke: #000; stroke-width: 1.2; }
.axis .axis__n { font-size: 10px; fill: var(--muted); }
.axis .axis__now { font-size: 10px; fill: var(--accent); }
.blink { animation: blink 1.6s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.tl__list { list-style: none; counter-reset: tl; margin-top: 40px; border-top: 1px solid var(--fg); max-width: 1080px; }
.tl__list li { counter-increment: tl; display: grid; grid-template-columns: 2.4em 7.5em minmax(0, 1fr); gap: 0 16px; align-items: baseline; padding-block: 14px; border-bottom: 1px solid var(--hair); }
.tl__list li::before { content: counter(tl, decimal-leading-zero); font-family: var(--en); font-size: 10px; color: var(--muted); }
.tl__list time { font-size: 20px; font-weight: 300; letter-spacing: -0.02em; }
.tl__list p { font-size: 15px; }
.tl__list .is-next time { color: var(--accent); }
@media (max-width: 640px) { .axis { display: none; } .tl__list li { grid-template-columns: 2em minmax(0, 1fr); } .tl__list p { grid-column: 2; } }

.e404 { min-height: calc(100dvh - var(--hd-h)); }

/* ---------- フッター ---------- */
.ft { background: #000; color: #fff; padding-top: 72px; overflow: hidden; }
.ft__big { font-family: var(--en); font-weight: 700; font-size: clamp(88px, 21vw, 340px); letter-spacing: -0.075em; line-height: 0.8; margin-left: -0.04em; }
.ft__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-block: 56px 64px; }
.ft__desc { font-family: var(--en); font-size: 12px; color: #9a9a9a; line-height: 1.6; }
.ft__meta { display: grid; grid-template-columns: repeat(2, auto); gap: 24px 48px; }
@media (min-width: 960px) { .ft__meta { grid-template-columns: repeat(5, auto); } }
.ft__meta dt { font-family: var(--en); font-size: 10px; color: #777; }
.ft__meta dd { margin-top: 6px; font-size: 12px; line-height: 1.8; }
.ft__meta dd a { display: inline-block; padding-block: 3px; min-height: 24px; }
.ft__meta a { text-decoration: none; }
.ft__meta a:hover { color: var(--accent); }
.ft__bar { border-top: 1px solid #222; }
.ft__bar-in { display: flex; justify-content: space-between; gap: 16px; padding-block: 18px; font-size: 11px; color: #9a9a9a; }
.ft__bar a { text-decoration: none; }

/* 一日（careers）。PCは横の時間軸、スマホは縦 */
.day { list-style: none; margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr); position: relative; }
.day::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: var(--fg); transform-origin: 50% 0; }
.day li { position: relative; padding: 0 0 32px 32px; }
.day li::before { content: ""; position: absolute; left: 0; top: 4px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg, #fff); border: 1px solid var(--fg); }
.day li:nth-child(3)::before { background: var(--accent); border-color: var(--accent); }
.day__t { font-family: var(--en); font-size: 11px; color: var(--muted); letter-spacing: .02em; }
.day h3 { margin-top: 6px; font-size: 17px; line-height: 1.5; }
.day p { font-size: 14px; line-height: 1.8; color: #333; }
.day h3 + p { margin-top: 6px; }
.day__k { margin-top: 10px; font-family: var(--en); font-size: 11px; color: var(--muted) !important; }
@media (min-width: 960px) {
  .day { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 28px; }
  .day::before { left: 0; right: 0; top: 5px; bottom: auto; width: auto; height: 1px; transform-origin: 0 50%; }
  .day li { padding: 32px 0 0; }
}
.js .day::before { transform: scaleY(0); transition: transform 1.6s var(--ease); }
@media (min-width: 960px) { .js .day::before { transform: scaleX(0); } }
.js .day.is-in::before { transform: none; }
.js .day li { opacity: 0; transform: translateY(16px); transition: opacity .8s ease calc(300ms + var(--i) * 160ms), transform 1s var(--ease) calc(300ms + var(--i) * 160ms); }
.js .day.is-in li { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .day::before, .js .day li { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* 点の格子・流れる文字・写真のワイプ・主要な数字の線・ボタンの吸い付き */
.hero, .phero { isolation: isolate; }
.hero { overflow: hidden; }
.dots { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero .wrap, .phero .wrap { position: relative; }
.ft { overflow: hidden; }
main { overflow-x: clip; }
.en-big, .ghost, .ft__big, .statement { will-change: translate; }
.btn, .hd__cta { transition: background .25s, color .25s, border-color .25s, translate .35s var(--ease); }
.kf__item { position: relative; }
.kf__item::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.js .kf__item.is-in::before { animation: kfline 1.6s var(--ease) .2s forwards; }
@keyframes kfline { 0% { transform: scaleX(0); transform-origin: 0 50%; } 50% { transform: scaleX(1); transform-origin: 0 50%; } 51% { transform-origin: 100% 50%; } 100% { transform: scaleX(0); transform-origin: 100% 50%; } }
.kf__item:hover::before { animation: none; transform: scaleX(1); transition: transform .5s var(--ease); }
.js .dom__photo { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease) .2s; }
.js .dom.is-in .dom__photo { clip-path: inset(0 0 0 0); }
.js .dom__photo img { scale: 1.15; transition: filter .8s var(--ease), scale 1.8s var(--ease) .2s; }
.js .dom.is-in .dom__photo img { scale: 1; }
@media (prefers-reduced-motion: reduce) {
  .js .dom__photo { clip-path: none !important; transition: none !important; }
  .js .dom__photo img { scale: 1 !important; }
  .js .kf__item.is-in::before { animation: none !important; }
}

/* ページ切り替えの幕（JS が無いときは出さない） */
.pt { display: none; }
.js .pt { position: fixed; inset: 0; z-index: 200; background: #000; color: #fff; display: grid; place-items: center; pointer-events: none; animation: ptleave .8s cubic-bezier(.77,0,.18,1) .15s forwards; }
.js .pt.is-cover { animation: ptcover .6s cubic-bezier(.77,0,.18,1) forwards; }
@keyframes ptleave { from { transform: none; } to { transform: translateX(101%); visibility: hidden; } }
@keyframes ptcover { from { transform: translateX(-101%); } to { transform: none; } }
.pt__logo { font-family: var(--en); font-weight: 600; font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.05em; animation: ptfade .3s ease .1s forwards; }
.pt.is-cover .pt__logo { opacity: 0; animation: ptlogo .4s ease .25s forwards; }
.pt__logo sup { font-size: .35em; font-weight: 400; margin-left: 3px; color: var(--accent); }
@keyframes ptfade { to { opacity: 0; } }
@keyframes ptlogo { to { opacity: 1; } }

/* ヒーローの英文を1文字ずつ */
.statement .wd { display: inline-block; white-space: nowrap; }
.statement .ch { display: inline-block; }
.js .statement.is-split .ln > span { transform: none; transition: none; }
.js .statement.is-split .ch { transform: translateY(110%) rotate(8deg); opacity: 0; transition: transform 1s var(--ease) calc(.6s + var(--c) * 22ms), opacity .6s ease calc(.6s + var(--c) * 22ms); }
.js .statement.is-split.is-in .ch { transform: none; opacity: 1; }

/* 地図: 本社から各院へ流れる光と、着いたときの波紋 */
.geo__flow { stroke: var(--accent); stroke-width: 2; fill: none; stroke-linecap: round; stroke-dasharray: 0.07 1; stroke-dashoffset: 0.07; opacity: 0; }
.js .is-in .geo__flow { opacity: 1; animation: geoflow 2.6s cubic-bezier(.45,0,.25,1) calc(1.6s + var(--i) * .45s) infinite; }
@keyframes geoflow { from { stroke-dashoffset: 0.07; } to { stroke-dashoffset: -1; } }
.geo__ping { fill: none; stroke: #fff; stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: 50% 50%; }
.js .is-in .geo__ping { animation: geoping 2.6s ease-out calc(1.6s + var(--i) * .45s) infinite; }
@keyframes geoping { 0%, 62% { opacity: 0; transform: scale(1); } 66% { opacity: .9; } 100% { opacity: 0; transform: scale(4); } }
@media (prefers-reduced-motion: reduce) {
  .pt { display: none; }
  .geo__flow, .geo__ping { animation: none !important; opacity: 0 !important; }
}

/* about の statement（artless の 3 列＋分解した図） */
.st { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; font-size: 12.5px; line-height: 1.8; }
@media (min-width: 900px) { .st { grid-template-columns: 2fr 3.4fr 3.4fr; gap: 48px; } }
.st__k { font-family: var(--en); font-size: 10px; color: var(--muted); margin-bottom: 18px; }
.st__scope dl { font-family: var(--en); font-size: 11.5px; line-height: 1.6; }
.st__scope dt { font-weight: 600; margin-top: 16px; }
.st__scope dt:first-child { margin-top: 0; }
.st__en { font-family: var(--en); font-size: 12px; color: #222; }
.st__en p + p, .st__ja p + p { margin-top: 1.2em; }
.st__h { font-family: var(--en); font-weight: 400; font-size: 18px; line-height: 1.25; letter-spacing: -0.02em; margin-bottom: 18px; }
.st__hja { font-size: 15px; font-weight: 700; line-height: 1.6; margin-bottom: 18px; }
.st__ja { font-size: 12.5px; color: #222; }
.model-wrap { margin-top: 72px; padding-top: 22px; border-top: 1px solid var(--fg); }
.model-wrap figcaption { font-family: var(--en); font-size: 11px; color: var(--muted); }
.model-wrap figcaption .num { color: #000; margin-right: 8px; }
.model__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 18px; }
.model { display: block; width: 100%; min-width: 760px; height: auto; font-family: var(--ja); }
.model__sep { stroke: #000; stroke-width: 1; stroke-dasharray: 2 4; opacity: .5; }
.model__arw { stroke: #000; stroke-width: 1; fill: none; }
.model__ring { fill: none; stroke: #000; stroke-width: 1; }
.model__rot { transform-box: view-box; transform-origin: 50% 51.7%; animation: spin 60s linear infinite; }
.model__c { fill: #000; fill-opacity: .1; transition: fill-opacity .4s; }
.model g:hover > .model__c { fill-opacity: .22; }
.model__core { fill: none; stroke: #000; stroke-width: 1; }
.model__hq { font-family: var(--en); font-size: 9px; font-weight: 600; fill: var(--accent); }
.model__en, .model__ttl, .model__out { font-family: var(--en); font-weight: 600; letter-spacing: .14em; font-size: 14px; fill: #000; }
.model__ttl { font-size: 15px; }
.model__ja { font-size: 12px; font-weight: 700; fill: #000; }
.model__sub, .model__tag, .model__in { font-family: var(--en); font-size: 11px; font-style: italic; fill: #333; }
.model__tag { font-size: 9.5px; fill: var(--muted); }
.model__inja, .model__noteja { font-size: 9.5px; fill: var(--muted); }
.model__yr { font-family: var(--en); font-size: 11px; font-style: italic; fill: var(--accent); }
.model__note { font-family: var(--en); font-size: 11px; font-style: italic; fill: #000; }
@media (prefers-reduced-motion: reduce) { .model__rot { animation: none !important; } }

/* Galapagos の画面（technology） */
.gkey { margin-top: 36px; }
.gkey img { width: 100%; height: auto; display: block; }
.shots { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 28px 20px; }
.shots figure { margin: 0; }
.shots--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); }
.shots img { width: 100%; height: auto; display: block; border: 1px solid #d6d6d6; transition: transform .6s var(--ease); }
.shots figure:hover img { transform: translateY(-4px); }
.shots figcaption { margin-top: 10px; font-size: 13px; line-height: 1.6; }
.shots .num { font-family: var(--en); font-size: 11px; color: var(--muted); margin-right: 8px; }
.js .shots figure { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform 1s var(--ease); }
.js .shots.is-in figure { opacity: 1; transform: none; }
.js .shots.is-in figure:nth-child(2) { transition-delay: .08s; } .js .shots.is-in figure:nth-child(3) { transition-delay: .16s; }
.js .shots.is-in figure:nth-child(4) { transition-delay: .24s; } .js .shots.is-in figure:nth-child(5) { transition-delay: .32s; } .js .shots.is-in figure:nth-child(6) { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) { .js .shots figure { opacity: 1 !important; transform: none !important; } }

/* investors: クリニック数の推移と循環 */
.growth { display: block; width: 100%; min-width: 640px; height: auto; margin-top: 18px; font-family: var(--en); }
.growth .grid { stroke: #e3e3e3; }
.growth .tick { stroke: #000; }
.growth__done { fill: none; stroke: #000; stroke-width: 2; }
.growth__plan { fill: none; stroke: #000; stroke-width: 1.5; stroke-dasharray: 4 5; }
.growth__pt { fill: #000; }
.growth__pt.is-plan { fill: #fff; stroke: #000; stroke-width: 1.5; }
.growth__v { font-size: 30px; font-weight: 200; letter-spacing: -0.04em; }
.growth__d { font-size: 11px; font-weight: 400; letter-spacing: 0; fill: var(--muted); }
.growth__mna { fill: var(--accent); }
.growth__ml { font-size: 10.5px; fill: var(--accent); }
.fly__dash { fill: none; stroke: #000; stroke-width: 1; stroke-dasharray: 2 6; opacity: .5; }
.fly__pt { fill: #000; }
.fly .model__rot { transform-origin: 50% 50%; }

/* geek: ターミナル・状態表示・グリッドの重ね表示 */
:root { --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace; }
.hd__term { margin-right: 10px; border: 1px solid var(--fg); background: transparent; border-radius: 9999px; padding: 6px 12px; font-family: var(--mono); font-size: 12px; line-height: 1; cursor: pointer; color: inherit; }
.hd__term:hover { background: var(--fg); color: #fff; }
@media (max-width: 560px) { .hd__term { display: none; } }
.sysline { font-family: var(--mono); letter-spacing: 0; }
.sysline kbd { font-family: var(--mono); border: 1px solid #555; border-radius: 3px; padding: 0 4px; font-size: 10px; }
.term { position: fixed; inset: 0; z-index: 150; background: rgba(0,0,0,.55); display: grid; place-items: center; padding: 16px; backdrop-filter: blur(3px); }
.term[hidden] { display: none; }
.term__win { width: min(760px, 100%); height: min(480px, 80vh); background: #0b0b0b; color: #e8e8e8; border: 1px solid #333; border-radius: 10px; display: flex; flex-direction: column; overflow: hidden; font-family: var(--mono); font-size: 13px; box-shadow: 0 30px 80px rgba(0,0,0,.5); animation: termin .25s var(--ease); }
@keyframes termin { from { transform: translateY(12px) scale(.98); opacity: 0; } }
.term__bar { display: flex; align-items: center; gap: 7px; padding: 10px 12px; border-bottom: 1px solid #222; color: #888; font-size: 11px; }
.term__bar span { width: 10px; height: 10px; border-radius: 50%; background: #333; }
.term__bar span:first-child { background: var(--accent); }
.term__bar p { margin-left: 8px; flex: 1; }
.term__bar button { background: none; border: 1px solid #444; color: #aaa; border-radius: 4px; font: inherit; padding: 2px 6px; cursor: pointer; }
.term__out { flex: 1; overflow-y: auto; padding: 14px 16px 4px; }
.term__out pre { margin: 0 0 10px; white-space: pre-wrap; word-break: break-word; font: inherit; line-height: 1.6; }
.term__in { display: flex; gap: 8px; align-items: center; padding: 10px 16px 14px; border-top: 1px solid #1c1c1c; color: var(--accent); }
.term__in input { flex: 1; background: none; border: 0; outline: 0; color: #fff; font: inherit; caret-color: var(--accent); }
.t-echo { color: #9a9a9a; } .t-ps { color: var(--accent); } .t-num { color: #fff; font-weight: 600; } .t-dim { color: #777; } .t-err { color: #ff6a3d; } .t-dir { color: #8fd3ff; }
body.is-term { overflow: hidden; }
.gridov { position: fixed; inset: 0; z-index: 140; pointer-events: none; display: none; }
.show-grid .gridov { display: block; }
.gridov .wrap { height: 100%; display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.gridov i { background: rgba(255,61,0,.07); border-inline: 1px solid rgba(255,61,0,.25); }
.hero__xy { position: absolute; z-index: 2; pointer-events: none; font-family: var(--mono); font-size: 10px; color: var(--accent); transform: translate(14px, 14px); white-space: nowrap; opacity: 0; transition: opacity .2s; }
.hero:hover .hero__xy, .phero--black:hover .hero__xy { opacity: 1; }
@media (hover: none) { .hero__xy { display: none; } }

/* git log の帯（technology・トップ） */
.gl-wrap { margin-top: 56px; }
.gl-wrap figcaption { font-family: var(--en); font-size: 11px; color: #9a9a9a; }
.gl-wrap figcaption .num { color: #fff; margin-right: 8px; }
.gl-wrap--light figcaption .num { color: #000; }
.gl-wrap--light figcaption { color: #5e5e5e; }
.gl { margin-top: 14px; background: #0b0b0b; color: #d8d8d8; border: 1px solid #262626; border-radius: 10px; overflow: hidden; font-family: var(--mono); font-size: 12px; }
.gl__bar { display: flex; align-items: center; gap: 7px; padding: 9px 12px; border-bottom: 1px solid #1f1f1f; color: #777; font-size: 11px; }
.gl__bar span { width: 9px; height: 9px; border-radius: 50%; background: #333; } .gl__bar span:first-child { background: var(--accent); }
.gl__bar p { margin-left: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gl__list { list-style: none; height: 232px; overflow: hidden; padding: 10px 14px; mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); }
.gl__list li { height: 24px; display: grid; grid-template-columns: 6.5em 4.5em 7.5em 1fr; gap: 10px; line-height: 2; white-space: nowrap; }
.js .gl__list li { animation: glup 90s linear infinite; }
.gl:hover .gl__list li { animation-play-state: paused; }
@keyframes glup { from { transform: translateY(0); } to { transform: translateY(calc(-24px * var(--n, 40))); } }
.gl__h { color: #ffcf6a; } .gl__d { color: #777; } .gl__m { color: #555; overflow: hidden; text-overflow: ellipsis; }
.gl__k--feat { color: #7ee787; } .gl__k--fix { color: #ff7b72; } .gl__k--docs { color: #8fd3ff; } .gl__k--chore { color: #b0b0b0; }
@media (max-width: 560px) { .gl__list li { grid-template-columns: 6em 4em 1fr; } .gl__m { display: none; } }

/* investors: 伸びの勢い */
.mo-grid { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--fg); }
@media (min-width: 900px) { .mo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mo + .mo { border-left: 1px solid var(--hair); padding-left: 24px; } }
.mo { margin: 0; padding: 20px 24px 24px 0; border-bottom: 1px solid var(--hair); }
.mo__v { margin-top: 6px; font-weight: 200; font-size: clamp(56px, 7vw, 104px); line-height: 1; letter-spacing: -0.06em; color: var(--accent); }
.mo svg { display: block; width: 100%; height: auto; margin-top: 14px; overflow: visible; }
.mo__area { fill: var(--accent); fill-opacity: .08; }
.mo__line { fill: none; stroke: #000; stroke-width: 1.5; }
.mo__pt { fill: var(--accent); }

/* コナミコマンドの CRT */
.mode-crt body { filter: contrast(1.1) saturate(1.2); }
.mode-crt body::after { content: ""; position: fixed; inset: 0; z-index: 300; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px); mix-blend-mode: multiply; animation: crt 6s linear infinite; }
@keyframes crt { 50% { opacity: .75; } }
.mode-crt { --accent: #39ff14; }
@media (prefers-reduced-motion: reduce) { .js .gl__list li { animation: none; } .mode-crt body::after { animation: none; } }

/* トップ fig.0: コミットを 1 点ずつ積み上げる */
.dots-fig { margin: 56px 0 0; background: #000; color: #fff; padding-top: 22px; }
.dots-fig__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; align-items: end; }
.dots-fig figcaption { font-family: var(--en); font-size: 11px; color: #9a9a9a; }
.dots-fig figcaption .num { color: #fff; margin-right: 8px; }
.dots-fig__read { font-family: var(--mono); font-size: 11px; color: var(--accent); }
.dots-fig__stage { position: relative; height: clamp(280px, 40vw, 520px); margin-top: 14px; cursor: crosshair; }
.dots-fig__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* キー操作の一覧・X線モード */
.keys { position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; background: rgba(0,0,0,.5); padding: 16px; }
.keys[hidden] { display: none; }
.keys__win { background: #0b0b0b; color: #ddd; border: 1px solid #333; border-radius: 10px; padding: 22px 26px; font-family: var(--mono); font-size: 13px; min-width: min(360px, 100%); }
.keys__h { color: var(--accent); margin-bottom: 12px; }
.keys dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; }
.keys dt { color: #fff; } .keys dd { color: #888; }
.show-xray main *, .show-xray .hd *, .show-xray .ft * { outline: 1px solid rgba(255,61,0,.35) !important; outline-offset: -1px; }
.show-xray main img, .show-xray main svg, .show-xray main canvas { opacity: .35; }

/* clinic os の層（トップ） */
.os { margin-top: 40px; background: #0b0b0b; color: #ddd; border: 1px solid #262626; border-radius: 10px; overflow: hidden; font-family: var(--mono); }
.os__bar { display: flex; align-items: center; gap: 7px; padding: 9px 12px; border-bottom: 1px solid #1f1f1f; color: #777; font-size: 11px; }
.os__bar span { width: 9px; height: 9px; border-radius: 50%; background: #333; } .os__bar span:first-child { background: var(--accent); }
.os__bar p { margin-left: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.os__stack { list-style: none; padding: 14px; display: grid; gap: 6px; }
.os__stack li { display: grid; grid-template-columns: 4em 7em minmax(0, 1fr); gap: 4px 16px; align-items: baseline; padding: 14px 16px; border: 1px solid #222; border-radius: 6px; background: linear-gradient(90deg, rgba(255,61,0,.06), transparent 40%); transition: border-color .3s, background .3s, transform .3s var(--ease); }
.os__stack li:hover { border-color: var(--accent); background: linear-gradient(90deg, rgba(255,61,0,.16), transparent 60%); transform: translateX(6px); }
.os__n { color: var(--accent); font-size: 11px; }
.os__k { color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.os__v { color: #bbb; font-size: 12px; }
.os__ja { grid-column: 3; color: #777; font-size: 11px; font-family: var(--ja); }
.os__stack li:nth-child(5) { border-color: #3a3a3a; }
.os__stack li:nth-child(5) .os__k::after { display: block; margin-top: 4px; content: "◀ premed hq"; color: var(--accent); font-weight: 400; letter-spacing: 0; text-transform: none; font-size: 11px; }
.js .os__stack li { opacity: 0; transform: translateY(14px); transition: opacity .6s ease calc(var(--i) * 90ms), transform .8s var(--ease) calc(var(--i) * 90ms), border-color .3s, background .3s; }
.js .os.is-in .os__stack li { opacity: 1; transform: none; }
.js .os.is-in .os__stack li:hover { transform: translateX(6px); }
@media (max-width: 640px) { .os__stack li { grid-template-columns: 3.4em minmax(0, 1fr); } .os__v, .os__ja { grid-column: 2; } }
@media (prefers-reduced-motion: reduce) { .js .os__stack li { opacity: 1 !important; transform: none !important; } }

/* geek の見た目: 16 進の節番号・等幅のラベル・点滅するカーソル */
.idx span::before { content: "0x"; opacity: .55; }
.idx b, .fig__k, .chart figcaption, .model-wrap figcaption, .pipe-wrap figcaption, .geo-wrap figcaption, .gl-wrap figcaption, .dots-fig figcaption, .st__k, .kicker, .num.sysline { font-family: var(--mono) !important; letter-spacing: 0; }
.statement .ln:last-child > span::after { content: "_"; margin-left: .04em; color: var(--accent); animation: caret 1.05s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .statement .ln:last-child > span::after { animation: none; } }

/* why now・残り日数・リリースノート・バッジ・404 */
.age { display: block; width: 100%; max-width: 900px; height: auto; margin-top: 18px; font-family: var(--en); }
.sec--black .age .grid { stroke: #222; } .sec--black .age .ax { fill: #777; } .sec--black .age .base { stroke: #555; }
.age .bar { fill: #444; } .age .bar--hi { fill: var(--accent); }
.age__v { font-size: 13px; fill: #999; } .age__v.is-hi { fill: #fff; font-weight: 600; }
.sec--black .figs__src a { color: #bbb; }
.cd { display: inline-flex; gap: 10px; align-items: baseline; margin-top: 22px; padding: 8px 14px; border: 1px solid var(--accent); border-radius: 9999px; font-family: var(--mono); font-size: 12px; color: var(--accent); }
.cd b { color: #fff; font-weight: 600; font-size: 15px; }
.phero:not(.phero--black) .cd b, .sec:not(.sec--black) .cd b { color: #000; }
.spec--inv { border-top-color: #fff; } .spec--inv li { border-bottom-color: #333; } .spec--inv p { color: #bdbdbd; }
.cl { list-style: none; border-top: 1px solid var(--fg); }
.cl__i { display: grid; grid-template-columns: 7em 10em 6em minmax(0, 1fr); gap: 6px 20px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--hair); }
.cl__v { font-family: var(--mono); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.cl__d, .cl__k { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.cl__k { justify-self: start; padding: 2px 8px; border-radius: 4px; border: 1px solid currentColor; }
.cl__k--breaking { color: var(--accent); } .cl__k--feat { color: #1f883d; } .cl__k--chore { color: #888; } .cl__k--init { color: #0969da; }
.cl__t { font-size: 15px; line-height: 1.7; }
.cl__i.is-upcoming .cl__v, .cl__i.is-planned .cl__v { color: var(--accent); }
.cl__i.is-planned { opacity: .75; }
@media (max-width: 760px) { .cl__i { grid-template-columns: 6em minmax(0, 1fr); } .cl__k { grid-column: 1; } .cl__t { grid-column: 2; grid-row: 2 / span 2; } }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; font-family: var(--mono); font-size: 11px; }
.badges span { display: inline-flex; border-radius: 4px; overflow: hidden; }
.badges b { background: #333; color: #ddd; font-weight: 400; padding: 3px 7px; }
.badges i { font-style: normal; background: #1f883d; color: #fff; padding: 3px 7px; }
.badges span:nth-child(3) i, .badges span:nth-child(4) i { background: #0969da; }
.segv { margin-top: 24px; font-family: var(--mono); font-size: clamp(13px, 1.6vw, 18px); line-height: 1.7; color: #ddd; white-space: pre-wrap; }
.segv span { color: var(--accent); }
.btn--inv { color: #fff; background: transparent; cursor: pointer; font: inherit; font-weight: 700; }

/* field notes（AI が毎朝書くメモ・tools/field_notes.py） */
.fn-list li { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .fn-list li { grid-template-columns: 7.5em minmax(0, 1fr); } }
.fn-note h3 { font-size: 16px; font-weight: 500; line-height: 1.6; margin-top: 2px; }
.fn-note p { font-size: 14px; line-height: 1.9; }
.fn-note__k { font-family: var(--mono); font-size: 11px; color: var(--accent, #ff3d00); }
.fn-note__k::before { content: "["; } .fn-note__k::after { content: "]"; }
.fn-note__src { font-family: var(--mono); font-size: 11px !important; color: var(--muted); margin-top: 6px; overflow-wrap: anywhere; }
.fn-note__src a { color: inherit; }
.fn-empty p { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.fn-empty p::before { content: "$ "; color: var(--accent, #ff3d00); }
.fn-pipe { list-style: none; padding: 12px 14px; display: grid; gap: 6px; }
.fn-pipe li { display: grid; grid-template-columns: 5em minmax(0, 1fr); gap: 10px; line-height: 1.8; }
.fn-pipe .num { color: #ff3d00; }

/* フォーム（その場で書く・AI で整える・site/assets/js/form.js） */
.fm { margin: 32px auto 0; max-width: 760px; text-align: left; background: #fff; color: #111; border: 1px solid #1a1a1a; border-radius: 12px; overflow: hidden; }
.fm__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #0b0b0b; }
.fm__bar span { width: 9px; height: 9px; border-radius: 50%; background: #333; } .fm__bar span:first-child { background: var(--accent); }
.fm__bar p { margin-left: 8px; font-family: var(--mono); font-size: 11px; color: #9a9a9a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fm__body { padding: 20px; display: grid; gap: 14px; }
@media (min-width: 768px) { .fm__body { padding: 28px; } }
.fm__row { display: grid; gap: 14px; } @media (min-width: 640px) { .fm__row { grid-template-columns: 1fr 1fr; } }
.fm__f { display: grid; gap: 6px; font-size: 13px; }
.fm__f > span { font-weight: 700; } .fm__f b { font-family: var(--mono); font-size: 10px; font-weight: 400; color: var(--accent); margin-left: 4px; } .fm__f i { font-style: normal; font-weight: 400; color: var(--muted); font-size: 12px; margin-left: 4px; }
.fm input, .fm select, .fm textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; color: #111; background: #fafafa; border: 1px solid #cfcfcf; border-radius: 8px; padding: 10px 12px; }
.fm textarea { resize: vertical; line-height: 1.8; min-height: 160px; }
.fm input:focus, .fm select:focus, .fm textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; background: #fff; }
.fm__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fm__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.fm__acts .btn { cursor: pointer; font-family: inherit; border: 0; } .fm__acts .btn--line { border: 1px solid currentColor; background: transparent; color: inherit; }
.fm .btn[disabled] { opacity: .5; cursor: progress; }
.btn--s { padding: 8px 18px; font-size: 13px; cursor: pointer; font-family: inherit; border: 0; } .btn--line.btn--s { border: 1px solid currentColor; background: transparent; }
.fm__undo { background: none; border: 0; font: inherit; font-size: 13px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.fm__log { margin: 0; font-family: var(--mono); font-size: 11px; line-height: 1.8; color: #555; white-space: pre-wrap; min-height: 0; }
.fm__log:empty { display: none; } .fm__log .ok { color: #0a7d32; } .fm__log .e { color: #c62d00; }
.fm__ai { border: 1px dashed var(--accent); border-radius: 10px; padding: 14px 16px; background: #fff8f5; }
.fm__ai-k { font-family: var(--mono); font-size: 11px; color: var(--accent); } .fm__ai-k i { font-style: normal; color: var(--muted); font-family: var(--ja); }
.fm__ai-t { margin-top: 8px; white-space: pre-wrap; font-size: 14px; line-height: 1.9; }
.fm__ai-q { margin-top: 10px; padding-left: 1.2em; font-size: 13px; color: #444; } .fm__ai-q:empty { display: none; }
.fm__ai-q::before { content: "あると話が早いこと"; display: block; margin-left: -1.2em; font-size: 11px; color: var(--muted); }
.fm__ai-b { margin-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; }
.fm__note { font-size: 11px; line-height: 1.8; color: var(--muted); } .fm__note a { color: inherit; }
.fm__done { padding: 24px 0; text-align: center; } .fm__done-k { font-family: var(--mono); font-size: 11px; color: var(--accent); } .fm__done h3 { margin-top: 8px; font-size: 18px; } .fm__done p { margin-top: 6px; font-size: 14px; }

/* 気が利く仕掛け（書きかけ・もしかして・控え・30秒で・印刷・動きを止める） */
.fm__draft, .fm__hint, .fm__quiet { font-size: 12px; color: #555; }
.fm__draft { background: #f4f4f4; border-radius: 8px; padding: 8px 12px; }
.fm__draft button, .fm__hint button { margin-left: 6px; background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; cursor: pointer; }
.fm__hint b { font-family: var(--mono); font-weight: 400; color: #111; }
.fm__next { margin: 16px auto 0; max-width: 420px; text-align: left; padding-left: 1.4em; font-size: 14px; line-height: 2; }
.fm__done-b { margin-top: 16px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.fm__done-s { margin-top: 12px; font-size: 12px; color: var(--muted); }
.tldr { margin-top: 32px; border: 1px solid currentColor; border-radius: 12px; padding: 18px 20px; max-width: 760px; }
.tldr__k { font-family: var(--mono); font-size: 11px; color: var(--accent); }
.tldr__k i { font-style: normal; color: #8a8a8a; margin-left: 6px; }
.tldr ul { margin-top: 8px; padding-left: 1.2em; font-size: 14px; line-height: 1.9; }
.tldr__b { margin-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; }
.tldr__b button, .tldr__b a { font: inherit; font-size: 12px; background: none; color: inherit; border: 1px solid currentColor; border-radius: 9999px; padding: 6px 14px; cursor: pointer; text-decoration: none; }
.addr-b { margin-top: 6px; display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; }
.addr-b button, .addr-b a { font: inherit; background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; cursor: pointer; }
.mtoggle { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
html.no-motion *, html.no-motion *::before, html.no-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.no-motion [data-reveal] { opacity: 1 !important; transform: none !important; }
@media print {
  .hd, .ft, .ticker, .pt, .gridov, #term, #keys, .dots-fig, .fm, .btns, .tldr__b, .ghost, .statement { display: none !important; }
  body { padding-top: 0; color: #000; background: #fff; }
  .sec--black, .phero--black, .sec--gray { background: #fff !important; color: #000 !important; }
  .sec--black *, .phero--black * { color: #000 !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .sec { padding-block: 24px !important; break-inside: avoid-page; }
  a { color: #000; } .en-big { font-size: 28px !important; }
}

/* group の fig.1 のアニメーション（site/assets/js/geo-anim.js） */
.geo-cv { display: block; width: 100%; margin-top: 18px; background: #000; }
.geo-ui { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.geo-ui button { font-family: var(--mono); font-size: 11px; background: none; color: inherit; border: 1px solid #bbb; border-radius: 9999px; padding: 6px 12px; cursor: pointer; }
.geo-ui button.is-on { background: #000; color: #fff; border-color: #000; }

/* ==========================================================
 * 動き（html.js のときだけ。motion.js が .is-in を付ける）
 * ========================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .statement .ln > span { transform: translateY(125%); transition: transform 1.3s var(--ease); }
.js .statement.is-in .ln > span { transform: none; }
.js .statement.is-in .ln:nth-child(2) > span { transition-delay: .09s; }
.js .statement.is-in .ln:nth-child(3) > span { transition-delay: .18s; }
.js .bars .bar { transform: scaleY(0); transition: transform 1.2s var(--ease) calc(var(--i) * 70ms); }
.js .is-in .bars .bar { transform: none; }
.js .heat rect { opacity: 0; transition: opacity .5s ease calc(var(--i) * 28ms); }
.js .is-in .heat rect { opacity: 1; }
.js .draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) calc(var(--i, 0) * 120ms); }
.js .is-in .draw { stroke-dashoffset: 0; }
.js .pop { opacity: 0; transform: scale(.6); transform-box: fill-box; transform-origin: 50% 50%; transition: opacity .5s ease calc(500ms + var(--i) * 110ms), transform .8s var(--ease) calc(500ms + var(--i) * 110ms); }
.js .is-in .pop { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js .statement .ln > span, .js .bars .bar, .js .heat rect, .js .pop { opacity: 1 !important; transform: none !important; transition: none !important; }
  .js .draw { stroke-dashoffset: 0 !important; transition: none !important; }
  .ticker__track, .ring__rot, .geo__pulse, .blink { animation: none !important; }
}
.spec h3 i { font-style: normal; font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--accent); margin-left: 6px; }
.epi { margin-top: 18px; max-width: 640px; font-family: var(--en); font-size: 15px; line-height: 1.7; color: #333; font-style: italic; }
.epi span { display: block; margin-top: 4px; font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.sec--black .note { color: #9a9a9a; }
.geo__plan { stroke: var(--accent); stroke-width: 1.2; stroke-dasharray: 4 4; }
.geo__pt.is-plan { fill: #000; stroke: var(--accent); stroke-width: 2; }

/* プライバシーポリシーなど長い本文（2026-10-04） */
.prose { max-width: 760px; }
.prose h2 { font-size: 17px; font-weight: 700; margin: 2.4em 0 .6em; }
.prose ul { margin: .4em 0 0 1.2em; line-height: 2; }
.prose .note { margin-top: 2.4em; }

/* investors の市場の数字（105,521 は桁が多く、3 列だと隣に重なる。2026-10-04） */
.kf--mkt .kf__v { font-size: clamp(40px, 10vw, 72px); }
@media (min-width: 960px) { .kf--mkt .kf__v { font-size: clamp(48px, 4.6vw, 80px); } }

/* technology fig.5 部分ごとの SaaS と一つの OS（2026-10-04） */
.saas { width: 100%; min-width: 680px; height: auto; margin-top: 18px; font-family: var(--ja); color: #000; }
.saas__sep { stroke: #000; stroke-dasharray: 2 4; opacity: .4; }
.saas__k { font-family: var(--en); font-size: 12px; fill: #777; }
.saas__t { font-size: 20px; font-weight: 700; }
.saas__box { fill: var(--bg); stroke: #000; stroke-width: 1; }
.saas__m { font-size: 14px; font-weight: 700; }
.saas__m--inv { fill: #fff; }
.saas__v { font-family: var(--en); font-size: 11px; fill: #888; }
.saas__copy { stroke: var(--accent, #ff3d00); stroke-width: 1.4; stroke-dasharray: 3 3; fill: none; color: var(--accent, #ff3d00); }
.saas__note { font-size: 12px; fill: #555; }
.saas__note--acc { fill: var(--accent, #ff3d00); font-weight: 700; font-size: 13px; }
.saas__floor, .saas__data { fill: var(--bg); stroke: #000; stroke-width: 1; }
.saas__os { fill: #000; }
.saas__div { stroke: #fff; opacity: .35; }
.saas__loop { fill: none; stroke: var(--accent, #ff3d00); stroke-width: 1.6; color: var(--accent, #ff3d00); }

.dom__lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.9; margin: 0 0 18px; }
.dom__lead b { display: inline-block; font-size: clamp(19px, 2vw, 24px); margin-bottom: 6px; }

/* 細い線の図（tools/build.py の tx_*）。白黒・0.75px・小さい字。差し色は 1 か所だけ */
.tx { display: block; width: 100%; max-width: 620px; height: auto; margin-top: 20px; font-family: var(--ja); color: #000; overflow: visible; }
.tx__b { fill: var(--bg); stroke: #000; stroke-width: .75; }
.tx__b--d { stroke-dasharray: 3 3; }
.tx__b--acc { stroke: var(--accent); }
.tx__l { fill: none; stroke: #000; stroke-width: .75; color: #000; }
.tx__l--d { stroke-dasharray: 2 3; }
.tx__l--hair { stroke: #9a9a9a; }
.tx__l--acc { stroke: var(--accent); color: var(--accent); }
.tx__crop { fill: none; stroke: #000; stroke-width: .75; }
.tx__cell { fill: #cfcfcf; }
.tx__j { font-size: 11.5px; fill: #000; }
.tx__j--s { font-size: 10.5px; }
.tx__j--h { font-size: 15px; font-weight: 700; }
.tx__e, .tx__n { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 8.5px; fill: #7a7a7a; letter-spacing: .02em; }
.tx__n { fill: #000; }
.tx__acc { fill: var(--accent); }
.tx-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 8px; }
.tx-pair .tx { max-width: none; }
@media (max-width: 760px) { .tx-pair { grid-template-columns: 1fr; gap: 8px; } }
