/* ========================================================
  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,
body {
  /* ✨ hiddenの代わりに clip を使うことで、横揺れを防ぎつつトップバーの追従を完璧に守ります */
  overflow-x: clip !important;
  width: 100% !important;
  position: relative;
  scroll-behavior: smooth;
  background-color: #ffffff;
}

body {
  overflow: visible !important;
  margin-left: 160px;
  width: calc(100% - 160px) !important;
  font-family: 'Kumbh Sans', 'Noto Sans JP', sans-serif !important;
  font-weight: 400;
  color: #000000;
  line-height: 1.8;
  letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
}

/* ========================================================
  2. 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;
}

/* ========================================================
  3. PERMANENT SIDEBAR
  ======================================================== */
.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;
  align-items: center;
  padding: 40px 0;
  z-index: 9999;
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.sidebar-logo {
  text-decoration: none !important;
  display: block;
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 900;
  font-size: 3.5rem;
  color: #eb5a0f;
  line-height: 1;
  text-align: center;
  width: 100%;
  margin-bottom: 50px;
  transition: transform 0.3s ease;
}

.sidebar-logo:hover {
  transform: scale(1.1);
}

.sidebar-links {
  list-style: none;
  width: 100%;
  padding-left: 35px !important;
}

.sidebar-links li {
  margin-bottom: 25px;
  text-align: left;
}

.sidebar-links a {
  position: relative;
  padding-left: 15px;
  text-decoration: none;
  color: #333;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

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

.sidebar-links a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 0;
  background-color: #eb5a0f;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-links a:hover {
  color: #eb5a0f !important;
}

.sidebar-links a:hover::before {
  height: 100%;
}

.sidebar-booking-btn {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 140px !important;
  background-color: transparent !important;
  border: 1.5px solid #eb5a0f !important;
  color: #eb5a0f !important;
  border-radius: 50px !important;
  padding: 12px 5px !important;
  text-decoration: none;
  font-weight: 900 !important;
  font-size: 0.85rem !important;
  line-height: 1.0 !important;
  margin: auto auto 25px auto !important;
  position: relative !important;
  overflow: hidden !important;
  z-index: 1;
  transition: transform 0.4s ease, color 0.3s ease;
}

.sidebar-booking-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #eb5a0f;
  z-index: -1;
  transition: width 0.4s ease;
}

.sidebar-booking-btn span {
  display: block;
  font-size: 0.65rem !important;
  font-weight: 600 !important;
  margin-top: 3px !important;
}

.sidebar-booking-btn:hover {
  color: #000 !important;
  transform: translateY(-4px);
}

.sidebar-booking-btn:hover::before {
  width: 100%;
}

.sidebar-booking-btn:hover span {
  color: #000 !important;
}

.sidebar-footer {
  display: flex !important;
  justify-content: center;
  gap: 15px;
  width: 100%;
  padding-bottom: 10px;
}

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

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


/* ========================================================
  4. ZEN SELECTOR BAR
  ======================================================== */
.zen-selector-bar {
  position: fixed !important;
  /* ✨ stickyをやめて、強制的に完全固定する最強の指定 */
  top: 0;
  left: 160px;
  width: calc(100% - 160px) !important;
  background-color: rgba(255, 255, 255, 0.98) !important;
  /* ✨ 背景をほんの少しだけ透かすと、スクロールした時に高級感が出ます */
  border-bottom: 0.5px solid #eeeeee;
  padding: 15px 0 10px 0;
  z-index: 999999 !important;
  /* ✨ どんなに大きな写真にも絶対に負けない一番手前の設定 */
}

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

.selector-btn {
  text-decoration: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  color: #767676;
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  transition: 0.3s ease;
  position: relative;
}

.selector-btn span {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  margin-top: 0.1px;
}

.selector-btn::after {
  content: '';
  position: absolute;
  bottom: -10px;
  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;
}

.zen-selector-bar-mobile,
.mobile-menu-btn {
  display: none !important;
}


/* ========================================================
  5. CONCEPT SECTION
  ======================================================== */
.zen-concept-intro {
  width: 100% !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding-top: 300px !important;
  /* ← ここの数字で留白の大きさを調整できます（例：100px, 150px） */
  padding-bottom: 40px !important;
  text-align: center !important;
}

.concept-label {
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 18px !important;
  font-weight: 800;
  color: #eb5a0f;
  letter-spacing: 0.25em;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.concept-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 33px !important;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 10px;
  color: #000;
}

.concept-title .en-subtitle {
  display: block;
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 18px !important;
  color: #767676;
  letter-spacing: 0.05em;
  margin-top: 10px !important;
}

.concept-text-block {
  max-width: 800px !important;
  margin: 0 auto !important;
  border-top: 0.5px solid #eeeeee;
  padding-top: 25px;
}

.concept-text-block p {
  font-size: 15px !important;
  line-height: 1.9 !important;
  margin-bottom: 12px;
  color: #333;
}

.en-concept-desc {
  font-family: 'Kumbh Sans', sans-serif !important;
  font-size: 18px !important;
  color: #999999 !important;
  line-height: 1.8 !important;
  display: block !important;
  max-width: 800px !important;
  margin: 25px auto 0 auto !important;
}

/* ========================================================
  6. ROOM EXHIBIT (Gallery & Specs)
  ======================================================== */
.zen-room-exhibit {
  max-width: 1100px !important;
  margin: 0 auto 120px auto !important;
  position: relative;
  width: 90% !important;
}

.zen-index-divider {
  max-width: 1100px !important;
  margin: 80px auto !important;
  display: flex;
  align-items: center;
  gap: 20px;
  width: 90%;
}

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

.index-line {
  flex-grow: 1;
  height: 1px;
  background-color: #eb5a0f;
  opacity: 0.3;
}

.exhibit-header {
  position: relative;
  margin-bottom: 40px;
  text-align: left;
}

/* 1. 縦書きタイトル本体（既存のものを上書き） */
.vertical-title {
  position: absolute;
  left: -30px;
  top: 0;
  writing-mode: vertical-rl;
  font-size: 15px !important;
  font-weight: 700;
  color: #eb5a0f;
  letter-spacing: 0.4em;
  opacity: 0.9 !important;
}

/* 2. 英語部分だけをさらに大きくする */
.vertical-title span {
  font-size: 14px !important;
  /* ここで英語を大きくします（1.2remや1.5remなど調整OK） */
  margin-top: 15px !important;
  /* 日本語との間に綺麗な余白を作る */
  display: block !important;
}

/* 3. スマホ画面では【完全に消す（Disappear）】設定 */
@media screen and (max-width: 768px) {
  .vertical-title {
    display: none !important;
    /* ✨ スマホでは非表示にする魔法 */
  }

  /* 前回のスマホ用の余白設定もリセットしておきます */
  .exhibit-header {
    padding-left: 0 !important;
  }
}

/* 縦書き文字がメインのテキストと重ならないように、少し右にスペースを空ける */
.exhibit-header {
  padding-left: 20px !important;
}
}

.zen-intro-text {
  text-align: center !important;
  max-width: 800px !important;
  margin: 20px auto 40px auto !important;
  font-size: 15px !important;
  line-height: 2 !important;
  color: #333;
}

.zen-intro-text span {
  display: block !important;
  font-size: 14px !important;
  color: #999 !important;
  margin-top: 10px !important;
}

.zen-spec-bar {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 0.5px solid #eeeeee;
}

.spec-node {
  font-size: 15px;
  color: #333;
  line-height: 1.4 !important;
}

.spec-node span {
  display: block;
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: #eb5a0f;
  margin-bottom: 2px;
}

.spec-node .sub-en {
  color: #767676 !important;
  font-weight: 400 !important;
  font-size: 11px !important;
  margin-top: 4px !important;
}

.zen-room-note {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background-color: #fff9f6;
  border-left: 3px solid #eb5a0f;
  text-align: center;
}

.zen-room-note p {
  color: #eb5a0f;
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.zen-room-note span {
  display: block;
  font-size: 12px;
  opacity: 0.8;
  margin-top: 5px;
}

/* 4:3 Carousel */
.room-gallery-single {
  width: 100%;
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.room-carousel-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid #eeeeee;
  background-color: #f7f7f7;
  touch-action: pan-y !important;
}

.room-scroll-container {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.room-scroll-container::-webkit-scrollbar {
  display: none;
}

.room-slide {
  flex: 0 0 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  scroll-snap-align: center;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: #eb5a0f;
  border: none;
  border-radius: 50%;
  color: #FFF;
  cursor: pointer;
  z-index: 20;
}

.room-prev {
  left: 20px;
}

.room-next {
  right: 20px;
}

.room-slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  background: rgba(0, 0, 0, 0.4);
}

.dot.active {
  background: #eb5a0f;
}


/* ========================================================
  7. AMENITIES (TIGHT CENTERED GROUP - BY SHIGERU)
  ======================================================== */
.amenity-section {
  display: flex !important;
  justify-content: flex-start !important;
  gap: 40px !important;
  /* 画面が狭くなった時にも自然になるように少し調整 */
  width: 100% !important;
  max-width: 1200px !important;
  margin: 80px auto 0 auto !important;
  padding-top: 50px;
  border-top: 0.5px solid #eeeeee;
  align-items: flex-start;
  /* ✨ ここがポイント！狭くなったら自動で折り返します */
  flex-wrap: wrap !important;
}

.amenity-col {
  /* ✨ ここがポイント！画面に合わせてゴムのように縮みます */
  flex: 1 1 250px !important;
  min-width: 250px !important;
  max-width: 100% !important;
}

.amenity-col h4 {
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #eb5a0f;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 25px;
  text-align: left !important;
}

.amenity-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.amenity-list li {
  font-size: 15px;
  color: #333;
  line-height: 2.2;
  display: flex;
  align-items: baseline;
  white-space: nowrap;
  justify-content: flex-start !important;
}

.en-amenity {
  display: inline-block !important;
  font-size: 14px !important;
  color: #767676 !important;
  margin-left: 12px !important;
  vertical-align: middle !important;
}

.slash {
  margin: 0 10px;
  opacity: 0.5;
}

.amenity-sub-label {
  display: block;
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #eb5a0f;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 30px 0 15px 0;
  padding-top: 20px;
  border-top: 1px solid #f5f5f5;
  text-align: left !important;
}


/* ========================================================
  8. BUTTONS
  ======================================================== */
.zen-btn-container {
  width: 100%;
  text-align: center;
  padding: 60px 0 100px 0;
  clear: both;
}

.liquid-line-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  min-width: 500px;
  padding: 22px 60px;
  text-decoration: none;
  border: 2.5px solid #eb5a0f;
  border-radius: 100px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: 0.5s;
}

.liquid-line-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #eb5a0f;
  z-index: -1;
  transition: 0.5s;
}

.liquid-line-btn:hover::before {
  width: 100%;
}

.liquid-line-btn:hover .btn-text,
.liquid-line-btn:hover .btn-arrow {
  color: #fff;
}

.btn-text {
  color: #eb5a0f;
  display: flex;
  align-items: center;
}

.jp-bold {
  font-size: 1.15rem;
  font-weight: 800;
}

.btn-text .en-label {
  font-size: 1.15rem;
  font-weight: 800;
  color: inherit;
}

.btn-arrow {
  font-size: 1.5rem;
  color: #eb5a0f;
  margin-left: 10px;
}

/* ========================================================
  9. SHARED AREA & NOTICE
  ======================================================== */
.shared-storyboard {
  max-width: 1100px;
  margin: 0 auto 120px auto;
  padding: 0 20px;
}

.zen-shared-block {
  display: flex;
  flex-direction: column;
  margin-bottom: 80px;
}

.shared-meta {
  text-align: left;
  margin: 0 auto 25px auto;
  max-width: 800px;
  border-left: 2px solid #eb5a0f;
  padding-left: 20px;
}

.shared-meta h5 {
  font-size: 18px;
}

.room-tier {
  color: #eb5a0f;
  margin-left: 10px;
  font-size: 15px;
}

.shared-meta p {
  font-size: 15px;
  margin-top: 8px;
  line-height: 1.8;
}

.shared-meta p .en-desc {
  display: block;
  font-size: 14px;
  color: #767676;
  margin-top: 2px;
}

/* PRE-BOOKING NOTICE */
.zen-pre-booking-notice {
  padding: 80px 0;
}

.notice-inner-wrap {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.notice-main-title {
  font-size: 33px;
  text-align: center;
  margin-bottom: 50px;
}

.notice-main-title span {
  display: block;
  font-size: 18px;
  color: #767676;
  margin-top: 5px;
}

.notice-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.notice-item {
  border-left: 2px solid #eb5a0f;
  padding-left: 25px;
}

.notice-item h5 {
  font-size: 15px;
  margin-bottom: 10px;
}

.notice-item .en-label {
  color: #eb5a0f;
  margin-left: 10px;
}

.notice-item p {
  font-size: 15px;
  color: #555;
}

.notice-item .en-desc {
  display: block;
  font-size: 14px;
  color: #767676;
  margin-top: 8px;
}

.rules-download-area {
  text-align: center;
  margin-top: 40px;
  padding: 30px 20px;
  border-top: 1px solid #eee;
}

.rules-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 35px;
  background-color: transparent;
  color: #333333;
  text-decoration: none;
  border: 1px solid #333333;
  border-radius: 4px;
  font-family: 'Kumbh Sans', 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.rules-link-btn i {
  font-size: 18px;
  color: #eb5a0f;
  transition: 0.4s ease;
}

.rules-link-btn .jp-small {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.8;
}

.rules-link-btn:hover {
  background-color: #333333;
  color: #ffffff;
  transform: translateY(-2px);
}

.rules-link-btn:hover i {
  color: #ffffff;
}

.support-text {
  margin-top: 20px;
  font-size: 13px;
  color: #888888;
  letter-spacing: 0.05em;
}


/* ========================================================
  10. FOOTER
  ======================================================== */
.modern-footer-section {
  background-color: #000;
  padding: 100px 0;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  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: 3rem;
  color: #eb5a0f;
  transform: rotate(-2deg);
}

.footer-book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  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;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.footer-book-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #eb5a0f;
  z-index: -1;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.footer-book-btn:hover {
  color: #000000 !important;
}

.footer-book-btn:hover::before {
  width: 100%;
}

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

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

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

.footer-col h4 {
  color: #eb5a0f;
  margin-bottom: 20px;
}

.footer-col p,
.footer-col a {
  color: #eb5a0f;
  display: block;
  text-decoration: none;
  margin-bottom: 6px;
}

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


/* ========================================================
  🚨 11. MOBILE RESPONSIVE (THE FIX FOR SHRINKING) 🚨
  ======================================================== */

/* --- TABLET (Below 1024px) --- */
@media screen and (max-width: 1024px) {
  body {
    margin-left: 0 !important;
    width: 100% !important;
  }

  .zen-selector-bar {
    display: none !important;
  }

  .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: 90% !important;
    max-width: 380px !important;
    background: #eb5a0f !important;
    border-radius: 100px !important;
    padding: 5px 15px !important;
    z-index: 10005 !important;
  }

  .zen-selector-bar-mobile .selector-container {
    display: flex !important;
    justify-content: space-evenly !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .zen-selector-bar-mobile .selector-btn {
    color: #fff !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    text-decoration: none;
  }

  .zen-selector-bar-mobile .selector-btn.active {
    background: #fff !important;
    color: #eb5a0f !important;
  }

  .zen-concept-intro {
    padding-top: 200px !important;
    /* ← ここの数字で留白の大きさを調整できます（例：100px, 150px） */
    padding-bottom: 40px !important;
  }

  .mobile-menu-btn {
    display: grid !important;
    place-items: center;
    position: fixed;
    top: 25px;
    left: 20px;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background: #eb5a0f !important;
    z-index: 20000 !important;
  }

  .btn-bar {
    width: 22px !important;
    height: 2px !important;
    background: #FFF;
    transition: 0.3s;
    grid-area: 1/1;
  }

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

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

  .nav-trigger:checked~.mobile-menu-btn .btn-bar:nth-child(1) {
    transform: rotate(45deg);
  }

  .nav-trigger:checked~.mobile-menu-btn .btn-bar:nth-child(2) {
    opacity: 0;
  }

  .nav-trigger:checked~.mobile-menu-btn .btn-bar:nth-child(3) {
    transform: rotate(-45deg);
  }

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

  .nav-trigger:checked~.fixed-sidebar {
    transform: translateX(0);
  }
}

/* --- SMARTPHONE (Below 768px) --- */
@media screen and (max-width: 768px) {

  section,
  .zen-room-exhibit {
    padding: 50px 15px !important;
    margin-bottom: 40px !important;
    width: 100% !important;
  }

  .inner-1920 {
    padding: 0 !important;
  }

  .concept-title,
  .notice-main-title {
    font-size: 24px !important;
  }

  .concept-title .en-subtitle,
  .notice-main-title span {
    font-size: 14px !important;
  }

  .welcome-title {
    font-size: 22px !important;
  }

  .en-main-title {
    font-size: 14px !important;
  }

  .zen-spec-bar {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 15px !important;
    padding: 20px 0 !important;
  }

  /* ✨ スマホ版アメニティ：横揺れを防ぎ、縦に積む */
  .amenity-section {
    flex-direction: column !important;
    align-items: center !important;
    padding: 25px 15px !important;
  }

  .amenity-col {
    width: 100% !important;
    min-width: 0 !important;
    /* PCの250px制限を解除 */
    margin-bottom: 20px !important;
  }

  .amenity-col h4,
  .amenity-sub-label {
    text-align: center !important;
    margin-top: 25px !important;
    margin-bottom: 12px !important;
    display: block !important;
    border-top: none !important;
  }

  .amenity-list {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px 10px !important;
    width: 100% !important;
  }

  .amenity-list li {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    line-height: 1.2 !important;
    margin-bottom: 0 !important;
    justify-content: center !important;
  }

  .en-amenity {
    margin-left: 0 !important;
    margin-top: 3px !important;
    font-size: 11px !important;
    opacity: 0.7;
    display: block !important;
  }

  /* その他のスマホ設定 */
  .notice-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .slider-arrow {
    width: 36px !important;
    height: 36px !important;
  }

  .liquid-line-btn {
    min-width: 0 !important;
    width: 90% !important;
    padding: 15px !important;
    gap: 10px !important;
  }

  .liquid-line-btn .jp-bold {
    font-size: 1rem !important;
  }

  .liquid-line-btn .en-label {
    font-size: 0.75rem !important;
  }

  /* フッター（スマホ版：左寄せ ＆ 左右に美しい余白を追加） */
  .modern-footer-section {
    padding: 60px 25px !important;
    /* ✨ ここがポイント！画面の端から25px内側にスペースを作ります */
  }

  .footer-layout {
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 30px !important;
  }

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

  .footer-main-grid {
    grid-template-columns: 1fr !important;
    text-align: left !important;
    gap: 30px !important;
  }

  .giant-logo {
    font-size: 4.5rem !important;
    align-items: flex-start !important;
  }

  .footer-book-btn {
    padding: 15px 30px !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.1em !important;
  }

  .footer-bottom-bar {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 12px !important;
    padding-top: 15px !important;
  }

  /* 縦書きタイトル（スマホでは完全に消す） */
  .vertical-title {
    display: none !important;
  }

  .exhibit-header {
    padding-left: 0 !important;
  }
}

/* Extra Small Phones */
@media screen and (max-width: 400px) {
  .zen-spec-bar {
    grid-template-columns: 1fr !important;
  }

  .amenity-list {
    grid-template-columns: 1fr !important;
  }
}

/* ========================================================
   🚨 iPhone/Safari完全対応版：ギャラリーバグ修正 🚨
   ======================================================== */
@media screen and (max-width: 768px) {

  /* 1. 写真が消える・天井がズームされるバグの修正 */
  /* iOS Safariのバグを防ぐため、aspect-ratioを使わず「絶対的な高さ(250px)」を指定します */
  .room-gallery-single {
    width: 100vw !important;
    /* 画面の端から端まで広げる */
    margin-left: calc(-50vw + 50%) !important;
    padding: 0 !important;
    margin-top: 15px !important;
    margin-bottom: 30px !important;
  }

  .room-carousel-wrapper {
    width: 100vw !important;
    height: 250px !important;
    /* 高さをpxで固定し、画像が消滅するのを絶対に防ぐ */
    max-height: 250px !important;
    aspect-ratio: auto !important;
    /* バグの原因になる設定を解除 */
    border: none !important;
  }

  .room-scroll-container {
    height: 250px !important;
  }

  .room-slide {
    flex: 0 0 100vw !important;
    width: 100vw !important;
    height: 250px !important;
    background-size: cover !important;
    background-position: center center !important;
    /* 天井ではなく、常に「写真のど真ん中」を表示 */
  }

  /* 2. 共用エリアのテキストが左端にくっついて見切れる問題の修正 */
  .shared-meta {
    padding: 0 15px !important;
    /* 削ってしまった余白を復活させる */
    margin-bottom: 15px !important;
  }

  .zen-shared-block {
    margin-bottom: 50px !important;
    overflow: visible !important;
  }
}

/* ========================================================
   🤖 AI Bug mobile bar
   ======================================================== */
#ryokan-bot-container {
  pointer-events: none !important;
}

#ryokan-bot-toggle,
#ryokan-bot-window,
#ryokan-bot-bubble-hint {
  pointer-events: auto !important;
}

.zen-selector-bar-mobile {
  z-index: 10005 !important;
}