/* ==========================================================================
   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%;
}
h1, h2, h3, h4, h5, h6, .hero-lead {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; vertical-align: middle; border-radius: var(--radius); }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.mt-20 { margin-top: 20px; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.border-0 { border: 0; }

/* ==========================================================================
   2. LAYOUT & COMPONENTS
   ========================================================================== */
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ヘッダー */
.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: none; 
  width: 100%;
}
.header-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.header-content-box {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
.header-logo { display: flex; align-items: center; z-index: 110; flex-shrink: 0; }
.header-logo img { height: 42px; width: auto; border-radius: 0; }

.nav-toggle { display: none !important; }

/* 三本線ハンバーガーボタン */
.menu-trigger {
  display: block !important;
  position: relative !important;
  width: 30px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 120; 
  flex-shrink: 0;
}
.menu-trigger span {
  display: block;
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--orion-blue) !important;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}
.menu-trigger span:nth-child(1) { top: 0; }
.menu-trigger span:nth-child(2) { top: 9px; }
.menu-trigger span:nth-child(3) { top: 18px; }

.menu-trigger.is-open span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.menu-trigger.is-open span:nth-child(2) { opacity: 0; }
.menu-trigger.is-open span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

/* サイドドロワーナビゲーション */
.header-nav {
  display: block !important;
  position: fixed !important;
  top: 0 !important;
  right: -300px; 
  width: 300px; 
  height: 100vh !important; 
  background-color: var(--bg-white) !important;
  box-shadow: -4px 0 16px rgba(0,0,0,0.15) !important;
  padding: 0 !important;
  overflow-y: auto;
  transition: right 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important; 
  z-index: 115;
}
.header-nav.is-open {
  right: 0 !important; 
}

.nav-drawer-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
}
.drawer-logo { height: 36px; width: auto; border-radius: 0; }

.header-nav ul { display: flex !important; flex-direction: column !important; gap: 0 !important; text-align: left !important; padding-top: 10px; }
.header-nav li a { display: block !important; padding: 16px 25px !important; border-bottom: 1px solid var(--bg-light) !important; font-size: 0.95rem !important; font-weight: bold !important; color: #111111 !important; width: 100% !important; transition: background-color 0.2s ease !important; }
.header-nav li a:hover { background-color: var(--bg-light) !important; color: var(--orion-blue) !important; }

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5); 
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 110;
}
.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto; 
}

/* パンくずエリア */
.breadcrumb-wrapper {
  background: none !important;
  padding: 12px 0;
  border: none !important;
  position: relative;
}
.breadcrumb-container { max-width: 1080px; margin: 0 auto; padding: 0 20px; overflow: hidden; }
.breadcrumb ol { display: flex; flex-wrap: wrap; font-size: 0.85rem; color: #005bac; white-space: nowrap; }
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li a { color: #005bac !important; font-weight: bold; }
.breadcrumb li a:hover { text-decoration: underline !important; }
.breadcrumb li span[aria-current="page"] { color: #4a5568; font-weight: bold; }
.breadcrumb li:not(:last-child)::after { content: ">"; margin: 0 8px; color: #a0aec0; font-size: 0.75rem; }

/* ヒーローエリア */
.hero {
  background: linear-gradient(rgba(10, 17, 40, 0.75), rgba(10, 17, 40, 0.85)), url('https://gazou.orion-tour.co.jp/Honban/Content/images/Item/tour/521/0006/130002/sh_ptn6g1_2.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-lead { font-size: 1.2rem; margin-bottom: 15px; }
.hero-meta { display: flex; justify-content: center; gap: 20px; font-size: 1.1rem; font-weight: bold; margin-top: 20px; }
.meta-item { display: flex; align-items: center; }

/* 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;
}
.section-subtitle {
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin: 25px 0 15px;
  font-weight: bold;
}
.section-intro {
  margin-bottom: 25px;
  line-height: 1.8;
  color: #4a5568;
}

/* 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-tag.tag-orange { background: #e67e22; }
.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 Section */
.media-title {
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

/* Media Grid */
.grid-media { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 15px; margin-bottom: 25px; }
.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 */
.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; }

/* アートギャラリー（カルーセル） */
.carousel-container { position: relative; width: 100%; max-width: 680px; margin: 25px auto 35px; border-radius: var(--radius); box-shadow: 0 10px 25px rgba(0,0,0,0.15); background: #111111; }
.carousel-stage { position: relative; overflow: hidden; border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 9; }
.carousel-track { display: flex; width: 100%; height: 100%; transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); }
.carousel-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; border-radius: 0; pointer-events: none; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.85); color: var(--primary-color); border: none; width: 44px; height: 44px; border-radius: 50%; font-size: 1.1rem; font-weight: bold; cursor: pointer; z-index: 10; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 10px rgba(0,0,0,0.15); transition: all 0.2s ease; }
.carousel-btn:hover { background: #ffffff; transform: translateY(-50%) scale(1.1); }
.carousel-btn.prev { left: -22px; }
.carousel-btn.next { right: -22px; }
.carousel-dots { position: absolute; bottom: -25px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.dot { width: 8px; height: 8px; background: #cbd5e1; border-radius: 50%; cursor: pointer; transition: all 0.3s ease; }
.dot:hover { background: var(--secondary-color); }
.dot.active { background: var(--secondary-color); width: 20px; border-radius: 4px; }

/* 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); }
.price-meta { font-size: 0.85rem; color: var(--text-muted); }

/* 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-text-guide-box {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.01);
}
.map-guide-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--bg-light);
}
.map-guide-item:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}
.guide-tag {
  font-size: 0.75rem;
  font-weight: bold;
  color: #ffffff;
  padding: 3px 12px;
  border-radius: 4px;
  flex-shrink: 0;
}
.guide-tag.badge-osaka { background-color: var(--orion-blue); }
.guide-tag.badge-kyoto { background-color: #2c3e50; }
.guide-text {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.5;
}

/* 地図コンポーネント用ボタン */
.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 24px;
  font-size: 0.95rem;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.map-btn:hover { background: var(--bg-light); }
.map-btn.active {
  background: var(--secondary-color) !important;
  color: var(--bg-white) !important;
  box-shadow: 0 4px 12px rgba(28, 45, 90, 0.25);
}
.map-iframe-wrapper {
  display: none; 
  margin-top: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-iframe-wrapper iframe { width: 100%; display: block; }

/* スケジュールタイムライン */
.modern-timeline { display: flex; flex-direction: column; gap: 40px; margin: 30px 0; }
.timeline-day-block { background-color: var(--bg-white); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 25px; box-shadow: 0 2px 4px rgba(0,0,0,0.02); }
.day-badge { display: inline-block; background-color: #004494; color: #ffffff; font-weight: bold; font-size: 1.1rem; padding: 6px 24px; border-radius: 30px; margin-bottom: 25px; box-shadow: 0 3px 6px rgba(0,68,148,0.2); }
.day-badge.day2 { background-color: #2c3e50; box-shadow: 0 3px 6px rgba(44,62,80,0.2); }
.timeline-list { position: relative; padding-left: 30px; border-left: 3px dashed #cbd5e1; margin-left: 65px; }
.timeline-node { position: relative; margin-bottom: 30px; }
.timeline-node:last-child { margin-bottom: 10px; }
.node-time { position: absolute; left: -95px; top: 2px; width: 55px; text-align: right; font-size: 0.9rem; font-weight: bold; color: var(--secondary-color); }
.timeline-node::before { content: ''; position: absolute; left: -36.5px; top: 6px; width: 12px; height: 12px; background-color: #ffffff; border: 3px solid var(--orion-blue); border-radius: 50%; z-index: 2; transition: all 0.2s ease; }
.timeline-node:hover::before { background-color: var(--accent-color); transform: scale(1.2); }
.node-body { background-color: var(--bg-light); padding: 12px 18px; border-radius: 6px; border-left: 4px solid #cbd5e1; }
.highlight-node .node-body { background-color: #fffaf0; border-left-color: var(--accent-color); box-shadow: 0 2px 8px rgba(241,196,15,0.1); }
.highlight-node::before { border-color: var(--accent-color); background-color: var(--accent-color); }
.spot-badge { display: inline-block; font-size: 0.72rem; font-weight: bold; padding: 2px 8px; border-radius: 4px; color: #ffffff; margin-bottom: 5px; }
.spot-badge.departure { background-color: #27ae60; }
.spot-badge.rest { background-color: #7f8c8d; }
.spot-badge.visit { background-color: #9b59b6; }
.spot-badge.main-event { background-color: var(--cta-color); animation: pulse 2s infinite; }
.spot-badge.stay { background-color: #2980b9; }
.spot-badge.arrival { background-color: #e67e22; }
.node-spot-name { font-size: 1rem; font-weight: bold; color: var(--primary-color); line-height: 1.4; }
.node-subtext { font-size: 0.88rem; color: var(--text-muted); margin-top: 4px; line-height: 1.5; }
.node-subtext.warning { color: #c53030; font-weight: 500; }
.meal-info-box { display: flex; align-items: center; gap: 20px; background-color: #edf2f7; padding: 10px 20px; border-radius: var(--radius); margin-top: 15px; font-size: 0.88rem; }
.meal-title { font-weight: bold; color: var(--secondary-color); }
.meal-status { color: #4a5568; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(255, 71, 87, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0); }
}

/* 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; }

/* Baggage Section */
.baggage-title { font-size: 1.5rem; color: var(--primary-color); margin-bottom: 20px; font-weight: 800; }
.bag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-top: 10px; margin-bottom: 30px; }
.bag-item { background: #e0f2fe; color: #0369a1; text-align: center; padding: 8px; border-radius: 4px; font-size: 0.8rem; font-weight: bold; }

/* Notes Box */
.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; }
.notes-box.card { border-left: 5px solid #f56565; }
.notes-title { color: #c53030; font-size: 1.2rem; margin-bottom: 15px; border-bottom: 2px solid #fed7d7; padding-bottom: 8px; font-weight: bold; }
.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; text-align: left; }

/* 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 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) {
  .breadcrumb-wrapper::after { display: block; }
  .breadcrumb-container { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-right: 40px; }
  .breadcrumb-container::-webkit-scrollbar { display: none; }
  .breadcrumb ol { flex-wrap: nowrap; }

  .hero { padding: 50px 15px; }
  .hero h1 { 
    font-size: 1.45rem !important; 
    line-height: 1.5 !important; 
    margin-bottom: 15px;
    letter-spacing: -0.02em;
  }
  .hero-lead { 
    font-size: 1.05rem !important; 
    line-height: 1.6 !important;
    margin-bottom: 20px; 
  }
  .hero-meta { 
    flex-direction: column; 
    gap: 8px; 
    font-size: 0.9rem !important; 
    text-align: left;
    display: inline-block;
  }
  .meta-item { margin-bottom: 5px; }

  .card { padding: 20px 15px; }
  .section-title { font-size: 1.25rem !important; line-height: 1.4; }
  .card-title { font-size: 1.15rem; display: block; margin-top: 5px; line-height: 1.5; }
  
  .spec-table th, .spec-table td { display: block; width: 100%; }
  .spec-table th { border-bottom: none; }
  
  .carousel-btn.prev { left: 10px; }
  .carousel-btn.next { right: 10px; }

  /* 📱 スマホ用：テキスト集合場所インフォボックスのレスポンシブ調整 */
  .map-text-guide-box { padding: 15px 12px; }
  .map-guide-item { flex-direction: column; gap: 8px; }
  .guide-text { font-size: 0.88rem; }

  .timeline-list { margin-left: 0; padding-left: 20px; }
  .timeline-node { margin-bottom: 25px; }
  .node-time { 
    position: static; 
    display: inline-block; 
    width: auto; 
    text-align: left; 
    margin-bottom: 6px; 
    font-size: 0.9rem; 
    color: var(--orion-blue);
    background-color: #edf2f7;
    padding: 2px 10px;
    border-radius: 4px;
  }
  .timeline-node::before { left: -24.5px; top: 34px; } 
  .node-body { padding: 12px 14px; }
  .node-spot-name { font-size: 0.95rem; line-height: 1.5; }
  .node-subtext { font-size: 0.85rem; line-height: 1.5; margin-top: 6px; }
  .meal-info-box { flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px; }
}