:root {
  --bg: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #e8e8ed;
  --surface: #f5f5f7;
  --accent: #b07a00;
  --soft: #fff6dc;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111112;
    --ink: #f2f2f4;
    --muted: #a1a1a6;
    --line: #2a2a2d;
    --surface: #1c1c1e;
    --accent: #ffc81a;
    --soft: #2b2510;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.8;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 24px 16px 64px; }
header.site { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
header.site img { width: 40px; height: 40px; border-radius: 10px; }
header.site a.name { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 18px; }
nav { margin-left: auto; display: flex; gap: 14px; font-size: 14px; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; }
nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }
h1 { font-size: 26px; line-height: 1.4; margin: 32px 0 8px; }
h2 { font-size: 19px; margin: 36px 0 8px; padding-top: 8px; }
h3 { font-size: 16px; margin: 24px 0 4px; }
p, li { overflow-wrap: anywhere; }
a { color: var(--accent); }
.lead { color: var(--muted); font-size: 17px; }
.hero { text-align: center; padding: 40px 0 16px; }
.hero img { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.hero h1 { margin-top: 20px; }
.cards { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 24px 0; }
@media (min-width: 600px) { .cards { grid-template-columns: 1fr 1fr; } }
.card { background: var(--surface); border-radius: 16px; padding: 16px 18px; }
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.note { background: var(--soft); border-radius: 12px; padding: 12px 16px; font-size: 15px; }
ol li, ul li { margin: 4px 0; }
details { border-bottom: 1px solid var(--line); padding: 10px 0; }
summary { cursor: pointer; font-weight: 600; }
footer { margin-top: 56px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer a { color: var(--muted); }
