/* ==========================================================================
   1. RESET & BASE STYLES
   ========================================================================== */
:root {
  --primary-color: #0a1128;
  --secondary-color: #1c2d5a;
  --accent-color: #f1c40f;
  --accent-gradient: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
  --cta-color: #ff4757;
  --text-main: #333333;
  --text-muted: #666666;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --radius: 8px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --orion-blue: #004494;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.7;
  color: var(--text-main);
  background-color: var(--bg-light);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; vertical-align: middle; border-radius: var(--radius); }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }

/* ==========================================================================
   2. LAYOUT & COMPONENTS
   ========================================================================== */
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Site Header */
.site-header {
  background-color: var(--bg-white);
  border-bottom: 4px solid var(--orion-blue);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.header-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.header-logo { display: flex; align-items: center; }
.header-logo img { height: 40px; width: auto; border-radius: 0; }
.header-nav ul { display: flex; gap: 24px; }
.header-nav a { font-size: 0.95rem; font-weight: bold; color: #111111; transition: all 0.3s ease; }
.header-nav a:hover { color: var(--orion-blue); }

/* Breadcrumb */
.breadcrumb-wrapper {
  background-color: var(--bg-white);
  padding: 12px 0 8px 0;
  border-bottom: 1px solid #edf2f7;
}
.breadcrumb-container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; font-size: 0.8rem; color: #333333; }
.breadcrumb li:not(:last-child)::after { content: ">"; margin: 0 6px; color: #666666; }
.breadcrumb a { color: #005bac; }
.breadcrumb a:hover { text-decoration: underline; }

/* Hero Banner */
.hero {
  background: linear-gradient(rgba(10, 17, 40, 0.85), rgba(10, 17, 40, 0.95)), url('https://gazou.orion-tour.co.jp/Honban/Content/images/Item/tour/521/0006/130002/sh_shg2.jpg') no-repeat center/cover;
  color: var(--bg-white);
  text-align: center;
  padding: 80px 20px;
}
.hero-badge {
  display: inline-block;
  background: var(--accent-gradient);
  color: var(--primary-color);
  font-weight: bold;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.hero h1 { font-size: 2.2rem; line-height: 1.4; margin-bottom: 20px; font-weight: 700; }
.hero-meta { display: flex; justify-content: center; gap: 20px; font-size: 1.1rem; font-weight: bold; margin-top: 20px; }

/* Navigation / Plan Selector (黄色枠線の修正部分) */
.plan-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: -30px auto 40px;
  position: relative;
  z-index: 10;
}
.selector-btn {
  background: var(--bg-white);
  padding: 20px;
  text-align: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 3px solid #ffd700; /* 黄色の枠線 */
  transition: all 0.3s ease;
  font-weight: bold;
  text-decoration: none;
  color: var(--text-main);
}
.selector-btn:hover { 
  background-color: #fffbef; /* ホバー時にうっすら黄色背景 */
  transform: translateY(-2px); 
  border-color: #ffcc00;
}
.selector-btn span { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 5px; }

/* Section Global */
section { margin-bottom: 50px; }
.section-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--accent-color);
  font-weight: 800;
}

/* Card Layout */
.card { background: var(--bg-white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); margin-bottom: 40px; }
.card-header { border-bottom: 2px solid var(--border-color); padding-bottom: 15px; margin-bottom: 20px; }
.card-tag { background: var(--secondary-color); color: white; padding: 4px 10px; font-size: 0.8rem; border-radius: 4px; margin-right: 10px; vertical-align: middle;}
.card-title { display: inline-block; font-size: 1.35rem; color: var(--primary-color); vertical-align: middle; line-height: 1.4;}
.card-description { margin-bottom: 20px; color: #4a5568;}

/* Media Grid (For Videos) */
.grid-media { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 15px; }
.video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--radius); margin-bottom: 15px; }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* ★ スポット画像グリッド (新大阪プラン用) ★ */
.spot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.spot-card {
  text-align: center;
  background: var(--bg-light);
  padding: 15px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}
.spot-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 15px;
}
.spot-card h4 {
  font-size: 1.05rem;
  color: var(--primary-color);
  margin-bottom: 8px;
  font-weight: bold;
}
.spot-card p {
  font-size: 0.88rem;
  color: #4a5568;
  line-height: 1.5;
  text-align: left;
}

/* ★ カルーセルバナー (PC幅制限最適化) ★ */
.carousel-container {
  position: relative;
  overflow: hidden; 
  width: 100%;
  max-width: 600px; /* PC画面で大きくなりすぎるのを防ぐ */
  margin: 15px auto 30px; /* 中央配置 */
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #000;
}
.carousel-track {
  display: flex; 
  transition: transform 0.4s ease-in-out; 
}
.carousel-track img {
  min-width: 100%; /* コンテナ幅に固定 */
  height: 350px;
  object-fit: cover;
  border-radius: 0; 
  pointer-events: none; /* スマホスワイプ時の画像保存防止 */
}

/* カルーセル 左右ボタン */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 17, 40, 0.5); 
  color: #ffffff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s ease;
}
.carousel-btn:hover { background: rgba(10, 17, 40, 0.9); }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

/* ドットナビゲーション */
.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5); 
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}
.dot:hover { background: rgba(255, 255, 255, 0.9); }
.dot.active {
  background: #ffffff; 
  transform: scale(1.3); 
}

/* Pricing Box */
.price-box {
  background: #fff9e6;
  border: 1px solid #ffeaa7;
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  margin: 20px 0;
}
.price-label { font-size: 0.95rem; color: var(--text-muted); font-weight: bold; }
.price-amount { font-size: 2.2rem; color: var(--cta-color); font-weight: bold; margin: 5px 0; }
.price-amount span { font-size: 1.2rem; color: var(--text-main); }

/* CTA Button */
.btn-cta {
  display: block;
  background: var(--cta-color);
  color: white;
  text-align: center;
  padding: 16px;
  font-size: 1.25rem;
  font-weight: bold;
  border-radius: var(--radius);
  box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
  transition: all 0.3s ease;
  margin: 15px auto 0;
  max-width: 480px;
}
.btn-cta:hover { background: #ff2e44; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 71, 87, 0.6); }

/* Map Buttons */
.map-buttons-container {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 15px;
}
.map-btn {
  background: var(--bg-white);
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.map-btn:hover {
  background: var(--secondary-color);
  color: white;
}

/* Timeline (Schedule) */
.timeline { position: relative; padding: 15px 0 15px 20px; border-left: 2px solid var(--border-color); margin: 20px 0; }
.timeline-day { font-weight: bold; font-size: 1.1rem; color: var(--primary-color); margin-left: -20px; margin-bottom: 15px; background: #e2e8f0; padding: 4px 15px; display: inline-block; border-radius: 20px; }
.timeline-item { position: relative; margin-bottom: 20px; padding-left: 15px; }
.timeline-item::before { content: ''; position: absolute; left: -27px; top: 6px; width: 12px; height: 12px; background: var(--secondary-color); border-radius: 50%; border: 2px solid white; }
.timeline-time { font-size: 0.85rem; color: var(--text-muted); font-weight: bold; display: block; margin-bottom: 2px; }
.timeline-content { font-weight: bold; font-size: 0.95rem; }
.timeline-meal { background: #eee; padding: 6px 15px; border-radius: 4px; display: flex; gap: 15px; font-size: 0.85rem; margin-top: 10px; }

/* Tables */
.spec-table { width: 100%; border-collapse: collapse; margin-top: 15px; font-size: 0.9rem; }
.spec-table th, .spec-table td { padding: 10px 15px; border: 1px solid var(--border-color); text-align: left; }
.spec-table th { background-color: var(--bg-light); color: var(--primary-color); width: 30%; font-weight: bold; }

/* Notes Box (Shortened) */
.notes-box { background: #fff5f5; border-left: 5px solid #f56565; padding: 25px; border-radius: var(--radius); font-size: 0.9rem; margin: 30px 0; border: 1px solid #fed7d7; border-left: 5px solid #f56565;}
.notes-box ul { padding-left: 18px; list-style-type: disc; margin-bottom: 10px; }
.notes-box li { margin-bottom: 6px; color: #2d3748; line-height: 1.5; }

/* Bag Items Grid */
.bag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-top: 10px; }
.bag-item { background: #e0f2fe; color: #0369a1; text-align: center; padding: 8px; border-radius: 4px; font-size: 0.8rem; font-weight: bold; }

/* Site Footer */
.site-footer {
  background: var(--primary-color);
  color: #a0aec0;
  padding: 40px 20px 25px;
  margin-top: 60px;
  font-size: 0.85rem;
  border-top: 4px solid var(--orion-blue);
}
.footer-container { max-width: 1080px; margin: 0 auto; }
.footer-nav-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-bottom: 20px;
}
.footer-nav-list li { margin-bottom: 0; }
.footer-nav-list a { color: #cbd5e1; font-weight: bold; transition: color 0.3s ease; }
.footer-nav-list a:hover { color: #ffffff; text-decoration: underline; }
.footer-divider { border: 0; border-top: 1px solid #2d3748; margin: 20px 0; }
.copyright { text-align: center; font-size: 0.8rem; color: #718096; }

/* ==========================================================================
   3. RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 768px) {
  .header-container { flex-direction: column; gap: 10px; text-align: center; }
  .header-nav ul { gap: 12px; flex-wrap: wrap; justify-content: center; }
  .hero h1 { font-size: 1.5rem; }
  .hero-meta { flex-direction: column; gap: 5px; font-size: 1rem; }
  .plan-selector { grid-template-columns: 1fr; margin: -20px 10px 30px; }
  .card { padding: 20px; }
  .card-title { font-size: 1.15rem; display: block; margin-top: 5px; }
  .spec-table th, .spec-table td { display: block; width: 100%; }
  .spec-table th { border-bottom: none; }
  .carousel-track img { height: 220px; } /* スマホ時はカルーセル高さを抑える */
}