:root {
  --brand: #0091d9;
  --ink: #083c45;
  --muted: #597181;
  --pos: #e69429;
  --bg: #f6f9fb;
  --line: rgba(8, 60, 69, 0.12);
  --focus: color-mix(in oklab, var(--brand) 86%, #000);
  --nav-h: 64px; /* 固定ヘッダー高 */
  --hero-pt: calc(var(--nav-h) + 56px); /* ヒーロー上余白 */
  --hero-pb: 56px; /* ヒーロー下余白 */
  --hero-head-gap: clamp(10px, 1.8vw, 18px);
  --hero-head-m-y: clamp(18px, 3.2vw, 34px);
}

/* 旧フローティングロゴを常に隠す（保険） */
#osb-floating-logo {
  display: none !important;
  visibility: hidden !important;
}

/* 基本 */
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Noto Sans JP', system-ui, -apple-system, 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif;
}

/* ヘッダー */
.overlay-nav {
  background: rgba(255, 255, 255, 0.432);
  z-index: 100;
  padding-top: 0;
  padding-bottom: 10px;
}
.navbar-brand.brand-chip img {
  display: block;
  height: clamp(40px, 7vw, 60px);
  width: auto;
}

.logo_bar {
  margin-left: 0px;
}
@media (max-width: 768px) {
  .logo_bar {
    margin-left: 0px;
  }
  .overlay-nav {
    padding-bottom: 14px;
  }
}
/* 共通ラッパ */
.ta-wrap {
  width: min(1100px, 92vw);
  margin: clamp(20px, 5vw, 40px) auto;
  padding-top: calc(56px + 16px);
}
.ta-title {
  margin: clamp(20px, 5vw, 32px) 0 clamp(16px, 3vw, 22px);
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: clamp(22px, 3.2vw, 32px);
  line-height: 1.25;
  text-align: center;
}
.ta-title > span {
  position: relative;
  display: inline-block;
  padding: 0 0.2em 0.15em;
}
.ta-title > span::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -2px;
  width: calc(100% + 18px);
  height: 10px;
  background: var(--brand);
  opacity: 0.28;
  border-radius: 999px;
}

/* ヒーロー（背景＋基本タイポ） */
.hero--noimg {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0));
}
.hero .wrap {
  max-width: 1100px;
  margin: 0 auto;
}
.hero h1 {
  margin: 0 0 0.3em;
  font-size: clamp(26px, 4.5vw, 40px);
  font-weight: 900;
  letter-spacing: 0.02em;
}
.hero p {
  margin: 0;
  opacity: 0.95;
  line-height: 1.8;
}

/* ヒーロー見出し（モダン） */
.hero .hero-head {
  display: grid;
  place-items: center;
  gap: var(--hero-head-gap);
  margin: var(--hero-head-m-y) 0;
}
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.35em 0.8em;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(4px);
  -webkit-backdrop-filter: saturate(140%) blur(4px);
}
.hero .hero-title {
  position: relative;
  display: grid;
  place-items: center;
}
.hero .hero-title__text {
  --g: linear-gradient(
    90deg,
    var(--brand) 0%,
    color-mix(in oklab, var(--brand) 65%, #7bd5ff) 60%,
    #7bd5ff 100%
  );
  background: var(--g);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important; /* 強制白文字対策 */
  font-size: clamp(30px, 3.2vw, 52px);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.15);
}
.hero .hero-title__glow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  width: clamp(180px, 38vw, 460px);
  height: 14px;
  background: radial-gradient(
    60% 100% at 50% 50%,
    rgba(123, 213, 255, 0.55),
    transparent 70%
  );
  filter: blur(6px);
  opacity: 0.8;
  pointer-events: none;
}
.hero .tagline {
  opacity: 0.92;
}
@media (prefers-reduced-motion: reduce) {
  .hero .hero-title__glow {
    filter: none;
  }
}

/* 汎用カード/見出し */
.osb-wrap {
  max-width: 1100px;
  margin: 18px auto;
  padding: 0 12px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}
.panel .pad {
  padding: clamp(18px, 3.2vw, 28px);
}
.section-title {
  margin: 0 0 0.6em;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
}
.lead {
  color: var(--muted);
  line-height: 1.9;
  margin: 0.2em 0 0;
}
.space {
  margin: 25px auto;
}
/* === Top Visual（最上部写真） === */
.top-photo {
  width: min(1100px, 92vw);
  margin: 150px auto 0;
} /* 必要なら calc(var(--nav-h)+16px) に変更可 */
.top-photo__card {
  border-radius: 20px;
  overflow: hidden;
  background: #eaf1f6;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}
.top-photo__card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}
@media (max-width: 768px) {
  .top-photo {
    margin: 150px auto 0;
  }
  .ta-wrap {
    padding-top: calc(6px + 1px);
  }
}

/* ===== エリアマップ ===== */
/* カード本体（柔らかガラス＋薄パターン） */
.map-box {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(8, 60, 69, 0.12);
  background: linear-gradient(180deg, #fff, #f7fbff);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}
.map-box::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
      1000px 200px at 50% -50%,
      rgba(0, 145, 217, 0.08),
      transparent 60%
    ),
    repeating-linear-gradient(
      45deg,
      transparent 0 20px,
      rgba(8, 60, 69, 0.02) 20px 40px
    );
}
/* スケール用キャンバス */
.map-canvas {
  position: relative;
  transform-origin: center center;
  transition: transform 0.18s ease;
}
/* 地図画像 */
.map-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: #eaf1f6;
}
/* ツールバー（右上・ガラス） */
.map-tools {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 5;
  display: flex;
  gap: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  border: 1px solid rgba(8, 60, 69, 0.12);
  border-radius: 12px;
}
@media (max-width: 768px) {
  .map-tools {
    right: 40%;
    top: 60%;
  }
}
.tool-btn {
  appearance: none;
  border: 1px solid rgba(8, 60, 69, 0.16);
  background: #fff;
  padding: 0.45em 0.7em;
  border-radius: 10px;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.12s, background-color 0.12s;
}
.tool-btn:hover {
  transform: translateY(-1px);
  background: #f2f7fb;
}
/* マーカー（立体＋リング） */
.map-marker {
  --sz: 30px;
  position: absolute;
  transform: translate(-50%, -50%);
  width: var(--sz);
  height: var(--sz);
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  background: var(--brand);
  border: 2px solid #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18), inset 0 -3px 0 rgba(0, 0, 0, 0.08);
  transition: transform 0.15s, box-shadow 0.15s;
}
.map-marker.sakai {
  background: #ff7a59;
}
.map-marker:hover {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24),
    inset 0 -3px 0 rgba(0, 0, 0, 0.08);
  z-index: 99;
}
/* 吹き出し */
.map-marker::after {
  content: attr(data-name);
  position: absolute;
  left: 50%;
  transform: translate(-50%, -12px) scale(0.96);
  bottom: calc(100% + 8px);
  background: #0b1f28;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35em 0.6em;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s, transform 0.15s;
}
.map-marker:hover::after,
.map-marker:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, -14px) scale(1);
}
.map-marker:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--brand) 22%, transparent),
    0 8px 18px rgba(0, 0, 0, 0.18);
}
/* 凡例（ガラスチップ） */
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px;
  color: #536b79;
  font-size: 0.92rem;
}
.map-legend.glass {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  border: 1px solid rgba(8, 60, 69, 0.12);
  border-radius: 12px;
  padding: 8px 10px;
}
.map-legend .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.35em 0.7em;
  border: 1px solid rgba(8, 60, 69, 0.12);
  border-radius: 999px;
  background: #fff;
}
.map-legend .dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
}
.dot-near {
  background: var(--brand);
}
.dot-sakai {
  background: #ff7a59;
}
@media (max-width: 575px) {
  .map-marker {
    --sz: 40px;
    font-size: 1.05rem;
  }
  .tool-btn {
    padding: 0.55em 0.8em;
  }
}

/* 2枚を縦に並べる */
.map-stack {
  display: grid;
  gap: 24px;
}

/* 各マップの小見出し */
.map-subtitle {
  margin: 12px 12px 6px;
  font-size: clamp(16px, 1.6vw, 18px);
  font-weight: 800;
  color: #083c45;
}

/* 凡例と小見出しの間の余白微調整（既存に追加） */
.map-legend {
  margin: 12px;
}

/* マーカー色（既存と同じ。near=ブランド色、sakai=オレンジ） */
.map-marker.near {
  background: var(--brand, #0091d9);
}
.map-marker.sakai {
  background: #ff7a59;
}

/* スマホはピンを少し小さく（見やすさ優先） */
@media (max-width: 575.98px) {
  .map-marker {
    --sz: 28px;
    font-size: 0.95rem;
  } /* 既存 --sz を上書き */
  .map-venue .label {
    font-size: 0.82rem;
    padding: 0.2em 0.45em;
  }
}

/* タップしたピンを“ポワッと”ハイライト */
.map-marker.is-focus::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 3px solid #fff;
  border-radius: 999px;
  box-shadow: 0 0 0 3px color-mix(in oklab, currentColor 65%, transparent);
  animation: osb-ping 1s ease-out 1;
  pointer-events: none;
}
@keyframes osb-ping {
  0% {
    opacity: 0.65;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}

/* スマホ下に“スポット番号”の横スクロールリストを自動生成して入れる */
@media (max-width: 575.98px) {
  .map-spotlist {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    margin: 0 10px 10px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(8, 60, 69, 0.12);
    border-radius: 12px;
    backdrop-filter: blur(8px) saturate(140%);
  }
  .map-spotlist .spotchip {
    scroll-snap-align: start;
    appearance: none;
    border: 1px solid rgba(8, 60, 69, 0.18);
    background: #fff;
    border-radius: 999px;
    padding: 0.42em 0.7em;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
  }
  .map-spotlist .spotchip:hover {
    background: #f2f7fb;
  }
}

/* モバイルでもツールボタンを表示（ピンチは使わない） */
@media (max-width: 575.98px) {
  .map-box .map-tools {
    display: flex !important;
  }
  .map-canvas {
    touch-action: auto !important;
    cursor: default;
  }
}

/* 「地図に戻る」ボタン */
.to-map {
  font-size: 13px;
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.45em 0.8em;
  border-radius: 99px;
  border: 1px solid rgba(8, 60, 69, 0.18);
  background: #fff;
  font-weight: 200;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.12s, background-color 0.12s;
}
.to-map:hover {
  transform: translateY(-1px);
  background: #f2f7fb;
}
.to-map::before {
  content: '⤴';
  font-weight: 900;
  line-height: 1;
}

/* スクロール時にヘッダーで隠れないように（数値はサイトに合わせて調整） */
[id^='spot-'],
.map-box {
  scroll-margin-top: 80px;
}

/* 押したマーカーをポワッと強調（既に定義済みなら不要） */
.map-marker.is-focus::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 3px solid #fff;
  border-radius: 999px;
  box-shadow: 0 0 0 3px color-mix(in oklab, currentColor 65%, transparent);
  animation: osb-ping 1s ease-out 1;
  pointer-events: none;
}
@keyframes osb-ping {
  0% {
    opacity: 0.65;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}

/* スポット一覧：PC 2カラム → SP 1カラム */
.spots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 991px) {
  .spots {
    grid-template-columns: 1fr;
  }
}

.spot-group {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.spot-group .hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.spot-ttl {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
}
.badge-kind {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.35em 0.7em;
  border-radius: 999px;
  font-size: 0.85rem;
  color: #fff;
}
.badge-near {
  background: var(--brand);
}
.badge-sakai {
  background: #ff7a59;
}

.spot-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 14px;
}
.spot-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}
@media (max-width: 575px) {
  .spot-card {
    grid-template-columns: 1fr;
  }
}

.ph {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: repeating-linear-gradient(
    45deg,
    #f2f7fb,
    #f2f7fb 10px,
    #e7eef5 10px,
    #e7eef5 20px
  );
  border: 1px dashed rgba(8, 60, 69, 0.25);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #8aa0ad;
  font-size: 0.9rem;
}
.ph::after {
  content: 'No image';
  opacity: 0.9;
}

/* 画像が入ったときは ph を“写真枠”にする */
.ph {
  position: relative;
  overflow: hidden;
}
.ph > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* トリミングして綺麗に収める */
  border-radius: inherit;
}
/* :has(img) で No image を自動消去 & 背景/罫線を薄く */
.ph:has(img) {
  background: #fff;
  border-style: solid;
  border-color: rgba(8, 60, 69, 0.12);
}
.ph:has(img)::after {
  content: none;
}

/* 文章回り込み：PC/タブレットは左に寄せてテキスト回り込み、スマホは上にフル幅 */
.spot-card {
  display: flow-root;
} /* 浮動要素のはみ出し抑制 */
@media (min-width: 768px) {
  .spot-card .ph {
    float: left;
    width: clamp(260px, 38%, 420px); /* お好みで調整 */
    margin: 0 16px 10px 0; /* 右/下の余白 */
    aspect-ratio: 16/9;
  }
}
@media (max-width: 767.98px) {
  .spot-card .ph {
    float: none;
    width: 100%;
    margin: 0 0 10px;
    aspect-ratio: 16/9;
  }
}

.ph.has-img {
  background: #fff;
  border-style: solid;
  border-color: rgba(8, 60, 69, 0.12);
}
.ph.has-img::after {
  content: none;
}

/* --- Spot card: 写真→本文（回り込み解除） --- */
.spot-card {
  display: block;
}

/* 写真ブロックはカード幅いっぱい、下にだけ余白。回り込みは完全無効化 */
.spot-card .ph {
  float: none !important;
  clear: both !important;
  width: 100% !important;
  margin: 0 0 12px !important;
  border-radius: 10px;
  overflow: hidden;
}

/* 画像が入ったときは「No image」を消して普通の写真枠に */
.spot-card .ph:has(img) {
  background: #fff;
  border-style: solid;
  border-color: rgba(8, 60, 69, 0.12);
  /* プレースホルダ用の 16:9 は解除して画像の高さに合わせる */
  aspect-ratio: auto;
}
.spot-card .ph:has(img)::after {
  content: none;
}

/* 画像はカード幅100%、自然な高さ。前ルールの absolute を打ち消し */
.spot-card .ph > img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  object-fit: cover; /* 横長/縦長混在でも見栄え良く */
  border-radius: inherit;
}

/* 本文側のちょい余白（任意） */
.spot-card .spot-meta {
  margin-top: 4px;
}

.spot-meta {
  display: grid;
  gap: 6px;
}
.spot-meta h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
}
.spot-meta p {
  margin: 0;
  color: #536b79;
  line-height: 1.7;
}
@media (max-width: 768px) {
  .spot-meta p {
    font-size: 13px;
    line-height: 1.6;
  }
}

/* spot-list 内で 1 からカウント開始（必要なら start 値を変数化） */
.spot-list {
  counter-reset: spot var(--spot-start, 0);
}

/* 各カードで +1 して見出しの先頭に表示 */
.spot-card {
  counter-increment: spot;
}

.spot-meta h3 {
  display: flex;
  align-items: center;
  gap: 0.6em;
}
.spot-meta h3::before {
  content: counter(spot);
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  font: 700 14px/1 'Inter', system-ui, sans-serif;
  color: #fff;
  background: linear-gradient(135deg, #2ea7e0, #0b73be);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  flex: 0 0 28px;
}

.spot-actions {
  margin-top: 6px;
}
.btn-site {
  display: inline-block;
  padding: 0.55em 1em;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink); /* ← # を外す */
  transition: background 0.15s, transform 0.15s;
}

.btn-site:hover {
  background: #f2f7fb;
}

/* ===== Spot actions：PCは横並び／SPは縦並び（強制） ===== */
@media (min-width: 576px) {
  .spot-card .spot-actions {
    display: flex !important;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
  }
  .spot-card .spot-actions > * {
    width: auto !important; /* 先の幅指定を打ち消し */
    justify-content: center;
  }
}
@media (max-width: 575.98px) {
  .spot-card .spot-actions {
    display: grid !important;
    grid-template-columns: 1fr; /* 縦1列 */
    gap: 8px;
    margin-top: 8px;
  }
  .spot-card .spot-actions > * {
    width: 100% !important; /* 横幅いっぱいで押しやすく */
    justify-content: center;
  }
}

/* ========== ボタン共通スタイル（小さめ・ピル型） ========== */
.spot-card .spot-actions .btn-site,
.spot-card .spot-actions .to-map {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.46em 0.9em; /* 小さめ */
  font-size: clamp(13px, 1vw, 14px); /* 小さめテキスト */
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1px solid rgba(8, 60, 69, 0.18);
  background: #fff;
  color: #083c45;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.12s, background-color 0.12s, box-shadow 0.12s,
    border-color 0.12s, color 0.12s;
}
.spot-card .spot-actions .btn-site:hover,
.spot-card .spot-actions .to-map:hover {
  transform: translateY(-1px);
  background: #f5fafc;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}
.spot-card .spot-actions .btn-site:active,
.spot-card .spot-actions .to-map:active {
  transform: translateY(0);
}

.spot-card .spot-actions .btn-site:focus-visible,
.spot-card .spot-actions .to-map:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px
    color-mix(in oklab, var(--brand, #0091d9) 25%, transparent);
}

/* ===== 「地図に戻る」をカード右下に固定表示 ===== */
.spot-card {
  position: relative;
}

/* 右下に固定。コンテンツと重ならないように下に余白を確保 */
.spot-card .to-map {
  position: absolute !important;
  right: 12px;
  bottom: 12px;
  z-index: 1;
}
@media (max-width: 575.98px) {
  .spot-card {
    padding-bottom: 54px;
  } /* SPは少し多めに確保 */
}

/* スクロール着地点のハイライト */
.spot-card.highlight {
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--brand) 22%, transparent);
}

/* === Map header（タイトル＋セグメント） === */
.map-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.map-title {
  margin: 0;
}
.map-title > span {
  position: relative;
  display: inline-block;
  padding-bottom: 0.2em;
}
.map-title > span::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -3px;
  width: calc(100% + 14px);
  height: 6px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--brand) 40%, white 60%);
  opacity: 0.6;
}

/* セグメント（ラジオボタンの見た目化） */
.seg {
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  display: flex;
  gap: 4px;
}
.seg input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.seg label {
  padding: 0.42em 0.9em;
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--ink);
  opacity: 0.72;
  transition: 0.15s;
}
.seg input:checked + label {
  background: var(--brand);
  color: #fff;
  opacity: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* 切替時のマーカー表現 */
.map-marker.is-dim {
  opacity: 0.18;
  filter: saturate(0.4) grayscale(0.3);
}
.map-marker.is-hide {
  display: none;
}

/* 下のテキストカード */
.map-copy {
  margin-top: 14px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}
.map-copy__ttl {
  margin: 0 0 0.4em;
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--ink);
}
.map-copy__bullets {
  margin: 0;
  padding-left: 1.1em;
  display: grid;
  gap: 0.35em;
  color: #536b79;
  line-height: 1.8;
}
.map-copy__bullets li span {
  font-weight: 800;
  color: var(--ink);
}
.map-copy__chips {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.map-copy .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.35em 0.7em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

/* スクロール時のふわっと（GSAPが無い環境でも自然に） */
.reveal-once {
  opacity: 0;
  transform: translateY(12px);
}
.revealed {
  opacity: 1 !important;
  transform: none !important;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* === Autumn theme for map-copy === */
.map-copy.is-autumn {
  background: linear-gradient(180deg, #fffaf3, #fffefb); /* ほんのり秋色 */
  border-color: color-mix(in oklab, #d17a00 18%, var(--line));
  box-shadow: 0 10px 22px rgba(209, 122, 0, 0.06),
    0 2px 0 rgba(209, 122, 0, 0.04) inset;
}
.map-copy.is-autumn .map-copy__ttl {
  color: color-mix(in oklab, #a85e00 42%, var(--ink));
}
.map-copy.is-autumn .map-copy__bullets li span {
  color: color-mix(in oklab, #a85e00 48%, var(--ink));
}
.map-copy.is-autumn .chip {
  background: #fff;
  border-color: color-mix(in oklab, #d17a00 24%, var(--line));
}

/* ===== 会場ピン（常時表示ラベル＆リング） ===== */
.map-venue {
  --sz: 42px;
  position: absolute;
  z-index: 6;
  left: 50%;
  top: 50%;
  width: var(--sz);
  height: var(--sz);
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    color-mix(in oklab, var(--pos) 85%, #000),
    var(--pos)
  );
  border: 3px solid #fff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22),
    inset 0 -4px 0 rgba(0, 0, 0, 0.12);
}

/* 中央の白ドット */
.map-venue::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.35) inset;
}

/* パルスリング 
.map-venue::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 999px;
  border: 2px solid color-mix(in oklab, var(--brand) 70%, #fff);
  animation: mapVenuePing 1.8s ease-out infinite;
  opacity: 0.8;
}
@keyframes mapVenuePing {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  80% {
    transform: scale(1.7);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}*/

/* 右側に常時出るラベル */
.map-venue .label {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  padding: 0.35em 0.6em;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
  color: #fff;
  background: #0b1f28;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}
.map-venue .label::after {
  content: '';
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: #0b1f28;
}

/* SPはラベルを下に逃がす（重なり回避） */
@media (max-width: 575px) {
  .map-venue .label {
    left: 50%;
    top: calc(100% + 10px);
    transform: translate(-50%, 0);
  }
  .map-venue .label::after {
    left: 50%;
    top: -6px;
    transform: translateX(-50%);
    border-right-color: transparent;
    border-bottom-color: #0b1f28;
  }
}

/* 凡例の会場色 */
.map-legend .dot-venue {
  background: #23b26d;
} /* 目立つグリーン。好みで変更可 */

/* === Map markers: mobile size adjustment (override) === */
@media (max-width: 575px) {
  .map-marker {
    --sz: 22px; /* 旧: 40px → 小さめに */
    font-size: 0.7rem; /* 数字も控えめに */
  }
  .map-venue {
    --sz: 34px;
  } /* 会場ピンも少し縮小 */
  .map-venue .label {
    font-size: 0.82rem;
    padding: 0.3em 0.55em;
  }
}

/* 見出しの左に丸バッジを出す用 */
.spot-meta h3.has-badge {
  display: flex;
  align-items: center;
  gap: 0.6em;
}
.spot-badge {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  font: 700 14px/1 'Inter', system-ui, sans-serif;
  color: #fff;
  background: var(
    --badge-bg,
    linear-gradient(135deg, #2ea7e0, #0b73be)
  ); /* 既定色 */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  flex: 0 0 28px;
}
/* 旧方式の疑似要素バッジを全て無効化（数字の重複を防ぐ） */
.spots .spot-list > .spot-card .spot-meta h3::before,
.spot-title::before {
  content: none !important;
}
