/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   隠神村 — news/news.css（一覧・記事ページ共通）
   ../style.css を先に読み込んでください
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ─── PAGE HEADER ────────────────────────────────────────── */
.page-header {
  background: #1A1008;
  border-bottom: 3px solid #8B1A14;
  padding: 40px 20px 32px;
  text-align: center;
}
.page-header-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 700;
  color: #F5F0E8;
  letter-spacing: .15em;
}
.page-header-sub {
  font-size: 11px;
  color: rgba(255,255,255,.3);
  letter-spacing: .25em;
  margin-top: 6px;
  text-transform: uppercase;
}

/* ─── BREADCRUMB ─────────────────────────────────────────── */
.breadcrumb {
  max-width: 860px;
  margin: 0 auto;
  padding: 14px 20px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color .15s; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb-sep { opacity: .4; }

/* ─── NEWS INDEX ─────────────────────────────────────────── */
.news-index { max-width: 860px; margin: 0 auto; padding: 8px 20px 80px; }
.news-index-list { list-style: none; }
.news-index-list li { border-bottom: 1px solid var(--border); }
.news-index-list li:first-child { border-top: 1px solid var(--border); }
.news-index-list a {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 8px; text-decoration: none; color: var(--ink);
  transition: background .15s, padding-left .15s;
}
.news-index-list a:hover { background: rgba(192,57,43,.04); padding-left: 16px; }
.news-index-date  { font-size: 12px; color: var(--muted); white-space: nowrap; min-width: 90px; }
.news-index-tag   { font-size: 11px; padding: 2px 8px; border: 1px solid var(--red); color: var(--red); border-radius: 2px; white-space: nowrap; }
.news-index-title { font-size: 14px; flex: 1; line-height: 1.5; }
.news-index-arrow { color: var(--muted); font-size: 18px; margin-left: auto; transition: transform .2s; }
.news-index-list a:hover .news-index-arrow { transform: translateX(4px); color: var(--red); }

/* ─── ARTICLE ────────────────────────────────────────────── */
.article-wrap { max-width: 720px; margin: 0 auto; padding: 32px 20px 80px; }
.article-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.article-date { font-size: 12px; color: var(--muted); }
.article-tag  { font-size: 11px; padding: 2px 10px; border: 1px solid var(--red); color: var(--red); border-radius: 2px; }
.article-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(20px, 3.5vw, 26px); font-weight: 700;
  color: var(--ink); line-height: 1.55; letter-spacing: .04em;
  margin-bottom: 28px; padding-bottom: 20px; border-bottom: 2px solid var(--border);
}
.article-body { font-size: 15px; line-height: 2; color: var(--ash); }
.article-body p  { margin-bottom: 1.4em; }
.article-body h2 {
  font-family: 'Noto Serif JP', serif; font-size: 18px; font-weight: 700;
  color: var(--red-dark); margin: 2.2em 0 .8em;
  padding-left: 12px; border-left: 3px solid var(--red);
}
.article-body h3 {
  font-family: 'Noto Serif JP', serif; font-size: 15px; font-weight: 700;
  color: var(--ink); margin: 1.8em 0 .6em;
}
.article-body ul,
.article-body ol   { padding-left: 1.6em; margin-bottom: 1.4em; }
.article-body li   { margin-bottom: .4em; }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body a    { color: var(--red-dark); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--red); }
.article-body img  { max-width: 100%; border-radius: 4px; margin: 1.4em 0; display: block; }
.article-body blockquote {
  border-left: 3px solid var(--border); margin: 1.4em 0; padding: .6em 1.2em;
  color: var(--muted); font-style: italic;
}
.article-body hr { border: none; border-top: 1px solid var(--border); margin: 2em 0; }

/* ─── ARTICLE FOOTER NAV ─────────────────────────────────── */
.article-nav {
  margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.article-nav-link {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--muted); text-decoration: none;
  transition: color .2s; line-height: 1.4;
}
.article-nav-link:hover { color: var(--red); }
.article-nav-link.prev { justify-content: flex-start; }
.article-nav-link.next { justify-content: flex-end; text-align: right; }
.article-nav-link .nav-label { font-size: 10px; display: block; opacity: .6; margin-bottom: 2px; }
.article-nav-back {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-family: 'Noto Serif JP', serif; font-size: 13px; letter-spacing: .1em;
  color: var(--ash); text-decoration: none;
  border: 1px solid var(--border); padding: 8px 20px; border-radius: 2px; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.article-nav-back:hover { background: #1A1008; color: #F5F0E8; border-color: #1A1008; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 600px) {
  .news-index-list a { flex-wrap: wrap; gap: 8px; }
  .news-index-arrow  { display: none; }
  .article-nav       { flex-wrap: wrap; }
  .article-nav-link.next { justify-content: flex-start; }
}

h2[id] {
  scroll-margin-top: 72px; /* site-navの高さ(52px) + 余白 */
}