@charset "UTF-8";

/* ==========================================================================
   冬のモダンリゾート・プレミアム旅アプリ デザインシステム
   ========================================================================== */

:root {
  /* カラーシステム */
  --bg-base: #F4F6F9;
  --surface: #FFFFFF;
  --surface-subtle: #F8FAFC;
  --primary: #0F2342;
  --primary-mid: #1B365D;
  --accent: #C59B5F;
  --accent-dark: #8C6830;
  --accent-soft: #FBF6EE;
  --sky: #0284C7;
  --sky-dark: #0369A1;
  --sky-soft: #EFF8FF;
  --warn-bg: #FEF5F0;
  --warn-border: #F4B99B;
  --warn-text: #9A3412;

  /* テキスト（WCAG AA 4.5:1以上の高コントラスト厳守） */
  --text-main: #1E293B;
  --text-sub: #475569;
  --text-muted: #64748B;
  --text-on-dark: #FFFFFF;

  /* ボーダー・シャドウ */
  --border-subtle: rgba(15, 35, 66, 0.08);
  --shadow-card:
    0 1px 2px rgba(15, 35, 66, 0.04),
    0 8px 24px -6px rgba(15, 35, 66, 0.08),
    0 2px 6px -2px rgba(15, 35, 66, 0.04);
  --shadow-soft:
    0 2px 8px rgba(15, 35, 66, 0.06);

  /* タイポグラフィ */
  --font-sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", sans-serif;
  --font-num: "Plus Jakarta Sans", "Noto Sans JP", sans-serif;

  /* 基本文字サイズ（標準: 16px） */
  --fs-base: 16px;
  --fs-sm: 14px;
  --fs-xs: 12.5px;
  --fs-h2: 20px;
  --fs-h3: 18px;
  --fs-hero: 24px;

  /* 角丸・スペーシング */
  --radius-card: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-pill: 9999px;

  /* アニメーション */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 280ms;
}

/* 文字サイズ「大」モード（3世代配慮） */
html[data-font-size="large"] {
  --fs-base: 18.5px;
  --fs-sm: 16px;
  --fs-xs: 14px;
  --fs-h2: 23px;
  --fs-h3: 20.5px;
  --fs-hero: 26px;
}

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

html {
  font-size: var(--fs-base);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text-main);
  background-color: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input {
  font-family: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* 数字・欧文ラベル用（等幅数字） */
.en-num {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* アイコン共通 */
.icon {
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}
.icon--xs { width: 15px; height: 15px; }
.icon--sm { width: 18px; height: 18px; }
.icon--gold { color: var(--accent-dark); }

/* スマホ最優先 1カラムシェル */
.app-shell {
  width: 100%;
  max-width: 480px;
  min-height: 100dvh;
  margin: 0 auto;
  background-color: var(--bg-base);
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   ヒーローヘッダー（16:9 雑誌風レイアウト）
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 230px;
  overflow: hidden;
  background-color: var(--primary);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 35, 66, 0.52) 0%,
    rgba(15, 35, 66, 0.28) 38%,
    rgba(15, 35, 66, 0.86) 82%,
    rgba(15, 35, 66, 0.96) 100%
  );
}

.hero__topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px 0;
}

.hero__eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.92);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: rgba(15, 35, 66, 0.48);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

/* 文字サイズ切替ボタン（タップ領域44px確保） */
.font-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(15, 35, 66, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.font-toggle[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
}

.font-toggle__label strong {
  font-weight: 700;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 16px 16px 18px;
  color: var(--text-on-dark);
}

.hero__kicker {
  margin: 0 0 4px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: #E7C992;
  letter-spacing: 0.06em;
}

.hero__title {
  margin: 0 0 10px;
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.hero__chip--gold {
  background: rgba(197, 155, 95, 0.24);
  border-color: rgba(231, 201, 146, 0.45);
  color: #FFF4DE;
}

/* ==========================================================================
   上部固定ナビゲーション（すりガラス効果・4タブ構成）
   ========================================================================== */
.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 246, 249, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 12px;
}

.tab-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  background: rgba(15, 35, 66, 0.06);
  padding: 4px;
  border-radius: 14px;
}

.tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 6px 4px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--text-sub);
  cursor: pointer;
  transition: background-color var(--duration) var(--ease-out),
              color var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out);
}

.tab-btn__en {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
  opacity: 0.78;
}

.tab-btn__ja {
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.3;
  margin-top: 2px;
}

.tab-btn.is-active {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(15, 35, 66, 0.22);
}

.tab-btn.is-active .tab-btn__en {
  color: #E7C992;
  opacity: 1;
}

/* ==========================================================================
   メインコンテンツ・タブパネルアニメーション
   ========================================================================== */
.main-content {
  flex: 1;
  padding: 18px 14px 36px;
}

.tab-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tab-panel[hidden] {
  display: none;
}

.tab-panel.is-entering {
  animation: panelFadeSlide var(--duration) var(--ease-out) both;
}

@keyframes panelFadeSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* セクション見出し */
.section-header {
  padding: 2px 2px 0;
}

.section-header__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
  margin-bottom: 4px;
}

.section-header__title {
  margin: 0 0 6px;
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.35;
}

.section-header__lead {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--text-sub);
  line-height: 1.65;
}

.section-divider {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.section-divider__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
  margin-bottom: 4px;
}

.section-divider__title {
  margin: 0 0 6px;
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--primary);
}

.section-divider__lead {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--text-sub);
}

/* ==========================================================================
   サーフェスカード・スポットカード
   ========================================================================== */
.surface-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 18px 16px;
}

.surface-card--compact {
  padding: 16px;
}

.card-subtitle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

/* スポットカード（上部16:9写真＋グラデーションオーバーレイ） */
.spot-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.spot-card__cover {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--primary);
}

.spot-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.35s ease;
}

/* リニア車両の左半分を美しくフレーミング（元バナーの文字と右端分割線を避ける） */
.spot-card__img--left {
  object-position: 10% 48%;
  transform: scale(1.36);
  transform-origin: 12% 46%;
}

.spot-card__img--dynamic {
  z-index: 1;
  opacity: 0;
}

.spot-card__img--dynamic.is-loaded {
  opacity: 1;
}

/* 未取得写真のフォールバックカバー */
.cover-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cover-fallback__art {
  width: 100%;
  height: 100%;
  display: block;
}

.cover-fallback__label {
  position: absolute;
  right: 12px;
  bottom: 58px;
  z-index: 2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(231, 201, 146, 0.72);
}

.spot-card__gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(15, 35, 66, 0.42) 0%,
    rgba(15, 35, 66, 0.08) 42%,
    rgba(15, 35, 66, 0.84) 84%,
    rgba(15, 35, 66, 0.96) 100%
  );
  pointer-events: none;
}

.spot-card__top-row {
  position: absolute;
  top: 10px;
  left: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.time-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  background: rgba(15, 35, 66, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

/* カード右上：現地の天気バッジ */
.weather-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 34px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  color: #FFFFFF;
  background: rgba(2, 132, 199, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.weather-badge:active {
  transform: scale(0.96);
}

.spot-card__heading {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 3;
  color: #FFFFFF;
}

.spot-card__area {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #E7C992;
  margin-bottom: 2px;
}

.spot-card__title {
  margin: 0;
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.spot-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lead-text {
  margin: 0;
  font-size: var(--fs-base);
  color: var(--text-main);
  line-height: 1.7;
}

/* ==========================================================================
   クイックアクションボタン群（タップ領域44px以上厳守）
   ========================================================================== */
.action-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 8px 9px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--surface-subtle);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  transition: background-color 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
}

html[data-font-size="large"] .action-btn {
  font-size: 14.5px;
}

.action-btn span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.action-btn small {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.78;
}

.action-btn:active {
  transform: scale(0.98);
}

.action-btn--primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
}

.action-btn--sky {
  background: var(--sky-soft);
  border-color: rgba(2, 132, 199, 0.25);
  color: var(--sky-dark);
}

.action-btn--gold {
  background: var(--accent-soft);
  border-color: rgba(197, 155, 95, 0.45);
  color: #704E1B;
}

.action-btn--disabled {
  background: #F1F5F9;
  color: var(--text-muted);
  border-style: dashed;
  cursor: default;
}

.action-btn--full {
  grid-column: 1 / -1;
}

/* ==========================================================================
   ミニタイムライン・コールアウト・要確認バッジ
   ========================================================================== */
.mini-timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.mini-timeline__item {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: var(--surface-subtle);
}

.mini-timeline__item--highlight {
  background: var(--accent-soft);
  border: 1px solid rgba(197, 155, 95, 0.4);
}

.mini-timeline__time {
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--primary);
  padding-top: 1px;
}

.mini-timeline__time small {
  font-weight: 600;
  font-size: 11px;
  margin-left: 1px;
}

.mini-timeline__body strong {
  display: block;
  font-size: var(--fs-sm);
  color: var(--primary);
  line-height: 1.4;
}

.mini-timeline__body p {
  margin: 2px 0 0;
  font-size: var(--fs-xs);
  color: var(--text-sub);
  line-height: 1.5;
}

/* コールアウト */
.callout {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

.callout__icon {
  padding-top: 2px;
}

.callout__content > strong {
  display: block;
  margin-bottom: 3px;
}

.callout__content p {
  margin: 0;
}

.callout--accent {
  background: var(--accent-soft);
  border: 1px solid rgba(197, 155, 95, 0.35);
  color: #5C4018;
}
.callout--accent .callout__icon { color: var(--accent-dark); }

.callout--warn {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  color: var(--warn-text);
}
.callout--warn .callout__icon { color: #C2410C; }

.callout--info {
  background: var(--sky-soft);
  border: 1px solid rgba(2, 132, 199, 0.25);
  color: #0C4A6E;
}
.callout--info .callout__icon { color: var(--sky-dark); }

.bullet-list {
  margin: 4px 0 0;
  padding-left: 18px;
}

.bullet-list li + li {
  margin-top: 4px;
}

/* 要確認バッジ */
.badge-confirm {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #F59E0B;
  vertical-align: middle;
}

.confirm-inline {
  margin: 10px 0 0;
  font-size: var(--fs-xs);
  color: var(--text-sub);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

/* ==========================================================================
   フォレストアドベンチャー 2組別行動 UI
   ========================================================================== */
.sub-block {
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sub-block__title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--primary);
}

.inline-figure {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-subtle);
  border: 1px solid var(--border-subtle);
}

.inline-figure__img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 35%;
}

.inline-figure__cap {
  padding: 7px 12px;
  font-size: var(--fs-xs);
  color: var(--text-sub);
}

/* セグメント切替 */
.segment-control {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: #EEF2F7;
  padding: 4px;
  border-radius: 12px;
}

.segment-btn {
  min-height: 44px;
  padding: 6px 4px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--text-sub);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.segment-btn.is-active {
  background: var(--surface);
  color: var(--primary);
  box-shadow: var(--shadow-soft);
}

/* 2組比較カード */
.course-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.course-card {
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--surface-subtle);
  transition: opacity 0.2s ease;
}

.course-card--navy {
  border-left: 4px solid var(--primary);
}

.course-card--gold {
  border-left: 4px solid var(--accent);
}

.course-card[hidden] {
  display: none;
}

.course-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.course-card__badge {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--primary);
}

.course-card__status {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(15, 35, 66, 0.08);
  color: var(--primary);
}

.course-card__time {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.course-card__time small {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
}

.detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-sm);
  color: var(--text-main);
}

.detail-list li + li {
  margin-top: 4px;
}

/* 園内スケジュール行 */
.schedule-row {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px;
  align-items: start;
}

.schedule-row__time {
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--accent-dark);
  padding-top: 2px;
}

.schedule-row__time small {
  display: block;
  font-size: 11px;
  font-weight: 600;
}

.schedule-row__body h4 {
  margin: 0 0 4px;
  font-size: var(--fs-base);
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.schedule-row__body p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--text-main);
}

.note-muted {
  margin-top: 6px !important;
  font-size: var(--fs-xs) !important;
  color: var(--text-muted) !important;
}

/* 移動インジケーター */
.transit-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: linear-gradient(90deg, rgba(15, 35, 66, 0.06), rgba(197, 155, 95, 0.12));
  color: var(--primary);
  font-size: var(--fs-sm);
}

.transit-strip strong {
  display: inline;
  font-weight: 700;
}

.transit-strip span {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-sub);
}

/* お宿詳細リンクバナー */
.link-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(197, 155, 95, 0.45);
  background: var(--accent-soft);
  color: var(--primary);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

/* ==========================================================================
   2日目専用パーツ（特徴チップ・KABA時刻表・KV情報表）
   ========================================================================== */
.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-chips li {
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: var(--surface-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--primary);
}

.timetable-box {
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--surface-subtle);
  border: 1px solid var(--border-subtle);
}

.timetable-box__head {
  margin-bottom: 10px;
}

.timetable-box__label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--primary);
}

.timetable-box__sub {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-sub);
}

.timetable-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.tt-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 9px 8px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-sub);
}

.tt-pill small {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  margin-top: 2px;
}

.tt-pill--recommend {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(15, 35, 66, 0.22);
}

.tt-pill--recommend small {
  color: #E7C992;
}

.tt-pill--ng {
  background: var(--warn-bg);
  border-color: var(--warn-border);
  color: var(--warn-text);
  text-decoration: line-through;
}

.tt-pill--ng small {
  text-decoration: none;
  display: inline-block;
}

.info-kv {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--surface-subtle);
}

.info-kv__row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 8px;
  font-size: var(--fs-sm);
  align-items: baseline;
}

.info-kv__key {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text-muted);
}

.info-kv__val {
  color: var(--text-main);
  font-weight: 500;
}

/* 談合坂SA（上り）レストラン・フードコート店舗一覧 */
.shop-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shop-group__label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: 0.03em;
}

.shop-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shop-item {
  padding: 11px 12px;
  border-radius: var(--radius-md);
  background: var(--surface-subtle);
  border: 1px solid var(--border-subtle);
}

.shop-item--featured {
  background: var(--accent-soft);
  border-color: rgba(197, 155, 95, 0.42);
}

.shop-item__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-bottom: 4px;
}

.shop-item__top strong {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--primary);
}

.shop-item__time {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent-dark);
  white-space: nowrap;
}

.shop-item p {
  margin: 0;
  font-size: var(--fs-xs);
  color: var(--text-sub);
  line-height: 1.55;
}

/* ==========================================================================
   お宿タブ（写真ペア・7つの貸切風呂トラッカー）
   ========================================================================== */
.photo-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.photo-pair__item {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-subtle);
  border: 1px solid var(--border-subtle);
}

.photo-pair__item img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.photo-pair__item figcaption {
  padding: 7px 6px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--primary);
  text-align: center;
}

.bath-tracker {
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  border: 1px solid rgba(197, 155, 95, 0.35);
}

.bath-tracker__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  font-size: var(--fs-sm);
  color: var(--primary);
}

.bath-tracker__count {
  font-weight: 800;
  color: var(--accent-dark);
  white-space: nowrap;
  flex-shrink: 0;
}

.bath-dots {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.bath-dot {
  min-height: 44px;
  border-radius: 10px;
  border: 1.5px solid rgba(15, 35, 66, 0.18);
  background: #FFFFFF;
  color: var(--primary);
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.bath-dot[aria-pressed="true"] {
  background: var(--primary);
  border-color: var(--primary);
  color: #E7C992;
}

.bath-dot:active {
  transform: scale(0.94);
}

/* ==========================================================================
   持ち物タブ（プログレスバー・チェックリスト）
   ========================================================================== */
.progress-card {
  background: var(--primary);
  color: #FFFFFF;
  border-radius: var(--radius-card);
  padding: 18px 16px;
  box-shadow: var(--shadow-card);
}

.progress-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.progress-card__label {
  display: block;
  font-size: var(--fs-xs);
  color: #E7C992;
  font-weight: 600;
}

.progress-card__stats {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 2px;
}

.progress-card__stats strong {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
}

.progress-card__stats span {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.82);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.progress-track {
  width: 100%;
  height: 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, #C59B5F, #F0D29C);
  transition: width 0.35s var(--ease-out);
}

.progress-card__msg {
  margin: 10px 0 0;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.85);
}

.checklist-groups {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checklist-card {
  padding: 16px;
}

.checklist-card__title {
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--primary);
}

.checklist-card__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.checklist-card__dot--accent { background: var(--accent); }
.checklist-card__dot--sky { background: var(--sky); }
.checklist-card__dot--navy { background: var(--primary); }

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}

.check-item + .check-item {
  border-top: 1px solid var(--border-subtle);
}

.check-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 52px;
  padding: 11px 2px;
  cursor: pointer;
  user-select: none;
}

.check-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.check-box {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 7px;
  border: 2px solid #CBD5E1;
  background: #FFFFFF;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.check-box svg {
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.check-input:checked + .check-box {
  background: var(--primary);
  border-color: var(--primary);
}

.check-input:checked + .check-box svg {
  opacity: 1;
  transform: scale(1);
}

.check-input:focus-visible + .check-box {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
}

.check-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: opacity 0.2s ease;
}

.check-text strong {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
}

.check-text small {
  font-size: var(--fs-xs);
  color: var(--text-sub);
  line-height: 1.45;
}

.check-input:checked ~ .check-text {
  opacity: 0.52;
}

.check-input:checked ~ .check-text strong {
  text-decoration: line-through;
}

/* ==========================================================================
   フッター
   ========================================================================== */
.site-footer {
  padding: 24px 16px 36px;
  text-align: center;
  border-top: 1px solid var(--border-subtle);
  background: var(--surface);
}

.site-footer__brand {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--primary);
}

.site-footer__note {
  margin: 4px 0 0;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* ==========================================================================
   動きを減らす設定への対応（prefers-reduced-motion）
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
