:root {
  --bg: #fdfbf7;
  --text: #2b2823;
  --muted: #6b6558;
  --accent: #c97b4a;
  --card: #ffffff;
  --border: #eae4d8;
  --max-width: 720px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  line-height: 1.9;
  font-size: 19px;
}

@media (max-width: 480px) {
  body { font-size: 20px; }
}

header.site-header {
  padding: 32px 20px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

header.site-header a {
  color: var(--text);
  text-decoration: none;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

header.site-header p {
  color: var(--muted);
  font-size: 17px;
  margin: 8px 0 0;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 20px 80px;
}

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

.post-list li {
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}

.post-list .card-link {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  color: var(--text);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.post-list .card-link:hover,
.post-list .card-link:focus-visible {
  transform: translateY(-4px);
  background-color: color-mix(in srgb, var(--card) 88%, var(--accent) 12%);
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.25);
}

.post-list .title {
  display: block;
  font-size: 21px;
  font-weight: 700;
}

.post-list .excerpt {
  display: block;
  color: var(--muted);
  font-size: 17px;
  margin-top: 8px;
}

article img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 20px 0;
  display: block;
}

article .eyecatch {
  margin: 20px 0 28px;
}

article h1 {
  font-size: 30px;
  line-height: 1.5;
  margin-bottom: 8px;
}

article h2 {
  font-size: 23px;
  margin-top: 40px;
  border-left: 4px solid var(--accent);
  padding-left: 10px;
}

article blockquote {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 20px 0;
  color: var(--text);
}

article ul, article ol {
  padding-left: 1.4em;
}

.cta {
  display: inline-block;
  margin-top: 16px;
  background: var(--accent);
  color: #fff;
  padding: 14px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
}

footer.site-footer {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 30px 20px;
  border-top: 1px solid var(--border);
}

footer.site-footer p {
  margin: 0 0 10px;
}

footer.site-footer a {
  color: var(--muted);
  text-decoration: underline;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1a17;
    --text: #f0ece3;
    --muted: #a39a89;
    --card: #26221d;
    --border: #3a352c;
  }
}
