/* アクチュアリー計算シリーズ共通のページ固有スタイル（共通CSSの style.css の上に重ねる） */
.presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.presets button { border: 0; border-radius: 999px; background: var(--page); color: var(--ink-2); font-size: 12px; font-weight: 600; padding: 5px 11px; cursor: pointer; }
.presets button:hover { background: var(--accent-soft); color: var(--accent); }
.fhint { font-size: 11.5px; color: var(--muted); line-height: 1.7; margin: -6px 0 10px; }
.fhint b { color: var(--ink-2); font-weight: 600; }
.adv { border: 0; border-radius: var(--r); background: var(--page); padding: 10px 12px; margin: 0 0 16px; }
.adv > summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--accent); user-select: none; list-style: none; }
.adv > summary::-webkit-details-marker { display: none; }
.adv > summary::before { content: "＋ "; }
.adv[open] > summary::before { content: "− "; }
.adv .field { margin-top: 12px; }
.adv .field-2col { margin-top: 12px; }
.adv .field-2col .field { margin-top: 0; }
.res-hero .big b small { font-size: 16px; font-weight: 500; color: var(--ink-2); margin-left: 4px; }
.calc { margin-top: 12px; }
.calc h4 { font-size: 12.5px; font-weight: 700; color: var(--muted); letter-spacing: .04em; margin: 14px 0 6px; }
.calc h4:first-child { margin-top: 0; }
.calc table { width: 100%; border-collapse: collapse; font-size: 13px; }
.calc th, .calc td { text-align: left; vertical-align: top; padding: 6px 8px; border-bottom: 1px solid var(--grid); line-height: 1.7; }
.calc th { width: 11em; font-weight: 600; color: var(--ink); white-space: nowrap; }
.calc td.v { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); white-space: nowrap; }
.calc td .dt { display: block; color: var(--muted); font-size: 12px; }
.calc tr.sum td, .calc tr.sum th { border-top: 2px solid var(--grid); border-bottom: 0; }
.yr-tbl { font-size: 12.5px; }
.yr-tbl td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mini-note { font-size: 12.5px; color: var(--muted); line-height: 1.8; margin: 8px 0 0; }
.formula-box { background: var(--page); border-radius: var(--r); padding: 12px 14px; font-size: 13.5px; line-height: 2; margin: 10px 0; overflow-x: auto; }
.f { font-family: "Cambria Math", "Segoe UI", serif; font-style: italic; }
.chart-host { margin-top: 10px; }
.res-mini .s { font-size: 11.5px; color: var(--muted); }
@media (max-width: 560px) { .page-title { font-size: 24px; } .calc th { width: 7em; white-space: normal; } }
