* { box-sizing: border-box; }
:root { font-family: "Yu Gothic", Meiryo, sans-serif; line-height: 1.65; }
body { margin: 0; background: var(--surface); color: var(--ink); }
a { color: inherit; text-underline-offset: .25em; }
:focus-visible { outline: 4px solid #0066aa; outline-offset: 4px; }
.top { width: min(100%, 51rem); min-height: 52px; padding: .7rem 1rem; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem 1rem; background: #f7f4eb; color: #252725; font-size: .84rem; flex-wrap: wrap; }
.top a { display: inline-flex; align-items: center; min-height: 36px; }
main { width: min(100%, 51rem); margin-inline: auto; }
.frame { position: relative; }
img { display: block; width: 100%; height: auto; }
.image-action { position: absolute; display: block; left: var(--x); top: var(--y); width: var(--w); height: var(--h); }
.image-action:focus-visible { outline-offset: -4px; outline: 4px solid #fff; box-shadow: inset 0 0 0 8px #182631; }
.reading { color: var(--ink); background: var(--surface); border-inline: 1px solid color-mix(in srgb, var(--ink) 17%, transparent); padding: clamp(1.15rem, 4vw, 2.5rem); }
section:not(:last-child) .reading { border-bottom: 1px solid color-mix(in srgb, var(--ink) 17%, transparent); }
h1, h2 { line-height: 1.3; word-break: auto-phrase; text-wrap: balance; line-break: strict; margin: 0; }
h1 { font-size: clamp(1.7rem, 5vw, 2.85rem); }
h2 { font-size: clamp(1.15rem, 4vw, 2rem); }
.category { font-weight: 700; margin-block: 0 .35rem; font-size: .9rem; }
ul, ol { margin-block: .85rem 0; padding-inline-start: 1.5em; }
li + li { margin-top: .4em; }
p:last-child { margin-bottom: 0; }
.final { border-top: .25rem solid var(--accent); padding-bottom: clamp(2rem, 5vw, 4rem); }
.note { font-size: .88rem; }
.return { padding: .65rem .9rem; border: 1px solid currentColor; display: inline-block; margin-top: .65rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
h3 { font-size: clamp(1rem, 3.5vw, 1.2rem); margin: 1.6rem 0 .4rem; }
h3 + p { margin-top: 0; }
.visually-hidden * { white-space: nowrap; text-wrap: nowrap; }
