/* 見本(sample_template.html)の <style> をそのまま写した物。ここは直さない。足す物は extra.css に。 */
/* レイアウト: スマホの1列。上に進み具合、下へ「スライド→音声→本文→課題」の4段。白地・墨・朱はスライドと同じ(1つの見た目に決めている)。 */
:root {
  --paper: #FFFFFF; --ink: #14181F; --ink2: #2B323C; --mute: #5A6472; --faint: #8A93A0;
  --line: #D9DDE3; --wash: #F4F5F7; --acc: #C8401A; --acc-wash: #FBEFEA;
  --jp: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --num: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}
body { background: var(--paper); color: var(--ink); font-family: var(--jp); font-size: 17px; line-height: 1.9; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--paper); }
.app { display: block; }
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); }
.bar-in { display: flex; align-items: center; gap: 12px; padding-block: 8px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.bar-name { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--mute); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; }
.bar-btn { font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); background: var(--paper); border: 2px solid var(--ink); padding: 6px 14px; min-height: 40px; cursor: pointer; }
.bar-btn:focus-visible, .steps button:focus-visible, .side a:focus-visible, .btn:focus-visible, .nav button:focus-visible, .seg-o input:focus-visible + span, summary:focus-visible, .frame:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; }

.side { border-bottom: 1px solid var(--line); background: var(--wash); padding-block: 18px 22px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.side-k { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--mute); }
.side-name { margin: 4px 0 0; font-size: 15px; font-weight: 900; line-height: 1.5; }
.side-prog { margin: 14px 0 0; font-size: 13px; color: var(--ink2); display: flex; justify-content: space-between; }
.side-prog b { font-family: var(--num); font-weight: 800; }
.meter { height: 6px; background: var(--line); margin-top: 6px; }
.meter i { display: block; height: 6px; width: 0; background: var(--acc); transition: width .3s; }
.toc { list-style: none; margin: 18px 0 0; padding: 0; }
.toc > li { border-top: 1px solid var(--line); padding-block: 9px; font-size: 14px; line-height: 1.5; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; color: var(--faint); }
.toc > li.is-cur { color: var(--ink); font-weight: 900; }
.toc .c-n { width: 3.4em; flex: none; font-size: 12px; font-weight: 700; }
.toc .c-t { flex: 1; min-width: 0; }
.toc .c-s { font-size: 11px; font-weight: 700; white-space: nowrap; }
.sub { list-style: none; margin: 6px 0 0; padding: 0; width: 100%; }
.sub li { display: flex; gap: 8px; align-items: baseline; padding: 7px 10px; font-size: 13px; font-weight: 500; color: var(--faint); border-left: 3px solid var(--line); }
.sub li b { font-family: var(--num); font-weight: 800; width: 2.2em; flex: none; }
.sub li span { flex: 1; min-width: 0; }
.sub li { flex-wrap: wrap; row-gap: 0; }
.sub li em { font-style: normal; font-size: 11px; font-weight: 700; white-space: nowrap; width: 100%; padding-left: calc(2.2em + 8px); }
.sub li.is-now { color: var(--ink); background: var(--paper); border-left-color: var(--acc); font-weight: 900; }
.sub li.is-now em { color: var(--acc); }
.sub li.is-open { color: var(--ink); border-left-color: var(--ink); }
.side-rule { margin: 16px 0 0; font-size: 12px; line-height: 1.7; color: var(--mute); }

.wrap { max-width: 820px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.note { margin: 16px 0 0; border: 1px solid var(--line); padding: 10px 14px; font-size: 13px; line-height: 1.7; color: var(--mute); }
.head { padding-block: 24px 0; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--acc); margin: 0; }
.head-row { display: flex; align-items: baseline; gap: 14px; margin-top: 6px; }
.head-no { font-family: var(--num); font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: -.04em; color: var(--acc); }
.head-t { font-size: 28px; font-weight: 900; line-height: 1.35; text-wrap: balance; margin: 0; }

.nowbox { margin-top: 18px; border: 2px solid var(--acc); background: var(--acc-wash); padding: 12px 16px; }
.nowbox-k { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--acc); }
.nowbox-t { margin: 2px 0 0; font-size: 18px; font-weight: 900; line-height: 1.5; }
.nowbox-p { margin: 2px 0 0; font-size: 13px; color: var(--ink2); line-height: 1.6; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 18px; }
.steps button { font: inherit; text-align: left; background: var(--paper); color: var(--faint); border: 0; border-top: 4px solid var(--line); padding: 8px 4px 6px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.steps b { font-family: var(--num); font-weight: 800; font-size: 22px; line-height: 1; }
.steps span { font-size: 13px; font-weight: 700; line-height: 1.4; }
.steps em { font-style: normal; font-size: 11px; font-weight: 700; line-height: 1.4; }
.steps button.is-done { color: var(--ink); border-top-color: var(--ink); }
.steps button.is-cur { color: var(--acc); border-top-color: var(--acc); }

.blk { padding-block: 26px 4px; }
.blk-h { display: flex; align-items: baseline; gap: 12px; }
.blk-h b { font-family: var(--num); font-weight: 800; font-size: 13px; letter-spacing: .1em; color: var(--acc); white-space: nowrap; }
.blk-h h2 { font-size: 22px; font-weight: 900; line-height: 1.4; margin: 0; }
.blk-h span { margin-left: auto; font-size: 12px; color: var(--mute); white-space: nowrap; }
.blk-p { margin: 8px 0 0; font-size: 14px; color: var(--mute); line-height: 1.7; }
.fwd { margin-top: 28px; display: flex; gap: 10px; }
.fwd .btn-back { width: auto; flex: none; background: var(--paper); color: var(--ink); }
@media (min-width: 640px) { body { font-size: 18px; } .head-t { font-size: 34px; } .head-no { font-size: 68px; } }
@media (max-width: 699px) { .side.is-closed { display: none; } }
@media (min-width: 700px) {
  .app { display: grid; grid-template-columns: clamp(220px, 28vw, 320px) minmax(0, 1fr); align-items: start; }
  .bar { display: none; }
  :root { --stick: 0px; }
  .side { position: sticky; top: env(safe-area-inset-top, 0px); height: 100vh; box-sizing: border-box; overflow-y: auto; border-bottom: 0; border-right: 1px solid var(--line); padding: 24px clamp(14px, 2vw, 24px); }
  .main { padding-bottom: 40px; }
  .wrap { margin: 0 auto; padding-inline: clamp(20px, 3vw, 40px); }
  .toc .c-s { display: none; }
  .toc > li.is-cur .c-s { display: inline; }
}
@media (prefers-reduced-motion: reduce) { .meter i { transition: none; } }

/* スライド */
.frame { position: relative; margin-top: 16px; aspect-ratio: 16 / 9; max-width: 100%; overflow: hidden; border: 1px solid var(--line); background: var(--paper); touch-action: pan-y; }
.stage { font-size: 32px; line-height: 1.2; }
.stage p, .stage h1, .stage h2 { margin: 0; }
.stage section { position: absolute; top: 0; left: 0; width: 1920px; height: 1080px; box-sizing: border-box; transform-origin: 0 0; transform: scale(var(--s, .2)); overflow: hidden; }
.stage section { padding:112px 128px 160px; background:#FFFFFF; color:#14181F; font-family:'Noto Sans JP', Arial, sans-serif; display:flex; flex-direction:column; counter-increment:page; }
.stage .eyebrow { font-size:26px; font-weight:700; letter-spacing:4px; color:#C8401A; }
.stage h1 { font-size:120px; font-weight:900; line-height:1.2; letter-spacing:-2px; margin-top:24px; }
.stage h2 { font-size:76px; font-weight:900; line-height:1.25; letter-spacing:-1px; margin-top:20px; }
.stage .rule { width:120px; height:6px; background:#14181F; margin-top:36px; }
.stage .spacer { flex:1; }
.stage .body { flex:1; display:flex; gap:80px; margin-top:64px; }
.stage .col { flex:1; display:flex; flex-direction:column; }
.stage .top { border-top:3px solid #14181F; padding-top:28px; }
.stage .k { font-size:28px; font-weight:700; letter-spacing:2px; color:#5A6472; }
.stage .v { font-size:56px; font-weight:900; line-height:1.3; margin-top:12px; }
.stage .t { font-size:36px; line-height:1.6; color:#2B323C; margin-top:16px; }
.stage .lead { font-size:44px; line-height:1.5; color:#2B323C; margin-top:32px; }
.stage .big { font-size:92px; font-weight:900; line-height:1.3; letter-spacing:-1px; }
.stage .num { font-family:'Inter', Arial, sans-serif; font-size:168px; font-weight:800; line-height:1; letter-spacing:-6px; }
.stage .numm { font-family:'Inter', Arial, sans-serif; font-size:112px; font-weight:800; line-height:1.1; letter-spacing:-4px; }
.stage .acc { color:#C8401A; }
.stage .soft { color:#8A93A0; }
.stage .frow { display:flex; align-items:center; gap:36px; }
.stage .fx { font-family:'Inter', Arial, sans-serif; font-size:80px; font-weight:300; color:#8A93A0; line-height:1; }
.stage .brow { display:flex; align-items:center; gap:24px; margin-top:22px; }
.stage .bl { width:120px; font-size:30px; font-weight:700; color:#5A6472; }
.stage .bar { height:40px; background:#14181F; }
.stage .barx { background:#C8401A; }
.stage .bv { font-size:36px; font-weight:700; }
.stage .dots { display:flex; gap:20px; margin-top:28px; }
.stage .dot { width:72px; height:72px; border-radius:50%; background:#14181F; }
.stage .dotx { background:#C8401A; }
.stage .pills { display:flex; flex-wrap:wrap; gap:20px; margin-top:28px; }
.stage .pill { font-size:34px; font-weight:700; padding:14px 34px; border:3px solid #14181F; border-radius:60px; }
.stage .quote { font-size:44px; font-weight:700; line-height:1.55; margin-top:14px; }
.stage .foot { position:absolute; left:128px; right:128px; bottom:64px; display:flex; justify-content:space-between; font-size:24px; color:#8A93A0; }
.stage .pg::after { content:counter(page); }
.stage .nrow { display:flex; align-items:baseline; gap:12px; margin-top:12px; }
.stage .unit { font-size:44px; font-weight:900; }
.stage .tight { flex:none; }
.stage .take { margin-top:auto; border-top:3px solid #14181F; padding-top:28px; font-size:52px; font-weight:900; line-height:1.4; }
.stage .vs { font-size:46px; font-weight:900; line-height:1.3; margin-top:12px; }
.stage .flow { display:flex; align-items:center; gap:28px; margin-top:auto; }
.stage .step { flex:1; border:3px solid #14181F; padding:30px 12px; font-size:44px; font-weight:900; text-align:center; }
.stage .stepx { background:#C8401A; border-color:#C8401A; color:#FFFFFF; }
.stage .arr { font-family:'Inter', Arial, sans-serif; font-size:64px; font-weight:300; color:#8A93A0; line-height:1; }
.stage .map { display:flex; flex-direction:column; gap:22px; margin-top:56px; }
.stage .mrow { display:flex; align-items:center; gap:28px; }
.stage .chip { width:380px; border:3px solid #14181F; padding:16px 0; font-size:36px; font-weight:700; text-align:center; }
.stage .mop { width:60px; font-family:'Inter', Arial, sans-serif; font-size:56px; font-weight:300; color:#8A93A0; text-align:center; line-height:1; }
.stage .res { font-size:52px; font-weight:900; color:#C8401A; }
.stage .note { font-size:34px; color:#2B323C; }
.stage .blw { width:300px; font-size:34px; font-weight:700; }
.stage .barl { height:56px; }
.stage .chart { display:flex; flex-direction:column; margin-top:8px; }
.stage .g40 { gap:40px; }
.stage .flowm { margin-top:64px; }
.stage .off { flex:none; }
.stage .pg::after { content: attr(data-n); }
.nav { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.nav button { font: inherit; font-size: 15px; font-weight: 700; color: var(--ink); background: var(--paper); border: 2px solid var(--ink); padding: 8px 18px; min-height: 44px; cursor: pointer; }
.nav button:disabled { color: var(--faint); border-color: var(--line); cursor: default; }
.nav button.is-next { background: var(--ink); color: var(--paper); }
.nav button.is-next:disabled { background: var(--wash); color: var(--faint); }
.nav-c { flex: 1; text-align: center; font-family: var(--num); font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; }
.nav-c small { font-weight: 300; color: var(--faint); }

/* 音声 */
.audio { margin-top: 16px; border: 2px solid var(--ink); padding: 10px 14px; background: var(--paper); position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--stick, 58px)); z-index: 3; }
.audio-k { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--acc); }
.audio audio { width: 100%; display: block; }
.audio p { margin: 8px 0 0; font-size: 13px; color: var(--mute); line-height: 1.6; }

/* 本文 */
.prose { margin-top: 8px; }
.m-h { font-size: 19px; font-weight: 900; line-height: 1.5; margin: 34px 0 0; padding-left: 12px; border-left: 4px solid var(--acc); }
.m-p { margin: 14px 0 0; color: var(--ink2); }
.m-p strong, .m-l strong { color: var(--ink); font-weight: 900; }
.m-l { margin: 14px 0 0; padding-left: 1.4em; color: var(--ink2); }
.m-l li { margin-top: 4px; }
.m-tw { overflow-x: auto; margin-top: 14px; }
.m-t { border-collapse: collapse; font-size: 13px; line-height: 1.5; min-width: 520px; width: 100%; }
.m-t th, .m-t td { border: 1px solid var(--line); padding: 6px 8px; text-align: left; vertical-align: top; }
.m-t th { background: var(--wash); font-weight: 700; }

.btn { font: inherit; font-weight: 900; font-size: 16px; color: var(--paper); background: var(--ink); border: 2px solid var(--ink); padding: 12px 20px; min-height: 48px; width: 100%; cursor: pointer; }
.btn:disabled { background: var(--wash); border-color: var(--line); color: var(--faint); cursor: default; }

/* 課題 */
.task { margin-top: 16px; border: 2px solid var(--ink); padding: 16px; }
.task-k { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--acc); margin: 0; }
.task-t { margin: 6px 0 0; font-size: 18px; font-weight: 900; line-height: 1.6; }
details { margin-top: 12px; border: 1px solid var(--line); }
summary { cursor: pointer; padding: 12px 14px; font-weight: 700; font-size: 15px; }
.tool { padding: 0 14px 16px; font-size: 15px; line-height: 1.8; }
.tool .m-h { font-size: 16px; margin-top: 24px; }
.cks { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; counter-reset: ck; }
.ck { counter-increment: ck; border-top: 1px solid var(--line); padding-top: 12px; }
.ck-t { margin: 0; font-weight: 700; line-height: 1.6; display: flex; gap: 10px; }
.ck-t::before { content: counter(ck); font-family: var(--num); font-weight: 800; color: var(--faint); flex: none; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.seg-o { position: relative; display: block; }
.seg-o input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg-o span { display: block; text-align: center; border: 2px solid var(--line); padding: 8px 4px; min-height: 28px; font-size: 14px; font-weight: 700; color: var(--mute); }
.seg-o input:checked + span { border-color: var(--ink); color: var(--ink); background: var(--wash); }
.seg-o input[value="done"]:checked + span { border-color: var(--acc); color: var(--acc); background: var(--acc-wash); }
.left { margin: 14px 0 0; font-size: 14px; color: var(--mute); }

/* 次の節 */
.next { margin-top: 28px; border: 2px solid var(--line); padding: 16px; }
.next.is-open { border-color: var(--acc); }
.next-k { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--mute); }
.next.is-open .next-k { color: var(--acc); }
.next-t { margin: 4px 0 0; font-size: 20px; font-weight: 900; line-height: 1.5; }
.next-p { margin: 6px 0 14px; font-size: 14px; color: var(--mute); line-height: 1.7; }
.road { list-style: none; margin: 16px 0 0; padding: 0; }
.road li { display: flex; gap: 12px; align-items: baseline; border-top: 1px solid var(--line); padding-block: 10px; font-size: 15px; }
.road b { font-family: var(--num); font-weight: 800; width: 2.4em; flex: none; }
.road span { flex: 1; min-width: 0; }
.road em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--faint); white-space: nowrap; }
.road li.is-now em { color: var(--acc); }
.road li.is-lock { color: var(--faint); }
.reset { margin: 24px 0 0; font-size: 13px; }
.reset button { font: inherit; color: var(--mute); background: none; border: 0; padding: 8px 0; text-decoration: underline; cursor: pointer; }
.foot { padding-block: 32px 48px; font-size: 12px; color: var(--faint); }

/* チェックリスト */
.chk { display: flex; gap: 12px; align-items: center; cursor: pointer; }
.chk input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--acc); cursor: pointer; }
.chk input:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; }
.donebox { margin-top: 28px; border: 2px solid var(--ink); padding: 14px 16px; }
.donebox .chk { font-size: 17px; font-weight: 900; line-height: 1.5; }
.donebox p { margin: 6px 0 0 36px; font-size: 13px; color: var(--mute); line-height: 1.6; }
.sub li { display: block; padding: 8px 10px; }
.sub .s-h { display: flex; gap: 8px; align-items: baseline; }
.sub .s-h i { font-style: normal; margin-left: auto; font-family: var(--num); font-weight: 800; font-size: 12px; white-space: nowrap; }
.sub .s-c { list-style: none; margin: 8px 0 2px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sub .s-c .chk { font-size: 13px; font-weight: 700; color: var(--ink); gap: 8px; }
.sub .s-c .chk input { width: 18px; height: 18px; }
.sub li.is-open { color: var(--ink2); }
.toc > li { color: var(--ink2); }
.next { border-color: var(--ink); }
.next-k { color: var(--acc); }
.list-h { margin: 32px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--mute); }
.sub-f { margin-top: 8px; }
.sheet { border-collapse: collapse; width: 100%; min-width: 440px; font-size: 14px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.sheet th, .sheet td { border: 1px solid var(--line); padding: 6px; text-align: left; vertical-align: middle; }
.sheet thead th { background: var(--wash); font-size: 12px; }
.sheet tbody th { font-weight: 700; white-space: nowrap; }
.sheet tbody th b { font-family: var(--num); font-weight: 800; color: var(--acc); margin-right: 6px; }
.sheet tbody th small { display: block; font-size: 11px; font-weight: 500; color: var(--mute); }
.sheet .calc th, .sheet .calc td { background: var(--wash); }
.sheet .calc td { font-family: var(--num); font-weight: 800; text-align: right; }
.sheet .calc td.is-ng { color: var(--acc); }
.fi { font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 2px solid var(--line); padding: 8px 10px; width: 100%; box-sizing: border-box; min-height: 44px; border-radius: 0; }
.fi:focus { outline: none; border-color: var(--ink); }
.sheet td .fi { text-align: right; min-width: 84px; }
.sheet .fi-m { min-width: 84px; }
.fl { margin-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.fl label { font-size: 13px; font-weight: 700; color: var(--ink2); }
.sub-f .btn { margin-top: 18px; }
.sub-s { margin: 8px 0 0; font-size: 14px; font-weight: 700; color: var(--acc); min-height: 1.6em; }
.priv { margin-top: 10px; border: 2px solid var(--ink); padding: 12px 14px; }
.priv-k { margin: 0; font-size: 15px; font-weight: 900; }
.priv-l { margin: 6px 0 0; padding-left: 1.3em; font-size: 14px; line-height: 1.75; color: var(--ink2); }
.priv-l strong { color: var(--acc); font-weight: 900; }
.priv-t { margin: 6px 0 0; font-size: 13px; line-height: 1.7; color: var(--ink2); }


/* ここから下は、全35節のサイトにするために足した物(見本の見た目は変えない)。 */
html, body { margin: 0; }
/* 公開先と同じ条件にそろえる。隠す物は、どこで開いても隠れる。PC で見せたい物には hidden を使わない。 */
[hidden] { display: none !important; }
.is-off { display: none; }

/* リンク(目次・次の節・入口) */
.side a { color: inherit; text-decoration: none; }
.side a:hover span, .side a.c-t:hover { text-decoration: underline; }
.side-home { margin: 10px 0 0; font-size: 13px; font-weight: 700; }
.side-home a { text-decoration: underline; }
.sub a.s-h { color: inherit; }
@media (min-width: 700px) { .toc .c-s { display: inline; } }
.btn-a { display: block; box-sizing: border-box; text-align: center; text-decoration: none; }
.fwd .btn-a.btn-back { width: auto; flex: none; }
a.btn:focus-visible, .road a:focus-visible, .ap-nav a:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; }

/* 音声が無い節 */
.audio.is-none { position: static; border-color: var(--line); }
.audio.is-none p:last-child { margin: 0; font-size: 14px; }

/* 章の頭・章の出口 */
.chap { margin-top: 20px; border: 1px solid var(--line); background: var(--wash); padding: 2px 16px 16px; }
.chap-k { margin: 14px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--mute); }

/* 本文とツールの、引用・囲み・チェックの行 */
.m-q { margin: 14px 0 0; padding: 8px 14px; border-left: 4px solid var(--line); color: var(--ink2); }
.m-pre { margin: 14px 0 0; padding: 12px 14px; background: var(--wash); border: 1px solid var(--line); font: inherit; font-size: 14px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.m-l li.m-cb { list-style: none; margin-left: -1.4em; }
.m-l li.m-sub { list-style: circle; margin-left: 1.4em; }
.m-p a, .m-l a, .m-t a { color: var(--acc); overflow-wrap: anywhere; }

/* 課題の入力欄 */
.fh { margin: 2px 0 0; font-size: 12px; line-height: 1.6; color: var(--mute); }
.fl-t { margin: 0; font-size: 13px; font-weight: 700; color: var(--ink2); }
.fl .m-tw { margin-top: 0; }
.fu { display: flex; align-items: center; gap: 8px; }
.fu .fi { flex: 1; min-width: 0; max-width: 260px; text-align: right; }
.fu span { font-size: 14px; font-weight: 700; color: var(--mute); white-space: nowrap; }
.fli { display: flex; align-items: center; gap: 8px; }
.fli b { font-family: var(--num); font-weight: 800; color: var(--faint); width: 1.2em; flex: none; }
.fl-c .chk { font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--ink); align-items: flex-start; }
.calc-o { margin: 0; max-width: 260px; box-sizing: border-box; background: var(--wash); border: 1px solid var(--line); padding: 8px 10px; min-height: 44px; font-family: var(--num); font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.calc-o small { font-family: var(--jp); font-size: 13px; font-weight: 700; color: var(--mute); margin-left: 6px; }
.sheet td.is-t .fi { text-align: left; min-width: 120px; }
.sheet td.calc-c { background: var(--wash); font-family: var(--num); font-weight: 800; text-align: right; white-space: nowrap; }
.sheet td.is-w { font-family: var(--jp); font-weight: 700; text-align: center; }
.sheet .calc td.is-w { font-family: var(--jp); text-align: center; }

/* 入口と付録 */
.road a { display: flex; gap: 12px; align-items: baseline; flex: 1; min-width: 0; color: inherit; text-decoration: none; }
.road a:hover span { text-decoration: underline; }
.road li.is-full em { color: var(--acc); }
.list-h { display: flex; justify-content: space-between; gap: 12px; }
.list-h + .road { margin-top: 6px; }
#idx .side-prog { margin-top: 14px; }
.ap-h { font-size: 24px; font-weight: 900; line-height: 1.4; margin: 48px 0 0; padding-top: 20px; border-top: 2px solid var(--ink); }
.ap-h b { font-family: var(--jp); color: var(--acc); margin-right: 12px; }
.ap-nav b { width: 3.2em; }
#apx details { margin-top: 8px; }

/* 題が長い節でも、節の番号を折らない。章の頭の「  人」などの空きを残す。 */
.head-no { white-space: nowrap; flex: none; }
.chap .m-l li { white-space: pre-wrap; }

/* 入口とログインの画面の下: 特定商取引法の表記と、問い合わせ先(小さな文字) */
.legal { margin: 32px 0 0; font-size: 12px; line-height: 1.7; color: var(--mute); overflow-wrap: anywhere; }
.legal a { color: var(--mute); }
.legal + .foot { padding-top: 8px; }
