/* ==========================================================================
   11月祭 攻略マニュアル 共通スタイル
   色・文字・余白は :root の値を変えるとサイト全体に反映されます
   ========================================================================== */
:root {
  color-scheme: light;
  --ink: #141413;
  --ink-soft: #5c5a55;
  --paper: #ffffff;
  --paper-tint: #f3f1ec;
  --line: #dcd9d1;
  --accent: #c2371c;
  --on-dark: #ffffff;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --font-sans: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --font-latin: "Archivo", "Helvetica Neue", Arial, var(--font-sans);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.8;
  line-break: strict;
  overflow-wrap: break-word;
}
img { display: block; width: 100%; height: auto; background: var(--paper-tint); }
a { color: inherit; }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.3; font-weight: 900; word-break: auto-phrase; text-wrap: balance; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 30;
  padding: 8px 14px; background: var(--ink); color: var(--on-dark);
}
.skip-link:focus { top: 8px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ヘッダー ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; column-gap: 32px;
}
.brand {
  display: flex; align-items: baseline; gap: 10px; padding-block: 12px;
  font-family: var(--font-latin); font-weight: 800; font-size: 1.2rem;
  letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
}
.brand small {
  font-family: var(--font-sans); font-size: .7rem; font-weight: 500;
  letter-spacing: 0; color: var(--ink-soft);
}
.site-nav ul { display: flex; gap: clamp(14px, 2.2vw, 30px); }
.site-nav a {
  display: block; padding-block: 14px;
  font-size: .9rem; font-weight: 700; text-decoration: none; white-space: nowrap;
  border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.site-nav a:hover { color: var(--accent); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--accent); }

@media (max-width: 700px) {
  .site-header .wrap { display: block; }
  .brand { padding-block: 8px 0; }
  .site-nav ul { justify-content: space-between; gap: 8px; }
  .site-nav a { padding-block: 8px 10px; font-size: .84rem; }
}

/* 表紙 ----------------------------------------------------------------- */
.cover { position: relative; background: var(--ink); color: var(--on-dark); overflow: hidden; }
.cover img {
  position: absolute; inset: 0; height: 100%; object-fit: cover; opacity: .82;
}
.cover .wrap {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  min-height: min(84vh, 860px); padding-block: clamp(20px, 3vw, 36px);
}
.cover-meta {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px;
  font-family: var(--font-latin); font-size: .8rem; font-weight: 500;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .55);
}
.cover-title {
  font-family: var(--font-latin); font-weight: 800;
  font-size: clamp(2.6rem, 11.5vw, 10rem);
  line-height: 1.08; letter-spacing: -.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .4);
}
.cover-lead {
  max-width: 34em; margin-top: 20px;
  font-size: clamp(1rem, 1.7vw, 1.25rem); font-weight: 700;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .7);
}

/* セクション ------------------------------------------------------------ */
.section { padding-block: clamp(56px, 8vw, 112px); }
.section.tint { background: var(--paper-tint); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  margin-bottom: clamp(24px, 3.5vw, 44px);
  padding-top: 12px; border-top: 3px solid var(--ink);
}
.section-head h2 { font-size: clamp(1.6rem, 3.6vw, 2.8rem); }
.eyebrow {
  display: block; margin-bottom: 6px;
  font-family: var(--font-latin); font-size: .78rem; font-weight: 800;
  letter-spacing: .04em; color: var(--accent);
}
.more {
  flex: none; font-size: .9rem; font-weight: 700; text-underline-offset: 4px;
}
.more:hover { color: var(--accent); }

/* ページ見出し ---------------------------------------------------------- */
.page-head { padding-block: clamp(40px, 7vw, 96px) clamp(24px, 3vw, 40px); }
.page-head h1 { font-size: clamp(2.2rem, 6.4vw, 5.4rem); letter-spacing: -.01em; }
.page-head p { max-width: 40em; margin-top: 16px; color: var(--ink-soft); font-size: 1.05rem; }

/* 目次 ----------------------------------------------------------------- */
.contents { display: grid; gap: 0 clamp(24px, 4vw, 64px); }
.contents a {
  display: grid; grid-template-columns: 3.2rem 1fr; align-items: baseline;
  padding-block: 16px; border-bottom: 1px solid var(--line);
  text-decoration: none; font-weight: 700; font-size: 1.1rem;
}
.contents a:hover { color: var(--accent); }
.contents .num { font-family: var(--font-latin); font-weight: 800; font-size: .9rem; color: var(--accent); }
.contents small { display: block; font-size: .85rem; font-weight: 500; color: var(--ink-soft); }
@media (min-width: 800px) { .contents { grid-template-columns: 1fr 1fr; } }

/* 特集の大きな見せ場 ---------------------------------------------------- */
.lead-story { display: grid; gap: clamp(20px, 3vw, 48px); text-decoration: none; }
.lead-story h3 { margin-bottom: 14px; font-size: clamp(1.7rem, 3.8vw, 3.2rem); }
.lead-story:hover h3 { color: var(--accent); }
.lead-story p { color: var(--ink-soft); }
@media (min-width: 900px) {
  .lead-story { grid-template-columns: 1.7fr 1fr; align-items: end; }
}

/* カード --------------------------------------------------------------- */
.cards { display: grid; gap: clamp(32px, 3vw, 44px) clamp(16px, 2.2vw, 32px); }
.cards.two { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.cards.three { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.card a { display: block; text-decoration: none; }
.card img { margin-bottom: 14px; }
.card h3 { font-size: 1.2rem; margin-block: 2px 6px; }
.card a:hover h3 { color: var(--accent); }
.card p { color: var(--ink-soft); font-size: .92rem; line-height: 1.7; }
.tag {
  font-family: var(--font-latin); font-size: .76rem; font-weight: 800;
  letter-spacing: .03em; color: var(--accent);
}

/* 企画ガイド ------------------------------------------------------------ */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter[hidden] { display: none; }
.filter button {
  min-height: 44px; padding: 6px 18px;
  font: inherit; font-size: .9rem; font-weight: 700;
  color: var(--ink); background: var(--paper);
  border: 1px solid var(--ink); border-radius: 999px; cursor: pointer;
}
.filter button:hover { color: var(--accent); border-color: var(--accent); }
.filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.event-meta { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; margin-top: 8px; font-size: .85rem; line-height: 1.7; }
.event-meta dt { font-weight: 700; }
.event-meta dd { color: var(--ink-soft); }
.card[hidden] { display: none; }

/* 散策 ----------------------------------------------------------------- */
.split { display: grid; gap: clamp(24px, 4vw, 64px); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.1fr 1fr; align-items: start; }
  .split > .sticky { position: sticky; top: 90px; }
}
.spot { display: grid; grid-template-columns: 2.6rem 1fr; padding-block: 20px; border-bottom: 1px solid var(--line); }
.spot:first-child { padding-top: 0; }
.spot .num { font-family: var(--font-latin); font-size: 1.5rem; font-weight: 800; line-height: 1.3; color: var(--accent); }
.spot h3 { font-size: 1.2rem; margin-bottom: 6px; }
.spot p { color: var(--ink-soft); font-size: .95rem; }
.spot img { margin-top: 14px; }

/* 記事 ----------------------------------------------------------------- */
.article-hero { position: relative; background: var(--ink); color: var(--on-dark); overflow: hidden; }
.article-hero img { position: absolute; inset: 0; height: 100%; object-fit: cover; opacity: .8; }
.article-hero .wrap {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: min(72vh, 720px); padding-block: 32px clamp(28px, 4vw, 56px);
}
.article-hero .tag { color: var(--on-dark); text-shadow: 0 1px 8px rgba(0, 0, 0, .7); }
.article-hero h1 {
  max-width: 18em; margin-top: 8px; font-size: clamp(2rem, 5.6vw, 4.8rem);
  text-shadow: 0 2px 20px rgba(0, 0, 0, .55);
}
.prose { max-width: 40rem; margin-inline: auto; padding-inline: var(--gutter); box-sizing: content-box; }
.prose > * + * { margin-top: 1.5em; }
.prose h2 { margin-top: 2.4em; font-size: 1.6rem; }
.prose .lead { font-size: 1.25rem; font-weight: 700; line-height: 1.75; }
.byline { padding-block: 16px; border-bottom: 1px solid var(--line); margin-bottom: 40px; font-size: .85rem; color: var(--ink-soft); }
.pull {
  padding-block: 8px; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; line-height: 1.5;
  color: var(--accent); word-break: auto-phrase;
}
figure.wide { max-width: var(--max); margin: clamp(40px, 6vw, 80px) auto; padding-inline: var(--gutter); }
figure.bleed { margin-block: clamp(40px, 6vw, 80px); }
figcaption { margin-top: 8px; font-size: .8rem; line-height: 1.6; color: var(--ink-soft); }
figure.bleed figcaption { padding-inline: var(--gutter); }
.pair { display: grid; gap: 12px; }
@media (min-width: 640px) { .pair { grid-template-columns: 1fr 1fr; } }
.infobox { padding: 20px; background: var(--paper-tint); }
.infobox h2 { margin: 0 0 8px; font-size: 1.05rem; }

/* 表・FAQ -------------------------------------------------------------- */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table th { width: 7em; padding-right: 16px; font-weight: 700; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding-block: 16px; font-weight: 700; cursor: pointer; }
.faq details p { padding-bottom: 16px; color: var(--ink-soft); }
.prose-narrow { max-width: 40rem; }
.prose-narrow > * + * { margin-top: 1.2em; }
.prose-narrow h2 { margin-top: 2em; font-size: 1.3rem; }

/* 仮表示の注記 ---------------------------------------------------------- */
.draft-note { padding: 8px 0; background: var(--ink); color: var(--on-dark); font-size: .8rem; line-height: 1.5; }

/* フッター -------------------------------------------------------------- */
.site-footer { padding-block: 48px 32px; background: var(--ink); color: var(--on-dark); }
.footer-title {
  font-family: var(--font-latin); font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(1.8rem, 5vw, 3.6rem); line-height: 1.1;
}
.disclaimer { max-width: 44em; margin-top: 16px; font-size: .88rem; line-height: 1.7; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 24px; }
.footer-nav a { display: inline-block; padding-block: 6px; font-size: .88rem; font-weight: 700; text-underline-offset: 4px; }
.copyright { margin-top: 24px; font-size: .75rem; opacity: .75; }
