/* チャトナビ ストチャガイド
   editorial / trust-first。VARIANCE 6 / MOTION 3 / DENSITY 3
   palette: forest (deep green + paper + gold hairline) */
:root {
  --paper: #f7f4ee;
  --surface: #fffdf9;
  --ink: #1e201e;
  --ink-soft: #5a5f5a;
  --line: #e2dccf;
  --green-deep: #0b4a43;
  --green: #0e6e64;
  --green-tint: #e9f1ef;
  --gold: #b08a4f;
  --line-green: #06c755;
  --line-green-deep: #05a847;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", -apple-system, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.95;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

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

img { max-width: 100%; height: auto; display: block; }

/* ---------- header ---------- */
.site-header {
  background: rgba(247, 244, 238, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { text-decoration: none; display: flex; align-items: baseline; gap: 9px; flex-shrink: 0; }
.brand-main {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 21px;
  color: var(--ink);
  letter-spacing: 0.05em;
}
.brand-sub { font-size: 11px; color: var(--green); font-weight: 700; letter-spacing: 0.14em; }
.gnav { display: flex; gap: 22px; margin-left: auto; }
.gnav a { text-decoration: none; color: var(--ink-soft); font-size: 13.5px; font-weight: 500; white-space: nowrap; transition: color 0.2s var(--ease); }
.gnav a:hover { color: var(--green-deep); }

/* ---------- buttons ---------- */
.btn-line {
  display: inline-block;
  background: var(--line-green);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 38px;
  border-radius: 999px;
  transition: background 0.2s var(--ease), transform 0.15s var(--ease);
}
.btn-line:hover { background: var(--line-green-deep); }
.btn-line:active { transform: scale(0.98); }
.btn-line--small { padding: 9px 20px; font-size: 13px; flex-shrink: 0; }
.btn-ghost {
  display: inline-block;
  color: var(--paper);
  border: 1.5px solid rgba(247, 244, 238, 0.75);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 32px;
  border-radius: 999px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.btn-ghost:hover { background: var(--paper); color: var(--green-deep); }

/* ---------- hero ---------- */
.hero {
  background: var(--green-deep);
  color: var(--paper);
  padding: 84px 0 76px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0; right: -10%;
  width: 46%; height: 100%;
  background: radial-gradient(ellipse at top right, rgba(176, 138, 79, 0.14), transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.55;
  letter-spacing: 0.03em;
  margin-bottom: 22px;
}
.hero-lead {
  color: rgba(247, 244, 238, 0.82);
  font-size: 15px;
  line-height: 2.1;
  max-width: 34em;
  margin-bottom: 30px;
}
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-left: 1px solid rgba(247, 244, 238, 0.22);
  border-top: 1px solid rgba(247, 244, 238, 0.22);
}
.hero-stats > div {
  border-right: 1px solid rgba(247, 244, 238, 0.22);
  border-bottom: 1px solid rgba(247, 244, 238, 0.22);
  padding: 26px 24px 22px;
}
.hero-stats dt { font-size: 11.5px; letter-spacing: 0.08em; color: rgba(247, 244, 238, 0.66); margin-bottom: 6px; }
.hero-stats dd {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  color: var(--paper);
}
.hero-stats dd span { font-size: 17px; margin-left: 3px; color: var(--gold); }

/* ---------- section headings ---------- */
.featured h2, .cat-section h2, .about h2, .related h2, .faq h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 25px;
  letter-spacing: 0.04em;
  margin-bottom: 26px;
  position: relative;
  padding-top: 18px;
}
.featured h2::before, .cat-section h2::before, .about h2::before,
.related h2::before, .faq h2::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 44px; height: 3px;
  background: var(--green);
}

/* ---------- featured cards ---------- */
.featured { margin: 72px 0 64px; }
.featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.card-l {
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card-l:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(30, 32, 30, 0.1); }
.card-l img { aspect-ratio: 1200 / 630; object-fit: cover; }
.card-l-body { display: block; padding: 22px 24px 26px; }
.card-meta { display: block; font-size: 11.5px; letter-spacing: 0.07em; color: var(--green); font-weight: 700; margin-bottom: 8px; }
.card-l-title {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.65;
  margin-bottom: 8px;
}
.card-desc {
  display: -webkit-box;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.85;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- feature band (photo) ---------- */
.feature-band { position: relative; margin: 8px 0 0; min-height: 380px; display: flex; align-items: center; }
.feature-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11, 74, 67, 0.93) 0%, rgba(11, 74, 67, 0.78) 45%, rgba(11, 74, 67, 0.28) 100%);
}
.band-inner { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 64px; color: var(--paper); }
.band-inner h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.6;
  max-width: 21em;
  margin-bottom: 14px;
}
.band-inner p { color: rgba(247, 244, 238, 0.85); font-size: 14.5px; max-width: 36em; margin-bottom: 26px; }

/* ---------- article rows ---------- */
.cat-section { margin: 64px 0; }
.rows { border-top: 1px solid var(--line); }
.row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 26px;
  padding: 24px 4px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: background 0.2s var(--ease);
}
.row:hover { background: var(--surface); }
.row img { aspect-ratio: 1200 / 630; object-fit: cover; border: 1px solid var(--line); }
.row-title {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink);
  font-size: 17.5px;
  line-height: 1.65;
  margin-bottom: 6px;
}
.row:hover .row-title { color: var(--green-deep); }

/* ---------- about ---------- */
.about { margin: 72px 0; }
.about-grid { max-width: 720px; }
.about-grid p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 12px; }
.about-grid--photo { max-width: none; display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: center; }
.about-fig { margin: 0; }
.about-fig img { border: 1px solid var(--line); }
.about-fig figcaption, .body-fig figcaption {
  font-size: 11.5px;
  color: var(--ink-soft);
  margin-top: 8px;
  letter-spacing: 0.04em;
}
.body-fig { margin: 0 0 22px; }
.body-fig img { border: 1px solid var(--line); width: 100%; }

/* ---------- CTA band ---------- */
.cta { background: var(--green-deep); margin-top: 72px; }
article .cta { margin: 56px 0; }
.cta-inner { max-width: 640px; margin: 0 auto; padding: 60px 24px 54px; text-align: center; }
.cta-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 24px;
  color: var(--paper);
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}
.cta-text { color: rgba(247, 244, 238, 0.84); font-size: 14px; line-height: 2; margin-bottom: 26px; text-align: left; }
.cta-small { font-size: 11.5px; color: rgba(247, 244, 238, 0.6); margin-top: 16px; }

/* ---------- article ---------- */
.article-main { padding: 40px 24px 80px; max-width: 780px; }
.breadcrumb { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 34px; display: flex; gap: 8px; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--green-deep); }
.article-head { margin-bottom: 30px; }
.article-head h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 33px);
  line-height: 1.62;
  letter-spacing: 0.02em;
  margin: 6px 0 16px;
}
.article-meta {
  color: var(--ink-soft);
  font-size: 12.5px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.toc { border: 1px solid var(--line); background: var(--surface); padding: 26px 30px; margin-bottom: 40px; }
.toc-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 10px;
  color: var(--green-deep);
  letter-spacing: 0.1em;
}
.toc ol { padding-left: 22px; }
.toc li { font-size: 13.5px; margin: 5px 0; }
.toc a { text-decoration: none; color: var(--ink-soft); }
.toc a:hover { color: var(--green-deep); text-decoration: underline; }

.article-body h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 23px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  margin: 60px 0 20px;
  padding-top: 18px;
  position: relative;
}
.article-body h2::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 44px; height: 3px;
  background: var(--green);
}
.article-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 38px 0 14px;
  padding-left: 14px;
  border-left: 3px solid var(--gold);
  line-height: 1.7;
}
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px 24px; }
.article-body li { margin: 7px 0; }
.article-body strong { background: linear-gradient(transparent 70%, rgba(176, 138, 79, 0.28) 70%); font-weight: 700; }
.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 20px;
  margin: 0 0 18px;
  color: var(--ink-soft);
}
.article-body a { text-underline-offset: 3px; }

.tablewrap { overflow-x: auto; margin: 0 0 22px; border: 1px solid var(--line); }
.article-body table {
  border-collapse: collapse;
  width: 100%;
  min-width: 500px;
  background: var(--surface);
  font-size: 14px;
}
.article-body th {
  background: var(--green-deep);
  color: var(--paper);
  font-weight: 700;
  padding: 11px 16px;
  text-align: left;
  letter-spacing: 0.04em;
}
.article-body td { padding: 11px 16px; border-top: 1px solid var(--line); vertical-align: top; }

/* ---------- FAQ ---------- */
.faq { margin: 56px 0 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  padding: 18px 44px 18px 2px;
  list-style: none;
  position: relative;
  line-height: 1.7;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  color: var(--green);
  font-size: 22px;
  font-weight: 400;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 2px 20px; font-size: 14px; color: var(--ink-soft); }

.related { margin: 64px 0 0; }

/* ---------- footer ---------- */
.site-footer { background: #15221f; color: #a9b3ae; font-size: 13px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  padding-top: 54px;
  padding-bottom: 40px;
}
.footer-brand {
  font-family: var(--serif);
  color: var(--paper);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.footer-brand span { font-size: 11px; color: var(--gold); margin-left: 10px; letter-spacing: 0.14em; }
.footer-note { margin-bottom: 8px; font-size: 12px; line-height: 1.9; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; align-content: start; }
.footer-nav a { color: #cdd5d1; font-size: 12.5px; text-decoration: none; }
.footer-nav a:hover { color: var(--paper); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(247, 244, 238, 0.12); padding-top: 18px; padding-bottom: 22px; }
.footer-bottom p { font-size: 11px; color: #77817c; }

/* ---------- mobile ---------- */
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .featured-grid { grid-template-columns: 1fr; }
  .about-grid--photo { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 900px) {
  .gnav { display: none; }
}
@media (max-width: 640px) {
  .header-inner { gap: 10px; height: 58px; }
  .brand-sub { display: none; }
  .brand-main { font-size: 19px; }
  .btn-line--small { margin-left: auto; padding: 8px 14px; font-size: 12px; }
  .hero { padding: 56px 0 50px; }
  .hero h1 { font-size: 26px; }
  .hero-stats dd { font-size: 34px; }
  .hero-stats > div { padding: 18px 16px 15px; }
  .row { grid-template-columns: 116px 1fr; gap: 16px; padding: 18px 2px; align-items: start; }
  .row-title { font-size: 15px; }
  .row .card-desc { display: none; }
  .feature-band { min-height: 320px; }
  .cta-inner { padding: 46px 20px 42px; }
  .article-body h2 { font-size: 20px; }
}
