/**
 * OSAKA KITA ARCHIVE - スタイルシート
 * css/style.css


/* ============================================================
   01. デザイントークン
   ============================================================ */
:root {
  --bg-primary: #faf8f5;
  --bg-secondary: #f4f1ec;
  --line-color: #d8d0c4;
  --text-main: #333333;
  --text-sub: #8a8278;
  --accent: #e5a86c;
  --accent-blue: #72a5dd;
  --navy: #1a2942;
  --easing: cubic-bezier(0.19, 1, 0.22, 1);
  --font-en: "Montserrat", sans-serif;
  --font-jp: "Noto Serif JP", "Shippori Mincho", serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* ============================================================
   02. リセット・ベーススタイル
   ============================================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-en), "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  display: flex;
  -webkit-tap-highlight-color: transparent;
}

img {
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* ============================================================
   03. スクロールバーカスタマイズ
   ============================================================ */
::-webkit-scrollbar {
  width: 2px;
  height: 2px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-blue);
}

/* ============================================================
   04. サイドナビゲーション（PC 左サイドバー）
   ============================================================ */
.index-nav {
  width: 280px;
  height: 100%;
  border-right: 1px solid var(--line-color);
  display: flex;
  flex-direction: column;
  background-color: var(--bg-primary);
  z-index: 10;
  flex-shrink: 0;
  position: relative;
}

.brand-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0 24px;
  border-bottom: 1px solid var(--line-color);
}

.brand-title {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.4em;
  font-weight: 400;
  color: var(--text-main);
  line-height: 1.8;
}

/* ============================================================
   05. スライディングパネル
   ============================================================ */
.nav-viewport {
  flex: 1;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-primary);
}

.nav-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-primary);
  transition: transform 0.6s var(--easing);
  z-index: 1;
}

.nav-panel.is-active {
  transform: translateX(0);
  z-index: 2;
}

.nav-panel.is-next {
  transform: translateX(100%);
}

.nav-panel.is-prev {
  transform: translateX(-100%);
}

/* ============================================================
   06. ナビゲーションボタン共通
   ============================================================ */
.nav-panel-btn,
.nav-item {
  display: flex;
  align-items: center;
  border: none;
  border-bottom: 1px solid var(--line-color);
  cursor: pointer;
  transition: all 0.4s ease;
  background-color: var(--bg-primary);
  background-image: var(--bg-img, none);
  background-size: cover;
  background-position: center;
  position: relative;
  color: var(--text-main);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  font-weight: 700;
}

.nav-panel-btn {
  flex: 1;
  justify-content: space-between;
  padding: 0 24px;
  font-size: 15px;
  letter-spacing: 0.2em;
  text-align: left;
}

.nav-panel-btn:hover {
  box-shadow: inset 0 0 0 1000px rgba(26, 41, 66, 0.08);
}

/* ── PC用 BACKボタン ── */
.panel-back-btn {
  flex: 0 0 60px;
  padding: 0 32px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--accent-blue);
  background: rgba(114, 165, 221, 0.05);
  border: none;
  border-bottom: 1px solid rgba(114, 165, 221, 0.15);
  background-image: none;
  text-shadow: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  transition: all 0.5s var(--easing);
  position: relative;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
}

.panel-back-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--accent-blue);
  transition: all 0.5s var(--easing);
  z-index: -1;
}

.panel-back-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transition: all 0.5s var(--easing);
  z-index: -2;
}

.panel-back-btn:hover {
  color: #ffffff;
  padding-left: 40px;
  border-bottom-color: transparent;
}

.panel-back-btn:hover::before {
  width: 0;
}

.panel-back-btn:hover::after {
  left: 0;
}

.nav-item {
  flex: 1;
  padding: 0 24px;
  font-family: var(--font-jp);
  font-size: 17px;
  letter-spacing: 0.15em;
  text-align: left;
  line-height: 1.5;
}

.nav-item::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 1px;
  background-color: var(--text-main);
  transition:
    width 0.4s ease,
    margin-right 0.4s ease;
}

.nav-item:hover {
  box-shadow: inset 0 0 0 1000px rgba(26, 41, 66, 0.06);
}

.nav-item.active {
  box-shadow: inset 0 0 0 1000px rgba(26, 41, 66, 0.3);
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.nav-item.active::before {
  width: 16px;
  margin-right: 12px;
  background-color: #ffffff;
}

/* ============================================================
   07. 矢印アイコン
   ============================================================ */
.arrow-next {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: rotate(45deg);
}

.arrow-prev {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-left: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

/* ============================================================
   08. 右コンテンツエリア
   ============================================================ */
.content-area {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-secondary);
  position: relative;
  z-index: 1;
}

.empty-state {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary); /* 画像読み込み前のベース色 */
  z-index: 5;
  transition: opacity 0.6s ease;
  overflow: hidden;
}

/* 背景スライダーのコンテナ */
.empty-bg-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* 画像を暗くして文字を読ませるための黒いベール */
.empty-bg-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 41, 66, 0.1); /* ネイビー系の半透明 */
  z-index: 2;
}

/* 個別の背景画像（クロスフェード＆少しズームするアニメーション） */
.empty-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition:
    opacity 2s cubic-bezier(0.19, 1, 0.22, 1),
    transform 8s linear;
  transform: scale(1);
}

.empty-bg-slide.active {
  opacity: 1;
  transform: scale(1.05); /* ふわっと表示されながら少しズーム */
}

/* キャッチコピーのコンテナ */
.empty-content {
  position: relative;
  z-index: 3; /* 背景より上に配置 */
  text-align: center;
  color: #ffffff;
  padding: 0 40px;
}

/* メインキャッチコピー */
.empty-main-copy {
  font-family: var(--font-jp);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.3;
  margin-bottom: 24px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* サブキャッチコピー */
.empty-sub-copy {
  font-family: var(--font-jp);
  font-size: 20px;
  letter-spacing: 0.15em;
  line-height: 2.2;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.6);
}

/* ============================================================
   タブレット用（画面幅 1024px 以下）
   ============================================================ */
@media (max-width: 1024px) {
  .empty-content {
    padding: 0 32px; /* 画面端の余白を少し縮小（整列） */
  }
  .empty-main-copy {
    font-size: 32px;
    margin-bottom: 20px; /* 余白を調整（近接） */
  }
  .empty-sub-copy {
    font-size: 18px;
    line-height: 2;
  }
}

/* ============================================================
   スマートフォン用（画面幅 600px 以下）
   ============================================================ */
@media (max-width: 600px) {
  .empty-content {
    padding: 0 20px; /* スマホの狭い画面でも文字が端に引っ付かないようにガード（整列） */
  }
  .empty-main-copy {
    font-size: 24px; /* 長いキャッチコピーでも綺麗に改行されるサイズ（コントラスト） */
    line-height: 1.4;
    margin-bottom: 16px; /* メインとサブの距離を近づけてグループ化（近接） */
  }
  .empty-sub-copy {
    font-size: 16px;
    line-height: 1.8; /* 狭い画面でも読みやすい行間に調整（反復） */
  }
}

.btn-back-to-index {
  display: none;
}

/* ============================================================
   09. 詳細表示グリッド
   ============================================================ */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s var(--easing);
}

.detail-grid.show {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   10. 画像セクション（左カラム）
   ============================================================ */
.image-section {
  border-right: 1px solid var(--line-color);
  display: flex;
  flex-direction: column;
  padding: 10px;
  background-color: var(--bg-primary);
}

.image-frame {
  flex: 1;
  background-color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-md);
}

#view-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition:
    opacity 1.2s var(--easing),
    transform 2s var(--easing);
}

#view-image.loaded {
  opacity: 1;
  transform: scale(1);
}

.image-placeholder {
  color: var(--text-sub);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-align: center;
  line-height: 2;
}

/* ============================================================
   11. データ・テキストセクション（右カラム）
   ============================================================ */
.data-section {
  padding: 60px 48px;
  overflow-y: auto;
}

.data-title {
  font-family: var(--font-jp);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.3;
  color: var(--text-main);
  position: relative;
  padding-bottom: 16px;
  display: inline-block;
  margin-bottom: 20px;
}

.data-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: var(--accent);
}

.spec-group {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.spec-item {
  padding-top: 0;
}

.spec-label {
  font-size: 10px;
  color: var(--text-sub);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}

.spec-value {
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 2;
  color: var(--text-main);
}

/* ============================================================
   12. スマホ・タブレット用 ナビゲーション (max-width: 1024px)
   ============================================================ */
.tablet-bottom-nav,
.tablet-panel-wrap {
  display: none;
}

@media (max-width: 1024px) {
  body {
    flex-direction: column;
  }

  body .index-nav {
    display: none;
  }

  body .tablet-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(80px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background-color: var(--bg-primary);
    border-top: 1px solid var(--line-color);
    z-index: 100;
  }

  .tb-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    color: #bbb;
    position: relative;
  }

  .tb-tab.active {
    color: var(--accent-blue);
  }

  .tb-tab svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    transition: stroke 0.3s;
  }

  .tb-tab span {
    font-family: var(--font-en);
    font-size: 10px;
    letter-spacing: 0.1em;
    font-weight: 700;
    transition: color 0.3s;
  }

  .tb-tab-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--accent-blue);
    transition: width 0.3s var(--easing);
  }

  .tb-tab.active .tb-tab-line {
    width: 32px;
  }

  body .content-area {
    width: 100%;
    height: calc(100vh - 80px - env(safe-area-inset-bottom));
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: calc(80px + env(safe-area-inset-bottom));
    z-index: 1;
    background-color: var(--bg-secondary);
  }

  .detail-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    overflow-y: auto;
  }

  .image-section {
    padding: 24px;
    height: 45vh;
    min-height: 300px;
    border-right: none;
    border-bottom: 1px solid var(--line-color);
  }

  .data-section {
    padding: 32px 24px 120px;
    overflow-y: visible;
  }

  body .btn-back-to-index {
    display: none;
  }

  .tablet-panel-wrap {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: calc(80px + env(safe-area-inset-bottom));
    background-color: var(--bg-primary);
    z-index: 50;
    transform: translateY(100%);
    transition: transform 0.4s var(--easing);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -8px 32px rgba(26, 41, 66, 0.08);
  }

  .tablet-panel-wrap.open {
    transform: translateY(0);
  }

  .tb-panel {
    position: absolute;
    inset: 0;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    padding-bottom: 40px;
    background-color: var(--bg-primary);
    border-radius: 20px 20px 0 0;
  }

  .tb-panel.active {
    opacity: 1;
    pointer-events: auto;
  }

  .tb-panel-header {
    padding: 40px 24px 20px;
    background: var(--bg-primary);
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .tb-panel-header::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--line-color);
    border-radius: 4px;
  }

  .tb-panel-title {
    font-family: var(--font-en);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2em;
  }

  .tb-back-btn {
    background: rgba(114, 165, 221, 0.08);
    border: 1px solid rgba(114, 165, 221, 0.3);
    border-radius: 30px;
    padding: 8px 24px 8px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-en);
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--accent-blue);
    font-weight: 700;
    transition: all 0.4s var(--easing);
    position: relative;
    overflow: hidden;
    z-index: 1;
  }

  .tb-back-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--easing);
    z-index: -1;
    border-radius: 30px;
  }

  .tb-back-btn svg {
    transition: transform 0.4s var(--easing);
    stroke: currentColor;
  }

  .tb-back-btn:hover,
  .tb-back-btn:active {
    color: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(229, 168, 108, 0.3);
    padding-left: 16px;
    padding-right: 28px;
  }

  .tb-back-btn:hover::before,
  .tb-back-btn:active::before {
    transform: scaleX(1);
    transform-origin: left;
  }

  .tb-back-btn:hover svg,
  .tb-back-btn:active svg {
    transform: translateX(-4px);
  }

  .tb-cat-label {
    padding: 32px 0 16px;
    font-size: 11px;
    letter-spacing: 0.35em;
    color: var(--accent-blue);
    background-color: transparent;
    font-family: var(--font-en);
    font-weight: 700;
    border-bottom: 1px solid var(--accent-blue);
    margin: 0 24px 24px;
  }

  .tb-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  @media (min-width: 600px) {
    .tb-grid {
      grid-template-columns: 1fr;
      gap: 0;
    }
  }

  .tb-grid .tb-list-item {
    display: block;
    padding: 48px 24px;
    background-color: var(--navy);
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    width: 100%;
    text-align: left;
    position: relative;
    color: #fff;
    text-shadow: none;
    box-shadow: none;
    aspect-ratio: auto;
    min-height: 160px;
    overflow: hidden;
  }

  @media (min-width: 600px) {
    .tb-grid .tb-list-item {
      padding: 64px 24px;
      min-height: 280px;
    }
  }

  .tb-list-item:active {
    opacity: 0.9;
  }

  /* コースパネル用のCSS（#tbp-course...）はここから完全に消去されています */

  .tb-grid .tb-list-item::after {
    display: none;
  }
  .tb-grid .tb-list-item::after {
    display: none;
  }

  .tb-grid .tb-list-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #ffffff;
    z-index: 2;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    transform-origin: bottom;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
  }

  .tb-panel.active .tb-list-item::before {
    transform: scaleY(0);
  }

  .tb-panel.active .tb-list-item:nth-child(1)::before {
    transition-delay: 0.1s;
  }

  .tb-panel.active .tb-list-item:nth-child(2)::before {
    transition-delay: 0.2s;
  }

  .tb-panel.active .tb-list-item:nth-child(3)::before {
    transition-delay: 0.3s;
  }

  .tb-panel.active .tb-list-item:nth-child(4)::before {
    transition-delay: 0.4s;
  }

  .tb-panel.active .tb-list-item:nth-child(5)::before {
    transition-delay: 0.5s;
  }

  .tb-panel.active .tb-list-item:nth-child(n + 6)::before {
    transition-delay: 0.6s;
  }

  .tb-li-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    margin: 0;
    background: #222;
    border: none;
    z-index: 0;
    filter: brightness(0.9);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  }

  .tb-li-text-wrap {
    position: relative;
    background: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    z-index: 3;
    pointer-events: none;
  }

  .tb-li-name {
    font-family: var(--font-jp);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 0;
    letter-spacing: 0.1em;
    color: #ffffff;
    line-height: 1.2;
    background: none;
    padding: 0;
    border: none;
    box-shadow: none;
    text-shadow:
      0 0 19px rgb(255, 172, 70),
      0 0 19px rgba(255, 255, 255, 0.9),
      0 0 24px rgba(255, 255, 255, 0.7),
      0 0 40px rgba(255, 255, 255, 0.5);
    display: block;
  }

  .tb-grid .tb-list-item .nav-bg-layer,
  .tb-grid .tb-list-item .nav-overlay-layer {
    display: none;
  }

  .guide-info-table .gi-map-wrap .gi-label {
    display: none;
  }
}

/* ============================================================
   13. PC 専用 Awwwards スタイルナビゲーション (min-width: 769px)
   ============================================================ */
@media (min-width: 769px) {
  .index-nav .nav-panel-btn,
  .index-nav .nav-item {
    background-image: none;
    background-color: transparent;
    text-shadow: none;
    color: var(--text-main);
    overflow: hidden;
    box-shadow: none;
  }

  .index-nav .nav-panel-btn:hover,
  .index-nav .nav-item:hover,
  .index-nav .nav-panel-btn:focus,
  .index-nav .nav-item:focus {
    color: #ffffff;
  }

  .index-nav .nav-item::before {
    background-color: currentColor;
  }

  .nav-bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition:
      transform 1.2s var(--easing),
      filter 0.8s ease,
      opacity 0.8s ease;
    filter: brightness(1.05) grayscale(30%) sepia(10%);
    opacity: 0.18;
    transform: scale(1);
    pointer-events: none;
  }

  .nav-panel-btn:hover .nav-bg-layer,
  .nav-item:hover .nav-bg-layer,
  .nav-item.active .nav-bg-layer {
    transform: scale(1.1);
    filter: brightness(0.85) grayscale(0%);
    opacity: 1;
  }

  .index-nav .nav-item.active {
    color: #ffffff;
  }

  .index-nav .nav-overlay-layer {
    display: none;
  }

  .index-nav .nav-panel-btn {
    font-family: var(--font-jp);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.25em;
    padding: 0 32px;
  }

  .index-nav .nav-item {
    font-family: var(--font-jp);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 0 32px;
  }

  .index-nav .nav-item::before {
    opacity: 0.45;
    margin-right: 16px;
    transition:
      width 0.6s var(--easing),
      opacity 0.4s ease;
  }

  .index-nav .nav-item:hover::before,
  .index-nav .nav-item:focus::before {
    opacity: 1;
    width: 24px;
  }

  .magnetic-text,
  .arrow-next {
    position: relative;
    z-index: 2;
    display: inline-block;
    pointer-events: none;
    transition:
      transform 0.25s var(--easing),
      text-shadow 0.4s ease,
      color 0.4s ease;
    vertical-align: middle;
    color: inherit;
    text-shadow: none;
    filter: none;
    -webkit-text-stroke: 0px transparent;
  }

  .nav-panel-btn:hover .magnetic-text,
  .nav-panel-btn:hover .arrow-next,
  .nav-item:hover .magnetic-text,
  .nav-item:hover .arrow-next {
    text-shadow:
      0 1px 3px rgba(0, 0, 0, 0.9),
      0 0 19px rgb(255, 172, 70),
      0 0 19px rgba(255, 255, 255, 0.9),
      0 0 24px rgba(255, 255, 255, 0.7),
      0 0 40px rgba(255, 255, 255, 0.5);
  }
}

/* ============================================================
   14. アクセス情報コンポーネント
   ============================================================ */
.ac-block {
  font-family: var(--font-jp);
  font-size: 13px;
  line-height: 1.6;
}

.ac-head {
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 0.4em;
  font-weight: 700;
  color: var(--accent-blue);
  margin-bottom: 10px;
}

.ac-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-color);
  flex-wrap: nowrap;
}

.ac-row:last-of-type {
  border-bottom: none;
}

.ac-badge {
  font-family: var(--font-en);
  font-size: 8px;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--navy);
  border: 1px solid var(--navy);
  border-radius: var(--radius-sm);
  padding: 1px 5px;
  flex-shrink: 0;
  white-space: nowrap;
  line-height: 1.8;
  width: 38px;
  text-align: center;
  font-family: var(--font-jp);
}

.ac-detail {
  flex: 1;
  font-size: 12px;
  color: var(--text-main);
  line-height: 1.7;
}

.ac-exit {
  font-size: 10px;
  color: var(--text-sub);
  margin-left: 2px;
}

.ac-min {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 48px;
  text-align: right;
}

.ac-min.is-direct {
  color: var(--accent);
}

.ac-zone-label {
  font-family: var(--font-en);
  font-size: 8px;
  letter-spacing: 0.25em;
  font-weight: 700;
  color: var(--text-sub);
  margin: 12px 0 2px;
  padding-bottom: 4px;
  border-bottom: 1px dashed var(--line-color);
}

.ac-note {
  font-size: 11px;
  color: var(--text-sub);
  line-height: 1.9;
  margin-top: 10px;
  padding-top: 0;
}

.ac-row:has(+ .ac-note) {
  border-bottom: none;
}

/* ============================================================
   15. ガイド情報テーブル
   ============================================================ */
.guide-info-table {
  border: 1px solid var(--line-color);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 24px;
  background-color: var(--bg-primary);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gi-row {
  display: flex;
  align-items: flex-start;
  padding: 8px 0;
}

.gi-label {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-blue);
  flex: 0 0 80px;
  padding-top: 2px;
}

.gi-value {
  font-family: var(--font-jp);
  font-size: 13px;
  color: var(--text-main);
  line-height: 1.75;
  flex: 1;
  letter-spacing: 0.02em;
}

.gi-access-wrap {
  margin-top: 15px;
  border-top: 1px solid var(--line-color);
  padding-top: 15px;
}

.gi-access-wrap .ac-head {
  display: none;
}

.gi-access-wrap .ac-row {
  padding: 4px 0;
  border-bottom: none;
}

.gi-access-wrap .ac-badge {
  font-size: 8px;
  letter-spacing: 0.06em;
}

.gi-access-wrap .ac-detail {
  font-size: 13px;
}

.gi-access-wrap .ac-min {
  font-size: 13px;
  color: var(--navy);
}

.gi-access-wrap .ac-zone-label {
  font-size: 8px;
  letter-spacing: 0.2em;
  margin: 8px 0 2px;
}

.gi-access-wrap .ac-note {
  font-size: 11.5px;
  color: var(--text-sub);
  line-height: 1.85;
  margin-top: 12px;
  padding-top: 0;
}

.gi-map-wrap {
  margin-top: 15px;
  border-top: 1px solid var(--line-color);
  padding-top: 15px;
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* ============================================================
   16. Ken Burns スライダー
   ============================================================ */
.kb-slider-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: inherit;
}

.kb-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease;
  transform: scale(1);
  z-index: 1;
}

.kb-slide.active {
  opacity: 1;
  z-index: 2;
  animation: kenburns 10s linear forwards;
}

@keyframes kenburns {
  0% {
    transform: scale(1) translate(0, 0);
  }

  100% {
    transform: scale(1.03) translate(-0.3%, -0.3%);
  }
}

.kb-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--accent-blue);
  width: 0%;
  z-index: 10;
}

/* ============================================================
   17. プレミアム ギャラリー（フィルムストリップ）
   ============================================================ */
.image-section.is-filmstrip,
.luxury-bg-wrapper {
  background-color: var(--bg-primary);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.image-section.is-filmstrip::before,
.luxury-bg-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.04;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: -1;
}

.ambient-bg {
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background-size: cover;
  background-position: center;
  filter: blur(80px) saturate(1.5);
  opacity: 0.15;
  z-index: -2;
  transition: background-image 2s ease-in-out;
}

.luxury-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-en);
  font-size: 15vw;
  font-weight: 900;
  color: var(--text-main);
  opacity: 0.02;
  white-space: nowrap;
  pointer-events: none;
  z-index: -1;
  letter-spacing: 0.1em;
}

body .image-frame.is-filmstrip,
body .tb-filmstrip-wrapper {
  border: 1px solid rgba(114, 165, 221, 0.3);
  padding: 5px;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 15px 35px rgba(114, 165, 221, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
}

.filmstrip-container {
  display: flex;
  gap: 5px;
  height: 140px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 5px;
  position: relative;
  margin-top: auto;
  border: 1px solid rgba(114, 165, 221, 0.3);
  border-left: 4px solid var(--accent);
  box-shadow: 0 10px 30px rgba(114, 165, 221, 0.1);
  border-radius: var(--radius-md);
}

.filmstrip-container::before,
.filmstrip-container::after {
  display: none;
}

.filmstrip-thumb {
  flex: 1;
  height: 100%;
  cursor: pointer;
  filter: grayscale(100%) opacity(0.6);
  transition: all 0.6s var(--easing);
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-sm);
}

.filmstrip-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--easing);
}

.filmstrip-thumb:hover {
  filter: grayscale(30%) opacity(0.8);
}

.filmstrip-thumb:hover img {
  transform: scale(1.05);
}

.filmstrip-thumb.active {
  filter: grayscale(0%) opacity(1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.filmstrip-thumb.active::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(114, 165, 221, 0.8);
  border-radius: inherit;
  pointer-events: none;
}

/* ============================================================
   18. コース詳細ビュー (.course-detail)
   ============================================================ */
body .course-detail {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  background-color: transparent;
  transition: opacity 0.6s var(--easing);
  z-index: 3;
  display: none;
  opacity: 0;
}

.course-detail.show {
  opacity: 1;
}

.course-detail .cd-header {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 120px 10% 60px;
  box-sizing: border-box;

  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
}

.course-detail .cd-label {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: #fff;
  margin-bottom: 12px;
}

.course-detail .cd-title {
  font-family: var(--font-jp);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 8px;
  position: relative;
  padding-bottom: 16px;
  display: inline-block;
}

.course-detail .cd-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
}

.course-detail .cd-target {
  font-family: var(--font-jp);
  font-size: 13px;
  color: #fff;
  margin-bottom: 24px;
  margin-top: 12px;
  letter-spacing: 0.08em;
}

.course-detail .cd-stats {
  display: flex;
  gap: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
}

.cd-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.course-detail .cd-stat-label {
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: #fff;
}

.course-detail .cd-stat-val {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.05em;
}

.cd-timeline {
  padding: 0;
}

/* スマホ版スポットカード */
.m5-spot-list {
  display: flex;
  flex-direction: column;
  gap: 100px;
  padding: 80px 10%;
}

.m5-spot {
  position: relative;
}

.m5-big-num {
  position: absolute;
  top: -50px;
  left: -30px;
  font-family: var(--font-en);
  font-size: 120px;
  font-weight: 900;
  color: rgba(114, 165, 221, 0.15);
  z-index: 1;
  line-height: 1;
  pointer-events: none;
}

.m5-spot-img {
  position: relative;
  z-index: 2;
  width: 90%;
  margin-left: auto;
  margin-bottom: 40px;
}

.m5-spot-img > img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
}

.m5-img-ph {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--text-sub);
}

.m5-spot-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.m5-group-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.m5-group-item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.m5-group-item p {
  font-family: var(--font-jp);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  color: var(--text-main);
  line-height: 1.4;
}

.m5-spot-info {
  position: relative;
  z-index: 3;
  background: var(--bg-primary);
  padding: 40px;
  width: 80%;
  margin-top: -80px;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-md);
}

.m5-time {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
  color: var(--text-main);
}

.m5-name {
  font-family: var(--font-jp);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-main);
}

.m5-desc {
  font-family: var(--font-jp);
  font-size: 13px;
  line-height: 2;
  color: #555;
  margin-bottom: 24px;
}

.m5-meta {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-sub);
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.m5-meta strong {
  color: var(--accent);
  margin-right: 8px;
}

.m5-next {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--accent-blue);
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--accent-blue);
  background: rgba(114, 165, 221, 0.05);
  border-radius: var(--radius-sm);
}

@media (max-width: 1024px) {
  .course-detail {
    position: static;
    height: auto;
  }

  .course-detail .cd-header {
    padding: 32px 24px 28px;
    position: static;
  }

  .course-detail .cd-title {
    font-size: 26px;
  }

  .course-detail .cd-stats {
    gap: 16px;
    flex-wrap: wrap;
  }

  .m5-spot-list {
    padding: 40px 5%;
    gap: 60px;
  }

  .m5-big-num {
    font-size: 80px;
    top: -30px;
    left: -10px;
  }

  .m5-spot-img {
    width: 100%;
    margin-left: 0;
  }

  .m5-spot-info {
    width: 95%;
    padding: 24px;
    margin-top: -40px;
  }

  .m5-name {
    font-size: 20px;
  }

  .m5-spot-group {
    gap: 8px;
  }

  .m5-group-item img {
    height: 80px;
  }

  .m5-group-item p {
    font-size: 9px;
  }
}

/* --- Global Glass Background --- */
.global-glass-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  filter: blur(20px) brightness(0.6);
  transform: scale(1.1);
  transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  opacity: 1;
}

body .course-detail,
body .course-detail.show {
  background-color: transparent;
}

/* --- X2 Style Timeline --- */
.glass-timeline {
  padding: 100px 5vw;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.x2-spot {
  display: flex;
  align-items: center;
  position: relative;
}

.x2-spot.x2-right {
  flex-direction: row-reverse;
}

.x2-img-wrap {
  flex: 0 0 60%;
  height: 80vh;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.x2-main-img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  display: block;
  will-change: transform;
}

.x2-info-wrap {
  flex: 1;
  max-width: 500px;
  position: relative;
  z-index: 2;
  top: 0;
  left: 120px;
  margin-left: -10vw;
}

.x2-spot.x2-right .x2-info-wrap {
  top: 0;
  left: auto;
  right: 120px;
  margin-left: 0;
  margin-right: -10vw;
}

.x2-name {
  font-family: var(--font-jp);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.3;
  color: #fff;
  text-align: center;
  padding: 0;
  display: block;
  width: 100%;
}

.x2-content {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 60px;
  color: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.x2-desc {
  font-family: var(--font-jp);
  font-size: 14px;
  line-height: 2.2;
  text-align: justify;
  color: #eee;
  margin-bottom: 30px;
}

.x2-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.1em;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
}

.x2-meta strong {
  color: var(--accent);
}

/* アニメーション */
.reveal-glass {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal-glass.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .x2-info-wrap,
  .x2-spot:nth-child(even) .x2-info-wrap {
    width: 90%;
    margin: -60px auto 0;
    top: 0;
    left: 0;
    right: 0;
  }
}

/* ============================================================
   19. 公式サイトリンクコンポーネント (.official-links)
   ============================================================ */
.official-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
}

.official-links li {
  border: none;
}

.official-link-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px;
  background: rgba(229, 168, 108, 0.15);
  border: 1px solid var(--accent);
  border-radius: 40px;
  color: var(--text-main);
  text-decoration: none;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.official-link-item:hover {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(229, 168, 108, 0.4);
}

.official-link-name {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-jp);
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.official-link-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  stroke: currentColor;
  opacity: 1;
  stroke-width: 1.5px;
}

.gi-row .official-links {
  width: 100%;
}

/* ============================================================
   20. テキストのみのスポット（食事処など）のレイアウト
   ============================================================ */
.glass-timeline .x2-spot.text-only-spot {
  justify-content: center;
  flex-direction: column;
  margin: 0;
}

.glass-timeline .x2-spot.text-only-spot .x2-info-wrap {
  flex: none;
  width: 100%;
  max-width: 600px;
  position: static;
  margin: 0 auto;
}

.glass-timeline .x2-spot.text-only-spot .x2-content {
  padding: 50px;
  background: rgba(255, 255, 255, 0.1);
  text-align: center;
}

.glass-timeline .x2-spot.text-only-spot .x2-name {
  font-size: 26px;
  margin-bottom: 24px;
  color: var(--accent);
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  display: block;
  text-align: center;
}

.glass-timeline .x2-spot.text-only-spot .x2-meta {
  justify-content: center;
}

@media (max-width: 1024px) {
  .glass-timeline .x2-spot.text-only-spot .x2-info-wrap {
    width: 90%;
  }

  .glass-timeline .x2-spot.text-only-spot .x2-content {
    padding: 30px;
  }
}

/* ============================================================
   21. ルートコネクタ（NEXT移動情報）
   ============================================================ */
.route-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
  position: relative;
  z-index: 2;
}

.route-info {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 12px 28px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.route-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  animation: floatArrow 2s infinite ease-in-out;
}

@keyframes floatArrow {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(3px);
  }
}

.route-line {
  width: 1px;
  height: 80px;
}

.route-line.top {
  margin-bottom: 12px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.3)
  );
}

.route-line.bottom {
  margin-top: 12px;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.3)
  );
}

@media (max-width: 1024px) {
  .route-line {
    height: 40px;
  }

  .route-info {
    padding: 10px 20px;
    gap: 10px;
    font-size: 10px;
  }
}

/* ============================================================
   22. 情報高密度＆高可読性レイアウト (.info-dense)
   ============================================================ */
.info-dense {
  padding: 50px 60px;
}

.dense-tags {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.dense-tag {
  border: 1px solid rgba(114, 165, 221, 0.6);
  background: rgba(114, 165, 221, 0.1);
  color: #a7cbf2;
  padding: 5px 14px;
  border-radius: 30px;
  font-family: var(--font-jp);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.info-dense .x2-name {
  font-size: 28px;
  margin-bottom: 20px;
  text-align: center;
  border-bottom: none;
  padding-bottom: 0;
}

.info-dense .x2-desc {
  font-size: 13.5px;
  line-height: 2.1;
  color: #eeeeee;
  text-align: justify;
  margin-bottom: 32px;
}

.dense-specs {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
  padding-bottom: 8px;
}

.s-label {
  color: var(--accent);
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 700;
  flex-shrink: 0;
}

.s-val {
  font-family: var(--font-jp);
  font-size: 13px;
  color: #ffffff;
  text-align: right;
  line-height: 1.4;
}

.dense-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px;
  background: rgba(229, 168, 108, 0.15);
  border: 1px solid var(--accent);
  border-radius: 40px;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.dense-btn svg {
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.dense-btn:hover {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(229, 168, 108, 0.4);
}

@media (max-width: 1024px) {
  .info-dense {
    padding: 30px 20px;
  }

  .info-dense .x2-name {
    font-size: 24px;
  }

  .dense-tag {
    font-size: 10px;
    padding: 4px 10px;
  }

  .s-label {
    font-size: 10px;
  }

  .s-val {
    font-size: 12px;
  }
}

/* ============================================================
   23. （cd-inner-card）の専用スタイル（縦横を大きく拡張版）
   ============================================================ */

body .course-detail .cd-header .cd-inner-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  /* ★横幅を 900px から 1250px に大きく広げました */
  max-width: 1250px;
  width: 92%;

  /* ★縦幅を画面の高さの 78% に固定して、縦にも大きく広げました */
  height: 78vh;
  /* 縦が潰れすぎないように最低の高さも確保 */
  min-height: 620px;

  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 24px;
  padding: 40px;
  /* 内側の余白も少し広げてゆったりさせました */
  box-sizing: border-box;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

/* 2カラム分割コンテナ */
.cd-card-columns {
  display: flex;
  gap: 40px;
  /* 左右の間隔を少し広げました */
  align-items: stretch;
  height: 100%;
}

/* 左側：コース説明、スタッツ、スポットルート */
.cd-card-left-col {
  /* ★全体の拡大に合わせて、左側の幅を 350px から 430px に広げました */
  flex: 0 0 430px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}

/* 右側：マップ画像 */
.cd-card-right-col {
  flex: 1;
  display: flex;
  align-items: stretch;
  min-width: 0;
  height: 100%;
}

/* コースマップ画像の外枠（プレミアムガラス額縁 - 常時影が出るライトモード最適化版） */
body .course-detail .cd-course-map-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 12px;
  box-sizing: border-box;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  overflow: hidden;

  /* 明るいカードに溶け込むよう、すりガラスの背景色と薄い枠線を調整 */
  background: rgba(255, 255, 255, 0.5) !important;
  border: 1px solid rgba(26, 41, 66, 0.1) !important;

  /* ★ホバー時に出ていた立体的な影（外側の影）を「常時」表示されるように設定しました */
  box-shadow:
    0 12px 28px rgba(26, 41, 66, 0.06),
    inset 0 0 20px rgba(255, 255, 255, 0.2) !important;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

/* カーソルを合わせたときは、さらにふんわりと少し浮き上がるようなリッチな演出にします */
body .course-detail .cd-course-map-wrap:hover {
  background: rgba(255, 255, 255, 0.8) !important;
  border-color: rgba(26, 41, 66, 0.15) !important;
  box-shadow:
    0 16px 36px rgba(26, 41, 66, 0.1),
    inset 0 0 20px rgba(255, 255, 255, 0.3) !important;
}

/* コースマップ画像のスタイル（額縁いっぱいに美しく拡大表示） */
.cd-course-map-img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  /* 文字が切れないよう比率を保ちながら最大サイズでフィット */
  border-radius: 8px;
  display: block;
}

/* 箱の中のタイトル下のオレンジの線を、箱の横幅ピッタリに収めるための設定 */
body .course-detail .cd-header .cd-inner-card .cd-title {
  display: block;
}

/* スマホ・タブレット版（画面幅1024px以下）のときの「左上」固定配置の調整 */
@media (max-width: 1024px) {
  body .course-detail .cd-header .cd-inner-card {
    position: absolute;
    top: 60px;
    /* ★スマホ用に上からの位置を少し上に詰める */
    left: 5%;
    /* ★スマホ用に左からの位置を5%にする */
    transform: none;
    /* 中央揃えを解除 */
    width: 90%;
    /* ★スマホ画面幅に綺麗に収まる横幅（左右に5%ずつの余白が空きます） */
    max-width: 100%;
    height: auto;
    /* 高さを自動伸縮に戻して縦スクロールの破綻を防ぐ */
    padding: 24px;
    /* スマホ用に箱の中の余白を少し狭くする */
  }

  /* スマホ・タブレットでは縦並びに切り替え */
  .cd-card-columns {
    flex-direction: column;
    gap: 20px;
  }

  .cd-card-left-col,
  .cd-card-right-col {
    width: 100%;
  }

  .cd-course-map-img {
    max-height: 240px;
  }
}

/* ============================================================
   24. 背景・巻き込み設定（明るいライトモード完全版）
   ============================================================ */

/* ① cd-headerの配置設定（文字色をサイト共通の洗練されたネイビーに反転） */
body .course-detail .cd-header {
  position: sticky;
  top: 0;
  z-index: 1;
  background: transparent;
  color: var(--navy) !important;
}

/* ヘッダー内の各テキストや数値を白からネイビーへ美しく反転 */
body .course-detail .cd-label,
body .course-detail .cd-title,
body .course-detail .cd-target,
body .course-detail .cd-stat-label,
body .course-detail .cd-stat-val {
  color: var(--navy) !important;
}

/* 明るい背景の上でも文字や地図が際立つよう、中の箱を乳白色のプレミアムガラスに変更 */
body .course-detail .cd-header .cd-inner-card {
  background: rgba(255, 255, 255, 0.75) !important;
  border: 1px solid rgba(26, 41, 66, 0.12) !important;
  box-shadow: 0 30px 60px rgba(26, 41, 66, 0.12) !important;
}

/* スポットルート（ナビゲーション）の文字色も読みやすく調整 */
body .course-detail .cd-spot-nav-title {
  color: var(--text-sub) !important;
}

body .course-detail .cd-spot-nav-item {
  color: var(--text-main) !important;
  background: rgba(255, 255, 255, 0.5) !important;
  border: 1px solid rgba(26, 41, 66, 0.1) !important;
}

body .course-detail .cd-spot-nav-item:hover {
  background: rgba(26, 41, 66, 0.05) !important;
  color: var(--navy) !important;
}

/* ② サイトのベースカラーをフル活用した明るい光の背景幕を構築 */
body .course-detail::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;

  /* サイトの primary（アイボリー）をベースに、ゴールドとブルーが上品に溶け込む朝光グラデーション */
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(229, 168, 108, 0.15) 0%,
      transparent 55%
    ),
    radial-gradient(
      circle at 20% 80%,
      rgba(114, 165, 221, 0.15) 0%,
      transparent 60%
    ),
    linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);

  z-index: 0;
}

/* ③ タイムライン全体を前面に出す（巻き込む側） */
body .course-detail .cd-timeline {
  position: relative;
  z-index: 10;
}

/* ④ 明るい背景に美しく溶け込む、新・すりガラスタイムライン */
body .course-detail .cd-timeline .glass-timeline {
  background: rgba(255, 255, 255, 0.4) !important;
  border-top: 1px solid rgba(26, 41, 66, 0.1) !important;
  backdrop-filter: blur(20px) !important;

  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 -20px 40px rgba(26, 41, 66, 0.04) !important;
  min-height: 100vh;
  padding-bottom: 20vh !important;
}

/* ============================================================
   25. コース内スポットリンクナビゲーション (cd-spot-nav) 
   ============================================================ */
.cd-spot-nav-wrap {
  margin-top: 0%;
  border-top: 1px solid rgba(26, 41, 66, 0.1);
  padding-top: 20px;
}

.cd-spot-nav-title {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--text-sub);
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.cd-spot-nav {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 260px;
  padding-left: 24px;
  margin: 0;
  box-sizing: border-box;
}

/* PC版タイムライン用の縦ガイド点線 */
.cd-spot-nav::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  pointer-events: none;
}

.cd-spot-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px; /* 余白を広げて押しやすく */

  /* 背景を明るくして視認性を高める */
  background: rgba(255, 255, 255, 0.6) !important;
  border: 1px solid rgba(26, 41, 66, 0.15) !important;
  border-radius: 10px;

  /* ▼ 文字が見えにくい問題の修正 ▼ */
  color: var(--navy) !important; /* 白文字を禁止して濃紺でくっきりさせる */
  font-family: var(--font-jp);
  font-size: 13px; /* 12pxから13pxに拡大 */
  font-weight: 700; /* 文字を太字に */
  letter-spacing: 0.05em; /* 字間を少しあけて読みやすく */

  text-align: left;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  box-sizing: border-box;
}

/* 点線上の星形ポチ */
.cd-spot-nav-item::before {
  content: "★";
  position: absolute;
  left: -32px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: rgba(26, 41, 66, 0.2);
  background: transparent;
  border: none;
  box-shadow: none;
  transition: all 0.3s ease;
  z-index: 2;
  line-height: 1;
}

/* PC版ホバースタイル（ベース） */
.cd-spot-nav-item:hover {
  background: rgba(255, 255, 255, 0.9) !important;
  transform: translateX(4px);
}

/* 観光・散策カテゴリー (Spot/Walking/Shopping) のホバー時発光 */
.cd-spot-nav-item.nav-type-spot:hover {
  box-shadow: 0 0 15px rgba(255, 204, 0, 0.4);
  border-color: rgba(255, 204, 0, 0.6) !important;
}
.cd-spot-nav-item.nav-type-spot:hover::before {
  color: #ffcc00;
  text-shadow: 0 0 10px rgba(255, 204, 0, 0.8);
}

/* 観光・散策カテゴリーのアクティブ状態 */
.cd-spot-nav-item.nav-type-spot.active {
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
  border-color: rgba(255, 204, 0, 0.6) !important;
  background: rgba(255, 204, 0, 0.1) !important;
}
.cd-spot-nav-item.nav-type-spot.active::before {
  color: #ffcc00;
}

/* グルメ・食事カテゴリー (Gourmet/Cafe/Food/Relax) のホバー時発光 */
.cd-spot-nav-item.nav-type-food:hover {
  box-shadow: 0 0 15px rgba(229, 168, 108, 0.4);
  border-color: rgba(229, 168, 108, 0.6) !important;
}
.cd-spot-nav-item.nav-type-food:hover::before {
  color: var(--accent);
  text-shadow: 0 0 10px rgba(229, 168, 108, 0.8);
}

/* グルメ・食事カテゴリーのアクティブ状態 */
.cd-spot-nav-item.nav-type-food.active {
  box-shadow: 0 0 10px rgba(229, 168, 108, 0.3);
  border-color: rgba(229, 168, 108, 0.6) !important;
  background: rgba(229, 168, 108, 0.1) !important;
}
.cd-spot-nav-item.nav-type-food.active::before {
  color: var(--accent);
}

/* アイコンとテキストの調整 */
.cd-spot-nav-item .nav-icon {
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 18px;
}

.cd-spot-nav-item .nav-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* モバイル・タブレットでのレスポンシブ（横スクロールカルーセル化） */
@media (max-width: 1024px) {
  .cd-spot-nav-wrap {
    margin-top: 16px;
    padding-top: 14px;
  }
  .cd-spot-nav {
    flex-direction: row;
    overflow-x: auto;
    padding-left: 0;
    padding-bottom: 4px;
    gap: 8px;
    height: auto;
    justify-content: flex-start;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .cd-spot-nav::-webkit-scrollbar {
    display: none;
  }
  .cd-spot-nav::before {
    display: none;
  }
  .cd-spot-nav-item {
    flex: 0 0 auto;
    width: auto;
    max-width: 160px;
    padding: 10px 14px; /* スマホでも押しやすいように少し広げる */
    font-size: 12px; /* スマホ用も少し大きく */
    border-radius: 8px;
  }
  .cd-spot-nav-item::before {
    display: none;
  }
  .cd-spot-nav-item:hover {
    transform: none;
  }
}
/* モバイル・タブレットでのレスポンシブ（横スクロールカルーセル化） */
@media (max-width: 1024px) {
  .cd-spot-nav-wrap {
    margin-top: 16px;
    padding-top: 14px;
  }

  .cd-spot-nav {
    flex-direction: row;
    overflow-x: auto;
    padding-left: 0;
    padding-bottom: 4px;
    gap: 8px;
    height: auto;
    /* PC版の184px固定高を解除 */
    justify-content: flex-start;
    /* 均等割付を通常横並びに戻す */
    -ms-overflow-style: none;
    /* IE, Edge */
    scrollbar-width: none;
    /* Firefox */
  }

  .cd-spot-nav::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
  }

  .cd-spot-nav::before {
    display: none;
    /* ガイド線非表示 */
  }

  .cd-spot-nav-item {
    flex: 0 0 auto;
    width: auto;
    max-width: 160px;
    padding: 8px 12px;
    font-size: 11px;
    border-radius: 8px;
  }

  .cd-spot-nav-item::before {
    display: none;
    /* 丸ポチ非表示 */
  }

  .cd-spot-nav-item:hover {
    transform: none;
    /* 横並びでのズレを防ぐ */
  }
}

/* ============================================================
   25. リンクジャンプ時の「ふわっと変わる」ハイライトアニメーション
   ============================================================ */
.x2-spot.fade-highlight {
  animation: spotFadeHighlight 1s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes spotFadeHighlight {
  0% {
    opacity: 0.1;
    transform: scale(0.97) translateY(15px);
    filter: blur(6px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

/* ============================================================
   26. 「地図に戻る」フローティングボタン
   ============================================================ */
.btn-back-to-map {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(26, 41, 66, 0.8);
  /* 紺色の半透明ガラス */
  border: 1px solid rgba(114, 165, 221, 0.4);
  color: #ffffff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  cursor: pointer;

  /* 初期状態は透明で下に隠しておく */
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  font-family: var(--font-en);
}

/* スクロールして表示されるときのクラス */
.btn-back-to-map.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-back-to-map:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(229, 168, 108, 0.4);
}

.btn-back-to-map svg {
  margin-bottom: 2px;
}

.btn-back-to-map span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* スマホ・タブレット用調整 */
@media (max-width: 1024px) {
  .btn-back-to-map {
    bottom: calc(100px + env(safe-area-inset-bottom));
    /* 下のメニューに被らないよう調整 */
    right: 20px;
    width: 56px;
    height: 56px;
  }

  .btn-back-to-map span {
    font-size: 9px;
  }
}

/* ============================================================
   27. ライトモード用 タイムライン＆ボタン色調整
   ============================================================ */
/* リンクボタンの見た目修正（白文字 → 紺色文字に反転） */
body .course-detail .glass-timeline .dense-btn {
  background: rgba(229, 168, 108, 0.15) !important;
  color: var(--navy) !important;
  border: 1px solid var(--accent) !important;
}

body .course-detail .glass-timeline .dense-btn:hover {
  background: var(--accent) !important;
  color: #ffffff !important;
}

/* タイムライン下半分のテキスト（白文字で消えてしまった部分）をダークグレーに反転 */
body .course-detail .glass-timeline .x2-name,
body .course-detail .glass-timeline .x2-desc,
body .course-detail .glass-timeline .s-val {
  color: var(--text-main) !important;
}

body .course-detail .glass-timeline .x2-meta,
body .course-detail .glass-timeline .x2-meta strong {
  color: var(--text-main) !important;
}

/* タグ（青文字で白飛びしていた部分）の修正 */
body .course-detail .glass-timeline .dense-tag {
  color: var(--accent-blue) !important;
  border-color: var(--accent-blue) !important;
  background: rgba(114, 165, 221, 0.1) !important;
}

/* 情報が入っている箱の背景を明るいすりガラスに最適化 */
body .course-detail .glass-timeline .x2-content {
  background: rgba(255, 255, 255, 0.75) !important;
  border: 1px solid rgba(26, 41, 66, 0.1) !important;
}

/* NEXT（次の目的地への矢印・ルート線）の修正 */
body .course-detail .glass-timeline .route-info {
  background: rgba(255, 255, 255, 0.85) !important;
  border: 1px solid rgba(26, 41, 66, 0.15) !important;
  color: var(--navy) !important;
}

body .course-detail .glass-timeline .route-info span {
  color: var(--navy) !important;
}

body .course-detail .glass-timeline .route-line.top {
  background: linear-gradient(
    to bottom,
    rgba(26, 41, 66, 0),
    rgba(26, 41, 66, 0.3)
  ) !important;
}

body .course-detail .glass-timeline .route-line.bottom {
  background: linear-gradient(
    to top,
    rgba(26, 41, 66, 0),
    rgba(26, 41, 66, 0.3)
  ) !important;
}
/* ============================================================
   28. コース詳細：長文対応とレイアウト微調整
   ============================================================ */

/* ターゲットの箱全体の設定 */
body .course-detail .cd-target {
  display: block !important;
  margin-top: 16px !important;
  margin-bottom: 28px !important;
  color: var(--navy) !important;
}

/* 箱の中の長文テキスト */
.cd-target-text {
  font-family: var(--font-jp);
  font-size: 13px;
  line-height: 2;
  text-align: justify;
  /* ↓ここの余白を 20px から 8px に縮めました */
  margin-bottom: 8px;
}

/* 箱の中の距離情報（DISTANCE）エリア */
.cd-target-stats-wrap {
  /* ↓ここにあった border-top の点線を消しました */
  border-top: none;
  /* ↓上の線の内側にあった余白も 16px から 0 にして距離を詰めました */
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* DISTANCEのラベル（コントラストを高めるため薄い青の座布団） */
.cd-stats-label {
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-blue) !important;
  background: rgba(114, 165, 221, 0.12);
  padding: 3px 10px;
  border-radius: 4px;
  flex-shrink: 0;
}

/* 実際の距離の文字 */
.cd-stats-val {
  font-family: var(--font-jp);
  /* ↓ 13pxから15pxに大きくして見やすく！ */
  font-size: 15px;
  /* ↓ 500(普通)から700(太字)にして力強く！ */
  font-weight: 700;
  /* ↓ 文字がくっつきすぎないように少し隙間をあける */
  letter-spacing: 0.05em;
  /* ↓ グレーからハッキリした濃紺にしてコントラストを上げる！ */
  color: var(--navy) !important;
  line-height: 1.4;
}
/* --------------------------------------------------
   ★追加：四角囲み数字（1⃣ 2⃣ 風）の共通デザインと発光カラー設定
   -------------------------------------------------- */

/* 四角囲み数字のベース（整列とサイズ設定） */
.cd-spot-nav-item .nav-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  margin-right: 6px;
  flex-shrink: 0;
  line-height: 1;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

/* ── 散策カテゴリー（Spot：黄色星）の数字カラー ── */
.cd-spot-nav-item.nav-type-spot .nav-number {
  color: #c49a00;
  background: rgba(255, 204, 0, 0.12);
  border: 1.5px solid rgba(255, 204, 0, 0.6);
}

.cd-spot-nav-item.nav-type-spot:hover .nav-number,
.cd-spot-nav-item.nav-type-spot.active .nav-number {
  color: #ffffff !important;
  background: #ffcc00 !important;
  border-color: #ffcc00 !important;
  box-shadow: 0 0 8px rgba(255, 204, 0, 0.6);
}

/* ── グルメカテゴリー（Food：オレンジ星）の数字カラー ── */
.cd-spot-nav-item.nav-type-food .nav-number {
  color: #c4762e;
  background: rgba(229, 168, 108, 0.12);
  border: 1.5px solid rgba(229, 168, 108, 0.6);
}

.cd-spot-nav-item.nav-type-food:hover .nav-number,
.cd-spot-nav-item.nav-type-food.active .nav-number {
  color: #ffffff !important;
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 8px rgba(229, 168, 108, 0.6);
}
/* ============================================================
   OFFICIAL LINK の文字位置・間隔の修正（ACCESSと完全統一）
   ============================================================ */

/* 1. 文字の間隔（字間）とサイズを ACCESS の見出しと完全に統一 */
body .official-link-head {
  font-family: var(--font-en);
  font-size: 10px; /* 9px から 10px に拡大して他の見出しと統一 */
  letter-spacing: 0.1em; /* 0.4em から 0.1em に狭めて ACCESS と完全に同じ間隔に */
  font-weight: 700;
  color: var(--accent-blue);
  margin-bottom: 14px;
  text-align: left; /* 確実に左寄せにする */
}

/* 2. PC版での配置修正：右にズレていた文字を 一番左の整列ラインに引っ張り戻す */
@media (min-width: 1025px) {
  body .official-link-head {
    margin-left: -80px; /* 左側のラベル幅（80px）分だけ戻し、ACCESS の真下にぴったり揃える */
    width: calc(100% + 80px);
    margin-top: 32px !important;
  }
}
/* ============================================================
   画像あり(.x2-meta) と テキストのみ(.dense-specs) のデータ欄デザインを完全統一
   ============================================================ */

/* ── 画像ありスポット（.x2-meta）のレイアウト修正 ── */
body .course-detail .glass-timeline .x2-meta {
  gap: 14px !important;
  padding-top: 20px !important;
  border-top: 1px solid rgba(26, 41, 66, 0.1) !important; /* ライトモード用の区切り線 */
}

/* 各行を左右分割して下線を引く */
body .course-detail .glass-timeline .x2-meta > span {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-end !important;
  border-bottom: 1px dashed rgba(26, 41, 66, 0.15) !important;
  padding-bottom: 8px !important;

  /* 右側の値のスタイル（右寄せ設定） */
  font-family: var(--font-jp) !important;
  font-size: 13px !important;
  color: var(--text-main) !important;
  text-align: right !important;
  line-height: 1.4 !important;
}

/* 左側のラベル (FEE, HOURS) のスタイル */
body .course-detail .glass-timeline .x2-meta strong {
  color: var(
    --accent
  ) !important; /* 紺色になっていたのをオレンジ（アクセント）に戻す */
  font-family: var(--font-en) !important;
  font-size: 11px !important;
  letter-spacing: 0.2em !important;
  font-weight: 700 !important;
  flex-shrink: 0 !important;
  margin-right: 16px !important;
}

/* ── テキストのみスポット（.dense-specs）もライトモードの色に合わせて微調整 ── */
body .course-detail .glass-timeline .dense-specs {
  border-top: 1px solid rgba(26, 41, 66, 0.1) !important;
}

body .course-detail .glass-timeline .spec-row {
  border-bottom: 1px dashed rgba(26, 41, 66, 0.15) !important;
}
/* ============================================================
   スマホ専用の改行コントロール
   ============================================================ */
/* 基本（PC・タブレット）は改行を無効化 */
.sp-only {
  display: none;
}

/* 画面幅600px以下（スマホ）のときだけ改行を有効化 */
@media (max-width: 600px) {
  .sp-only {
    display: block;
  }
}
/* ============================================================
   スポット情報（ADDRESS等）のテキスト高さのズレを完璧に揃える
   ============================================================ */
/* 1. 各行を「文字の底辺（ベースライン）」でピタッと揃える */
body .guide-info-table .gi-row {
  align-items: baseline !important;
}

/* 2. ズレの原因になっていた不要な上余白を消去 */
body .guide-info-table .gi-label {
  padding-top: 0 !important;
}

/* 3. ただし、MAP（地図）の行だけは例外的に「上揃え」にする（地図が下にズレるのを防ぐため） */
body .guide-info-table .gi-map-wrap .gi-row {
  align-items: flex-start !important;
}

/* 4. 地図の上端と「MAP」の文字位置を綺麗に合わせるための微調整 */
body .guide-info-table .gi-map-wrap .gi-label {
  padding-top: 4px !important;
}
/* ============================================================
   ACCESS欄（.ac-row）の右に余白を追加
   ============================================================ */
body .ac-row {
  padding-right: 4px !important;
}
