/* /q/ design v2 (trial) — mobile first. Paper + ink, hairlines instead of shadows, mincho only for Q./A./numbers/H1. */
:root {
	--paper: #F7F5F0;
	--surface: #FFFFFF;
	--ink: #141B2D;
	--ink-2: #465063;
	--ink-3: #5A6373;
	--line: #E3DFD5;
	--line-2: #CBC4B4;
	--brand: #1D4899;
	--brand-2: #14336E;
	--tint: #EDF1F8;
	--mark: #F5DA7A;
	--ng: #A8321F;
	--r-s: 6px;
	--r-m: 12px;
	--r-l: 18px;
	--gut: 20px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--t1: 140ms;
	--t2: 240ms;
	--sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", Meiryo, system-ui, sans-serif;
	--mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;
	--serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", serif;
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.9; color: var(--ink); background: var(--paper); font-feature-settings: "pkna" 0; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: .28em; text-decoration-color: color-mix(in srgb, var(--brand) 45%, transparent); transition: text-decoration-color var(--t1) var(--ease), text-decoration-thickness var(--t1) var(--ease), color var(--t1) var(--ease); }
a:hover { text-decoration-color: currentColor; text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 2px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -48px; padding: 8px 12px; background: var(--ink); color: var(--paper); z-index: 10; border-radius: var(--r-s); }
.skip:focus { top: 8px; }

/* arrow glyph used by links and cards (CSS only) */
.arw { display: inline-block; width: .5em; height: .5em; margin-left: .45em; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translateY(-.08em) rotate(45deg); transition: transform var(--t2) var(--ease); }

/* ---------- header / crumb / footer ---------- */
.hd { border-bottom: 1px solid var(--line); }
.hd_in { max-width: 1120px; margin: 0 auto; padding: 14px var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hd_brand { display: flex; align-items: baseline; gap: 10px; color: var(--ink); text-decoration: none; min-width: 0; }
.hd_word { font-family: var(--serif); font-weight: 600; font-size: 16px; font-feature-settings: "palt" 1; white-space: nowrap; }
.hd_tag { display: none; font-size: 11px; font-weight: 600; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 1px 8px; line-height: 1.6; white-space: nowrap; }
.hd_link { font-size: 13px; font-weight: 600; white-space: nowrap; text-decoration: none; color: var(--ink); }
.hd_link:hover .arw { transform: translate(3px, -.08em) rotate(45deg); }
.crumb { max-width: 1120px; margin: 0 auto; padding: 12px var(--gut) 0; font-size: 12px; color: var(--ink-3); }
.crumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0 4px; }
.crumb li + li::before { content: "/"; margin-right: 4px; color: var(--line-2); }
.crumb a { color: var(--ink-3); }
.ft { background: var(--ink); color: rgba(247, 245, 240, .78); margin-top: 72px; }
.ft_in { max-width: 1120px; margin: 0 auto; padding: 40px var(--gut) 32px; }
.ft_word { font-family: var(--serif); font-weight: 600; font-size: 18px; font-feature-settings: "palt" 1; color: var(--paper); margin-bottom: 16px; }
.ft_nav { display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; }
.ft_nav a { color: rgba(247, 245, 240, .88); font-size: 13px; text-decoration-color: rgba(247, 245, 240, .35); }
.ft_op, .ft_copy { font-size: 11px; line-height: 1.7; }

/* ---------- article grid ---------- */
.main { max-width: 1120px; margin: 0 auto; padding: 0 var(--gut); }
.art { counter-reset: sec; }
.art_hd { padding: 28px 0 20px; }
.kicker { display: flex; align-items: baseline; gap: 10px; font-size: 12px; font-weight: 600; color: var(--ink-2); letter-spacing: .04em; margin-bottom: 10px; }
.qm, .ans_mark, .ql_m { font-family: var(--serif); font-weight: 600; color: var(--brand); }
.qm { font-size: 22px; line-height: 1; }
.art h1 { font-family: var(--serif); font-weight: 600; font-size: 27px; line-height: 1.5; letter-spacing: 0; font-feature-settings: "palt" 1; text-wrap: pretty; }
.meta time, .ans_label span, .chk { font-family: var(--mono); letter-spacing: 0; }
.meta { margin-top: 14px; font-size: 12px; line-height: 1.7; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 2px 14px; }
.hub_lead { margin-top: 16px; font-size: 16px; color: var(--ink-2); }
.hub_lead p + p { margin-top: .6em; }

/* section heading with running number */
.sec { margin-top: 56px; }
.sec h2, .prose h2 { counter-increment: sec; position: relative; font-size: 20px; line-height: 1.55; font-weight: 700; font-feature-settings: "palt" 1; letter-spacing: .02em; margin-bottom: 14px; padding-top: 30px; text-wrap: pretty; }
.sec h2::before, .prose h2::before { content: counter(sec, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--mono); font-weight: 600; font-size: 12.5px; letter-spacing: .08em; color: var(--brand); padding-right: 10px; }
.sec h2::after, .prose h2::after { content: ""; position: absolute; left: 30px; top: 11px; width: 32px; height: 1px; background: var(--line-2); }
.lead_s { font-size: 13px; line-height: 1.8; color: var(--ink-2); margin-bottom: 16px; }

/* body text */
.prose { margin-top: 8px; }
.prose h2 { margin-top: 56px; }
.prose h3 { font-size: 17px; margin: 28px 0 8px; }
.prose p { margin-bottom: 1.1em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 1.1em; margin-bottom: .5em; }
.prose ul > li::before { content: ""; position: absolute; left: 0; top: .82em; width: 6px; height: 6px; background: var(--brand); border-radius: 1px; }
.prose ol { counter-reset: li; }
.prose ol > li { counter-increment: li; padding-left: 1.6em; }
.prose ol > li::before { content: counter(li) "."; position: absolute; left: 0; font-weight: 700; color: var(--brand); }
.prose strong, .ans strong { font-weight: 700; background: linear-gradient(transparent 70%, var(--mark) 70%); padding: 0 1px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0 20px; background: var(--surface); }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }

/* ---------- answer box ---------- */
.ans { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 18px 18px 18px; }
.ans_mark { float: left; font-size: 30px; line-height: 1; margin: -2px 10px 0 0; }
.ans_label { font-size: 12px; font-weight: 700; color: var(--brand); letter-spacing: .06em; margin-bottom: 6px; display: flex; flex-wrap: wrap; gap: 0 10px; }
.ans_label span { font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.ans_body p { font-size: 16px; line-height: 1.9; }
.ans_body p + p { margin-top: .6em; font-size: 14px; color: var(--ink-2); }
.figs { clear: both; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; border-top: 1px solid var(--line); }
.fig { padding: 12px 8px 0 0; }
.fig + .fig { padding-left: 12px; border-left: 1px solid var(--line); }
.fig dt { font-size: 11px; line-height: 1.5; color: var(--ink-2); font-weight: 600; }
.fig dd { margin-top: 2px; line-height: 1.1; white-space: nowrap; letter-spacing: -.02em; }
.fig_n { font-family: var(--serif); font-weight: 600; font-size: 28px; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.fig_u { font-size: 12px; font-weight: 700; margin-left: 2px; }

/* ---------- table (cards on mobile) ---------- */
.tbl table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.tbl thead { display: none; }
.tbl tbody { display: grid; gap: 12px; }
.tbl tr { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; transition: opacity var(--t2) var(--ease), border-color var(--t2) var(--ease); }
.tbl th[scope=row] { display: block; text-align: left; padding: 14px 16px 12px; border-bottom: 1px solid var(--line); background: linear-gradient(var(--tint), var(--tint)) left top / 4px 100% no-repeat, var(--surface); }
.nm { display: block; font-size: 16px; font-weight: 700; line-height: 1.5; }
.more { display: inline-flex; align-items: baseline; margin-top: 4px; white-space: nowrap; font-size: 12.5px; font-weight: 600; text-decoration: none; }
.more:hover .arw, .more:focus-visible .arw { transform: translate(3px, -.08em) rotate(45deg); }
.tbl td { display: grid; grid-template-columns: 7.2em minmax(0, 1fr); gap: 10px; padding: 9px 16px; border-bottom: 1px solid var(--line); }
.tbl td[data-label]::before { content: attr(data-label); font-size: 11.5px; line-height: 1.7; font-weight: 600; color: var(--ink-2); padding-top: 1px; }
.cv { min-width: 0; }
.v { display: block; font-weight: 700; line-height: 1.6; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.nt { display: none; }
.q_na { color: var(--ink-3); font-size: 13px; }
.src { font-size: 11px; margin-right: 6px; }
.chk { font-size: 11px; color: var(--ink-3); }
.tbl td.spm { display: block; border-bottom: 0; padding: 10px 16px 12px; font-size: 13px; }
.spm summary, .faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand); }
.spm summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.spm summary::before, .faq summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat; transition: transform var(--t2) var(--ease); }
details[open] > summary::before, .faq details[open] > summary::after { transform: rotate(45deg); }
.spm dl { margin-top: 8px; }
.spm dt { font-weight: 700; font-size: 12px; margin-top: 8px; }
.spm dd { color: var(--ink-2); font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
/* filter hooks */
.sb_match strong { font-family: var(--serif); font-size: 18px; font-variant-numeric: tabular-nums; }
.sb_ng { color: var(--ng); font-size: 12px; }
/* rows that miss a condition: muted ground + softer ink (no opacity, keeps WCAG AA) */
.tbl tr.sb_out, .tbl tbody tr.sb_out:hover { background: #F1EEE7; }
.sb_out .nm, .sb_out .v { color: var(--ink-2); }

/* ---------- forms ---------- */
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 16px 16px 4px; margin-bottom: 16px; }
.form fieldset { border: 0; margin-bottom: 14px; min-width: 0; }
.form legend { font-size: 12.5px; font-weight: 700; color: var(--ink-2); margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1.4; background: var(--surface); transition: background-color var(--t1) var(--ease), color var(--t1) var(--ease), border-color var(--t1) var(--ease); }
.chip:hover span { border-color: var(--ink-2); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip_c input:checked + span::before { content: ""; width: .7em; height: .38em; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-.12em) rotate(-45deg); }
.chip input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.num { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r-m); background: var(--surface); padding: 0 12px 0 0; transition: border-color var(--t1) var(--ease), box-shadow var(--t1) var(--ease); }
.num:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--tint); }
.num input { width: 8.5em; border: 0; background: transparent; padding: 10px 8px 10px 12px; font: inherit; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); outline: none; text-align: right; }
.num span { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.form_row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.form_row .num { width: 100%; }
.form_row .num input { width: 100%; }

/* ---------- calculation result ---------- */
.calc { background: var(--ink); color: var(--paper); border-radius: var(--r-l); padding: 20px 18px; }
.calc_k { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: rgba(247, 245, 240, .78); }
.calc_n { font-family: var(--serif); font-weight: 600; font-size: 36px; line-height: 1.3; font-variant-numeric: tabular-nums; margin: 2px 0 14px; }
.calc dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(247, 245, 240, .18); font-size: 14px; }
.calc dt { color: rgba(247, 245, 240, .78); }
.calc dd { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.calc_f { margin-top: 10px; font-size: 11px; line-height: 1.7; color: rgba(247, 245, 240, .72); }

/* ---------- question list / related ---------- */
.ql { list-style: none; border-top: 1px solid var(--line); }
.ql li { border-bottom: 1px solid var(--line); }
.ql a { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 12px; padding: 16px 4px; color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.65; transition: background-color var(--t2) var(--ease), padding var(--t2) var(--ease); }
.ql_m { font-size: 18px; }
.ql a .arw { color: var(--brand); }
.ql a:hover { background: var(--surface); padding-left: 12px; padding-right: 12px; }
.ql a:hover .arw { transform: translate(3px, -.08em) rotate(45deg); }
.ql a:hover .ql_t { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .28em; }

/* ---------- tool cards ---------- */
.tools { display: grid; gap: 12px; }
.tool { position: relative; display: grid; gap: 4px; padding: 18px 44px 18px 18px; border-radius: var(--r-l); border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color var(--t2) var(--ease), transform var(--t2) var(--ease); }
.tool_p { background: var(--brand); border-color: var(--brand); color: #fff; }
.tool_k { font-size: 11px; font-weight: 700; letter-spacing: .08em; opacity: .8; }
.tool_t { font-size: 17px; font-weight: 700; line-height: 1.5; }
.tool_d { font-size: 13px; line-height: 1.75; opacity: .88; }
.tool .arw { position: absolute; right: 22px; top: 50%; margin: 0; transform: translateY(-50%) rotate(45deg); }
.tool:hover { border-color: var(--ink-2); }
.tool_p:hover { border-color: var(--brand-2); background: var(--brand-2); }
.tool:hover .arw { transform: translate(3px, -50%) rotate(45deg); }

/* ---------- faq ---------- */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { justify-content: space-between; padding: 16px 2px; color: var(--ink); line-height: 1.6; }
.faq summary::after { color: var(--brand); }
.faq_a { padding: 0 2px 16px; color: var(--ink-2); font-size: 15px; }

.editor { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.8; color: var(--ink-3); }

/* parts gallery swatches */
.sw { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin-bottom: 16px; font-size: 12.5px; }
.sw li { display: flex; align-items: center; gap: 10px; }
.sw span { width: 36px; height: 36px; border-radius: var(--r-s); border: 1px solid var(--line); flex: none; }

/* progressive: animate <details> height where supported */
@supports (interpolate-size: allow-keywords) {
	:root { interpolate-size: allow-keywords; }
	details::details-content { block-size: 0; overflow: hidden; transition: block-size var(--t2) var(--ease), content-visibility var(--t2) allow-discrete; }
	details[open]::details-content { block-size: auto; }
}

/* ---------- >= 720px ---------- */
@media (min-width: 720px) {
	:root { --gut: 32px; }
	.hd_tag { display: inline-block; }
	.hd_word { font-size: 17px; }
	.art h1 { font-size: 34px; }
	.sec h2, .prose h2 { font-size: 22px; }
	.ans { padding: 28px 28px 24px; }
	.ans_mark { font-size: 40px; }
	.ans_body p { font-size: 17px; }
	.fig_n { font-size: 34px; }
	.tools { grid-template-columns: 1fr 1fr; }
	.ft_nav { flex-direction: row; flex-wrap: wrap; gap: 6px 20px; }
	.form_row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.sw { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	/* real table from 720px */
	.tbl { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
	.tbl table { font-size: 14px; }
	.tbl thead { display: table-header-group; }
	.tbl tbody { display: table-row-group; }
	.tbl tr { display: table-row; background: none; border: 0; border-radius: 0; }
	.tbl th, .tbl td { display: table-cell; vertical-align: top; text-align: left; border-bottom: 1px solid var(--line); padding: 14px 14px; }
	.tbl tbody tr:last-child > * { border-bottom: 0; }
	.tbl thead th { font-size: 11.5px; line-height: 1.5; font-weight: 700; color: var(--ink-2); letter-spacing: .04em; padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); background: #FBFAF7; white-space: nowrap; }
	.tbl th[scope=row] { display: table-cell; width: 13.5em; background: none; padding-left: 20px; border-bottom: 1px solid var(--line); }
	.tbl td .cv { max-width: 15em; }
	.tbl td[data-label]::before { content: none; }
	.tbl td.spm { display: none; }
	.nt { display: block; margin-top: 4px; font-size: 11.5px; line-height: 1.65; color: var(--ink-3); }
	.tbl tbody tr { transition: background-color var(--t1) var(--ease), opacity var(--t2) var(--ease); }
	.tbl tbody tr:hover { background: #FBFAF7; }
	.calc { padding: 28px; }
	.calc_n { font-size: 48px; }
}

/* ---------- >= 1024px: editorial grid with a hanging margin ---------- */
@media (min-width: 1024px) {
	:root { --gut: 40px; }
	.art { display: grid; grid-template-columns: 200px minmax(0, 720px) 1fr; column-gap: 40px; }
	.art > * { grid-column: 2; }
	.art > .wide { grid-column: 1 / -1; }
	.art_hd { padding-top: 48px; padding-bottom: 28px; }
	.art h1 { font-size: 40px; line-height: 1.45; }
	.kicker { margin-left: -240px; padding-left: 0; display: grid; grid-template-columns: 200px auto; column-gap: 40px; }
	.kicker .qm { font-size: 30px; text-align: right; }
	/* section number hangs in the left margin */
	.sec h2, .prose h2 { padding-top: 0; }
	.sec h2::before, .prose h2::before { left: -240px; top: .2em; width: 200px; text-align: right; padding-right: 0; font-size: 15px; }
	.sec h2::after, .prose h2::after { left: -32px; top: .95em; width: 20px; }
	.wide > h2, .wide > .lead_s { margin-left: 240px; max-width: 720px; }
	.wide > h2::before { left: -240px; }
	.ans { padding: 32px 36px 28px; }
	.ans_mark { float: none; margin: 0; position: absolute; left: -240px; top: 22px; width: 200px; text-align: right; font-size: 56px; }
	.hub_lead { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
	details::details-content { transition: none !important; }
}

/* reference table (companies not listed): stays a compact table on mobile, no links */
.tbl_ref { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.tbl_ref thead { display: table-header-group; }
.tbl_ref tbody { display: table-row-group; }
.tbl_ref tr { display: table-row; border: 0; border-radius: 0; background: none; }
.tbl_ref th, .tbl_ref td, .tbl_ref th[scope=row] { display: table-cell; padding: 9px 10px; border-bottom: 1px solid var(--line); background: none; vertical-align: top; text-align: left; font-size: 13px; }
.tbl_ref thead th { font-size: 11px; font-weight: 700; color: var(--ink-2); background: #FBFAF7; border-bottom-color: var(--line-2); }
.tbl_ref tbody tr:last-child > * { border-bottom: 0; }
.tbl_ref .nm { font-size: 13.5px; }
.tbl_ref .v { font-weight: 600; }
.tbl_ref th[scope=row] { width: 46%; }

/* inline fold in body text (numbers kept one tap away) */
.fold { margin: 0 0 1.1em; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); padding: 10px 14px; }
.fold summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand); font-size: 14px; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary::before { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat; transition: transform var(--t2) var(--ease); }
.fold ul { margin: 10px 0 2px; font-size: 14px; }

/* in-cell fold (PC): figures behind one click, same wording as the mobile card fold */
.cf summary { cursor: pointer; list-style: none; color: var(--brand); font-weight: 700; font-size: 12px; margin-bottom: 2px; }
.cf summary::-webkit-details-marker { display: none; }
.cf summary::after { content: " +"; }
.cf[open] summary::after { content: " −"; }

/* folded reference table */
.ref_fold { border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); }
.ref_fold > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; padding: 14px 16px; font-weight: 700; color: var(--brand); font-size: 14.5px; }
.ref_fold > summary::-webkit-details-marker { display: none; }
.ref_fold > summary::before { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat; transition: transform var(--t2) var(--ease); }
.ref_fold .tbl_ref { border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.ref_note { font-size: 11.5px; color: var(--ink-3); padding: 8px 16px 12px; border-top: 1px solid var(--line); }

/* hub spotlight (one featured answer) */
.spot { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--r-l); padding: 18px 18px 16px; margin-top: 8px; }
.spot_k { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--brand); }
.spot_q { display: flex; align-items: baseline; gap: 8px; font-size: 18px; font-weight: 700; line-height: 1.5; margin: 4px 0 8px; }
.spot_q .qm { font-size: 20px; }
.spot_a p { font-size: 15px; color: var(--ink-2); }
.spot_a strong { color: var(--ink); font-weight: 700; background: linear-gradient(transparent 70%, var(--mark) 70%); }
.spot_l { display: inline-flex; align-items: baseline; margin-top: 10px; font-weight: 700; font-size: 14px; text-decoration: none; }
.spot_l:hover .arw { transform: translate(3px, -.08em) rotate(45deg); }
.ref_wrap { margin-top: 20px; }
@media (min-width: 720px) { .spot { padding: 24px 28px 20px; } .spot_q { font-size: 20px; } }

.presets { margin: 4px 0 10px; }
.chip_b { font: inherit; font-size: 13px; font-weight: 600; min-height: 36px; padding: 4px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink); cursor: pointer; transition: border-color var(--t1) var(--ease), background-color var(--t1) var(--ease); }
.chip_b:hover { border-color: var(--ink-2); background: #FBFAF7; }

/* values break at punctuation (・／（) rather than mid-word; very long tokens still wrap */
.v { word-break: keep-all; overflow-wrap: anywhere; }

/* ===== 2026-10-04 reading components ===== */
.kicker_chara { width: 40px; height: 40px; margin-right: 2px; align-self: center; }
.ans_av { padding-right: 18px; }
.ans_chara { float: right; width: 56px; height: 56px; margin: -6px -4px 4px 10px; }
@media (min-width: 720px) { .ans_chara { width: 72px; height: 72px; margin: -8px -6px 6px 16px; } }
.ans ol.pts { list-style: none; counter-reset: pt; margin: 4px 0 0; padding: 0; }
.ans ol.pts li { counter-increment: pt; position: relative; padding-left: 2em; margin: 0 0 8px; line-height: 1.75; font-size: 16px; }
.ans ol.pts li::before { content: counter(pt); position: absolute; left: 0; top: .2em; width: 1.45em; height: 1.45em; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 700; display: grid; place-items: center; }
.after_ans { margin-top: 20px; }
mark, .mk { background: linear-gradient(transparent 58%, var(--mark) 58%); color: inherit; padding: 0 2px; font-weight: 700; }

/* dialogue */
.talk { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: start; margin: 18px 0; }
.talk_a { grid-template-columns: minmax(0, 1fr) 56px; }
.talk_a .talk_av { order: 2; }
.talk_av { width: 56px; height: 56px; }
.talk_b { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 10px 14px 12px; }
.talk_a .talk_b { background: var(--tint); border-color: #D6DFEE; }
.talk_b::before { content: ""; position: absolute; top: 18px; width: 10px; height: 10px; background: inherit; border: inherit; transform: rotate(45deg); }
.talk_q .talk_b::before { left: -6px; border-right: 0; border-top: 0; }
.talk_a .talk_b::before { right: -6px; border-left: 0; border-bottom: 0; }
.talk_n { font-size: 11.5px; font-weight: 700; color: var(--brand); margin: 0 0 2px !important; }
.talk_n span { font-weight: 600; color: var(--ink-3); margin-left: 8px; }
.talk_b p { margin: 0; font-size: 15px; line-height: 1.8; }

/* callouts: caution (mark yellow), check (indigo tint), note (paper) */
.co { border-radius: var(--r-m); padding: 12px 16px 12px 44px; margin: 18px 0; position: relative; border: 1px solid var(--line); background: var(--surface); }
.co::before { content: ""; position: absolute; left: 14px; top: 14px; width: 18px; height: 18px; border-radius: 50%; }
.co_t { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; margin: 0 0 2px !important; }
.co_b p { margin: 0 0 .4em; font-size: 15px; }
.co_b p:last-child { margin: 0; }
.co_b ul { margin: 4px 0 0; }
.co_caution { background: #FDF7E1; border-color: #EBD48A; }
.co_caution::before { background: var(--mark); }
.co_caution::after { content: "!"; position: absolute; left: 14px; top: 14px; width: 18px; text-align: center; font-weight: 800; font-size: 13px; line-height: 18px; color: var(--ink); }
.co_check { background: var(--tint); border-color: #D6DFEE; }
.co_check::before { background: var(--brand); }
.co_check::after { content: ""; position: absolute; left: 19px; top: 19px; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.co_note::before { border: 2px solid var(--ink-3); box-sizing: border-box; }
.co_caution .co_t { color: #6B4E00; }
.co_check .co_t { color: var(--brand); }
.co_note .co_t { color: var(--ink-2); }

/* toc */
.toc { margin-top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 14px 18px; }
.toc_t { font-size: 12px; font-weight: 700; color: var(--ink-2); letter-spacing: .06em; margin-bottom: 6px; }
.toc ol { margin: 0; padding-left: 1.4em; font-size: 14.5px; line-height: 1.9; }
.toc a { color: var(--ink); text-decoration-color: var(--line-2); }

/* figures */
.figr { margin: 22px 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 16px 16px 14px; }
.figr figcaption { font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.fig_txt { font-size: 14px; color: var(--ink-2); margin: 12px 0 0 !important; }
.fig_more { margin-top: 10px; font-size: 13px; }
.fig_more summary { cursor: pointer; color: var(--brand); font-weight: 700; }
.fig_src { margin: 8px 0 6px 1.2em; font-size: 12.5px; color: var(--ink-2); }
.fig_more p { font-size: 12.5px; color: var(--ink-3); }
.fr_wrap { padding: 34px 6px 0; }
.fr_bar { position: relative; height: 14px; border-radius: 999px; background: linear-gradient(90deg, #DCE5F3, #9DB2D8); }
.fr_low, .fr_high { position: absolute; top: 18px; font-size: 11px; color: var(--ink-3); }
.fr_low { left: 0; }
.fr_high { right: 0; }
.fr_mark { position: absolute; top: -6px; width: 4px; height: 26px; margin-left: -2px; background: var(--ink); border-radius: 2px; }
.fr_lbl { position: absolute; bottom: 24px; transform: translateX(-12%); white-space: nowrap; font-size: 12px; font-weight: 700; background: var(--mark); padding: 1px 8px; border-radius: 999px; }
.fr_ends { display: flex; justify-content: space-between; margin-top: 22px; font-family: var(--serif); font-weight: 600; font-size: 20px; font-variant-numeric: tabular-nums; }
.mm_axis { display: grid; grid-template-columns: 1fr 1fr 1fr; font-size: 11px; color: var(--ink-3); margin: 0 0 6px; }
.mm_axis span:nth-child(2) { text-align: center; }
.mm_axis span:last-child { text-align: right; }
.mm_list { list-style: none; margin: 0; padding: 0; }
.mm_list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; }
.mm_n { font-weight: 700; }
.mm_v { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.mm_track { grid-column: 1 / -1; position: relative; height: 8px; background: #EEF0F3; border-radius: 999px; }
.mm_seg { position: absolute; top: 0; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--ink) 0 6px, #9DB2D8 6px); }
.mm_open { background: linear-gradient(90deg, var(--ink) 0 6px, #9DB2D8 6px, rgba(157, 178, 216, 0)); }
.sc_grid { display: grid; gap: 12px; }
.sc_card { border: 1px solid var(--line); border-radius: var(--r-m); padding: 12px 14px; background: #FBFAF7; }
.sc_h { font-weight: 700; font-size: 15px; margin-bottom: 6px !important; }
.sc_steps { margin: 0 0 6px 1.3em; font-size: 14px; line-height: 1.75; }
.sc_note { font-size: 12.5px; color: var(--ink-2); margin: 0 !important; }
.fl_list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fl_list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 0 10px; align-items: baseline; }
.fl_n { grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--brand); color: var(--brand); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.fl_h { font-weight: 700; font-size: 14.5px; }
.fl_d { font-size: 13px; color: var(--ink-2); }
.fl_list li:nth-child(4) .fl_n { background: var(--brand); color: #fff; }
@media (min-width: 720px) {
	.sc_grid { grid-template-columns: 1fr 1fr; }
	.fl_list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
	.fl_list li { grid-template-columns: 1fr; }
	.fl_n { grid-row: auto; margin-bottom: 6px; }
}

/* compact table: the notes live in the per-row fold, on PC too */
.vtag { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
.tbl_c .nt { display: none !important; }
.tbl_c td.dm { display: block; padding: 8px 16px 12px; border-bottom: 0; font-size: 13px; }
.dm summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand); font-size: 13px; }
.dm summary::-webkit-details-marker { display: none; }
.dm summary::before { content: ""; flex: none; width: 11px; height: 11px; background: linear-gradient(currentColor, currentColor) center / 11px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 11px no-repeat; transition: transform var(--t2) var(--ease); }
.dm dl { margin-top: 6px; display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 4px 10px; font-size: 12.5px; line-height: 1.7; }
.dm dt { font-weight: 700; color: var(--ink-2); }
.dm dd { margin: 0; overflow-wrap: anywhere; }
@media (min-width: 720px) {
	.tbl_c td.dm { display: table-cell; width: 10em; padding: 14px 14px; border-bottom: 1px solid var(--line); }
	.tbl_c tbody tr:last-child > td.dm { border-bottom: 0; }
	.tbl_c td.dm details[open] { position: relative; }
	.tbl_c td.dm details[open] dl { position: absolute; right: 0; top: 26px; z-index: 2; width: 360px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-m); padding: 12px 14px; }
	.tbl_c { overflow: visible; }
}

/* fixes: kicker with character, lists inside figures */
.kq { display: inline-flex; align-items: center; gap: 8px; }
@media (min-width: 1024px) { .kq { justify-content: flex-end; } }
.prose .mm_list li, .prose .fl_list li { padding-left: 0; margin-bottom: 0; }
.prose .mm_list li::before, .prose .fl_list li::before { content: none; }
.prose .fl_list { counter-reset: none; }

.nm { word-break: keep-all; overflow-wrap: anywhere; }

.spot { position: relative; }
.spot_chara { float: right; width: 56px; height: 56px; margin: -4px -4px 6px 10px; }
@media (min-width: 720px) { .spot_chara { width: 72px; height: 72px; } }

/* order-based figure */
.od_list { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.od_list li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 8px; align-items: center; font-size: 14px; }
.od_n { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--brand); color: var(--brand); font-weight: 700; font-size: 12.5px; display: grid; place-items: center; }
.od_list li:first-child .od_n { background: var(--brand); color: #fff; }
.od_list li:nth-child(4) .od_n { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.od_m { font-size: 14px; margin: 0 0 6px !important; padding: 8px 12px; border-radius: var(--r-s); }
.od_m1 { background: var(--tint); }
.od_m2 { background: #F1EEE7; }
.prose .od_list li { padding-left: 0; margin-bottom: 0; }
.prose .od_list li::before { content: none; }
@media (min-width: 720px) {
	.od_list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.od_list li { grid-template-columns: 1fr; align-items: start; }
}
/* phase 3 figures (2026-10-04) */
.lg_list { list-style: disc; margin: 0 0 6px 1.2em; padding: 0; font-size: 14px; line-height: 1.7; }
.prose .lg_list li { padding-left: 0; margin-bottom: 2px; }
.prose .lg_list li::before { content: none; }
.lg_warn { background: #FBF3EE; }
.mt_s { display: block; font-size: 12.5px; font-weight: 400; color: var(--ink-2); }
.mt_dl { display: grid; grid-template-columns: 4.5em minmax(0, 1fr); gap: 4px 10px; margin: 0; font-size: 13.5px; line-height: 1.6; }
.mt_dl dt { color: var(--ink-2); font-weight: 700; font-size: 12.5px; }
.mt_dl dd { margin: 0; }
