/*
 * カスタムスタイルシート
 * Bootstrapのデフォルトスタイルを微調整するために使用します。
 */

/* 非機能要件: スマホのみサポート (iPhone 8 ~ iPhone 15 Pro)
 * 対応ブラウザ: iOS Safari, iOS Chrome
 * 画面サイズ: 375px (iPhone 8) ~ 430px (iPhone 15 Pro Max)
 */

/* 全体のデザイン */
html {
  height: 100%;
  overflow: hidden;
}

body {
  background: rgb(245, 244, 239); /* オフホワイト/クリーム */
  background-attachment: fixed;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: rgb(50, 50, 50); /* ダークグレー */
  min-height: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* ナビゲーションバー */
.navbar {
  background: transparent !important; /* 背景を透明に */
  box-shadow: none; /* シャドウを削除 */
}

.navbar-toggler {
  border: none; /* ボーダーを削除 */
}

/* ハンバーガーアイコンの色 */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2845, 172, 186, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important; /* アクセント1 (ティールブルー) */
}

.navbar-nav .nav-link {
  color: rgb(45, 172, 186); /* アクセント1 (ティールブルー) */
  font-weight: 500;
}

/* ナビゲーションメニューが開いた時の背景色を透明に */
.navbar-collapse {
  background-color: transparent !important; /* メニュー開閉時の背景も透明に */
}

/* メインビジュアル */
.hero-section {
  background: rgb(45, 172, 186); /* アクセント1 (ティールブルー) */
  margin: 0 -12px;
  border-radius: 0 0 30px 30px;
  box-shadow: 0 4px 15px rgba(45, 172, 186, 0.3);
}

.hero-title {
  color: rgb(255, 255, 255); /* テキスト (ホワイト) */
  font-size: 1.5rem;
  font-weight: bold;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.countdown-box {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 1rem 2rem;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.countdown-label {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.countdown-number {
  font-size: 2rem;
  font-weight: bold;
  color: #667eea;
  margin: 0;
}

/* セクションタイトル */
.section-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: rgb(50, 50, 50); /* ダークグレー */
  margin-bottom: 1rem;
  padding-left: 0.5rem;
}

/* 情報カード */
.info-card {
  background: rgb(245, 244, 239); /* メイン背景 (オフホワイト/クリーム) */
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(45, 172, 186, 0.1); /* アクセント1 (ティールブルー) の薄い色 */
}

.info-card .card-header {
  background: transparent; /* 透明 */
  padding: 1rem 1.2rem;
  border: none;
}

.info-card .card-title {
  font-size: 1rem;
  font-weight: bold;
  color: rgb(50, 50, 50); /* ダークグレー */
  margin: 0;
}

.info-card .card-body {
  padding: 1.2rem;
}

/* フライト情報 */
.flight-label {
  font-weight: bold;
  color: rgb(50, 50, 50); /* ダークグレー */
  font-size: 1.0rem;
}

.flight-route {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.airport {
  background: rgba(45, 172, 186, 0.2); /* アクセント1 (ティールブルー) の薄い色 */
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-weight: bold;
  color: rgb(45, 172, 186); /* アクセント1 (ティールブルー) */
  font-size: 0.7rem;
}

.arrow {
  color: #999;
  font-size: 1rem;
}

.flight-segment {
  background: rgb(245, 244, 239); /* メイン背景 (オフホワイト/クリーム) */
  border-radius: 12px;
  padding: 0.8rem;
  margin-top: 0.5rem;
}

.segment-title {
  font-weight: bold;
  color: rgb(50, 50, 50); /* ダークグレー */
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.flight-details {
  background: rgb(245, 244, 239); /* メイン背景 (オフホワイト/クリーム) */
  border-radius: 12px;
  padding: 0.8rem;
  margin-top: 0.5rem;
}

.detail-item {
  margin: 0.3rem 0;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
}

.detail-item .label {
  color: rgb(150, 150, 150); /* 薄いダークグレー */
  font-weight: 500;
}

.detail-item .value {
  color: rgb(50, 50, 50); /* ダークグレー */
  font-weight: bold;
}

/* 宿泊先 */
.accommodation-name {
  font-size: 1.1rem;
  font-weight: bold;
  color: rgb(50, 50, 50); /* ダークグレー */
  margin: 0;
}

.accommodation-address {
  font-size: 0.85rem;
  color: rgb(100, 100, 100); /* 中間のダークグレー */
}

.map-link {
  color: rgb(45, 172, 186); /* アクセント1 (ティールブルー) */
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-block;
}

.map-link:hover {
  text-decoration: underline;
}

/* index.html のマップ iframe に display: block を適用 */
.info-card .map-container iframe {
  display: block;
}

/* レンタカー */
.rental-company-name {
  font-size: 1.1rem;
  font-weight: bold;
  color: rgb(50, 50, 50); /* ダークグレー */
}

.rental-company-address {
  font-size: 0.85rem;
  color: rgb(100, 100, 100); /* 中間のダークグレー */
}

.rental-company-phone {
  font-size: 0.9rem;
  color: rgb(50, 50, 50); /* ダークグレー */
}

.rental-company-phone a {
  color: rgb(45, 172, 186); /* アクセント1 (ティールブルー) */
  text-decoration: none;
}

.rental-company-phone a:hover {
  text-decoration: underline;
}

.rental-info-box {
  background: rgb(245, 244, 239); /* メイン背景 (オフホワイト/クリーム) */
  border-radius: 12px;
  padding: 0.8rem;
  border-left: 4px solid rgb(45, 172, 186); /* アクセント1 (ティールブルー) */
}

.info-box-title {
  font-weight: bold;
  color: rgb(50, 50, 50); /* ダークグレー */
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.info-box-text {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.5;
  margin: 0;
}

/* 受取・返却ボックス（重要情報） */
.rental-datetime-box {
  background: rgb(243, 111, 40); /* アクセント2 (オレンジ) */
  border-radius: 15px;
  padding: 1.2rem;
  box-shadow: 0 4px 15px rgba(243, 111, 40, 0.3);
}

.datetime-box-title {
  font-weight: bold;
  color: rgb(255, 255, 255); /* テキスト (ホワイト) */
  margin-bottom: 0.8rem;
  font-size: 1rem;
  text-align: center;
}

.datetime-item {
  background: rgba(255, 255, 255, 0.8); /* 半透明ホワイト */
  border-radius: 10px;
  padding: 0.7rem 1rem;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.datetime-item:last-child {
  margin-bottom: 0;
}

.datetime-label {
  font-weight: bold;
  color: rgb(243, 111, 40); /* アクセント2 (オレンジ) */
  font-size: 0.95rem;
}

.datetime-value {
  font-weight: bold;
  color: rgb(50, 50, 50); /* ダークグレー */
  font-size: 1rem;
}

.rental-car {
  padding: 0.8rem 0;
}

.car-number {
  font-weight: bold;
  color: rgb(50, 50, 50); /* ダークグレー */
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

/* マップコンテナ */
.map-container {
  min-height: 200px;
  background: rgb(245, 244, 239); /* メイン背景 (オフホワイト/クリーム) */
  border-radius: 15px;
}

/* 日程カード */
.day-card-link {
  text-decoration: none;
  display: block;
}

.day-card {
  background: rgb(255, 255, 255); /* ホワイト */
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  padding: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.day-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.day-number {
  background: rgb(45, 172, 186); /* アクセント1 (ティールブルー) */
  color: rgb(255, 255, 255); /* テキスト (ホワイト) */
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.day-content {
  margin-left: 1rem;
  flex: 1;
}

.day-date {
  font-size: 0.85rem;
  color: rgb(100, 100, 100); /* 中間のダークグレー */
  margin: 0;
}

.day-theme {
  font-size: 1rem;
  font-weight: bold;
  color: rgb(50, 50, 50); /* ダークグレー */
  margin: 0.2rem 0 0 0;
}

/* 天気予報 */
.location-name {
  font-weight: bold;
  color: rgb(50, 50, 50); /* ダークグレー */
  font-size: 1rem;
}

.weather-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.weather-day-card {
  background: rgb(255, 255, 255); /* ホワイト */
  border-radius: 15px;
  padding: 0.8rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.weather-date {
  font-size: 0.75rem;
  font-weight: bold;
  color: rgb(50, 50, 50); /* ダークグレー */
  margin: 0 0 0.3rem 0;
}

.weather-icon {
  font-size: 2rem;
  margin: 0.3rem 0;
}

.weather-text {
  font-size: 0.8rem;
  color: rgb(100, 100, 100); /* 中間のダークグレー */
  margin: 0.3rem 0;
  font-weight: 500;
}

.weather-temp {
  font-size: 0.9rem;
  margin: 0.3rem 0;
}

.temp-max {
  color: rgb(243, 111, 40); /* アクセント2 (オレンジ) */
  font-weight: bold;
}

.temp-separator {
  color: #999;
  margin: 0 0.2rem;
}

.temp-min {
  color: rgb(45, 172, 186); /* アクセント1 (ティールブルー) */
  font-weight: bold;
}

.weather-rain {
  font-size: 0.75rem;
  color: rgb(45, 172, 186); /* アクセント1 (ティールブルー) */
  margin: 0.3rem 0 0 0;
  font-weight: 500;
}

/* Dayページ用スタイル */
.day-header {
  background: rgb(45, 172, 186); /* アクセント1 (ティールブルー) */
  margin: 0 -12px;
  border-radius: 0 0 30px 30px;
  box-shadow: 0 4px 15px rgba(45, 172, 186, 0.3);
  position: relative; /* 子要素の絶対配置の基準にする */
  overflow: hidden; /* 角丸の境界からはみ出さないように */
}

.day-title {
  color: rgb(255, 255, 255); /* テキスト (ホワイト) */
  font-size: 1.6rem;
  font-weight: bold;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.day-subtitle {
  color: rgba(255, 255, 255, 0.9); /* テキスト (ホワイト) の半透明 */
  font-size: 1rem;
  margin: 0.5rem 0 0 0;
  font-weight: 500;
}

/* タイムラインセクション */
.timeline-section {
  margin-bottom: 2rem;
  padding-top: 1rem;
}

.timeline-spot {
  margin-bottom: 3rem;
  scroll-margin-top: 80px; /* ヘッダーの高さ分のマージンを追加 */
}

.timeline-spot:focus,
.timeline-spot:focus-visible,
.timeline-spot:target {
  outline: none;
  box-shadow: none;
}

.timeline-spot-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.timeline-category {
  background: rgb(243, 111, 40); /* アクセント2 (オレンジ) */
  padding: 0.4rem 0.8rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(243, 111, 40, 0.3);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.timeline-category-text {
  font-weight: bold;
  color: rgb(255, 255, 255); /* テキスト (ホワイト) */
  font-size: 0.85rem;
}

.timeline-time {
  background: rgb(45, 172, 186); /* アクセント1 (ティールブルー) */
  color: rgb(255, 255, 255); /* テキスト (ホワイト) */
  padding: 0.4rem 0.8rem;
  border-radius: 12px;
  font-weight: bold;
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(45, 172, 186, 0.3);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.timeline-time-label {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.9;
}

.timeline-time-value {
  font-size: 0.9rem;
  font-weight: bold;
}

.timeline-content {
  padding-left: 0.5rem;
}

.timeline-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: rgb(50, 50, 50); /* ダークグレー */
  margin: 0.5rem 0;
  line-height: 1.3;
}

.timeline-title-en {
  font-size: 0.8rem;
  color: rgb(150, 150, 150); /* 薄いダークグレー */
  margin: 0 0 1rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timeline-images {
  margin: 1.5rem 0;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

/* 画像スライダー */
.timeline-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 15px;
  aspect-ratio: 16 / 12;
}

.timeline-slider-container {
  display: flex;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  height: 100%;
  width: 100%;
}

.timeline-slider-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.timeline-slider-item {
  flex: 0 0 100%; /* 各アイテムがコンテナの100%を占める */
  scroll-snap-align: start;
}

.timeline-image-placeholder {
  background: #f0f0f0;
  padding: 3rem 1rem;
  text-align: center;
  color: #999;
  font-size: 2rem;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 実際の画像を使う場合 */
.timeline-slider-item img {
  width: auto;
  height: 100%;
  display: block;
  object-fit: cover; /* コンテナを埋めるように画像を調整 */
  border-radius: 12px;
}

/* スライダードット */
.timeline-slider-dots {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  border-radius: 0 0 15px 15px;
  gap: 8px;
  z-index: 10;
}

.timeline-slider-dot {
  width: 8px;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s;
  cursor: pointer;
}

.timeline-slider-dot.active {
  background: white;
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.timeline-description {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
  margin: 1rem 0;
}

.timeline-link {
  color: rgb(45, 172, 186); /* アクセント1 (ティールブルー) */
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  margin: 0.3rem 0;
}

.timeline-link:hover {
  text-decoration: underline;
}

/* 注意事項・お知らせボックス */
.timeline-notice {
  background: rgb(245, 244, 239); /* メイン背景 (オフホワイト/クリーム) */
  border-radius: 12px;
  padding: 1rem;
  margin: 1rem 0;
  border-left: 4px solid rgb(243, 111, 40); /* アクセント2 (オレンジ) */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(45, 172, 186, 0.1); /* アクセント1 (ティールブルー) の薄い色 */
}

.notice-title {
  font-size: 0.9rem;
  font-weight: bold;
  color: rgb(243, 111, 40); /* アクセント2 (オレンジ) */
  margin: 0 0 0.5rem 0;
}

.notice-text {
  font-size: 0.9rem;
  color: rgb(100, 100, 100); /* 中間のダークグレー */
  line-height: 1.6;
  margin: 0 0 0.5rem 0;
}

/* フライト情報ボックス */
.timeline-flight-info {
  margin: 1.5rem 0;
}

.flight-info-box {
  background: rgb(245, 244, 239); /* メイン背景 (オフホワイト/クリーム) */
  border-radius: 15px;
  padding: 1.2rem;
  border-left: 4px solid rgb(45, 172, 186); /* アクセント1 (ティールブルー) */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(45, 172, 186, 0.1); /* アクセント1 (ティールブルー) の薄い色 */
}

.flight-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.flight-info-row:last-child {
  border-bottom: none;
}

.flight-info-label {
  font-size: 0.85rem;
  color: #666;
  font-weight: 500;
}

.flight-info-value {
  font-size: 0.9rem;
  color: rgb(45, 172, 186); /* Dark teal */
  font-weight: bold;
  text-align: right;
}

.timeline-map {
  margin: 1.5rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.timeline-map iframe {
  display: block;
}

.timeline-info {
  margin-top: 1rem;
}

.timeline-location {
  font-size: 0.9rem;
  color: #00838F; /* Teal */
  font-weight: 500;
  margin: 0;
}

/* 移動時間 */
.timeline-transit {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 2rem 0;
}

.timeline-transit-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, #e0e0e0 0%, #f0f0f0 100%);
  margin-bottom: 0.5rem;
}

.timeline-transit-icon {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

.timeline-transit-text {
  font-size: 0.85rem;
  color: #999;
  margin: 0;
}

/* メモ・注意事項セクション */
.notes-section {
  margin-top: 2rem;
}

/* やちむん通り - セクション */
.timeline-description-section {
  padding: 1rem;
  margin: 1rem 0;
}

.description-subtitle {
  font-size: 1rem;
  font-weight: bold;
  color: rgb(50, 50, 50); /* ダークグレー */
  margin: 0 0 0.5rem 0;
}

.yachimun-map-section {
  margin: 1.5rem 0;
}

.map-section-title {
  font-size: 1rem;
  font-weight: bold;
  color: rgb(50, 50, 50); /* ダークグレー */
  margin: 0 0 0.8rem 0;
}

.yachimun-map-image {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.yachimun-map-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 予約情報ボックス */
.reservation-info-box {
  background: rgb(245, 244, 239); /* メイン背景 (オフホワイト/クリーム) */
  border-left: 4px solid #ffa726;
  border-radius: 15px;
  padding: 1rem;
  margin: 1rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(45, 172, 186, 0.1); /* アクセント1 (ティールブルー) の薄い色 */
}

/* シークレットイベント画像 */
.secret-event-image {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin: 1rem 0;
}

.secret-event-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* シークレットイベントバナー */
.secret-event-banner {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-radius: 15px;
  padding: 3rem 1.5rem;
  margin: 1rem 0;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.secret-event-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

.secret-event-title {
  font-size: 2rem;
  font-weight: bold;
  color: #ffd700;
  margin: 0;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5),
               0 0 20px rgba(255, 215, 0, 0.3),
               0 2px 4px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.1em;
  font-family: 'Georgia', 'Times New Roman', serif;
  position: relative;
  z-index: 1;
}

/* シークレットイベントボックス */
.secret-event-box {
  background: rgb(245, 244, 239); /* メイン背景 (オフホワイト/クリーム) */
  border: 2px dashed rgb(243, 111, 40); /* アクセント2 (オレンジ) */
  border-radius: 15px;
  padding: 1.5rem;
  margin: 1rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.secret-event-text {
  font-size: 1.1rem;
  font-weight: bold;
  color: rgb(243, 111, 40); /* アクセント2 (オレンジ) */
  margin: 0;
  line-height: 1.8;
  text-align: center;
}

/* 施設セクション */
.facility-section {
  margin: 1.5rem 0;
}

.facility-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: rgb(50, 50, 50); /* ダークグレー */
  margin: 0 0 1rem 0;
}

.facility-item {
  background: white;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.facility-item:last-child {
  margin-bottom: 0;
}

.facility-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.facility-image img {
  width: 100%;
  height: auto;
  display: block;
}

.facility-content {
  flex: 1;
}

.facility-name {
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  margin: 0 0 0.3rem 0;
}

.facility-note {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.reservation-label {
  font-size: 0.9rem;
  font-weight: bold;
  color: rgb(243, 111, 40); /* アクセント2 (オレンジ) */
  margin: 0 0 0.3rem 0;
}

.reservation-detail {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  margin: 0;
}

/* スーパーマーケットセクション */
.supermarket-section {
  margin: 1.5rem 0;
}

.supermarket-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: rgb(50, 50, 50); /* ダークグレー */
  margin: 0 0 1rem 0;
}

.supermarket-item {
  background: white; /* 白い背景 */
  border-radius: 15px;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* より軽いシャドウ */
  border: 1px solid rgba(45, 172, 186, 0.1); /* アクセント1 (ティールブルー) の薄い色 */
}

.supermarket-item:last-child {
  margin-bottom: 0;
}

.supermarket-name {
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  margin: 0 0 0.3rem 0;
}

.supermarket-info {
  font-size: 0.9rem;
  color: #666;
  margin: 0 0 0.8rem 0;
}

.supermarket-info strong {
  color: rgb(50, 50, 50); /* ダークグレー */
  font-weight: 600;
}

.supermarket-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 0.8rem;
}

.supermarket-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 駐車場セクション */
.parking-section {
  margin: 1.5rem 0;
}

.parking-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: rgb(50, 50, 50); /* ダークグレー */
  margin: 0 0 1rem 0;
}

.parking-item {
  background: white; /* 白い背景 */
  border-radius: 15px;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* より軽いシャドウ */
  border: 1px solid rgba(45, 172, 186, 0.1); /* アクセント1 (ティールブルー) の薄い色 */
}

.parking-item:last-child {
  margin-bottom: 0;
}

.parking-name {
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  margin: 0 0 0.3rem 0;
}

.parking-info {
  font-size: 0.9rem;
  color: #666;
  margin: 0 0 0.8rem 0;
}

.parking-info strong {
  color: rgb(45, 172, 186); /* アクセント1 (ティールブルー) */
  font-weight: 600;
}

/* レンタカー情報 */
.rental-info-section {
  background: rgb(245, 244, 239); /* メイン背景 (オフホワイト/クリーム) */
  border-radius: 15px;
  padding: 1.2rem;
  margin: 1rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(45, 172, 186, 0.1); /* アクセント1 (ティールブルー) の薄い色 */
}

.rental-info-item {
  margin-bottom: 1rem;
}

.rental-info-item:last-child {
  margin-bottom: 0;
}

.rental-info-label {
  font-size: 0.8rem;
  color: rgb(100, 100, 100); /* 中間のダークグレー */
  margin: 0 0 0.3rem 0;
  font-weight: 500;
}

.rental-info-value {
  font-size: 1rem;
  color: rgb(50, 50, 50); /* ダークグレー */
  margin: 0;
  font-weight: 600;
}

.rental-info-value a {
  color: rgb(45, 172, 186); /* アクセント1 (ティールブルー) */
  text-decoration: none;
}

.rental-info-value a:hover {
  text-decoration: underline;
}

.rental-cars-box {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 2px dashed #dee2e6;
}

.rental-car-item {
  background: white;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 0.8rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.rental-car-item:last-child {
  margin-bottom: 0;
}

.car-number {
  font-size: 1rem;
  font-weight: bold;
  color: rgb(50, 50, 50); /* ダークグレー */
  margin: 0 0 0.5rem 0;
}

.car-detail {
  font-size: 0.9rem;
  color: rgb(100, 100, 100); /* 中間のダークグレー */
  margin: 0.3rem 0;
}

.car-label {
  color: rgb(150, 150, 150); /* 薄いダークグレー */
  font-weight: 500;
}

.car-value {
  color: rgb(50, 50, 50); /* ダークグレー */
  font-weight: 600;
  margin-left: 0.3rem;
}

/* フッター */
.site-footer {
  background: rgb(45, 172, 186); /* アクセント1 (ティールブルー) */
  padding: 1.5rem 0;
  text-align: center;
}

.footer-text {
  color: rgb(255, 255, 255); /* テキスト (ホワイト) */
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.9;
}

/* スマホ以外の警告メッセージ（デフォルトは非表示） */
.mobile-only-warning {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f8f9fa;
  z-index: 9999;
  padding: 2rem;
  text-align: center;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* 600px以上の画面で警告メッセージを表示 */
@media (min-width: 600px) {
  .mobile-only-warning {
    display: flex;
  }
  
  body > *:not(.mobile-only-warning) {
    display: none !important;
  }
}

.mobile-only-warning-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.mobile-only-warning-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #212529;
}

.mobile-only-warning-text {
  font-size: 1rem;
  color: #6c757d;
  line-height: 1.6;
}

/* 旅程目次 */
.itinerary-index {
  margin: 1rem 0;
}

.itinerary-index .accordion-item {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.itinerary-index .accordion-button {
  background: rgb(45, 172, 186); /* アクセント1 (ティールブルー) */
  color: rgb(255, 255, 255); /* テキスト (ホワイト) */
  font-size: 1.1rem;
  font-weight: bold;
  padding: 1rem 1.5rem;
  border: none;
  box-shadow: none;
}

.itinerary-index .accordion-button:not(.collapsed) {
  background: rgb(45, 172, 186); /* アクセント1 (ティールブルー) */
  color: rgb(255, 255, 255); /* テキスト (ホワイト) */
  box-shadow: none;
}

.itinerary-index .accordion-button:focus {
  box-shadow: none;
  border: none;
}

.itinerary-index .accordion-button::after {
  filter: brightness(0) invert(1);
}

.itinerary-index .accordion-body {
  background: white;
  padding: 1.5rem;
}

.index-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.index-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  text-decoration: none !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  color: inherit;
}

.index-item:hover,
.index-item:active,
.index-item:focus,
.index-item:focus-visible,
.index-item:visited {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  outline: none;
  color: inherit;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  text-decoration: none !important;
}

.index-time {
  flex-shrink: 0;
  background: rgb(45, 172, 186); /* アクセント1 (ティールブルー) */
  color: rgb(255, 255, 255); /* テキスト (ホワイト) */
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-weight: bold;
  font-size: 0.85rem;
  min-width: 60px;
  text-align: center;
  margin-right: 0.75rem;
}

.index-name {
  color: #333;
  font-weight: 500;
  font-size: 0.95rem;
  flex-grow: 1;
}

/* 次の日への導線 */
.next-day-section {
  padding: 0 1rem;
}

.next-day-card {
  background: rgb(45, 172, 186); /* アクセント1 (ティールブルー) */
  border-radius: 20px;
  padding: 2rem 1.5rem;
  box-shadow: 0 8px 20px rgba(45, 172, 186, 0.3);
}

.next-day-label {
  color: rgb(255, 255, 255); /* テキスト (ホワイト) */
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.next-day-title {
  color: rgb(255, 255, 255); /* テキスト (ホワイト) */
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.next-day-subtitle {
  color: rgba(255, 255, 255, 0.9); /* テキスト (ホワイト) の半透明 */
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.next-day-button {
  display: inline-block;
  background: rgb(255, 255, 255); /* テキスト (ホワイト) */
  color: rgb(45, 172, 186); /* アクセント1 (ティールブルー) */
  padding: 0.75rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.next-day-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: rgb(45, 172, 186); /* アクセント1 (ティールブルー) */
  text-decoration: none;
}

/* 営業時間・距離情報セクション */
.facility-info-section {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 1.5rem;
  background: rgb(245, 244, 239); /* メイン背景 (オフホワイト/クリーム) */
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(45, 172, 186, 0.1); /* アクセント1 (ティールブルー) の薄い色 */
}

.facility-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  transition: all 0.2s ease;
}

.facility-info-item:hover {
  background: rgba(102, 126, 234, 0.03);
}

.facility-info-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgb(50, 50, 50); /* ダークグレー */
  margin: 0;
  letter-spacing: 0.5px;
}

.facility-info-value {
  font-size: 1rem;
  font-weight: bold;
  color: #2c3e50;
  margin: 0;
  line-height: 1.4;
  text-align: right;
}

/* Bootstrap クラスのオーバーライド */
.mb-4 {
  margin: 1.5rem 0 !important;
}

.pb-5 {
  padding-bottom: 0 !important;
}

/*============
nav
=============*/
nav {
  display: block;
  position: fixed;
  top: 0;
  left: -100%; /* 画面外に完全に隠す */
  bottom: 0;
  width: 100%; /* 画面全体に広げる */
  height: 100vh; /* ビューポートの全高に設定 */
  background: rgba(45, 172, 186, 0.95); /* アクセント1の半透明 */
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: all .5s;
  z-index: 1001; /* 他の要素より上 */
  opacity: 0; /* 初期状態では非表示 */
}
.open nav {
  left: 0; /* 開いた時に表示 */
  opacity: 1;
}
nav .inner {
  padding: 25px;
}
nav .inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
nav .inner ul li {
  position: relative;
  margin: 0;
  border-bottom: 1px solid rgb(220, 220, 220); /* やや薄いグレー */
}
nav .inner ul li a {
  display: block;
  color: rgb(255, 255, 255); /* テキスト (ホワイト) */
  font-size: 14px;
  padding: 1em;
  text-decoration: none;
  transition-duration: 0.2s;
}
nav .inner ul li a:hover {
  background: rgba(255, 255, 255, 0.1); /* 白の半透明 */
}
@media screen and (max-width: 767px) {
  nav {
    left: -100%;
    width: 100%;
  }
}
/*============
.toggle_btn
============*/
.toggle_btn {
  display: block;
  position: fixed;
  top: 25px;
  right: 20px;
  left: auto;
  width: 30px;
  height: 30px;
  transition: all .5s;
  cursor: pointer;
  z-index: 1002; /* navより上 */
}
.toggle_btn span {
  display: block;
  position: absolute;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: rgb(255, 255, 255); /* テキスト (ホワイト) */
  border-radius: 4px;
  transition: all .5s;
}
.toggle_btn span:nth-child(1) {
  top: 4px;
}
.toggle_btn span:nth-child(2) {
  top: 14px;
}
.toggle_btn span:nth-child(3) {
  bottom: 4px;
}
.open .toggle_btn span {
  background-color: rgb(255, 255, 255); /* テキスト (ホワイト) */
}
.open .toggle_btn span:nth-child(1) {
  -webkit-transform: translateY(10px) rotate(-315deg);
  transform: translateY(10px) rotate(-315deg);
}
.open .toggle_btn span:nth-child(2) {
  opacity: 0;
}
.open .toggle_btn span:nth-child(3) {
  -webkit-transform: translateY(-10px) rotate(315deg);
  transform: translateY(-10px) rotate(315deg);
}
/*============
#mask
============*/
#mask {
  display: none;
  transition: all .5s;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: .5; /* 不透明度を調整 */
  z-index: 1000; /* navの下 */
  cursor: pointer;
}
.open #mask {
  display: block;
}
/*============
main
============*/
main {
  padding-top: 0; /* 余白を削除 */
}

main h1 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  text-align: center;
}

/*============
body
============*/
body {
  /* font-family: 'Open Sans', sans-serif; */
  /* font-weight: 400; */
}

/* 新しい推薦アイテムのカードスタイル */
.recommendation-item {
  background: white; /* 白い背景 */
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* より軽いシャドウ */
  border: 1px solid rgba(45, 172, 186, 0.1); /* アクセント1 (ティールブルー) の薄い色 */
}

/* スプラッシュスクリーン */
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(245, 244, 239); /* 背景色 */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease-out, transform 0.7s ease-in-out;
}

#splash-screen.fade-out-left {
  opacity: 0;
  transform: translateX(-100%);
}

.splash-logo {
  max-width: 80%;
  max-height: 80%;
  opacity: 0; /* 最初は非表示 */
  animation: logo-fade-in 1.0s ease-out forwards; /* フェードインアニメーション */
  animation-delay: 0.5s; /* スプラッシュスクリーンが表示されてから少し遅れてロゴが表示される */
}

@keyframes logo-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
