/* Legal documents: the site's own paper and ink, a heavy Archivo title, one column of text. */
:root { --paper: oklch(0.963 0.011 88); --band: oklch(0.93 0.013 86); --ink: oklch(0.215 0.006 60); --ink2: oklch(0.43 0.008 62); --ink3: oklch(0.585 0.01 66); --rule: oklch(0.85 0.01 82);
  --head: 'Archivo', 'Noto Sans JP', system-ui, -apple-system, sans-serif; --sans: 'DM Sans', 'Noto Sans JP', system-ui, -apple-system, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
html, body { overflow-x: clip; }
/* The scrollbar sits beside the page, over the window's own background. Down at the foot that background is the footer's dark, so the strip
   does not stay beige beside it. --foot is the footer's height (foot.js sets it; 282px until then). */
html { background: var(--paper) url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAADElEQVR4nGPg4mADAAA4ABk51UyxAAAAAElFTkSuQmCC") no-repeat left bottom / 100% var(--foot, 282px); }
html, body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; }
.kBar { max-width: 1220px; margin: 0 auto; padding: 22px 40px 0; display: flex; align-items: center; justify-content: space-between; }
.kBrand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.kBrand canvas { width: 38px; height: 38px; display: block; }
.kBrand span { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.kNav { display: flex; align-items: center; gap: 22px; }
.kNav a { font-size: 13.5px; font-weight: 500; color: var(--ink2); text-decoration: none; }
.kNav a:hover, .kNav a.on { color: var(--ink); }
.sedrow { max-width: 1220px; margin: 0 auto; padding: 26px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sedrow img { height: 21px; width: auto; }
.tabs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 30px; }
.tabs a { font-family: var(--head); font-size: 15px; font-weight: 600; color: var(--ink2); text-decoration: none; padding: 2px 0 3px; border-bottom: 2px solid transparent; }
.tabs a:hover { color: var(--ink); }
.tabs a.on { color: var(--ink); font-weight: 700; border-bottom-color: var(--ink); }
main { max-width: 1220px; margin: 0 auto; padding: 34px 40px 90px; }
.col { max-width: 720px; margin: 0 auto; }
#kiwiMark { display: block; margin: 8px auto 0; width: 104px; height: 104px; }
h1.title { font-family: var(--head); font-weight: 800; font-size: clamp(44px, 8vw, 92px); line-height: 1.02; letter-spacing: -0.03em; text-align: center; margin: 18px 0 64px; }
h1.title.long { font-size: clamp(32px, 5.4vw, 60px); line-height: 1.08; overflow-wrap: anywhere; }
.meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; font-family: var(--head); font-size: 14.5px; }
.meta .when { font-weight: 600; }
.meta .acts { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; }
.meta button, .meta a.lnk { font: inherit; font-weight: 600; color: var(--ink2); background: none; border: none; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.meta button:hover, .meta a.lnk:hover { color: var(--ink); }
.meta button.on { color: var(--ink); text-decoration: none; cursor: default; }
.rule { height: 1px; background: var(--ink); margin: 20px 0 40px; }
.toc { margin: 0 0 34px; padding: 16px 20px; background: var(--band); border-radius: 4px; font-size: 14.5px; line-height: 1.5; }
.toc p { margin: 0 0 8px; font-family: var(--head); font-weight: 700; }
.toc ol { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 28px; }
.toc li { break-inside: avoid; margin: 0 0 5px; }
.toc a { color: var(--ink2); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.docbody { font-size: 17px; line-height: 1.78; color: var(--ink); min-width: 0; }
.docbody h2 { font-family: var(--head); font-weight: 700; font-size: 25px; line-height: 1.2; letter-spacing: -0.015em; margin: 46px 0 15px; }
.docbody h2:first-child { margin-top: 0; }
.docbody h3 { font-family: var(--head); font-weight: 600; font-size: 18px; margin: 28px 0 10px; }
.docbody p { margin: 0 0 16px; }
.docbody ul, .docbody ol { margin: 0 0 16px; padding-left: 22px; }
.docbody li { margin-bottom: 8px; }
.docbody strong { font-weight: 700; }
.docbody blockquote { margin: 0 0 18px; padding: 6px 0 6px 20px; border-left: 3px solid var(--ink); color: var(--ink2); }
.docbody blockquote.note { border-left: none; background: var(--band); font-size: 14.5px; line-height: 1.6; padding: 16px 20px; border-radius: 4px; margin-bottom: 34px; }
.docbody table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; margin: 4px 0 18px; }
.docbody th { text-align: left; padding: 11px 12px; font-family: var(--head); font-weight: 700; border-bottom: 2px solid var(--ink); }
.docbody td { padding: 11px 12px; vertical-align: top; color: var(--ink2); border-bottom: 1px solid var(--rule); }
.docbody hr { border: none; border-top: 1px solid var(--rule); margin: 36px 0; }
.sayso { margin: 0 0 28px; padding: 16px 20px; background: var(--band); border-radius: 4px; font-size: 14.5px; color: var(--ink2); }
.sayso button { font: inherit; color: var(--ink); background: none; border: none; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
/* a slim scrollbar in the page's own ink: Firefox takes the standard properties, the rest the rules below */
:root { --sb-thumb: rgba(27, 26, 24, .26); --sb-thumb-hover: rgba(27, 26, 24, .46); }
@supports not selector(::-webkit-scrollbar) { * { scrollbar-width: thin; scrollbar-color: var(--sb-thumb) transparent; } }
::-webkit-scrollbar { width: 12px; height: 12px; background: transparent; }
::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--sb-thumb); background-clip: padding-box; border: 4px solid transparent; border-radius: 999px; min-height: 48px; min-width: 48px; }
::-webkit-scrollbar-thumb:hover { background: var(--sb-thumb-hover); background-clip: padding-box; border-width: 3px; }
@media (max-width: 900px) { .toc ol { columns: 1; } }
@media (max-width: 640px) { .kBar { padding: 18px 20px 0; } .kNav { gap: 14px; } .kNav a { font-size: 12.5px; } .sedrow { padding: 22px 20px; } main { padding: 26px 20px 70px; } h1.title { margin-bottom: 40px; } .docbody { font-size: 16px; } }
