/* ==========================================================
   橘喧嘩だんじり祭
   極太の欧文と全面の写真。色は黒・白・朱の三色。
   ========================================================== */

:root {
  --black:  #0B0B0B;
  --ink:    #141414;
  --line:   #262626;
  --line-2: #3A3A3A;
  --paper:  #F5F3EF;
  --mute:   #8A8A8A;
  --red:    #FF3B18;

  --font-display: "Archivo Black", "Zen Kaku Gothic New", sans-serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --font-util: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(20px, 5vw, 68px);
  --wrap: 1400px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--red); }
::selection { background: var(--red); color: #fff; }

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

.narrow { max-width: 820px; }

[data-lang="ja"] .only-en { display: none; }
[data-lang="en"] .only-ja { display: none; }

/* ---------- 見出し ---------- */

h1, h2, h3 { margin: 0; }

.eyebrow {
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.24em;
  color: var(--red);
  margin: 0 0 22px;
}

.section-title {
  font-weight: 900;
  font-size: clamp(27px, 4.6vw, 62px);
  line-height: 1.28;
  letter-spacing: 0.04em;
}

/* 見出しに添える英語 */
.section-en {
  font-family: var(--font-util);
  font-size: clamp(10px, 1.05vw, 12.5px);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 18px 0 0;
  line-height: 2;
}

.band-light .section-en { color: #8A857A; }

.lede {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 2.05;
  color: var(--mute);
  margin: 26px 0 0;
  max-width: 46em;
}

/* ---------- ヘッダー ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 58;
  background: #0B0B0B;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 60px;
}

.brand {
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.14em;
  color: var(--paper);
  text-decoration: none;
  white-space: nowrap;
}

.brand span { color: var(--red); }

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 26px);
  flex-wrap: wrap;
}

.site-nav a {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--mute);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 0;
  transition: color .15s;
}

.site-nav a:hover, .site-nav a:focus-visible { color: var(--paper); border-bottom: 0; }
.site-nav a[aria-current="page"] { color: var(--red); border-bottom: 0; }

.lang-toggle { display: flex; gap: 2px; border: 0; border-radius: 0; overflow: visible; }

.lang-toggle button {
  font-family: var(--font-util);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  padding: 5px 10px;
  background: none;
  border: 1px solid var(--line-2);
  color: var(--mute);
  cursor: pointer;
  transition: .15s;
}

.lang-toggle button:hover { color: var(--paper); border-color: var(--mute); }
.lang-toggle button[aria-pressed="true"] { background: var(--paper); border-color: var(--paper); color: var(--black); }

/* ---------- ヒーロー ---------- */

.hero { position: relative; overflow: hidden; background: var(--black); padding: 0; }
.hero::before { display: none; }
.hero-visual { position: relative; background: var(--black); line-height: 0; }

.hero-visual {
  position: relative;
  /* 画面が大きいほど高さも伸ばし、写真を広く見せる */
  height: clamp(380px, 88vh, 1120px);
  overflow: hidden;
}

/* 横長の画面では高くなりすぎないよう抑える */
@media (min-aspect-ratio: 16/9) {
  .hero-visual { height: clamp(380px, 84vh, 1020px); }
}

/* 重ねて置き、順に浮かび上がらせる */
.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  filter: contrast(1.12) saturate(0.9);
  opacity: 0;
  transition: opacity 1.4s ease;
  will-change: transform, opacity;
}

.hero-visual img.is-on { opacity: 1; }

/* 表示中はゆっくり動かす。写真ごとに向きを変える */
.hero-visual img:nth-child(1).is-on { animation: heroZoomIn 9s ease-out forwards; }
.hero-visual img:nth-child(2).is-on { animation: heroPanLeft 9s ease-out forwards; }
.hero-visual img:nth-child(3).is-on { animation: heroZoomOut 9s ease-out forwards; }
.hero-visual img:nth-child(4).is-on { animation: heroPanRight 9s ease-out forwards; }

@keyframes heroZoomIn {
  from { transform: scale(1.02); }
  to   { transform: scale(1.12); }
}

@keyframes heroZoomOut {
  from { transform: scale(1.12); }
  to   { transform: scale(1.02); }
}

@keyframes heroPanLeft {
  from { transform: scale(1.10) translateX(1.4%); }
  to   { transform: scale(1.10) translateX(-1.4%); }
}

@keyframes heroPanRight {
  from { transform: scale(1.10) translateX(-1.4%); }
  to   { transform: scale(1.10) translateX(1.4%); }
}

/* 現在位置の点 */
.hero-dots {
  position: absolute;
  right: var(--gutter);
  bottom: 18px;
  z-index: 3;
  display: flex;
  gap: 7px;
}

.hero-dots span {
  width: 22px;
  height: 3px;
  background: rgba(245, 243, 239, 0.32);
  transition: background .3s;
}

.hero-dots span.is-on { background: var(--red); }

@media (prefers-reduced-motion: reduce) {
  .hero-visual img { transition: none; animation: none !important; transform: none !important; }
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    var(--black) 0%,
    rgba(11,11,11,.96) 16%,
    rgba(11,11,11,.72) 30%,
    rgba(11,11,11,.28) 46%,
    transparent 64%);
  pointer-events: none;
}

.hero-body {
  position: relative;
  z-index: 2;
  /* 写真に重ねる */
  margin-top: clamp(-160px, -26vh, -400px);
  padding: 0 0 clamp(36px, 5vw, 70px);
}

.hero-body::before { display: none; }
.hero .wrap { position: relative; }

/* 日本語が主役。極太ゴシックを大きく組む */
.hero h1 {
  font-weight: 900;
  font-size: clamp(30px, 7.6vw, 116px);
  line-height: 1.12;
  letter-spacing: 0.02em;
  margin: 0;
}

.hero h1.only-en { font-size: clamp(26px, 5.6vw, 86px); }

.hero h1 .accent { color: var(--red); }

/* 英語は添え物。小さく、間隔を開けて */
.hero-en {
  font-family: var(--font-util);
  font-size: clamp(10px, 1.15vw, 13px);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 22px 0 0;
}

.hero-sub {
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 2.05;
  color: var(--mute);
  max-width: 34em;
  margin: 24px 0 30px;
}

/* ---------- 数字の帯 ---------- */

.stats {
  display: flex;
  flex-wrap: wrap;
  margin-top: clamp(34px, 4.5vw, 60px);
  border-top: 2px solid var(--paper);
  border-bottom: 1px solid var(--line);
}

.stats > div {
  flex: 1 1 150px;
  padding: 20px 18px 22px 0;
  border-right: 1px solid var(--line);
}

.stats > div:last-child { border-right: 0; }

.stats dt {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: #6E6E6E;
  margin-bottom: 8px;
}

.stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--red);
}

.stats .cap {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--mute);
  margin-top: 8px;
}

/* ---------- 帯 ---------- */

.band { padding: clamp(56px, 9vw, 130px) 0; }
.band-dark, .band-deep { background: var(--black); }
.band-ink { background: var(--ink); }

.band-light { background: var(--paper); color: var(--black); }
.band-light .lede { color: #57544E; }
.band-light .eyebrow { color: var(--red); }
.band-light a { color: var(--red); }

/* ---------- 大きな引用 ---------- */

/* ---------- 写真 ---------- */

.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.strip-2 { grid-template-columns: repeat(2, 1fr); }

.strip img {
  width: 100%;
  height: clamp(150px, 24vw, 340px);
  object-fit: cover;
  filter: contrast(1.1);
}

.photo-figure { margin: clamp(40px, 6vw, 72px) 0 0; }
.photo-figure img { width: 100%; height: auto; border-radius: 0; filter: contrast(1.06); }

.photo-figure figcaption {
  margin-top: 14px;
  font-family: var(--font-util);
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1.9;
  color: var(--mute);
}

.band-light .photo-figure figcaption { color: #8A857A; }

/* ---------- 項目 ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 0;
  margin-top: clamp(40px, 5vw, 70px);
  border-top: 1px solid var(--line);
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }

.grid > * {
  padding: 32px 30px 36px 0;
  border-bottom: 1px solid var(--line);
}

.band-light .grid, .band-light .grid > * { border-color: #DCD8CE; }

.card { border: 0; background: none; border-radius: 0; }

.card .num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--red);
  margin-bottom: 16px;
}

.card h3 {
  font-weight: 900;
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.card p { margin: 0; font-size: 14.5px; line-height: 2.05; color: var(--mute); }
.band-light .card p { color: #57544E; }

a.card { display: block; text-decoration: none; color: inherit; transition: background .15s; transform: none; }
a.card:hover, a.card:focus-visible { background: rgba(255, 59, 24, 0.06); border-color: var(--line); transform: none; }
a.card:hover h3 { color: var(--red); }

a.card .go {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-util);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}

/* ---------- 本文 ---------- */

.prose p { margin: 0 0 1.6em; }

.prose h3 {
  font-weight: 900;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: var(--red);
  margin: 2.6em 0 0.9em;
}

.band-light .prose h3 { color: var(--black); }
.band-light .prose p { color: #35332F; }

.pull {
  font-weight: 900;
  font-size: clamp(21px, 3.4vw, 46px);
  line-height: 1.6;
  letter-spacing: 0.06em;
  border: 0;
  padding: 0;
  margin: clamp(48px, 6vw, 80px) 0;
  color: var(--paper);
}

.band-light .pull { color: var(--black); }

/* ---------- 時間割 ---------- */

.timeline {
  list-style: none;
  padding: 0;
  margin: clamp(40px, 5vw, 70px) 0 0;
  border-top: 1px solid var(--line);
  border-left: 0;
}

.timeline li {
  display: grid;
  grid-template-columns: minmax(120px, 260px) minmax(0, 1fr);
  gap: clamp(16px, 4vw, 80px);
  padding: 34px 0 38px;
  border-bottom: 1px solid var(--line);
  position: static;
  align-items: start;
}

/* 本文は読みやすい幅で止める */
.timeline .tl-body { max-width: 54em; }

.timeline li::before { display: none; }

.timeline .time {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.4vw, 60px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--line-2);
  display: block;
}

.timeline li.peak .time { color: var(--red); font-size: clamp(30px, 4.8vw, 66px); }
.timeline li.peak h3 { color: var(--paper); }

.timeline h3 {
  font-weight: 900;
  font-size: clamp(17px, 2vw, 23px);
  letter-spacing: 0.06em;
  line-height: 1.5;
  margin: 0 0 12px;
}

.timeline p { margin: 0; font-size: 14.5px; line-height: 2.05; color: var(--mute); }

/* ---------- 注意書き ---------- */

.notice {
  border: 1px solid var(--red);
  border-left-width: 1px;
  border-radius: 0;
  background: none;
  padding: 30px 30px 32px;
  margin: clamp(40px, 5vw, 64px) 0 0;
}

.notice h3 {
  font-weight: 900;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 16px;
}

.notice ul { margin: 0; padding-left: 1.1em; }
.notice li { max-width: 62em; }
.notice-lead { max-width: 62em; }
.notice li { margin-bottom: 10px; font-size: 14.5px; line-height: 2; color: var(--mute); }
.band-light .notice li { color: #57544E; }
.band-light .notice h3 { color: var(--red); }

/* ---------- 表 ---------- */

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: clamp(36px, 5vw, 60px);
  font-size: 14.5px;
}

.info-table th, .info-table td {
  text-align: left;
  padding: 20px 16px 20px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.95;
}

.band-light .info-table th, .band-light .info-table td { border-color: #DCD8CE; }

.info-table th {
  width: 26%;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.1em;
  color: var(--red);
  white-space: nowrap;
}

.info-table td { color: var(--mute); }
.band-light .info-table td { color: #35332F; }

/* ---------- ボタン ---------- */

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.14em;
  padding: 15px 30px;
  border-radius: 0;
  text-decoration: none;
  border: 1px solid var(--line-2);
  color: var(--paper);
  transition: .15s;
}

.btn:hover, .btn:focus-visible { background: var(--paper); border-color: var(--paper); color: var(--black); }
.btn-primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--paper); border-color: var(--paper); color: var(--black); }
.band-light .btn { border-color: #C9C4B8; color: var(--black); }
.band-light .btn:hover { background: var(--black); border-color: var(--black); color: var(--paper); }

/* ---------- フッター ---------- */

.site-footer {
  background: var(--black);
  border-top: 1px solid var(--line);
  padding: clamp(48px, 6vw, 80px) 0 40px;
  font-size: 14px;
  color: var(--mute);
}

.footer-inner { display: flex; flex-wrap: wrap; gap: 36px; justify-content: space-between; }

.site-footer h4 {
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.12em;
  color: var(--paper);
  margin: 0 0 14px;
}

.site-footer p { margin: 0; font-size: 13.5px; color: var(--mute); }

.site-footer a {
  display: block;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--mute);
  text-decoration: none;
  padding: 4px 0;
}

.site-footer a:hover { color: var(--red); }

.credit {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--font-util);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  line-height: 1.9;
  color: #5A5A5A;
}

/* ---------- 「メイン」の図 ---------- */

.main-street {
  margin-top: clamp(40px, 5vw, 70px);
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.street-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-util);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6E6E6E;
  margin-bottom: 20px;
}

.street { position: relative; height: clamp(74px, 11vw, 116px); margin-bottom: 26px; }

.street-line {
  position: absolute;
  bottom: 4px; left: 0; right: 0;
  height: 1px;
  background: var(--line-2);
}

.danjiri-mark {
  position: absolute;
  bottom: 0;
  width: 11%;
  height: auto;
  transform: translateX(-50%);
  display: block;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: none;
}

.danjiri-mark svg { display: block; width: 100%; height: auto; overflow: visible; transform: scaleX(-1); }

.danjiri-mark::after {
  content: attr(data-role);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -22px;
  font-family: var(--font-util);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #6E6E6E;
  white-space: nowrap;
}

.m1 { left: 6%;  animation: saki    11s ease-in-out infinite; }
.m2 { left: 38%; animation: nishi   11s ease-in-out infinite; }
.m3 { left: 62%; animation: higashi 11s ease-in-out infinite; }
.m4 { left: 94%; animation: naka    11s ease-in-out infinite; }

@keyframes saki    { 0%,8%{left:6%}  24%,31%{left:21%}  44%,100%{left:6%} }
@keyframes nishi   { 0%,8%{left:38%} 24%,31%{left:32%}  44%{left:38%} 60%,68%{left:44.5%} 82%,100%{left:38%} }
@keyframes higashi { 0%,8%{left:62%} 24%,31%{left:68%}  44%{left:62%} 60%,68%{left:55.5%} 82%,100%{left:62%} }
@keyframes naka    { 0%,8%{left:94%} 24%,31%{left:79%}  44%,100%{left:94%} }

@media (max-width: 640px) {
  .danjiri-mark { width: 15%; }
  .m1 { animation-name: saki-s; }
  .m2 { animation-name: nishi-s; }
  .m3 { animation-name: higashi-s; }
  .m4 { animation-name: naka-s; }
  @keyframes saki-s   { 0%,8%{left:8%}  24%,31%{left:19%}  44%,100%{left:8%} }
  @keyframes nishi-s  { 0%,8%{left:38%} 24%,31%{left:34%}  44%{left:38%} 60%,68%{left:42.5%} 82%,100%{left:38%} }
  @keyframes higashi-s{ 0%,8%{left:62%} 24%,31%{left:66%}  44%{left:62%} 60%,68%{left:57.5%} 82%,100%{left:62%} }
  @keyframes naka-s   { 0%,8%{left:92%} 24%,31%{left:81%}  44%,100%{left:92%} }
}

@media (prefers-reduced-motion: reduce) {
  .danjiri-mark { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- ギャラリー ---------- */

.rail-wrap { position: relative; margin-top: clamp(36px, 5vw, 60px); }

.gallery-rail {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  margin-inline: calc(var(--gutter) * -1);
  padding: 0 var(--gutter) 18px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}

.gallery-rail::-webkit-scrollbar { height: 2px; }
.gallery-rail::-webkit-scrollbar-track { background: var(--line); }
.gallery-rail::-webkit-scrollbar-thumb { background: var(--red); }

.gallery-item {
  position: relative;
  flex: 0 0 auto;
  width: clamp(280px, 66vw, 780px);
  aspect-ratio: 4 / 3;
  scroll-snap-align: center;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08);
  transition: transform .5s ease;
}

.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.03); }

.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 20px 16px;
  font-family: var(--font-util);
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1.8;
  color: var(--paper);
  text-align: left;
  background: linear-gradient(transparent, rgba(11,11,11,.94));
}

.rail-nav {
  position: absolute;
  top: calc(50% - 9px);
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: var(--red);
  backdrop-filter: none;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: .15s;
}

.rail-nav:hover { background: var(--paper); color: var(--black); border-color: transparent; }
.rail-nav[disabled] { opacity: 0.15; cursor: default; }
.rail-nav.prev { left: 0; }
.rail-nav.next { right: 0; }

.rail-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  font-family: var(--font-util);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6E6E6E;
}

.rail-counter { color: var(--red); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 26px;
  background: rgba(11, 11, 11, 0.97);
  backdrop-filter: none;
}

.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(1200px, 94vw); max-height: 82vh; object-fit: contain; border-radius: 0; }

.lightbox-caption {
  margin-top: 18px;
  text-align: center;
  font-family: var(--font-util);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mute);
}

.lightbox-close, .lightbox-nav {
  position: absolute;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 0;
  background: none;
  color: var(--paper);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover, .lightbox-nav:hover { background: var(--red); border-color: var(--red); color: #fff; }
.lightbox-close { top: 20px; right: 22px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }

.ig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(326px, 1fr));
  gap: 20px;
  margin-top: clamp(36px, 5vw, 60px);
  justify-items: center;
}

.ig-grid .instagram-media { margin: 0 !important; min-width: 0 !important; }

.ig-link {
  display: inline-block;
  margin-top: 28px;
  font-family: var(--font-util);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.ig-link:hover { border-bottom-color: var(--red); }

.gallery-empty {
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: none;
  padding: 34px 30px;
}

.gallery-empty h3 {
  font-weight: 900;
  font-size: 19px;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 14px;
}

.gallery-empty p { margin: 0 0 16px; font-size: 14.5px; color: var(--mute); }

.code-block {
  font-family: var(--font-util);
  font-size: 12px;
  line-height: 1.9;
  letter-spacing: 0;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 18px 20px;
  overflow-x: auto;
  color: var(--mute);
  white-space: pre;
  margin: 0;
}

.band-light .code-block { background: #EDE9E0; border-color: #DCD8CE; color: #57544E; }

/* ---------- 地図・フォーム ---------- */

.map-figure { margin: clamp(36px, 5vw, 60px) 0 0; }
.map-figure iframe { display: block; width: 100%; border: 0; border-radius: 0; filter: grayscale(0.4) contrast(1.05); }

.map-figure figcaption {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: baseline;
  justify-content: space-between;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--mute);
}

.map-figure figcaption a {
  font-family: var(--font-util);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 0;
}

.band-light .map-figure figcaption { color: #57544E; }

.form-embed { margin-top: 8px; border-radius: 0; background: #fff; }
.form-embed iframe { display: block; width: 100%; border: 0; }

.form-slot { border: 1px solid var(--line); border-radius: 0; background: none; padding: 34px 30px; }

.form-slot h3 {
  font-weight: 900;
  font-size: 19px;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 14px;
}

.form-slot p { margin: 0 0 16px; font-size: 14.5px; color: var(--mute); }
.band-light .form-slot { border-color: #DCD8CE; }
.band-light .form-slot p { color: #57544E; }

.form-note {
  margin-top: 28px;
  font-family: var(--font-util);
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1.9;
  color: #6E6E6E;
}

.photo-slot { display: none; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

@media (max-width: 700px) {
  body { font-size: 15px; }
  .site-nav { gap: 10px; }
  .site-nav a { font-size: 9.5px; letter-spacing: 0.12em; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .strip img:nth-child(3) { display: none; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .info-table th { width: 34%; white-space: normal; }
  .grid > * { padding-right: 0; }
  .street-label { justify-content: center; }
  .street-label span:first-child, .street-label span:last-child { display: none; }
  .rail-nav { display: none; }
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-nav.prev { left: 6px; }
  .lightbox-nav.next { right: 6px; }
}

/* 数字に添える単位 */
.stats .unit {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.42em;
  letter-spacing: 0.1em;
  margin-left: 0.35em;
  color: var(--mute);
}

/* 組の色 */
.card .num[style*="--crew"] {
  position: relative;
  display: inline-block;
  padding-right: 30px;
}

.card .num[style*="--crew"]::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--crew);
}

/* 本文中のリンク */
.lede a {
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 59, 24, 0.45);
  transition: .15s;
}

.lede a:hover { border-bottom-color: var(--red); }

/* 時刻ではない見出し（結び など） */
.timeline .time:not([class*="only"]) { }
.timeline li .time.only-ja,
.timeline li .time.only-en {
  font-weight: 900;
  font-size: clamp(22px, 3.2vw, 42px);
  letter-spacing: 0.1em;
  line-height: 1.2;
}

/* 施設名と住所 */
.place-name {
  font-weight: 900;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--paper);
  margin: 0 0 14px;
}

.place-name span {
  display: block;
  font-family: var(--font-util);
  font-weight: 400;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--mute);
  margin-top: 6px;
}

.band-light .place-name { color: var(--black); }
.band-light .place-name span { color: #8A857A; }

.card .place-name + p { margin-top: 0; }
.card p + p { margin-top: 1.2em; }

.place-link {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-util);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.place-link:hover { border-bottom-color: var(--red); }

/* 地図の目印一覧 */
.map-key {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  border-top: 1px solid var(--line);
}

.band-light .map-key { border-color: #DCD8CE; }

.map-key li { border-bottom: 1px solid var(--line); }
.band-light .map-key li { border-color: #DCD8CE; }

.map-key a {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px 22px 0;
  text-decoration: none;
  color: inherit;
  transition: background .15s;
}

.map-key a:hover { background: rgba(255, 59, 24, 0.06); }
.map-key a:hover strong { color: var(--red); }

.map-key .pin {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  font-family: var(--font-util);
  font-size: 12px;
  font-weight: 600;
  margin-top: 2px;
}

.map-key strong {
  display: block;
  font-weight: 900;
  font-size: 15.5px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  margin-bottom: 4px;
}

.map-key span:not(.pin) {
  display: block;
  font-size: 13px;
  line-height: 1.85;
  color: var(--mute);
}

.band-light .map-key span:not(.pin) { color: #57544E; }

/* お問い合わせフォーム */
.form-embed {
  margin-top: clamp(36px, 5vw, 56px);
  background: #fff;
  padding: 0;
}

.form-embed iframe {
  display: block;
  width: 100%;
  min-height: 1024px;
  border: 0;
}

.form-fallback {
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--mute);
}

.band-light .form-fallback { color: #57544E; }

.form-fallback a {
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 59, 24, 0.45);
}

.form-fallback a:hover { border-bottom-color: var(--red); }

/* ---------- 追従カウントダウン ---------- */

.cd-banner {
  position: fixed;
  right: clamp(14px, 2.4vw, 28px);
  bottom: clamp(14px, 2.4vw, 28px);
  z-index: 70;
  width: min(320px, calc(100vw - 28px));
  padding: 20px 22px 18px;
  background: #0B0B0B;
  border: 1px solid var(--line-2);
  border-top: 2px solid var(--red);
  opacity: 0;
  transition: opacity .3s ease;
}

.cd-banner.is-shown { opacity: 1; }

.cd-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 0;
  background: none;
  color: #6E6E6E;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  transition: color .15s;
}

.cd-close:hover { color: var(--paper); }

.cd-label {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--red);
  margin: 0 0 12px;
}

.cd-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.cd-unit { display: flex; align-items: baseline; gap: 4px; }

.cd-unit b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}

.cd-unit span {
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--mute);
}

.cd-live {
  margin: 0;
  font-weight: 900;
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: 0.1em;
  color: var(--red);
}

.cd-note {
  margin: 12px 0 0;
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--mute);
}

.cd-banner.is-live { border-top-color: var(--red); }
.cd-banner.is-live .cd-note { color: var(--paper); }

@media (max-width: 640px) {
  .cd-banner { padding: 16px 18px 14px; width: min(280px, calc(100vw - 24px)); }
  .cd-unit b { font-size: 24px; }
  .cd-unit span { font-size: 9.5px; }
  .cd-row { gap: 9px; }
  .cd-live { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .cd-banner { transition: none; }
}

/* ---------- スマホのメニュー ---------- */

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-2);
  background: none;
  cursor: pointer;
  position: relative;
  z-index: 60;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--paper);
  transition: transform .25s ease, opacity .2s ease;
}

.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: fixed;
    inset: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 78px var(--gutter) 40px;
    overflow-y: auto;
    background: var(--black);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s;
    z-index: 55;
  }

  .nav-open .site-nav { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }

  .site-nav a {
    width: 100%;
    flex: 0 0 auto;
    font-family: var(--font-body);
    font-weight: 900;
    font-size: 21px;
    letter-spacing: 0.12em;
    color: var(--paper);
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a[aria-current="page"] { color: var(--red); }

}

/* ---------- 狭い画面ではカウントダウンを下部の帯に ---------- */

@media (max-width: 640px) {
  .cd-banner {
    position: fixed;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 12px 16px 14px;
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    border: 0;
    border-top: 2px solid var(--red);
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
  }

  .cd-label {
    margin: 0;
    font-size: 10.5px;
    letter-spacing: 0.16em;
    flex: 0 0 auto;
  }

  .cd-row { gap: 8px; flex: 1 1 auto; }
  .cd-unit b { font-size: 21px; }
  .cd-unit span { font-size: 9px; }

  .cd-live { font-size: 18px; letter-spacing: 0.08em; }

  .cd-note {
    margin: 0;
    flex: 1 1 100%;
    font-size: 10.5px;
    line-height: 1.6;
  }

  .cd-close { top: 50%; right: 8px; transform: translateY(-50%); }
}

/* ---------- 言語切替をヘッダーの右へ ---------- */

.header-inner .lang-toggle {
  margin-left: auto;
  display: flex;
  gap: 2px;
  order: 2;
}

.nav-toggle { order: 3; margin-left: 12px; }
.site-nav { order: 4; }

@media (min-width: 861px) {
  .header-inner .lang-toggle { margin-left: 16px; order: 4; }
  .site-nav { order: 3; margin-left: auto; }
}

/* 免責の表示 */

.notice-strong {
  border-width: 2px;
  background: rgba(255, 59, 24, 0.05);
}

.notice-lead {
  margin: 0 0 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 59, 24, 0.4);
  font-weight: 900;
  font-size: clamp(15px, 1.8vw, 18.5px);
  line-height: 1.95;
  letter-spacing: 0.04em;
  color: var(--paper);
}

.band-light .notice-lead { color: var(--black); }

.notice li.disclaimer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 59, 24, 0.4);
  font-weight: 700;
  color: var(--paper);
}

.band-light .notice li.disclaimer { color: var(--black); }

/* カウントする数字 */
.stats .count {
  font-family: inherit;
  font-weight: inherit;
  font-variant-numeric: tabular-nums;
}

/* ---------- 写真と文章を左右交互に並べる ---------- */

.zigzag {
  margin-top: clamp(40px, 5vw, 70px);
  border-top: 1px solid var(--line);
}

.zz {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: clamp(32px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background .15s;
}

.zz:hover { background: rgba(255, 59, 24, 0.05); }

/* 偶数番めは写真を右へ */
.zz:nth-child(even) .zz-fig { order: 2; }

.zz-fig { margin: 0; overflow: hidden; }

.zz-fig img {
  width: 100%;
  height: clamp(200px, 26vw, 330px);
  object-fit: cover;
  filter: contrast(1.06);
  transition: transform .5s ease;
}

.zz:hover .zz-fig img { transform: scale(1.04); }

.zz-body h3 {
  font-weight: 900;
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.5;
  letter-spacing: 0.07em;
  margin: 0;
}

.zz:hover .zz-body h3 { color: var(--red); }

.zz-body .zz-en {
  margin: 8px 0 0;
  font-family: var(--font-util);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mute);
}

.zz-body p:not(.zz-en) {
  margin: 18px 0 0;
  max-width: 34em;
  font-size: 14.5px;
  line-height: 2.1;
  color: var(--mute);
}

.zz-body .go {
  display: inline-block;
  margin-top: 22px;
  font-family: var(--font-util);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}

@media (max-width: 760px) {
  .zz { grid-template-columns: 1fr; gap: 20px; }
  .zz:nth-child(even) .zz-fig { order: 0; }
  .zz-fig img { height: clamp(180px, 46vw, 260px); }
}
