/* CAMPERS OPEN 2027 — style
   色はロゴから採取：グリーン #005C3A／マップの黄 #FBDA0F／旗の赤 #D42A26 */

:root {
  --green: #005c3a;
  --green-deep: #003f28;
  --green-night: #00311f;
  --yellow: #fbda0f;
  --red: #d42a26;
  --ink: #15241c;
  --ink-soft: #4b5a52;
  --mist: #eef2ee;
  --white: #ffffff;
  --line: rgba(21, 36, 28, 0.14);
  --line-light: rgba(255, 255, 255, 0.22);

  --jp: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic Medium", "Yu Gothic", Meiryo, sans-serif;
  --latin: "Alegreya", "Hiragino Mincho ProN", serif;
  --latin-sc: "Alegreya SC", "Alegreya", serif;

  --max: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--jp);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, dl, dd, ol, ul, figure { margin: 0; }
ul, ol { padding: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; }
.num { font-family: var(--latin); font-variant-numeric: lining-nums tabular-nums; letter-spacing: 0; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: 4px; border: 0;
  font: 600 16px/1 var(--jp); letter-spacing: 0.06em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.btn-primary { background: var(--yellow); color: var(--green-night); }
.btn-primary:hover { background: #ffe74f; }
.btn-dark { background: var(--green); color: var(--white); }
.btn-dark:hover { background: var(--green-deep); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-external::after {
  content: ""; width: 11px; height: 11px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 1h7v7h-1.5V3.6L2 11.1.9 10l7.5-7.5H4z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 1h7v7h-1.5V3.6L2 11.1.9 10l7.5-7.5H4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.text-link {
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 6px; text-decoration-color: currentColor;
}
.text-link:hover { text-decoration-thickness: 2px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: var(--white);
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-solid { background: var(--green); box-shadow: 0 1px 0 rgba(0,0,0,.12); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-emblem { width: 44px; height: 44px; }
.brand-wordmark { width: 118px; height: auto; }
.gnav { margin-left: auto; }
.gnav ul { list-style: none; display: flex; gap: 4px; }
.gnav a { display: block; padding: 8px 12px; font-size: 14px; font-weight: 600; text-decoration: none; border-radius: 4px; }
.gnav a:hover { background: rgba(255,255,255,.1); }
.gnav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.menu-toggle { display: none; }

@media (max-width: 1023px) {
  .gnav {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--green-deep);
    padding: 24px var(--gutter) 40px;
    overflow-y: auto;
    visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s;
  }
  .gnav.is-open { visibility: visible; opacity: 1; }
  .gnav ul { flex-direction: column; gap: 0; }
  .gnav a { padding: 16px 4px; font-size: 18px; border-bottom: 1px solid var(--line-light); border-radius: 0; }
  .header-cta { margin-left: auto; }
  .menu-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px;
    background: none; border: 0; color: inherit; cursor: pointer;
  }
  .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
    content: ""; display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: transform .2s;
  }
  .menu-toggle span::before { position: absolute; top: -7px; }
  .menu-toggle span::after { position: absolute; top: 7px; }
  .menu-toggle[aria-expanded="true"] span { background: transparent; }
  .menu-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 559px) {
  :root { --header-h: 64px; }
  .brand-emblem { width: 38px; height: 38px; }
  .brand-wordmark { width: 96px; }
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--green);
  color: var(--white);
  padding-top: calc(var(--header-h) + clamp(32px, 6vw, 72px));
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
.hero-status {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.08em;
  padding: 6px 14px 6px 12px; border-radius: 999px;
  background: rgba(0,0,0,.18);
}
.hero-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.hero-title { margin-top: 28px; font-weight: 400; line-height: 1; }
.hero-title img { width: min(440px, 100%); }
.hero-open {
  display: block; margin-top: 18px;
  font-family: var(--latin-sc); font-weight: 700;
  font-size: clamp(48px, 7.2vw, 96px); letter-spacing: 0.01em; line-height: .95;
}
.hero-in {
  display: block; margin-top: 10px;
  font-family: var(--latin); font-style: italic; font-weight: 500;
  font-size: clamp(26px, 3.2vw, 40px); line-height: 1;
}
.hero-lead {
  margin-top: 32px; max-width: 26em;
  font-size: clamp(17px, 1.6vw, 20px); font-weight: 600; line-height: 1.8;
  font-feature-settings: "palt"; letter-spacing: 0.06em;
}
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

.hero-map { position: relative; width: 100%; max-width: 620px; justify-self: end; aspect-ratio: 1477 / 1659; }
.hero-map svg { width: 100%; height: 100%; display: block; overflow: visible; }
.map-label {
  position: absolute; transform: translate(0, -50%);
  font-size: 13px; line-height: 1.5; white-space: nowrap;
}
.map-label b { display: block; font-size: 15px; letter-spacing: 0.06em; }
.map-label .num { font-size: 15px; }
.map-label--now { left: 41%; top: 87%; }
.map-label--now b { color: var(--yellow); }
.map-label--past { left: 26%; top: 49%; opacity: .78; text-align: right; transform: translate(-100%, -50%); }

.route { stroke-dasharray: 2 18; }
.route-draw { stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.flag-now { transform-origin: 520px 1262px; transform-box: view-box; }
@media (prefers-reduced-motion: no-preference) {
  .route-draw { stroke-dashoffset: 1; animation: route 1.4s .5s cubic-bezier(.4,0,.2,1) forwards; }
  .flag-now { transform: scale(0); animation: flag .5s 1.9s cubic-bezier(.2,1.4,.4,1) forwards; }
  .map-label--now { opacity: 0; animation: fade .5s 2.2s forwards; }
  @keyframes route { to { stroke-dashoffset: 0; } }
  @keyframes flag { to { transform: scale(1); } }
  @keyframes fade { to { opacity: 1; } }
}

.hero-facts {
  margin-top: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--line-light);
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.hero-facts > div { padding: 22px 24px 26px 0; }
.hero-facts > div + div { padding-left: 24px; border-left: 1px solid var(--line-light); }
.hero-facts dt { font-size: 13px; font-weight: 600; opacity: .75; letter-spacing: 0.1em; }
.hero-facts dd { margin-top: 6px; font-size: 15px; line-height: 1.7; }
.hero-facts .date { display: block; font-family: var(--latin); font-size: 26px; line-height: 1.25; font-variant-numeric: lining-nums; letter-spacing: 0; }
.hero-facts .date small { font-family: var(--jp); font-size: 14px; }

@media (max-width: 899px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-map { justify-self: center; max-width: 460px; margin-top: 8px; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts > div, .hero-facts > div + div { padding: 18px 0; border-left: 0; }
  .hero-facts > div + div { border-top: 1px solid var(--line-light); }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(72px, 10vw, 136px); }
.section-mist { background: var(--mist); }
.section-green { background: var(--green-deep); color: var(--white); }
.section-head { max-width: 40em; margin-bottom: clamp(36px, 5vw, 56px); }
.section-title {
  font-size: clamp(28px, 3.6vw, 42px); font-weight: 600; line-height: 1.4;
  font-feature-settings: "palt"; letter-spacing: 0.04em;
}
.section-lead { margin-top: 18px; color: var(--ink-soft); }
.section-green .section-lead { color: rgba(255,255,255,.8); }

/* about */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-statement {
  font-size: clamp(26px, 3.2vw, 38px); font-weight: 600; line-height: 1.55;
  font-feature-settings: "palt"; letter-spacing: 0.04em;
}
.about-body { margin-top: 28px; max-width: 30em; color: var(--ink-soft); }
.about-body p + p { margin-top: 1em; }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-photos .slot:first-child { grid-column: 1 / -1; }
@media (max-width: 899px) { .about-grid { grid-template-columns: 1fr; } }

/* photo band */
.band { position: relative; min-height: clamp(360px, 52vw, 640px); display: grid; place-items: center; color: var(--white); background: var(--green-night); overflow: hidden; }
.band .slot { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.band .slot img { height: 100%; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,30,18,.15), rgba(0,30,18,.55)); pointer-events: none; }
.band-text {
  position: relative; z-index: 1; text-align: center;
  font-family: var(--latin-sc); font-weight: 500; font-style: italic;
  font-size: clamp(30px, 5.4vw, 72px); line-height: 1.15; letter-spacing: 0.01em;
  padding-inline: var(--gutter);
}

/* venues */
.venue { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.venue + .venue { margin-top: clamp(64px, 9vw, 112px); }
.venue-day { display: flex; align-items: baseline; gap: 14px; }
.venue-day .num { font-size: clamp(44px, 5vw, 64px); line-height: 1; color: var(--green); }
.venue-day span:last-child { font-size: 15px; font-weight: 600; }
.venue-kind { margin-top: 18px; display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--white); background: var(--green); padding: 2px 10px; border-radius: 3px; }
.venue-name { margin-top: 10px; font-size: clamp(24px, 2.6vw, 30px); font-weight: 600; line-height: 1.45; font-feature-settings: "palt"; }
.venue-name small { display: block; font-size: 14px; font-weight: 400; color: var(--ink-soft); letter-spacing: .02em; }
.venue-list { margin-top: 22px; border-top: 1px solid var(--line); }
.venue-list > div { display: grid; grid-template-columns: 7em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.venue-list dt { font-weight: 600; }
.venue-map { margin-top: 20px; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; background: var(--mist); }
.venue-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.venue-links { margin-top: 16px; font-size: 14px; }
.venue-note { margin-top: clamp(48px, 6vw, 72px); padding: 20px 24px; background: var(--white); border-left: 4px solid var(--green); font-size: 15px; }
@media (min-width: 900px) { .venue--flip .venue-media { order: 2; } }
@media (max-width: 899px) { .venue { grid-template-columns: 1fr; } }

/* fees */
.fee-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.fee-block + .fee-block { margin-top: 44px; }
.fee-block h3 { font-size: 20px; font-weight: 600; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.fee-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.fee-row dt { font-weight: 600; }
.fee-row dd { grid-column: 1; font-size: 14px; color: var(--ink-soft); line-height: 1.7; }
.fee-row .price { grid-column: 2; grid-row: 1 / span 2; align-self: center; text-align: right; font-family: var(--latin); font-size: 30px; line-height: 1; color: var(--ink); font-variant-numeric: lining-nums; }
.fee-row .price small { font-family: var(--jp); font-size: 14px; margin-left: 2px; }
.fee-foot { margin-top: 18px; font-size: 14px; color: var(--ink-soft); }
.fee-foot li { list-style: none; padding-left: 1.1em; text-indent: -1.1em; }
.fee-foot li::before { content: "※"; }

/* scorecard calculator */
.scorecard { background: var(--white); border: 2px solid var(--green); border-radius: 6px; overflow: hidden; position: sticky; top: calc(var(--header-h) + 20px); }
.scorecard-head { background: var(--green); color: var(--white); padding: 16px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.scorecard-head h3 { font-size: 17px; font-weight: 600; letter-spacing: .06em; }
.scorecard-head img { width: 92px; }
.sc-body { padding: 22px; }
.sc-field + .sc-field { margin-top: 20px; }
.sc-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.sc-choice { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--green); border-radius: 4px; overflow: hidden; }
.sc-choice label { position: relative; }
.sc-choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.sc-choice span { display: block; text-align: center; padding: 11px 4px; font-size: 14px; font-weight: 600; color: var(--green); cursor: pointer; }
.sc-choice label + label span { border-left: 1px solid var(--green); }
.sc-choice input:checked + span { background: var(--green); color: var(--white); }
.sc-choice input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: -3px; }
.sc-steppers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 20px; }
.stepper { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; border: 1px solid var(--line); border-radius: 4px; }
.stepper button { height: 42px; border: 0; background: none; font-size: 20px; color: var(--green); cursor: pointer; }
.stepper button:disabled { color: #b9c3bd; cursor: default; }
.stepper output { text-align: center; font-family: var(--latin); font-size: 22px; font-variant-numeric: lining-nums; }
.sc-steppers .is-off { opacity: .35; pointer-events: none; }
.sc-table { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 14px; }
.sc-table th, .sc-table td { border: 1px solid var(--line); padding: 9px 10px; text-align: left; }
.sc-table thead th { background: var(--mist); font-weight: 600; font-size: 12px; letter-spacing: .08em; }
.sc-table td.n, .sc-table th.n { text-align: right; font-family: var(--latin); font-size: 16px; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.sc-table thead th.n { font-family: var(--jp); font-size: 12px; }
.sc-table tr.is-zero { color: #a3ada7; }
.sc-table tfoot th, .sc-table tfoot td { border-top: 2px solid var(--green); background: var(--green); color: var(--white); }
.sc-table tfoot td.n { font-size: 26px; }
.sc-note { margin-top: 14px; font-size: 13px; color: var(--ink-soft); line-height: 1.7; }
@media (max-width: 899px) { .fee-grid { grid-template-columns: 1fr; } .scorecard { position: static; } }
@media (max-width: 420px) { .sc-steppers { grid-template-columns: 1fr; } .sc-body { padding: 18px 16px; } .sc-table th, .sc-table td { padding: 8px 6px; } }

/* entry steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; border-top: 2px solid var(--ink); }
.steps li { counter-increment: step; padding: 24px 24px 8px 0; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.steps li::before { content: counter(step); display: block; font-family: var(--latin); font-size: 44px; line-height: 1; color: var(--green); }
.steps h3 { margin-top: 18px; font-size: 18px; font-weight: 600; line-height: 1.5; }
.steps p { margin-top: 8px; font-size: 15px; color: var(--ink-soft); }
.entry-box { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding: clamp(24px, 4vw, 40px); background: var(--mist); border-radius: 6px; }
.entry-box h3 { font-size: 18px; font-weight: 600; }
.entry-fields { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.entry-fields li { font-size: 13px; padding: 3px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
@media (max-width: 899px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .entry-box { grid-template-columns: 1fr; }
}
@media (max-width: 559px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 20px 0; border-left: 0; display: grid; grid-template-columns: 48px 1fr; column-gap: 12px; }
  .steps li + li { border-top: 1px solid var(--line); }
  .steps li::before { grid-row: 1 / span 2; font-size: 36px; }
  .steps h3 { margin-top: 0; }
}

/* rules */
.rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 5vw, 72px); list-style: none; }
.rules li { padding: 20px 0; border-top: 1px solid var(--line); }
.rules h3 { font-size: 16px; font-weight: 600; }
.rules p { margin-top: 4px; font-size: 15px; color: var(--ink-soft); }
@media (max-width: 759px) { .rules { grid-template-columns: 1fr; } }

/* first event (green) */
.first-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.video {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 6px; overflow: hidden;
  background: #000 center / cover no-repeat; cursor: pointer; color: var(--white);
}
.video img { width: 100%; height: 100%; object-fit: cover; }
.video::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.12); transition: background-color .2s; }
.video:hover::after { background: rgba(0,0,0,0); }
.video-play {
  position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; background: var(--yellow);
  display: grid; place-items: center;
}
.video-play::before { content: ""; margin-left: 6px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent var(--green-night); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-caption { margin-top: 12px; font-size: 14px; color: rgba(255,255,255,.75); }
.first-facts { border-top: 1px solid var(--line-light); }
.first-facts > div { display: grid; grid-template-columns: 6em 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-light); font-size: 15px; }
.first-facts dt { font-weight: 600; color: rgba(255,255,255,.75); }
.champions { margin-top: 32px; display: grid; gap: 12px; }
.tag { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 20px; background: var(--green); border: 1px solid rgba(255,255,255,.55); outline: 4px solid var(--green); }
.tag-title { font-size: 12px; font-weight: 600; letter-spacing: .12em; color: rgba(255,255,255,.75); }
.tag-name { font-family: var(--latin); font-style: italic; font-weight: 500; font-size: 26px; line-height: 1.25; letter-spacing: .01em; font-variant-numeric: lining-nums; overflow-wrap: anywhere; }
.tag-name a { text-decoration: none; }
.tag-name a:hover { text-decoration: underline; text-underline-offset: 4px; }
.first-photos { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.first-more { margin-top: 32px; }
@media (max-width: 899px) { .first-grid { grid-template-columns: 1fr; } .first-photos { grid-template-columns: repeat(2, 1fr); } }

/* hosts */
.hosts { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.host { display: grid; grid-template-rows: 1fr auto; align-items: center; justify-items: center; gap: 16px; padding: 32px 20px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; min-height: 200px; transition: background-color .2s; }
.host:hover { background: var(--mist); }
.host img { width: 100%; height: auto; max-width: 168px; max-height: 64px; object-fit: contain; }
.host span { font-size: 13px; color: var(--ink-soft); }
@media (max-width: 899px) { .hosts { grid-template-columns: repeat(2, 1fr); } .host:last-child { grid-column: 1 / -1; } }

/* faq */
.faq { max-width: 860px; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 24px; gap: 16px; align-items: center; padding: 22px 0; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 14px; height: 14px; justify-self: center; background: linear-gradient(currentColor, currentColor) center/14px 2px no-repeat, linear-gradient(currentColor, currentColor) center/2px 14px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--ink-soft); }

/* closing cta */
.closing { background: var(--green); color: var(--white); text-align: center; padding-block: clamp(72px, 10vw, 128px); }
.closing-emblem { width: 96px; margin: 0 auto 28px; }
.closing h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 600; line-height: 1.5; font-feature-settings: "palt"; letter-spacing: .04em; }
.closing p { margin-top: 14px; color: rgba(255,255,255,.8); }
.closing .btn { margin-top: 32px; min-height: 60px; padding-inline: 40px; font-size: 17px; }

/* footer */
.site-footer { background: var(--green-night); color: rgba(255,255,255,.82); padding-block: 56px 32px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 48px; align-items: start; }
.footer-brand { display: flex; gap: 16px; align-items: center; }
.footer-brand img:first-child { width: 64px; }
.footer-brand img:last-child { width: 150px; }
.footer-contact { display: grid; gap: 6px; }
.footer-contact a { color: var(--white); }
.footer-nav { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.copyright { margin-top: 24px; font-size: 12px; opacity: .6; }
@media (max-width: 759px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- photo slots ---------- */
.slot { position: relative; overflow: hidden; border-radius: 6px; background: var(--mist); aspect-ratio: var(--ratio, 3 / 2); }
.slot img { width: 100%; height: 100%; object-fit: cover; }
.slot.is-empty img { display: none; }
.slot.is-empty {
  background:
    url("../assets/emblem.png") center / min(28%, 96px) no-repeat,
    var(--empty-bg, #dfe6e0);
}
.slot.is-empty::after { content: ""; position: absolute; inset: 0; background: var(--empty-tint, rgba(223,230,224,.78)); }
.section-green .slot, .band .slot { --empty-bg: #0b4a33; --empty-tint: rgba(11,74,51,.82); }
.slot-note { display: none; }
.is-draft .slot.is-empty .slot-note {
  display: block; position: absolute; z-index: 1; left: 10px; right: 10px; bottom: 10px;
  font-size: 12px; line-height: 1.5; color: var(--ink); background: rgba(255,255,255,.9); padding: 6px 10px; border-radius: 4px;
}
.is-draft .slot.is-empty .slot-note code { font-size: 11px; color: var(--green); }

/* ---------- archive page ---------- */
.page-hero { background: var(--green); color: var(--white); padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px)); padding-bottom: clamp(48px, 7vw, 88px); }
.page-hero .kicker { font-family: var(--latin); font-style: italic; font-size: 22px; opacity: .85; }
.page-hero h1 { margin-top: 10px; font-size: clamp(32px, 4.6vw, 56px); font-weight: 600; line-height: 1.35; font-feature-settings: "palt"; letter-spacing: .04em; }
.page-hero p { margin-top: 16px; font-size: 16px; opacity: .85; }
.page-hero .slot { margin-top: clamp(36px, 5vw, 56px); --ratio: 21 / 9; }
.local-rules { list-style: none; counter-reset: rule; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 5vw, 72px); }
.local-rules li { counter-increment: rule; display: grid; grid-template-columns: 40px 1fr; gap: 0 12px; padding: 20px 0; border-top: 1px solid var(--line); }
.local-rules li::before { content: counter(rule); grid-row: 1 / span 2; font-family: var(--latin); font-size: 28px; line-height: 1.2; color: var(--green); }
.local-rules h3 { font-size: 16px; font-weight: 600; }
.local-rules p { font-size: 15px; color: var(--ink-soft); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery .slot:nth-child(1) { grid-column: span 2; grid-row: span 2; --ratio: auto; aspect-ratio: auto; }
.ig-posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; align-items: start; }
.ig-posts .instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; }
@media (max-width: 759px) { .local-rules { grid-template-columns: 1fr; } .gallery { grid-template-columns: 1fr 1fr; } }

/* closing photo background */
.closing { position: relative; overflow: hidden; }
.closing > .container { position: relative; z-index: 1; }
.closing-photo { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; --empty-bg: var(--green); --empty-tint: rgba(0,92,58,.94); }
.closing-photo img { height: 100%; }
.closing-photo:not(.is-empty)::after { content: ""; position: absolute; inset: 0; background: rgba(0,50,32,.62); }
.closing-photo .slot-note { z-index: 2; }
.is-draft .closing-photo.is-empty .slot-note { left: auto; right: 16px; bottom: 16px; max-width: 260px; }
.is-draft .band .slot.is-empty .slot-note { left: auto; right: 16px; bottom: 16px; max-width: 260px; }

@media (max-width: 559px) {
  .hero-title { margin-top: 22px; }
  .hero-title img { width: 300px; }
  .hero-lead { margin-top: 24px; }
  .hero-map { max-width: 340px; }
  .map-label { font-size: 12px; }
  .map-label b, .map-label .num { font-size: 13px; }
  .venue-list > div { grid-template-columns: 5.5em 1fr; gap: 10px; }
  .fee-row .price { font-size: 26px; }
}

.gnav .gnav-cta { display: none; }
@media (max-width: 1023px) {
  .gnav .gnav-cta { display: flex; width: 100%; margin-top: 28px; padding: 0 28px; border: 0; border-radius: 4px; font-size: 16px; }
  .gnav .gnav-cta:hover { background: #ffe74f; }
}

/* archive */
.archive-champions { padding: clamp(24px, 3vw, 36px); border-radius: 6px; }
.archive-sub { font-size: 20px; font-weight: 600; letter-spacing: .06em; }
.archive-champions .champions { margin-top: 18px; }
.local-rules li, .steps li { align-content: start; }
.ig-posts { max-width: 540px; }

/* 文章の見直しで足したもの */
.champions-note { margin-top: 14px; font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.75); }
.local-rules li::before { grid-column: 1; grid-row: 1 / span 3; }
.local-rules li > * { grid-column: 2; }
.local-rules p + p { margin-top: 6px; }
.phrase { display: inline-block; }
/* 幅のせまいスマホで主催ロゴの枠がはみ出さないように */
.hosts { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.host { min-width: 0; }
.host span { overflow-wrap: anywhere; text-align: center; }
@media (max-width: 899px) { .hosts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 400px) { .host { padding: 24px 12px 16px; min-height: 160px; } .host span { font-size: 12px; } }
@media (max-width: 400px) { .host { grid-template-rows: 1fr; min-height: 120px; } .host span { display: none; } }

/* キャンプ場からゴルフ場への道案内 */
.drive { margin-top: clamp(64px, 9vw, 112px); }
.drive-body { margin-top: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.drive-map { border-radius: 6px; overflow: hidden; background: var(--green); }
.drive-map img { display: block; width: 100%; height: auto; }
.drive-title { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; line-height: 1.45; }
.drive-time { margin-top: 10px; display: flex; align-items: baseline; gap: 4px; font-size: 16px; font-weight: 600; }
.drive-time .num { font-size: clamp(44px, 5vw, 64px); line-height: 1; color: var(--green); margin: 0 2px; }
.drive-dist { margin-left: 14px; font-size: 15px; color: var(--ink-soft); }
.drive-steps { list-style: none; counter-reset: drive; border-top: 1px solid var(--line); }
.drive-steps li { counter-increment: drive; display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.drive-steps li::before { content: counter(drive); font-family: var(--latin); font-size: 20px; line-height: 1.3; color: var(--green); }
.drive-note { margin-top: 14px; font-size: 13px; color: var(--ink-soft); }
@media (max-width: 899px) { .drive-body { grid-template-columns: 1fr; } }

/* トップの地図に重ねる会場の写真 */
.hero-photos { position: absolute; inset: 0; pointer-events: none; }
.hero-photo { position: absolute; width: 28%; margin: 0; padding: 2.2% 2.2% 0; background: var(--white); border-radius: 3px; box-shadow: 0 14px 30px rgba(0, 22, 14, .38); }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 1px; }
.hero-photo figcaption { display: flex; align-items: baseline; gap: 8px; padding: 7px 2px 9px; font-size: 13px; font-weight: 600; line-height: 1.2; color: var(--green-night); letter-spacing: .04em; }
.hero-photo .num { font-size: 17px; color: var(--green); }
.hero-photo--camp { left: 70%; top: 47%; transform: rotate(4deg); }
.hero-photo--golf { left: 55%; top: 74%; transform: rotate(-3.5deg); }
@media (prefers-reduced-motion: no-preference) {
  .hero-photo { opacity: 0; animation: photo-in .6s cubic-bezier(.2, .9, .3, 1) forwards; }
  .hero-photo--camp { animation-delay: 2.4s; }
  .hero-photo--golf { animation-delay: 2.6s; }
  @keyframes photo-in { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
}
@media (max-width: 599px) {
  .hero-photo { width: 33%; }
  .hero-photo figcaption { gap: 5px; padding: 5px 1px 6px; font-size: 11px; }
  .hero-photo .num { font-size: 13px; }
  .hero-photo--camp { left: 66%; top: 46%; }
  .hero-photo--golf { left: 53%; top: 72%; }
}

/* トップの背景写真（第1回の集合写真に緑を重ねる） */
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 92, 58, 0) 55%, var(--green) 96%),
    linear-gradient(90deg, rgba(0, 92, 58, .93) 0%, rgba(0, 92, 58, .84) 42%, rgba(0, 92, 58, .74) 100%);
}
.hero > .container { position: relative; z-index: 1; }
@media (max-width: 899px) {
  .hero-bg { bottom: auto; height: 108svh; max-height: 980px; }
  .hero-bg img { object-position: 50% 70%; }
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(0, 92, 58, .70) 0%, rgba(0, 92, 58, .82) 45%, var(--green) 92%);
  }
}

/* ノベルティと限定グッズ（写真が入るまでは Coming soon） */
.goods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.goods-item h3 { margin-top: 20px; font-size: clamp(19px, 2vw, 22px); font-weight: 600; }
.goods-item p { margin-top: 6px; font-size: 15px; color: var(--ink-soft); }
.slot--soon { --empty-bg: var(--green); --empty-tint: rgba(0, 92, 58, .9); }
.slot .soon { display: none; }
.slot.is-empty .soon {
  position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; text-align: center;
  font-family: var(--latin); font-style: italic; font-weight: 500; font-size: clamp(34px, 4.4vw, 56px); line-height: 1; color: var(--white);
}
.slot.is-empty .soon small { display: block; margin-top: 12px; font-family: var(--jp); font-style: normal; font-size: 14px; font-weight: 600; letter-spacing: .2em; color: var(--yellow); }
@media (max-width: 759px) { .goods { grid-template-columns: 1fr; } }

/* メニューが7つになったので、パソコンの狭い幅でも1行に収める */
.gnav a { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1199px) {
  .site-header .container { gap: 16px; }
  .gnav ul { gap: 0; }
  .gnav a { padding: 8px 8px; font-size: 13px; }
  .brand-wordmark { width: 100px; }
}
