:root {
--bg: #ffffff;
--surface: #ffffff;
--surface-2: #f5f6fa;
--text: #101426;
--muted: #4a4f63;
--line: #e3e5ec;
--line-2: #c5c8d6;
--line-strong: #101426;
--accent: #4b1fd6;
--accent-hover: #3a14b0;
--accent-ink: #ffffff;
--accent-soft: #f1edff;
--highlight: #b0136e;
--highlight-soft: #fde8f3;
--input-border: #8a8fa8;
--danger: #b42318;
--scroll-shadow: rgba(16, 20, 38, .16);
--shadow: none;
--radius: 6px;
--max: 1080px;
--prose: 41em;
--grad: linear-gradient(100deg, #4b1fd6, #0a5ad8 55%, #0a7183);
--glow: linear-gradient(90deg, #5fe6f5, #a98bff 55%, #ff8fd0);
--hud: rgba(75, 31, 214, .26);
--sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic Medium", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
--mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
font-family: var(--sans);
color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: #fff; color: var(--text); font-size: 17px; line-height: 1.9; letter-spacing: .02em; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; box-shadow: 0 0 0 2px #fff; }
.skip { position: absolute; left: 8px; top: -80px; z-index: 100; padding: 10px 16px; background: #fff; color: var(--accent); font-weight: 700; border: 2px solid var(--accent); }
.skip:focus { top: 8px; }
main:focus, main:focus-visible { outline: none; box-shadow: none; }
img { max-width: 100%; height: auto; }
figure { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
strong { font-weight: 700; }
sup { font-size: max(14px, .82em); line-height: 0; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 760px; }
@media (max-width: 760px) { .wrap { padding: 0 16px; } }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 0 20px; min-height: 64px; }
.logo { font-weight: 800; font-size: 18px; letter-spacing: .04em; color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; flex: none; }
.logo:hover { color: var(--text); }
.logo svg { width: 28px; height: 28px; color: #fff; background: var(--accent); border-radius: 4px; padding: 4px; flex: none; }
.nav { display: flex; gap: 2px; }
.nav a { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; min-height: 44px; padding: 0 10px; display: inline-flex; align-items: center; }
.nav a:hover { color: var(--accent); }
.nav a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }
.header-search { display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 44px; padding: 0 4px; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 700; }
.header-search svg { width: 20px; height: 20px; }
.header-search:hover, .header-search[aria-current="page"] { color: var(--accent); }
@media (min-width: 761px) { .site-header { position: sticky; top: 0; z-index: 10; } }
@media (min-width: 761px) and (max-width: 1120px) {
.site-header .wrap { flex-wrap: wrap; }
.nav { order: 3; flex: 1 0 100%; flex-wrap: wrap; margin: 0 -10px; }
html { scroll-padding-top: 132px; }
}
@media (max-width: 760px) {
.site-header .wrap { flex-direction: column; align-items: stretch; min-height: 0; position: relative; }
.logo { padding: 8px 0 2px; font-size: 17px; }
.nav { flex-wrap: wrap; margin: 0 -10px 4px; gap: 0; }
.nav a { font-size: 15px; letter-spacing: .02em; }
.header-search { position: absolute; top: 8px; right: 16px; }
}
main { padding: 24px 0 88px; }
h1, h2, h3 { font-weight: 800; color: var(--text); word-break: auto-phrase; }
h1 { font-size: clamp(25px, 4vw, 36px); line-height: 1.45; letter-spacing: .02em; margin: 0 0 14px; }
h2 { font-size: clamp(21px, 2.6vw, 24px); line-height: 1.5; letter-spacing: .02em; margin: 64px 0 20px; padding-left: 12px; border-left: 3px solid var(--line-strong); }
h3 { font-size: 19px; line-height: 1.6; letter-spacing: .02em; margin: 40px 0 12px; }
main p, main li { max-width: var(--prose); }
p { margin: 0 0 1.4em; }
ul, ol { padding-left: 1.4em; }
li + li { margin-top: .5em; }
.lead { line-height: 1.9; margin: 0 0 24px; }
.meta { color: var(--muted); font-size: 14px; letter-spacing: .02em; }
.kicker { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 14px; font-weight: 700; letter-spacing: .06em; color: var(--accent); }
.article-info { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; margin: 0 0 12px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.article-info > span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.article-info .icon { width: 16px; height: 16px; }
.article-key { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; margin: 0 0 20px; font-size: 14px; line-height: 1.6; color: var(--muted); max-width: none; }
.article-key b { font-size: 20px; line-height: 1.4; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.checked-note { font-size: 14px; color: var(--muted); margin: -12px 0 24px; }
.breadcrumb { margin: -16px 0 8px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; }
.breadcrumb li { margin: 0; max-width: none; }
.breadcrumb li + li::before { content: "›"; margin: 0 8px; }
.breadcrumb li[aria-current] { flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.breadcrumb a { color: var(--muted); display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumb a:hover { color: var(--accent); }
.page-head { padding: 8px 0; margin-bottom: 28px; }
.page-head h1 { margin: 0 0 10px; }
.page-head .lead { margin: 0; color: var(--muted); }
.grid { display: grid; gap: 0 32px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.card { display: block; padding: 16px 0 20px; border-top: 1px solid var(--line); color: var(--text); text-decoration: none; }
a.card:hover h3 { color: var(--accent); text-decoration: underline; }
.card h3 { margin: 0 0 4px; font-size: 18px; line-height: 1.5; }
.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.tag { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .06em; color: var(--accent); }
.card .more { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--accent); }
.card .more::after { content: " →"; }
.hero-actions, .portal-links { display: flex; gap: 10px; flex-wrap: wrap; max-width: none; }
.article-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 32px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.article-list > li { margin: 0; max-width: none; border-top: 1px solid var(--line); }
.article-list a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 0 20px; color: var(--text); text-decoration: none; }
.article-list a:hover .article-title { color: var(--accent); text-decoration: underline; }
.article-list .card-body { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.article-list .article-meta { display: flex; flex-wrap: wrap; gap: 0 12px; align-items: center; font-size: 14px; color: var(--muted); }
.article-list .article-title { margin: 0; font-size: 17px; line-height: 1.6; }
.article-list p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.key-fig { display: block; margin: 4px 0 2px; }
.key-fig b { display: block; font-size: 24px; line-height: 1.3; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.key-fig small { display: block; font-size: 14px; color: var(--muted); line-height: 1.6; }
.article-list .chk { margin-top: auto; padding-top: 4px; font-size: 14px; color: var(--muted); }
.article-list + p { margin-top: 28px; }
.panel { margin: 0 0 24px; }
.panel > :last-child { margin-bottom: 0; }
.panel > strong:first-child { display: block; font-size: 15px; letter-spacing: .04em; color: var(--accent); margin-bottom: 6px; }
.panel.points { border-top: 2px solid var(--line-strong); border-bottom: 1px solid var(--line); padding: 14px 0 18px; }
.panel.points > strong:first-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 16px; }
.panel.points ul { list-style: none; padding: 0; margin: 0; }
.panel.points li { position: relative; padding-left: 28px; }
.panel.points li + li { margin-top: 10px; }
.panel.points li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 7px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.notice { border-left: 3px solid var(--line-2); padding: 2px 0 2px 16px; font-size: 16px; margin: 24px 0; max-width: var(--prose); }
.pr-label { display: inline-block; font: 700 14px/1.6 var(--mono); letter-spacing: .1em; border: 1px solid var(--text); color: var(--text); padding: 0 8px; border-radius: 3px; margin-bottom: 12px; }
.toc { margin: 0 0 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.toc details { border: 0; margin: 0; padding: 0; }
.toc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 10px 0; color: var(--text); font-size: 16px; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "閉じる"; font-size: 14px; font-weight: 400; color: var(--accent); }
.toc details:not([open]) summary::after { content: "開く"; }
.toc ol { list-style: none; counter-reset: toc; margin: 0; padding: 0 0 8px; }
.toc li { counter-increment: toc; margin: 0; max-width: none; }
.toc a { display: flex; gap: 12px; align-items: baseline; padding: 8px 0; min-height: 44px; text-decoration: none; color: var(--text); font-size: 16px; line-height: 1.6; }
.toc a::before { content: counter(toc, decimal-leading-zero); flex: none; font: 700 14px var(--mono); color: var(--accent); }
.toc a:hover { color: var(--accent); text-decoration: underline; }
.table-scroll {
overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 16px;
background:
linear-gradient(to right, #fff 30%, rgba(255, 255, 255, 0)) left center / 40px 100% no-repeat local,
linear-gradient(to left, #fff 30%, rgba(255, 255, 255, 0)) right center / 40px 100% no-repeat local,
radial-gradient(farthest-side at 0 50%, var(--scroll-shadow), transparent) left center / 14px 100% no-repeat scroll,
radial-gradient(farthest-side at 100% 50%, var(--scroll-shadow), transparent) right center / 14px 100% no-repeat scroll, #fff;
}
.table-scroll table { background: transparent; }
table { border-collapse: collapse; width: 100%; font-size: 16px; line-height: 1.5; }
th, td { border: 0; border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
thead th { border-bottom: 2px solid var(--line-strong); font-size: 15px; }
th { font-weight: 700; }
td.num, th.num, .souba-t td + td, .souba-t th + th { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 600px) {
th, td { padding: 8px; }
.table-scroll th, .table-scroll td { min-width: 6.5em; }
}
.figure { margin: 32px 0; padding: 20px 0 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.figure svg { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; font-family: var(--sans); overflow: visible; }
@media (max-width: 420px) { .figure svg { width: calc(100% + 24px); max-width: none; margin: 0 -12px; } }
.figure figcaption { margin-top: 14px; font-size: 14px; line-height: 1.7; color: var(--muted); max-width: var(--prose); }
.fig-text { fill: var(--text); }
.fig-muted { fill: var(--muted); }
.fig-accent { fill: var(--accent); }
.fig-on-accent { fill: var(--accent-ink); }
.fig-soft { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1; }
.fig-bg { fill: #fff; stroke: var(--accent); stroke-width: 1.25; }
.fig-grid { stroke: var(--line); stroke-width: 1; fill: none; }
.fig-axis { stroke: var(--line-strong); stroke-width: 1; fill: none; }
.fig-line { stroke: var(--accent); stroke-width: 2; fill: none; }
.fig-dash { stroke: var(--accent); stroke-width: 1.25; stroke-dasharray: 4 3; fill: none; }
.fig-hl { fill: var(--highlight); }
.fig-hl-line { stroke: var(--highlight); stroke-width: 3; fill: none; }
.fig-hl-soft { fill: var(--highlight-soft); stroke: var(--highlight); stroke-width: 2; }
.fig-serif { font-weight: 700; }
.tool { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 760px) { .tool { grid-template-columns: minmax(0, 1fr); } }
.tool > .panel:not([aria-live]) { border-top: 2px solid var(--line-strong); padding-top: 16px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.field .hint { font-size: 14px; color: var(--muted); margin: 6px 0 0; line-height: 1.7; }
.field .field-err { font-size: 15px; font-weight: 700; color: var(--danger); margin: 6px 0 0; line-height: 1.7; }
.field input[aria-invalid="true"] { border-color: var(--danger); border-width: 2px; }
.field > label:has(> input[type="checkbox"]) { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0; }
.input-unit { display: flex; align-items: center; gap: 10px; }
.input-unit span { flex: none; min-width: 2.2em; }
input[type="number"], input[type="search"], input[type="text"], select { width: 100%; font: inherit; letter-spacing: normal; color: var(--text); background: #fff; border: 1px solid var(--input-border); border-radius: var(--radius); padding: 10px 12px; min-height: 48px; }
input:hover, select:hover { border-color: var(--text); }
input:focus, select:focus { outline: 3px solid var(--accent); outline-offset: 2px; box-shadow: 0 0 0 2px #fff; border-color: var(--accent); }
input[type="radio"], input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--accent); }
.radio-row { display: flex; gap: 8px 24px; flex-wrap: wrap; }
.radio-row label { font-weight: 400; display: flex; gap: 8px; align-items: center; min-height: 44px; }
button, .btn { font: inherit; font-size: 15px; font-weight: 700; letter-spacing: .04em; background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); border-radius: var(--radius); padding: 10px 22px; min-height: 48px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; line-height: 1.4; transition: background-color .15s, color .15s; }
.btn::after { content: "→"; }
button:hover, .btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); text-decoration: none; }
button.secondary, .btn.secondary { background: #fff; color: var(--accent); }
button.secondary:hover, .btn.secondary:hover { background: var(--accent-soft); color: var(--accent-hover); }
.chip { font-size: 15px; font-weight: 400; letter-spacing: .02em; padding: 6px 14px; min-height: 44px; border: 1px solid var(--line-2); background: #fff; color: var(--text); }
.chip:hover { background: #fff; color: var(--accent); border-color: var(--accent); }
.chip[aria-pressed="true"], .chip[aria-pressed="true"]:hover { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 700; }
.result-rows { margin: 16px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.result-rows li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; margin: 0; border-bottom: 1px solid var(--line); max-width: none; }
.result-rows li span:last-child { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.hud, .tool > .panel[aria-live] { position: relative; border: 1px solid var(--hud); }
.hud::before, .tool > .panel[aria-live]::before {
content: ""; position: absolute; inset: -1px; pointer-events: none;
background:
linear-gradient(var(--accent), var(--accent)) left top / 16px 2px, linear-gradient(var(--accent), var(--accent)) left top / 2px 16px,
linear-gradient(var(--accent), var(--accent)) right top / 16px 2px, linear-gradient(var(--accent), var(--accent)) right top / 2px 16px,
linear-gradient(var(--accent), var(--accent)) left bottom / 16px 2px, linear-gradient(var(--accent), var(--accent)) left bottom / 2px 16px,
linear-gradient(var(--accent), var(--accent)) right bottom / 16px 2px, linear-gradient(var(--accent), var(--accent)) right bottom / 2px 16px;
background-repeat: no-repeat;
}
.tool > .panel[aria-live], .panel.points.hud {
padding: 24px 22px 20px;
background: radial-gradient(380px circle at var(--mx, 85%) var(--my, 0%), rgba(124, 247, 255, .16), rgba(169, 139, 255, .1) 45%, rgba(255, 255, 255, 0) 72%), #fff;
box-shadow: 0 28px 60px -40px rgba(75, 31, 214, .55);
transition: box-shadow .4s, transform .4s;
}
.hud-bar { display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 8px; margin: 0; font: 14px/1.6 var(--mono); color: var(--muted); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.hud-dot { width: 8px; height: 8px; flex: none; margin-top: 7px; border-radius: 50%; background: #0a7183; box-shadow: 0 0 8px #22c7e6; }
.panel.points.hud { padding: 12px 18px 16px; border: 1px solid var(--hud); }
.hud-bar { max-width: none !important; }
.panel.points.hud > strong { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 16px; color: var(--accent); margin: 6px 0 6px; }
.panel.points.hud li strong { font-size: 26px; line-height: 1.3; font-weight: 800; font-variant-numeric: tabular-nums; background: none; color: var(--accent); }
.tool > .panel[aria-live]::after { content: "計算結果"; position: absolute; top: -12px; left: 18px; padding: 0 8px; background: #fff; font: 700 14px/24px var(--sans); letter-spacing: .12em; color: var(--accent); }
.result-big { font-size: clamp(40px, 8vw, 54px); font-weight: 800; color: var(--accent); line-height: 1.15; font-variant-numeric: tabular-nums; letter-spacing: -.01em; margin: 6px 0 10px; transition: transform .3s ease-out; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
.result-big, .gt, .panel.points.hud li strong { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
}
.tool > .panel[aria-live].fx-hover, .panel.points.hud.fx-hover { box-shadow: 0 36px 70px -36px rgba(75, 31, 214, .6); }
.fx-hover .result-big { transform: translate3d(calc(var(--dx, 0) * 5px), calc(var(--dy, 0) * 3px), 0); }
.meter { --w: 62.5%; margin: 12px 0 0; max-width: 480px; }
.meter-track { position: relative; height: 12px; border-radius: 6px; background: #eceef4; }
.meter-fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); max-width: 100%; border-radius: 6px; background: var(--accent); transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.tool > .panel[aria-live] .meter-fill { background: var(--glow); box-shadow: 0 0 12px rgba(169, 139, 255, .7); }
.meter-line { position: absolute; top: -5px; bottom: -5px; width: 2px; background: var(--text); }
.meter-line.l30 { left: 75%; } .meter-line.l35 { left: 87.5%; }
.meter-axis { display: flex; justify-content: space-between; font: 14px var(--mono); color: var(--muted); margin-top: 4px; }
.meter-note { font-size: 14px; color: var(--muted); margin: 4px 0 0; line-height: 1.6; }
.meter-now { font-weight: 700; color: var(--text); }
.kk-band { position: relative; height: 30px; margin: 22px 0 4px; }
.kk-band .b80 { position: absolute; top: 9px; height: 12px; left: var(--b80l, 10%); right: var(--b80r, 10%); border-radius: 6px; background: #d9d1ff; }
.kk-band .b50 { position: absolute; top: 5px; height: 20px; left: var(--b50l, 30%); right: var(--b50r, 30%); border-radius: 6px; background: var(--glow); }
.kk-band .med { position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1px; left: var(--med, 50%); background: var(--text); }
.kk-mark { position: absolute; top: -20px; left: var(--pos, 50%); transform: translateX(-50%); font: 700 13px/1 var(--sans); color: var(--text); white-space: nowrap; }
.kk-mark::after { content: ""; display: block; width: 0; height: 0; margin: 2px auto 0; border: 6px solid transparent; border-top-color: var(--text); }
.kk-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 6px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.kk-legend li { margin: 0; }
.kk-legend .k50::before, .kk-legend .k80::before, .kk-legend .kmed::before { content: ""; display: inline-block; width: 14px; height: 10px; margin-right: 6px; border-radius: 3px; background: var(--glow); vertical-align: 0; }
.kk-legend .k80::before { background: #d9d1ff; }
.kk-legend .kmed::before { width: 3px; height: 14px; background: var(--text); }
.kk-pos { margin: 16px 0 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); }
.kk-pos strong { font-size: 22px; color: var(--accent); margin-right: 8px; }
.fx-wait { opacity: 0; transform: perspective(900px) translate3d(0, 24px, -90px); }
.fx-in { transition: opacity .8s ease-out, transform .9s cubic-bezier(.2, .8, .2, 1); }
.conds { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.cond { min-height: 44px; padding: 4px 10px; font-size: 14px; font-weight: 400; letter-spacing: .02em; background: #fff; color: var(--text); border: 1px solid var(--hud); border-radius: 4px; }
.cond b { font-weight: 700; margin-left: 4px; font-variant-numeric: tabular-nums; }
.cond:hover { background: var(--accent-soft); color: var(--text); border-color: var(--accent); }
.cond-reset { min-height: 44px; padding: 4px 10px; font-size: 14px; background: #fff; color: var(--accent); border: 1px dashed var(--accent); border-radius: 4px; }
.cond-reset:hover { background: var(--accent-soft); color: var(--accent-hover); }
.next-do { max-width: none; margin: 40px 0 0; border-top: 2px solid var(--line-strong); padding-top: 10px; }
.next-do h2, .next-do h3 { font-size: 18px; line-height: 1.6; margin: 0 0 4px; padding: 0; border: 0; }
.next-do ol { list-style: none; margin: 0; padding: 0; counter-reset: nd; }
.next-do li { counter-increment: nd; position: relative; max-width: none; margin: 0; padding: 12px 0 12px 46px; border-bottom: 1px solid var(--line); line-height: 1.7; }
.next-do li::before { content: counter(nd); position: absolute; left: 0; top: 12px; width: 32px; height: 32px; border: 1.5px solid var(--accent); border-radius: 50%; display: grid; place-items: center; color: var(--accent); font-weight: 800; font-size: 15px; }
.next-do .nd-tag { display: block; font-size: 14px; color: var(--muted); }
.next-do a { font-weight: 700; }
.next-do .nd-desc { display: block; font-size: 15px; color: var(--muted); }
.next-do + .carry-note { margin: 10px 0 0; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps > li { position: relative; max-width: none; margin: 0 0 0 18px; padding: 0 0 32px 36px; border-left: 1px solid var(--line-2); }
.steps > li + li { margin-top: 0; }
.steps > li:last-child { border-left-color: transparent; padding-bottom: 8px; }
.steps > li::before { counter-increment: step; content: counter(step); position: absolute; left: -18px; top: 0; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1.5px solid var(--accent); color: var(--accent); font-weight: 800; font-size: 16px; display: grid; place-items: center; }
.steps h3 { margin-top: 4px; }
.steps label.check { font-size: 15px; color: var(--muted); display: inline-flex; gap: 10px; align-items: center; cursor: pointer; min-height: 44px; }
.phases { counter-reset: step; }
.phases .steps { counter-reset: none; }
.phase-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; scroll-margin-top: 96px; }
.phase-no { font: 700 15px var(--mono); color: var(--accent); letter-spacing: .06em; }
.phase-h small { flex-basis: 100%; font-size: 15px; font-weight: 400; line-height: 1.6; color: var(--muted); }
.step-more { font-size: 15px; margin-bottom: .6em; }
.step-more a { display: block; width: fit-content; min-height: 44px; padding: 10px 0; line-height: 1.6; }
.souba-hits { margin: 0 0 24px; }
.souba-hits p { margin: 0 0 8px; max-width: none; }
.souba-hits p:last-child { margin-bottom: 0; }
.souba-hits ul { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.souba-hits li { margin: 0; max-width: none; }
.souba-hits .chip { display: inline-flex; align-items: center; text-decoration: none; }
.souba-hits a.chip:hover { color: var(--accent); border-color: var(--accent); }
.glossary-controls { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.glossary-controls input { flex: 1 1 240px; }
dl.terms { margin: 0; max-width: 48em; }
dl.terms > div { scroll-margin-top: 96px; border-bottom: 1px solid var(--line); padding: 16px 0; }
dl.terms > div:target { background: var(--accent-soft); box-shadow: -12px 0 0 var(--accent-soft), inset 3px 0 0 var(--accent); padding-left: 16px; }
dl.terms dt { font-weight: 800; font-size: 18px; }
dl.terms dt small { color: var(--muted); font-weight: 400; font-size: 14px; margin-left: 10px; }
dl.terms dd { margin: 6px 0 0; font-size: 16px; }
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 28px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.site-footer p { max-width: 52em; }
.site-footer .footer-pr { font-size: 16px; color: var(--text); }
.site-footer a { color: var(--muted); display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a:hover { color: var(--accent); }
.sources { font-size: 14px; color: var(--muted); }
.sources li { word-break: break-all; max-width: none; }
details { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 4px; }
summary { cursor: pointer; color: var(--accent); font-weight: 700; font-size: 16px; padding: 10px 0; min-height: 44px; }
details[open] summary { margin-bottom: 8px; }
details.fold { margin: 48px 0 0; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
details.fold > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 0; margin: 0; color: var(--text); }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary h2 { margin: 0; padding: 8px 0; border: 0; font-size: 18px; }
details.fold > summary::after { content: "＋"; color: var(--accent); font-size: 20px; }
details.fold[open] > summary::after { content: "−"; }
details.fold > :last-child { margin-bottom: 16px; }
details.fold + details.fold { margin-top: 0; border-top: 0; }
#souba table { min-width: 560px; }
#souba td:first-child { white-space: nowrap; font-weight: 700; }
.next-reads { max-width: none; margin: 56px 0 0; border-top: 2px solid var(--line-strong); padding-top: 12px; }
.next-reads h2 { font-size: 18px; line-height: 1.6; margin: 0 0 4px; padding: 0; border: 0; }
.next-reads ul { list-style: none; margin: 0; padding: 0; }
.next-reads li { margin: 0; max-width: none; border-bottom: 1px solid var(--line); }
.next-reads a { display: block; padding: 12px 0; min-height: 44px; text-decoration: none; }
.next-reads a:hover .next-title { text-decoration: underline; }
.next-title { display: block; font-weight: 700; color: var(--accent); }
.next-steps a { font-weight: 700; }
.next-steps a .next-desc { font-weight: 400; }
.next-steps .meta { margin: 12px 0 0; }
.next-desc { display: block; margin-top: 2px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.history-list { list-style: none; margin: 0; padding: 0; font-size: 16px; max-width: var(--prose); }
.history-list li { display: flex; flex-wrap: wrap; gap: 0 16px; margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
.history-list li:last-child { border-bottom: 0; }
.history-list time { flex: none; color: var(--muted); font: 14px/1.9 var(--mono); }
.history-list span { flex: 1 1 20em; }
.share-box { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.share-box .share-status { margin: 8px 0 0; }
.share-box input[type="text"] { font-size: 14px; min-height: 44px; margin-top: 10px; padding: 8px 10px; }
.result-bar { display: none; }
@media (max-width: 760px) {
.result-bar:not([hidden]) { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; align-items: center; gap: 4px 10px; flex-wrap: wrap; min-height: 56px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); background: #fff; color: var(--text); text-decoration: none; font-size: 16px; line-height: 1.4; border-top: 2px solid var(--accent); box-shadow: 0 -6px 18px -10px rgba(16, 20, 38, .35); }
.result-bar strong { font-size: 18px; font-variant-numeric: tabular-nums; color: var(--accent); }
.result-bar-go { margin-left: auto; font-weight: 700; white-space: nowrap; color: var(--accent); }
.result-bar-go::before { content: "▶ "; }
html.has-result-bar { scroll-padding-bottom: 72px; }
}
.ad-box { margin: 32px 0; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 4px; font-size: 1rem; }
.ad-box p { margin: 0; }
.ad-box .pr-label { margin-bottom: 8px; padding: 1px 8px; font-size: .875rem; }
.ad-box .ad-note { margin-bottom: 8px; color: var(--muted); font-size: .9375rem; line-height: 1.7; }
.ad-box a { overflow-wrap: anywhere; }
.ad-box img { max-width: 100%; height: auto; }
.ad-box .ad-area { margin-bottom: 8px; font-weight: 700; font-size: .9375rem; line-height: 1.7; }
.guide-box { margin: 32px 0; padding: 14px 16px; border: 1px solid var(--line-2); border-left: 3px solid var(--accent); border-radius: 4px; }
.guide-box .guide-title { margin: 0 0 6px; font-weight: 700; }
.guide-box ul { margin: 0; padding-left: 1.2em; }
.guide-box li { margin: 6px 0; line-height: 1.7; }
.guide-box a { overflow-wrap: anywhere; }
.guide-box .guide-desc { display: block; color: var(--muted); font-size: .9375rem; }
.ad-disclosure { margin: 0 0 16px; color: var(--muted); font-size: .9375rem; }
.photo { margin: 0 0 24px; }
.photo img { display: block; width: 100%; height: auto; }
.photo figcaption { font-size: 14px; color: var(--muted); margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; max-width: none; }
.chips li { margin: 0; max-width: none; }
.chips + .meta { margin-top: 10px; }
a.chip { display: inline-flex; align-items: center; text-decoration: none; border-radius: var(--radius); }
.share { margin: 48px 0 0; }
.share-title { font-weight: 700; margin: 0 0 8px; }
.share-msg { margin: 8px 0 0; font-size: 15px; color: var(--muted); }
.share-msg input { display: block; width: 100%; margin-top: 6px; font: inherit; padding: 8px; border: 1px solid var(--input-border); border-radius: var(--radius); }
.share-msg:empty { margin: 0; }
.print-action { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 32px 0 0; max-width: none; }
.print-action .meta { margin: 0; }
.print-only { display: none; }
@media print {
:root { --text: #000; --muted: #333; --line: #999; --line-2: #999; --line-strong: #000; --accent: #000; --accent-ink: #fff; --accent-soft: #fff; --highlight: #000; --highlight-soft: #fff; --scroll-shadow: transparent; }
@page { size: A4; margin: 10mm 12mm; }
body { color: #000; font-size: 10pt; line-height: 1.45; letter-spacing: 0; }
.site-header, .site-footer, .breadcrumb, .print-action, .next-reads, .step-more, .toc, details.fold, .ad-box, .ad-disclosure, .pr-label, .photo, .result-bar, .share, ins.adsbygoogle { display: none !important; }
main { padding: 0; }
.wrap, .wrap-narrow { max-width: none; padding: 0; }
main p, main li { max-width: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { break-after: avoid; page-break-after: avoid; letter-spacing: .02em; }
h1 { font-size: 16pt; line-height: 1.4; margin: 0 0 6pt; }
h2 { font-size: 12.5pt; margin: 10pt 0 4pt; padding: 0 0 2pt 6pt; border-left-width: 3px; }
h3 { font-size: 11pt; margin: 6pt 0 2pt; }
.result-big, .gt, .panel.points.hud li strong { background: none !important; color: #000 !important; -webkit-text-fill-color: #000 !important; }
.tool > .panel[aria-live] { box-shadow: none; background: #fff; }
.tool > .panel[aria-live]::before, .tool > .panel[aria-live]::after, .hud::before, .hud-bar { display: none; }
.panel.points.hud { box-shadow: none; background: #fff; }
p { margin: 0 0 4pt; }
ul, ol { margin: 0 0 4pt; }
li + li { margin-top: 1pt; }
.lead { color: #000; font-size: 10pt; line-height: 1.5; margin-bottom: 6pt; }
.meta, .sources { font-size: 9pt; }
.kicker { margin-bottom: 2pt; }
.page-head { padding: 0 0 4pt; margin-bottom: 6pt; }
.panel, .notice { padding: 5pt 9pt; margin: 6pt 0; break-inside: avoid; }
.panel.points { border: 1px solid #999; }
.panel.points > strong:first-child::after { display: none; }
.panel > strong:first-child { padding-bottom: 2pt; margin-bottom: 2pt; }
.table-scroll { overflow: visible; background: none; margin-bottom: 4pt; }
table { font-size: 9.5pt; line-height: 1.4; }
th, td { padding: 2pt 5pt; min-width: 0 !important; }
tr { break-inside: avoid; }
.figure { break-inside: avoid; margin: 6pt 0; padding: 6pt 0 0; border: 0; }
.figure svg { max-width: 90mm; margin: 0; }
.figure figcaption { font-size: 9pt; margin-top: 4pt; }
.print-only { display: block; font-size: 9pt; color: #333; border-top: 1px solid #999; padding-top: 3pt; margin-top: 8pt; }
.steps > li::before { color: #000; border-color: #000; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
.fx-wait { opacity: 1; transform: none; }
}
.jump-portal { margin: 14px 0 0; font-weight: 700; }
.jump-portal a::before { content: "\2193  "; }
.kmap {
--k0: #c4b8ff; --k1: #9d8cff; --k2: #7a68f5; --k3: #5548e0; --k4: #3433c0; --k5: #1c1f86;
position: relative; margin: 0 0 8px;
}
.kmap-r { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.kmap-lead { margin: 0 0 6px; }
.kmap-how { color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.kmap-h { display: none; }
#kmap-h:checked ~ p .kmap-m, #kmap-h:checked ~ .kmap-info .kmap-m { display: none; }
#kmap-h:checked ~ p .kmap-h, #kmap-h:checked ~ .kmap-info .kmap-h { display: inline; }
#kmap-h:checked ~ .kmap-info .kmap-h.blk { display: block; }
.kmap-ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; }
.kmap-ctrl[hidden] { display: none; }
.kmap-ctrl-label { font-size: 14px; color: var(--muted); min-width: 2.6em; }
.kmap-ctrl label { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 16px; cursor: pointer; font-size: 15px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; color: var(--text); }
.kmap-ctrl label:hover { border-color: var(--accent); color: var(--accent); }
#kmap-m:checked ~ .kmap-ctrl label[for="kmap-m"], #kmap-h:checked ~ .kmap-ctrl label[for="kmap-h"] { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 700; }
#kmap-m:focus-visible ~ .kmap-ctrl label[for="kmap-m"], #kmap-h:focus-visible ~ .kmap-ctrl label[for="kmap-h"] { outline: 3px solid var(--highlight); outline-offset: 2px; }
.kmap-views .chip { padding: 6px 12px; }
.kmap-legend-head { font-size: 14px; font-weight: 700; margin: 4px 0 6px; }
.kmap-legend { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 2px; font-size: 14px; line-height: 1.5; }
.kmap-legend li { display: flex; align-items: center; gap: 8px; margin: 0; max-width: none; white-space: nowrap; }
.kmap-legend li.na { color: var(--muted); margin-top: 4px; white-space: normal; }
.kmap-legend .sw { flex: none; width: 28px; height: 14px; border: 1px solid rgba(16, 20, 38, .2); }
.sw.l0 { background: var(--k0); } .sw.l1 { background: var(--k1); } .sw.l2 { background: var(--k2); }
.sw.l3 { background: var(--k3); } .sw.l4 { background: var(--k4); } .sw.l5 { background: var(--k5); }
.sw.lx { background: repeating-linear-gradient(45deg, #eef0f6 0 3px, #9aa1b8 3px 5px); }
@media (min-width: 560px) {
.kmap-legend { grid-template-columns: repeat(auto-fill, minmax(12.5em, 1fr)); gap: 6px 14px; }
.kmap-legend li.na { grid-column: 1 / -1; }
}
.kmap-fig { max-width: 760px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #f8f8fc; overflow: hidden; }
.kmap-svg { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 1258; }
.kmap-areas path { fill: url(#kmap-na); stroke: #fff; stroke-width: .7px; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.kmap .m0 { fill: var(--k0); } .kmap .m1 { fill: var(--k1); } .kmap .m2 { fill: var(--k2); }
.kmap .m3 { fill: var(--k3); } .kmap .m4 { fill: var(--k4); } .kmap .m5 { fill: var(--k5); }
#kmap-h:checked ~ .kmap-fig .h0 { fill: var(--k0); } #kmap-h:checked ~ .kmap-fig .h1 { fill: var(--k1); }
#kmap-h:checked ~ .kmap-fig .h2 { fill: var(--k2); } #kmap-h:checked ~ .kmap-fig .h3 { fill: var(--k3); }
#kmap-h:checked ~ .kmap-fig .h4 { fill: var(--k4); } #kmap-h:checked ~ .kmap-fig .h5 { fill: var(--k5); }
#kmap-h:checked ~ .kmap-fig .hx { fill: url(#kmap-na); }
.kmap-areas a { cursor: pointer; }
.kmap-areas a:hover path { stroke: var(--text); stroke-width: 1.5px; }
.kmap-areas a:focus { outline: none; }
.kmap-areas a:focus-visible path { stroke: var(--highlight); stroke-width: 3px; }
.kmap-pref { fill: none; stroke: #101426; stroke-width: 1.3px; stroke-linejoin: round; vector-effect: non-scaling-stroke; pointer-events: none; }
.kmap-sel { fill: none; stroke: #e0218a; stroke-width: 3px; stroke-linejoin: round; vector-effect: non-scaling-stroke; pointer-events: none; filter: drop-shadow(0 0 1.5px #fff) drop-shadow(0 0 1.5px #fff); }
.kmap-lbls { pointer-events: none; }
.kmap-lbls text { font-family: var(--sans); font-size: var(--kfs, 56px); font-weight: 700; fill: #101426; text-anchor: middle; dominant-baseline: middle; paint-order: stroke; stroke: #fff; stroke-width: calc(var(--kfs, 56px) * .22); stroke-linejoin: round; }
.kmap-svg:not(.fine) .kmap-lbls text.s { display: none; }
.kmap-lbls text.p { font-size: calc(var(--kfs, 56px) * 1.1); fill: #4a4f63; }
.kmap-info { max-width: 760px; margin: 0; padding: 14px 0 12px; font-size: 15px; min-height: 48px; border-bottom: 1px solid var(--line); }
.kmap-info strong { font-size: 17px; }
.kmap-info .cur { font-weight: 700; }
.kmap-info a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.kmap-info .ex { display: inline-block; font-size: 14px; font-weight: 700; color: var(--accent); margin: 0 0 2px; }
.kmap-info .k { display: block; font-size: 14px; color: var(--muted); }
.kmap-info .place { display: block; font-weight: 800; font-size: 17px; }
.kmap-info .big { display: block; font-size: 40px; line-height: 1.15; font-weight: 800; color: var(--accent); margin: 2px 0 4px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kmap-info .big .gt { color: var(--accent); background: none; -webkit-text-fill-color: currentColor; }
.kmap-info .big small { font-size: 18px; margin-left: 4px; color: var(--text); }
.kmap-info .big.na { font-size: 24px; }
.kmap-info .src { display: block; font-size: 14px; color: var(--muted); line-height: 1.6; }
.kmap-info .src b { color: var(--text); }
.kmap-note { margin: 12px 0 4px; font-size: 16px; }
.kmap-notes { font-size: 14px; color: var(--muted); padding-left: 1.2em; margin: 4px 0 12px; }
.kmap-notes li { max-width: none; }
.kmap-tip { position: absolute; z-index: 5; pointer-events: none; max-width: 260px; padding: 6px 10px; background: #fff; color: var(--text); font-size: 14px; line-height: 1.5; border: 1px solid var(--line-2); box-shadow: 0 6px 16px -8px rgba(16, 20, 38, .4); white-space: nowrap; }
.kmap-tip strong { font-size: 16px; }
.kmap-tip[hidden] { display: none; }
.ba-map { --j1: #0a7183; --j2: #6fcfdc; --j3: #e4e6ef; }
.ba-map .kmap-areas path.j1 { fill: var(--j1); }
.ba-map .kmap-areas path.j2 { fill: var(--j2); }
.ba-map .kmap-areas path.j3 { fill: var(--j3); }
.ba-map .kmap-areas path.j4 { fill: url(#ba-dot); }
.ba-map .sw.j1 { background: var(--j1); }
.ba-map .sw.j2 { background: var(--j2); }
.ba-map .sw.j3 { background: var(--j3); }
.ba-map .sw.j4 { background: radial-gradient(circle, #8a6d00 1.6px, #fff3c4 1.9px) 0 0 / 7px 7px; }
@media (min-width: 760px) { .ba-map .kmap-legend { grid-template-columns: repeat(4, auto); } }
.ba-map .kmap-areas path.j5 { fill: url(#ba-drop); }
.ba-map .sw.j5 { background: repeating-linear-gradient(to bottom, #0a7183 0 2px, #fff 2px 4px); }
main.page-home { padding-top: 0; overflow-x: hidden; overflow-x: clip; }
.hero [hidden] { display: none !important; }
.c3-js .hero .c3[hidden] { display: contents !important; }
.c3-js .hero .c3-budget[hidden] { display: block !important; }
@media (prefers-reduced-motion: no-preference) { .c3-js .hero .sky-toggle[hidden] { display: block !important; } }
.hero { position: relative; isolation: isolate; overflow: hidden; margin: 0 calc(50% - 50vw); padding: 32px 20px 0; background: linear-gradient(180deg, #f6f5ff, #fbfbff 70%, #fff); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, rgba(124, 247, 255, 0), #7cf7ff 20%, #a98bff 50%, #ff9ad5 80%, rgba(255, 154, 213, 0)); }
.hero-sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-sky i { position: absolute; width: 62vmax; height: 62vmax; border-radius: 50%; opacity: .55; will-change: transform; animation: sky 32s ease-in-out infinite alternate; }
.hero-sky i:nth-child(1) { right: -22vmax; top: -34vmax; background: radial-gradient(closest-side, #a9b8ff, rgba(169, 184, 255, 0)); }
.hero-sky i:nth-child(2) { right: 4vmax; bottom: -44vmax; background: radial-gradient(closest-side, #ffc2ea, rgba(255, 194, 234, 0)); animation-duration: 40s; animation-delay: -12s; }
.hero-sky i:nth-child(3) { left: -36vmax; bottom: -50vmax; background: radial-gradient(closest-side, #9ff3e0, rgba(159, 243, 224, 0)); animation-duration: 46s; animation-delay: -20s; }
.hero-sky i:nth-child(4) { width: 44vmax; height: 44vmax; right: 6vw; top: 4vmax; background: radial-gradient(closest-side, #7eeaff, rgba(126, 234, 255, .5) 45%, rgba(126, 234, 255, 0)); opacity: .66; animation-duration: 36s; animation-delay: -6s; }
@supports (width: 1lvmax) {
.hero-sky i { width: 62lvmax; height: 62lvmax; }
.hero-sky i:nth-child(1) { right: -22lvmax; top: -34lvmax; }
.hero-sky i:nth-child(2) { right: 4lvmax; bottom: -44lvmax; }
.hero-sky i:nth-child(3) { left: -36lvmax; bottom: -50lvmax; }
.hero-sky i:nth-child(4) { width: 44lvmax; height: 44lvmax; top: 4lvmax; }
}
@keyframes sky { to { transform: translate(-6vw, 5vh) scale(1.1); } }
.hero.sky-off .hero-sky i { animation-play-state: paused; }
.sky-toggle { display: block; position: relative; margin: 8px max(0px, calc(50% - 580px)) 12px auto; min-height: 44px; padding: 4px 12px; font-size: 14px; font-weight: 700; background: rgba(255, 255, 255, .85); color: var(--accent); border: 1px solid var(--hud); border-radius: 4px; }
.sky-toggle:hover { background: #fff; color: var(--accent-hover); border-color: var(--accent); }
@media (max-width: 760px) { .hero-sky i:nth-child(3) { display: none; } .hero-sky i:nth-child(4) { width: 110vw; height: 110vw; right: -5vw; top: 150px; } .hero { padding: 22px 16px 0; } }
.hero-in { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr);
grid-template-areas: "title" "start" "search" "view" "form" "sum" "explain" "ctrl" "notes" "status" "foot" "lead" "links"; }
.hero-title { grid-area: title; }
.hero-lead { grid-area: lead; }
.hero-search { grid-area: search; }
.start { grid-area: start; margin: 0 0 18px; max-width: 540px; }
.start-title { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: var(--text); }
.start-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: none; }
.start-list li { margin: 0; max-width: none; }
.start-list a { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 14px 8px 10px; background: rgba(255, 255, 255, .94); border: 1px solid var(--hud); border-radius: var(--radius); color: var(--text); text-decoration: none; box-shadow: 0 14px 30px -26px rgba(75, 31, 214, .6); transition: border-color .15s, box-shadow .15s; }
.start-list a::after { content: "→"; margin-left: auto; padding-left: 4px; color: var(--accent); font-weight: 700; }
.start-list a:hover { border-color: var(--accent); box-shadow: 0 16px 34px -22px rgba(75, 31, 214, .7); }
.start-list a:hover strong { color: var(--accent); }
.start-no { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #fff; font: 800 17px var(--mono); }
.start-text { display: flex; flex-direction: column; min-width: 0; }
.start-text strong { font-size: 16px; line-height: 1.45; background: none; }
.start-text small { font-size: 14px; line-height: 1.5; color: var(--muted); }
.hero-links { grid-area: links; }
.c3 { display: contents; }
.c3[hidden] { display: none; }
.c3-budget { grid-area: form; }
.c3-explain { grid-area: explain; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 14px; font-weight: 700; letter-spacing: .1em; color: var(--accent); }
.hero-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #0a7183; box-shadow: 0 0 0 3px rgba(10, 113, 131, .15), 0 0 10px #22c7e6; }
.hero h1 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.3; margin: 0 0 14px; letter-spacing: .01em; }
.hero .lead { color: var(--muted); max-width: 30em; margin: 0 0 18px; }
.hero-search { display: flex; gap: 8px; max-width: 540px; margin: 0 0 14px; }
.hero-search input { flex: 1 1 auto; min-width: 0; }
.hero-search button { flex: none; }
.hero-links { display: flex; flex-wrap: wrap; gap: 0 20px; margin: 4px 0 0; }
.hero-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 16px; }
.hero-links a::after { content: " →"; white-space: pre; }
.hero-stage { padding: 10px 14px 12px; background: radial-gradient(460px circle at var(--mx, 62%) var(--my, 42%), rgba(124, 247, 255, .3), rgba(169, 139, 255, .14) 45%, rgba(255, 255, 255, 0) 72%), rgba(255, 255, 255, .34); box-shadow: 0 40px 80px -50px rgba(75, 31, 214, .5); transition: box-shadow .4s; }
.hero-stage.fx-hover { box-shadow: 0 48px 90px -46px rgba(75, 31, 214, .6); }
.c3-status, .c3-foot { flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; }
.c3-view { position: relative; margin: 6px -6px; }
.c3-cv { position: relative; height: clamp(280px, 38vw, 470px); }
.c3-canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.c3-canvas:active { cursor: grabbing; }
.c3-chip { position: absolute; z-index: 1; top: 8px; right: 8px; margin: 0; padding: 5px 12px 7px; max-width: calc(100% - 16px); text-align: right; line-height: 1.25; background: rgba(255, 255, 255, .92); border: 1px solid var(--hud); box-shadow: 0 12px 26px -16px rgba(75, 31, 214, .55); pointer-events: none; }
.c3-chip:has(.c3-chip-label:empty) { visibility: hidden; }
.c3-chip-label { display: block; font-size: 14px; font-weight: 700; color: var(--muted); }
.c3-chip-big { display: block; font-size: 15px; font-weight: 700; color: var(--text); white-space: nowrap; }
.c3-chip-big b { font-size: clamp(26px, 3vw, 36px); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; margin-right: 2px; }
.c3-on .c3-chip { border-color: rgba(10, 113, 131, .5); box-shadow: 0 0 0 3px rgba(124, 247, 255, .35), 0 12px 26px -16px rgba(10, 113, 131, .6); }
.c3-chip-note { display: none; font-size: 14px; font-weight: 700; color: #075866; }
.c3-on .c3-chip-note { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.c3-chip-note i { width: 22px; height: 10px; flex: none; background: rgba(34, 199, 230, .3); border: 1.5px dashed rgba(10, 113, 131, .85); box-shadow: 0 0 6px rgba(124, 247, 255, .9); }
.c3-tip { position: absolute; z-index: 2; left: 0; top: 0; width: max-content; max-width: min(270px, 80%); padding: 10px 12px; background: rgba(255, 255, 255, .97); border: 1px solid var(--hud); box-shadow: 0 14px 30px -14px rgba(75, 31, 214, .55); font-size: 14px; line-height: 1.55; pointer-events: none; }
.c3-tip strong { display: block; font-size: 16px; }
.c3-tip span { display: block; color: var(--muted); }
.c3-tip .c3-v { font-size: 15px; color: var(--text); }
.c3-tip .c3-v b { font-size: 28px; line-height: 1.2; margin-right: 2px; font-variant-numeric: tabular-nums; color: var(--accent); }
.c3-tip .c3-go { color: var(--accent); font-weight: 700; }
.c3-tip.c3-pin { pointer-events: auto; border-color: #e0218a; }
.c3-tip a.c3-go { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; }
.c3-tip a.c3-go::after { content: " →"; white-space: pre; }
.c3-flat { position: absolute; z-index: 1; right: 8px; bottom: 8px; box-shadow: 0 8px 20px -12px rgba(75, 31, 214, .6); }
.c3-flat-on .c3-pause { display: none; }
.c3-flat-on .c3-flat { background: var(--accent); color: #fff; border-color: var(--accent); }
.c3-flat-on.c3-on .c3-chip-note { display: none; }
.c3-tip .c3-kind { color: var(--text); font-weight: 700; }
.c3-sum { padding: 2px 0 4px; }
.c3-bar { display: flex; gap: 2px; height: 16px; }
.c3-bar i { display: block; flex: 0 1 0; min-width: 4px; border-radius: 2px; }
.c3-keys { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 16px; font-size: 14px; line-height: 1.8; max-width: none; }
.c3-keys li { display: inline-flex; align-items: center; gap: 6px; margin: 0; max-width: none; }
.c3-keys b { font-size: 17px; font-variant-numeric: tabular-nums; color: var(--text); }
.c3-result { margin: 4px 0 0; font-size: 14px; line-height: 1.7; color: var(--muted); max-width: none; }
.c3-ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0 4px; }
.c3-label { font-size: 14px; color: var(--muted); }
.c3-btn { min-height: 44px; padding: 6px 14px; font-size: 15px; font-weight: 700; background: #fff; color: var(--accent); border: 1px solid var(--hud); border-radius: 4px; }
.c3-btn:hover { background: var(--accent-soft); color: var(--accent-hover); border-color: var(--accent); }
.c3-btn[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.c3-pause { margin-left: auto; }
.c3-how { margin: 4px 0 0; }
.c3-how summary { display: flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; color: var(--accent); cursor: pointer; }
.c3-note { font-size: 14px; color: var(--muted); line-height: 1.7; margin: 4px 0 0; max-width: none; }
.c3-on .c3-types, .c3-on .c3-note-price { display: none; }
.c3-budget { margin: 12px 0 0; padding: 12px 14px 12px; background: #fff; border: 1px solid var(--hud); box-shadow: 0 18px 40px -32px rgba(75, 31, 214, .5); }
.c3-budget-title { margin: 0; font-weight: 800; font-size: 16px; color: var(--accent); max-width: none; }
.c3-budget-note { margin: 8px 0 0; font-size: 14px; color: var(--muted); max-width: none; }
.c3-fields { display: grid; gap: 2px 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.c3-field { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; font-weight: 700; }
.c3-field > label { font-size: 14px; line-height: 1.5; }
.c3-nw { white-space: nowrap; }
.c3-basis, .c3-field-type { grid-column: 1 / -1; }
.c3-basis { flex-direction: row; flex-wrap: wrap; gap: 0 16px; align-items: center; font-weight: 400; }
.c3-basis label { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 15px; }
.c3-in { display: flex; align-items: center; gap: 6px; font-weight: 400; }
.c3-in input { flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 6px 10px; }
.c3-in span { flex: none; white-space: nowrap; }
.c3-field select { min-height: 48px; padding: 6px 10px; font-size: 15px; max-width: 360px; }
.c3-field-type { margin-top: 6px; }
@supports (grid-template-rows: subgrid) {
.c3-fields > .c3-field:not(.c3-basis):not(.c3-field-type) { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 2px; }
.c3-fields > .c3-field:not(.c3-basis):not(.c3-field-type) > label { align-self: end; }
}
.c3-err { margin: 4px 0 2px; font-size: 15px; line-height: 1.7; font-weight: 700; color: var(--danger, #b42318); max-width: none; }
.c3-in input[aria-invalid="true"] { border-color: var(--danger, #b42318); border-width: 2px; }
.c3-explain { margin: 8px 0 0; padding: 4px 14px 8px; background: #fff; border: 1px solid var(--hud); }
.c3-legend, .c3-limits { display: none; }
.c3-on .c3-legend { display: flex; flex-direction: column; gap: 2px; margin: 6px 0 4px; padding: 0; list-style: none; font-size: 14px; line-height: 1.6; }
.c3-on .c3-legend li { display: flex; align-items: flex-start; gap: 8px; margin: 0; max-width: none; }
.c3-on .c3-legend .c3-sw { margin-top: 2px; }
.c3-on .c3-limits { display: block; margin: 6px 0 0; font-size: 14px; line-height: 1.7; color: var(--muted); max-width: none; }
.c3-go-area { margin: 4px 0 0; font-size: 14px; line-height: 1.7; max-width: none; }
.c3-go-area a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 15px; }
.c3-go-area span { display: block; color: var(--muted); }
.c3-sw { width: 12px; height: 18px; flex: none; border-radius: 2px; }
.c3-sw-in { background: linear-gradient(0deg, #0a7183, #5fe6f5); box-shadow: 0 0 6px rgba(95, 230, 245, .9); }
.c3-sw-near { background: repeating-linear-gradient(0deg, #6a45f0 0 3.5px, #fff 3.5px 5.5px); }
.c3-sw-over { background: #c3c7d6; }
.c3-sw-caution { background: rgba(107, 95, 176, .12); border: 1px dashed #5a4ea8; }
.c3-sw-na { background: repeating-linear-gradient(135deg, #f3f4f8 0 2.5px, #b9bdcc 2.5px 3.5px); box-shadow: inset 0 0 0 1px #d5d8e2; }
@media (max-width: 999.98px) {
.hero-stage { display: contents; }
.hero-stage::before { content: none; }
.c3-status { grid-area: status; margin: 8px 0 0; } .c3-view { grid-area: view; } .c3-sum { grid-area: sum; } .c3-foot { grid-area: foot; margin: 2px 0 0; } .c3-ctrl { grid-area: ctrl; } .c3-notes { grid-area: notes; }
.c3-cv { height: clamp(280px, 70vw, 440px); }
.c3-tip.c3-pin { position: static; width: auto; max-width: none; border: 0; border-top: 1px solid #e0218a; box-shadow: none; }
.c3-view { margin: 0; border: 1px solid var(--hud); background: radial-gradient(70% 60% at 55% 45%, rgba(126, 234, 255, .4), rgba(169, 139, 255, .16) 55%, rgba(255, 255, 255, 0) 80%), rgba(255, 255, 255, .4); box-shadow: 0 30px 60px -44px rgba(75, 31, 214, .5); }
.c3-view::before { content: ""; position: absolute; inset: -1px; pointer-events: none; z-index: 1;
background: linear-gradient(var(--accent), var(--accent)) left top / 16px 2px, linear-gradient(var(--accent), var(--accent)) left top / 2px 16px,
linear-gradient(var(--accent), var(--accent)) right top / 16px 2px, linear-gradient(var(--accent), var(--accent)) right top / 2px 16px,
linear-gradient(var(--accent), var(--accent)) left bottom / 16px 2px, linear-gradient(var(--accent), var(--accent)) left bottom / 2px 16px,
linear-gradient(var(--accent), var(--accent)) right bottom / 16px 2px, linear-gradient(var(--accent), var(--accent)) right bottom / 2px 16px;
background-repeat: no-repeat; }
.c3-sum { margin: 8px 0 0; padding: 8px 14px 8px; background: rgba(255, 255, 255, .94); border: 1px solid var(--hud); }
.hero-lead { margin: 14px 0 6px; }
.hero h1 { font-size: 25px; line-height: 1.35; margin-bottom: 12px; }
.hero-kicker { margin-bottom: 4px; }
}
@media (min-width: 1000px) {
.hero.has-3d .hero-in, .c3-js .hero .hero-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto auto auto auto auto auto auto 1fr;
grid-template-areas: "title stage" "start stage" "lead stage" "search stage" "form stage" "explain stage" "links stage" ". stage"; column-gap: 32px; }
.hero.has-3d .hero-title, .c3-js .hero .hero-title { padding-top: 12px; }
.hero-stage { grid-area: stage; align-self: start; }
.hero.has-3d .c3-budget, .c3-js .hero .c3-budget { margin-top: 2px; }
}
.stats { max-width: 1160px; margin: 28px auto 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 761px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stats li { margin: 0; max-width: none; padding: 12px 16px 16px 0; border-top: 1px solid var(--hud); }
.stats li + li { padding-left: 16px; border-left: 1px solid var(--hud); }
@media (max-width: 760px) { .stats li:nth-child(3) { padding-left: 0; border-left: 0; } }
.stat b { display: block; font-size: clamp(28px, 3.4vw, 36px); line-height: 1.2; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.stat span { display: block; font-size: 14px; color: var(--muted); line-height: 1.6; margin-top: 2px; }
.sec { margin: 64px 0 0; }
.sec > h2 { margin-top: 0; }
.stage-note { font-size: 15px; color: var(--muted); }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tool-card { display: flex; gap: 14px; align-items: flex-start; }
.tool-card .badge, .purpose h3 .badge { display: grid; place-items: center; flex: none; color: var(--accent); }
.tool-card .badge .icon { width: 26px; height: 26px; margin-top: 4px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 24px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.timeline li { margin: 0; max-width: none; border-top: 1px solid var(--line); }
.timeline a { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0 16px; color: var(--text); text-decoration: none; }
.timeline a:hover strong { color: var(--accent); text-decoration: underline; }
.timeline .t-text { display: flex; flex-direction: column; }
.timeline .step-no { font: 700 14px var(--mono); color: var(--accent); letter-spacing: .06em; }
.timeline strong { font-size: 17px; background: none; }
.timeline small { font-size: 14px; color: var(--muted); line-height: 1.6; }
@media (max-width: 760px) { .timeline { grid-template-columns: 1fr; } }
.purpose { display: grid; gap: 0 32px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.purpose section { border-top: 1px solid var(--line); padding: 14px 0 12px; }
.purpose h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 17px; }
.purpose h3 .icon { width: 22px; height: 22px; }
.purpose ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 18px; }
.purpose li { margin: 0; }
.purpose li a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; }
.promises { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 0 32px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.promises li { margin: 0; max-width: none; display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.7; }
.promises .icon { width: 24px; height: 24px; color: var(--accent); margin-top: 3px; }
.promises strong { display: block; background: none; }
