:root {
  --text: #1f2937;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --accent: #0f766e;
}

* {
  box-sizing: border-box;
}

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

a {
  color: var(--accent);
}

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

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 0;
}

.site-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

nav a {
  margin-left: 16px;
  font-size: 14px;
  text-decoration: none;
}

nav a:first-child {
  margin-left: 0;
}

main {
  padding: 32px 0 48px;
}

h1 {
  font-size: 26px;
  line-height: 1.4;
  margin: 0 0 8px;
}

h2 {
  font-size: 20px;
  margin: 48px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

h3 {
  font-size: 17px;
  margin: 28px 0 8px;
}

.lead {
  color: var(--text-muted);
  margin: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

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

th {
  width: 8em;
  white-space: nowrap;
  color: var(--text-muted);
  font-weight: 600;
}

.card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 16px 0;
}

.card h3 {
  margin-top: 0;
}

.updated {
  color: var(--text-muted);
  font-size: 14px;
}

footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 560px) {
  th,
  td {
    display: block;
    width: 100%;
    padding: 4px 0;
    border-bottom: none;
  }

  tr {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
  }
}
