/* Karuizawa Winter Illumination 2026
   トーン: キービジュアル（紙の地・深い青緑・からし色の光の粒・白いシルエット）に合わせる */

:root {
  --paper: #f0f1ec;
  --paper-2: #e7e9e2;
  --ink: #0e2c30;
  --ink-deep: #052427;
  --green: #285b54;
  --mustard: #e9b126;
  --mustard-soft: rgba(233, 177, 38, 0.45);
  --text: #1c3336;
  --muted: #5d706f;
  --on-ink: #f3f2ea;
  --on-ink-muted: rgba(243, 242, 234, 0.72);
  --line: rgba(14, 44, 48, 0.16);

  --f-en: "Alegreya", "Times New Roman", serif;
  --f-mincho: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-sans: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* 紙の粒子 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  background: url(../img/grain-dark.png);
  opacity: 0.18;
  mix-blend-mode: multiply;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
button { font: inherit; color: inherit; }
small { font-size: 0.8em; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.sp { display: none; }
@media (max-width: 767px) { .sp { display: inline; } .pc { display: none; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 見出し ---------- */
.sec-head .en {
  font-family: var(--f-en);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(20px, 2vw, 24px);
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.02em;
}
.sec-head .en::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--mustard);
  box-shadow: 14px 0 0 var(--mustard-soft), 28px 0 0 rgba(233, 177, 38, 0.2);
  margin-right: 28px;
}
.sec-head .ja {
  font-family: var(--f-mincho);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.55;
  letter-spacing: 0.1em;
  margin-top: 10px;
}
.sec-head.center { text-align: center; }
.sec-head.center .en { justify-content: center; }
.ink .sec-head .en { color: var(--mustard); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px;
  font-weight: 500; font-size: 14px; letter-spacing: 0.12em;
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: var(--on-ink); }
.btn-ink::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mustard); }
.btn-ink:hover { background: var(--green); }
.btn-line { border: 1px solid var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--on-ink); }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  padding-top: env(safe-area-inset-top, 0px);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--gutter);
  transition: background 0.4s, box-shadow 0.4s, transform 0.5s var(--ease), opacity 0.5s;
}
.site-header.in-fv { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.menu-open .site-header.in-fv { transform: none; opacity: 1; pointer-events: auto; }
.site-header.is-scrolled { background: rgba(240, 241, 236, 0.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: baseline; gap: 8px; color: var(--green); }
.brand-main { font-family: var(--f-en); font-style: normal; font-weight: 500; font-size: 22px; letter-spacing: 0.01em; }
.brand-year { font-family: var(--f-en); font-style: normal; font-size: 14px; color: var(--ink); background: var(--mustard); border-radius: 999px; padding: 0 9px; line-height: 1.6; }

.gnav ul { display: flex; gap: clamp(14px, 2vw, 30px); }
.gnav a { display: flex; flex-direction: column; align-items: center; line-height: 1.3; position: relative; padding: 6px 0; }
.gnav .en { font-family: var(--f-en); font-style: normal; font-size: 16px; color: var(--ink); }
.gnav .ja { font-size: 10px; letter-spacing: 0.14em; color: var(--muted); }
.gnav a::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--mustard); transform: scale(0); transition: transform 0.3s var(--ease); }
.gnav a:hover::after, .gnav a.is-current::after { transform: scale(1); }
.menu-btn { display: none; }

@media (max-width: 1023px) {
  .site-header { background: rgba(240, 241, 236, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .brand-main { font-size: 19px; }
  .menu-btn {
    display: grid; place-content: center; gap: 7px;
    width: 48px; height: 48px; border: 0; border-radius: 50%;
    background: var(--ink); cursor: pointer; position: relative; z-index: 2;
  }
  .menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--on-ink); transition: transform 0.35s var(--ease); }
  .menu-open .menu-btn { background: var(--mustard); }
  .menu-open .menu-btn span { background: var(--ink); }
  .menu-open .menu-btn span:first-child { transform: translateY(4.25px) rotate(30deg); }
  .menu-open .menu-btn span:last-child { transform: translateY(-4.25px) rotate(-30deg); }
  .gnav {
    position: fixed; inset: 0; z-index: 1;
    background: var(--ink) url(../img/grain-light.png);
    display: grid; place-items: center;
    padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
    opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
  }
  .menu-open .gnav { opacity: 1; visibility: visible; }
  .menu-open .brand { color: var(--on-ink); position: relative; z-index: 2; }
  .menu-open .site-header { background: transparent; box-shadow: none; }
  .gnav ul { flex-direction: column; gap: 22px; align-items: center; }
  .gnav a { flex-direction: row; gap: 14px; align-items: baseline; }
  .gnav .en { font-size: 30px; color: var(--on-ink); }
  .gnav .ja { font-size: 12px; color: var(--mustard); }
  .gnav a::after { display: none; }
}
body.menu-open { overflow: hidden; }

/* ---------- FV ---------- */
.fv { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 40px var(--gutter) 88px; }
.fv-inner { width: 100%; max-width: 1320px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.fv-visual { position: relative; justify-self: center; width: min(100%, 720px, calc((100svh - 128px) * 1030 / 1217)); }
.fv-poster img { width: 100%; filter: drop-shadow(0 30px 40px rgba(14, 44, 48, 0.18)); }
.fv-sparkles { position: absolute; inset: -6% -10%; pointer-events: none; }
.fv-sparkles i { position: absolute; width: var(--s, 8px); height: var(--s, 8px); border-radius: 50%; background: var(--mustard); opacity: 0; animation: twinkle var(--d, 4s) ease-in-out var(--delay, 0s) infinite; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(0.4); } 50% { opacity: 0.95; transform: scale(1); } }

.fv-copy { color: var(--green); }
.fv-date { display: inline-flex; align-items: center; gap: 18px; font-family: var(--f-en); font-style: normal; font-weight: 500; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.2; color: var(--on-ink); background: var(--ink) url(../img/grain-light.png); -webkit-mask: url(../img/fv-date-plate.svg) 0 0 / 100% 100% no-repeat; mask: url(../img/fv-date-plate.svg) 0 0 / 100% 100% no-repeat; padding: 18px 36px; }
.fv-date small { font-size: 0.62em; color: var(--mustard); margin-left: 2px; }
.fv-date i { width: 32px; height: 1px; background: var(--on-ink); position: relative; flex-shrink: 0; }
.fv-date i::after { content: ""; position: absolute; right: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--mustard); }
.fv-title { font-family: var(--f-en); font-style: normal; font-weight: 400; line-height: 1.02; letter-spacing: -0.005em; margin-top: 28px; font-size: clamp(44px, 6vw, 88px); }
.fv-title .line { display: block; }
.fv-title .line + .line { padding-left: 0.7em; }
.fv-ja { font-family: var(--f-mincho); font-weight: 700; font-size: clamp(16px, 1.6vw, 20px); letter-spacing: 0.3em; color: var(--ink); margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.fv-ja::before { content: ""; width: 40px; height: 1px; background: var(--mustard); }
.fv-catch { font-family: var(--f-mincho); font-size: clamp(14px, 1.3vw, 16px); line-height: 2.2; color: var(--text); margin-top: 18px; letter-spacing: 0.12em; }
.fv-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.fv-copy .reveal:nth-child(2) { transition-delay: 0.1s; }
.fv-copy .reveal:nth-child(3) { transition-delay: 0.2s; }
.fv-copy .reveal:nth-child(4) { transition-delay: 0.3s; }
.fv-copy .reveal:nth-child(5) { transition-delay: 0.4s; }

.fv-scroll { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--f-en); font-style: normal; font-size: 14px; color: var(--green); }
.fv-scroll::after { content: ""; width: 1px; height: 40px; background: linear-gradient(var(--green) 50%, transparent 0) 0 0 / 1px 200% no-repeat; animation: scrollLine 2.2s ease-in-out infinite; }
@keyframes scrollLine { 0% { background-position: 0 100%; } 100% { background-position: 0 -100%; } }

@media (max-width: 767px) {
  .fv { min-height: auto; padding-top: 24px; padding-bottom: 72px; }
  .fv-inner { grid-template-columns: 1fr; gap: 28px; }
  .fv-visual { width: min(100%, 560px); }
  .fv-copy { text-align: center; }
  .fv-date { justify-content: center; }
  .fv-title { margin-top: 20px; }
  .fv-title .line + .line { padding-left: 0; }
  .fv-ja { justify-content: center; }
  .fv-ja::after { content: ""; width: 40px; height: 1px; background: var(--mustard); }
  .fv-actions { justify-content: center; }
  .fv-scroll { display: none; }
}

/* ---------- News ---------- */
.news { padding: 0 var(--gutter) 56px; }
.news-inner { max-width: 760px; margin-inline: auto; display: flex; align-items: center; gap: 22px; padding: 14px 26px; border-radius: 999px; background: var(--paper-2); }
.news-label { font-family: var(--f-en); font-style: normal; font-size: 18px; color: var(--ink); background: var(--mustard); border-radius: 999px; padding: 0 14px; line-height: 1.7; flex-shrink: 0; }
.news li { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; }
.news time { font-family: var(--f-en); font-style: normal; color: var(--green); }
@media (max-width: 767px) {
  .news-inner { border-radius: 20px; align-items: flex-start; flex-direction: column; gap: 8px; padding: 16px 20px; }
  .news li { gap: 4px 14px; }
}

/* ---------- 深緑のセクション（波形の上下端） ---------- */
.ink { position: relative; background: var(--ink) url(../img/grain-light.png); color: var(--on-ink); margin-block: 48px; }
.ink::before, .ink::after { content: ""; position: absolute; left: 0; right: 0; height: 40px; background: var(--ink) url(../img/grain-light.png) 0 39px; -webkit-mask: url(../img/edge.svg) center / max(100%, 1100px) 100% no-repeat; mask: url(../img/edge.svg) center / max(100%, 1100px) 100% no-repeat; pointer-events: none; }
.ink::before { bottom: calc(100% - 1px); }
.ink::after { top: calc(100% - 1px); transform: scaleY(-1) scaleX(-1); }

/* About */
.about { padding: clamp(96px, 12vw, 150px) 0 clamp(80px, 10vw, 120px); }
.garland { position: absolute; top: 0; left: 0; width: 100%; height: 120px; overflow: visible; }
.garland path { fill: none; stroke: var(--mustard); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 0 26; vector-effect: non-scaling-stroke; animation: garland 3s ease-in-out infinite alternate; }
@keyframes garland { from { opacity: 0.55; } to { opacity: 1; } }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-body p { font-family: var(--f-mincho); font-size: clamp(15px, 1.4vw, 17px); line-height: 2.3; letter-spacing: 0.1em; color: var(--on-ink); }
.about-body p + p { margin-top: 1.4em; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(48px, 7vw, 80px); }
.facts li { display: flex; flex-direction: column; gap: 6px; padding: 22px 26px; border-radius: 18px; border: 1px solid rgba(243, 242, 234, 0.18); background: rgba(5, 36, 39, 0.5); }
.facts li:nth-child(2) { transition-delay: 0.1s; }
.facts li:nth-child(3) { transition-delay: 0.2s; }
.facts .k { font-size: 12px; letter-spacing: 0.3em; color: var(--mustard); }
.facts .v { font-family: var(--f-mincho); font-weight: 700; font-size: clamp(17px, 1.7vw, 21px); letter-spacing: 0.06em; }
.facts .v small { font-weight: 500; color: var(--on-ink-muted); }
@media (max-width: 767px) {
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .facts { grid-template-columns: 1fr; gap: 10px; }
  .facts li { flex-direction: row; justify-content: space-between; align-items: baseline; padding: 16px 20px; }
}

/* ---------- Highlights ---------- */
.highlights { padding: clamp(96px, 11vw, 140px) 0 clamp(64px, 8vw, 100px); }
.hl-list { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-inline: auto; gap: clamp(28px, 4vw, 56px); margin-top: clamp(40px, 6vw, 72px); counter-reset: hl; }
.hl-list li { text-align: center; }
.hl-list li:nth-child(2) { transition-delay: 0.12s; }
.hl-fig { width: min(100%, 300px); margin-inline: auto; transition: transform 0.6s var(--ease); }
.hl-list li:hover .hl-fig { transform: rotate(-3deg) scale(1.03); }
.hl-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--mustard); color: var(--ink); font-family: var(--f-en); font-style: normal; font-size: 17px; margin-top: 22px; }
.hl-list h3 { font-family: var(--f-mincho); font-weight: 700; font-size: clamp(19px, 1.8vw, 22px); line-height: 1.6; letter-spacing: 0.1em; margin-top: 14px; color: var(--ink); }
.hl-list h3 + p { font-size: 14px; line-height: 2; color: var(--muted); margin: 12px auto 0; max-width: 300px; text-align: center; }
@media (max-width: 767px) {
  .hl-list { grid-template-columns: 1fr; gap: 56px; }
  .hl-fig { width: min(72%, 260px); }
}

/* ---------- Information ---------- */
.information { padding: clamp(96px, 11vw, 140px) 0; }
.info-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: clamp(32px, 5vw, 72px); }
.info-table > div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 20px 0; background: radial-gradient(circle, var(--mustard-soft) 1.4px, transparent 1.6px) 0 100% / 10px 4px repeat-x; }
.info-table > div:first-child { padding-top: 0; }
.info-table dt { font-size: 13px; letter-spacing: 0.24em; color: var(--mustard); padding-top: 3px; }
.info-table dd { font-size: 15px; line-height: 1.9; }
.info-table dd small { display: block; color: var(--on-ink-muted); margin-top: 4px; }
.information .note { margin-top: 20px; font-size: 12px; color: var(--on-ink-muted); }
@media (max-width: 767px) {
  .info-grid { grid-template-columns: 1fr; }
  .info-table > div { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .info-table dd { font-size: 14px; }
}

/* ---------- Access ---------- */
.access { padding: clamp(110px, 12vw, 160px) 0 clamp(64px, 8vw, 100px); }
.access-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: clamp(40px, 5vw, 64px); }
.map { aspect-ratio: 4 / 3; -webkit-mask: url(../img/blob2.svg) center / 100% 100% no-repeat; mask: url(../img/blob2.svg) center / 100% 100% no-repeat; background: var(--paper-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.85) sepia(0.15) contrast(1.02); }
.routes { display: grid; gap: 22px; }
.routes li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; }
.routes .tag { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--on-ink); font-size: 12px; letter-spacing: 0.1em; }
.routes p { font-size: 14px; line-height: 1.9; padding-top: 6px; }
.routes small { display: block; color: var(--muted); margin-top: 4px; }
.routes small a { text-decoration: underline; text-underline-offset: 3px; }
.venue { margin-top: clamp(48px, 6vw, 72px); text-align: center; }
.venue + .access-grid { margin-top: clamp(24px, 3vw, 36px); }
.venue-no { font-family: var(--f-en); font-style: normal; font-size: 15px; color: var(--mustard); letter-spacing: 0.06em; }
.venue h3 { font-family: var(--f-mincho); font-weight: 700; font-size: clamp(20px, 2.4vw, 26px); letter-spacing: 0.12em; color: var(--ink); margin-top: 4px; }
.venue h3 small { display: block; font-size: 13px; font-weight: 400; letter-spacing: 0.15em; color: var(--muted); margin-top: 6px; }
@media (max-width: 767px) {
  .access-grid { grid-template-columns: 1fr; }
  .routes li { grid-template-columns: 48px 1fr; gap: 14px; }
  .routes .tag { width: 48px; height: 48px; font-size: 11px; }
  .routes p { padding-top: 2px; }
}

/* ---------- Sponsors ---------- */
.sec-head .sponsor-ja { font-size: 16px; letter-spacing: 0.3em; }
.sponsors { padding: clamp(64px, 8vw, 100px) 0 clamp(80px, 10vw, 120px); }
.tier { margin-top: clamp(56px, 7vw, 88px); text-align: center; }
.tier h3 { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: clamp(28px, 4vw, 44px); }
.tier h3 .en { font-family: var(--f-en); font-weight: 400; font-size: clamp(20px, 2.2vw, 26px); letter-spacing: 0.14em; color: var(--mustard); }
.tier h3 .ja { font-family: var(--f-mincho); font-weight: 400; font-size: 12px; letter-spacing: 0.3em; color: var(--muted); }
.logos { --h: 90px; --w: 320px; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(36px, 5vw, 56px) clamp(32px, 6vw, 80px); }
.logos > li { display: flex; flex-direction: column; align-items: center; gap: 14px; width: var(--w); max-width: 100%; }
.logos .mark { display: flex; align-items: center; justify-content: center; width: 100%; height: var(--h); }
.logos .mark img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.logos .co { font-size: 13px; letter-spacing: 0.08em; color: var(--ink); }
.logos .txt span { font-family: var(--f-mincho); font-weight: 700; font-size: 20px; line-height: 1.6; letter-spacing: 0.12em; color: var(--ink); }
.logos .group { width: 100%; }
.logos .marks { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px clamp(32px, 5vw, 64px); width: 100%; }
.logos .marks .mark { width: 280px; max-width: 100%; }
.t-platinum { --h: 110px; }
.t-special { --h: 120px; --w: 460px; }
.t-gold { --h: 110px; --w: 340px; }
.t-gold .txt span { font-size: 26px; letter-spacing: 0.2em; }
.t-silver { --h: 100px; --w: 320px; }
.t-bronze { --h: 64px; --w: 220px; column-gap: 40px; }
.t-bronze .txt span { font-size: 16px; }
.supporters { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px; max-width: 900px; margin-inline: auto; }
.supporters li { font-family: var(--f-mincho); font-weight: 700; font-size: 15px; letter-spacing: 0.08em; color: var(--ink); }
.credits { max-width: 640px; margin: clamp(48px, 6vw, 64px) auto 0; border-top: 1px solid var(--line); }
.credits > div { display: grid; grid-template-columns: 5em 1fr; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.8; }
.credits dt { font-family: var(--f-mincho); font-weight: 700; letter-spacing: 0.2em; color: var(--ink); }
.credits .sub { display: block; font-size: 13px; color: var(--muted); }
.recruit { max-width: 720px; margin: clamp(56px, 7vw, 80px) auto 0; padding: 32px clamp(24px, 4vw, 48px); text-align: center; background: var(--paper-2); border-radius: 28px; }
.recruit .t { font-family: var(--f-mincho); font-weight: 700; font-size: 18px; letter-spacing: 0.1em; color: var(--ink); }
.recruit p:not(.t) { font-size: 14px; color: var(--muted); margin-top: 10px; }
@media (max-width: 767px) {
  /* スマホ：全ランクのロゴを同じ大きさで1列に並べる */
  .logos, .logos.t-platinum, .logos.t-special, .logos.t-gold, .logos.t-silver, .logos.t-bronze { --h: 72px; --w: 260px; gap: 40px; flex-direction: column; align-items: center; }
  .logos .marks { flex-direction: column; align-items: center; gap: 40px; }
  .logos .marks .mark { width: var(--w); }
  .logos .txt span, .t-gold .txt span, .t-bronze .txt span { font-size: 18px; letter-spacing: 0.12em; }
  .logos .co { font-size: 12px; letter-spacing: 0.04em; }
  .supporters { flex-direction: column; align-items: center; gap: 14px; }
  .supporters li { font-size: 15px; }
  .recruit p:not(.t) { text-align: left; }
}

/* ---------- Footer ---------- */
.site-footer { margin-top: 24px; }
.footer-band img { width: 100%; min-width: 900px; margin-left: 50%; transform: translateX(-50%); margin-bottom: -2px; }
.footer-band { overflow: hidden; }
.footer-body { position: relative; background: var(--ink-deep); color: var(--on-ink); padding: 48px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px)); text-align: center; }
.to-top { position: absolute; right: var(--gutter); top: -28px; width: 56px; height: 56px; border-radius: 50%; background: var(--mustard); display: grid; place-items: center; transition: transform 0.3s var(--ease); }
.to-top::before { content: ""; width: 10px; height: 10px; border-top: 1.5px solid var(--ink); border-left: 1.5px solid var(--ink); transform: translateY(2px) rotate(45deg); }
.to-top:hover { transform: translateY(-4px); }
.footer-brand { font-family: var(--f-en); font-style: normal; font-size: clamp(26px, 3vw, 34px); }
.footer-brand span { color: var(--mustard); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-top: 18px; font-family: var(--f-en); font-style: normal; font-size: 16px; }
.footer-nav a:hover { color: var(--mustard); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(243, 242, 234, 0.14); font-size: 12px; color: var(--on-ink-muted); }
.footer-bottom a:hover { color: var(--on-ink); }

/* ---------- サイト利用について ---------- */
.policy { padding: calc(var(--header-h) + 64px) 0 clamp(80px, 10vw, 120px); }
.policy .wrap { max-width: 880px; }
.policy-lead { margin-top: 32px; font-size: 14px; line-height: 2.1; }
.policy-block { margin-top: 44px; padding-top: 28px; background: radial-gradient(circle, var(--mustard-soft) 1.4px, transparent 1.6px) 0 0 / 10px 4px repeat-x; }
.policy-block h2 { font-family: var(--f-mincho); font-weight: 700; font-size: 19px; letter-spacing: 0.1em; color: var(--ink); }
.policy-block h3 { font-size: 14px; font-weight: 700; margin-top: 18px; color: var(--green); }
.policy-block p { font-size: 14px; line-height: 2.1; margin-top: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .fv-sparkles i, .garland path, .fv-scroll::after { animation: none; }
  .fv-sparkles i { opacity: 0.8; }
}
.policy-lead + .policy-lead { margin-top: 12px; }
.about .sec-head .ja { font-size: clamp(24px, 2.8vw, 36px); white-space: nowrap; }
@media (max-width: 380px) { .about .sec-head .ja { white-space: normal; } }
@media (max-width: 767px) {
  .fv-ja { letter-spacing: 0.2em; gap: 10px; font-size: 15px; }
  .fv-ja::before, .fv-ja::after { width: 22px; }
}
/* backdrop-filter があると固定配置のメニューがヘッダー内に閉じ込められるため、開いている間は外す */
body.menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; box-shadow: none; }
.fv-title .year { display: inline-block; vertical-align: 0.9em; font-size: 0.26em; font-style: normal; color: var(--ink); background: var(--mustard); border-radius: 999px; padding: 0.05em 0.6em; letter-spacing: 0.04em; line-height: 1.5; }
.fv-ja { letter-spacing: 0.18em; }
@media (max-width: 1180px) and (min-width: 1024px) {
  .brand-main { font-size: 19px; }
  .gnav ul { gap: 16px; }
  .gnav .en { font-size: 15px; }
}
@media (max-width: 767px) {
  .fv-ja { letter-spacing: 0.08em; font-size: 14px; }
  .brand-main { font-size: 16px; }
  .brand-year { font-size: 12px; padding: 0 7px; }
}
@media (max-width: 767px) {
  .fv-ja::before, .fv-ja::after { display: none; }
  .fv-ja { letter-spacing: 0.1em; }
}

/* FV: カーソルを追う光 (assets/js/main.js) */
.fv-glow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.fv-inner, .fv-scroll { z-index: 1; }
.fv-inner { position: relative; }

/* サイト全体の光の粒 (assets/js/main.js)。セクションの背景より上、文字より下に敷く */
.has-sparkles { position: relative; isolation: isolate; }
.sparkles { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sparkles i { position: absolute; width: var(--s, 6px); height: var(--s, 6px); border-radius: 50%; background: var(--mustard); opacity: 0; animation: twinkle var(--d, 4s) ease-in-out var(--delay, 0s) infinite; }
@media (prefers-reduced-motion: reduce) {
  .sparkles i { animation: none; opacity: 0.7; }
}

/* About: 点灯式の動画リンク */
.about-link a { display: inline-flex; align-items: center; gap: 10px; color: var(--mustard); border-bottom: 1px solid currentColor; padding-bottom: 2px; font-size: 14px; }
.about-link a::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor; }
.news li a { color: var(--green); border-bottom: 1px solid var(--mustard); }

/* 協力: リンクのない名前 */

/* ---------- Market（出店募集） ---------- */
.market { padding: clamp(80px, 10vw, 128px) 0 clamp(40px, 6vw, 64px); }
.market-lead { text-align: center; font-size: 15px; line-height: 2.1; margin-top: 24px; }
.market-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 820px; margin: clamp(36px, 5vw, 56px) auto 0; }
.market-card { background: var(--paper-2); border-radius: 28px; padding: 28px clamp(22px, 3vw, 36px); }
.market-card:nth-child(2) { transition-delay: 0.1s; }
.market-card .k { font-family: var(--f-mincho); font-weight: 700; font-size: 18px; letter-spacing: 0.1em; color: var(--ink); }
.market-card .v { font-family: var(--f-en); font-style: normal; font-size: clamp(34px, 3.6vw, 44px); color: var(--green); line-height: 1.2; margin-top: 8px; }
.market-card .v small { font-family: var(--f-sans); font-style: normal; font-size: 14px; color: var(--muted); margin-left: 6px; }
.market-card ul { margin-top: 14px; display: grid; gap: 6px; }
.market-card li { font-size: 14px; line-height: 1.8; padding-left: 16px; position: relative; }
.market-card li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 6px; height: 6px; border-radius: 50%; background: var(--mustard); }
.market-table { max-width: 820px; margin: clamp(36px, 5vw, 56px) auto 0; border-top: 1px solid var(--line); }
.market-table > div { display: grid; grid-template-columns: 8em 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.market-table dt { font-size: 13px; letter-spacing: 0.2em; color: var(--green); font-weight: 700; padding-top: 2px; }
.market-table dd { font-size: 14px; line-height: 1.9; }
.market-table dd small { display: block; color: var(--muted); margin-top: 4px; font-size: 12px; }
.market-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(32px, 4vw, 44px); }
@media (max-width: 767px) {
  .market-lead { text-align: left; font-size: 14px; }
  .market-grid { grid-template-columns: 1fr; }
  .market-table > div { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
}

/* ---------- お知らせ（一覧・記事） ---------- */
.news-inner ul { flex: 1; min-width: 0; }
.news-more { flex-shrink: 0; font-size: 12px; letter-spacing: 0.12em; color: var(--green); border-bottom: 1px solid var(--mustard); }
.article-page { padding: calc(var(--header-h) + 64px) 0 clamp(80px, 10vw, 120px); }
.article-page .wrap { max-width: 880px; }
.news-list { margin-top: 40px; }
.news-list li { background: radial-gradient(circle, var(--mustard-soft) 1.4px, transparent 1.6px) 0 100% / 10px 4px repeat-x; }
.news-list a { display: flex; gap: 24px; padding: 22px 4px; font-size: 15px; transition: color 0.3s; }
.news-list a:hover { color: var(--green); }
.news-list time, .article-head time { font-family: var(--f-en); font-style: normal; color: var(--green); flex-shrink: 0; }
.article-cat { font-family: var(--f-en); font-style: normal; font-size: 15px; color: var(--ink); background: var(--mustard); border-radius: 999px; padding: 0 14px; line-height: 1.7; display: inline-block; margin-right: 14px; }
.article-head { padding-bottom: 28px; background: radial-gradient(circle, var(--mustard-soft) 1.4px, transparent 1.6px) 0 100% / 10px 4px repeat-x; }
.article-head h1 { font-family: var(--f-mincho); font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: 0.08em; line-height: 1.6; color: var(--ink); margin-top: 16px; }
.article-body { padding-top: 32px; }
.article-body p { font-size: 15px; line-height: 2.1; }
.article-body p + p, .article-body dl + p, .article-body p + dl { margin-top: 20px; }
.article-info { background: var(--paper-2); border-radius: 16px; padding: 8px 28px; }
.article-info > div { display: grid; grid-template-columns: 11em 1fr; gap: 16px; padding: 16px 0; font-size: 14px; line-height: 1.9; }
.article-info > div + div { border-top: 1px solid var(--line); }
.article-info dt { color: var(--green); font-weight: 500; }
.article-foot { margin-top: 56px; text-align: center; }
@media (max-width: 767px) {
  .news-more { align-self: flex-end; }
  .news-list a { flex-direction: column; gap: 4px; padding: 18px 2px; font-size: 14px; }
  .article-body p { font-size: 14px; }
  .article-info { padding: 4px 20px; }
  .article-info > div { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 767px) {
  .fv-date { font-size: clamp(17px, 5vw, 22px); gap: 10px; padding: 14px 24px; }
  .fv-date i { width: 18px; }
}

/* イタリック体は使わない */
em, i, cite, var, address, dfn { font-style: normal; }

/* 協賛ロゴ: どのロゴも同じくらいの大きさに見えるよう、面積をそろえる
   横幅 = 基準値(--k) × √(横÷縦)。--f は index.html の各 img に書いた √(横÷縦) */
.logos { --k: 104px; }
.logos > li { justify-content: flex-end; }
.logos .mark { height: auto; min-height: var(--h); }
.logos .mark img { width: calc(var(--k) * var(--f, 2)); max-width: 100%; max-height: none; }
@media (max-width: 767px) {
  .logos, .logos.t-platinum, .logos.t-special, .logos.t-gold, .logos.t-silver, .logos.t-bronze { --k: 92px; }
}

/* FV タイトル: Karuizawa / Winter Illumination / 2026 の3行、すべて同じ書体・同じ大きさ */
.fv-title { font-size: clamp(36px, 4.4vw, 66px); line-height: 1.12; }
.fv-title .line { white-space: nowrap; }
.fv-title .line + .line { padding-left: 0; }
@media (max-width: 767px) {
  .fv-title { font-size: min(9.4vw, 44px); }
}

/* スマホで画面が左右に動かないよう、はみ出しを切る（iOS Safari は body だけでは効かない） */
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}
.fv, .ink, .site-footer { overflow-x: clip; }

/* 文字だけの協賛者を大きく */
.supporters { max-width: 1040px; gap: 18px 40px; }
.supporters li { font-size: 18px; }
.t-bronze .txt span { font-size: 19px; }
@media (max-width: 767px) {
  .supporters { gap: 16px; }
  .supporters li { font-size: 17px; }
  .logos .txt span, .t-gold .txt span, .t-bronze .txt span { font-size: 20px; }
}

/* 文字だけの協賛者をさらに大きく（2026-11-18） */
.supporters { gap: 22px 48px; }
.supporters li { font-size: 22px; }
.logos .txt span { font-size: 24px; }
.t-gold .txt span { font-size: 30px; }
.t-bronze .txt span { font-size: 22px; }
@media (max-width: 767px) {
  .supporters { gap: 18px; }
  .supporters li { font-size: 20px; letter-spacing: 0.04em; text-align: center; }
  .logos .txt span, .t-gold .txt span, .t-bronze .txt span { font-size: 23px; letter-spacing: 0.08em; }
}

/* ---------- FV: パーツに分けたポスターのアニメーション ----------
   assets/img/poster/ の bg（背景の板）に、木・草花・鹿・人・鳥・リス・星・灯りを重ねて元の絵を組み直す。
   登場は opacity と translate、ずっと続く揺れは transform で動かす（別のプロパティなので重ならない） */
.poster-stage { position: relative; aspect-ratio: 1030 / 1217; width: 100%; }
.poster-stage img { position: absolute; display: block; max-width: none; height: auto; filter: none; }
.poster-stage .pp-bg { inset: 0; width: 100%; filter: drop-shadow(0 30px 40px rgba(14, 44, 48, 0.18)); }
.pp { transform-origin: 50% 100%; will-change: transform; }
.pp-lights { position: absolute; inset: 0; pointer-events: none; }
.pp-lights i { position: absolute; width: var(--d); aspect-ratio: 1; border-radius: 50%; background: var(--c); transform: translate(-50%, -50%); animation: pp-light var(--t) ease-in-out var(--w) infinite; }

/* 登場（読み込み中は隠し、読み込み後に順番に浮かび上がる） */
.poster-stage.is-loading .pp, .poster-stage.is-loading .pp-lights { opacity: 0; }
.poster-stage.is-ready .pp, .poster-stage.is-ready .pp-lights { animation-name: pp-in, var(--loop, none); animation-duration: 1.1s, var(--loop-d, 6s); animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1), ease-in-out; animation-delay: calc(var(--i, 0) * 0.35s + 0.1s), var(--loop-w, 0s); animation-iteration-count: 1, infinite; animation-fill-mode: both, none; }
.poster-stage.is-ready .pp-lights { --i: 4.4; }
@keyframes pp-in { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }

/* ずっと続く静かな動き */
.pp-tree { --loop: pp-sway-s; --loop-d: 8s; }
.pp-flower { --loop: pp-sway; --loop-d: 4.2s; }
.pp-deer { --loop: pp-deer; --loop-d: 5.5s; }
.pp-walker { --loop: pp-walk; --loop-d: 1.3s; }
.pp-squirrel, .pp-bird { --loop: pp-hop; --loop-d: 4.8s; }
.pp-stars { --loop: pp-twinkle; --loop-d: 3.6s; }
.pp[data-part="tree-2"] { --loop-w: -3s; }
.pp[data-part="tree-3"] { --loop-w: -5s; }
.pp[data-part="tree-4"] { --loop-w: -1.5s; }
.pp[data-part="walker-2"] { --loop-d: 1.45s; --loop-w: -0.4s; }
.pp[data-part="walker-3"] { --loop-d: 1.2s; --loop-w: -0.8s; }
.pp[data-part="walker-4"] { --loop-d: 1.55s; --loop-w: -0.2s; }
.pp[data-part="bird-1"] { --loop-d: 5.6s; --loop-w: -2s; }
.pp[data-part="bird-2"] { --loop-d: 6.4s; --loop-w: -3.7s; }
.pp[data-part="stars-b"] { --loop-w: -1.2s; --loop-d: 4.1s; }
.pp[data-part="stars-c"] { --loop-w: -2.5s; --loop-d: 3.2s; }
.pp-flower:nth-of-type(2n) { --loop-d: 5s; --loop-w: -1.7s; }
.pp-flower:nth-of-type(3n) { --loop-d: 3.6s; --loop-w: -2.9s; }

@keyframes pp-sway-s { 0%, 100% { transform: rotate(-0.4deg); } 50% { transform: rotate(0.4deg); } }
@keyframes pp-sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes pp-deer { 0%, 100% { transform: rotate(0deg); } 30% { transform: rotate(-1deg); } 60% { transform: rotate(0.6deg); } }
@keyframes pp-walk { 0%, 50%, 100% { transform: translateY(0) rotate(-1deg); } 25%, 75% { transform: translateY(-0.6%) rotate(1deg); } }
@keyframes pp-hop { 0%, 70%, 100% { transform: translateY(0); } 76% { transform: translateY(-12%); } 82% { transform: translateY(0); } 87% { transform: translateY(-6%); } 92% { transform: translateY(0); } }
@keyframes pp-twinkle { 0%, 100% { filter: opacity(1); } 50% { filter: opacity(0.35); } }
@keyframes pp-light { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.poster-stage.is-paused *, .poster-stage.is-paused { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .poster-stage .pp, .poster-stage .pp-lights, .pp-lights i { animation: none !important; opacity: 1 !important; translate: none; transform: none; }
  .pp-lights i { transform: translate(-50%, -50%) !important; }
}

/* 協賛: 文字だけの協賛者は、隣のロゴの高さの中央にそろえる（社名の行のぶん下を空ける） */
.logos > li:has(> .txt) { justify-content: center; padding-bottom: 38px; }
.logos .txt { min-height: 0; }
.logos .txt span { display: block; text-align: center; }
@media (max-width: 767px) {
  .logos > li:has(> .txt) { padding-bottom: 0; }
}

/* 灯りは1粒ずつ、スケールアップで少しずつ灯る（--a は main.js で粒ごとに設定） */
.poster-stage.is-loading .pp-lights { opacity: 1; }
.poster-stage.is-loading .pp-lights i { scale: 0; }
.poster-stage.is-ready .pp-lights { animation: none; opacity: 1; }
.poster-stage.is-ready .pp-lights i { animation: pp-pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) var(--a, 1.6s) both, pp-light var(--t) ease-in-out var(--w) infinite; }
@keyframes pp-pop { from { scale: 0; } to { scale: 1; } }

/* 木は根元からスケールアップ、人は左右からスケールアップで登場。人の歩く揺れはゆっくり */
@keyframes pp-in-grow { from { opacity: 0; scale: 0.15; } to { opacity: 1; scale: 1; } }
@keyframes pp-in-side { from { opacity: 0; scale: 0.6; translate: var(--from, -40px) 0; } to { opacity: 1; scale: 1; translate: 0 0; } }
.poster-stage.is-ready .pp-tree { animation-name: pp-in-grow, var(--loop, none); animation-duration: 1.4s, var(--loop-d, 6s); }
.poster-stage.is-ready .pp-walker { animation-name: pp-in-side, var(--loop, none); animation-duration: 1.6s, var(--loop-d, 6s); }
.pp[data-part="walker-1"] { --from: -60px; }
.pp[data-part="walker-2"] { --from: 60px; }
.pp[data-part="walker-3"] { --from: 60px; }
.pp[data-part="walker-4"] { --from: -60px; }
.pp-walker { --loop-d: 2.8s; }
.pp[data-part="walker-2"] { --loop-d: 3.1s; }
.pp[data-part="walker-3"] { --loop-d: 2.6s; }
.pp[data-part="walker-4"] { --loop-d: 3.3s; }
@keyframes pp-walk { 0%, 50%, 100% { transform: translateY(0) rotate(-0.8deg); } 25%, 75% { transform: translateY(-0.5%) rotate(0.8deg); } }

/* 鳥・リス: 枝から離れないよう、跳ねずに足元を軸に首をかしげる */
@keyframes pp-hop { 0%, 60%, 100% { transform: rotate(0deg); } 66% { transform: rotate(-6deg); } 74% { transform: rotate(-6deg); } 80% { transform: rotate(3deg); } 86% { transform: rotate(0deg); } }
.pp[data-part="bird-1"] { transform-origin: 45% 95%; }
.pp[data-part="bird-2"] { transform-origin: 60% 95%; }
.pp[data-part="squirrel"] { transform-origin: 50% 100%; }

/* ==========================================================
   サイト全体のダイナミックなアニメーション（2026-11-18）
   main.js が html に .fx を付けたときだけ有効。動きを減らす設定では付けない
   ========================================================== */

/* 上部のスクロール進捗バー */
.fx-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; background: var(--mustard); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }

/* 見出し: 1文字ずつぼかしから浮かび上がる */
.fx .sec-head .ja .ch { display: inline-block; opacity: 0; filter: blur(8px); transform: translateY(0.6em) rotate(8deg); transition: opacity 0.7s var(--ease), filter 0.7s var(--ease), transform 0.9s cubic-bezier(0.22, 1.4, 0.36, 1); transition-delay: calc(var(--n) * 45ms + 0.15s); }
.fx .sec-head.is-in .ja .ch { opacity: 1; filter: none; transform: none; }
.fx .sec-head .en { clip-path: inset(0 100% 0 0); transition: clip-path 0.9s var(--ease) 0.05s; }
.fx .sec-head.is-in .en { clip-path: inset(0 0 0 0); }

/* 見どころの絵: 下から幕が開き、少し寄った絵が引いていく */
.fx .hl-fig { clip-path: inset(100% 0 0 0 round 24px); transition: clip-path 1.2s cubic-bezier(0.7, 0, 0.2, 1); }
.fx .hl-fig img { transform: scale(1.25); transition: transform 1.6s var(--ease); }
.fx .is-in .hl-fig { clip-path: inset(0 0 0 0 round 24px); }
.fx .is-in .hl-fig img { transform: scale(1); }
.fx .hl-list li:nth-child(2) { transition-delay: 0.15s; }
.fx .hl-list li:nth-child(2) .hl-fig { transition-delay: 0.2s; }
.fx .hl-num { transform: scale(0.3) rotate(-20deg); opacity: 0; transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s, opacity 0.5s ease 0.6s; }
.fx .is-in .hl-num { transform: none; opacity: 1; }

/* 開催概要・クレジットの行: 左から順に滑り込む */
.fx .info-table > div, .fx .credits > div { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--n, 0) * 90ms + 0.1s); }
.fx .is-in .info-table > div, .fx .credits.is-in > div { opacity: 1; transform: none; }

/* アクセスの地図: 斜めのワイプで開く */
.fx .map { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); transition: clip-path 1.3s cubic-bezier(0.7, 0, 0.2, 1), opacity 0.6s; }
.fx .map.is-in { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }

/* 協賛: ロゴ・名前が1つずつ弾んで出る */
.fx .tier .logos > li, .fx .tier .supporters > li, .fx .tier .marks > .mark { opacity: 0; transform: translateY(26px) scale(0.85); transition: opacity 0.6s var(--ease), transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); transition-delay: calc(var(--n, 0) * 70ms + 0.2s); }
.fx .tier.is-in .logos > li, .fx .tier.is-in .supporters > li, .fx .tier.is-in .marks > .mark { opacity: 1; transform: none; }
.fx .tier h3 .en { display: inline-block; letter-spacing: 0.6em; opacity: 0; transition: letter-spacing 1.2s var(--ease), opacity 0.8s; }
.fx .tier.is-in h3 .en { letter-spacing: 0.14em; opacity: 1; }

/* ボタン: 光が横切る */
.btn { position: relative; overflow: hidden; }
.btn::before { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent); transform: skewX(-20deg); animation: btn-shine 4.5s ease-in-out infinite; pointer-events: none; }
@keyframes btn-shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }

/* 視差（スクロールに合わせてずれる量は main.js が --py に入れる） */
.fx [data-parallax] { translate: 0 var(--py, 0px); will-change: translate; }

@media (prefers-reduced-motion: reduce) {
  .fx-progress, .btn::before { display: none; }
}

/* FV タイトル: 1文字ずつ奥から回転して立ち上がり、2026 はスロットのように数字が回って止まる。
   出そろったあと、金色の光の波が文字を左から右へ数秒おきに流れる */
.fx .fv-title.reveal { opacity: 1; transform: none; }
.fx .fv-title .line { perspective: 600px; }
.fx .fv-title .lt { display: inline-block; opacity: 0; transform: translateY(0.55em) rotateX(-85deg) scale(0.8); transform-origin: 50% 100%; filter: blur(6px); transition: opacity 0.6s var(--ease), filter 0.7s var(--ease), transform 1s cubic-bezier(0.22, 1.5, 0.36, 1); transition-delay: calc(var(--n) * 42ms + 0.35s); }
.fx .fv-title.is-in .lt { opacity: 1; transform: none; filter: none; }
.fx .fv-title.is-lit .lt { animation: fv-glint 6s ease-in-out calc(var(--n) * 55ms + 0.4s) infinite; }
@keyframes fv-glint {
  0%, 12%, 100% { color: inherit; text-shadow: none; }
  5% { color: var(--mustard); text-shadow: 0 0 18px rgba(233, 177, 38, 0.65), 0 0 2px rgba(233, 177, 38, 0.9); }
}
.fx .fv-title .yr { font-variant-numeric: tabular-nums; }

/* ボタン: 光が横切る演出をやめ、クリスマスらしく
   ・中で小さな雪がしんしんと降る
   ・右の黄色い点が電球のように灯ってまたたく
   ・ホバーで点がオーナメントのように揺れる */
.btn::before { left: 0; right: 0; top: 0; bottom: 0; width: auto; transform: none; background:
  radial-gradient(circle, rgba(255, 255, 255, 0.85) 0 1.2px, transparent 1.6px) 0 0 / 34px 34px,
  radial-gradient(circle, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.4px) 17px 11px / 26px 26px;
  opacity: 0.55; animation: btn-snow 7s linear infinite; }
.btn-line::before { background:
  radial-gradient(circle, rgba(14, 44, 48, 0.35) 0 1.2px, transparent 1.6px) 0 0 / 34px 34px,
  radial-gradient(circle, rgba(14, 44, 48, 0.25) 0 1px, transparent 1.4px) 17px 11px / 26px 26px; }
@keyframes btn-snow { from { background-position: 0 -34px, 17px -15px; } to { background-position: 10px 34px, 9px 37px; } }
.btn-ink::after { position: relative; box-shadow: 0 0 0 0 rgba(233, 177, 38, 0.7); animation: btn-bulb 2.4s ease-in-out infinite; transform-origin: 50% -6px; }
@keyframes btn-bulb {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px 2px rgba(233, 177, 38, 0.75), 0 0 14px 4px rgba(233, 177, 38, 0.35); }
  50% { opacity: 0.55; box-shadow: 0 0 2px 0 rgba(233, 177, 38, 0.4); }
}
.btn-ink:hover::after { animation: btn-bulb 2.4s ease-in-out infinite, btn-swing 1.1s ease-in-out infinite; }
@keyframes btn-swing { 0%, 100% { transform: rotate(-28deg); } 50% { transform: rotate(28deg); } }
.btn { isolation: isolate; }
.btn::before { z-index: -1; }
@media (prefers-reduced-motion: reduce) {
  .btn::before { display: none; }
  .btn-ink::after, .btn-ink:hover::after { animation: none; }
}

/* ---------- FV 開催期間（2026-11-18 作り直し） ----------
   年を小さく上に、月日を大きく、曜日は黄色の小さな札。
   間は電球が順に灯る短いガーランドでつなぐ。折り返さない2段組 */
.fv-date { display: inline-grid; grid-template-columns: auto auto auto; align-items: center; gap: clamp(14px, 1.8vw, 26px); padding: clamp(16px, 1.6vw, 22px) clamp(26px, 2.6vw, 40px) clamp(18px, 1.8vw, 24px); font-weight: 400; font-size: 16px; line-height: 1; white-space: nowrap; }
.fv-date .d { display: grid; grid-template-columns: auto auto; grid-template-areas: "y y" "md wd"; align-items: end; column-gap: 8px; row-gap: 6px; }
.fv-date .y { grid-area: y; font-family: var(--f-en); font-size: clamp(12px, 1vw, 14px); letter-spacing: 0.32em; color: var(--mustard); }
.fv-date .md { grid-area: md; font-family: var(--f-en); font-weight: 500; font-size: clamp(30px, 3.1vw, 46px); letter-spacing: 0.02em; color: var(--on-ink); }
.fv-date .wd { grid-area: wd; margin-bottom: 0.35em; font-family: var(--f-en); font-size: clamp(10px, 0.85vw, 12px); letter-spacing: 0.14em; color: var(--ink); background: var(--mustard); border-radius: 4px; padding: 3px 6px 2px; }
.fv-date .to { position: relative; display: flex; align-items: center; gap: clamp(8px, 0.9vw, 12px); padding-top: 1.1em; }
.fv-date .to::before { content: ""; position: absolute; left: -4px; right: -4px; top: calc(1.1em + 1px); height: 10px; border-top: 1px solid rgba(243, 242, 234, 0.55); border-radius: 50%; }
.fv-date .to i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--mustard); margin-top: 4px; animation: date-bulb 2.4s ease-in-out infinite; }
.fv-date .to i:nth-child(2), .fv-date .to i:nth-child(3) { margin-top: 9px; }
.fv-date .to i:nth-child(2) { animation-delay: 0.3s; }
.fv-date .to i:nth-child(3) { animation-delay: 0.6s; }
.fv-date .to i:nth-child(4) { animation-delay: 0.9s; }
.fv-date .to i::after { content: none; }
@keyframes date-bulb { 0%, 100% { opacity: 0.35; box-shadow: none; } 30% { opacity: 1; box-shadow: 0 0 8px 2px rgba(233, 177, 38, 0.7); } }
@media (max-width: 767px) {
  .fv-date { gap: 12px; padding: 14px 20px 16px; }
  .fv-date .md { font-size: clamp(24px, 7.4vw, 30px); }
  .fv-date .y { font-size: 11px; letter-spacing: 0.24em; }
  .fv-date .wd { font-size: 9px; padding: 2px 5px 1px; }
  .fv-date .to { gap: 6px; }
  .fv-date .to i { width: 5px; height: 5px; }
}
@media (prefers-reduced-motion: reduce) { .fv-date .to i { animation: none; opacity: 1; } }

/* 鳥・リス（尻尾も鳥の画像に含める）: 傾けると尻尾と枝の境目が開くため、足元を軸に小さくふくらむ動き（羽づくろい）にする */
@keyframes pp-hop { 0%, 62%, 100% { transform: scale(1); } 68% { transform: scale(1.045, 1.06); } 74% { transform: scale(1); } 80% { transform: scale(1.03, 1.04); } 86% { transform: scale(1); } }
.pp[data-part="bird-1"] { transform-origin: 24.2% 54.8%; }
.pp[data-part="bird-2"] { transform-origin: 37% 72.4%; }

/* ---------- 見どころの絵・フッターの帯もパーツで動かす（.ill-stage） ---------- */
.ill-stage .pp-bg { filter: none; }
.fx .hl-fig img { transform: none; transition: none; }
.fx .hl-fig .ill-stage { transform: scale(1.25); transition: transform 1.6s var(--ease); }
.fx .is-in .hl-fig .ill-stage { transform: scale(1); }
.band-stage { width: 100%; min-width: 900px; margin-left: 50%; transform: translateX(-50%); margin-bottom: -2px; }
.band-stage .pp-bg { margin: 0; transform: none; min-width: 0; }
.pp-steam { --loop: pp-steam; --loop-d: 3.2s; transform-origin: 50% 100%; }
@keyframes pp-steam { 0%, 100% { transform: translateY(0) scaleY(1); filter: opacity(0.9); } 50% { transform: translateY(-6%) scaleY(1.08); filter: opacity(0.45); } }
.band-stage .pp-walker { --loop-d: 3s; }
.pp[data-part="band-walker-2"] { --from: 60px; --loop-d: 3.3s; }
.pp[data-part="band-walker-4"] { --from: 60px; --loop-d: 2.7s; }
.pp[data-part="spot1-couple"] { --from: 50px; }
.pp[data-part="band-tree-2"], .pp[data-part="band-tree-5"] { --loop-w: -3s; }
.pp[data-part="band-tree-3"], .pp[data-part="band-tree-6"] { --loop-w: -5.5s; }
.footer-band .band-stage img { min-width: 0; margin: 0; transform: none; }

/* 日付の札: 年は月日（11.21）の真上に、月日の幅の中央でそろえる */
.fv-date .d { grid-template-areas: "y ." "md wd"; }
.fv-date .y { justify-self: center; text-align: center; padding-left: 0.32em; }

/* 日付の札: Alegreya の数字は高さが不ぞろい（8 や 6 が上に飛び出す）なので、そろった高さの数字にする */
.fv-date .md, .fv-date .y { font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum" 1, "tnum" 1; }

/* スマホ（絵の下に文字が続く1列のとき）は、絵の視差を止める。絵が下へずれて日付の札にかぶるため */
@media (max-width: 767px) {
  .fx .fv-visual[data-parallax] { translate: none; }
}

/* About の要点: マーケットの開催日と時間 */
.facts .dt { display: grid; grid-template-columns: repeat(2, max-content); justify-content: start; gap: 2px 16px; margin-top: 6px; font-size: 13px; line-height: 1.7; letter-spacing: 0.02em; color: var(--on-ink-muted); }
.facts .dt > span { white-space: nowrap; }
.facts .dt .tm { grid-column: 1 / -1; margin-top: 2px; color: var(--on-ink); }
@media (max-width: 767px) {
  .facts li { flex-wrap: wrap; }
  .facts .dt { flex-basis: 100%; margin-top: 2px; font-size: 12px; }
}

/* ポスターの板の影: CSS の drop-shadow は iPhone の Safari で四角いグラデーションになることがあるため、
   影を画像（shadow.webp）にして板の後ろに敷く */
.poster-stage .pp-bg { filter: none; }
.poster-stage .pp-shadow { left: -11.650%; top: -9.860%; width: 123.301%; pointer-events: none; }

/* スマホのメニュー: 画面の上（ステータスバー・アドレスバーの裏）まで覆い、ページが透けて見えないようにする */
@media (max-width: 1023px) {
  .gnav { inset: -120px 0; padding-top: calc(var(--header-h) + 140px + env(safe-area-inset-top, 0px)); padding-bottom: 160px; }
  html:has(body.menu-open) { background: var(--ink); }
}
.menu-open .fx-progress { opacity: 0; }

/* ---------- 言語の切り替え（JA / EN） ---------- */
.lang-switch { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(240, 241, 236, 0.7); font-family: var(--f-en); font-size: 13px; letter-spacing: 0.08em; line-height: 1; }
.lang-switch a { display: block; padding: 6px 10px 5px; border-radius: 999px; color: var(--green); transition: background 0.3s, color 0.3s; }
.lang-switch a:hover { background: rgba(14, 44, 48, 0.08); }
.lang-switch a[aria-current] { background: var(--ink); color: var(--on-ink); pointer-events: none; }
.site-header .lang-switch { margin-left: 18px; flex-shrink: 0; }
.fv-lang { position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: var(--gutter); z-index: 2; }
@media (max-width: 1023px) {
  .site-header .lang-switch { margin-left: auto; margin-right: 10px; position: relative; z-index: 2; }
  .menu-open .site-header .lang-switch { background: transparent; border-color: rgba(243, 242, 234, 0.3); }
  .menu-open .site-header .lang-switch a:not([aria-current]) { color: var(--on-ink); }
  .menu-open .site-header .lang-switch a[aria-current] { background: var(--mustard); color: var(--ink); }
}
@media (max-width: 767px) { .fv-lang { top: calc(10px + env(safe-area-inset-top, 0px)); } .fv { padding-top: 56px; } }

/* 見出しの英語は単語の途中で折り返さない */
.sec-head .ja .sw { display: inline-block; white-space: nowrap; }

/* ---------- 英語ページの調整（日本語用の広い字間を詰める） ---------- */
html[lang="en"] .sec-head .ja { letter-spacing: 0.02em; }
html[lang="en"] .about .sec-head .ja { white-space: normal; }
html[lang="en"] .fv-ja { letter-spacing: 0.08em; }
html[lang="en"] .fv-catch, html[lang="en"] .about-body p { letter-spacing: 0.02em; }
html[lang="en"] .facts .k, html[lang="en"] .routes .tag { letter-spacing: 0.12em; }
html[lang="en"] .facts .v { letter-spacing: 0.01em; }
html[lang="en"] .info-table dt, html[lang="en"] .credits dt { letter-spacing: 0.04em; }
html[lang="en"] .btn { letter-spacing: 0.06em; }
html[lang="en"] .credits > div { grid-template-columns: 8.5em 1fr; }
@media (max-width: 767px) { html[lang="en"] .credits > div { grid-template-columns: 1fr; gap: 2px; } }
html[lang="en"] .about-body p br { display: block; content: ""; margin-top: 0.6em; }
@media (max-width: 480px) {
  .brand-main { font-size: 16px; white-space: nowrap; }
  .site-header .brand-year { display: none; }
  .brand { gap: 6px; }
  .site-header .lang-switch { margin-right: 8px; font-size: 12px; }
  .site-header .lang-switch a { padding: 5px 8px 4px; }
}
@media (max-width: 359px) { .brand-main { font-size: 14px; } }

/* ---------- よくある質問（FAQ） ---------- */
.faq { padding: clamp(48px, 6vw, 80px) 0 clamp(48px, 6vw, 80px); }
.faq-list { max-width: 820px; margin: clamp(32px, 4vw, 48px) auto 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; display: flex; align-items: baseline; gap: 14px; padding: 20px 44px 20px 4px; cursor: pointer; list-style: none; font-family: var(--f-mincho); font-weight: 700; font-size: clamp(15px, 1.5vw, 17px); line-height: 1.7; letter-spacing: 0.06em; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 10px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 1.5px solid var(--green); border-bottom: 1.5px solid var(--green); transform: rotate(45deg); transition: transform 0.3s var(--ease); }
.faq-item[open] summary::after { transform: translateY(4px) rotate(-135deg); }
.faq-item .q { flex-shrink: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--mustard); color: var(--ink); font-family: var(--f-en); font-weight: 500; font-size: 14px; letter-spacing: 0; transform: translateY(-1px); }
.faq-item p { padding: 0 8px 22px 46px; font-size: 14px; line-height: 2; color: var(--text); }
html[lang="en"] .faq-item summary { letter-spacing: 0.01em; }
@media (max-width: 767px) { .faq-item summary { gap: 10px; padding-right: 36px; } .faq-item p { padding-left: 38px; } }

/* 協賛（スマホ）: ロゴは縦1列。大きさはランクごとに変え、上のランクほど大きくする。BRONZE は SILVER と同じ大きさ（2026-11-20） */
@media (max-width: 767px) {
  .logos.t-platinum { --k: 100px; }
  .logos.t-special { --k: 112px; }
  .logos.t-special > li { width: 100%; }
  .logos.t-gold { --k: 100px; }
  .t-gold .txt span { font-size: 26px; letter-spacing: 0.1em; }
  .logos.t-silver { --k: 92px; }
  .logos.t-bronze { --k: 92px; gap: 40px; }
  .t-bronze .txt span { font-size: 23px; letter-spacing: 0.08em; }
}

/* ヘッダーのベースカラーを緑に（2026-11-20） */
.site-header.is-scrolled { background: rgba(40, 91, 84, 0.94); box-shadow: 0 1px 0 rgba(14, 44, 48, 0.3); }
.site-header.is-scrolled .brand { color: var(--on-ink); }
.site-header.is-scrolled .gnav .en { color: var(--on-ink); }
.site-header.is-scrolled .gnav .ja { color: var(--on-ink-muted); }
.site-header.is-scrolled .lang-switch,
.site-header .lang-switch { border-color: rgba(243, 242, 234, 0.3); }
@media (min-width: 1024px) {
  .site-header:not(.is-scrolled) .lang-switch { border-color: var(--line); }
}
.site-header.is-scrolled .lang-switch { background: transparent; }
.site-header.is-scrolled .lang-switch a:not([aria-current]) { color: var(--on-ink); }
.site-header.is-scrolled .lang-switch a:not([aria-current]):hover { background: rgba(243, 242, 234, 0.12); }
.site-header.is-scrolled .lang-switch a[aria-current] { background: var(--mustard); color: var(--ink); }
@media (max-width: 1023px) {
  .site-header { background: rgba(40, 91, 84, 0.96); box-shadow: 0 1px 0 rgba(14, 44, 48, 0.3); }
  .site-header .brand { color: var(--on-ink); }
  .site-header .lang-switch { background: transparent; }
  .site-header .lang-switch a:not([aria-current]) { color: var(--on-ink); }
  .site-header .lang-switch a[aria-current] { background: var(--mustard); color: var(--ink); }
  .menu-btn { background: var(--ink); }
}

/* ---------- 出店店舗（2026-11-20） ----------
   中身は make_en.py が 01_data/出店店舗/shops.json から作る。店舗が0件のときは Coming Soon を出す */
.shops { padding: clamp(80px, 10vw, 128px) 0 clamp(48px, 7vw, 80px); }
.shops-lead { text-align: center; font-size: 15px; line-height: 2.1; margin-top: 24px; }
.shops-soon { max-width: 820px; margin: clamp(36px, 5vw, 56px) auto 0; padding: clamp(40px, 6vw, 64px) clamp(22px, 4vw, 48px); text-align: center; border-radius: 28px; background: var(--ink) url(../img/grain-light.png); color: var(--on-ink); }
.soon-en { font-family: var(--f-en); font-style: normal; font-size: clamp(38px, 5vw, 56px); line-height: 1.1; color: var(--mustard); letter-spacing: 0.04em; }
.soon-ja { font-family: var(--f-mincho); font-weight: 700; font-size: clamp(15px, 1.5vw, 17px); letter-spacing: 0.1em; line-height: 1.9; margin-top: 16px; }
.shop-daylist { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.shop-daylist li { display: inline-flex; align-items: baseline; gap: 4px; padding: 6px 14px; border: 1px solid rgba(243, 242, 234, 0.3); border-radius: 999px; }
.shop-daylist b, .shop-days b { font-family: var(--f-en); font-style: normal; font-weight: 500; font-size: 17px; }
.shop-daylist span, .shop-days span { font-size: 12px; }
.shop-days { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 900px; margin: clamp(28px, 4vw, 40px) auto 0; }
.shop-days .day { display: inline-flex; align-items: baseline; gap: 4px; padding: 8px 16px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; transition: background 0.3s, color 0.3s; }
.shop-days .day:hover { background: rgba(14, 44, 48, 0.08); }
.shop-days .day[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.shop-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); margin-top: clamp(32px, 4vw, 48px); }
.shop-card { display: flex; flex-direction: column; background: var(--paper-2); border-radius: 28px; overflow: hidden; }
.shop-card[hidden] { display: none; }
.shop-img { aspect-ratio: 4 / 3; margin: 0; background: var(--ink); }
.shop-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-img.is-soon { display: grid; place-items: center; background: var(--ink) url(../img/grain-light.png); }
.shop-img.is-soon span { font-family: var(--f-en); font-size: 26px; color: var(--mustard); letter-spacing: 0.04em; }
.shop-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; flex: 1; }
.shop-cat { align-self: flex-start; font-size: 12px; letter-spacing: 0.1em; color: var(--ink); background: var(--mustard); border-radius: 999px; padding: 2px 12px; }
.shop-card h3 { font-family: var(--f-mincho); font-weight: 700; font-size: 20px; line-height: 1.5; letter-spacing: 0.06em; color: var(--ink); }
.shop-summary { font-family: var(--f-mincho); font-weight: 700; font-size: 15px; line-height: 1.8; color: var(--green); }
.shop-desc { font-size: 14px; line-height: 1.9; }
.shop-meta { display: grid; gap: 6px; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; }
.shop-meta > div { display: grid; grid-template-columns: 4.5em 1fr; gap: 8px; }
.shop-meta dt { font-weight: 700; letter-spacing: 0.1em; color: var(--green); }
.shop-meta .dates { display: flex; flex-wrap: wrap; gap: 2px 10px; }
.shop-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.shop-links a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--ink); border-radius: 999px; font-size: 13px; color: var(--ink); transition: background 0.3s, color 0.3s; }
.shop-links a:hover { background: var(--ink); color: var(--on-ink); }
.shop-links svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.shop-empty { text-align: center; margin-top: 32px; padding: 28px; border-radius: 28px; background: var(--paper-2); font-family: var(--f-mincho); font-weight: 700; letter-spacing: 0.08em; }
.shop-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 28px; }
@media (max-width: 1023px) { .shop-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .shops-lead { text-align: left; font-size: 14px; }
  .shop-list { grid-template-columns: 1fr; }
  .shop-days { justify-content: flex-start; }
  .shop-days .day { padding: 7px 12px; }
}
html[lang="en"] .shop-meta > div { grid-template-columns: 4em 1fr; }
