:root {
  --ink: #22303a;
  --ink-soft: #5b6b76;
  --bg: #fbfaf7;
  --paper: #ffffff;
  --line: #e6e2d8;
  --accent: #14684b;
  --accent-soft: #e5f2ec;
  --amber: #c98a2d;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
}

.inner { max-width: 880px; margin: 0 auto; padding: 0 20px; }

/* ---- header ---- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.logo {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 1.45rem; font-weight: 700; letter-spacing: .06em;
  color: var(--accent); text-decoration: none;
}
.site-header nav a {
  color: var(--ink-soft); text-decoration: none; font-size: .88rem;
  margin-left: 22px;
}
.site-header nav a:hover { color: var(--accent); }

.pr-notice {
  background: #f3efe6; color: #7a6a4a;
  font-size: .75rem; text-align: center; padding: 5px 12px;
  border-bottom: 1px solid var(--line);
}

/* ---- hero ---- */
.hero { padding: 64px 0 40px; text-align: center; }
.hero h1 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 2.3rem; letter-spacing: .08em; color: var(--accent);
}
.hero p { color: var(--ink-soft); margin-top: 10px; font-size: 1.02rem; }

/* ---- article cards ---- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px; padding: 12px 0 72px; }
.card {
  display: block; background: var(--paper); border: 1px solid var(--line);
  border-radius: 10px; padding: 22px 20px 16px; text-decoration: none;
  color: var(--ink); transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(34,48,58,.09); }
.card .chip {
  display: inline-block; background: var(--accent-soft); color: var(--accent);
  font-size: .72rem; font-weight: 700; border-radius: 99px; padding: 2px 12px;
}
.card h3 { font-size: 1.02rem; margin: 12px 0 8px; line-height: 1.6; }
.card p { font-size: .84rem; color: var(--ink-soft); }
.card .date { display: block; margin-top: 12px; font-size: .75rem; color: #a3a99f; }

/* ---- article body ---- */
.post {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 44px 46px; margin: 40px 0 72px;
}
.post h1 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 1.7rem; line-height: 1.5; letter-spacing: .02em;
  padding-bottom: 18px; border-bottom: 2px solid var(--accent);
}
.post h2 {
  font-size: 1.25rem; margin: 44px 0 14px; padding: 8px 14px;
  background: var(--accent-soft); border-left: 5px solid var(--accent);
  border-radius: 4px;
}
.post h3 { font-size: 1.06rem; margin: 30px 0 10px; color: var(--accent); }
.post p { margin: 14px 0; }
.post ul, .post ol { margin: 14px 0 14px 26px; }
.post li { margin: 6px 0; }
.post blockquote {
  margin: 18px 0; padding: 14px 20px; background: #f6f4ee;
  border-left: 4px solid var(--amber); border-radius: 4px;
}
.post blockquote p { margin: 0; color: #7a6a4a; font-size: .92rem; }
.post hr { border: none; border-top: 1px dashed var(--line); margin: 36px 0; }
.post code { background: #f0ede4; border-radius: 4px; padding: 1px 7px; font-size: .9em; }
.post a { color: var(--accent); }

.table-wrap { overflow-x: auto; margin: 18px 0; }
.post table { border-collapse: collapse; width: 100%; font-size: .92rem; }
.post th {
  background: var(--accent); color: #fff; font-weight: 700;
  padding: 10px 14px; text-align: left; white-space: nowrap;
}
.post td { padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fff; }
.post tbody tr:nth-child(even) td { background: #f8f7f2; }

/* ---- footer ---- */
.site-footer {
  background: var(--ink); color: #cfd8d3; font-size: .85rem;
  padding: 34px 0; text-align: center;
}
.site-footer a { color: #9fc3b4; }
.site-footer .copy { margin-top: 12px; font-size: .75rem; color: #8b979f; }

@media (max-width: 640px) {
  .post { padding: 28px 20px; }
  .hero h1 { font-size: 1.7rem; }
  .site-header nav a { margin-left: 12px; font-size: .8rem; }
}
