/* ==========================================================================
   マジックマーケット2026夏 会場ガイド
   トロピカル・サマー テーマ / モバイルファースト / ビルド無し
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Orbitron:wght@600;700;800&display=swap');

/* ---------- デザイントークン ---------- */
:root {
  /* 背景・面 */
  --bg: #052a38;
  --bg-2: #073a49;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-2: rgba(255, 255, 255, 0.12);
  --card: rgba(7, 45, 58, 0.72);
  --line: rgba(148, 233, 224, 0.16);
  --line-strong: rgba(45, 212, 191, 0.5);

  /* テキスト */
  --text: #eafaff;
  --text-muted: #a2dcd6;
  --text-dim: #6fb4b0;
  --ink: #06333a; /* 明色面の上の濃色文字 */

  /* アクセント */
  --cyan: #22d3ee;
  --teal: #2dd4bf;
  --sun: #ffd15c;
  --coral: #ff7a59;

  --grad-hero: linear-gradient(165deg, #0e7fa3 0%, #0aa5b0 30%, #16b8a4 56%, #ffb454 100%);
  --grad-ocean: linear-gradient(135deg, #0d9488 0%, #14b8a6 55%, #22d3ee 115%);
  --grad-sun: linear-gradient(135deg, #ff7a59 0%, #ffab40 52%, #ffd166 110%);
  --grad-sun-hover: linear-gradient(135deg, #ff8f6e 0%, #ffbe5c 52%, #ffe08a 110%);
  --grad-text: linear-gradient(135deg, #7ff0e6 0%, #22d3ee 45%, #ffd15c 110%);

  /* 影 */
  --glow-teal: 0 0 26px rgba(45, 212, 191, 0.35);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);

  /* 半径 */
  --r-sm: 0.5rem;
  --r-md: 0.85rem;
  --r-lg: 1.25rem;
  --r-xl: 1.75rem;
  --r-pill: 999px;

  /* 余白 */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4.5rem;

  /* トランジション */
  --t-fast: 0.15s ease;
  --t: 0.28s ease;

  --font-body: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Orbitron', var(--font-body);

  --container: 1120px;
}

/* ---------- リセット / ベース ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, p, ul, figure { margin: 0; }
ul { list-style: none; padding: 0; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }

/* 夏の背景（固定・海と陽射し） */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 80% at 85% -10%, rgba(255, 214, 120, 0.22) 0%, transparent 46%),
    radial-gradient(90% 70% at 8% 0%, rgba(34, 211, 238, 0.18) 0%, transparent 45%),
    radial-gradient(120% 90% at 50% 108%, rgba(255, 122, 89, 0.12) 0%, transparent 55%),
    var(--bg);
}

/* 泡 */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    radial-gradient(3px 3px at 20px 160px, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(2px 2px at 70px 120px, rgba(165, 243, 252, 0.3), transparent),
    radial-gradient(4px 4px at 120px 200px, rgba(255, 255, 255, 0.22), transparent),
    radial-gradient(2px 2px at 160px 90px, rgba(255, 209, 92, 0.25), transparent),
    radial-gradient(3px 3px at 200px 170px, rgba(255, 255, 255, 0.28), transparent);
  background-size: 240px 240px;
  animation: bubbles 20s linear infinite;
}

@keyframes bubbles {
  from { transform: translateY(140px); }
  to { transform: translateY(-100vh); }
}

/* ---------- 汎用ユーティリティ ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: max(var(--sp-4), env(safe-area-inset-left));
  padding-inline: max(var(--sp-4), env(safe-area-inset-right));
}

.section { padding-block: var(--sp-6); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* フレーズ単位で改行させる（語中で切れないようにする） */
.nowrap { white-space: nowrap; }

.section-head { margin-bottom: var(--sp-5); }
.section-head--center { text-align: center; }

.section-title {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: clamp(1.2rem, 4.5vw, 1.6rem);
  font-weight: 900;
  letter-spacing: 0.02em;
}
.section-head--center .section-title { justify-content: center; }
.section-title i { color: var(--teal); font-size: 0.95em; }

.section-sub {
  margin-top: var(--sp-1);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   ヒーロー
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-hero);
  padding-bottom: clamp(28px, 5vw, 56px);
  isolation: isolate;
}

.hero__sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

.hero__sun {
  position: absolute;
  top: -90px; right: -30px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 250, 224, 0.98) 0%, rgba(255, 216, 120, 0.55) 42%, transparent 72%);
  filter: blur(1px);
}
.hero__shine {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 120%, rgba(255, 255, 255, 0.22) 0%, transparent 45%),
    repeating-linear-gradient(122deg, rgba(255, 255, 255, 0.05) 0 3px, transparent 3px 28px);
}

.hero__inner {
  position: relative;
  text-align: center;
  max-width: var(--container);
  margin-inline: auto;
  padding: max(clamp(2.2rem, 7vw, 3.6rem), env(safe-area-inset-top)) max(var(--sp-4), env(safe-area-inset-right)) clamp(1.1rem, 3.5vw, 1.75rem) max(var(--sp-4), env(safe-area-inset-left));
}

.hero__kicker {
  display: inline-block;
  padding: 0.4em 1.1em;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero__title {
  margin-top: var(--sp-4);
  font-size: clamp(1.9rem, 8vw, 3.4rem);
  font-weight: 900;
  line-height: 1.32;
  color: #fff;
  text-shadow: 0 3px 18px rgba(3, 42, 46, 0.4);
}
.hero__title span {
  display: inline-block;
  color: #06333a;
  background: rgba(255, 255, 255, 0.85);
  padding: 0 0.28em;
  border-radius: 0.3em;
  margin-left: 0.1em;
  margin-top: 0.18em;
  transform: rotate(-1.5deg);
  box-shadow: 0 6px 18px rgba(3, 42, 46, 0.25);
}

.hero__subtitle {
  margin-top: var(--sp-4);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.45em;
  color: #fff;
  font-size: clamp(1rem, 4.4vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 12px rgba(3, 42, 46, 0.45);
}
.hero__subtitle i { color: var(--sun); }

.hero__note {
  margin-top: var(--sp-3);
  margin-inline: auto;
  max-width: min(100%, 26rem);
  width: fit-content;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.45em;
  padding: 0.55em 1.1em;
  border-radius: var(--r-lg);
  background: var(--grad-sun);
  color: #4a1d05;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.45;
  text-align: center;
  text-wrap: balance;
  box-shadow: 0 6px 18px rgba(255, 122, 89, 0.45);
}
.hero__note i { flex-shrink: 0; margin-top: 0.12em; font-size: 1.05em; }
.hero__note-text { text-align: center; }
.hero__note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.hero__note a:hover { color: #2d0a00; }
.hero__note-br { display: none; }

@media (max-width: 599px) {
  .hero__note-br { display: inline; }
  .hero__note {
    align-items: center;
    padding-inline: 0.95em;
  }
  .hero__note i { margin-top: 0; align-self: center; }
}

.hero__official {
  margin-top: var(--sp-3);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  padding-bottom: 0.1em;
  text-shadow: 0 2px 10px rgba(3, 42, 46, 0.45);
  transition: color var(--t-fast), border-color var(--t-fast);
}
.hero__official:hover {
  color: var(--sun);
  border-color: var(--sun);
}
.hero__official i { font-size: 0.95em; }

.hero__waves {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: clamp(36px, 6vw, 72px);
}
.hero__wave--back { fill: rgba(5, 42, 56, 0.55); }
.hero__wave--front { fill: var(--bg); }

/* ==========================================================================
   イベント概要（ファクト）
   ========================================================================== */
.facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2);
  margin-top: calc(var(--sp-5) * -1);
  position: relative;
}
.fact {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 0.7rem 0.9rem 0.7rem 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}
.fact__icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--grad-ocean);
  color: #04302e;
  font-size: 1.05rem;
}
.fact__label {
  flex-shrink: 0;
  min-width: 4.5em;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.fact__value {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.35;
  text-wrap: balance;
}
.fact__time {
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}
.fact__sub {
  display: block;
  margin-top: 0.08em;
  color: var(--text-dim);
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.4;
  text-wrap: balance;
}
.fact__time + .fact__sub {
  margin-top: 0.45em;
}

/* リアル会場・会場は同じグループとして左アクセントで束ねる */
.fact--primary { position: relative; overflow: hidden; }
.fact--primary::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--grad-ocean);
}

/* オンラインはリアル会場向けページなので控えめに */
.fact--muted { opacity: 0.66; }
.fact--muted .fact__icon {
  width: 34px; height: 34px;
  font-size: 0.95rem;
  background: var(--surface-2);
  color: var(--text-muted);
}
.fact--muted .fact__label { color: var(--text-dim); }
.fact--muted .fact__value { font-weight: 600; color: var(--text-muted); }

/* 会場（Googleマップで開く） */
.fact--map { position: relative; transition: border-color var(--t), transform var(--t), box-shadow var(--t); }
.fact--map:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(45, 212, 191, 0.16);
}
.fact__maplink {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  margin-top: 0.25em;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 700;
}
.fact--map:hover .fact__maplink { text-decoration: underline; }
.fact__cover {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

/* ==========================================================================
   前売り券（電子チケット）— コンパクトなカード
   ========================================================================== */
.section.tickets {
  padding-block: var(--sp-4);
}
.tickets .section-head { margin-bottom: var(--sp-3); }
.ticket-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
}
.ticket-card {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.6em 1.1em;
  border-radius: var(--r-pill);
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.ticket-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(45, 212, 191, 0.16);
}
.ticket-card__icon { color: var(--sun); font-size: 1.1em; }
.ticket-card__label { font-weight: 700; letter-spacing: 0.02em; }
.ticket-card__go {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding-left: 0.6em;
  margin-left: 0.1em;
  border-left: 1px solid var(--line);
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 700;
}

/* ==========================================================================
   会場ガイド（マップ＋出展者）
   ========================================================================== */
.guide { display: block; }
.guide__booths { margin-top: var(--sp-6); }

.venue-map-wrap { width: 100%; }

.venue-map {
  position: relative;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
  padding: var(--sp-4);
  overflow: hidden;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.venue-map::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-sun);
}
.venue-map svg { width: 100%; height: auto; }

/* 会場フロア（ベクター描画） */
/* フロア装飾（壁・ゾーン・出入口）は飾りのみ。タップ／ホバーに反応させない */
.venue-floor {
  pointer-events: none;
}
.venue-wall {
  fill: none;
  stroke: #334155;
  stroke-width: 8;
  stroke-linecap: butt;
  stroke-linejoin: miter;
  stroke-miterlimit: 4;
}
.venue-zone {
  stroke-width: 1.5;
  stroke-dasharray: 7 6;
}
.venue-zone--rest {
  fill: rgba(245, 158, 11, 0.12);
  stroke: rgba(234, 179, 8, 0.7);
}
.venue-zone--show {
  fill: rgba(20, 184, 166, 0.12);
  stroke: rgba(20, 184, 166, 0.7);
}
.venue-zone-label {
  font-family: var(--font-body);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.06em;
  fill: #64748b;
}
.venue-entrance { fill: #f59e0b; }
.venue-entrance-label {
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  fill: #d97706;
}
.venue-partition {
  fill: none;
  stroke: #94a3b8;
  stroke-width: 8;
  stroke-dasharray: 22 20;
  stroke-linecap: butt;
  opacity: 0.7;
}

/* ブース（SVG） */
.booth {
  fill: rgba(45, 212, 191, 0.22);
  stroke: var(--teal);
  stroke-width: 3;
  cursor: pointer;
  transition: fill var(--t), filter var(--t);
}
.booth:hover {
  fill: rgba(255, 209, 92, 0.38);
  filter: drop-shadow(0 0 12px rgba(255, 209, 92, 0.6));
}
.booth-label {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  dominant-baseline: middle;
  fill: #0f172a;
  stroke: #fff;
  stroke-width: 3;
  stroke-linejoin: round;
  paint-order: stroke;
}
.booth-image { transition: opacity var(--t); }

/* ショースペース（クリックで設定URLを表示） */
.booth--show { cursor: pointer; }
.booth--show .venue-zone--show { transition: fill var(--t); }
.booth--show:hover .venue-zone--show { fill: rgba(45, 212, 191, 0.28); }

/* 検索ヒット時のブース強調 */
.booth--match > rect.booth {
  fill: rgba(255, 209, 92, 0.42);
  stroke: #ffd15c;
  stroke-width: 5;
}
.booth--match .booth-image { outline: 3px solid rgba(255, 209, 92, 0.85); }
.booth--dim { opacity: 0.28; filter: grayscale(0.55); }
.booth--dim .booth-image { opacity: 0.55; }

.booth--highlight { animation: booth-pulse 0.75s ease-in-out infinite alternate; }
.booth--highlight > rect.booth,
.booth--highlight .venue-zone--show {
  fill: rgba(255, 209, 92, 0.55);
  stroke: #ffbe2e;
  stroke-width: 6;
}
.booth-highlight-ring {
  animation: booth-ring-pulse 0.75s ease-in-out infinite alternate;
}
@keyframes booth-pulse {
  from { filter: drop-shadow(0 0 6px rgba(255, 209, 92, 0.75)); }
  to { filter: drop-shadow(0 0 22px rgba(255, 209, 92, 1)); }
}
@keyframes booth-ring-pulse {
  from { stroke-opacity: 0.75; }
  to { stroke-opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .booth--highlight { animation: none; filter: drop-shadow(0 0 16px rgba(255, 209, 92, 1)); }
  .booth-highlight-ring { animation: none; }
}

/* ============ サイト内検索 ============ */
.site-search { padding-block: 0; margin-top: calc(-1 * var(--sp-5)); position: relative; z-index: 5; }
.site-search__box,
.booth-search { position: relative; }
.site-search__box { max-width: 34rem; margin-inline: auto; }
.site-search__icon,
.booth-search__icon {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
  font-size: 1.05rem;
}
.site-search__input,
.booth-search__input {
  width: 100%;
  padding: 0.85em 1em 0.85em 2.7em;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--card);
  color: var(--text);
  font-size: 1rem;
  box-shadow: var(--shadow-card);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.booth-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--sp-3);
}
.booth-search__input {
  flex: 1 1 auto;
  min-width: 0;
  padding-block: 0.6em;
  font-size: 0.92rem;
  box-shadow: none;
}
.booth-search__clear {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.5em 0.85em;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--card);
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}
.booth-search__clear:hover:not(:disabled) {
  border-color: var(--cyan);
  color: var(--text);
}
.booth-search__clear:disabled {
  opacity: 0.4;
  cursor: default;
}
.site-search__input::placeholder,
.booth-search__input::placeholder { color: var(--text-dim); }
.site-search__input:focus,
.booth-search__input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.25);
}
.site-search__input::-webkit-search-cancel-button,
.booth-search__input::-webkit-search-cancel-button { cursor: pointer; }

/* 会場マップ直上の「ブース名を表示」トグル */
.map-controls {
  display: flex;
  justify-content: flex-end;
  margin: var(--sp-2) 0;
}
.map-names-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.85rem;
  color: var(--text-dim);
  cursor: pointer;
  user-select: none;
}
.map-names-toggle input { cursor: pointer; margin: 0; }
.map-names-toggle:hover { color: var(--text); }

.search-results {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  right: 0;
  z-index: 20;
  max-height: min(60vh, 24rem);
  overflow-y: auto;
  padding: var(--sp-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: #06333a;
  box-shadow: var(--shadow-lg);
  -webkit-overflow-scrolling: touch;
}
.search-group + .search-group { margin-top: var(--sp-2); }
.search-group__head {
  margin: 0 0 var(--sp-1);
  padding-inline: var(--sp-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.search-group__list { list-style: none; margin: 0; padding: 0; }
.search-hit {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  width: 100%;
  padding: 0.55em 0.7em;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background var(--t-fast);
}
.search-hit:hover,
.search-hit:focus-visible { background: var(--surface-2); outline: none; }
.search-hit__id {
  flex-shrink: 0;
  min-width: 2.6em;
  padding: 0.15em 0.5em;
  border-radius: var(--r-pill);
  background: var(--grad-ocean);
  color: #04252b;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  text-align: center;
}
.search-hit__body { display: flex; flex-direction: column; min-width: 0; }
.search-hit__name {
  font-weight: 600;
  font-size: 0.95rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-hit__sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-empty,
.search-loading {
  margin: 0;
  padding: 0.7em 0.8em;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.search-loading { border-top: 1px solid var(--line); }
.search-empty__note { color: var(--text-dim); }

@media (max-width: 599px) {
  .site-search { margin-top: calc(-1 * var(--sp-4)); }
  .search-hit__id { font-size: 0.72rem; min-width: 2.3em; }
}

.booth-name-text,
.booth-name-hover,
.booth-name-overlay {
  font-family: var(--font-body);
  font-weight: 700;
  fill: #fff;
  text-anchor: middle;
  dominant-baseline: middle;
  pointer-events: none;
  letter-spacing: 0.02em;
}
.booth-name-bg { pointer-events: none; }
/* トグル ON 時の常時オーバーレイ（opacity は付けず常時可視） */
.booth-name-overlay,
.booth-name-overlay-bg { pointer-events: none; }
.booth-name-hover,
.booth-name-hover-bg {
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--t-fast);
}
.booth:hover .booth-name-hover,
.booth:hover .booth-name-hover-bg { opacity: 1; }

/* ホバー非対応（タッチ）ではホバー名を無効化（JSでも生成抑止済み） */
@media (hover: none), (pointer: coarse) {
  .booth-name-hover, .booth-name-hover-bg { display: none; }
}

/* 会場図ダウンロード */
.download-btn-container { text-align: center; margin-top: var(--sp-5); }
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.9em;
  border: none;
  border-radius: var(--r-pill);
  background: var(--grad-sun);
  color: #4a1d05;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 122, 89, 0.4);
  transition: transform var(--t), box-shadow var(--t), background var(--t);
}
.download-btn:hover {
  transform: translateY(-2px);
  background: var(--grad-sun-hover);
  box-shadow: 0 10px 28px rgba(255, 171, 64, 0.5);
}
.download-btn:disabled {
  cursor: default;
  opacity: 0.75;
  transform: none;
  box-shadow: 0 6px 20px rgba(255, 122, 89, 0.4);
}

/* ==========================================================================
   出展者タブ + 一覧
   ========================================================================== */
.booth-list-controls {
  display: flex;
  justify-content: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}
.booth-view-btn {
  min-width: 6.5em;
  height: 40px;
  padding: 0 1.1em;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
}
.booth-view-btn:hover { background: var(--surface-2); }
.booth-view-btn.is-active {
  background: var(--grad-ocean);
  border-color: transparent;
  color: #04302e;
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.45);
}

#booth-list-tabs {
  display: flex;
  gap: var(--sp-2);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--sp-2);
  margin-bottom: var(--sp-4);
}
#booth-list-tabs::-webkit-scrollbar { display: none; }
#booth-list-tabs.booth-tabs--center {
  justify-content: center;
}
#booth-list-tabs.booth-tabs--center .tab-btn {
  flex: 0 0 auto;
}
#booth-list-tabs[hidden] {
  display: none !important;
}

.tab-btn {
  flex: 1 0 auto;
  min-width: 48px;
  height: 48px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
}
.tab-btn:hover { background: var(--surface-2); }
.tab-btn.active {
  background: var(--grad-ocean);
  border-color: transparent;
  color: #04302e;
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.45);
}

#booth-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-2);
}

/* 「全部」表示時: 会場マップ高を超えたら一覧内スクロール */
#booth-list.is-scrollable {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-right: 0.15rem;
  scrollbar-gutter: stable;
  border-radius: var(--r-md);
}
#booth-list.is-scrollable::-webkit-scrollbar {
  width: 8px;
}
#booth-list.is-scrollable::-webkit-scrollbar-thumb {
  background: rgba(148, 233, 224, 0.35);
  border-radius: var(--r-pill);
}
#booth-list.is-scrollable::-webkit-scrollbar-track {
  background: transparent;
}

.booth-list-cell {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  width: 100%;
  min-height: 48px;
  padding: var(--sp-3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: inherit;
  font-family: inherit;
  font-size: 0.88rem;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
  word-break: break-word;
}
.booth-list-cell:hover {
  background: var(--surface-2);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.booth-list-cell:active { transform: translateY(0); }

/* ブース名検索ヒット時の一覧色付け */
.booth-list-cell--match {
  background: rgba(255, 209, 92, 0.18);
  border-color: rgba(255, 209, 92, 0.75);
  box-shadow: 0 0 0 1px rgba(255, 209, 92, 0.35), 0 6px 16px rgba(255, 209, 92, 0.18);
}
.booth-list-cell--match .booth-list-id {
  background: var(--grad-sun);
  color: #4a1d05;
}
.booth-list-cell--highlight {
  background: rgba(255, 209, 92, 0.32);
  border-color: #ffd15c;
  box-shadow: 0 0 0 2px rgba(255, 209, 92, 0.55), 0 8px 22px rgba(255, 209, 92, 0.35);
  animation: booth-list-pulse 0.9s ease-in-out infinite alternate;
}
@keyframes booth-list-pulse {
  from { box-shadow: 0 0 0 2px rgba(255, 209, 92, 0.4), 0 6px 14px rgba(255, 209, 92, 0.2); }
  to { box-shadow: 0 0 0 3px rgba(255, 209, 92, 0.85), 0 10px 24px rgba(255, 209, 92, 0.45); }
}
@media (prefers-reduced-motion: reduce) {
  .booth-list-cell--highlight { animation: none; }
}

.booth-list-id {
  flex-shrink: 0;
  min-width: 2.6em;
  padding: 0.28em 0.55em;
  border-radius: var(--r-sm);
  background: var(--grad-ocean);
  color: #04302e;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}

/* ==========================================================================
   リンクカード
   ========================================================================== */
.links {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
  align-items: start;
}
.link-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color var(--t), background var(--t), transform var(--t);
}
.link-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(45, 212, 191, 0.14);
}
.link-card__icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  font-size: 1.2rem;
  color: var(--sun);
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.16), rgba(255, 209, 92, 0.1));
  border: 1px solid var(--line);
}
.link-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.25em; }
.link-card__label {
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.45;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.link-card__url {
  color: var(--teal);
  font-size: 0.82rem;
  line-height: 1.4;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.link-card__url::after { content: ''; position: absolute; inset: 0; } /* カード全体をクリック可能に */
.link-card:hover .link-card__url { text-decoration: underline; }
.link-card__go { flex-shrink: 0; color: var(--text-dim); font-size: 0.95rem; }
.link-card__note {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* X 関連リンクを1カードにまとめる */
.links-group {
  padding: var(--sp-4);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.links-group--x {
  border-color: rgba(45, 212, 191, 0.35);
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.08) 0%, var(--card) 42%);
}
.links-group__head {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--line);
}
.links-group__icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  font-size: 1.2rem;
  color: var(--sun);
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.16), rgba(255, 209, 92, 0.1));
  border: 1px solid var(--line);
}
.links-group__title {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.links-group__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.links-group__item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}
.links-group__item:hover {
  border-color: var(--line-strong);
  background: var(--surface-2);
  transform: translateY(-1px);
}
.links-group__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15em;
}
.links-group__label {
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.4;
}
.links-group__meta {
  color: var(--teal);
  font-size: 0.8rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.links-group__go {
  flex-shrink: 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.links-subgroup {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-2);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
}
.links-subgroup__title {
  padding-inline: 0.3rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}
.links-subgroup__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.links-group__label-br { display: none; }
@media (max-width: 599px) {
  .links-group__label-br { display: inline; }
}

.links-note {
  margin-top: var(--sp-5);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  text-wrap: balance;
}
.links-note-br { display: none; }

@media (max-width: 599px) {
  .links-note-br { display: inline; }
}

/* ==========================================================================
   シェア
   ========================================================================== */
.share {
  padding-block: var(--sp-5);
}
.share__card {
  position: relative;
  overflow: hidden;
  max-width: 560px;
  margin-inline: auto;
  padding: var(--sp-5) var(--sp-6);
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--line-strong);
  box-shadow: 0 12px 32px rgba(13, 148, 136, 0.14);
  text-align: center;
}
.share__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-ocean);
}
.share__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-size: clamp(1.15rem, 4.2vw, 1.4rem);
  font-weight: 900;
  letter-spacing: 0.02em;
}
.share__title i {
  color: var(--teal);
  font-size: 1.05em;
}
.share__buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line);
  min-height: 52px;
}
/* X（Twitter）ウィジェットは iframe 化されるため、CSS で拡大する */
.share__buttons iframe {
  transform: scale(1.35);
  transform-origin: center center;
}

/* ==========================================================================
   フッター
   ========================================================================== */
.site-footer {
  margin-top: var(--sp-6);
  padding-block: var(--sp-6);
  padding-bottom: max(var(--sp-6), env(safe-area-inset-bottom));
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  text-align: center;
}
.site-footer__contact {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.55;
  max-width: 520px;
  margin-inline: auto;
}
.site-footer__lede {
  display: block;
  margin-bottom: 0.55em;
  color: var(--text-dim);
  font-size: 0.78rem;
}
.site-footer__channels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.45em 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer__channels li {
  display: inline-flex;
  align-items: center;
  gap: 0.15em;
  padding-inline: 0.55em;
}
.site-footer__channels li:not(:last-child) {
  border-right: 1px solid rgba(148, 163, 184, 0.35);
}
.site-footer a { color: var(--cyan); text-decoration: underline; text-underline-offset: 0.15em; }
.site-footer__copy { margin-top: var(--sp-4); color: var(--text-dim); font-size: 0.8rem; }
.site-footer__copy a { color: var(--teal); font-weight: 700; text-decoration: none; }

@media (max-width: 520px) {
  .site-footer__channels {
    flex-direction: column;
    gap: 0.55em;
  }
  .site-footer__channels li {
    padding-inline: 0;
  }
  .site-footer__channels li:not(:last-child) {
    border-right: none;
  }
}

/* ==========================================================================
   モーダル
   ========================================================================== */
.modal-bg {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(2, 16, 22, 0.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: var(--sp-3);
  justify-content: center;
  align-items: center;
}
.modal-bg.active { display: flex; }

.modal {
  position: relative;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.28s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

.modal-close {
  position: absolute;
  top: var(--sp-3); right: var(--sp-3);
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
}
.modal-close:hover { background: var(--teal); border-color: var(--teal); color: #04302e; }

.modal-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: var(--sp-4);
  padding-right: 2.5rem;
  line-height: 1.3;
}

/* 公式リンク群（出展者ページ・スプレッドシート・オンラインショップ） */
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}
.modal-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: var(--sp-2) var(--sp-4);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.modal-link:hover {
  background: var(--teal);
  color: var(--ink);
  border-color: var(--teal);
}
.modal-link__ext { font-size: 0.9em; opacity: 0.8; }
.modal-link--shop {
  color: var(--sun);
  border-color: rgba(255, 209, 92, 0.5);
}
.modal-link--shop:hover {
  background: var(--sun);
  color: var(--ink);
  border-color: var(--sun);
}

.modal-empty {
  padding: var(--sp-4) 0 var(--sp-5);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* オンライン商品（折りたたみ・参考） */
.modal-online {
  margin: 0 0 var(--sp-5);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
}
.modal-online > summary {
  cursor: pointer;
  list-style: none;
  padding: var(--sp-3) var(--sp-4);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.modal-online > summary::-webkit-details-marker { display: none; }
.modal-online > summary::before {
  content: "▸";
  font-size: 0.8em;
  color: var(--teal);
  transition: transform var(--t-fast);
}
.modal-online[open] > summary::before { transform: rotate(90deg); }
.modal-online__count {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--teal);
  border-radius: 999px;
  padding: 0.1rem 0.55rem;
}
.modal-online__note {
  padding: 0 var(--sp-4) var(--sp-3);
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.modal-online .modal-items-table-wrapper { margin: 0 var(--sp-3) var(--sp-3) var(--sp-3); }

.modal-items-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-2);
  padding-right: 2.5rem;
  border-bottom: 1px solid var(--line);
}
.modal-items-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: var(--sp-5);
  border-radius: var(--r-md);
}
.modal-items-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.modal-items-table th,
.modal-items-table td {
  padding: var(--sp-2) var(--sp-3);
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.modal-items-table th {
  background: var(--surface);
  color: var(--sun);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.modal-items-table tr:hover td { background: var(--surface); }

.modal-iframe {
  width: 100%;
  height: 600px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
}

.booth-no-url {
  display: grid;
  place-items: center;
  gap: var(--sp-3);
  min-height: 260px;
  padding: var(--sp-6);
  text-align: center;
  background: var(--surface);
  border: 2px dashed var(--line-strong);
  border-radius: var(--r-lg);
}
.booth-no-url p { font-size: 1.3rem; font-weight: 700; color: var(--sun); }
.booth-no-url .booth-no-url-sub { font-size: 0.95rem; font-weight: 400; color: var(--text-muted); }

.error-notification {
  padding: var(--sp-4);
  margin-bottom: var(--sp-4);
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid rgba(220, 38, 38, 0.5);
  border-radius: var(--r-md);
  color: #fca5a5;
  text-align: center;
  font-size: 0.9rem;
}

/* ==========================================================================
   出展品一覧ページ（items.html）
   ========================================================================== */
body:has(#sheet-table) {
  padding: 0 max(var(--sp-4), env(safe-area-inset-right)) max(var(--sp-6), env(safe-area-inset-bottom)) max(var(--sp-4), env(safe-area-inset-left));
}
body:has(#sheet-table) h2 {
  max-width: var(--container);
  margin: var(--sp-6) auto var(--sp-4);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  font-weight: 800;
  line-height: 1.4;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
#sheet-table { max-width: var(--container); margin: 0 auto var(--sp-6); }
#sheet-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
#sheet-table th, #sheet-table td {
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}
#sheet-table th {
  background: var(--surface);
  color: var(--sun);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
#sheet-table tr:hover td { background: var(--surface); }

/* ==========================================================================
   レスポンシブ（タブレット・PC）
   ========================================================================== */
@media (min-width: 600px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  #booth-list-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tab-btn { flex: 0 0 auto; }
}

/* スマホ・単カラム時は会場マップ／出展者一覧を中央寄せ */
@media (max-width: 999px) {
  .guide__map .section-head,
  .guide__booths .section-head {
    text-align: center;
  }
  .guide__map .section-title,
  .guide__booths .section-title {
    justify-content: center;
  }
  #booth-list-tabs {
    justify-content: center;
  }
  #booth-list-tabs .tab-btn {
    flex: 0 0 auto;
  }
  .guide__booths .booth-list-controls {
    justify-content: center;
  }
}

/* リンクは列幅が十分に確保できる幅から2カラム化（狭い幅では改行が増えるため） */
@media (min-width: 820px) {
  .links { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .section { padding-block: var(--sp-7); }
  .guide {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: var(--sp-6);
    align-items: start;
  }
  .guide__booths { margin-top: 0; }
  .guide__map { position: sticky; top: var(--sp-4); }
  .venue-map { max-width: 620px; margin-inline: auto; }
  #booth-list-grid { grid-template-columns: 1fr; }
  #booth-list-tabs { flex-wrap: wrap; overflow: visible; }
  /* PC 2カラム時は左寄せの方がサイドバー一覧と揃う */
  .guide__map .section-head--center,
  .guide__booths .section-head--center {
    text-align: left;
  }
  .guide__map .section-head--center .section-title,
  .guide__booths .section-head--center .section-title {
    justify-content: flex-start;
  }
  #booth-list-tabs.booth-tabs--center {
    justify-content: flex-start;
  }
  .guide__booths .booth-list-controls {
    justify-content: flex-start;
  }
}

@media (min-width: 1240px) {
  .guide { grid-template-columns: minmax(0, 1fr) 420px; }
  #booth-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   アクセシビリティ
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: var(--r-pill); }
::-webkit-scrollbar-thumb:hover { background: var(--teal); }
