:root {
  --bg: #fafafa;
  --text: #1c1c1e;
  --text-muted: #58585c;
  --border: #e4e4e7;
  --surface: #f2f2f5;
  --link: #2b4c7e;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 400;
}

.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 20px 64px;
}

header {
  padding-bottom: 20px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.site-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

.site-title a:hover {
  text-decoration: underline;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}

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

nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 700;
}

nav a:hover {
  text-decoration: underline;
}

h1 {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.meta {
  margin: 0 0 32px;
  font-size: 13px;
  color: var(--text-muted);
}

h2 {
  margin: 36px 0 12px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
}

h3 {
  margin: 24px 0 8px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
}

p {
  margin: 0 0 14px;
}

ul,
ol {
  margin: 0 0 16px;
  padding-left: 1.4em;
}

li {
  margin-bottom: 6px;
}

a {
  color: var(--link);
  text-underline-offset: 3px;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.card-list li {
  margin-bottom: 12px;
}

.card-link {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  background-color: var(--bg);
}

.card-link:hover {
  background-color: var(--surface);
}

.card-link strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.card-link span {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
}

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