:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #1a1d23;
  --muted: #5c6570;
  --border: #d7dde5;
  --accent: #0f6b5c;
  --note-info: #e8f4f1;
  --note-warning: #fff6e8;
  --footer: #eef1f5;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Hiragino Sans", "Noto Sans JP", "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #eef3f1 0%, var(--bg) 220px);
  line-height: 1.65;
}

.site-header,
.site-main,
.site-footer {
  width: min(960px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  padding: 2.5rem 0 1.5rem;
}

.site-brand {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-transform: uppercase;
}

.site-brand-link {
  color: inherit;
  text-decoration: none;
}

.site-brand-link:hover {
  text-decoration: underline;
}

.back-to-top {
  margin: 0.85rem 0 0;
}

.back-to-top a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.95rem;
}

.back-to-top a:hover {
  text-decoration: underline;
}

.site-footer .back-to-top {
  margin: 0 0 0.75rem;
}

.site-header h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.3;
}

.lead {
  margin: 0;
  color: var(--muted);
}

.site-main {
  padding: 0 0 2.5rem;
}

.section-heading {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
}

.section-paragraph {
  margin: 0 0 1rem;
}

.section-note {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--accent);
  background: var(--note-info);
}

.section-note.note-warning {
  border-left-color: #c47b16;
  background: var(--note-warning);
}

.section-link {
  margin: 1rem 0 0;
}

.section-link a {
  color: var(--accent);
}

.table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.data-table caption {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

.data-table th,
.data-table td {
  padding: 0.7rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.data-table a {
  color: var(--accent);
  word-break: break-all;
}

.data-table thead th {
  background: #f2f5f8;
  font-weight: 600;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.site-footer {
  padding: 1.25rem 0 2rem;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
  background: transparent;
}

.site-footer p {
  margin: 0;
}
