:root {
  --bg: #fbfbfa;
  --surface: #ffffff;
  --text: #1c1c1e;
  --muted: #6b6b70;
  --line: #e4e4e2;
  --accent: #2f5bd3;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111113;
    --surface: #1b1b1e;
    --text: #ececee;
    --muted: #9a9aa0;
    --line: #2c2c30;
    --accent: #7c9cff;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.logo { font-weight: 700; letter-spacing: .04em; color: var(--text); text-decoration: none; }
nav a { color: var(--muted); text-decoration: none; margin-left: 16px; font-size: 14px; }
nav a:hover { color: var(--text); }
main { padding: 40px 0 64px; }
h1 { font-size: 28px; line-height: 1.4; margin: 0 0 8px; }
h2 { font-size: 20px; margin: 40px 0 8px; padding-top: 8px; }
h3 { font-size: 16px; margin: 24px 0 4px; }
p, li { font-size: 16px; }
.lead { color: var(--muted); margin: 0 0 32px; }
a { color: var(--accent); }
.card {
  display: block; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 20px; color: inherit; text-decoration: none; margin: 16px 0;
}
.card:hover { border-color: var(--accent); }
.card .name { font-weight: 700; font-size: 18px; }
.card .desc { color: var(--muted); font-size: 15px; margin-top: 4px; }
.links { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.links a { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 14px; }
dl.faq dt { font-weight: 700; margin-top: 24px; }
dl.faq dd { margin: 4px 0 0; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.meta { color: var(--muted); font-size: 14px; }
footer { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: 13px; }
footer a { color: var(--muted); }
