/* ========================================================
   1. MASTER FONTS & GLOBAL RESET
   ======================================================== */
@import url('https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@300;400;700;800&family=Noto+Sans+JP:wght@300;400;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  background-color: #000000 !important;
  /* THE FIX: The "floor" of the browser is now black */
}

body {
  margin: 0;
  margin-left: 160px;
  width: calc(100% - 160px);
  background-color: #ffffff !important;
  /* THE FIX: Keeps your main page white */
  display: flex;
  flex-direction: column;
  min-height: 100vh;

  font-family: 'Kumbh Sans', 'Noto Sans JP', sans-serif !important;
  font-weight: 400;
  color: #000000;
  line-height: 1.8;
  letter-spacing: 0.05em;

  overflow: visible !important;
  -webkit-font-smoothing: antialiased;
}

/* ========================================================
   2. ZEN SELECTOR BAR (Sticky) - FINAL CONFIRMED
   ======================================================== */
.zen-selector-bar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  width: 100%;
  background-color: #ffffff;
  border-bottom: 0.5px solid #eeeeee;
  padding: 15px 0;
  z-index: 9999;
  display: block;
}

.selector-container {
  display: flex;
  justify-content: center;
  gap: 60px;
}

.selector-btn {
  text-decoration: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  color: #767676;
  transition: 0.3s ease;
  position: relative;
}

/* 英語部分（nav-enクラスを狙い撃ち） */
.selector-btn .nav-en {
  font-family: 'Kumbh Sans', sans-serif !important;
  /* 強制適用 */
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

/* 日本語部分（nav-labelクラスを狙い撃ち） */
.selector-btn .nav-label {
  font-family: 'Noto Sans JP', sans-serif !important;
  /* 強制適用 */
  font-size: 0.8rem;
  font-weight: 400;
  margin-top: 0.1px;
}

.selector-btn::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #eb5a0f;
  transition: 0.4s ease;
  transform: translateX(-50%);
}

.selector-btn:hover::after {
  width: 100%;
}

.selector-btn:hover {
  color: #000;
}

/* ========================================================
   🛡️ DESKTOP BARRIER (HIDES MOBILE STUFF ON PC)
   ======================================================== */
.zen-selector-bar-mobile {
  display: none !important;
}

.mobile-menu-btn {
  display: none !important;
}

/* ========================================================
   16. MOBILE & TABLET OPTIMIZATION (FINAL CONSOLIDATED)
   ======================================================== */

@media screen and (max-width: 1024px) {

  /* 1. 画面全体の調整 */
  body {
    margin-left: 0 !important;
    width: 100% !important;
  }

  /* 2. ハンバーガーメニューボタンの固定 */
  .mobile-menu-btn {
    display: grid !important;
    position: fixed !important;
    top: 25px !important;
    left: 20px !important;
    z-index: 20000 !important;
  }

  /* 3. デスクトップ用のメニューを完全に消す */
  .zen-selector-bar {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .zen-concept-intro {
    padding: 100px 0 40px 0 !important;
    /* 180pxから100pxくらいに詰めると綺麗です */
  }

  /* 4. オレンジのモバイルカプセルメニュー（本体） */
  .zen-selector-bar-mobile {
    display: flex !important;
    justify-content: center !important;
    position: fixed !important;
    bottom: 25px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 92% !important;
    max-width: 380px !important;
    background: #eb5a0f !important;
    border-radius: 100px !important;
    padding: 6px 10px !important;
    z-index: 10005 !important;
  }

  /* 5. カプセルの中のコンテナ */
  .zen-selector-bar-mobile .selector-container {
    display: flex !important;
    justify-content: space-evenly !important;
    align-items: center !important;
    width: 100% !important;
    gap: 0 !important;
    background: transparent !important;
    /* 背景色バグを防止 */
  }

  /* 6. アイコンボタン（ここが「変な形」の正体！） */
  .zen-selector-bar-mobile .selector-btn {
    /* リセットを解除し、形を固定 */
    all: unset !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    /* 🔴 絶対に「正円」を維持するサイズ指定 */
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    flex: 0 0 44px !important;

    border-radius: 50% !important;
    color: #ffffff !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
  }

  /* アイコン自体の大きさ */
  .zen-selector-bar-mobile .selector-btn i.material-icons {
    font-size: 24px !important;
  }

  /* 7. アクティブ（選択中）の白い丸 */
  .zen-selector-bar-mobile .selector-btn.active {
    background-color: #ffffff !important;
    color: #eb5a0f !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
  }

  /* 8. アクセスページ等のコンテンツ調整 */
  .concierge-grid {
    grid-template-columns: 1fr !important;
  }

  .zen-journey-wrap {
    flex-direction: column !important;
    gap: 40px !important;
  }

  .ryokan-address-block {
    align-items: center !important;
    text-align: center !important;
  }

  /* スクロール位置の微調整 */
  html {
    scroll-padding-top: 20px !important;
  }
}

/* モバイルボタンの「下の線」を徹底的に排除 */
.zen-selector-bar-mobile .selector-btn::after {
  display: none !important;
  content: none !important;
  width: 0 !important;
}

.zen-selector-bar-mobile .selector-btn {
  text-decoration: none !important;
  border-bottom: none !important;
}


/* ========================================================
   3. UNIVERSAL CONTAINERS
   ======================================================== */
.inner-1920 {
  width: 100%;
  max-width: 1800px;
  margin: 0 auto !important;
  padding: 0 5%;
}

.content-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.welcome-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto 50px auto;
  gap: 10px;
  line-height: 1.1;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 800;
  font-size: 33px;
}

.en-main-title {
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #eb5a0f;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}


/* ========================================================
   4. WELCOME SECTION (Concept)
   ======================================================== */
/* --- WELCOME SECTION (Force Center Fix) --- */
.concept-label {
  /* CHANGE THIS LINE */
  font-size: 18px !important;

  /* Keep your other styles */
  font-weight: 800;
  color: #eb5a0f;
  letter-spacing: 0.25em;
  margin-bottom: 15px;
  text-align: center;
  text-transform: uppercase;
  /* Ensures it stays all caps */
}

/* --- THE MAIN JAPANESE HEADLINE --- */
.concept-title {
  /* Change this number to adjust the size */
  font-size: 33px !important;

  /* These keep the "Bold & Impactful" look */
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 10px;
  color: #000;
  text-align: center;
}

/* --- THE ENGLISH SUBTITLE UNDER THE MAIN TITLE --- */
.concept-title .en-subtitle {
  font-size: 18px !important;
  display: block;
  font-weight: 400;
  color: #555555;
  letter-spacing: 0.05em;

  /* 1. GAP BETWEEN JP AND EN (External Leading) */
  /* You had 0.5px—this is tiny! Try 10px to see the gap. */
  margin-top: 10px !important;

  /* 2. SPACING BETWEEN EN LINES (Internal Leading) */
  /* Use this if your English sentence wraps to 2 lines. */
  line-height: 1.6 !important;
}

/* --- THE MAIN JAPANESE DESCRIPTION PARAGRAPH --- */
.concept-text-block p {
  /* CHANGE THIS TO 15px */
  font-size: 15px !important;

  /* These ensure the text feels "Zen" and airy */
  line-height: 1.9 !important;
  color: #333;
  margin-bottom: 15px;
  text-align: center;
}

/* --- CONCEPT SECTION: GHOST ENGLISH DESIGN --- */
.en-concept-desc {
  /* CHANGE THIS TO 18px */
  font-size: 18px !important;

  /* Keep these for that "Ghost" minimalist look */
  color: #999999 !important;
  line-height: 1.8 !important;
  letter-spacing: 0.03em !important;

  /* These ensure it stays perfectly centered under the Japanese */
  display: block !important;
  max-width: 800px !important;
  margin: 25px auto 0 auto !important;
  text-align: center !important;
}



.welcome-section {
  display: flex !important;
  flex-direction: column !important;
  /* Stack text top to bottom */
  align-items: center !important;
  /* This centers everything horizontally */
  justify-content: center !important;

  text-align: center !important;
  width: 100% !important;
  padding: 80px 0;
  background-color: #ffffff;
}


/* ========================================================
   5. PERMANENT SIDEBAR - CENTERED ACTION / LEFT MENU
   ======================================================== */

/* --- DESKTOP LAYOUT --- */
body {
  margin-left: 160px;
  width: calc(100% - 160px);
}

.fixed-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 160px;
  height: 100vh;
  background-color: #ffffff;
  border-right: 1px solid #eeeeee;
  display: flex;
  flex-direction: column;

  /* This centers the Logo, Button, and SNS horizontally */
  align-items: center;

  /* Vertical spacing: Top starts at 40px, bottom is auto-handled */
  padding: 40px 0;
  z-index: 9999;
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}


/* --- LOGO: CENTERED --- */
.sidebar-logo {
  /* ✅ これで下線を完全に消します */
  text-decoration: none !important;

  /* 以下、デザインを維持するための設定 */
  display: block;
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 900;
  font-size: 3.5rem;
  color: #eb5a0f;
  /* D旅館オレンジ */
  line-height: 1;
  text-align: center;
  width: 100%;
  margin-bottom: 50px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* ホバーした時も下線が出ないように念のため追加 */
.sidebar-logo:hover {
  text-decoration: none !important;
  transform: scale(1.1);
  color: #eb5a0f;
}

/* --- LINKS: LEFT ALIGNED --- */
.sidebar-links {
  list-style: none;
  width: 100%;
  padding: 0;
  /* This padding-left pushes the menu away from the edge while keeping it LEFT */
  padding-left: 35px !important;
}

.sidebar-links li {
  margin-bottom: 25px;
  text-align: left;
  /* Forces the text to stay left */
}

.sidebar-links a {
  text-decoration: none;
  color: #333;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-transform: uppercase;
}

.sidebar-links a span {
  font-size: 12px;
  font-weight: 400;
  color: #767676;
  margin-top: 2px;
}

/* --- THE BOLD LIQUID SIDEBAR PILL --- */

.sidebar-booking-btn {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 140px !important;
  height: auto;

  /* 1. The Pill Shape & Base Colors */
  background-color: transparent !important;
  border: 1.5px solid #eb5a0f !important;
  color: #eb5a0f !important;
  border-radius: 50px !important;

  /* 2. Positioning & Typography */
  padding: 12px 5px !important;
  text-decoration: none;
  font-weight: 900 !important;
  font-size: 0.85rem !important;
  line-height: 1.0 !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;

  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: auto !important;
  margin-bottom: 25px !important;

  /* 3. The "Liquid" Prep */
  position: relative !important;
  overflow: hidden !important;
  /* Clips the orange liquid */
  z-index: 1;

  /* 4. SILKY TRANSITION (No Jutter) */
  will-change: transform;
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.3s ease,
    border-color 0.3s ease;
}

/* THE LIQUID LAYER (The sliding orange background) */
.sidebar-booking-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  /* Starts empty */
  height: 100%;
  background-color: #eb5a0f;
  z-index: -1;
  /* Sits behind text */
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 5. THE SUB-TEXT (Japanese) */
.sidebar-booking-btn span {
  display: block;
  font-size: 0.65rem !important;
  font-weight: 600 !important;
  margin-top: 3px !important;
  opacity: 0.95;
  transition: color 0.3s ease;
}

/* 6. THE HOVER EFFECT (Exactly like footer) */
.sidebar-booking-btn:hover {
  color: #000000 !important;
  /* Text turns black on orange background */
  transform: translateY(-4px);
  /* Smooth lift */
  box-shadow: none !important;
  /* Matte finish */
}

.sidebar-booking-btn:hover::before {
  width: 100%;
  /* Liquid fills the pill */
}

.sidebar-booking-btn:hover span {
  color: #000000 !important;
  /* Japanese text also turns black */
}

/* --- SNS FOOTER: CENTERED --- */
.sidebar-footer {
  display: flex !important;
  justify-content: center;
  /* Centers icons horizontally */
  gap: 15px;
  width: 100%;
  padding-bottom: 10px;
}

.side-social {
  font-size: 1.4rem;
  color: #767676;
  transition: 0.3s;
}

.side-social:hover {
  color: #eb5a0f;
}

/* --- SIDEBAR LINKS: LEFT ACCENT LINE --- */
.sidebar-links a {
  position: relative;
  padding-left: 15px;
  /* Creates space for the line to appear */
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: color 0.3s ease;
}

/* THE HIDDEN VERTICAL LINE */
.sidebar-links a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  /* Thickness of the line */
  height: 0;
  /* Starts at zero height */
  background-color: #eb5a0f;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* THE HOVER ACTION */
.sidebar-links a:hover {
  color: #eb5a0f !important;
}

.sidebar-links a:hover::before {
  height: 100%;
  /* Line grows down to cover the text height */
}

/* ========================================================
   MOBILE SIDEBAR CLEANUP (Hide Booking & SNS)
   ======================================================== */
@media screen and (max-width: 768px) {

  /* 1. Hide the "Book Now" Pill Button in the mobile sidebar */
  .fixed-sidebar .sidebar-booking-btn {
    display: none !important;
  }

  /* 2. Hide the SNS (Social Media) Icons in the mobile sidebar */
  .fixed-sidebar .sidebar-footer {
    display: none !important;
  }

}

/* ========================================================
   5. PERMANENT SIDEBAR - CENTERED ACTION / LEFT MENU
   ======================================================== */

/* --- DESKTOP LAYOUT --- */
body {
  margin-left: 160px;
  width: calc(100% - 160px);
}

.fixed-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 160px;
  height: 100vh;
  background-color: #ffffff;
  border-right: 1px solid #eeeeee;
  display: flex;
  flex-direction: column;

  /* This centers the Logo, Button, and SNS horizontally */
  align-items: center;

  /* Vertical spacing: Top starts at 40px, bottom is auto-handled */
  padding: 40px 0;
  z-index: 9999;
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}


/* --- LOGO: CENTERED --- */
.sidebar-logo {
  /* ✅ これで下線を完全に消します */
  text-decoration: none !important;

  /* 以下、デザインを維持するための設定 */
  display: block;
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 900;
  font-size: 3.5rem;
  color: #eb5a0f;
  /* D旅館オレンジ */
  line-height: 1;
  text-align: center;
  width: 100%;
  margin-bottom: 50px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* ホバーした時も下線が出ないように念のため追加 */
.sidebar-logo:hover {
  text-decoration: none !important;
  transform: scale(1.1);
  color: #eb5a0f;
}

/* --- LINKS: LEFT ALIGNED --- */
.sidebar-links {
  list-style: none;
  width: 100%;
  padding: 0;
  /* This padding-left pushes the menu away from the edge while keeping it LEFT */
  padding-left: 35px !important;
}

.sidebar-links li {
  margin-bottom: 25px;
  text-align: left;
  /* Forces the text to stay left */
}

.sidebar-links a {
  text-decoration: none;
  color: #333;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-transform: uppercase;
}

.sidebar-links a span {
  font-size: 12px;
  font-weight: 400;
  color: #767676;
  margin-top: 2px;
}

/* --- THE BOLD LIQUID SIDEBAR PILL --- */

.sidebar-booking-btn {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 140px !important;
  height: auto;

  /* 1. The Pill Shape & Base Colors */
  background-color: transparent !important;
  border: 1.5px solid #eb5a0f !important;
  color: #eb5a0f !important;
  border-radius: 50px !important;

  /* 2. Positioning & Typography */
  padding: 12px 5px !important;
  text-decoration: none;
  font-weight: 900 !important;
  font-size: 0.85rem !important;
  line-height: 1.0 !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;

  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: auto !important;
  margin-bottom: 25px !important;

  /* 3. The "Liquid" Prep */
  position: relative !important;
  overflow: hidden !important;
  /* Clips the orange liquid */
  z-index: 1;

  /* 4. SILKY TRANSITION (No Jutter) */
  will-change: transform;
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.3s ease,
    border-color 0.3s ease;
}

/* THE LIQUID LAYER (The sliding orange background) */
.sidebar-booking-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  /* Starts empty */
  height: 100%;
  background-color: #eb5a0f;
  z-index: -1;
  /* Sits behind text */
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 5. THE SUB-TEXT (Japanese) */
.sidebar-booking-btn span {
  display: block;
  font-size: 0.65rem !important;
  font-weight: 600 !important;
  margin-top: 3px !important;
  opacity: 0.95;
  transition: color 0.3s ease;
}

/* 6. THE HOVER EFFECT (Exactly like footer) */
.sidebar-booking-btn:hover {
  color: #000000 !important;
  /* Text turns black on orange background */
  transform: translateY(-4px);
  /* Smooth lift */
  box-shadow: none !important;
  /* Matte finish */
}

.sidebar-booking-btn:hover::before {
  width: 100%;
  /* Liquid fills the pill */
}

.sidebar-booking-btn:hover span {
  color: #000000 !important;
  /* Japanese text also turns black */
}

/* --- SNS FOOTER: CENTERED --- */
.sidebar-footer {
  display: flex !important;
  justify-content: center;
  /* Centers icons horizontally */
  gap: 15px;
  width: 100%;
  padding-bottom: 10px;
}

.side-social {
  font-size: 1.4rem;
  color: #767676;
  transition: 0.3s;
}

.side-social:hover {
  color: #eb5a0f;
}

/* --- SIDEBAR LINKS: LEFT ACCENT LINE --- */
.sidebar-links a {
  position: relative;
  padding-left: 15px;
  /* Creates space for the line to appear */
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: color 0.3s ease;
}

/* THE HIDDEN VERTICAL LINE */
.sidebar-links a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  /* Thickness of the line */
  height: 0;
  /* Starts at zero height */
  background-color: #eb5a0f;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* THE HOVER ACTION */
.sidebar-links a:hover {
  color: #eb5a0f !important;
}

.sidebar-links a:hover::before {
  height: 100%;
  /* Line grows down to cover the text height */
}

/* ========================================================
   6. BLACK EDGE-TO-EDGE FOOTER
   ======================================================== */
.modern-footer-section {
  background-color: #000000 !important;
  padding: 100px 0 60px 0 !important;
  /* Clean padding */
  width: 100%;
  margin: 0 !important;
  display: block;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
  margin-bottom: 60px;
}

.giant-logo {
  font-size: clamp(4rem, 8vw, 10rem);
  font-weight: 900;
  line-height: 0.85;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #eb5a0f;
}

.footer-upper-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.tagline {
  font-family: 'Covered By Your Grace', cursive;
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  color: #eb5a0f;
  margin: 0;
  line-height: 1;
  transform: rotate(-2deg);
}

.footer-book-btn {
  text-decoration: none;
  color: #eb5a0f;
  font-weight: 700;
  border-bottom: 2px solid #eb5a0f;
  padding-bottom: 5px;
  font-size: 1.1rem;
  white-space: nowrap;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr 1fr;
  gap: 40px;
  margin-top: 40px;
  border-top: 1px solid rgba(235, 90, 15, 0.2);
  padding-top: 40px;
  text-align: left;
}

.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
  font-weight: 800;
  color: #eb5a0f;
  opacity: 0.8;
}

.footer-col p,
.footer-col a {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 6px;
  text-decoration: none;
  color: #eb5a0f;
  display: block;
}

.hotel-name {
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 12px;
}

.footer-bottom-bar {
  margin-top: 80px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  border-top: 1px solid rgba(235, 90, 15, 0.2);
  color: #eb5a0f;
}

/* ========================================================
   THE FINAL OVERRIDE (PASTE AT VERY BOTTOM)
   ======================================================== */

/* 1. THE BULLETPROOF FOOTER GAP FIX */
/* This uses a shadow to paint the bottom black. Shadows DO NOT affect page length or cause scrolling! */
.modern-footer-section {
  background-color: #000000 !important;
  box-shadow: 0 500px 0 0 #000000 !important;
  margin-bottom: 0 !important;
}


/* ========================================================
   7. MOBILE RESPONSIVE FIXES
   ======================================================== */
@media (max-width: 900px) {
  .rooms-grid {
    grid-template-columns: 1fr;
  }

  .footer-layout {
    flex-direction: column;
    gap: 40px;
  }

  .footer-upper-right {
    align-items: flex-start;
  }

  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .access-info-grid {
    grid-template-columns: 1fr;
  }

  .map-container-centered {
    height: 300px;
  }
}

@media (max-width: 768px) {

  /* 1. Lift the sidebar above the selector bar */
  .fixed-sidebar {
    z-index: 10001 !important;
    /* One level higher than the bar */

    /* 2. Fix the position so it doesn't push content */
    left: 0 !important;
    width: 250px !important;
    /* Standard mobile drawer width */
    transform: translateX(-100%);
    /* Hide it off-screen by default */
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  }

  /* 3. When the menu is "Open" (You'll need a class for this) */
  .fixed-sidebar.active {
    transform: translateX(0);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
  }

  /* 4. Ensure the selector bar stays below the menu */
  .zen-selector-bar {
    z-index: 9999 !important;
    /* Keep this at the original level */
  }
}



/* --- THE TRENDY PILL BUTTON --- */

.footer-book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* The "Pill" Shape */
  border: 2px solid #eb5a0f;
  background-color: transparent;
  color: #eb5a0f !important;

  padding: 12px 35px;
  border-radius: 50px;
  /* Perfect pill shape */

  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.15em;

  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* THE TRENDY HOVER: The button "fills up" with orange */
.footer-book-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #eb5a0f;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: -1;
}

.footer-book-btn:hover {
  color: #000000 !important;
  /* Text turns black on orange background */
  box-shadow: 0 0 25px rgba(235, 90, 15, 0.4);
  /* Neon-style orange glow */
}

.footer-book-btn:hover::before {
  width: 100%;
  /* The orange fill slides across */
}

/* THE ARROW ANIMATION */
.footer-book-btn .arrow {
  display: inline-block;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.footer-book-btn:hover .arrow {
  transform: translateX(5px);
  /* Arrow "hops" forward */
}

/* --- MOBILE TWEAKS --- */
@media (max-width: 768px) {
  .footer-book-btn {
    padding: 15px 30px;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
  }
}

/* --- THE MATTE TRENDY PILL --- */

.footer-book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* 1. The Pill Shape */
  border: 2px solid #eb5a0f;
  background-color: transparent;
  color: #eb5a0f !important;

  padding: 12px 35px;
  border-radius: 50px;

  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.15em;

  /* Smooth color fade instead of a sliding effect */
  transition: all 0.3s ease;
  position: relative;
}

/* 2. THE HOVER: Simple, flat color flip (No shining/glow) */
.footer-book-btn:hover {
  background-color: #eb5a0f;
  color: #000000 !important;
  /* Text turns black on the orange background */

  /* Removed box-shadow (the glow) */
  box-shadow: none !important;
}

/* 3. THE ARROW: Keeping the subtle movement */
.footer-book-btn .arrow {
  display: inline-block;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.footer-book-btn:hover .arrow {
  transform: translateX(5px);
}

/* --- MOBILE TWEAKS --- */
@media (max-width: 768px) {
  .footer-book-btn {
    padding: 14px 30px;
    font-size: 0.8rem;
  }
}



/* ========================================================
   8. MOBILE FIXED SNS BAR (ICON ONLY)
   ======================================================== */

@media (max-width: 1024px) {
  body {
    margin-left: 0;
    width: 100%;
  }

  .fixed-sidebar {
    transform: translateX(-100%);
    width: 240px;
  }

  /* The Brain: This slides the menu when clicked */
  .nav-trigger:checked~.fixed-sidebar {
    transform: translateX(0);
  }

  .mobile-menu-btn {
    display: flex !important;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 10000;
    /* ... keep your hamburger button styles from Section 12 ... */
  }
}

/* --- THE DEAD-CENTER CIRCLE BUTTON --- */

@media (max-width: 1024px) {

  .mobile-menu-btn {
    /* 1. Use GRID to force everything to the exact center */
    display: grid !important;
    place-items: center;

    position: fixed;
    top: 25px;
    left: 20px;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background-color: #eb5a0f !important;

    /* Remove padding so it doesn't push the "X" off-center */
    padding: 0 !important;

    z-index: 20000 !important;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  /* 2. THE THREE LINES */
  .btn-bar {
    /* Stack them all on top of each other in the center */
    grid-area: 1 / 1;

    display: block;
    width: 22px !important;
    height: 2px !important;
    background-color: #FFFFFF;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* 3. THE HAMBURGER STATE (Spaced out) */
  /* Top bar up, bottom bar down */
  .btn-bar:nth-child(1) {
    transform: translateY(-7px);
  }

  .btn-bar:nth-child(2) {
    opacity: 1;
  }

  .btn-bar:nth-child(3) {
    transform: translateY(7px);
  }

  /* 4. THE "X" STATE (When Checked) */

  /* Top Bar rotates 45deg from the center */
  .nav-trigger:checked~.mobile-menu-btn .btn-bar:nth-child(1) {
    transform: rotate(45deg);
    background-color: #FFFFFF !important;
  }

  /* Middle Bar disappears */
  .nav-trigger:checked~.mobile-menu-btn .btn-bar:nth-child(2) {
    opacity: 0 !important;
  }

  /* Bottom Bar rotates -45deg from the center */
  .nav-trigger:checked~.mobile-menu-btn .btn-bar:nth-child(3) {
    transform: rotate(-45deg);
    background-color: #FFFFFF !important;
  }
}


/* ========================================================
   9. ACCESS PAGE - MAP
   ======================================================== */
/* --- THE ZEN MAP FRAME --- */
.zen-map-frame {
  width: 100%;
  max-width: 1100px;
  /* Aligns with your intro text width */
  margin: 0 auto;
  border: 1px solid #eeeeee;
  padding: 10px;
  /* Creates a small white border around the map */
  background: #fff;

  /* THE ZEN TOUCH: Makes the map quiet until hovered */
  filter: grayscale(0.4) contrast(1.1);
  transition: filter 0.5s ease;
}

.zen-map-frame:hover {
  filter: grayscale(0);
  /* Returns to full color when active */
}

/* --- MAP FOOTER ALIGNMENT --- */
.map-footer-links {
  margin-top: 25px;
  display: flex;
  justify-content: space-between;
  /* THE MAGIC: One left, one right */
  align-items: center;
  /* Perfectly centered vertically */
  width: 100%;
  max-width: 1100px;
  /* Matches the map width */
  margin-left: auto;
  margin-right: auto;
  padding: 0 10px;
  /* Keeps it from hitting the very edge */
}

.map-address {
  font-size: 0.9rem;
  font-weight: 700;
  color: #333;
  margin: 0;
  /* Remove default paragraph margin */
}

.google-maps-btn {
  text-decoration: none;
  color: #eb5a0f;
  /* Your signature Orange */
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  border-bottom: 1.5px solid #eb5a0f;
  padding-bottom: 3px;
  transition: 0.3s ease;
}

.google-maps-btn:hover {
  opacity: 0.6;
}

/* --- ENSURING THE JAPANESE LOOK --- */
.zen-page-title,
.jp-station,
.vertical-title {
  /* We put Noto Sans JP FIRST here to force the browser to prioritize it */
  font-family: 'Noto Sans JP', sans-serif !important;
  font-weight: 900;
  /* This gives you that bold, expensive look */
  font-style: normal;
}

/* We keep Kumbh Sans for the English subtitles only */
.zen-page-subtitle,
.en-station,
.en-main-title {
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 800;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
  .map-footer-links {
    flex-direction: column;
    /* Stack them on phones */
    gap: 15px;
    text-align: center;
  }
}

/* --- THE SOLID MATTE BUTTON (NO FADING) --- */
.google-maps-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 2px solid #eb5a0f;
  background-color: transparent;
  color: #eb5a0f !important;

  padding: 10px 28px;
  border-radius: 50px;

  font-family: 'Kumbh Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;

  position: relative;
  overflow: hidden;
  z-index: 1;

  /* FIX: Only transition specific things to prevent "whitish" color blending */
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), color 0.3s ease;

  /* FORCE SOLID: Prevents any inherited transparency */
  opacity: 1 !important;
}

/* THE LIQUID FILL (Pure Matte Orange) */
.google-maps-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100.5%;
  /* 0.5% extra to prevent tiny white gaps at the edges */
  background-color: #eb5a0f !important;
  z-index: -1;
  transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* THE HOVER STATE */
.google-maps-btn:hover {
  color: #000000 !important;
  /* Solid Black */
  transform: translateY(-2px);
  opacity: 1 !important;
  /* Ensures the button doesn't "dim" */
}

.google-maps-btn:hover::before {
  width: 100%;
}

/* THE ARROW */
.google-maps-btn::after {
  content: ' →';
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.google-maps-btn:hover::after {
  transform: translateX(4px);
}

/* ========================================================
   9.2. LUXURY ADDRESS BLOCK (Left-Aligned & Readable)
   ======================================================== */
.ryokan-address-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* THE FIX: Pushes the entire block to the left */
  text-align: left;
  /* THE FIX: Ensures the text itself reads left-to-right cleanly */
  margin-top: 20px;
}

.jp-address {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-size: 0.95rem;
  font-weight: 700;
  color: #333333;
  letter-spacing: 0.15em;
  line-height: 1.6;
  /* THE FIX: Adds breathing room to make the Japanese highly readable */
  margin-bottom: 5px !important;
}

/* Isolating the numbers to use your English font */
.brand-num {
  font-family: 'Kumbh Sans', sans-serif !important;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 4px;
  letter-spacing: 0.05em;
}

/* Making the Postal Symbol pop */
.postal-mark {
  font-family: 'Noto Sans JP', sans-serif !important;
  color: #eb5a0f;
  font-weight: 700;
  margin-right: 5px;
}

.en-address {
  font-family: 'Kumbh Sans', sans-serif !important;
  font-size: 14px;
  font-weight: 400;
  /* THE FIX: Made slightly heavier so the tiny English is easier to read */
  color: #767676;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.3;
  /* THE FIX: More breathing room */
  margin-top: 4px !important;
}

/* ========================================================
   10. ACCESS PAGE - TOPIC SECTION (RENAMED & CENTERED)
   ======================================================== */

/* THE MASTER CLAMP: Centers the whole box on the screen */
.access-exhibit {
  width: 90% !important;
  max-width: 1100px !important;
  /* Your Master Clamp size */
  margin: 0 auto 60px auto !important;
  /* THE MAGIC: Centers the box */
  text-align: center !important;
  position: relative;
  padding: 100px 0;
}

/* THE HEADER: Centers the Titles */
.access-header {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  /* THE MAGIC: Centers content horizontally */
  text-align: center !important;
  margin-bottom: 40px;
  position: relative;
}

/* THE INTRO TEXT: Your Bunkyo Description */
.access-intro-text {
  font-size: 15px !important;
  line-height: 1.8 !important;
  max-width: 800px !important;
  /* Keeps text from stretching too wide */
  margin: 0 auto !important;
  /* THE MAGIC: Centers the block itself */
  text-align: center !important;
  /* Centers the text lines */
  color: #333;
}

/* THE ENGLISH SUB-TEXT: Centers the English block */
.access-intro-text span {
  display: block !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  margin-top: 10px !important;
  color: #767676 !important;
  text-align: center !important;
}

/* THE SIDE TITLE: Sideways text that doesn't block the centering */
.access-vertical-title {
  position: absolute;
  left: -30px;
  top: 0;
  writing-mode: vertical-rl;
  font-size: 0.75rem;
  font-weight: 700;
  color: #eb5a0f;
  letter-spacing: 0.4em;
  opacity: 0.5;
}

/* Making the Vertical English bigger (per your 9.7 rule) */
.access-vertical-title span {
  font-size: 12px !important;
  opacity: 0.5 !important;
  margin-top: 10px;
  display: block;
  text-align: center;
}

/* ========================================================
   11. ACCESS PAGE - FIXING
   ======================================================== */
/* --- 1. THE SECTION WRAPPER --- */
.room-detail-section {
  width: 100%;
  padding: 20px 0;
  background-color: #fff;
}

/* --- 2. THE INSECT LINE (Numbered Divider) --- */
.zen-index-divider {
  max-width: 1100px;
  /* Change the 0 to 200px (or 180px) to create the gap you want */
  margin: 200px auto 60px auto;
  display: flex;
  align-items: center;
  gap: 20px;
  width: 90%;
  opacity: 0.6;
}


.index-num {
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: #eb5a0f;
  letter-spacing: 0.1em;
}

.index-line {
  flex-grow: 1;
  /* This tells the line to fill ONLY the remaining space in the 1100px box */
  height: 1px;
  background-color: #eb5a0f;
  opacity: 0.3;
  /* Subtle luxury look */
}


/* --- 3. THE MASTER EXHIBIT CLAMP --- */
.zen-room-exhibit {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  text-align: center;
  width: 90%;
}

/* --- 4. THE HEADER & TITLES --- */
.exhibit-header {
  position: relative;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* This centers the titles */
}

.vertical-title {
  position: absolute;
  left: -60px;
  /* Adjust to move further left of the center content */
  top: 0;
  writing-mode: vertical-rl;
  font-size: 0.85rem;
  font-weight: 700;
  color: #eb5a0f;
  letter-spacing: 0.4em;
  opacity: 0.5;
  text-transform: uppercase;
}



/* --- TIGHTEN & TONE DOWN THE ENGLISH SUBTITLE --- */

.sub-en {
  /* 1. Change color to a subtle grey instead of orange */
  color: #767676 !important;

  /* 2. Make the font weight normal so it doesn't look too heavy */
  font-weight: 400 !important;

  /* 3. Keep it small and clean */
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;

  display: block;
  margin-top: 2px;
}

/* --- MAKING THE VERTICAL ENGLISH TITLE BIGGER --- */

/* --- THE ENGLISH VERTICAL SUBTITLE --- */
.vertical-title span {
  /* THE FIX: Explicitly force the English font */
  font-family: 'Kumbh Sans', sans-serif !important;

  font-size: 0.85rem !important;
  font-weight: 600 !important;
  /* Slightly bolder so it reads clearly sideways */
  letter-spacing: 0.4em;
  margin-top: 15px;
  /* Gives a clean gap between the JP and EN text */
  display: block;
  opacity: 0.9 !important;
}

.welcome-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 33px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #000;
  line-height: 1.2;
}

.en-main-title {
  display: block;
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 18px;
  color: #eb5a0f;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 5px;
}

/* --- 5. THE INTRO TEXT (Centering Fix) --- */
.zen-intro-text {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  max-width: 800px;
  margin: 1px auto 0 auto !important;
  /* Forces center alignment */
  text-align: center;
}

.zen-intro-text span {
  display: block;
  font-size: 14px;
  color: #767676;
  margin-top: 1px;
}


/* ========================================================
   11.2 & 11.3 ACCESS PAGE - THE CENTRAL SPINE JOURNEY
   ======================================================== */

@media screen and (min-width: 1025px) {
  .zen-journey-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 120px 0;
    width: 100%;
  }

  .journey-node {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
    flex-shrink: 0;
  }

  .journey-path {
    position: relative;
    flex-grow: 1;
    max-width: 100px;
    display: flex;
    justify-content: center;
  }

  /* 横線を引く */
  .path-line {
    width: calc(100% + 120px);
    height: 2px;
    background-color: #eb5a0f;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
  }

  .node-text.top-label {
    position: absolute;
    bottom: 35px;
    white-space: nowrap;
  }

  .path-details.bottom-label {
    position: absolute;
    top: 25px;
  }
}

/* --- 4. THE LINES (Point-to-Point) --- */
.path-line {
  /* Bridges the gap exactly between the center of the 120px nodes */
  width: calc(100% + 120px) !important;
  height: 2px !important;
  background-color: #eb5a0f !important;

  /* THE LINK FIX: Centering the bridge */
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;

  z-index: 1;
  /* Sits behind the circles */
}

/* THE DASHED WALKING LINE */
.walk-line {
  background-color: transparent !important;
  border-top: 2px dashed #eb5a0f !important;
  height: 0 !important;
}

/* --- 5. ICONS & TYPOGRAPHY --- */
.path-info-group {
  display: flex !important;
  flex-direction: column !important;
  /* THE FIX: Stacks icon ABOVE the text */
  align-items: center !important;
  /* THE FIX: Centers them horizontally */
  gap: 4px;
  /* Space between icon and Japanese text */
  width: 100%;
}

.train-icon,
.walk-icon {
  display: flex !important;
  justify-content: center !important;
  width: 100%;
  line-height: 0;
  /* Removes extra "text" space under the icon */
}

.train-icon svg,
.walk-icon svg {
  width: 22px !important;
  /* Slightly larger for better visibility */
  height: 22px !important;
  fill: #eb5a0f !important;
  display: block;
}

/* Ensure the Japanese line name is also centered */
.path-info {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-size: 13px !important;
  font-weight: 800;
  color: #333;
  text-align: center;
  display: block;
  margin: 0 !important;
}

.jp-station {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-weight: 800;
  font-size: 15px;
  color: #000;
  display: flex;
  /* Keeps them perfectly on one line */
  align-items: baseline;
  /* Aligns the bottom of the D with the bottom of the Kanji */
}

/* 2. The Isolated "D" */
.brand-d {
  font-family: 'Kumbh Sans', sans-serif !important;
  font-weight: 900;
  /* Extra bold to match the heavy Kanji */
  font-size: 15px;
  /* Made 10% larger to match the height of the Kanji */
  margin-right: 2px;
  /* A tiny, elegant gap */
  line-height: 1;
  color: #000;
  /* Or #eb5a0f if you want the D to be Orange! */
}

.en-station {
  font-family: 'Kumbh Sans', sans-serif !important;
  color: #767676;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.path-info {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-size: 10px !important;
  font-weight: 800;
  color: #767676;
}

.path-en-info {
  font-family: 'Kumbh Sans', sans-serif !important;
  font-size: 10px !important;
  /* Slightly smaller for an elegant look */
  font-weight: 700;
  color: #767676;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 1px;
  display: block;
  text-align: center !important;
}

.path-time {
  font-family: 'Kumbh Sans', sans-serif !important;
  color: #767676;
  font-size: 14px;
  font-weight: 400;
  margin-top: 5px;
  /* Adds a gap between English name and the time */
}

.path-details.bottom-label {
  position: absolute;
  top: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  line-height: 1.45 !important;
}

/* --- Journey Icon Styling --- */
.train-icon svg,
.walk-icon svg,
.airplane-icon-top svg {
  width: 22px;
  height: 22px;
  fill: #eb5a0f;
  /* Matches your brand orange */
  display: block;
}

/* Position the airplane icon above the start circle */
.airplane-icon-top {
  position: absolute;
  top: -65px;
  /* Adjust based on your text height */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.8;
}

/* Make icons smaller on mobile if they feel too big */
@media screen and (max-width: 768px) {

  .train-icon svg,
  .walk-icon svg,
  .airplane-icon-top svg {
    width: 18px;
    height: 18px;
  }
}

/* 1. ICON BASICS */
.material-symbols-outlined {
  color: #eb5a0f;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* 2. TOP ICON (Airplane) */
.journey-icon-top {
  font-size: 24px !important;
  margin-bottom: 8px;
  /* Pushes the airplane UP away from Haneda text */
}

/* 3. BOTTOM ICONS (Train/Walk) */
.path-details {
  display: flex !important;
  flex-direction: column !important;
  /* STACKS everything vertically */
  align-items: center !important;
  gap: 4px;
  /* Space between Icon -> JP -> EN */
}

.journey-icon {
  font-size: 20px !important;
  margin-bottom: 2px;
  color: #eb5a0f !important;
}

.hill-warning {
  color: #eb5a0f !important;
}

/* --- 6. RESPONSIVE FIX --- */
@media screen and (max-width: 1024px) {
  .journey-path {
    max-width: 510px;
  }

  .jp-station {
    font-size: 0.85rem;
  }
}

@media screen and (max-width: 768px) {

  /* Hides horizontal version on mobile to prevent messiness */
  .zen-journey-wrap {
    flex-direction: column;
    margin-top: 40px;
  }

  /* (Add vertical mobile styles here later if needed) */
}


/* ========================================================
   11.3 LAPTOP & TABLET FIX: Prevent Vertical Title Collision
   ======================================================== */

/* When the screen gets to laptop size, pull the text closer to the center */
@media screen and (max-width: 1300px) {

  .vertical-title,
  .access-vertical-title {
    left: -30px !important;
  }
}

/* When the screen hits iPad/Tablet size, lock it to the edge so it doesn't hit the sidebar */
@media screen and (max-width: 1024px) {

  .vertical-title,
  .access-vertical-title {
    left: 0px !important;
  }
}

@media screen and (max-width: 768px) {

  /* This hides both the room titles and the map titles on phones! */
  .vertical-title,
  .access-vertical-title {
    display: none !important;
  }

}

/* ========================================================
   12. BY CAR
   ======================================================== */
.access-notice {
  background-color: #f9f9f9;
  /* Subtle light grey background */
  padding: 30px;
  border-left: 3px solid #eb5a0f;
  /* The signature orange accent line */
  margin-top: 1px;
  /* Space above the notice */
  margin-bottom: 5px;
  /* Space below the notice, before the cards */
  display: inline-block;
  text-align: left;
  /* Keeps the apology text easy to read */
  max-width: 800px;
}

.access-notice p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  line-height: 1.8;
  /* Makes the Japanese text feel "Zen" and airy */
  color: #333;
  margin: 0;
}

/* --- PARKING JOURNEY GRID --- */
.parking-journey-grid {
  display: grid;
  grid-template-columns: 1fr 1fr !important;
  /* Forces 2 columns x 2 columns */
  gap: 30px;
  /* Space between cards */
  margin-top: 60px;
  width: 100%;
}

.parking-journey-card {
  text-decoration: none !important;
  /* Removes the underline */
  color: inherit !important;
  /* Keeps your black/grey text colors */
  padding: 40px 20px;
  border: 1px solid #f0f0f0;
  background-color: #fff;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Give it a subtle "Node" feel on hover */
.parking-journey-card:hover {
  border-color: #eb5a0f;
  transform: translateY(-5px);
}

/* Re-using your Journey Styles for consistency */
.parking-journey-card .path-info {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-size: 14px !important;
  font-weight: 800;
  color: #333;
  margin-top: 10px !important;
}

.parking-journey-card .path-en-info {
  font-family: 'Kumbh Sans', sans-serif !important;
  font-size: 11px !important;
  color: #767676;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px !important;
}

.parking-journey-card .path-time {
  font-family: 'Kumbh Sans', sans-serif !important;
  font-size: 13px !important;
  color: #eb5a0f;
  /* Orange accent for the walk time */
  margin-top: 12px !important;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* --- UNIVERSAL WALK ICON FIX --- */

/* 1. Target the icon specifically */
.material-symbols-outlined.journey-icon[class*="directions_walk"],
.path-time .material-symbols-outlined {
  font-size: 20px !important;
  /* Made it significantly larger */
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  color: #eb5a0f;

  /* Vertical alignment nudge */
  vertical-align: middle;
  margin-right: 4px;
  position: relative;
  top: -1px;
  /* Tiny adjustment so it doesn't look like it's "floating" above the text */
}

/* 2. Specific fix for the Parking Cards time label */
.path-time {
  display: flex !important;
  align-items: center !important;
  justify-content: center;
  font-size: 14px !important;
  font-weight: 700 !important;
}

/* Responsive: Switch to 1 column on small phones */
@media screen and (max-width: 600px) {
  .parking-journey-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ========================================================
   13. TOKYO DOME
   ======================================================== */
/* アクセス詳細の小見出し */
.access-sub-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 30px;
  color: #333;
  text-align: center;
}

.access-sub-title .en-sub {
  display: block;
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 12px;
  color: #eb5a0f;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 5px;
}

/* バス詳細のテキスト調整 */
.bus-details-text p {
  margin-bottom: 8px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 8px;
  width: 100%;
}

/* ========================================================
   14. MAIN STA. (デスクトップ版：2列 ＆ 解説文 ＆ バッジ)
   ======================================================== */

/* 解説文のスタイル：主要駅セクションの導入テキスト */
.access-explanation {
  text-align: center !important;
  max-width: 800px !important;
  margin: 0 auto 50px auto !important;
  font-family: 'Noto Sans JP', sans-serif !important;
  line-height: 1.8 !important;
}

.access-explanation .jp-text {
  font-size: 15px !important;
  color: #333 !important;
  font-weight: 500 !important;
  display: block !important;
}

.access-explanation .en-text {
  font-size: 14px !important;
  color: #888 !important;
  font-family: 'Kumbh Sans', sans-serif !important;
  display: block !important;
  margin-top: 5px !important;
}

/* 2列グリッドの設定 */
.concierge-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0 60px !important;
  max-width: 900px !important;
  margin: 0 auto 40px auto !important;
  width: 100% !important;
}

.grid-col {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
}

.concierge-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 18px 0 !important;
  border-bottom: 1px solid #eee !important;
}

/* バッジ：DIRECT / 1 TRANSFER */
.station-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
}

.access-badge {
  display: inline-block !important;
  width: 90px !important;
  height: 22px !important;
  line-height: 22px !important;
  text-align: center !important;
  color: #ffffff !important;
  font-size: 10px !important;
  font-family: 'Kumbh Sans', sans-serif !important;
  font-weight: 700 !important;
  border-radius: 3px !important;
  margin-bottom: 8px !important;
  letter-spacing: 0.05em !important;
}

.badge-direct {
  background-color: #eb5a0f !important;
}

.badge-transfer {
  background-color: #767676 !important;
}

/* 駅名・時間のタイポグラフィ */
.station-name {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-weight: 700;
  font-size: 15px;
  color: #333;
}

.station-en {
  font-family: 'Kumbh Sans', sans-serif !important;
  font-size: 10px;
  color: #767676;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}

.travel-time {
  font-family: 'Kumbh Sans', sans-serif !important;
  font-weight: 600;
  font-size: 15px;
  color: #767676;
  white-space: nowrap;
}

.time-unit {
  font-size: 13px;
  color: #767676;
  margin-left: 3px;
}

/* 共通カード（白背景・角丸） */
.parking-journey-card {
  border-radius: 16px !important;
  border: 1px solid #eee !important;
  overflow: hidden !important;
  background-color: #ffffff !important;
  padding: 80px 40px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

/* ========================================================
   16. ACCESS JOURNEY - スマホ専用（縦並び）
   ======================================================== */
@media screen and (max-width: 1024px) {

  /* 1. 親要素にスクロールを許可する */
  .zen-journey-wrap {
    display: flex !important;
    flex-direction: row !important;
    /* 横並びを維持 */
    overflow-x: auto !important;
    /* 横スクロールを許可 */
    -webkit-overflow-scrolling: touch;
    padding: 60px 20px !important;
    /* 上下の文字が切れないように余白を作る */
    justify-content: flex-start !important;
    width: 100% !important;
  }

  /* 2. 中身が「絶対に縮まない」ように幅を固定する */
  .journey-node {
    min-width: 120px !important;
    /* 各駅の幅を確保 */
    flex-shrink: 0 !important;
    /* 潰れるのを禁止 */
  }

  .journey-path {
    min-width: 100px !important;
    /* 路線の長さを確保 */
    flex-shrink: 0 !important;
    /* 潰れるのを禁止 */
  }
}


/* ========================================================
   🏆 ULTIMATE CLEAN VERTICAL - NO OVERLAP
   (HTMLの邪魔な数値をすべて破壊して、読みやすく整列させます)
   ======================================================== */

@media screen and (max-width: 1024px) {

  /* 1. 外枠の余計な「高さ」と「余白」を強制排除 */
  .parking-journey-card {
    padding: 60px 15px !important;
    /* 上下に余裕を */
    min-height: 0 !important;
    /* HTMLの500px指定を無効化 */
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  /* 2. ルート全体を包むコンテナの配置リセット */
  .parking-journey-card>div[style*="display: flex"] {
    flex-direction: column !important;
    /* 縦並び */
    align-items: flex-start !important;
    /* 左揃え */
    justify-content: flex-start !important;
    margin-top: 40px !important;
    /* HTMLの130pxを40pxに短縮 */
    width: 100% !important;
    max-width: 280px !important;
    /* スマホで読みやすい幅 */
    min-height: 0 !important;
    height: auto !important;
    position: relative !important;
    padding-left: 20px !important;
  }

  /* 3. 駅（ドット＋駅名）のレイアウト */
  .parking-journey-card div[style*="z-index: 10"] {
    display: flex !important;
    flex-direction: row !important;
    /* ドットの右に駅名 */
    align-items: center !important;
    width: 100% !important;
    height: 40px !important;
    margin: 0 !important;
    position: relative !important;
  }

  /* 🚨 重要：浮いている駅名を地面に下ろす */
  .parking-journey-card div[style*="position: absolute"][style*="bottom"] {
    position: static !important;
    /* absoluteを破壊 */
    transform: none !important;
    margin-left: 20px !important;
    /* ドットとの距離 */
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    width: auto !important;
  }

  /* 4. 線（オレンジ）のエリアを縦長にする */
  .parking-journey-card div[style*="flex-grow: 1"] {
    width: 100% !important;
    min-height: 100px !important;
    /* 駅と駅の間の縦の長さ */
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    position: relative !important;
  }

  /* 💡 オレンジの縦線を左端に通す */
  .parking-journey-card div[style*="border-top"] {
    border-top: none !important;
    /* 元の横線を消す */
    border-left: 2px solid #eb5a0f !important;
    /* 左に縦線を引く */
    position: absolute !important;
    left: 6px !important;
    /* ドットの真ん中(14px/2)に固定 */
    top: -5px !important;
    bottom: -5px !important;
    height: auto !important;
    width: 0 !important;
  }

  /* 徒歩（点線）も縦にする */
  .parking-journey-card div[style*="border-top: 2px dashed"] {
    border-left: 2px dashed #eb5a0f !important;
  }

  /* 5. 路線名・時間・アイコンを右側に配置 */
  .parking-journey-card div[style*="position: absolute"][style*="top: 30px"] {
    position: static !important;
    transform: none !important;
    margin-left: 40px !important;
    /* 線からしっかり離す */
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: auto !important;
  }

  /* 6. 「Bーぐる」などの案内情報のボックス */
  .parking-journey-card div[style*="background-color: #fcfcfc"],
  .parking-journey-card div[style*="margin-top: 150px"] {
    position: static !important;
    margin-top: 30px !important;
    width: 100% !important;
    padding: 20px !important;
    display: block !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* 7. 一番上のタイトル（AIRPORTなど）を読みやすく */
  .parking-journey-card>div[style*="position: absolute"][style*="top: 50px"],
  .parking-journey-card>span[style*="position: absolute"] {
    position: static !important;
    transform: none !important;
    margin-bottom: 20px !important;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
  }
}

@media screen and (max-width: 1024px) {

  /* 1. 楕円を「正円」に強制修正 */
  .parking-journey-card div[style*="width: 14px"] {
    display: block !important;
    width: 14px !important;
    /* 幅を固定 */
    height: 14px !important;
    /* 👈 高さを幅と同じにして正円にする */
    min-height: 14px !important;
    max-height: 14px !important;
    flex-shrink: 0 !important;
    /* 👈 絶対に潰さない、伸ばさない */

    border: 2px solid #eb5a0f !important;
    border-radius: 50% !important;
    background-color: #ffffff !important;

    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    /* ドットを中央に */
    transform: translateY(-50%) !important;
    z-index: 100 !important;
    margin: 0 !important;
  }

  /* 2. 💡 線を長くする (駅と駅の間隔を広げる) */
  .parking-journey-card div[style*="flex-grow: 1"] {
    min-height: 130px !important;
    /* 👈 ここを大きくすると線が長くなります */
    height: auto !important;
    width: 100% !important;
    margin: 0 !important;
    position: relative !important;
  }

  /* 3. オレンジの縦線がドットを貫通するように調整 */
  .parking-journey-card div[style*="border-top"] {
    border-top: none !important;
    border-left: 2px solid #eb5a0f !important;
    position: absolute !important;
    left: 6px !important;
    /* ドット(14px)の真ん中に合わせる */
    top: -15px !important;
    /* 前後の駅と繋がるように伸ばす */
    bottom: -15px !important;
    width: 0 !important;
  }

  /* 徒歩の点線も同様に */
  .parking-journey-card div[style*="border-top: 2px dashed"] {
    border-left: 2px dashed #eb5a0f !important;
    border-top: none !important;
  }

  /* 4. 文字（駅名・路線名）を線から綺麗に離す */
  .parking-journey-card div[style*="position: absolute"][style*="bottom"],
  .parking-journey-card div[style*="position: absolute"][style*="top: 30px"] {
    margin-left: 45px !important;
    /* 👈 線の右側に余裕を持たせる */
    padding: 0 !important;
  }
}


/* ========================================================
   🚑 TOKYO DOME MOBILE FIX (V2 - 完璧な縦並び強制)
   ======================================================== */
@media screen and (max-width: 1024px) {

  /* 1. カード全体の余白と高さをリセット */
  #access-tokyodome .parking-journey-card {
    padding: 40px 20px !important;
    min-height: auto !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
  }

  /* 2. 一番上のタイトル（バス・電車などのアイコン）を正常配置 */
  #access-tokyodome .parking-journey-card>div[style*="position: absolute"][style*="top: 50px"] {
    position: static !important;
    transform: none !important;
    margin: 0 0 40px 0 !important;
    width: 100% !important;
  }

  /* 3. ルート図の全体コンテナ（横並びを縦並びに） */
  #access-tokyodome .parking-journey-card>div[style*="max-width: 800px"],
  #access-tokyodome .parking-journey-card>div[style*="max-width: 850px"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 280px !important;
    /* スマホで読みやすい幅 */
    padding-left: 20px !important;
    /* 左側に線を引くスペース */
  }

  /* 4. 駅名とオレンジのドットのグループ */
  #access-tokyodome .parking-journey-card div[style*="z-index: 10"] {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    position: relative !important;
    width: 100% !important;
    height: 50px !important;
  }

  /* 駅名のテキスト（ドットの右へ配置） */
  #access-tokyodome .parking-journey-card div[style*="position: absolute"][style*="bottom"] {
    position: static !important;
    transform: none !important;
    margin-left: 25px !important;
    text-align: left !important;
  }

  /* オレンジのドット（丸）を左端に固定 */
  #access-tokyodome .parking-journey-card div[style*="width: 14px"] {
    position: absolute !important;
    left: -6px !important;
    /* 線の中心に合わせる */
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    background-color: #fff !important;
  }

  /* 5. 駅と駅を繋ぐ線（コンテナ） */
  #access-tokyodome .parking-journey-card div[style*="flex-grow: 1"] {
    width: 100% !important;
    min-height: 90px !important;
    /* 駅と駅の距離 */
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
  }

  /* 実際の線（横線を消して、左端に縦線を引く） */
  #access-tokyodome .parking-journey-card div[style*="border-top"] {
    border-top: none !important;
    border-left: 2px solid #eb5a0f !important;
    position: absolute !important;
    left: 0 !important;
    top: -25px !important;
    /* 上の駅と繋ぐ */
    bottom: -25px !important;
    /* 下の駅と繋ぐ */
    width: 0 !important;
    height: auto !important;
  }

  #access-tokyodome .parking-journey-card div[style*="border-top: 2px dashed"] {
    border-left: 2px dashed #eb5a0f !important;
    border-top: none !important;
  }

  /* 線の中央にある徒歩・バスのアイコンと時間 */
  #access-tokyodome .parking-journey-card div[style*="position: absolute"][style*="top: 30px"] {
    position: static !important;
    transform: none !important;
    margin-left: 25px !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  /* 6. 一番下の「運賃」や「見どころ」などの大渋滞を解消 */
  #access-tokyodome .parking-journey-card>div[style*="margin-top: 150px"],
  #access-tokyodome .parking-journey-card>div[style*="margin-top: 130px"] {
    position: static !important;
    margin-top: 40px !important;
    /* HTMLの巨大な余白を無効化 */
    padding-top: 20px !important;
    width: 100% !important;
    display: block !important;
  }
}

/* ========================================================
   🔙 1. 下のメニューボタンを元のサイズ（44px）に戻す
   ======================================================== */
@media screen and (max-width: 1024px) {
  .zen-selector-bar-mobile .selector-btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    flex: 0 0 44px !important;
  }

  .zen-selector-bar-mobile .selector-btn i.material-icons {
    font-size: 24px !important;
  }
}

/* ========================================================
   🎯 2. 東京ドームの「巨大化したオレンジの丸（ドット）」を正円に直す
   ======================================================== */
@media screen and (max-width: 1024px) {
  #access-tokyodome .parking-journey-card div[style*="width: 14px"] {
    /* 縦にも横にも絶対に伸びないように、14pxの正円に完全固定する特効薬 */
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    min-height: 14px !important;
    max-width: 14px !important;
    max-height: 14px !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
    padding: 0 !important;

    /* V2の配置設定を上書き */
    position: absolute !important;
    left: -6px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    background-color: #fff !important;
  }
}

/* ========================================================
   📏 3. 東京ドームの「縦線（駅の間隔）」と「隙間」を完全修正
   ======================================================== */
@media screen and (max-width: 1024px) {

  /* 駅同士の間隔 */
  #access-tokyodome .parking-journey-card div[style*="flex-grow: 1"] {
    min-height: 150px !important;
  }

  /* 🚨 線を長めに伸ばして、確実にドットの裏側まで届かせる（隙間ゼロへ！） */
  #access-tokyodome .parking-journey-card div[style*="border-top"] {
    top: -30px !important;
    /* -15pxから-30pxに伸ばして隙間を埋める */
    bottom: -30px !important;
    /* 同様 */
    z-index: 0 !important;
    /* 線はドットの裏に隠れるので、突き抜ける心配なし！ */
  }
}

/* ========================================================
   🧹 4. 運賃・ご案内エリアの「余計なオレンジ線」を消す
   ======================================================== */
@media screen and (max-width: 1024px) {

  /* 巻き込まれてしまったグレーの横線を、本来の姿に戻す */
  #access-tokyodome .parking-journey-card div[style*="border-top: 1px"] {
    border-left: none !important;
    /* 誤って付いた左のオレンジ縦線を消す */
    border-top: 1px solid #eee !important;
    /* 元のグレーの区切り線を復活させる */
  }
}