: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 16px; align-items: center; margin: 0 0 20px; font-size: 14px; color: var(--muted); }
.article-info > span { display: inline-flex; align-items: center; gap: 6px; }
.article-info .icon { width: 16px; height: 16px; }
.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 { 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); }
.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; }
.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; }
.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-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; }
.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, 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; }
}
.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); } }
