/* Legal pages: the brand's own paper and ink, nothing else. */
@font-face { font-family: 'gg sans'; src: url('/fonts/mainichi/ggsans-Normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'gg sans'; src: url('/fonts/mainichi/ggsans-Semibold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'gg sans'; src: url('/fonts/mainichi/ggsans-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Ginto'; src: url('/fonts/mainichi/GintoNord-Black.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }

:root { --paper: #ebe7de; --ink: #1e1e1e; --orange: #ff4500; color-scheme: light; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1rem/1.7 'gg sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  overflow-wrap: break-word;
}
main { width: min(100% - 32px, 42rem); margin: 0 auto; padding: 1.5rem 0 5rem; }

h1, h2, h3 { font-family: 'Ginto', 'gg sans', system-ui, sans-serif; font-weight: 900; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(1.9rem, 7vw, 2.4rem); margin: 1.5rem 0 .5rem; }
main > h1 ~ h1 { font-size: 1.35rem; margin: 2.5rem 0 .5rem; }
h2 { font-size: 1.35rem; margin: 2.25rem 0 .5rem; }
li h2 { font-size: 1.2rem; margin: 1.25rem 0 .25rem; }
li h3 { font-size: 1.05rem; margin: 1rem 0 .2rem; }
p { margin: .75rem 0; }
.date { font-size: .875rem; opacity: .8; margin-top: 0; }

ul, ol { margin: .75rem 0; padding-left: 1.5rem; }
ul { list-style-type: disc; }
ol { list-style-type: upper-roman; padding-left: 2.5rem; }
li { margin: .5rem 0; padding-left: .25rem; }
li::marker { font-weight: 600; }

a { color: var(--orange); text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { opacity: .75; }

.top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; font-size: .875rem; margin-bottom: 1.5rem; }
header.top { margin-bottom: 2rem; }
.back { font-weight: 700; letter-spacing: -.05em; text-transform: uppercase; text-decoration: none; }
.brand { font-family: 'Ginto', 'gg sans', system-ui, sans-serif; font-weight: 900; font-size: 1.35rem; letter-spacing: -.01em; text-decoration: none; }
.links { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; margin-top: 2rem; }
.links a { font-size: 1.125rem; }
