/* ============================================================
   enhance.css — 元デザインを保ったまま、JSで動きを足すための追加スタイル
   ============================================================ */

/* ===== ★ 白背景を統一 #F2EFE8 に置換 ===== */
:root {
  --paper: #F2EFE8;
  --paper-soft: #ECE7DA; /* 微妙に深い影色 */
}

/* ============================================================
   Japanese rooms / route: blue neumorphism concept
   ============================================================ */
body.jp-neumo-page {
  --jp-blue: #d7e9f7;
  --jp-blue-1: #e5f4ff;
  --jp-blue-2: #d6ebfa;
  --jp-blue-3: #cbe2f2;
  --jp-blue-4: #dceffc;
  --jp-text: #18344a;
  --jp-neumo-light: rgba(255, 255, 255, .86);
  --jp-neumo-dark: rgba(82, 128, 160, .32);
  background: #d7e9f7 !important;
  color: var(--jp-text);
}

body.jp-neumo-page .site-header {
  background: rgba(104, 154, 188, .9) !important;
  box-shadow: 0 10px 28px rgba(56, 103, 137, .24);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.jp-neumo-page .site-header__cta,
body.jp-neumo-page .floating-book {
  background: linear-gradient(145deg, #c9aa72 0%, #b89968 48%, #9f7f4b 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, .32) !important;
  box-shadow:
    8px 8px 18px rgba(108, 82, 38, .28),
    -6px -6px 16px rgba(255, 255, 255, .38),
    inset 1px 1px 1px rgba(255, 255, 255, .35) !important;
}

body.jp-neumo-page .site-header__cta:hover,
body.jp-neumo-page .floating-book:hover {
  background: linear-gradient(145deg, #d5bb87 0%, #b89968 46%, #8f7040 100%) !important;
  color: #ffffff !important;
}

body.jp-neumo-page .page-header--with-image {
  min-height: calc(100svh - 56px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1d2c4a !important;
  border-bottom: 0;
}

body.jp-neumo-page .page-header__bg::after {
  background: linear-gradient(135deg, rgba(29, 44, 74, .84), rgba(29, 44, 74, .58)) !important;
}

body.jp-neumo-page .page-header__title {
  color: #ffffff;
}

body.jp-neumo-page .page-header__en {
  color: #d5bb87 !important;
}

body.rooms-page .rooms-layout,
body.route-page .route,
body.route-page .around,
body.jp-neumo-page .back-link {
  max-width: none;
  background: transparent !important;
}

body.rooms-page .rooms-layout {
  background:
    radial-gradient(circle at 18% 12%, rgba(255,255,255,.42), transparent 32%),
    linear-gradient(145deg, var(--jp-blue-1) 0%, var(--jp-blue) 100%) !important;
}

body.rooms-page .rooms-layout__main > .rooms,
body.rooms-page .amenity-section,
body.route-page .route,
body.route-page .around,
body.jp-neumo-page .back-link {
  min-height: calc(100svh - 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.rooms-page .rooms-layout__main > .rooms {
  background:
    radial-gradient(circle at 85% 16%, rgba(255,255,255,.38), transparent 32%),
    linear-gradient(145deg, #d9ecfa 0%, var(--jp-blue-2) 100%) !important;
}

body.rooms-page .amenity-section:nth-of-type(2) {
  background:
    radial-gradient(circle at 15% 78%, rgba(255,255,255,.36), transparent 32%),
    linear-gradient(145deg, #d3e8f7 0%, var(--jp-blue-3) 100%) !important;
}

body.rooms-page .amenity-section:nth-of-type(3) {
  background:
    radial-gradient(circle at 88% 78%, rgba(255,255,255,.42), transparent 34%),
    linear-gradient(145deg, #e2f3ff 0%, var(--jp-blue-4) 100%) !important;
}

body.route-page .route {
  background:
    radial-gradient(circle at 84% 14%, rgba(255,255,255,.36), transparent 32%),
    linear-gradient(145deg, #d9ecfa 0%, var(--jp-blue-2) 100%) !important;
}

body.route-page .around {
  background:
    radial-gradient(circle at 16% 82%, rgba(255,255,255,.38), transparent 32%),
    linear-gradient(145deg, #d3e8f7 0%, var(--jp-blue-3) 100%) !important;
}

body.jp-neumo-page .back-link {
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,.36), transparent 30%),
    linear-gradient(145deg, #dceffc 0%, #c8dfef 100%) !important;
}

body.rooms-page .rooms-layout__aside {
  align-self: start;
}

body.jp-neumo-page .facility-list,
body.jp-neumo-page .room-block,
body.jp-neumo-page .amenity-item,
body.jp-neumo-page .route-step,
body.jp-neumo-page .around__card,
body.jp-neumo-page .back-link a {
  background: rgba(215, 233, 247, .86) !important;
  border: 1px solid rgba(255, 255, 255, .5) !important;
  border-radius: 18px !important;
  box-shadow:
    16px 16px 32px var(--jp-neumo-dark),
    -16px -16px 32px var(--jp-neumo-light) !important;
}

body.jp-neumo-page .room-block {
  padding: 28px;
}

body.jp-neumo-page .route-step__num,
body.jp-neumo-page .facility-list__icon {
  background: linear-gradient(145deg, #c9aa72 0%, #b89968 48%, #9f7f4b 100%) !important;
  color: #ffffff !important;
  box-shadow:
    6px 6px 13px rgba(108, 82, 38, .25),
    -5px -5px 12px rgba(255, 255, 255, .38) !important;
}

body.jp-neumo-page .section__title,
body.jp-neumo-page .amenity-section__title,
body.jp-neumo-page .room-block__text h3,
body.jp-neumo-page .route-step h3,
body.jp-neumo-page .around__card h3 {
  color: var(--jp-text) !important;
}

body.jp-neumo-page .room-block__text p,
body.jp-neumo-page .route-step p,
body.jp-neumo-page .around__card p {
  color: rgba(24, 52, 74, .78) !important;
}

@media (max-width: 900px) {
  body.jp-neumo-page .page-header--with-image,
  body.rooms-page .rooms-layout__main > .rooms,
  body.rooms-page .amenity-section,
  body.route-page .route,
  body.route-page .around,
  body.jp-neumo-page .back-link {
    min-height: calc(100svh - 84px);
  }
}

@media (max-width: 720px) {
  body.jp-neumo-page .page-header--with-image,
  body.rooms-page .rooms-layout__main > .rooms,
  body.rooms-page .amenity-section,
  body.route-page .route,
  body.route-page .around,
  body.jp-neumo-page .back-link {
    justify-content: flex-start;
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  body.jp-neumo-page .room-block,
  body.jp-neumo-page .amenity-item,
  body.jp-neumo-page .route-step,
  body.jp-neumo-page .around__card,
  body.jp-neumo-page .back-link a {
    border-radius: 14px !important;
    box-shadow:
      10px 10px 22px var(--jp-neumo-dark),
      -10px -10px 22px var(--jp-neumo-light) !important;
  }
}

/* ============================================================
   Home page only: blue neumorphism theme
   ============================================================ */
body.home-page {
  --home-blue: #d7e9f7;
  --home-blue-soft: #e7f3fb;
  --home-blue-deep: #6d9fc0;
  --home-blue-text: #18344a;
  --home-neumo-light: rgba(255, 255, 255, .88);
  --home-neumo-dark: rgba(85, 132, 164, .32);
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, .62) 0 18%, transparent 34%),
    linear-gradient(145deg, #e6f4ff 0%, var(--home-blue) 45%, #bdd8ec 100%) !important;
  color: var(--home-blue-text);
}

body.home-page main {
  background: transparent;
}

body.home-page .concept.split-section,
body.home-page .features.split-section,
body.home-page .recommend.split-section,
body.home-page .access.split-section,
body.home-page .more-links,
body.home-page .booking {
  background: transparent !important;
}

body.home-page .split-section {
  border-top: 1px solid rgba(255, 255, 255, .36);
}

body.home-page .concept.split-section + .features.split-section,
body.home-page .features.split-section + .recommend.split-section,
body.home-page .recommend.split-section + .access.split-section {
  border-top-color: rgba(255, 255, 255, .48);
}

body.home-page .split-section__sub,
body.home-page .split-section__lead,
body.home-page .concept__text,
body.home-page .recommend-card p,
body.home-page .feature-card__body p,
body.home-page .access__row,
body.home-page .access__table,
body.home-page .booking__desc {
  color: rgba(24, 52, 74, .78);
}

body.home-page .hero.hero--split,
body.home-page .hero--split .hero__image,
body.home-page .hero--split .hero__text,
body.home-page .hero--split .hero__image img {
  background: #cfe6f7 !important;
}

body.home-page .hero--split .hero__text {
  color: var(--home-blue-text);
  box-shadow: inset 16px 16px 34px rgba(85, 132, 164, .28), inset -16px -16px 34px rgba(255, 255, 255, .45);
}

body.home-page .hero__scroll span {
  background: rgba(24, 52, 74, .24);
}

body.home-page .feature-card,
body.home-page .recommend-card,
body.home-page .access__photo,
body.home-page .booking__inner,
body.home-page .more-link {
  background: var(--home-blue) !important;
  border: 1px solid rgba(255, 255, 255, .48) !important;
  border-radius: 18px;
  box-shadow:
    16px 16px 32px var(--home-neumo-dark),
    -16px -16px 32px var(--home-neumo-light) !important;
}

body.home-page .feature-card:hover,
body.home-page .recommend-card:hover,
body.home-page .access__photo:hover,
body.home-page .more-link:hover {
  box-shadow:
    10px 10px 22px rgba(85, 132, 164, .34),
    -10px -10px 22px rgba(255, 255, 255, .9),
    inset 1px 1px 2px rgba(255, 255, 255, .5) !important;
}

body.home-page .feature-card__body,
body.home-page .access__photo figcaption {
  background: var(--home-blue) !important;
}

body.home-page .recommend-card__icon,
body.home-page .booking__cta,
body.home-page .site-header__cta {
  background: linear-gradient(145deg, #8dbedf, #5d95bc) !important;
  box-shadow:
    7px 7px 14px rgba(85, 132, 164, .35),
    -7px -7px 14px rgba(255, 255, 255, .68) !important;
}

body.home-page .site-header {
  background: rgba(104, 154, 188, .9) !important;
  box-shadow: 0 10px 28px rgba(56, 103, 137, .24);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.home-page .booking__inner {
  color: var(--home-blue-text);
}

@media (max-width: 640px) {
  body.home-page .feature-card,
  body.home-page .recommend-card,
  body.home-page .access__photo,
  body.home-page .booking__inner,
  body.home-page .more-link {
    border-radius: 14px;
    box-shadow:
      10px 10px 22px var(--home-neumo-dark),
      -10px -10px 22px var(--home-neumo-light) !important;
  }
}

/* ============================================================
   Home page final override: gold reservation buttons
   ============================================================ */
body.home-page .site-header__cta,
body.home-page .booking__cta,
body.home-page .floating-book {
  background: linear-gradient(145deg, #c9aa72 0%, #b89968 48%, #9f7f4b 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, .32) !important;
  box-shadow:
    8px 8px 18px rgba(108, 82, 38, .28),
    -6px -6px 16px rgba(255, 255, 255, .38),
    inset 1px 1px 1px rgba(255, 255, 255, .35) !important;
}

body.home-page .site-header__cta:hover,
body.home-page .booking__cta:hover,
body.home-page .floating-book:hover {
  background: linear-gradient(145deg, #d5bb87 0%, #b89968 46%, #8f7040 100%) !important;
  color: #ffffff !important;
  box-shadow:
    10px 10px 22px rgba(108, 82, 38, .34),
    -7px -7px 18px rgba(255, 255, 255, .42),
    inset 1px 1px 2px rgba(255, 255, 255, .42) !important;
}

body.home-page .site-header__cta::before,
body.home-page .booking__cta::before {
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .42) 50%, transparent 100%) !important;
}
body { background: #F2EFE8 !important; }

/* 白だったセクション・カード類を #F2EFE8 に */
.concept.split-section,
.recommend.split-section,
.feature-card,
.recommend-card,
.around__card,
.amenity-item,
.access__photo,
.access__photo figcaption,
.route .route-step,
.facility-list,
.room-block,
.rooms-layout__main,
.amenity-section {
  background: #F2EFE8 !important;
}

/* hero, page-headerなど画像背景には影響させない（背景透明 or 画像のため） */

/* ===== 改行ヘルパー：括弧やフレーズを途中で切らない ===== */
.nowrap { white-space: nowrap; }

/* テキスト全般：日本語は単語境界で、英語は語境界で改行 */
.feature-card__body h3,
.recommend-card h3,
.around__card h3,
.room-block__text h3,
.route-step h3,
.access__row dd,
.access__table td,
.facility-list__label,
.recommend-card p,
.around__card p,
.room-block__text p,
.feature-card__body p {
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
}

/* ===== 0. アンカーリンク移動時の固定ヘッダー分のオフセット ===== */
html {
  scroll-padding-top: 90px;
  scroll-behavior: smooth;
}
@media (max-width: 720px) {
  html { scroll-padding-top: 180px; } /* スマホはヘッダーが3段に折り返すため広めに */
}

/* ===== 1. ページローダー ===== */
.page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: #1d2c4a;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  transition: opacity .8s ease, visibility .8s ease;
}
.page-loader.is-hidden { opacity: 0; visibility: hidden; }
.page-loader__logo {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  color: #ede3cd;
  font-size: 18px; letter-spacing: .25em;
  margin-bottom: 24px;
  opacity: 0;
  animation: loaderFadeIn 1s ease forwards;
}
.page-loader__bar {
  width: 200px; height: 1px;
  background: rgba(237, 227, 205, 0.2);
  position: relative; overflow: hidden;
}
.page-loader__bar::after {
  content: '';
  position: absolute; top: 0; left: 0;
  height: 100%; width: 30%;
  background: #b89968;
  animation: loaderSlide 1.4s ease-in-out infinite;
}
@keyframes loaderFadeIn {
  to { opacity: 1; }
}
@keyframes loaderSlide {
  0% { left: -30%; }
  100% { left: 100%; }
}

/* ===== 2. スクロール進捗バー ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0;
  background: linear-gradient(90deg, #b89968 0%, #d4b97a 100%);
  z-index: 1000;
  transition: width .1s linear;
  box-shadow: 0 0 8px rgba(184, 153, 104, 0.5);
}

/* ===== 3. ヘッダーのスクロール変化 ===== */
.site-header {
  transition: padding .35s ease, background .35s ease, box-shadow .35s ease !important;
}
.site-header.is-scrolled {
  box-shadow: 0 2px 16px rgba(29, 44, 74, 0.18);
}

/* ===== 4. フローティング予約ボタン（スクロール後に出現） ===== */
.floating-book {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 100;
  background: #b89968;
  color: #ffffff;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .12em;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(184, 153, 104, 0.4);
  display: flex; align-items: center; gap: 10px;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
  transition: opacity .4s ease, transform .4s cubic-bezier(.22,.61,.36,1), background .3s ease;
}
.floating-book.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.floating-book:hover {
  background: #1d2c4a;
  transform: translateY(-2px) scale(1.05);
}
.floating-book::before {
  content: '';
  width: 8px; height: 8px;
  background: #F2EFE8;
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}

/* ===== 5. ライトボックス（画像クリックで拡大） ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(15, 20, 35, 0.92);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
  cursor: zoom-out;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.92);
  transition: transform .4s cubic-bezier(.22,.61,.36,1);
}
.lightbox.is-open .lightbox__img { transform: scale(1); }
.lightbox__caption {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  color: #ede3cd;
  font-size: 13px; letter-spacing: .15em;
  background: rgba(29, 44, 74, 0.7);
  padding: 8px 18px;
  border-radius: 4px;
}
.lightbox__close {
  position: absolute; top: 24px; right: 24px;
  width: 44px; height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(237, 227, 205, 0.3);
  border-radius: 50%;
  color: #ede3cd;
  font-size: 22px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, transform .25s ease;
}
.lightbox__close:hover {
  background: rgba(184, 153, 104, 0.3);
  transform: rotate(90deg);
}

/* ===== 6. クリック可能な画像にカーソルヒント ===== */
[data-zoomable] {
  cursor: zoom-in;
  position: relative;
}
[data-zoomable]::after {
  content: '⤢';
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  background: rgba(29, 44, 74, 0.7);
  color: #ede3cd;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  opacity: 0;
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
  z-index: 2;
}
[data-zoomable]:hover::after {
  opacity: 1;
  transform: scale(1.1);
}

/* ===== 7. カードのチルト用：transformの土台 ===== */
.feature-card,
.recommend-card,
.around__card {
  transition: transform .4s cubic-bezier(.22,.61,.36,1), box-shadow .4s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

/* ===== 8. ヒーロー画像のパララックス用 ===== */
.hero__image img {
  transition: transform .1s linear;
  will-change: transform;
}

/* ===== 9. 数字カウンター（hero__title-num）の出現 ===== */
.hero__title-num.is-counted {
  display: inline-block;
}

/* ===== 10. リビールのアップグレード（既存の.revealをよりリッチに） ===== */
.reveal {
  transition: opacity 1s cubic-bezier(.22,.61,.36,1),
              transform 1s cubic-bezier(.22,.61,.36,1) !important;
}

/* ===== 11. 「もう一押し」のスクロールヒント矢印アニメ ===== */
.hero__scroll {
  cursor: pointer;
  transition: opacity .4s ease;
}
.hero__scroll:hover { opacity: 0.7; }

/* ===== 12. 予約ボタンのキラリ光るホバー ===== */
.booking__cta,
.site-header__cta {
  position: relative;
  overflow: hidden;
}
.booking__cta::before,
.site-header__cta::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
  transition: left .7s cubic-bezier(.22,.61,.36,1);
  pointer-events: none;
}
.booking__cta:hover::before,
.site-header__cta:hover::before {
  left: 100%;
}

/* ===== モバイルでフローティングボタンを少し小さく ===== */
@media (max-width: 720px) {
  .floating-book { bottom: 16px; right: 16px; padding: 12px 18px; font-size: 12px; }
  .lightbox { padding: 16px; }
  .lightbox__close { top: 12px; right: 12px; width: 36px; height: 36px; }
  /* モバイルではチルトを無効化 */
  .feature-card,
  .recommend-card,
  .around__card { transform: none !important; }
}

/* ============================================================
   ★ 写真の角丸＋浮き出るエフェクト（index.html 全写真）
   ============================================================ */

/* ヒーロー画像 */
.hero__image {
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 30px 60px -20px rgba(29, 44, 74, 0.35),
    0 18px 36px -18px rgba(29, 44, 74, 0.25);
  transition: transform .6s cubic-bezier(.22,.61,.36,1), box-shadow .6s ease;
}
.hero__image:hover {
  transform: translateY(-6px);
  box-shadow:
    0 40px 80px -20px rgba(29, 44, 74, 0.45),
    0 22px 44px -18px rgba(29, 44, 74, 0.3);
}
.hero__image img { border-radius: 18px; }

/* EXPERIENCE 3カードの画像 */
.feature-card {
  border-radius: 16px;
  overflow: hidden;
  background: #F2EFE8;
  box-shadow:
    0 14px 30px -14px rgba(29, 44, 74, 0.25),
    0 6px 14px -6px rgba(29, 44, 74, 0.15);
  transition: transform .5s cubic-bezier(.22,.61,.36,1), box-shadow .5s ease;
}
.feature-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 30px 60px -20px rgba(29, 44, 74, 0.35),
    0 12px 24px -10px rgba(29, 44, 74, 0.22);
}
.feature-card__media {
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}
.feature-card__media img { border-radius: 0; }

/* RECOMMEND 6カード（写真は無いが、立体感を統一） */
.recommend-card {
  border-radius: 16px;
  background: #F2EFE8;
  box-shadow:
    0 10px 24px -12px rgba(29, 44, 74, 0.2),
    0 4px 10px -4px rgba(29, 44, 74, 0.12);
  transition: transform .5s cubic-bezier(.22,.61,.36,1), box-shadow .5s ease;
}
.recommend-card:hover {
  box-shadow:
    0 24px 50px -18px rgba(29, 44, 74, 0.32),
    0 10px 20px -8px rgba(29, 44, 74, 0.2);
}

/* アクセス：エントランス・駐車場の写真 */
.access__photo {
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 16px 32px -14px rgba(29, 44, 74, 0.3),
    0 6px 14px -6px rgba(29, 44, 74, 0.18);
  transition: transform .5s cubic-bezier(.22,.61,.36,1), box-shadow .5s ease;
  background: #F2EFE8;
}
.access__photo:hover {
  transform: translateY(-6px);
  box-shadow:
    0 28px 56px -18px rgba(29, 44, 74, 0.4),
    0 12px 24px -10px rgba(29, 44, 74, 0.25);
}
.access__photo img {
  border-radius: 14px 14px 0 0;
  display: block;
}
.access__photo figcaption {
  padding: 10px 14px;
  background: #F2EFE8;
  border-radius: 0 0 14px 14px;
}

/* room-block / amenity-item / route-step：写真がはっきり浮き出る立体感 */
.room-block__img,
.amenity-item img,
.route-step__img,
.route-step__img img {
  border-radius: 14px;
  overflow: hidden;
}

/* room-block画像 */
.room-block__img {
  box-shadow:
    0 24px 48px -16px rgba(29, 44, 74, 0.45),
    0 12px 24px -10px rgba(29, 44, 74, 0.25),
    0 2px 6px rgba(29, 44, 74, 0.08);
  transition: transform .5s cubic-bezier(.22,.61,.36,1), box-shadow .5s ease;
}
.room-block__img:hover {
  transform: translateY(-8px);
  box-shadow:
    0 36px 70px -18px rgba(29, 44, 74, 0.55),
    0 18px 36px -12px rgba(29, 44, 74, 0.35),
    0 4px 10px rgba(29, 44, 74, 0.1);
}

/* amenity-item：写真とキャプションを1つの統合カードに（feature-card風） */
.amenity-item {
  background: #F2EFE8;
  border-radius: 16px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  box-shadow:
    0 20px 40px -16px rgba(29, 44, 74, 0.38),
    0 10px 20px -8px rgba(29, 44, 74, 0.22),
    0 2px 4px rgba(29, 44, 74, 0.06);
  transition: transform .5s cubic-bezier(.22,.61,.36,1), box-shadow .5s ease;
  display: flex;
  flex-direction: column;
}
.amenity-item img {
  width: 100%;
  display: block;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.22,.61,.36,1);
}
.amenity-item figcaption {
  margin: 18px 18px 22px;
  padding: 4px 0 4px 14px;
  text-align: left;
  font-size: 15px;
  letter-spacing: .03em;
  color: #1d2c4a;
  font-weight: 600;
  border-left: 3px solid #b89968;
  /* 日本語の途中で不自然に切れないようにする */
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
}
.amenity-item:hover {
  transform: translateY(-10px);
  box-shadow:
    0 36px 70px -18px rgba(29, 44, 74, 0.5),
    0 18px 36px -10px rgba(29, 44, 74, 0.32),
    0 4px 8px rgba(29, 44, 74, 0.1);
}
.amenity-item:hover img { transform: scale(1.04); }

/* route-step画像 */
.route-step__img {
  box-shadow:
    0 22px 44px -16px rgba(29, 44, 74, 0.42),
    0 10px 22px -8px rgba(29, 44, 74, 0.25);
  transition: transform .5s cubic-bezier(.22,.61,.36,1), box-shadow .5s ease;
}
.route-step__img:hover {
  transform: translateY(-8px);
  box-shadow:
    0 34px 68px -18px rgba(29, 44, 74, 0.55),
    0 16px 32px -10px rgba(29, 44, 74, 0.35);
}

/* ヒーロー画像も影を一段強く */
.hero__image {
  box-shadow:
    0 36px 70px -22px rgba(29, 44, 74, 0.5),
    0 20px 40px -16px rgba(29, 44, 74, 0.3),
    0 4px 8px rgba(29, 44, 74, 0.08);
}
.hero__image:hover {
  box-shadow:
    0 50px 90px -22px rgba(29, 44, 74, 0.6),
    0 26px 52px -16px rgba(29, 44, 74, 0.38),
    0 6px 12px rgba(29, 44, 74, 0.12);
}

/* feature-card：影を強化 */
.feature-card {
  box-shadow:
    0 22px 44px -16px rgba(29, 44, 74, 0.35),
    0 10px 22px -8px rgba(29, 44, 74, 0.22),
    0 2px 4px rgba(29, 44, 74, 0.06);
}
.feature-card:hover {
  box-shadow:
    0 38px 76px -20px rgba(29, 44, 74, 0.5),
    0 18px 36px -10px rgba(29, 44, 74, 0.32),
    0 4px 8px rgba(29, 44, 74, 0.1);
}

/* access__photo：影を強化 */
.access__photo {
  box-shadow:
    0 24px 48px -18px rgba(29, 44, 74, 0.42),
    0 12px 24px -10px rgba(29, 44, 74, 0.25),
    0 2px 4px rgba(29, 44, 74, 0.08);
}
.access__photo:hover {
  box-shadow:
    0 38px 76px -20px rgba(29, 44, 74, 0.55),
    0 18px 36px -10px rgba(29, 44, 74, 0.35),
    0 4px 8px rgba(29, 44, 74, 0.1);
}

/* ============================================================
   ★ 1日満喫プラン（route）の順序アニメーション
   ============================================================ */

/* タイムライン線：各ステップの番号同士をつなぐ */
.route .route-step {
  position: relative;
  /* 上品なイージング：ease-out quart で落ち着いた減速 */
  transition:
    transform .9s cubic-bezier(.16, 1, .3, 1),
    box-shadow .9s cubic-bezier(.16, 1, .3, 1),
    border-color .7s ease,
    background-color .7s ease;
  border-radius: 14px;
  overflow: hidden;
  /* レンダリング最適化 */
  will-change: transform, box-shadow;
  backface-visibility: hidden;
}

/* ホバー：そっと浮き上がる */
.route .route-step:not(.is-active):hover {
  transform: translateY(-3px);
  box-shadow:
    0 12px 28px -10px rgba(29, 44, 74, 0.18),
    0 4px 10px -4px rgba(29, 44, 74, 0.1);
  border-color: rgba(184, 153, 104, 0.25);
}

/* 中の要素も静かに反応：画像とテキストにそれぞれ別の動き */
.route .route-step__img {
  transition: transform 1.2s cubic-bezier(.16, 1, .3, 1),
              filter .8s ease;
}
.route .route-step:hover .route-step__img,
.route .route-step.is-active .route-step__img {
  transform: scale(1.04);
}
.route .route-step h3 {
  transition: color .6s ease, transform .6s cubic-bezier(.16, 1, .3, 1);
}
.route .route-step:hover h3,
.route .route-step.is-active h3 {
  color: #1d2c4a;
}
.route .route-step h3,
.route .route-step p {
  transition: transform .7s cubic-bezier(.16, 1, .3, 1);
}
.route .route-step.is-active > div {
  transform: translateX(4px);
  transition: transform 1s cubic-bezier(.16, 1, .3, 1);
}
.route .route-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 50px;          /* 番号円（44px）の中心位置：route-stepのpadding-left 28 + 22 */
  top: 100%;
  width: 3px;
  height: 20px;        /* ステップ間 gap と一致 */
  background: var(--border, #e3ddd0);
  transform: translateX(-50%);
  transition: background .6s ease;
  border-radius: 2px;
  z-index: 0;
}
.route .route-step.is-passed:not(:last-child)::after,
.route .route-step.is-active:not(:last-child)::after {
  background: var(--accent, #b89968);
}

/* 番号円：基本のトランジションと位置調整 */
.route .route-step__num {
  position: relative;
  z-index: 2;
  transition:
    transform .5s cubic-bezier(.34, 1.56, .64, 1),
    box-shadow .5s ease,
    background .5s ease;
}

/* 通過済みのステップ：番号がゴールドで完了感 */
.route .route-step.is-passed .route-step__num {
  background: var(--accent, #b89968);
  box-shadow: 0 4px 12px -4px rgba(184, 153, 104, 0.6);
}

/* 現在地（画面中央付近）のステップ：脈打つ光輪＋拡大 */
.route .route-step.is-active .route-step__num {
  transform: scale(1.18);
  background: var(--accent, #b89968);
  animation: stepActivePulse 2s ease-in-out infinite;
}
@keyframes stepActivePulse {
  0%, 100% {
    box-shadow:
      0 0 0 0 rgba(184, 153, 104, 0.6),
      0 6px 16px -4px rgba(184, 153, 104, 0.5);
  }
  50% {
    box-shadow:
      0 0 0 14px rgba(184, 153, 104, 0),
      0 6px 16px -4px rgba(184, 153, 104, 0.5);
  }
}

/* 現在地のカード：上品に浮上＋ゆったり呼吸 */
.route .route-step.is-active {
  transform: translateX(8px) translateY(-4px);
  box-shadow:
    0 24px 48px -16px rgba(29, 44, 74, 0.28),
    0 12px 24px -10px rgba(29, 44, 74, 0.18),
    0 0 0 1px rgba(184, 153, 104, 0.15);
  border-color: rgba(184, 153, 104, 0.45);
  background: linear-gradient(135deg, #F2EFE8 0%, #EDE6D2 100%);
  animation: stepBreathe 4.5s ease-in-out infinite;
}
/* ゆったりと呼吸する微細な上下運動 */
@keyframes stepBreathe {
  0%, 100% {
    transform: translateX(8px) translateY(-4px);
  }
  50% {
    transform: translateX(8px) translateY(-7px);
  }
}

/* 通過済み：静かに後ろに下がる */
.route .route-step.is-passed {
  transform: translateX(0) translateY(0);
  opacity: 0.92;
  filter: saturate(0.95);
}

/* 未到達のステップは少し薄く（順序を強調） */
.route .route-step:not(.is-passed):not(.is-active) .route-step__num {
  opacity: 0.85;
}

/* スマホ：番号は36px、padding 18px → 中心は左から36px */
@media (max-width: 720px) {
  .route .route-step:not(:last-child)::after {
    left: 36px;
    height: 16px;
    width: 2px;
  }
  .route .route-step.is-active {
    transform: translateX(3px);
  }
}

/* ===== 開始時のシーケンシャル登場アニメーション =====
   .route-step が画面に入る際、リストの最初から順番にゆったり出現 */
.route .route-step.reveal {
  opacity: 0;
  transform: translateX(-40px) translateY(20px);
  /* 上品な減速カーブ */
  transition:
    opacity 1.2s cubic-bezier(.16, 1, .3, 1),
    transform 1.2s cubic-bezier(.16, 1, .3, 1),
    box-shadow .9s cubic-bezier(.16, 1, .3, 1) !important;
}
.route .route-step.reveal.is-visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* 番号も画像も少し遅れて表現を変える（リッチな登場感） */
.route .route-step.reveal .route-step__num,
.route .route-step.reveal .route-step__img {
  opacity: 0;
  transition: opacity .9s ease, transform 1s cubic-bezier(.16, 1, .3, 1);
}
.route .route-step.reveal .route-step__num {
  transform: scale(0.6);
  transition-delay: .15s;
}
.route .route-step.reveal .route-step__img {
  transform: scale(0.94);
  transition-delay: .25s;
}
.route .route-step.reveal.is-visible .route-step__num {
  opacity: 1;
  transform: scale(1);
}
.route .route-step.reveal.is-visible .route-step__img {
  opacity: 1;
  transform: scale(1);
}
/* is-active が後から上書きするので両立できるように分離 */
.route .route-step.reveal.is-visible.is-active .route-step__img {
  transform: scale(1.04);
}

/* ===========================================================
   ★ ルートステップ：スクロール非依存の自動アニメーション
   - 5つのボックスが順番にスポットライトを浴びる（1→2→3→4→5→繰返し）
   - 各ボックスがゆったりと上下にフロート（位相をずらす）
   - ホバーで自動アニメ一時停止＋特別な浮上
   =========================================================== */

/* ① 5つのボックスが順番にスケールアップする（リレー型）
   サイクル6s、各ステップ 1.2s ずれで主役が回る */
.route .route-step.reveal.is-visible {
  animation: routeBoxScale 6s ease-in-out infinite;
  transition:
    transform .6s cubic-bezier(.16, 1, .3, 1),
    box-shadow .6s ease,
    border-color .6s ease,
    background-color .6s ease;
  /* スケール時に隣にぶつからないよう transform-origin を中央に */
  transform-origin: center center;
}
.route .route-step.reveal.is-visible:nth-child(1) { animation-delay: 1s; }
.route .route-step.reveal.is-visible:nth-child(2) { animation-delay: 2.2s; }
.route .route-step.reveal.is-visible:nth-child(3) { animation-delay: 3.4s; }
.route .route-step.reveal.is-visible:nth-child(4) { animation-delay: 4.6s; }
.route .route-step.reveal.is-visible:nth-child(5) { animation-delay: 5.8s; }

@keyframes routeBoxScale {
  0%, 18%, 100% {
    transform: scale(1) translateY(0);
    box-shadow:
      0 8px 20px -10px rgba(29, 44, 74, 0.15),
      0 2px 6px -2px rgba(29, 44, 74, 0.08);
    border-color: var(--border, #e3ddd0);
  }
  8% {
    transform: scale(1.035) translateY(-4px);
    box-shadow:
      0 28px 56px -14px rgba(29, 44, 74, 0.3),
      0 12px 24px -8px rgba(29, 44, 74, 0.18),
      0 0 0 1px rgba(184, 153, 104, 0.3);
    border-color: rgba(184, 153, 104, 0.5);
  }
}

@media (max-width: 720px) {
  @keyframes routeBoxScale {
    0%, 18%, 100% {
      transform: scale(1) translateY(0);
      box-shadow:
        0 6px 14px -8px rgba(29, 44, 74, 0.18),
        0 2px 4px -2px rgba(29, 44, 74, 0.08);
    }
    8% {
      transform: scale(1.02) translateY(-2px);
      box-shadow:
        0 18px 36px -10px rgba(29, 44, 74, 0.28),
        0 8px 16px -6px rgba(29, 44, 74, 0.16);
    }
  }
}

/* ② 番号円：5つが順番に光るスポットライト
      合計サイクル 6s、各ステップが 1.2s ずつ「主役」になる */
.route .route-step__num {
  position: relative;
  z-index: 2;
  animation: numberSpotlight 6s ease-in-out infinite;
  background: var(--accent, #b89968);
  color: #fff;
}
.route .route-step:nth-child(1) .route-step__num { animation-delay: 2s; }
.route .route-step:nth-child(2) .route-step__num { animation-delay: 3.2s; }
.route .route-step:nth-child(3) .route-step__num { animation-delay: 4.4s; }
.route .route-step:nth-child(4) .route-step__num { animation-delay: 5.6s; }
.route .route-step:nth-child(5) .route-step__num { animation-delay: 6.8s; }

@keyframes numberSpotlight {
  0%, 18%, 100% {
    background: var(--accent, #b89968);
    box-shadow: 0 0 0 0 rgba(184, 153, 104, 0);
    transform: scale(1);
  }
  6% {
    background: #d4b97a;
    box-shadow:
      0 0 0 8px rgba(184, 153, 104, 0.15),
      0 4px 12px -2px rgba(184, 153, 104, 0.5);
    transform: scale(1.18);
  }
  12% {
    box-shadow:
      0 0 0 16px rgba(184, 153, 104, 0),
      0 4px 12px -2px rgba(184, 153, 104, 0.5);
  }
}

/* ③ 接続線：定常的に流れるゴールドの「光のリレー」 */
.route .route-step:not(:last-child)::after {
  background: linear-gradient(
    180deg,
    var(--accent, #b89968) 0%,
    var(--border, #e3ddd0) 50%,
    var(--accent, #b89968) 100%
  );
  background-size: 100% 200%;
  animation: lineFlow 6s linear infinite;
}
@keyframes lineFlow {
  0%   { background-position: 0% 100%; }
  100% { background-position: 0% -100%; }
}

/* ④ ホバー：自動アニメを止めて、その箱だけしっかり浮上 */
.route .route-step.reveal.is-visible:hover {
  animation-play-state: paused;
  transform: translateY(-10px);
  box-shadow:
    0 28px 56px -16px rgba(29, 44, 74, 0.3),
    0 14px 28px -10px rgba(29, 44, 74, 0.18),
    0 0 0 1px rgba(184, 153, 104, 0.2);
  border-color: rgba(184, 153, 104, 0.5);
  background: linear-gradient(135deg, #F2EFE8 0%, #EDE6D2 100%);
}
.route .route-step.reveal.is-visible:hover .route-step__num {
  animation-play-state: paused;
  transform: scale(1.15);
  background: #d4b97a;
  box-shadow: 0 0 0 6px rgba(184, 153, 104, 0.2);
}
.route .route-step.reveal.is-visible:hover .route-step__img {
  transform: scale(1.05);
}


/* モーション抑制ユーザーには停止 */
@media (prefers-reduced-motion: reduce) {
  .route .route-step.reveal.is-visible,
  .route .route-step__num,
  .route .route-step:not(:last-child)::after {
    animation: none !important;
  }
}

/* ライトボックスの拡大画像も角丸に */
.lightbox__img { border-radius: 12px; }

/* ============================================================
   Home page final override: one screen sections
   ============================================================ */
body.home-page {
  --home-blue: #d7e9f7;
  --home-blue-1: #d9ecfa;
  --home-blue-2: #d2e7f6;
  --home-blue-3: #cbe2f2;
  --home-blue-4: #dceffc;
  --home-blue-5: #c8dfef;
  --home-blue-text: #18344a;
  --home-neumo-light: rgba(255, 255, 255, .86);
  --home-neumo-dark: rgba(82, 128, 160, .32);
  background: #d7e9f7 !important;
  color: var(--home-blue-text);
}

body.home-page .hero.hero--split {
  min-height: calc(100svh - 56px) !important;
  height: calc(100svh - 56px) !important;
  max-height: none !important;
  background: #1d2c4a !important;
}

body.home-page .hero--split .hero__image,
body.home-page .hero--split .hero__image img,
body.home-page .hero--split .hero__text {
  background: #1d2c4a !important;
}

body.home-page .hero--split .hero__text,
body.home-page .hero--split .hero__title {
  color: #fff !important;
}

body.home-page .hero--split .hero__text {
  box-shadow: inset 18px 18px 38px rgba(5, 12, 26, .18), inset -18px -18px 38px rgba(255, 255, 255, .04) !important;
}

body.home-page .hero__scroll span {
  background: rgba(255, 255, 255, .6) !important;
}

body.home-page .hero__scroll span::after {
  background: var(--accent, #b89968) !important;
}

body.home-page .concept.split-section,
body.home-page .features.split-section,
body.home-page .recommend.split-section,
body.home-page .access.split-section,
body.home-page .more-links,
body.home-page .booking {
  min-height: calc(100svh - 56px);
  max-width: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--home-blue) !important;
  border-top: 1px solid rgba(255, 255, 255, .42) !important;
}

body.home-page .concept.split-section {
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,.45), transparent 34%),
    linear-gradient(145deg, #e5f4ff 0%, var(--home-blue-1) 100%) !important;
}

body.home-page .features.split-section {
  background:
    radial-gradient(circle at 85% 12%, rgba(255,255,255,.38), transparent 32%),
    linear-gradient(145deg, #d8ecfb 0%, var(--home-blue-2) 100%) !important;
}

body.home-page .recommend.split-section {
  background:
    radial-gradient(circle at 16% 86%, rgba(255,255,255,.36), transparent 32%),
    linear-gradient(145deg, #d3e8f7 0%, var(--home-blue-3) 100%) !important;
}

body.home-page .access.split-section {
  background:
    radial-gradient(circle at 90% 78%, rgba(255,255,255,.42), transparent 34%),
    linear-gradient(145deg, #e2f3ff 0%, var(--home-blue-4) 100%) !important;
}

body.home-page .more-links {
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,.38), transparent 30%),
    linear-gradient(145deg, #d4e9f8 0%, var(--home-blue-5) 100%) !important;
}

body.home-page .booking {
  background:
    radial-gradient(circle at 72% 20%, rgba(255,255,255,.32), transparent 30%),
    linear-gradient(145deg, #d9ecfa 0%, #bfd9ec 100%) !important;
  color: var(--home-blue-text) !important;
}

body.home-page .feature-card,
body.home-page .recommend-card,
body.home-page .access__photo,
body.home-page .booking__inner,
body.home-page .more-link {
  background: rgba(215, 233, 247, .86) !important;
  border: 1px solid rgba(255, 255, 255, .5) !important;
  border-radius: 18px;
  box-shadow:
    16px 16px 32px var(--home-neumo-dark),
    -16px -16px 32px var(--home-neumo-light) !important;
}

body.home-page .feature-card__body,
body.home-page .access__photo figcaption {
  background: rgba(215, 233, 247, .9) !important;
}

body.home-page .booking__desc,
body.home-page .split-section__lead,
body.home-page .concept__text,
body.home-page .feature-card__body p,
body.home-page .recommend-card p,
body.home-page .access__row,
body.home-page .access__table {
  color: rgba(24, 52, 74, .78) !important;
}

@media (max-width: 820px) {
  body.home-page .hero.hero--split,
  body.home-page .concept.split-section,
  body.home-page .features.split-section,
  body.home-page .recommend.split-section,
  body.home-page .access.split-section,
  body.home-page .more-links,
  body.home-page .booking {
    min-height: calc(100svh - 84px) !important;
  }

  body.home-page .hero.hero--split {
    height: auto !important;
  }
}

@media (max-width: 640px) {
  body.home-page .concept.split-section,
  body.home-page .features.split-section,
  body.home-page .recommend.split-section,
  body.home-page .access.split-section,
  body.home-page .more-links,
  body.home-page .booking {
    justify-content: flex-start;
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
}

/* zoomable のヒントアイコン位置を角丸に合わせて少し内側へ */
[data-zoomable]::after { top: 16px; right: 16px; }

/* スマホ：rooms.html の設備一覧（aside）をページ最下部に移動 */
@media (max-width: 900px) {
  .rooms-layout {
    display: flex !important;
    flex-direction: column;
  }
  .rooms-layout__main {
    order: 1;
  }
  .rooms-layout__aside {
    order: 2;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border, #e3ddd0);
  }
}

/* モバイルでは影を少し控えめに */
@media (max-width: 720px) {
  .hero__image,
  .feature-card,
  .access__photo,
  .room-block__img,
  .amenity-item,
  .route-step__img {
    border-radius: 12px;
    box-shadow:
      0 10px 20px -10px rgba(29, 44, 74, 0.25),
      0 4px 10px -4px rgba(29, 44, 74, 0.15);
  }
  .hero__image img { border-radius: 12px; }
  .feature-card__media { border-radius: 12px 12px 0 0; }
  .access__photo img { border-radius: 12px 12px 0 0; }
  .access__photo figcaption { border-radius: 0 0 12px 12px; }

  /* ★ 写真をスマホでフレームにきっちり収める（固定高さ方式）
     index と同じ「親に固定高さ + 中の img を 100% 充填」のシンプルな手法 */

  /* ★ ROOTレベルで横はみ出し防止 */
  html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
  }

  /* ★ Rooms ページ：rooms-layout と直下に確実なパディングを */
  .rooms-layout {
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }
  .rooms-layout__main {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .rooms-layout__main > section {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .room-block {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* === room-block 部屋写真 === */
  .room-block__img {
    width: 100% !important;
    height: 290px !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    position: relative !important;
  }
  .room-block__img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    min-height: 0 !important;
  }

  /* === amenity-item 12枚の設備写真（2列グリッド内） === */
  .amenity-item {
    overflow: hidden !important;
    width: 100% !important;
    margin: 0 !important;
  }
  .amenity-item > img {
    width: 100% !important;
    height: 140px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    margin: 0 !important;
    max-width: 100% !important;
    min-height: 0 !important;
  }

  /* === feature-card 画像 === */
  .feature-card__media {
    width: 100% !important;
    height: 240px !important;
    overflow: hidden !important;
    position: relative !important;
  }
  .feature-card__media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    min-height: 0 !important;
  }

  /* === access__photo === */
  .access__photo {
    overflow: hidden !important;
    width: 100% !important;
  }
  .access__photo > img {
    width: 100% !important;
    height: 230px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    max-width: 100% !important;
  }
}

/* もう少し小さい画面（〜400px）はやや控えめに */
@media (max-width: 400px) {
  .room-block__img    { height: 250px !important; }
  .feature-card__media { height: 210px !important; }
  .amenity-item > img  { height: 120px !important; }
  .access__photo > img { height: 200px !important; }
}

/* ===== モーション抑制 ===== */
@media (prefers-reduced-motion: reduce) {
  .page-loader { display: none; }
  .scroll-progress, .floating-book::before { display: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============================================================
   ★★★ スマホ最終対策（最下部・最高優先度）★★★
   1. Rooms ページの画像枠は親枠と画像の両方を固定
   2. Rooms ページ全体の横はみ出しを潰す
   3. recommend など split-section のグリッドを 100% 内に固定
   4. 見出しが右に切れる対策
   ============================================================ */

/* 1. Roomsページの画像枠：親枠と画像の両方を固定 */
@media (max-width: 720px) {
  .room-block,
  .room-block--reverse {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 40px;
  }
  .room-block--reverse .room-block__img {
    order: initial !important;
  }
  .room-block__img {
    width: 100% !important;
    height: 260px !important;
    overflow: hidden !important;
    border-radius: 12px !important;
  }
  .room-block__img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
  }
}

/* 2. Roomsページ全体の横はみ出しを潰す */
@media (max-width: 720px) {
  .rooms-layout {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 40px 16px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  .rooms-layout__main,
  .rooms-layout__main > section,
  .rooms {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
}

/* 3. 「こんなお客様におすすめ」グリッドの横幅 100% 固定 */
@media (max-width: 720px) {
  .recommend.split-section,
  .features.split-section,
  .concept.split-section,
  .access.split-section {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .split-section__title,
  .split-section__content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .recommend__grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 14px !important;
  }
  .recommend-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* 4. 見出しが右に切れる対策 */
@media (max-width: 720px) {
  .section__title {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    font-size: 22px !important;
    letter-spacing: .08em !important;
    box-sizing: border-box !important;
    overflow-wrap: anywhere !important;
  }
}

/* 5. around（route の周辺観光6カード）の横はみ出し対策 */
@media (max-width: 720px) {
  .around {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .around__grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 14px !important;
  }
  .around__card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  /* カード内テキスト：長いカタカナでも折り返す（Switch 2 だけは &nbsp; で保護済み） */
  .around__card p,
  .around__card h3,
  .around__card strong,
  .recommend-card p,
  .recommend-card h3,
  .feature-card__body p,
  .feature-card__body h3,
  .room-block__text p,
  .room-block__text h3 {
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    max-width: 100% !important;
  }
}

/* ============================================================
   Final Japanese page polish: dark header and Airbnb CTA shape
   ============================================================ */
body.home-page .site-header,
body.jp-neumo-page .site-header {
  background: rgba(29, 44, 74, .94) !important;
  box-shadow: 0 10px 28px rgba(11, 22, 43, .28) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.home-page .site-header.is-scrolled,
body.jp-neumo-page .site-header.is-scrolled {
  background: rgba(24, 38, 65, .96) !important;
  box-shadow: 0 12px 30px rgba(11, 22, 43, .34) !important;
}

body.home-page .booking__cta {
  width: auto !important;
  min-width: 240px;
  max-width: min(100%, 340px);
  min-height: 54px;
  padding: 0 26px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  line-height: 1;
  letter-spacing: .08em;
  white-space: nowrap;
}

body.home-page .booking__inner {
  width: min(100%, 1040px) !important;
  max-width: 1040px !important;
  padding: 56px 48px;
  box-sizing: border-box;
  background: linear-gradient(145deg, #223353 0%, #1d2c4a 52%, #14233d 100%) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, .18) !important;
  box-shadow:
    18px 18px 36px rgba(54, 92, 124, .28),
    -14px -14px 32px rgba(255, 255, 255, .32),
    inset 1px 1px 1px rgba(255, 255, 255, .08) !important;
}

body.home-page .booking__title {
  color: #ffffff !important;
}

body.home-page .booking__desc {
  color: rgba(255, 255, 255, .76) !important;
}

body.home-page .more-links {
  display: none !important;
}

body.home-page .more-link {
  background: linear-gradient(145deg, #263b5e 0%, #1d2c4a 54%, #172640 100%) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, .16) !important;
  box-shadow:
    16px 16px 32px rgba(9, 18, 34, .34),
    -10px -10px 24px rgba(255, 255, 255, .08),
    inset 1px 1px 1px rgba(255, 255, 255, .08) !important;
}

body.home-page .more-link__arrow {
  color: #d5bb87 !important;
}

body.home-page .more-link:hover {
  background: linear-gradient(145deg, #2a436d 0%, #21365a 54%, #172640 100%) !important;
}

body.jp-neumo-page .page-header--with-image {
  background: #1d2c4a !important;
}

body.jp-neumo-page .page-header__bg {
  z-index: 0 !important;
}

body.jp-neumo-page .page-header__bg img {
  position: relative;
  z-index: 0;
  opacity: 1 !important;
}

body.jp-neumo-page .page-header__bg::after {
  z-index: 1;
  background: linear-gradient(135deg, rgba(29, 44, 74, .42), rgba(29, 44, 74, .24)) !important;
}

body.jp-neumo-page .page-header__content {
  position: relative;
  z-index: 2 !important;
}

body.rooms-page .page-header__bg {
  display: none !important;
}

body.rooms-page .page-header--with-image,
body.route-page .page-header--with-image {
  min-height: 14svh !important;
  padding: 28px 24px !important;
  background: #1d2c4a !important;
}

body.route-page .page-header__bg {
  display: none !important;
}

body.rooms-page .page-header__content,
body.route-page .page-header__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

body.rooms-page .page-header__en,
body.route-page .page-header__en {
  margin-bottom: 0;
}

body.rooms-page .page-header__title,
body.route-page .page-header__title {
  margin: 0;
}

body.rooms-page .rooms-layout,
body.rooms-page .rooms-layout__main > .rooms,
body.rooms-page .amenity-section,
body.rooms-page .back-link {
  background: transparent !important;
}

body.route-page .route .route-step {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) 150px !important;
  align-items: center;
}

body.route-page .route-step__img {
  order: 3;
  margin-left: auto;
}

body.route-page .route-step > div {
  order: 2;
  min-width: 0;
}

body.route-page .route-step__num {
  order: 1;
}

@media (max-width: 720px) {
  body.rooms-page .page-header--with-image,
  body.route-page .page-header--with-image {
    min-height: 16svh !important;
    padding: 24px 16px !important;
  }

  body.route-page .route-step__img {
    margin-left: 0;
  }
}

body.home-page .booking__cta span {
  display: inline-flex;
  align-items: center;
}

body.home-page .booking__cta-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  justify-content: center;
  background: rgba(255, 255, 255, .18);
  margin-left: 2px;
}

@media (max-width: 480px) {
  body.home-page .more-links {
    grid-template-columns: 1fr !important;
  }

  body.home-page .booking__inner {
    width: 100% !important;
    padding: 40px 20px;
  }

  body.home-page .booking__cta {
    width: 100% !important;
    min-width: 0;
    max-width: 320px;
    min-height: 50px;
    padding: 0 20px !important;
    font-size: 12px;
  }
}

/* ============================================================
   JA pages: DESIGN_GUIDE structure and formatting pass
   Content text is intentionally untouched.
   ============================================================ */
body.home-page,
body.jp-neumo-page {
  --charcoal: #151b22;
  --charcoal-2: #1b2630;
  --charcoal-3: #26333f;
  --ink: #f4f1ea;
  --white: #ffffff;
  --card: #e7e4db;
  --card-2: #f2efe7;
  --card-ink: #111315;
  --card-muted: #171a1d;
  background:
    linear-gradient(135deg, rgba(38, 51, 63, .96), rgba(21, 27, 34, .98)),
    var(--charcoal) !important;
  color: var(--white) !important;
}

body.home-page .site-header,
body.jp-neumo-page .site-header {
  top: 14px;
  left: 50%;
  right: auto;
  width: min(1120px, calc(100% - 32px));
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(21, 27, 34, .84) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .28) !important;
}

body.home-page .site-header__logo,
body.home-page .site-header__nav a,
body.home-page .site-header__lang a,
body.jp-neumo-page .site-header__logo,
body.jp-neumo-page .site-header__nav a,
body.jp-neumo-page .site-header__lang a {
  color: var(--white) !important;
}

body.home-page .site-header__nav a.is-active,
body.home-page .site-header__lang a.is-active,
body.jp-neumo-page .site-header__nav a.is-active,
body.jp-neumo-page .site-header__lang a.is-active {
  background: rgba(242, 239, 231, .14) !important;
  color: var(--white) !important;
}

body.home-page .site-header__cta,
body.home-page .booking__cta,
body.jp-neumo-page .site-header__cta {
  border-radius: 8px !important;
  background: var(--card-2) !important;
  color: var(--card-ink) !important;
  border: 1px solid rgba(242, 239, 231, .78) !important;
  box-shadow: none !important;
}

body.home-page .hero.hero--split {
  min-height: 92svh !important;
  padding: 92px clamp(18px, 4vw, 56px) 42px !important;
  gap: clamp(24px, 5vw, 72px) !important;
  background:
    linear-gradient(135deg, rgba(21, 27, 34, .2), rgba(21, 27, 34, .92)),
    var(--charcoal) !important;
}

body.home-page .hero--split .hero__image {
  border-radius: 8px !important;
  box-shadow: 0 26px 64px rgba(0, 0, 0, .36) !important;
}

body.home-page .hero--split .hero__image img {
  border-radius: 8px !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

body.home-page .hero__title,
body.home-page .split-section__heading,
body.home-page .booking__title,
body.jp-neumo-page .page-header__title {
  color: var(--white) !important;
  letter-spacing: 0 !important;
}

body.home-page .hero__title-line--em,
body.home-page .split-section__sub,
body.home-page .booking__lead,
body.jp-neumo-page .page-header__en {
  color: var(--ink) !important;
}

body.home-page .concept.split-section,
body.home-page .features.split-section,
body.home-page .recommend.split-section,
body.home-page .access.split-section,
body.home-page .booking,
body.rooms-page .rooms-layout,
body.rooms-page .rooms-layout__main > .rooms,
body.rooms-page .amenity-section,
body.route-page .route,
body.route-page .around,
body.jp-neumo-page .back-link {
  min-height: auto !important;
  padding: clamp(72px, 9vw, 118px) clamp(18px, 5vw, 72px) !important;
  background:
    linear-gradient(135deg, rgba(38, 51, 63, .9), rgba(21, 27, 34, .98)),
    var(--charcoal) !important;
}

body.home-page .split-section {
  grid-template-columns: minmax(220px, .78fr) minmax(0, 1.22fr) !important;
  gap: clamp(28px, 5vw, 70px) !important;
}

body.home-page .concept.split-section,
body.home-page .recommend.split-section,
body.route-page .around {
  background:
    linear-gradient(135deg, rgba(27, 38, 48, .92), rgba(21, 27, 34, .98)),
    var(--charcoal-2) !important;
}

body.home-page .features.split-section,
body.home-page .access.split-section,
body.rooms-page .amenity-section:nth-of-type(2),
body.route-page .route {
  background:
    linear-gradient(135deg, rgba(38, 51, 63, .94), rgba(21, 27, 34, .98)),
    var(--charcoal-3) !important;
}

body.home-page .feature-card,
body.home-page .recommend-card,
body.home-page .access__info,
body.home-page .access__photo,
body.home-page .booking__inner,
body.jp-neumo-page .facility-list,
body.jp-neumo-page .room-block,
body.jp-neumo-page .amenity-item,
body.jp-neumo-page .route-step,
body.jp-neumo-page .around__card,
body.jp-neumo-page .back-link a {
  border-radius: 8px !important;
  background: var(--card-2) !important;
  color: var(--card-ink) !important;
  border: 1px solid rgba(255, 255, 255, .68) !important;
  box-shadow: 0 22px 48px rgba(0, 0, 0, .22) !important;
}

body.home-page .feature-card__body,
body.home-page .access__photo figcaption {
  background: var(--card-2) !important;
  color: var(--card-ink) !important;
}

body.home-page .feature-card__body h3,
body.home-page .recommend-card h3,
body.home-page .access__row dt,
body.home-page .access__row dd,
body.home-page .access__table td,
body.home-page .booking__title,
body.jp-neumo-page .section__title,
body.jp-neumo-page .amenity-section__title,
body.jp-neumo-page .room-block__text h3,
body.jp-neumo-page .route-step h3,
body.jp-neumo-page .around__card h3 {
  color: var(--card-ink) !important;
}

body.home-page .feature-card__body p,
body.home-page .recommend-card p,
body.home-page .access__row,
body.home-page .access__table,
body.home-page .booking__desc,
body.jp-neumo-page .room-block__text p,
body.jp-neumo-page .route-step p,
body.jp-neumo-page .around__card p {
  color: var(--card-muted) !important;
}

body.home-page .feature-card__media,
body.home-page .feature-card__media img,
body.home-page .access__photo,
body.home-page .access__photo img,
body.jp-neumo-page .room-block__img,
body.jp-neumo-page .room-block__img img,
body.jp-neumo-page .amenity-item img,
body.jp-neumo-page .route-step__img {
  border-radius: 8px 8px 0 0 !important;
}

body.home-page .feature-card__media,
body.home-page .access__photo img,
body.jp-neumo-page .room-block__img,
body.jp-neumo-page .amenity-item img,
body.jp-neumo-page .route-step__img {
  aspect-ratio: 4 / 3;
  height: auto !important;
  object-fit: cover;
}

body.rooms-page .page-header--with-image,
body.route-page .page-header--with-image {
  min-height: 56svh !important;
  padding: 112px 24px 56px !important;
  background: var(--charcoal) !important;
}

body.rooms-page .page-header__bg,
body.route-page .page-header__bg {
  display: block !important;
}

body.jp-neumo-page .page-header__bg::after {
  background: linear-gradient(135deg, rgba(21, 27, 34, .7), rgba(21, 27, 34, .36)) !important;
}

body.rooms-page .rooms-layout {
  display: grid !important;
  grid-template-columns: minmax(210px, 280px) minmax(0, 1fr) !important;
  gap: clamp(28px, 4vw, 54px) !important;
}

body.rooms-page .rooms-layout__aside {
  position: sticky !important;
  top: 112px !important;
}

body.rooms-page .amenity-grid,
body.route-page .around__grid,
body.home-page .split-section .features__grid,
body.home-page .split-section .recommend__grid {
  gap: 22px !important;
}

body.route-page .route__steps {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding-left: 0;
}

body.route-page .route__steps::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 28px;
  width: 2px;
  background: rgba(242, 239, 231, .7);
}

body.route-page .route .route-step {
  position: relative;
  grid-template-columns: 56px minmax(0, 1fr) minmax(150px, 220px) !important;
  gap: 22px !important;
}

body.route-page .route-step__num,
body.jp-neumo-page .facility-list__icon {
  background: var(--charcoal-3) !important;
  color: var(--white) !important;
  box-shadow: none !important;
}

body.route-page .route-step h3 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .35em;
}

@media (max-width: 920px) {
  body.home-page .split-section,
  body.rooms-page .rooms-layout,
  body.route-page .route .route-step {
    grid-template-columns: 1fr !important;
  }

  body.rooms-page .rooms-layout__aside {
    position: static !important;
  }

  body.route-page .route__steps::before {
    left: 20px;
  }

  body.route-page .route-step__img {
    order: 2;
    width: 100% !important;
    max-width: none !important;
  }

  body.route-page .route-step > div {
    order: 3;
  }
}

@media (max-width: 560px) {
  body.home-page .site-header,
  body.jp-neumo-page .site-header {
    top: 8px;
    width: calc(100% - 16px);
    border-radius: 8px;
  }

  body.home-page .hero.hero--split {
    min-height: auto !important;
    padding-top: 86px !important;
  }

  body.home-page .concept.split-section,
  body.home-page .features.split-section,
  body.home-page .recommend.split-section,
  body.home-page .access.split-section,
  body.home-page .booking,
  body.rooms-page .rooms-layout,
  body.rooms-page .rooms-layout__main > .rooms,
  body.rooms-page .amenity-section,
  body.route-page .route,
  body.route-page .around,
  body.jp-neumo-page .back-link {
    padding: 54px 16px !important;
  }

  body.route-page .route .route-step {
    padding: 18px !important;
  }
}

/* ============================================================
   JA pages correction: one screen / one concept, blue background,
   white text, and no visual panel between hero image and title.
   ============================================================ */
body.home-page,
body.jp-neumo-page {
  --ja-blue-bg: #1d2c4a;
  --ja-blue-bg-2: #22385d;
  --ja-blue-bg-3: #16263f;
  --ja-blue-card: rgba(34, 56, 93, .82);
  --ja-white: #ffffff;
  --ja-white-soft: rgba(255, 255, 255, .82);
  background: var(--ja-blue-bg) !important;
  color: var(--ja-white) !important;
}

body.home-page .site-header__cta,
body.jp-neumo-page .site-header__cta {
  white-space: nowrap !important;
  flex: 0 0 auto !important;
  min-width: max-content !important;
}

body.home-page .booking__cta {
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  width: auto !important;
  min-width: max-content !important;
}

body.home-page .booking__cta span,
body.home-page .site-header__cta span,
body.jp-neumo-page .site-header__cta span {
  white-space: nowrap !important;
}

body.home-page .hero.hero--split {
  min-height: 100svh !important;
  gap: 0 !important;
  background: var(--ja-blue-bg) !important;
}

body.home-page .hero--split .hero__text {
  background: transparent !important;
  box-shadow: none !important;
}

body.home-page .hero--split .hero__image,
body.home-page .hero--split .hero__image img {
  background: transparent !important;
}

body.home-page .concept.split-section,
body.home-page .features.split-section,
body.home-page .recommend.split-section,
body.home-page .access.split-section,
body.home-page .booking,
body.rooms-page .rooms-layout,
body.rooms-page .rooms-layout__main > .rooms,
body.rooms-page .amenity-section,
body.route-page .route,
body.route-page .around,
body.jp-neumo-page .back-link {
  min-height: 100svh !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  background:
    linear-gradient(135deg, var(--ja-blue-bg-2) 0%, var(--ja-blue-bg) 56%, var(--ja-blue-bg-3) 100%) !important;
  color: var(--ja-white) !important;
}

body.home-page .concept.split-section,
body.home-page .features.split-section,
body.home-page .recommend.split-section,
body.home-page .access.split-section {
  display: grid !important;
  align-content: center !important;
}

body.rooms-page .rooms-layout {
  display: grid !important;
  align-content: center !important;
}

body.rooms-page .rooms-layout__main > .rooms,
body.rooms-page .amenity-section,
body.route-page .route,
body.route-page .around,
body.jp-neumo-page .back-link {
  max-width: none !important;
}

body.home-page .split-section__heading,
body.home-page .split-section__sub,
body.home-page .split-section__lead,
body.home-page .concept__text,
body.home-page .booking__lead,
body.home-page .booking__title,
body.home-page .booking__desc,
body.jp-neumo-page .page-header__title,
body.jp-neumo-page .page-header__en,
body.jp-neumo-page .section__title,
body.jp-neumo-page .amenity-section__title {
  color: var(--ja-white) !important;
}

body.home-page .feature-card,
body.home-page .recommend-card,
body.home-page .access__info,
body.home-page .access__photo,
body.home-page .booking__inner,
body.jp-neumo-page .facility-list,
body.jp-neumo-page .room-block,
body.jp-neumo-page .amenity-item,
body.jp-neumo-page .route-step,
body.jp-neumo-page .around__card,
body.jp-neumo-page .back-link a {
  background: var(--ja-blue-card) !important;
  color: var(--ja-white) !important;
  border-color: rgba(255, 255, 255, .22) !important;
  box-shadow: 0 20px 44px rgba(0, 0, 0, .26) !important;
}

body.home-page .feature-card__body,
body.home-page .access__photo figcaption {
  background: transparent !important;
  color: var(--ja-white) !important;
}

body.home-page .feature-card__body h3,
body.home-page .recommend-card h3,
body.home-page .access__row dt,
body.home-page .access__row dd,
body.home-page .access__table td,
body.jp-neumo-page .room-block__text h3,
body.jp-neumo-page .route-step h3,
body.jp-neumo-page .around__card h3,
body.jp-neumo-page .facility-list__label,
body.jp-neumo-page .amenity-item figcaption,
body.jp-neumo-page .back-link a {
  color: var(--ja-white) !important;
}

body.home-page .feature-card__body p,
body.home-page .recommend-card p,
body.home-page .access__row,
body.home-page .access__table,
body.jp-neumo-page .room-block__text p,
body.jp-neumo-page .route-step p,
body.jp-neumo-page .around__card p {
  color: var(--ja-white-soft) !important;
}

body.home-page .access__map-link,
body.jp-neumo-page a {
  color: var(--ja-white) !important;
}

body.rooms-page .page-header--with-image,
body.route-page .page-header--with-image {
  min-height: 100svh !important;
  background: var(--ja-blue-bg) !important;
}

@media (max-width: 920px) {
  body.home-page .concept.split-section,
  body.home-page .features.split-section,
  body.home-page .recommend.split-section,
  body.home-page .access.split-section,
  body.home-page .booking,
  body.rooms-page .rooms-layout,
  body.rooms-page .rooms-layout__main > .rooms,
  body.rooms-page .amenity-section,
  body.route-page .route,
  body.route-page .around,
  body.jp-neumo-page .back-link {
    min-height: 100svh !important;
  }
}

@media (max-width: 560px) {
  body.home-page .booking__cta {
    max-width: calc(100vw - 40px) !important;
    min-width: 0 !important;
    justify-content: center !important;
    font-size: 11px !important;
    padding-inline: 16px !important;
  }
}

/* ============================================================
   JA fixed header: keep the top bar on a single row.
   ============================================================ */
body.home-page .site-header,
body.jp-neumo-page .site-header {
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  white-space: nowrap !important;
}

body.home-page .site-header::-webkit-scrollbar,
body.jp-neumo-page .site-header::-webkit-scrollbar {
  display: none;
}

body.home-page .site-header__logo,
body.jp-neumo-page .site-header__logo {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}

body.home-page .site-header__nav,
body.jp-neumo-page .site-header__nav {
  display: flex !important;
  flex: 1 0 auto !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 3px !important;
  min-width: max-content !important;
}

body.home-page .site-header__nav a,
body.jp-neumo-page .site-header__nav a,
body.home-page .site-header__lang a,
body.jp-neumo-page .site-header__lang a {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}

body.home-page .site-header__lang,
body.jp-neumo-page .site-header__lang {
  flex: 0 0 auto !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  white-space: nowrap !important;
}

body.home-page,
body.jp-neumo-page {
  padding-top: 56px !important;
}

@media (max-width: 820px) {
  body.home-page .site-header,
  body.jp-neumo-page .site-header {
    flex-direction: row !important;
    gap: 6px !important;
    padding: 8px 10px !important;
  }

  body.home-page .site-header__logo,
  body.jp-neumo-page .site-header__logo {
    font-size: 10px !important;
    letter-spacing: .08em !important;
  }

  body.home-page .site-header__nav a,
  body.jp-neumo-page .site-header__nav a {
    font-size: 10px !important;
    letter-spacing: 0 !important;
    padding: 5px 6px !important;
  }

  body.home-page .site-header__lang,
  body.jp-neumo-page .site-header__lang {
    margin-left: 2px !important;
    padding-left: 4px !important;
    border-left: 1px solid rgba(255, 255, 255, .16) !important;
  }

  body.home-page .site-header__lang a,
  body.jp-neumo-page .site-header__lang a {
    font-size: 9px !important;
    padding: 3px 4px !important;
    letter-spacing: 0 !important;
  }

  body.home-page,
  body.jp-neumo-page {
    padding-top: 52px !important;
  }
}

@media (max-width: 480px) {
  body.home-page .site-header,
  body.jp-neumo-page .site-header {
    width: calc(100% - 8px) !important;
    top: 4px !important;
    gap: 4px !important;
    padding: 7px 8px !important;
  }

  body.home-page .site-header__logo,
  body.jp-neumo-page .site-header__logo {
    font-size: 9px !important;
    letter-spacing: .04em !important;
  }

  body.home-page .site-header__nav a,
  body.jp-neumo-page .site-header__nav a {
    font-size: 9px !important;
    padding: 4px 5px !important;
  }

  body.home-page .site-header__cta,
  body.jp-neumo-page .site-header__cta {
    padding-inline: 7px !important;
  }
}

/* ============================================================
   JA home layout correction: visible reservation CTA and
   stacked title/content sections.
   ============================================================ */
body.home-page .site-header__cta,
body.jp-neumo-page .site-header__cta,
body.home-page .booking__cta {
  background: linear-gradient(145deg, #c9aa72 0%, #b89968 48%, #9f7f4b 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, .28) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .22) !important;
}

body.home-page .site-header__cta:hover,
body.jp-neumo-page .site-header__cta:hover,
body.home-page .booking__cta:hover {
  background: linear-gradient(145deg, #d8bd82 0%, #b89968 48%, #8f7040 100%) !important;
  color: #ffffff !important;
}

body.home-page .concept.split-section,
body.home-page .features.split-section,
body.home-page .recommend.split-section {
  grid-template-columns: 1fr !important;
  grid-template-rows: auto 1fr !important;
  align-content: start !important;
  justify-content: stretch !important;
  gap: clamp(22px, 3.5vw, 42px) !important;
  padding-top: clamp(78px, 9vw, 112px) !important;
  padding-bottom: clamp(52px, 7vw, 86px) !important;
}

body.home-page .concept.split-section .split-section__title,
body.home-page .features.split-section .split-section__title,
body.home-page .recommend.split-section .split-section__title {
  position: static !important;
  top: auto !important;
  max-width: 760px !important;
  align-self: start !important;
  text-align: left !important;
}

body.home-page .concept.split-section .split-section__content,
body.home-page .features.split-section .split-section__content,
body.home-page .recommend.split-section .split-section__content {
  width: 100% !important;
  max-width: 1180px !important;
  align-self: stretch !important;
}

body.home-page .concept.split-section .concept__text {
  max-width: 920px !important;
  margin: 0 !important;
  padding: clamp(22px, 3vw, 34px) !important;
  border-radius: 8px !important;
  background: var(--ja-blue-card) !important;
  border: 1px solid rgba(255, 255, 255, .22) !important;
}

body.home-page .features.split-section .features__grid,
body.home-page .recommend.split-section .recommend__grid {
  width: 100% !important;
}

body.home-page .access.split-section {
  grid-template-columns: minmax(220px, .42fr) minmax(0, .58fr) !important;
  gap: clamp(22px, 3vw, 40px) !important;
  padding-top: clamp(70px, 8vw, 96px) !important;
  padding-bottom: clamp(42px, 6vw, 68px) !important;
}

body.home-page .access.split-section .split-section__title {
  position: static !important;
  top: auto !important;
}

body.home-page .access.split-section .split-section__lead {
  margin-bottom: 0 !important;
}

body.home-page .access.split-section .access__grid {
  gap: 18px !important;
}

body.home-page .access.split-section .access__info {
  padding: clamp(18px, 2.3vw, 28px) !important;
}

body.home-page .access.split-section .access__row {
  padding: 9px 0 !important;
}

body.home-page .access.split-section .access__sub {
  margin: 18px 0 10px !important;
}

body.home-page .access.split-section .access__photo img {
  aspect-ratio: 4 / 3;
  height: auto !important;
}

@media (max-width: 920px) {
  body.home-page .access.split-section {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   JA home content cards: white cards where requested, and
   ACCESS content directly under its title.
   ============================================================ */
body.home-page .concept.split-section .concept__text,
body.home-page .features.split-section .feature-card,
body.home-page .features.split-section .feature-card__body,
body.home-page .recommend.split-section .recommend-card {
  background: #f2efe7 !important;
  color: #111315 !important;
  border-color: rgba(255, 255, 255, .72) !important;
}

body.home-page .concept.split-section .concept__text,
body.home-page .features.split-section .feature-card__body h3,
body.home-page .recommend.split-section .recommend-card h3 {
  color: #111315 !important;
}

body.home-page .features.split-section .feature-card__body p,
body.home-page .recommend.split-section .recommend-card p {
  color: #171a1d !important;
}

body.home-page .recommend.split-section .recommend-card__icon {
  background: #1d2c4a !important;
  color: #ffffff !important;
}

body.home-page .access.split-section {
  grid-template-columns: 1fr !important;
  grid-template-rows: auto 1fr !important;
  align-content: start !important;
  gap: clamp(20px, 3vw, 34px) !important;
}

body.home-page .access.split-section .split-section__title {
  max-width: 760px !important;
  align-self: start !important;
}

body.home-page .access.split-section .split-section__content {
  width: 100% !important;
  max-width: 1180px !important;
  align-self: stretch !important;
}

body.home-page .access.split-section .access__grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(240px, .92fr) !important;
}

@media (max-width: 920px) {
  body.home-page .access.split-section .access__grid {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   JA global framed content: white cards with black text.
   ACCESS compact one-screen treatment.
   ============================================================ */
body.home-page .feature-card,
body.home-page .feature-card__body,
body.home-page .recommend-card,
body.home-page .access__info,
body.home-page .access__photo,
body.home-page .access__photo figcaption,
body.home-page .booking__inner,
body.jp-neumo-page .facility-list,
body.jp-neumo-page .room-block,
body.jp-neumo-page .room-block__text,
body.jp-neumo-page .amenity-item,
body.jp-neumo-page .amenity-item figcaption,
body.jp-neumo-page .route-step,
body.jp-neumo-page .around__card,
body.jp-neumo-page .back-link a {
  background: #f2efe7 !important;
  color: #111315 !important;
}

body.home-page .feature-card h3,
body.home-page .feature-card p,
body.home-page .recommend-card h3,
body.home-page .recommend-card p,
body.home-page .access__info,
body.home-page .access__info *,
body.home-page .access__photo figcaption,
body.home-page .booking__inner,
body.home-page .booking__inner *,
body.jp-neumo-page .facility-list,
body.jp-neumo-page .facility-list *,
body.jp-neumo-page .room-block,
body.jp-neumo-page .room-block *,
body.jp-neumo-page .amenity-item,
body.jp-neumo-page .amenity-item *,
body.jp-neumo-page .route-step,
body.jp-neumo-page .route-step *,
body.jp-neumo-page .around__card,
body.jp-neumo-page .around__card *,
body.jp-neumo-page .back-link a {
  color: #111315 !important;
}

body.home-page .booking__cta,
body.home-page .booking__cta *,
body.home-page .site-header__cta,
body.home-page .site-header__cta *,
body.jp-neumo-page .site-header__cta,
body.jp-neumo-page .site-header__cta *,
body.home-page .recommend-card__icon,
body.jp-neumo-page .route-step__num,
body.jp-neumo-page .facility-list__icon {
  color: #ffffff !important;
}

body.home-page .access.split-section {
  min-height: 100svh !important;
  padding-top: clamp(64px, 7vh, 82px) !important;
  padding-bottom: clamp(20px, 3vh, 34px) !important;
  gap: 14px !important;
  overflow: hidden;
}

body.home-page .access.split-section .split-section__title {
  max-width: 960px !important;
}

body.home-page .access.split-section .split-section__sub {
  margin-bottom: 6px !important;
}

body.home-page .access.split-section .split-section__heading {
  margin-bottom: 8px !important;
}

body.home-page .access.split-section .split-section__lead {
  font-size: clamp(12px, 1.2vw, 14px) !important;
  line-height: 1.6 !important;
}

body.home-page .access.split-section .access__grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(180px, .65fr) !important;
  gap: 14px !important;
  align-items: start !important;
}

body.home-page .access.split-section .access__info {
  padding: 16px 18px !important;
  border-radius: 8px !important;
}

body.home-page .access.split-section .access__list {
  gap: 0 !important;
  margin-bottom: 8px !important;
}

body.home-page .access.split-section .access__row {
  grid-template-columns: 88px 1fr !important;
  padding: 6px 0 !important;
  gap: 10px !important;
}

body.home-page .access.split-section .access__row dt,
body.home-page .access.split-section .access__row dd,
body.home-page .access.split-section .access__table td {
  font-size: 12px !important;
  line-height: 1.45 !important;
}

body.home-page .access.split-section .access__sub {
  margin: 10px 0 6px !important;
  font-size: 14px !important;
}

body.home-page .access.split-section .access__table td {
  padding: 5px 7px !important;
}

body.home-page .access.split-section .access__media {
  gap: 10px !important;
}

body.home-page .access.split-section .access__photo {
  border-radius: 8px !important;
  overflow: hidden !important;
}

body.home-page .access.split-section .access__photo img {
  width: 100% !important;
  height: clamp(92px, 17vh, 138px) !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
}

body.home-page .access.split-section .access__photo figcaption {
  padding: 7px 10px !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
}

@media (max-width: 920px) {
  body.home-page .access.split-section {
    overflow: visible;
  }

  body.home-page .access.split-section .access__grid {
    grid-template-columns: 1fr !important;
  }

  body.home-page .access.split-section .access__media {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    display: grid !important;
  }
}

/* ============================================================
   JA corrective pass: readable access, no rooms top hero,
   black text inside all white frames, and sequential route reveal.
   ============================================================ */
body.home-page .access.split-section {
  min-height: calc(100svh - 56px) !important;
  padding: clamp(72px, 8vh, 92px) clamp(22px, 5vw, 72px) clamp(34px, 5vh, 56px) !important;
  gap: clamp(20px, 3vh, 30px) !important;
  overflow: visible !important;
}

body.home-page .access.split-section .split-section__title,
body.home-page .access.split-section .split-section__content {
  width: min(100%, 1180px) !important;
  max-width: 1180px !important;
}

body.home-page .access.split-section .access__grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr) !important;
  gap: clamp(20px, 3vw, 32px) !important;
  align-items: stretch !important;
}

body.home-page .access.split-section .access__info,
body.home-page .access.split-section .access__photo,
body.home-page .access.split-section .access__photo figcaption {
  background: #f2efe7 !important;
  color: #111315 !important;
}

body.home-page .access.split-section .access__info,
body.home-page .access.split-section .access__info *,
body.home-page .access.split-section .access__photo figcaption,
body.home-page .access.split-section .access__map-link {
  color: #111315 !important;
}

body.home-page .access.split-section .access__info {
  padding: clamp(22px, 3vw, 34px) !important;
}

body.home-page .access.split-section .access__row {
  grid-template-columns: 104px 1fr !important;
  padding: 9px 0 !important;
}

body.home-page .access.split-section .access__row dt,
body.home-page .access.split-section .access__row dd,
body.home-page .access.split-section .access__table td {
  font-size: clamp(13px, 1.1vw, 15px) !important;
  line-height: 1.6 !important;
}

body.home-page .access.split-section .access__sub {
  margin: 16px 0 10px !important;
  font-size: clamp(15px, 1.3vw, 18px) !important;
  color: #111315 !important;
}

body.home-page .access.split-section .access__table td {
  padding: 7px 9px !important;
}

body.home-page .access.split-section .access__media {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 14px !important;
}

body.home-page .access.split-section .access__photo img {
  width: 100% !important;
  height: clamp(150px, 23vh, 220px) !important;
  object-fit: cover !important;
}

body.home-page .access.split-section .access__photo figcaption {
  padding: 10px 12px !important;
  font-size: 13px !important;
}

body.rooms-page .page-header--with-image {
  display: none !important;
}

body.rooms-page {
  padding-top: 56px !important;
}

body.rooms-page .rooms-layout {
  padding-top: clamp(72px, 8vh, 96px) !important;
}

body.jp-neumo-page .facility-list,
body.jp-neumo-page .facility-list *,
body.jp-neumo-page .room-block,
body.jp-neumo-page .room-block *,
body.jp-neumo-page .amenity-item,
body.jp-neumo-page .amenity-item *,
body.jp-neumo-page .route-step,
body.jp-neumo-page .route-step *,
body.jp-neumo-page .around__card,
body.jp-neumo-page .around__card * {
  color: #111315 !important;
}

body.jp-neumo-page .facility-list,
body.jp-neumo-page .room-block,
body.jp-neumo-page .room-block__text,
body.jp-neumo-page .amenity-item,
body.jp-neumo-page .amenity-item figcaption,
body.jp-neumo-page .route-step,
body.jp-neumo-page .around__card {
  background: #f2efe7 !important;
}

body.route-page .route-step__num,
body.rooms-page .facility-list__icon {
  background: #1d2c4a !important;
  color: #ffffff !important;
}

body.route-page .route-step__num *,
body.rooms-page .facility-list__icon * {
  color: #ffffff !important;
}

body.route-page .route .route-step.reveal {
  opacity: 0 !important;
  transform: translateY(24px) !important;
  transition:
    opacity .7s ease,
    transform .7s cubic-bezier(.22, .61, .36, 1),
    box-shadow .25s ease !important;
}

body.route-page .route .route-step.reveal.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

body.route-page .route .route-step.reveal:nth-child(1) { transition-delay: .00s !important; }
body.route-page .route .route-step.reveal:nth-child(2) { transition-delay: .16s !important; }
body.route-page .route .route-step.reveal:nth-child(3) { transition-delay: .32s !important; }
body.route-page .route .route-step.reveal:nth-child(4) { transition-delay: .48s !important; }
body.route-page .route .route-step.reveal:nth-child(5) { transition-delay: .64s !important; }

@media (max-width: 920px) {
  body.home-page .access.split-section .access__grid {
    grid-template-columns: 1fr !important;
  }

  body.home-page .access.split-section .access__media {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.home-page .access.split-section .access__photo img {
    height: clamp(130px, 18vh, 180px) !important;
  }
}

@media (max-width: 560px) {
  body.home-page .access.split-section {
    padding-top: 68px !important;
  }

  body.home-page .access.split-section .access__media {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   Final Rooms / Route readability fix.
   White framed areas must always use black text.
   ============================================================ */
body.rooms-page .facility-list,
body.rooms-page .facility-list li,
body.rooms-page .facility-list__label,
body.rooms-page .rooms-layout__main,
body.rooms-page .rooms-layout__main .rooms,
body.rooms-page .room-block,
body.rooms-page .room-block__text,
body.rooms-page .room-block__text h3,
body.rooms-page .room-block__text p,
body.rooms-page .amenity-section,
body.rooms-page .amenity-grid,
body.rooms-page .amenity-item,
body.rooms-page .amenity-item figcaption,
body.route-page .route__steps,
body.route-page .route-step,
body.route-page .route-step > div,
body.route-page .route-step h3,
body.route-page .route-step p,
body.route-page .around__card,
body.route-page .around__card h3,
body.route-page .around__card p,
body.route-page .around__card strong {
  color: #111315 !important;
}

body.rooms-page .facility-list,
body.rooms-page .room-block,
body.rooms-page .room-block__text,
body.rooms-page .amenity-item,
body.rooms-page .amenity-item figcaption,
body.route-page .route-step,
body.route-page .around__card {
  background: #f2efe7 !important;
}

body.rooms-page .facility-list a,
body.rooms-page .room-block a,
body.rooms-page .amenity-item a,
body.route-page .route-step a,
body.route-page .around__card a {
  color: #111315 !important;
}

body.rooms-page .section__title,
body.rooms-page .amenity-section__title,
body.route-page .section__title {
  color: #ffffff !important;
}

body.rooms-page .facility-list__icon,
body.rooms-page .facility-list__icon *,
body.route-page .route-step__num,
body.route-page .route-step__num * {
  background: #1d2c4a !important;
  color: #ffffff !important;
}

/* ============================================================
   Rooms / Route section structure refinement.
   ============================================================ */
body.rooms-page .rooms-layout {
  align-items: start !important;
  align-content: start !important;
}

body.rooms-page .rooms-layout__aside,
body.rooms-page .rooms-layout__main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.rooms-page .rooms-layout__main > .rooms {
  padding-top: 0 !important;
  justify-content: flex-start !important;
}

body.rooms-page .rooms-layout__main > .rooms .section__title {
  margin-top: 0 !important;
  margin-bottom: 22px !important;
  line-height: 1.35 !important;
}

body.rooms-page .facility-list {
  margin-top: 0 !important;
}

body.rooms-page .amenity-section,
body.rooms-page .rooms-layout__main > .rooms {
  background:
    linear-gradient(135deg, var(--ja-blue-bg-2) 0%, var(--ja-blue-bg) 56%, var(--ja-blue-bg-3) 100%) !important;
}

body.route-page .page-header--with-image {
  display: none !important;
}

body.route-page {
  padding-top: 56px !important;
}

body.route-page .route {
  padding-top: clamp(72px, 8vh, 96px) !important;
  justify-content: flex-start !important;
}

body.route-page .route__title {
  width: min(100%, 1040px) !important;
  margin: 0 auto 22px !important;
  color: #ffffff !important;
  text-align: left !important;
}

body.route-page .route__steps {
  width: min(100%, 1040px) !important;
}

/* ============================================================
   Final section background / heading consistency.
   ============================================================ */
body.rooms-page .rooms-layout__main > .rooms,
body.rooms-page .rooms-layout__main > .amenity-section,
body.rooms-page .rooms-layout__main > section.amenity-section,
body.rooms-page .amenity-section:nth-of-type(2),
body.rooms-page .amenity-section:nth-of-type(3) {
  background:
    linear-gradient(135deg, var(--ja-blue-bg-2) 0%, var(--ja-blue-bg) 56%, var(--ja-blue-bg-3) 100%) !important;
}

body.rooms-page .rooms-layout__main > .rooms,
body.rooms-page .rooms-layout__main > .amenity-section {
  min-height: 100svh !important;
  padding: clamp(72px, 8vh, 96px) clamp(18px, 4vw, 56px) clamp(48px, 6vh, 72px) !important;
  justify-content: flex-start !important;
}

body.route-page .route__title,
body.route-page .around > .section__title {
  width: min(100%, 1040px) !important;
  margin: 0 auto 24px !important;
  color: #ffffff !important;
  text-align: left !important;
  font-size: clamp(24px, 3vw, 36px) !important;
  line-height: 1.35 !important;
  letter-spacing: .04em !important;
}

body.route-page .route,
body.route-page .around {
  padding-top: clamp(72px, 8vh, 96px) !important;
  justify-content: flex-start !important;
}

body.route-page .around__grid {
  width: min(100%, 1040px) !important;
  margin-inline: auto !important;
}

/* ============================================================
   Absolute heading unification for JA section titles.
   Applies to Rooms and Route section headers.
   ============================================================ */
body.rooms-page .rooms-layout__main > .rooms > .section__title,
body.rooms-page .rooms-layout__main > .amenity-section > .amenity-section__title,
body.route-page .route > .route__title,
body.route-page .around > .section__title {
  display: block !important;
  width: min(100%, 1040px) !important;
  max-width: 1040px !important;
  margin: 0 auto 24px !important;
  padding: 0 !important;
  color: #ffffff !important;
  font-size: clamp(28px, 3vw, 36px) !important;
  line-height: 1.35 !important;
  letter-spacing: .04em !important;
  text-align: left !important;
  font-weight: 700 !important;
}

body.rooms-page .rooms-layout__main > .rooms,
body.rooms-page .rooms-layout__main > .amenity-section,
body.route-page .route,
body.route-page .around {
  padding-left: clamp(18px, 5vw, 72px) !important;
  padding-right: clamp(18px, 5vw, 72px) !important;
}

body.rooms-page .rooms-layout__main > .rooms > .room-block,
body.rooms-page .rooms-layout__main > .amenity-section > .amenity-grid,
body.route-page .route > .route__steps,
body.route-page .around > .around__grid {
  width: min(100%, 1040px) !important;
  max-width: 1040px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ============================================================
   Rooms final polish: remove yellow title rule, add white rule,
   and keep the same blue background across the Rooms page.
   ============================================================ */
body.rooms-page,
body.rooms-page .rooms-layout,
body.rooms-page .rooms-layout__main,
body.rooms-page .rooms-layout__main > .rooms,
body.rooms-page .rooms-layout__main > .amenity-section,
body.rooms-page .rooms-layout__main > section.amenity-section,
body.rooms-page .amenity-section:nth-of-type(2),
body.rooms-page .amenity-section:nth-of-type(3),
body.rooms-page .back-link {
  background:
    linear-gradient(135deg, var(--ja-blue-bg-2) 0%, var(--ja-blue-bg) 56%, var(--ja-blue-bg-3) 100%) !important;
}

body.rooms-page .rooms-layout__main > .rooms > .section__title::after,
body.rooms-page .rooms-layout__main > .amenity-section > .amenity-section__title::after,
body.rooms-page .section__title::after,
body.rooms-page .amenity-section__title::after {
  display: none !important;
  content: none !important;
}

body.rooms-page .rooms-layout__main > .rooms > .section__title,
body.rooms-page .rooms-layout__main > .amenity-section > .amenity-section__title {
  border-bottom: 1px solid rgba(255, 255, 255, .86) !important;
  padding-bottom: 14px !important;
  margin-bottom: 28px !important;
}

/* Hide back-to-top/home link sections. */
body.jp-neumo-page .back-link,
body.rooms-page .back-link,
body.route-page .back-link {
  display: none !important;
}

/* ============================================================
   Rooms absolute background unification.
   Keep all page/section backplates identical; cards remain white.
   ============================================================ */
body.rooms-page,
body.rooms-page main,
body.rooms-page .rooms-layout,
body.rooms-page .rooms-layout__main,
body.rooms-page .rooms-layout__main > section,
body.rooms-page .rooms-layout__main > .rooms,
body.rooms-page .rooms-layout__main > .amenity-section,
body.rooms-page section.rooms,
body.rooms-page section.amenity-section,
body.rooms-page .amenity-section:nth-of-type(1),
body.rooms-page .amenity-section:nth-of-type(2),
body.rooms-page .amenity-section:nth-of-type(3) {
  background: linear-gradient(135deg, #22385d 0%, #1d2c4a 56%, #16263f 100%) !important;
  background-color: #1d2c4a !important;
  background-image: linear-gradient(135deg, #22385d 0%, #1d2c4a 56%, #16263f 100%) !important;
}

body.rooms-page .facility-list,
body.rooms-page .room-block,
body.rooms-page .amenity-item,
body.rooms-page .amenity-item figcaption {
  background: #f2efe7 !important;
}

/* Rooms same-background hard lock for each content section. */
html body.rooms-page main .rooms-layout .rooms-layout__main > section.rooms,
html body.rooms-page main .rooms-layout .rooms-layout__main > section.amenity-section,
html body.rooms-page main .rooms-layout .rooms-layout__main > section.amenity-section:nth-of-type(2),
html body.rooms-page main .rooms-layout .rooms-layout__main > section.amenity-section:nth-of-type(3) {
  background: #1d2c4a !important;
  background-image: linear-gradient(135deg, #22385d 0%, #1d2c4a 56%, #16263f 100%) !important;
  background-color: #1d2c4a !important;
  box-shadow: none !important;
}

html body.rooms-page main .rooms-layout .rooms-layout__main > section.rooms::before,
html body.rooms-page main .rooms-layout .rooms-layout__main > section.rooms::after,
html body.rooms-page main .rooms-layout .rooms-layout__main > section.amenity-section::before,
html body.rooms-page main .rooms-layout .rooms-layout__main > section.amenity-section::after {
  display: none !important;
  content: none !important;
}

/* Home concept text: no frame, dark-blue background, larger white text. */
body.home-page .concept.split-section .concept__text,
body.home-page .concept.split-section .concept__text.concept__text--keep {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #ffffff !important;
  padding: 0 !important;
  font-size: clamp(18px, 1.8vw, 24px) !important;
  line-height: 2 !important;
  font-weight: 500 !important;
}

body.home-page .concept.split-section .concept__text *,
body.home-page .concept.split-section .concept__text.concept__text--keep * {
  color: #ffffff !important;
}

/* JP home only: keep hero and concept within one viewport. */
html[lang="ja"] body.home-page {
  --jp-header-space: clamp(58px, 7svh, 76px);
}

html[lang="ja"] body.home-page .hero.hero--split {
  height: 100svh !important;
  min-height: 100svh !important;
  max-height: none !important;
  padding-top: var(--jp-header-space) !important;
  grid-template-columns: minmax(0, 63fr) minmax(300px, 37fr) !important;
  overflow: hidden !important;
}

html[lang="ja"] body.home-page .hero--split .hero__image,
html[lang="ja"] body.home-page .hero--split .hero__text {
  min-height: 0 !important;
  height: 100% !important;
}

html[lang="ja"] body.home-page .hero--split .hero__image img {
  object-fit: cover !important;
  object-position: center !important;
}

html[lang="ja"] body.home-page .hero--split .hero__text {
  justify-content: center !important;
  padding: clamp(24px, 4vw, 56px) 6% !important;
}

html[lang="ja"] body.home-page .hero__title {
  gap: clamp(6px, 1.2vw, 12px) !important;
}

html[lang="ja"] body.home-page .hero__title-num {
  font-size: clamp(36px, 4.3vw, 64px) !important;
}

html[lang="ja"] body.home-page .hero__title-line {
  font-size: clamp(18px, 2vw, 28px) !important;
}

html[lang="ja"] body.home-page .hero__title-line--em {
  font-size: clamp(20px, 2.3vw, 32px) !important;
}

html[lang="ja"] body.home-page .concept.split-section {
  min-height: 100svh !important;
  height: 100svh !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: auto auto !important;
  align-content: center !important;
  gap: clamp(20px, 3.2vw, 42px) !important;
  padding-top: calc(var(--jp-header-space) + clamp(18px, 2.5vw, 34px)) !important;
  padding-bottom: clamp(28px, 5svh, 56px) !important;
  overflow: hidden !important;
}

html[lang="ja"] body.home-page .concept.split-section .split-section__title,
html[lang="ja"] body.home-page .concept.split-section .split-section__content {
  max-width: 1040px !important;
  width: 100% !important;
}

html[lang="ja"] body.home-page .concept.split-section .split-section__sub {
  margin-bottom: clamp(10px, 1.4vw, 18px) !important;
}

html[lang="ja"] body.home-page .concept.split-section .split-section__heading {
  margin-bottom: 0 !important;
  font-size: clamp(25px, 3.1vw, 42px) !important;
  line-height: 1.45 !important;
}

html[lang="ja"] body.home-page .concept.split-section .concept__text,
html[lang="ja"] body.home-page .concept.split-section .concept__text.concept__text--keep {
  max-width: 1040px !important;
  font-size: clamp(18px, 1.75vw, 25px) !important;
  line-height: 1.9 !important;
}

@media (max-width: 900px) {
  html[lang="ja"] body.home-page .hero.hero--split {
    grid-template-columns: 1fr !important;
    grid-template-rows: minmax(0, 58fr) minmax(0, 42fr) !important;
    height: 100svh !important;
    min-height: 100svh !important;
  }

  html[lang="ja"] body.home-page .hero--split .hero__image {
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  html[lang="ja"] body.home-page .hero--split .hero__text {
    justify-content: center !important;
    padding: clamp(20px, 5vw, 36px) 6% !important;
  }

  html[lang="ja"] body.home-page .concept.split-section {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

@media (max-width: 640px) {
  html[lang="ja"] body.home-page {
    --jp-header-space: clamp(76px, 16svh, 118px);
  }

  html[lang="ja"] body.home-page .hero.hero--split {
    grid-template-rows: minmax(0, 52fr) minmax(0, 48fr) !important;
  }

  html[lang="ja"] body.home-page .hero__title-num {
    font-size: clamp(28px, 9vw, 40px) !important;
  }

  html[lang="ja"] body.home-page .hero__title-line {
    font-size: clamp(15px, 4.4vw, 20px) !important;
  }

  html[lang="ja"] body.home-page .hero__title-line--em {
    font-size: clamp(17px, 5vw, 22px) !important;
  }

  html[lang="ja"] body.home-page .concept.split-section {
    gap: 18px !important;
    padding-top: calc(var(--jp-header-space) + 10px) !important;
    padding-bottom: 28px !important;
  }

  html[lang="ja"] body.home-page .concept.split-section .split-section__heading {
    font-size: clamp(21px, 6.2vw, 28px) !important;
    line-height: 1.42 !important;
  }

  html[lang="ja"] body.home-page .concept.split-section .concept__text,
  html[lang="ja"] body.home-page .concept.split-section .concept__text.concept__text--keep {
    font-size: clamp(16px, 4.4vw, 19px) !important;
    line-height: 1.75 !important;
  }
}

/* JP home correction: hero + concept share the first viewport. */
html[lang="ja"] body.home-page .hero.hero--split {
  height: 60svh !important;
  min-height: 60svh !important;
  max-height: 60svh !important;
  padding-top: var(--jp-header-space) !important;
  grid-template-columns: minmax(0, 62fr) minmax(260px, 38fr) !important;
}

html[lang="ja"] body.home-page .hero--split .hero__image,
html[lang="ja"] body.home-page .hero--split .hero__text {
  height: 100% !important;
  min-height: 0 !important;
}

html[lang="ja"] body.home-page .hero--split .hero__text {
  padding: clamp(16px, 2.8vw, 36px) 5% !important;
}

html[lang="ja"] body.home-page .hero__title-num {
  font-size: clamp(28px, 3.2vw, 46px) !important;
}

html[lang="ja"] body.home-page .hero__title-line {
  font-size: clamp(15px, 1.55vw, 22px) !important;
}

html[lang="ja"] body.home-page .hero__title-line--em {
  font-size: clamp(17px, 1.8vw, 25px) !important;
  padding-bottom: 8px !important;
}

html[lang="ja"] body.home-page .hero__scroll {
  display: none !important;
}

html[lang="ja"] body.home-page .concept.split-section {
  height: 40svh !important;
  min-height: 40svh !important;
  max-height: 40svh !important;
  align-content: center !important;
  gap: clamp(10px, 1.8vw, 22px) !important;
  padding-top: clamp(18px, 3svh, 34px) !important;
  padding-bottom: clamp(18px, 3svh, 34px) !important;
  overflow: hidden !important;
}

html[lang="ja"] body.home-page .concept.split-section .split-section__sub {
  margin-bottom: 8px !important;
  font-size: clamp(10px, .9vw, 12px) !important;
}

html[lang="ja"] body.home-page .concept.split-section .split-section__heading {
  font-size: clamp(20px, 2.25vw, 32px) !important;
  line-height: 1.35 !important;
}

html[lang="ja"] body.home-page .concept.split-section .concept__text,
html[lang="ja"] body.home-page .concept.split-section .concept__text.concept__text--keep {
  font-size: clamp(15px, 1.35vw, 20px) !important;
  line-height: 1.75 !important;
}

@media (max-width: 900px) {
  html[lang="ja"] body.home-page .hero.hero--split {
    grid-template-columns: 1fr !important;
    grid-template-rows: minmax(0, 58%) minmax(0, 42%) !important;
    height: 60svh !important;
    min-height: 60svh !important;
    max-height: 60svh !important;
  }

  html[lang="ja"] body.home-page .hero--split .hero__text {
    padding: 14px 6% !important;
  }

  html[lang="ja"] body.home-page .concept.split-section {
    height: 40svh !important;
    min-height: 40svh !important;
    max-height: 40svh !important;
  }
}

@media (max-width: 640px) {
  html[lang="ja"] body.home-page .hero.hero--split {
    grid-template-rows: minmax(0, 54%) minmax(0, 46%) !important;
  }

  html[lang="ja"] body.home-page .hero__title-num {
    font-size: clamp(24px, 7vw, 34px) !important;
  }

  html[lang="ja"] body.home-page .hero__title-line {
    font-size: clamp(13px, 3.7vw, 17px) !important;
  }

  html[lang="ja"] body.home-page .hero__title-line--em {
    font-size: clamp(14px, 4vw, 19px) !important;
    padding-bottom: 6px !important;
  }

  html[lang="ja"] body.home-page .concept.split-section {
    gap: 10px !important;
    padding: 14px 16px !important;
  }

  html[lang="ja"] body.home-page .concept.split-section .split-section__heading {
    font-size: clamp(17px, 5vw, 22px) !important;
    line-height: 1.32 !important;
  }

  html[lang="ja"] body.home-page .concept.split-section .concept__text,
  html[lang="ja"] body.home-page .concept.split-section .concept__text.concept__text--keep {
    font-size: clamp(13px, 3.7vw, 16px) !important;
    line-height: 1.6 !important;
  }
}

/* JP home correction: hero 55 / concept 40, access 90svh. */
html[lang="ja"] body.home-page .hero.hero--split {
  height: 55svh !important;
  min-height: 55svh !important;
  max-height: 55svh !important;
}

html[lang="ja"] body.home-page .concept.split-section {
  height: 40svh !important;
  min-height: 40svh !important;
  max-height: none !important;
  padding-top: clamp(12px, 2svh, 22px) !important;
  padding-bottom: clamp(12px, 2svh, 22px) !important;
  justify-content: center !important;
  overflow: visible !important;
}

html[lang="ja"] body.home-page .concept.split-section .split-section__heading {
  font-size: clamp(18px, 2vw, 29px) !important;
  line-height: 1.3 !important;
}

html[lang="ja"] body.home-page .concept.split-section .concept__text,
html[lang="ja"] body.home-page .concept.split-section .concept__text.concept__text--keep {
  font-size: clamp(14px, 1.2vw, 18px) !important;
  line-height: 1.6 !important;
}

html[lang="ja"] body.home-page .access.split-section {
  min-height: 90svh !important;
  height: auto !important;
  padding-top: clamp(52px, 6svh, 76px) !important;
  padding-bottom: clamp(28px, 4svh, 46px) !important;
  gap: clamp(14px, 2vw, 24px) !important;
  align-content: center !important;
}

html[lang="ja"] body.home-page .access.split-section .access__grid {
  gap: 14px !important;
}

html[lang="ja"] body.home-page .access.split-section .access__info {
  padding: clamp(16px, 2vw, 24px) !important;
}

html[lang="ja"] body.home-page .access.split-section .access__row {
  padding: 6px 0 !important;
}

html[lang="ja"] body.home-page .access.split-section .access__row dt,
html[lang="ja"] body.home-page .access.split-section .access__row dd,
html[lang="ja"] body.home-page .access.split-section .access__table td {
  font-size: clamp(12px, 1vw, 14px) !important;
  line-height: 1.45 !important;
}

html[lang="ja"] body.home-page .access.split-section .access__sub {
  margin: 12px 0 8px !important;
}

html[lang="ja"] body.home-page .access.split-section .access__table td {
  padding: 5px 8px !important;
}

html[lang="ja"] body.home-page .access.split-section .access__photo img {
  height: clamp(120px, 18svh, 180px) !important;
}

@media (max-width: 900px) {
  html[lang="ja"] body.home-page .hero.hero--split {
    height: 55svh !important;
    min-height: 55svh !important;
    max-height: 55svh !important;
  }

  html[lang="ja"] body.home-page .concept.split-section {
    height: 40svh !important;
    min-height: 40svh !important;
    max-height: none !important;
  }

  html[lang="ja"] body.home-page .access.split-section {
    min-height: 90svh !important;
  }
}

@media (max-width: 640px) {
  html[lang="ja"] body.home-page .concept.split-section {
    padding: 10px 16px !important;
  }

  html[lang="ja"] body.home-page .concept.split-section .split-section__sub {
    margin-bottom: 5px !important;
  }

  html[lang="ja"] body.home-page .concept.split-section .split-section__heading {
    font-size: clamp(16px, 4.5vw, 20px) !important;
    line-height: 1.25 !important;
  }

  html[lang="ja"] body.home-page .concept.split-section .concept__text,
  html[lang="ja"] body.home-page .concept.split-section .concept__text.concept__text--keep {
    font-size: clamp(12px, 3.35vw, 15px) !important;
    line-height: 1.48 !important;
  }

  html[lang="ja"] body.home-page .access.split-section {
    padding-top: 52px !important;
  }
}

/* JP mobile hardening: avoid double header offset and nav overflow. */
html[lang="ja"] body.home-page {
  padding-top: 0 !important;
  --jp-header-space: clamp(48px, 7svh, 58px);
}

html[lang="ja"] body.home-page .site-header {
  max-width: 100vw !important;
  left: 0 !important;
  right: 0 !important;
}

@media (max-width: 640px) {
  html[lang="ja"] body.home-page {
    --jp-header-space: clamp(40px, 9svh, 52px);
  }

  html[lang="ja"] body.home-page .site-header {
    width: 100% !important;
    top: 0 !important;
    padding: 6px 8px !important;
  }

  html[lang="ja"] body.home-page .site-header__nav {
    justify-content: center !important;
  }

  html[lang="ja"] body.home-page .site-header__nav a {
    font-size: clamp(8px, 2.45vw, 10px) !important;
    padding: 4px 5px !important;
  }
}

@media (max-width: 480px) {
  html[lang="ja"] body.home-page .site-header__logo {
    display: none !important;
  }

  html[lang="ja"] body.home-page .site-header__nav {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  html[lang="ja"] body.home-page .site-header__lang {
    margin-left: 0 !important;
    padding-left: 2px !important;
  }

  html[lang="ja"] body.home-page .site-header__lang a {
    font-size: 8px !important;
    padding: 3px 3px !important;
  }
}

/* EN/ZH home parity with JP: hero 55 / concept 40, access 90svh, mobile nav. */
html[lang="en"] body.home-page,
html[lang="zh"] body.home-page {
  padding-top: 0 !important;
  --jp-header-space: clamp(48px, 7svh, 58px);
}

html[lang="en"] body.home-page .hero.hero--split,
html[lang="zh"] body.home-page .hero.hero--split {
  height: 55svh !important;
  min-height: 55svh !important;
  max-height: 55svh !important;
  padding-top: var(--jp-header-space) !important;
  grid-template-columns: minmax(0, 62fr) minmax(260px, 38fr) !important;
  overflow: hidden !important;
}

html[lang="en"] body.home-page .hero--split .hero__image,
html[lang="en"] body.home-page .hero--split .hero__text,
html[lang="zh"] body.home-page .hero--split .hero__image,
html[lang="zh"] body.home-page .hero--split .hero__text {
  height: 100% !important;
  min-height: 0 !important;
}

html[lang="en"] body.home-page .hero--split .hero__image img,
html[lang="zh"] body.home-page .hero--split .hero__image img {
  object-fit: cover !important;
  object-position: center !important;
}

html[lang="en"] body.home-page .hero--split .hero__text,
html[lang="zh"] body.home-page .hero--split .hero__text {
  justify-content: center !important;
  padding: clamp(16px, 2.8vw, 36px) 5% !important;
}

html[lang="en"] body.home-page .hero__title-num,
html[lang="zh"] body.home-page .hero__title-num {
  font-size: clamp(28px, 3.2vw, 46px) !important;
}

html[lang="en"] body.home-page .hero__title-line,
html[lang="zh"] body.home-page .hero__title-line {
  font-size: clamp(15px, 1.55vw, 22px) !important;
}

html[lang="en"] body.home-page .hero__title-line--em,
html[lang="zh"] body.home-page .hero__title-line--em {
  font-size: clamp(17px, 1.8vw, 25px) !important;
  padding-bottom: 8px !important;
}

html[lang="en"] body.home-page .hero__scroll,
html[lang="zh"] body.home-page .hero__scroll {
  display: none !important;
}

html[lang="en"] body.home-page .concept.split-section,
html[lang="zh"] body.home-page .concept.split-section {
  height: 40svh !important;
  min-height: 40svh !important;
  max-height: none !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: auto auto !important;
  align-content: center !important;
  justify-content: center !important;
  gap: clamp(10px, 1.8vw, 22px) !important;
  padding-top: clamp(12px, 2svh, 22px) !important;
  padding-bottom: clamp(12px, 2svh, 22px) !important;
  overflow: visible !important;
}

html[lang="en"] body.home-page .concept.split-section .split-section__title,
html[lang="en"] body.home-page .concept.split-section .split-section__content,
html[lang="zh"] body.home-page .concept.split-section .split-section__title,
html[lang="zh"] body.home-page .concept.split-section .split-section__content {
  max-width: 1040px !important;
  width: 100% !important;
}

html[lang="en"] body.home-page .concept.split-section .split-section__sub,
html[lang="zh"] body.home-page .concept.split-section .split-section__sub {
  margin-bottom: 8px !important;
  font-size: clamp(10px, .9vw, 12px) !important;
}

html[lang="en"] body.home-page .concept.split-section .split-section__heading,
html[lang="zh"] body.home-page .concept.split-section .split-section__heading {
  margin-bottom: 0 !important;
  font-size: clamp(18px, 2vw, 29px) !important;
  line-height: 1.3 !important;
}

html[lang="en"] body.home-page .concept.split-section .concept__text,
html[lang="en"] body.home-page .concept.split-section .concept__text.concept__text--keep,
html[lang="zh"] body.home-page .concept.split-section .concept__text,
html[lang="zh"] body.home-page .concept.split-section .concept__text.concept__text--keep {
  max-width: 1040px !important;
  font-size: clamp(14px, 1.2vw, 18px) !important;
  line-height: 1.6 !important;
}

html[lang="en"] body.home-page .access.split-section,
html[lang="zh"] body.home-page .access.split-section {
  min-height: 90svh !important;
  height: auto !important;
  padding-top: clamp(52px, 6svh, 76px) !important;
  padding-bottom: clamp(28px, 4svh, 46px) !important;
  gap: clamp(14px, 2vw, 24px) !important;
  align-content: center !important;
}

html[lang="en"] body.home-page .access.split-section .access__grid,
html[lang="zh"] body.home-page .access.split-section .access__grid {
  gap: 14px !important;
}

html[lang="en"] body.home-page .access.split-section .access__info,
html[lang="zh"] body.home-page .access.split-section .access__info {
  padding: clamp(16px, 2vw, 24px) !important;
}

html[lang="en"] body.home-page .access.split-section .access__row,
html[lang="zh"] body.home-page .access.split-section .access__row {
  padding: 6px 0 !important;
}

html[lang="en"] body.home-page .access.split-section .access__row dt,
html[lang="en"] body.home-page .access.split-section .access__row dd,
html[lang="en"] body.home-page .access.split-section .access__table td,
html[lang="zh"] body.home-page .access.split-section .access__row dt,
html[lang="zh"] body.home-page .access.split-section .access__row dd,
html[lang="zh"] body.home-page .access.split-section .access__table td {
  font-size: clamp(12px, 1vw, 14px) !important;
  line-height: 1.45 !important;
}

html[lang="en"] body.home-page .access.split-section .access__sub,
html[lang="zh"] body.home-page .access.split-section .access__sub {
  margin: 12px 0 8px !important;
}

html[lang="en"] body.home-page .access.split-section .access__table td,
html[lang="zh"] body.home-page .access.split-section .access__table td {
  padding: 5px 8px !important;
}

html[lang="en"] body.home-page .access.split-section .access__photo img,
html[lang="zh"] body.home-page .access.split-section .access__photo img {
  height: clamp(120px, 18svh, 180px) !important;
}

@media (max-width: 900px) {
  html[lang="en"] body.home-page .hero.hero--split,
  html[lang="zh"] body.home-page .hero.hero--split {
    grid-template-columns: 1fr !important;
    grid-template-rows: minmax(0, 58%) minmax(0, 42%) !important;
  }
}

@media (max-width: 640px) {
  html[lang="en"] body.home-page,
  html[lang="zh"] body.home-page {
    --jp-header-space: clamp(40px, 9svh, 52px);
  }

  html[lang="en"] body.home-page .site-header,
  html[lang="zh"] body.home-page .site-header {
    width: 100% !important;
    top: 0 !important;
    padding: 6px 8px !important;
  }

  html[lang="en"] body.home-page .site-header__nav,
  html[lang="zh"] body.home-page .site-header__nav {
    justify-content: center !important;
  }

  html[lang="en"] body.home-page .site-header__nav a,
  html[lang="zh"] body.home-page .site-header__nav a {
    font-size: clamp(8px, 2.45vw, 10px) !important;
    padding: 4px 5px !important;
  }

  html[lang="en"] body.home-page .hero.hero--split,
  html[lang="zh"] body.home-page .hero.hero--split {
    grid-template-rows: minmax(0, 54%) minmax(0, 46%) !important;
  }

  html[lang="en"] body.home-page .concept.split-section,
  html[lang="zh"] body.home-page .concept.split-section {
    padding: 10px 16px !important;
  }

  html[lang="en"] body.home-page .concept.split-section .split-section__heading,
  html[lang="zh"] body.home-page .concept.split-section .split-section__heading {
    font-size: clamp(16px, 4.5vw, 20px) !important;
    line-height: 1.25 !important;
  }

  html[lang="en"] body.home-page .concept.split-section .concept__text,
  html[lang="en"] body.home-page .concept.split-section .concept__text.concept__text--keep,
  html[lang="zh"] body.home-page .concept.split-section .concept__text,
  html[lang="zh"] body.home-page .concept.split-section .concept__text.concept__text--keep {
    font-size: clamp(12px, 3.35vw, 15px) !important;
    line-height: 1.48 !important;
  }

  html[lang="en"] body.home-page .access.split-section,
  html[lang="zh"] body.home-page .access.split-section {
    padding-top: 52px !important;
  }
}

@media (max-width: 480px) {
  html[lang="en"] body.home-page .site-header__logo,
  html[lang="zh"] body.home-page .site-header__logo {
    display: none !important;
  }

  html[lang="en"] body.home-page .site-header__nav,
  html[lang="zh"] body.home-page .site-header__nav {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  html[lang="en"] body.home-page .site-header__lang,
  html[lang="zh"] body.home-page .site-header__lang {
    margin-left: 0 !important;
    padding-left: 2px !important;
  }

  html[lang="en"] body.home-page .site-header__lang a,
  html[lang="zh"] body.home-page .site-header__lang a {
    font-size: 8px !important;
    padding: 3px 3px !important;
  }
}

/* Header containment fix: keep the fixed bar inside the viewport. */
body.home-page .site-header,
body.jp-neumo-page .site-header {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
}

body.home-page .site-header__logo,
body.jp-neumo-page .site-header__logo {
  min-width: 0 !important;
  max-width: min(34vw, 260px) !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body.home-page .site-header__nav,
body.jp-neumo-page .site-header__nav {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  justify-content: flex-end !important;
}

body.home-page .site-header__nav a,
body.jp-neumo-page .site-header__nav a {
  min-width: 0 !important;
}

body.home-page .site-header__lang,
body.jp-neumo-page .site-header__lang {
  min-width: 0 !important;
}

@media (max-width: 820px) {
  body.home-page .site-header,
  body.jp-neumo-page .site-header {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    padding-inline: 8px !important;
  }

  body.home-page .site-header__logo,
  body.jp-neumo-page .site-header__logo {
    max-width: 20vw !important;
  }
}

@media (max-width: 560px) {
  body.home-page .site-header__logo,
  body.jp-neumo-page .site-header__logo {
    display: none !important;
  }

  body.home-page .site-header__nav,
  body.jp-neumo-page .site-header__nav {
    justify-content: center !important;
  }
}

@media (max-width: 420px) {
  body.home-page .site-header,
  body.jp-neumo-page .site-header {
    gap: 2px !important;
    padding-inline: 5px !important;
  }

  body.home-page .site-header__nav {
    gap: 1px !important;
  }

  body.home-page .site-header__nav a {
    font-size: 8px !important;
    padding-inline: 3px !important;
  }

  html[lang="en"] body.home-page .site-header__nav a,
  html[lang="zh"] body.home-page .site-header__nav a {
    font-size: 7.5px !important;
    padding-inline: 2px !important;
  }

  body.home-page .site-header__lang a,
  body.jp-neumo-page .site-header__lang a {
    font-size: 7px !important;
    padding-inline: 2px !important;
  }
}

/* Header centering fix: keep the main nav on the visual center line. */
body.home-page .site-header,
body.jp-neumo-page .site-header {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
  align-items: center !important;
  justify-content: stretch !important;
  gap: 8px !important;
}

body.home-page .site-header__logo,
body.jp-neumo-page .site-header__logo {
  grid-column: 1 !important;
  justify-self: start !important;
}

body.home-page .site-header__nav,
body.jp-neumo-page .site-header__nav {
  grid-column: 2 !important;
  justify-self: center !important;
  justify-content: center !important;
  width: max-content !important;
  max-width: min(72vw, 860px) !important;
}

body.home-page .site-header__lang,
body.jp-neumo-page .site-header__lang {
  grid-column: 3 !important;
  justify-self: end !important;
}

@media (max-width: 820px) {
  body.home-page .site-header,
  body.jp-neumo-page .site-header {
    grid-template-columns: auto 1fr auto !important;
  }

  body.home-page .site-header__nav,
  body.jp-neumo-page .site-header__nav {
    width: auto !important;
    max-width: 100% !important;
  }
}

@media (max-width: 560px) {
  body.home-page .site-header,
  body.jp-neumo-page .site-header {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  body.home-page .site-header__logo,
  body.jp-neumo-page .site-header__logo {
    display: none !important;
  }

  body.home-page .site-header__nav,
  body.jp-neumo-page .site-header__nav {
    grid-column: 1 !important;
    justify-self: center !important;
  }

  body.home-page .site-header__lang,
  body.jp-neumo-page .site-header__lang {
    grid-column: 2 !important;
  }
}

/* Header final reset: full-width bar, centered primary nav, no clipping. */
body.home-page .site-header,
body.jp-neumo-page .site-header {
  position: fixed !important;
  top: 0 !important;
  left: 50% !important;
  right: auto !important;
  width: 100vw !important;
  max-width: 100vw !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  padding: 10px 96px !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

body.home-page .site-header__logo,
body.jp-neumo-page .site-header__logo {
  display: none !important;
}

body.home-page .site-header__nav,
body.jp-neumo-page .site-header__nav {
  display: flex !important;
  flex: 0 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: calc(100vw - 220px) !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 6px !important;
  overflow: visible !important;
}

body.home-page .site-header__nav a,
body.jp-neumo-page .site-header__nav a {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}

body.home-page .site-header__lang,
body.jp-neumo-page .site-header__lang {
  position: absolute !important;
  top: 50% !important;
  right: 24px !important;
  transform: translateY(-50%) !important;
  display: flex !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding-left: 16px !important;
}

@media (max-width: 820px) {
  body.home-page .site-header,
  body.jp-neumo-page .site-header {
    padding: 8px 72px 8px 10px !important;
  }

  body.home-page .site-header__nav,
  body.jp-neumo-page .site-header__nav {
    max-width: calc(100vw - 92px) !important;
    gap: 3px !important;
  }

  body.home-page .site-header__nav a,
  body.jp-neumo-page .site-header__nav a {
    font-size: clamp(8px, 2.15vw, 10px) !important;
    padding: 4px 5px !important;
    letter-spacing: 0 !important;
  }

  body.home-page .site-header__lang,
  body.jp-neumo-page .site-header__lang {
    right: 8px !important;
    padding-left: 6px !important;
  }
}

/* Header absolute final: primary nav is centered against the viewport itself. */
body.home-page .site-header,
body.jp-neumo-page .site-header {
  position: fixed !important;
  inset: 0 0 auto 0 !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  transform: none !important;
  width: 100vw !important;
  max-width: none !important;
  min-width: 0 !important;
  height: 64px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
  overflow: visible !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
}

body.home-page .site-header__logo,
body.jp-neumo-page .site-header__logo {
  display: none !important;
}

body.home-page .site-header__nav,
body.jp-neumo-page .site-header__nav {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: calc(100vw - 190px) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  white-space: nowrap !important;
}

body.home-page .site-header__nav a,
body.jp-neumo-page .site-header__nav a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

body.home-page .site-header__lang,
body.jp-neumo-page .site-header__lang {
  position: absolute !important;
  right: 22px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 2px !important;
  margin: 0 !important;
  padding: 0 0 0 14px !important;
  min-width: 0 !important;
  width: auto !important;
  white-space: nowrap !important;
}

body.home-page,
body.jp-neumo-page {
  padding-top: 64px !important;
}

body.home-page .hero.hero--split {
  padding-top: 0 !important;
}

@media (max-width: 820px) {
  body.home-page .site-header,
  body.jp-neumo-page .site-header {
    height: 56px !important;
  }

  body.home-page .site-header__nav,
  body.jp-neumo-page .site-header__nav {
    gap: 4px !important;
    max-width: calc(100vw - 92px) !important;
  }

  body.home-page .site-header__nav a,
  body.jp-neumo-page .site-header__nav a {
    font-size: clamp(8px, 2.1vw, 10px) !important;
    padding: 4px 5px !important;
    letter-spacing: 0 !important;
  }

  body.home-page .site-header__lang,
  body.jp-neumo-page .site-header__lang {
    right: 6px !important;
    padding-left: 4px !important;
  }

  body.home-page .site-header__lang a,
  body.jp-neumo-page .site-header__lang a {
    font-size: 8px !important;
    padding: 2px 3px !important;
  }

  body.home-page,
  body.jp-neumo-page {
    padding-top: 56px !important;
  }
}

@media (max-width: 520px) {
  body.home-page .site-header,
  body.jp-neumo-page .site-header {
    height: 50px !important;
  }

  body.home-page .site-header__nav,
  body.jp-neumo-page .site-header__nav {
    left: 48% !important;
    gap: 2px !important;
    max-width: calc(100vw - 62px) !important;
  }

  body.home-page .site-header__nav a,
  body.jp-neumo-page .site-header__nav a {
    font-size: clamp(6.8px, 1.95vw, 8px) !important;
    padding: 3px 2px !important;
  }

  body.home-page .site-header__lang,
  body.jp-neumo-page .site-header__lang {
    right: 2px !important;
  }

  body.home-page .site-header__lang a,
  body.jp-neumo-page .site-header__lang a {
    font-size: 6.8px !important;
    padding: 2px 1px !important;
  }

  body.home-page,
  body.jp-neumo-page {
    padding-top: 50px !important;
  }
}

/* Home first-view balance after fixed header: add image breathing room. */
body.home-page {
  --home-header-h: 64px;
  --home-hero-gap: clamp(14px, 2.2svh, 26px);
}

body.home-page .hero.hero--split {
  height: calc(55svh - var(--home-header-h)) !important;
  min-height: calc(55svh - var(--home-header-h)) !important;
  max-height: calc(55svh - var(--home-header-h)) !important;
  margin-top: var(--home-hero-gap) !important;
  padding-top: 0 !important;
}

body.home-page .concept.split-section {
  height: calc(45svh - var(--home-hero-gap)) !important;
  min-height: calc(45svh - var(--home-hero-gap)) !important;
  max-height: none !important;
  padding-top: clamp(10px, 1.6svh, 18px) !important;
  padding-bottom: clamp(10px, 1.6svh, 18px) !important;
  overflow: visible !important;
}

body.home-page .concept.split-section .split-section__sub {
  margin-bottom: 6px !important;
}

body.home-page .concept.split-section .split-section__heading {
  font-size: clamp(17px, 1.9vw, 28px) !important;
  line-height: 1.28 !important;
}

body.home-page .concept.split-section .concept__text,
body.home-page .concept.split-section .concept__text.concept__text--keep {
  font-size: clamp(13px, 1.12vw, 17px) !important;
  line-height: 1.52 !important;
}

@media (max-width: 820px) {
  body.home-page {
    --home-header-h: 56px;
    --home-hero-gap: clamp(10px, 1.8svh, 18px);
  }
}

@media (max-width: 520px) {
  body.home-page {
    --home-header-h: 50px;
    --home-hero-gap: 8px;
  }

  body.home-page .hero.hero--split {
    height: calc(54svh - var(--home-header-h)) !important;
    min-height: calc(54svh - var(--home-header-h)) !important;
    max-height: calc(54svh - var(--home-header-h)) !important;
  }

  body.home-page .concept.split-section {
    height: calc(46svh - var(--home-hero-gap)) !important;
    min-height: calc(46svh - var(--home-hero-gap)) !important;
    padding: 8px 14px !important;
  }
}

@media (max-width: 420px) {
  body.home-page .site-header,
  body.jp-neumo-page .site-header {
    padding: 6px 54px 6px 4px !important;
  }

  body.home-page .site-header__nav,
  body.jp-neumo-page .site-header__nav {
    max-width: calc(100vw - 58px) !important;
    gap: 1px !important;
  }

  body.home-page .site-header__nav a,
  body.jp-neumo-page .site-header__nav a {
    font-size: clamp(6.8px, 2.05vw, 8px) !important;
    padding: 3px 2px !important;
  }

  body.home-page .site-header__lang,
  body.jp-neumo-page .site-header__lang {
    right: 3px !important;
    padding-left: 2px !important;
  }

  body.home-page .site-header__lang a,
  body.jp-neumo-page .site-header__lang a {
    font-size: 6.8px !important;
    padding: 2px 2px !important;
  }
}
