:root {
  color-scheme: light;
  --bg: #f7f8f5;
  --surface: #ffffff;
  --text: #1c2422;
  --muted: #5e6966;
  --line: #d8dfdb;
  --accent: #0f6f5c;
  --accent-soft: #e3f1ed;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
}

header,
main,
footer {
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 20px;
}

header {
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--text);
  font-weight: 800;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 14px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 10px;
}

h2 {
  font-size: 1.35rem;
  margin: 42px 0 12px;
}

h3 {
  font-size: 1.05rem;
  margin: 26px 0 8px;
}

p,
li,
dd {
  color: var(--muted);
}

ul,
ol {
  padding-left: 1.4rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

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

th {
  width: 32%;
  background: #f1f5f2;
}

tr:last-child th,
tr:last-child td {
  border-bottom: 0;
}

.lead {
  font-size: 1.08rem;
}

.notice,
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--surface);
}

.notice {
  background: var(--accent-soft);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  padding: 0;
  list-style: none;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
