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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* The secret to perfect widths */
}

html,
body {
  width: 100%;
  overflow-x: hidden;
  /* Stops horizontal scroll bugs */
  background-color: #ffffff;
  font-family: 'Kumbh Sans', 'Noto Sans JP', sans-serif;
  font-weight: 400;
  color: #000000;
  line-height: 2.0;
  letter-spacing: 0.05em;
}



/* ========================================================
   2. UNIVERSAL LAYOUT CONTAINERS (The 1920px Fix)
   ======================================================== */
section,
header,
footer {
  width: 100%;
  display: block;
}

/* This traps your content inside a maximum width and centers it! */
.inner-1920 {
  width: 100%;
  max-width: 1800px;
  /* Safe bounds for giant monitors */
  margin: 0 auto !important;
  /* THE MAGIC CENTERING RULE */
  padding: 0 5%;
  /* Safe padding for mobile phones */
}

/* This creates a tighter column for easy reading */
.content-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

/* ========================================================
   3. UNIVERSAL TYPOGRAPHY & TITLES
   ======================================================== */
.welcome-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin: 0 auto 50px auto;
  gap: 10px;
  line-height: 1.1;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: #000000;
}

.en-main-title {
  display: block;
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #eb5a0f;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  width: 100%;
  margin-top: 8px;
}



/* ========================================================
   4. HERO SECTION - FINAL PHOTO SIZE ADJUSTMENT
   ======================================================== */

/* --- 1. ヒーローセクションの修正 --- */
.editorial-hero {
  background-color: #eb5a0f;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden !important;
  /* 🚨 縦も横も「はみ出たものは隠す」設定にします */
  position: relative;
  font-family: 'Kumbh Sans', sans-serif;
}

/* --- 2. ページ全体の修正（念のため追加してください） --- */
html,
body {
  overflow-x: hidden;
  /* ページ全体で横揺れを防止 */
  overflow-y: auto;
  /* 縦スクロールを確実に有効化 */
  height: auto;
  /* 高さを固定しない */
}

/* 背景文字 */
.hero-bg-text {
  position: absolute;
  width: 100%;
  text-align: center;
  font-size: 16vw;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.3);
  /* 透かしのように馴染ませる */
  line-height: 1;
  letter-spacing: -0.05em;
  z-index: 1;
  pointer-events: none;
}

/* 中央ステージ */
.editorial-stage {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-main-wrapper {
  position: relative;
  display: inline-block;
}

/* ✅ 画面サイズに合わせて「550px」から滑らかに縮小します */
.room-container {
  /* clamp(最小サイズ, 推奨サイズ, 最大サイズ) */
  /* 画面が小さい時は幅の60%になり、大きくなっても550pxで止まります */
  width: clamp(280px, 60vw, 550px);

  max-width: 85vw;
  margin: 0 auto;
  cursor: pointer;
  transition: transform 0.1s ease;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.12));
  display: block;
}

.room-image {
  width: 100%;
  height: auto !important;
  /* 歪み防止を維持 */
  display: block;
  object-fit: contain;
}


/* ✅ ラベル：デザイン・サイズ・色は一切変えていません */
.floating-labels {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

.label.tag-pill {
  position: absolute;
  font-weight: 800;
  border-radius: 100px;
  padding: 12px 28px;
  font-size: 1.4rem;
  letter-spacing: 2px;
  box-shadow: none !important;
  border: none !important;
  white-space: nowrap;
  animation: floatAnim 6s ease-in-out infinite;
}

.label.grey {
  background: #FFFFFF;
  color: #1a1a1a;
}

.label.black {
  background: #1a1a1a;
  color: #ffffff;
}

/* 1. Base settings applied to ALL emojis */
.hero-emoji {
  display: inline-block;
  font-size: 100px;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;

  /* 🚨 Crucial: allows free movement without breaking the layout */
  position: absolute;
  z-index: 10;
  /* Ensures emojis float on top of the background */

  animation: gentleFloat 4s ease-in-out infinite;
}

/* 2. Specific positions for EACH emoji */

.emoji-1 {
  /* The Leaf 🌿 */
  top: -50px;
  left: 10%;
  /* 10% inward from the left edge */
}

.emoji-2 {
  /* The Sparkle ✨ */
  top: 20px;
  right: -30%;
  /* 15% inward from the right edge */

}

.emoji-3 {
  /* The Lantern 🏮 */
  bottom: -40px;
  left: 30%;
  transform: translateX(-50%);
  /* Keeps it perfectly dead center */
}

.emoji-4 {
  /* The Lantern 🏮 */
  bottom: 10px;
  left: 100%;
  transform: translateX(-50%);
  /* Keeps it perfectly dead center */
}

.emoji-5 {
  /* The Lantern 🏮 */
  bottom: 90px;
  left: -30%;
  transform: translateX(-50%);
  /* Keeps it perfectly dead center */
}

/* The gentle floating animation */
@keyframes gentleFloat {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0);
  }
}

/* 3. Mobile Specific Overrides (max-width: 768px) */
@media screen and (max-width: 768px) {
  .hero-emoji {
    /* Slightly smaller size for mobile screens */
    font-size: clamp(30px, 10vw, 45px) !important;
  }

  /* Spread emojis to the very edges to avoid covering the central labels */
  .emoji-1 {
    left: 2%;
    top: -8%;
  }

  .emoji-2 {
    right: 2%;
    top: 2%;
  }

  .emoji-3 {
    left: 15%;
    bottom: -10%;
  }

  .emoji-4 {
    right: 2%;
    bottom: 5%;
  }

  .emoji-5 {
    left: 2%;
    top: 35%;
  }
}

/* The gentle floating animation */
@keyframes gentleFloat {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0);
  }
}

/* ラベルの位置：前回気に入っていただいた配置のままです */
.brand-en {
  top: -40px;
  left: -140px;
}

/* D RYOKAN (Black) */
.brand-jp {
  top: -90px;
  right: -120px;
  font-size: 1.8rem !important;
}

/* D旅館 (Orange) */
.cat-jp {
  bottom: -10px;
  left: -120px;
}

/* ゲストハウス (Black) */
.cat-en {
  bottom: -60px;
  right: -160px;
}

/* GUEST HOUSE (Orange) */

/* 下部インフォ */
.hero-footer-info {
  position: absolute;
  bottom: 40px;
  width: 90%;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

@keyframes floatAnim {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* スマホ対応（メディアクエリ内） */
@media (max-width: 768px) {

  .room-container {
    /* ✅ 写真をさらに一回り小さくして、背景文字が見える隙間を作ります */
    width: 65vw;

    /* ✅ 写真を少しだけ透けさせることで、重なった文字を読みやすくします */
    /* 不要な場合は opacity: 1; に戻してください */
    opacity: 0.95;

    margin: 0 auto;
  }

  /* ✅ 背景のデカ文字をスマホでもう少しハッキリさせたい場合 */
  .hero-bg-text {
    font-size: 24vw;
    /* 文字をさらに大きくして、写真の外側にはみ出させる */
    color: rgba(0, 0, 0, 0.4);
    /* 透明度を少し上げて、黒背景に浮かび上がらせる */
    z-index: 1;
  }

  .label.tag-pill {
    font-size: 0.85rem !important;
    padding: 8px 16px;
    /* 写真が小さくなった分、ラベルも写真に寄せる */
    z-index: 5;
  }

  .brand-en {
    top: -10px;
    left: -10px;
  }

  .brand-jp {
    top: -30px;
    right: -10px;
  }

  .cat-jp {
    bottom: 0px;
    left: -10px;
  }

  .cat-en {
    bottom: -20px;
    right: -10px;
  }
}

/* 📱 モバイル版（画面幅が1024px以下）のスタイル */
@media screen and (max-width: 1024px) {
  .hero-footer-info {
    /* 1. 縦に並べる設定 */
    flex-direction: column !important;
    gap: 15px;
    /* 要素同士の間隔 */
    bottom: 20px;
    /* 少し上に上げる */
  }

  /* 2. 左と右のテキストを小さく、または非表示にする */
  .footer-left,
  .footer-right {
    font-size: 10px !important;
    letter-spacing: 0.1em;
    opacity: 0.8;
    /* もし完全に消して中央だけにしたい場合は、下の行のコメントアウトを外してください */
    /* display: none; */
  }

  /* 3. 中央のスクロール指示を強調 */
  .scroll-hint {
    order: -1;
    /* スクロール指示を一番上に持ってくる（お好みで） */
    margin-bottom: 5px;
  }
}

/* ========================================================
   5. WELCOME SECTION (Orange Background Version)
   ======================================================== */

.welcome-section {
  padding: 140px 0 100px;
  /* ✅ 背景をD旅館オレンジに変更 */
  background-color: #eb5a0f;
  position: relative;
  z-index: 10;
}

/* ✅ ドットの色を「白」に変更（オレンジ背景で見えるように） */
.welcome-section::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 50%;
  margin: 0 auto 50px;
}

/* ✅ タイトルの色を白に変更 */
.welcome-section .welcome-title {
  text-align: center;
  margin: 0 auto 60px;
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
}

/* ✅ 英語タイトルの色を少し薄い白に変更 */
.welcome-section .en-main-title {
  color: #ffffff;
  /* 白文字 */
}

/* ✅ 文章ブロックの色を白に変更 */
.welcome-section .welcome-text {
  max-width: 750px;
  margin: 0 auto 40px;
  text-align: center;
  line-height: 2.2;
}

.welcome-section .jp-text-block p {
  font-size: 20px;
  margin-bottom: 25px;
  color: #ffffff;
  /* 白文字 */
  font-weight: 500;
}

.welcome-section .en-text-block p {
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 20px;
  color: #ffffff;
  /* 白文字 */
  font-weight: 500;
}

/* --- ✅ 予約前ボタン：オレンジ背景用のデザイン --- */
.welcome-section .zen-pill-btn {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  min-width: 360px;
  padding: 22px 50px;
  border-radius: 100px;

  /* オレンジ背景で見えるように「白」の線と文字にする */
  border: 2px solid #ffffff;
  background-color: transparent;
  color: #ffffff !important;

  text-decoration: none !important;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* ホバーした時は「白」で塗りつぶして、文字を「オレンジ」にする */
.welcome-section .zen-pill-btn:hover {
  color: #eb5a0f !important;
  transform: translateY(-5px);
}

.welcome-section .zen-pill-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  /* ホバー背景は白 */
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.welcome-section .zen-pill-btn:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}


/* ========================================================
   6. ROOMS SECTION (Left-Aligned & No Shadow)
   ======================================================== */
.rooms-section {
  padding: 120px 0;
  background-color: #ffffff;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 50px;
  width: 100%;
}

@media (max-width: 900px) {
  .rooms-grid {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }
}

/* --- カード全体のデザイン --- */
.room-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  /* 影は一切なし */
  box-shadow: none !important;
  border: 1px solid #eeeeee;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  /* 動きは「浮き上がり」ではなく「線の色変化」に集中 */
  transition: border-color 0.4s ease, transform 0.4s ease;
}

/* カード内の画像設定 */
.rooms-section .room-card .room-image {
  height: 250px !important;
  width: 100% !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  display: block !important;
  transition: transform 0.6s ease;
  overflow: hidden;
}

/* 情報エリア：左揃え */
.room-info {
  padding: 25px;
  text-align: left !important;
}

.room-type-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 20px;
  line-height: 1.3;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: #000000;
  transition: color 0.3s ease;
}

.en-room-subtitle {
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: #eb5a0f;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.room-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #333333;
  font-weight: 400;
  margin-bottom: 15px;
}

.room-info .en-sub {
  display: block;
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 0.8rem;
  color: #888888;
  line-height: 1.6;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
  text-align: left !important;
}

/* --- ホバーアクション（影なし・フラットデザイン） --- */
.room-card:hover {
  /* 上に跳ねる動きを少し抑えて、より上品に */
  transform: translateY(-5px);
  /* 影は出さずに、境界線の色だけをオレンジにする */
  border-color: #eb5a0f;
}

.room-card:hover .room-type-title {
  color: #eb5a0f;
}

/* 画像のズームは「奥行き」を感じさせるので残していますが、不要なら消せます */
.room-card:hover .room-image {
  transform: scale(1.05);
}

/* スマホ対応 */
@media (max-width: 900px) {
  .rooms-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ========================================================
   7. LOCATION & ACCESS SECTION
   ======================================================== */
.location-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.location-vertical-stack {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.map-container-centered {
  width: 100%;
  height: 450px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 50px;
  filter: grayscale(100%);
  border: 1px solid #eee;
}

.map-container-centered iframe {
  width: 100%;
  height: 100%;
}

.access-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  text-align: left;
}

.access-item {
  margin-bottom: 35px;
}

.access-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.en-label {
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 0.75rem;
  color: #eb5a0f;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.access-text {
  font-size: 15px;
  color: #000000;
  line-height: 1.6;
}

.access-tip {
  margin-top: 15px;
  padding: 12px;
  background-color: #f9f9f9;
  border-left: 3px solid #eb5a0f;
}

.tip-jp {
  font-size: 15px;
  color: #000000;
  margin-bottom: 4px;
}

.en-tip-sub {
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 0.75rem;
  color: #888888;
  font-weight: 400;
}

.hubs-container {
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 4px;
}

.hub-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

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

.hub-jp {
  font-weight: 700;
  color: #000;
}

.hub-time {
  color: #eb5a0f;
  font-weight: 700;
  font-family: 'Kumbh Sans', sans-serif;
}

/* ========================================================
   8. AMENITIES SECTION - SMART SLIDER
   ======================================================== */

.material-icons,
.material-symbols-outlined {
  font-family: 'Material Icons', 'Material Symbols Outlined' !important;
}

.amenities-section {
  padding: 100px 0;
  background-color: #f7f7f7;
}

/* Outer Wrapper for positioning arrows */
.carousel-outer-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

/* The Scrolling Track */
.amenities-scroll-container {
  display: flex !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 20px;
  padding: 20px 0 30px 0;
  width: 100%;

  /* Hide the scrollbar for a cleaner look */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

/* The Cards */
.amenity-card {
  flex: 0 0 320px;
  /* サイズはShigeruさんの指定をキープ */
  background: #ffffff !important;
  padding: 40px 25px;
  text-align: center;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-snap-align: center;
  transition: all 0.4s ease;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);

  /* ✨ ここを追加：下線を消し、文字色が変わるのを防ぐ */
  text-decoration: none !important;
  color: inherit !important;
}

/* ✨ マウスを乗せた時の動き（ホバーエフェクト） */
.amenity-card:hover {
  border-color: #eb5a0f;
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(235, 90, 15, 0.1);
}

/* アイコンやタイトルのホバー時の色変化 */
.amenity-card:hover .amenity-label {
  color: #eb5a0f;
}

.amenity-card:hover .amenity-icon {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.amenity-icon {
  font-size: 3.2rem;
  margin-bottom: 25px;
}

.amenity-label {
  font-size: 1.25rem;
  font-weight: 700;
  color: #000000;
  line-height: 1.3;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.amenity-label .en-label {
  font-size: 0.85rem;
  color: #eb5a0f;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 5px;
}

.amenity-text {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #333333;
}

.en-desc {
  display: block;
  font-size: 0.75rem;
  color: #666666;
  margin-top: 8px;
}

/* More Button */
.more-card {
  background-color: #ffffff !important;
  justify-content: center;
}

.small-more-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 15px !important;
  padding: 8px 24px !important;
  background-color: #eb5a0f !important;
  color: #ffffff !important;
  text-decoration: none !important;
  border-radius: 20px !important;
  font-weight: bold !important;
  font-size: 13px !important;
  /* 全体の変化を滑らかにする */
  transition: background-color 0.3s ease !important;
}

/* 矢印（→）の初期設定 */
.small-more-btn .btn-arrow {
  display: inline-block !important;
  margin-left: 6px !important;
  /* 矢印の動きを滑らかにする */
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

/* ✨ マウスを乗せた時（ホバー）の動き ✨ */
.small-more-btn:hover {
  background-color: #cc4d0a !important;
  /* 背景を少しだけ濃いオレンジにする */
}

.small-more-btn:hover .btn-arrow {
  transform: translateX(6px) !important;
  /* 矢印だけが右に6pxスライドする */
}

/* --- Arrows --- */
/* --- THE ARROWS (D Ryokan Orange) --- */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: #eb5a0f;
  border: 2px solid #eb5a0f !important;
  /* Signature Orange Border */
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF !important;
  /* Signature Orange Arrow */
  transition: all 0.3s ease;
}

/* Hover effect: Fills with orange, arrow becomes white */
.slider-arrow:hover {
  background: #eb5a0f !important;
  color: #ffffff !important;
  transform: translateY(-50%) scale(1.05);
  /* Slight pop effect */
}

.slider-arrow.prev {
  left: -22px;
}

.slider-arrow.next {
  right: -22px;
}

/* --- DRAG TO SCROLL STYLES --- */
.amenities-scroll-container {
  cursor: grab;
  /* Shows a "hand" cursor to indicate it can be dragged */
}

.amenities-scroll-container:active {
  cursor: grabbing;
  /* Shows a "closed hand" when dragging */
}

/* Prevent text from accidentally highlighting while dragging */
.amenity-card {
  -webkit-user-select: none;
  user-select: none;
}

/* ドットの容器 */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  height: 20px;
  /* 高さを確保 */
}

/* ドットの見た目 */
.dot {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  /* 普段の色 */
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

/* アクティブなドット（旅館のオレンジに！） */
.dot.active {
  background-color: #eb5a0f;
  transform: scale(1.2);
}

/* ========================================================
   📱 Mobile Adjustments (Arrows Visible & Adjusted)
   ======================================================== */
@media (max-width: 1024px) {
  .amenity-card {
    flex: 0 0 280px !important;
  }

  /* 1. Force the arrows to show on mobile */
  .slider-arrow {
    display: flex !important;
    /* Make them slightly smaller on mobile so they don't block too much text */
    width: 38px !important;
    height: 38px !important;
  }

  /* 2. Pull the arrows inside the screen bounds so they don't get cut off */
  .slider-arrow.prev {
    left: 5px !important;
  }

  .slider-arrow.next {
    right: 5px !important;
  }
}

/* ========================================================
   9. INQUIRY SECTION
   ======================================================== */
.inquiry-section {
  padding: 100px 0;
  background-color: #ffffff;
  width: 100%;
  display: flex;
  justify-content: center;
}

.inquiry-box {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  padding: 60px 40px;
  border: 1px solid #eeeeee;
  border-radius: 4px;
  background-color: #fafafa;
  text-align: center;
}

.inquiry-intro {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  line-height: 2.0 !important;
  margin-bottom: 15px !important;
}

.inquiry-en-intro {
  font-size: 0.75rem;
  color: #767676;
  letter-spacing: 0.05em;
  line-height: 1.6;
  margin-bottom: 40px !important;
}

/* --- Actions Container --- */
.inquiry-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  /* Space between the FAQ button and the contact row */
}

/* --- NEW: THE HORIZONTAL WRAPPER --- */
.contact-links-group {
  display: flex;
  flex-direction: row;
  /* Forces them onto one line */
  justify-content: center;
  align-items: center;
  gap: 40px;
  /* Space between Email and Tel */
  width: 100%;
  flex-wrap: wrap;
  /* Stacks them safely if the screen is too small */
}

/* --- THE ULTRA-SMOOTH LIQUID PILL --- */

.footer-book-btn,
.faq-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: 900;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.15em;

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

  /* THE SMOOTHNESS SECRET: */
  /* We tell the browser exactly what to animate and use a high-end curve */
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.3s ease,
    border-color 0.3s ease;

  /* This prepares the GPU for the movement so it doesn't "lag" */
  will-change: transform;
}

/* THE LIQUID (Paint) */
.footer-book-btn::before,
.faq-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #eb5a0f;

  /* Faster fill to match the smooth lift */
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

/* THE SMOOTH HOVER */
.footer-book-btn:hover,
.faq-btn:hover {
  color: #000000 !important;

  /* A subtle 4px lift that feels more "intentional" and smooth */
  transform: translateY(-4px);

  box-shadow: none !important;
}

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

/* THE ARROW (Also smoothed out) */
.footer-book-btn .arrow,
.faq-btn .arrow {
  display: inline-block;
  margin-left: 10px;
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Mobile: Ensuring it stays readable on smaller screens */
@media (max-width: 768px) {
  .faq-btn {
    padding: 14px 30px;
    font-size: 0.8rem;
    width: auto;
    /* Keeps it centered as a pill */
  }
}

/* --- Unified Contact Rows (Email & TEL) --- */
.inquiry-contact-row {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #333;
}

.contact-label {
  font-size: 0.65rem;
  font-weight: 800;
  color: #eb5a0f;
  margin-right: 12px;
  letter-spacing: 0.12em;
  line-height: 1;
}

.contact-link {
  color: #333;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid #ddd;
  transition: all 0.3s ease;
  padding-bottom: 2px;
}

.contact-link:hover {
  color: #eb5a0f;
  border-bottom-color: #eb5a0f;
}

/* Mobile Fix: Stack them when the screen gets narrow */
@media (max-width: 600px) {
  .contact-links-group {
    flex-direction: column;
    gap: 20px;
  }
}

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

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

.giant-logo {
  /* ✅ ポイント：vw（画面幅）を基準にすることで、ミリ単位でサイズが変わります */
  font-size: 8vw !important;

  /* 最小サイズと最大サイズを制限して、崩れを防止 */
  font-size: clamp(3.5rem, 8vw, 9rem) !important;

  font-weight: 900;
  line-height: 0.85;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #eb5a0f;
  margin: 0;
  text-decoration: none;
}


.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;
}


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

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

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

html {
  scroll-behavior: smooth;
  /* ゆっくり動くようになります */
  scroll-padding-top: 100px;
  /* メニューバーの高さ分だけ、止まる位置を下げます */
}

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

}

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

/* ========================================================
   📰 NEW NEWS SECTION (Matched with Rooms Style - Flat Design)
   ======================================================== */
.top-news-section {
  padding: 120px 0;
  background-color: #fafafa;
  /* Minimal grey tint to create section blocks */
  width: 100%;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
  width: 100%;
}

/* --- News Card Wrapper (No Shadow, Left-Aligned) --- */
.news-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  box-shadow: none !important;
  /* Completely clean, zero shadows */
  border: 1px solid #eeeeee;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.4s ease, transform 0.4s ease;
  position: relative;
}

/* Image container with zooming overflow protection */
.news-img-container {
  width: 100%;
  height: 250px;
  /* Perfectly matched with room image height */
  overflow: hidden;
  position: relative;
}

/* Card Image Styles with continuous zoom effect */
.news-img-wrapper {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.6s ease;
}

/* News Badges style */
.news-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #eb5a0f;
  color: #fff;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: bold;
  border-radius: 4px;
  z-index: 2;
}

/* Information Container: Strictly Left-Aligned */
.news-card-content {
  padding: 25px;
  text-align: left !important;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Date font match with Kumbh Sans */
.news-date {
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 0.85rem;
  color: #aaa;
  margin-bottom: 12px;
  text-align: left;
}

/* Post title structure matching room-type-title */
.news-card-content h3 {
  font-size: 1.4rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 800;
  color: #000000;
  line-height: 1.4;
  margin-bottom: 15px;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Snippet Summary matching room-desc */
.news-card-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #333333;
  font-weight: 400;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Read More Button matching the en-sub line styling */
.read-more {
  display: block;
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: #eb5a0f;
  letter-spacing: 0.1em;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
  text-align: left !important;
}

/* --- Hover Actions (Flat & Pure Borders) --- */
.news-card:hover {
  transform: translateY(-5px);
  /* Gentle float up */
  border-color: #eb5a0f;
  /* Turn frame border into D-Ryokan Orange */
}

.news-card:hover .news-card-content h3 {
  color: #eb5a0f;
  /* Turn text title into D-Ryokan Orange */
}

.news-card:hover .news-img-wrapper {
  transform: scale(1.05);
  /* Elegant image magnification */
}

/* Responsive updates for tablet and phone */
@media (max-width: 900px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ========================================================
   🏷️ MATCHED VIEW ALL NEWS BUTTON (Stacked & Centered)
   ======================================================== */
/* Wrapper box to center the button section */
.top-news-section .pre-booking-notice {
  margin-top: 50px;
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Button setup: Stack elements vertically and center them alignment middle */
.top-news-section .zen-pill-btn {
  display: inline-flex;
  flex-direction: column;
  /* Stack JP on top, EN on bottom */
  align-items: center;
  /* Center both text lines horizontally */
  justify-content: center;
  background-color: transparent;
  border: none;
  padding: 10px 0;
  text-decoration: none;
  cursor: pointer;
}

/* 1. JP Text (Strictly on TOP & Centered) */
.top-news-section .zen-pill-btn .btn-jp {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #666666;
  margin-right: 0;
  /* Clear the previous right margin */
  /* Create an elegant gap between JP and EN lines */
  letter-spacing: 0.05em;
  text-align: center;
  transition: color 0.3s ease;
}

/* 2. EN Text (Strictly on BOTTOM & Centered) */
.top-news-section .zen-pill-btn .btn-en {
  font-family: 'Kumbh Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  color: #000000;
  letter-spacing: 0.15em;
  text-align: center;
  position: relative;
  transition: color 0.3s ease;
}

/* Create the elegant bottom border line under the English text */
.top-news-section .zen-pill-btn .btn-en::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #eb5a0f;
  /* D-Ryokan signature orange */
  transform: scaleX(0.7);
  /* Slightly shorter standard underline style */
  transform-origin: bottom center;
  /* Scale outward from middle */
  transition: transform 0.4s ease, background-color 0.4s ease;
}

/* --- Hover States (Synchronized color changing & line stretching) --- */
.top-news-section .zen-pill-btn:hover .btn-jp {
  color: #eb5a0f;
  /* Sync top text to D-Ryokan Orange */
}

.top-news-section .zen-pill-btn:hover .btn-en {
  color: #eb5a0f;
  /* Sync bottom text to D-Ryokan Orange */
}

/* Stretch the underline to 100% full width smoothly starting from middle */
.top-news-section .zen-pill-btn:hover .btn-en::after {
  transform: scaleX(1);
  background-color: #eb5a0f;
}

/* ========================================================
   🏮 D-RYOKAN AI CONCIERGE PRESTIGE STYLE SHEET (CSS)
   ======================================================== */

#ryokan-bot-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999999;
  font-family: 'Kumbh Sans', 'Noto Sans JP', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

/* 💬 FLOATING NOTIFICATION HINT BUBBLE & BOUNCE */
#ryokan-bot-bubble-hint {
  background: #ffffff;
  color: #333333;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  border: 1px solid #eeeeee;
  position: relative;
  white-space: nowrap;
  animation: botHintBounce 2s infinite ease-in-out;
  letter-spacing: 0.02em;
}

.bot-bubble-arrow {
  position: absolute;
  bottom: -6px;
  right: 24px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #ffffff;
}

/* 🔘 MAIN CIRCULAR FLOATING TOGGLE (PRECISE SOLID WHITE LINING) */
#ryokan-bot-toggle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #eb5a0f;
  color: #ffffff;
  border: 2px solid #ffffff;
  cursor: pointer;
  /* 這裡修正了：把之前的錯誤代碼刪除，改用標準的 rgba */
  box-shadow: 0 6px 20px #333333(235, 90, 15, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.2s ease;
  padding: 0;
}

#ryokan-bot-toggle:hover {
  background-color: #d44f0b;
}

.bot-icon-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

/* 📦 EXPANDED CHAT WINDOW BACKBONE */
#ryokan-bot-window {
  display: none;
  width: 460px;
  height: 720px;
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  flex-direction: column;
  position: absolute;
  bottom: 85px;
  right: 0;
  overflow: hidden;
  transition: all 0.2s ease;
}

/* TOP MATTE BLACK HEADER CONTAINER */
.bot-header {
  background: #000000;
  color: #ffffff;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bot-title-main {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.bot-title-sub {
  font-size: 13px;
  opacity: 0.7;
  margin-top: 4px;
  font-family: 'Kumbh Sans', sans-serif;
}

.bot-close-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
  margin-right: 8px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.bot-close-btn:hover {
  opacity: 1;
}

/* INTERACTIVE MESSAGE HISTORY STREAM */
#ryokan-bot-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background: #fcfcfc;
  font-size: 15px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* TOP ANCHORED DISCLAIMER BOARD */
.bot-static-note {
  font-size: 13px;
  color: #777777;
  text-align: center;
  line-height: 1.6;
  padding: 12px 14px;
  background: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  font-family: 'Kumbh Sans', 'Noto Sans JP', sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.note-line-1 {
  font-size: 13px;
  color: #555555;
  display: block;
  font-weight: 500;
  margin-bottom: 2px;
}

.note-line-2 {
  font-size: 13px;
  color: #999999;
  display: block;
}

.bot-static-note a {
  color: #eb5a0f;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 1px solid rgba(235, 90, 15, 0.3);
}

.bot-welcome-msg {
  align-self: flex-start;
  background: #eeeeee;
  color: #000000;
  padding: 12px 18px;
  border-radius: 18px 18px 18px 4px;
  max-width: 75%;
  word-break: break-word;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

/* 📥 CONCIERGE INPUT DECK */
.bot-input-area {
  padding: 16px;
  border-top: 1px solid #eeeeee;
  background: #ffffff;
  display: flex;
  gap: 10px;
  align-items: center;
}

#ryokan-bot-input {
  flex: 1;
  padding: 12px 20px;
  border: 1px solid #dddddd;
  border-radius: 24px;
  font-size: 14px;
  outline: none;
  font-family: sans-serif;
  background: #ffffff;
}

.bot-send-btn {
  background: #eb5a0f;
  color: #ffffff;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(235, 90, 15, 0.15);
}

.bot-send-btn i {
  transform: translate(-1px, 0px);
  /* Hardware offset compensation for visual balance */
}

.bot-send-btn:hover {
  background-color: #d44f0b;
}

/* MINI FLOATING SPRING ANIMATION FOR HINT MESSAGE */
@keyframes botHintBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* 📱 Ultra-Premium Mobile Optimization */
@media (max-width: 480px) {
  #ryokan-bot-window {
    width: calc(100vw - 40px) !important;
    /* 確保左右保留 20px 禪風留白，不卡死邊界 */
    height: 80vh !important;
    /* 高度變為手機螢幕嘅 80%，完美避開鍵盤 */
    bottom: 80px !important;
    right: -10px !important;
    /* 完美對齊右下角粒 🤖 掣 */
  }
}