:root {
  --fg: #1a1a1a;
  --fg-muted: #555;
  --fg-dim: #888;
  --bg: #ffffff;
  --bg-soft: #f7f7f5;
  --line: #e5e5e2;
  --accent: #1a5fb4;
  --accent-soft: #eef3fb;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 32px 120px;
}

header.site {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 56px;
}

header.site .brand {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--fg-muted);
  text-transform: uppercase;
}

header.site .title {
  font-size: 28px;
  font-weight: 700;
  margin: 8px 0 0;
  letter-spacing: -0.01em;
}

header.site .meta {
  font-size: 13px;
  color: var(--fg-dim);
  margin-top: 8px;
}

h1, h2, h3, h4 {
  letter-spacing: -0.01em;
  line-height: 1.4;
}

h1 { font-size: 30px; font-weight: 700; margin: 48px 0 16px; }
h2 { font-size: 22px; font-weight: 700; margin: 56px 0 16px; padding-top: 24px; border-top: 1px solid var(--line); }
h3 { font-size: 17px; font-weight: 700; margin: 32px 0 12px; }
h4 { font-size: 15px; font-weight: 600; margin: 24px 0 8px; color: var(--fg-muted); }

p { margin: 16px 0; }

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

a:hover { border-bottom-color: var(--accent); }

ul, ol { padding-left: 22px; margin: 16px 0; }
li { margin: 6px 0; }

code {
  background: var(--bg-soft);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: "JetBrains Mono", "SF Mono", monospace;
  font-size: 13px;
}

pre {
  background: var(--bg-soft);
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.6;
}

pre code { background: transparent; padding: 0; }

blockquote {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 20px;
  margin: 24px 0;
  color: var(--fg-muted);
  font-style: italic;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

th, td {
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
}

th {
  background: var(--bg-soft);
  font-weight: 600;
}

.report-section {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 28px 32px;
  margin: 24px 0;
}

.report-section h3 {
  margin-top: 0;
  font-size: 16px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}

.report-section ul { margin: 12px 0; }

.link-list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

.link-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.link-list li:last-child { border-bottom: none; }

.link-list a { font-weight: 500; }

.link-list .desc {
  display: block;
  color: var(--fg-dim);
  font-size: 12px;
  margin-top: 2px;
}

.intro {
  font-size: 17px;
  line-height: 1.85;
  margin-bottom: 32px;
  padding: 20px 24px;
  background: var(--accent-soft);
  border-radius: 8px;
}

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 99px;
  background: var(--bg-soft);
  color: var(--fg-muted);
  margin-right: 6px;
}

footer.site {
  margin-top: 96px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--fg-dim);
  text-align: center;
}

.back {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 13px;
  color: var(--fg-muted);
}

@media (max-width: 640px) {
  .container { padding: 40px 20px 80px; }
  header.site .title { font-size: 22px; }
  h1 { font-size: 24px; }
  h2 { font-size: 19px; }
  .report-section { padding: 20px; }
}
