@charset "UTF-8";

/* ============================================================
   01. ベース・共通コンポーネント
   配色、共通タイポグラフィ、ボタン、レイアウト、スクロール表示。
   ============================================================ */

:root {
  --sea: #d0e3e0;
  --accent: #80c6c1;
  --cream: #f5efea;
  --sand: #deccba;
  --ink: #242b2b;
  --muted: #6e7776;
  --max: 1120px;
  --section-title-size: 27px;
  --section-description-size: clamp(12px, 1.2vw, 14px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.85;
  font-weight: 400;
}

/* サイト全体のごく薄い紙の粒子感 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='paper'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.68' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23paper)' opacity='.3'/%3E%3C/svg%3E");
  opacity: .25;
  mix-blend-mode: multiply;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: .78;
}

img {
  max-width: 100%;
  height: auto;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(calc(100% - 64px),var(--max));
  margin: auto;
}

.narrow {
  max-width: 740px;
}

.centered {
  text-align: center;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
}

.skip-link:focus {
  left: 8px;
  background: white;
}

.pill-button {
  background: var(--accent);
  color: white;
  border: 0;
  border-radius: 999px;
  padding: 10px 36px;
  display: inline-block;
  text-align: center;
  line-height: 1.4;
  font-weight: 600;
  font-size: 13px;
}

.is-disabled {
  opacity: .65;
  cursor: default;
}

.placeholder-mark {
  font-size: 90px;
  line-height: 1;
  color: #b6ccca;
}

.section-pad {
  padding: 90px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 42px;
}

.section-heading h2 {
  font-weight: 500;
  font-size: var(--section-title-size);
  letter-spacing: .13em;
  margin: 0;
}

.section-heading p {
  font-size: 12px;
  margin: 10px 0 0;
}

/* 英語小見出し → 日本語見出し → 説明文の共通スタイル */
.section-heading .section-eyebrow {
  margin: 0 0 13px;
  color: var(--muted);
  font-family: "Kiwi Maru", serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.18em;
}

.section-heading .section-description {
  margin: 18px auto 0;
  font-size: var(--section-description-size);
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.035em;
}

.experience-showcase .section-description {
  white-space: pre-line;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: .2em;
}

.tint {
  background: var(--cream);
}

.media-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 170px;
  background: var(--sea);
}

.media-placeholder .placeholder-mark {
  font-size: 70px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 35px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  padding: 4px 6px;
}

.center-link {
  display: flex;
  width: max-content;
  margin: 44px auto 0;
}

.entry-content {
  overflow-wrap: anywhere;
}

.entry-content img {
  height: auto;
}

.intro-text {
  margin-bottom: 40px;
}

.muted {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease,transform .65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
dl,
dt,
dd,
time,
.entry-content {
  font-family: "Shippori Mincho", serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
}

a,
button,
.page-numbers {
  font-weight: 300;
  font-family: "Kiwi Maru", serif;
}

.pill-button,
.text-link,
.experience-top-more,
.experience-top-more span {
  font-family: "Kiwi Maru", serif;
  font-weight: 300;
}

@media (max-width: 767px) {

  .container {
    width: min(calc(100% - 36px),var(--max));
  }

  .section-pad {
    padding: 60px 0;
  }

  :root {
    --section-title-size: 22px;
  }

}

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

}

/* ============================================================
   02. ヘッダー・予約ボタン・オーバーレイメニュー
   追従ヘッダー／予約ボタンの放射状ホバー／半透明オーバーレイ。
   ============================================================ */

.site-header {
  height: 64px;
  background: rgba(220, 235, 232, 0.80);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background-color 0.65s ease, box-shadow 0.65s ease;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: white;
  font-size: 12px;
  font-weight: 700;
}

.brand img {
  max-height: 44px;
  width: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.instagram svg {
  display: block;
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.header-book {
  min-width: 150px;
  padding: 8px 25px;
}

.menu-toggle {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: #374241;
}

.site-nav {
  display: block;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  padding: 0;
  min-width: 0;
  background: rgba(27, 48, 45, 0.48);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  box-shadow: none;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform 0.65s cubic-bezier(.22, 1, .36, 1), opacity 0.5s ease, visibility 0s linear 0.65s;
}

.site-nav.is-open {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition: transform 0.65s cubic-bezier(.22, 1, .36, 1), opacity 0.5s ease, visibility 0s;
}

.site-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav li {
  margin: 0;
  padding: 0;
  text-align: center;
}

body.admin-bar .site-header {
  top: 32px;
}

.site-header,
.site-header a,
.site-header button {
  font-family: "Kiwi Maru", serif;
  font-weight: 300;
}

/* ヘッダー・施設紹介の予約ボタン：共通ホバー演出 */
.header-book:not(.is-disabled),
.facility-floor-booking .pill-button {
  background-color: var(--accent);
  background-image: radial-gradient(
    circle,
    #52baa6 99%,
    transparent 100%
  );
  background-position: center;
  background-repeat: no-repeat;
  background-size: 0 0;
  overflow: hidden;
  transition:
    background-size 1.15s cubic-bezier(.22, 1, .36, 1),
    color 0.6s ease;
}

.header-book:not(.is-disabled):hover,
.header-book:not(.is-disabled):focus-visible,
.facility-floor-booking .pill-button:hover,
.facility-floor-booking .pill-button:focus-visible {
  background-size: 360px 360px;
  color: #ffffff;
  opacity: 1;
}

body.ybc-menu-open {
  overflow: hidden;
}

.site-nav > ul,
.site-nav > div > ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 4vh, 38px);
  width: min(460px, 100%);
  min-height: 100%;
  margin: 0 0 0 auto;
  padding: 110px 30px 85px;
  list-style: none;
  background: rgba(239, 247, 243, 0.90);
  overflow-y: auto;
}

.site-nav li a {
  display: inline-block;
  font-family: "Shippori Mincho", serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.site-nav li a:hover {
  opacity: 0.65;
  transform: translateY(-2px);
}

.ybc-menu-close {
  position: fixed;
  top: max(22px, env(safe-area-inset-top));
  right: 28px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #344c49;
  z-index: 1002;
}

.ybc-menu-close::before,
.ybc-menu-close::after {
  content: "";
  position: absolute;
  width: 39px;
  height: 1px;
  background: currentColor;
}

.ybc-menu-close::before {
  transform: rotate(45deg);
}

.ybc-menu-close::after {
  transform: rotate(-45deg);
}

.ybc-menu-close:hover {
  opacity: 0.65;
}

/* TOP：画像の上ではヘッダーを透明に、波が到達したら通常色へ */
body.home .site-header {
  position: fixed;
  left: 0;
  right: 0;
  background-color: transparent;
  box-shadow: none;
}

body.home .site-header.is-on-wave {
  background-color: rgba(220, 235, 232, 0.80);
  box-shadow: 0 2px 14px rgba(26, 45, 42, 0.04);
}

body.home .site-header:not(.is-on-wave) .brand {
  background: transparent;
  color: #ffffff;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.55);
}

body.home .site-header:not(.is-on-wave) .brand img {
  filter: brightness(0) invert(1) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

body.home .site-header:not(.is-on-wave) .header-book {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.96);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.55);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.22);
}

body.home .site-header:not(.is-on-wave) .header-book:hover,
body.home .site-header:not(.is-on-wave) .header-book:focus-visible {
  text-shadow: none;
}

body.home .site-header:not(.is-on-wave) .menu-toggle span {
  background-color: #ffffff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
}

body.home .site-header:not(.is-on-wave) .instagram {
  color: #ffffff;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6));
}

.site-header .brand,
.site-header .brand img,
.site-header .menu-toggle span,
.site-header .instagram {
  transition: background-color 0.65s ease, color 0.65s ease, filter 0.65s ease, box-shadow 0.65s ease;
}

@media (max-width: 782px) {

  body.admin-bar .site-header {
    top: 46px;
  }

}

@media (max-width: 767px) {

  .site-header {
    height: 54px;
  }

  .header-inner {
    padding: 0 10px;
  }

  .brand {
    width: 35px;
    height: 35px;
  }

  .header-actions {
    gap: 10px;
  }

  .header-book {
    min-width: 105px;
    padding: 7px 16px;
  }

  .instagram svg {
    width: 23px;
    height: 23px;
  }

  .site-nav > ul,
  .site-nav > div > ul {
    width: min(380px, 88%);
    padding: 100px 20px 60px;
  }

  .ybc-menu-close {
    right: 13px;
  }

  .ybc-menu-close::before,
  .ybc-menu-close::after {
    width: 34px;
  }

}

@media (prefers-reduced-motion: reduce) {

  .site-nav,
  .site-nav.is-open,
  .site-header,
  .site-header .brand,
  .site-header .brand img,
  .site-header .menu-toggle span,
  .site-header .instagram {
    transition: none;
  }

}

/* ============================================================
   03. 下層ページ共通ファーストビュー
   通常ページのヒーロー。静止ウェーブは下層では非表示。
   ============================================================ */

.page-hero {
  height: 360px;
  background: var(--sea);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.page-hero:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: -2%;
  width: 104%;
  height: 75px;
  background: #fff;
  clip-path: polygon(0 45%,10% 70%,24% 87%,39% 94%,57% 74%,73% 55%,87% 48%,100% 58%,100% 100%,0 100%);
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 90px;
  padding-bottom: 35px;
}

.hero-inner h1 {
  font-size: clamp(21px,3vw,34px);
  font-weight: 500;
  letter-spacing: .14em;
  line-height: 1.7;
}

.hero-inner p {
  letter-spacing: .12em;
}

.hero-art {
  width: 200px;
  height: 160px;
  display: grid;
  place-items: center;
  color: #b5cbc7;
}

.hero-large {
  height: 530px;
}

.hero-large .hero-inner {
  justify-content: space-around;
}

body:not(.home) .page-hero::after {
  display: none;
}

/* 下層ページ共通：英語アイブローと日本語タイトルを中央に配置 */
.page-hero--editorial .hero-inner {
  justify-content: center;
  gap: 0;
  text-align: center;
}

.page-hero--editorial .page-hero-heading {
  width: 100%;
}

.page-hero--editorial .hero-inner h1 {
  margin: 0;
  font-size: clamp(27px, 3vw, 35px);
  font-weight: 500;
  letter-spacing: 0.13em;
}

.page-hero--editorial .page-hero-eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-family: "Kiwi Maru", serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.18em;
}

/* 下層5ページ：背景写真を波の背面に残す */
body.ybc-subpage-photo-wave main > .page-hero {
  position: sticky;
  top: 64px;
  z-index: 1;
}

/* 波より下のコンテンツを写真より前面に配置 */
body.ybc-subpage-photo-wave main > .ybc-page-wave ~ section,
body.ybc-subpage-photo-wave main > .ybc-page-wave ~ article,
body.ybc-subpage-photo-wave main > .ybc-page-wave ~ div {
  position: relative;
  z-index: 2;
}

/* 白背景のセクションでは背景写真が透けないようにする */
body.ybc-subpage-photo-wave main > .ybc-page-wave + section:not(.tint):not(.access-strip) {
  background-color: #fff;
}

/* WordPressの管理バー表示時 */
body.admin-bar.ybc-subpage-photo-wave main > .page-hero {
  top: 96px;
}

@media (max-width: 767px) {
  body.ybc-subpage-photo-wave main > .page-hero {
    top: 54px;
  }

  body.admin-bar.ybc-subpage-photo-wave main > .page-hero {
    top: 100px;
  }
}

@media (max-width: 767px) {

  .page-hero {
    height: 300px;
  }

  .hero-large {
    height: 420px;
  }

  .hero-inner {
    gap: 18px;
    justify-content: space-between;
  }

  .hero-inner h1 {
    font-size: 19px;
  }

  .hero-art {
    width: 38%;
    height: 120px;
  }

  .hero-art .placeholder-mark {
    font-size: 60px;
  }

  .page-hero:after {
    height: 55px;
  }

}

@media (max-width: 420px) {

  .hero-inner h1 {
    font-size: 17px;
  }

}

/* ============================================================
   04. TOP：ファーストビュー・スライドショー
   TOPのスライド画像・キャプション・番号ナビゲーション。
   ============================================================ */

.home-slideshow {
  overflow: hidden;
  background: var(--sea);
  position: sticky;
  top: 64px;
  height: calc(100svh - 64px);
  z-index: 1;
}

/* TOPではヘッダーを写真に重ね、画面いっぱいに画像を見せる */
body.home .home-slideshow {
  top: 0;
  height: 100svh;
}

.home-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.home-slide.is-active {
  opacity: 1;
}

.home-slide-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-slideshow .home-hero-content {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  max-width: none;
  height: 100%;
  padding: calc((100svh - 64px) * 0.3) clamp(24px, 5vw, 90px) 0;
  box-sizing: border-box;
  text-align: left;
  flex-direction: column;
}

.home-slideshow .home-hero-content h1,
.home-slideshow .home-hero-content p {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
  font-family: "Kiwi Maru", serif;
  font-weight: 400;
  font-style: normal;
}

/* キャッチコピー上の宿泊施設説明 */
.home-slideshow .home-hero-content .home-hero-kicker {
  margin: 0 0 14px;
  font-family: "Kiwi Maru", serif;
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.8;
  max-width: 100%;
  text-wrap: balance;
}

.home-slideshow::after {
  display: none;
}

.home-slideshow ~ section {
  position: relative;
  z-index: 2;
}

.home-slideshow ~ section:not(.tint):not(.access-strip) {
  background-color: #fff;
}

.home-slideshow ~ section.tint {
  background-color: var(--cream);
}

.home-slide-nav {
  position: absolute;
  top: 50%;
  right: clamp(16px, 4vw, 64px);
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.home-slide-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  font: inherit;
}

.home-slide-nav-number {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.home-slide-nav-track {
  display: block;
  width: 36px;
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.home-slide-nav-progress {
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
}

.home-slide-nav-item.is-active {
  color: #fff;
}

.home-slide-nav-item.is-active .home-slide-nav-progress {
  animation: ybc-slide-progress 5s linear forwards;
}

.home-slide-nav-item:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

.home-slideshow .home-hero-content h1 {
  white-space: pre-line;
}

/* スクロールの方向を示す装飾（クリック不可）。波より前面に固定 */
.home-scroll-cue {
  position: fixed;
  left: 50%;
  bottom: 175px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.45);
  transform: translateX(-50%);
  opacity: 1;
  pointer-events: none;
  transition: color 0.32s ease, opacity 0.8s ease;
}

/* 背景写真は一切参照しない。波と重なったときだけ薄いグレーにする */
.home-scroll-cue.is-over-wave {
  color: #cccccc;
  text-shadow: none;
}

.home-scroll-cue.is-hidden {
  opacity: 0;
}

.home-scroll-cue-label {
  font-family: "Kiwi Maru", serif;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.home-scroll-cue-arrow {
  display: block;
  font-family: "Kiwi Maru", serif;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  animation: ybc-scroll-bounce 2s ease-in-out infinite;
}

@keyframes ybc-scroll-bounce {
  0%, 18%, 55%, 100% { transform: translateY(0); }
  32% { transform: translateY(9px); }
  45% { transform: translateY(-2px); }
}

@keyframes ybc-slide-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 767px) {

  .home-slide-nav {
    right: 14px;
    gap: 12px;
  }

  .home-slide-nav-item {
    gap: 8px;
  }

  .home-slide-nav-number {
    font-size: 11px;
  }

  .home-slide-nav-track {
    width: 24px;
  }

  .home-scroll-cue {
    bottom: 140px;
  }

  .home-scroll-cue-label {
    font-size: 11px;
  }

  .home-scroll-cue-arrow {
    font-size: 23px;
  }

}

@media (prefers-reduced-motion: reduce) {

  .home-slide {
    transition: none;
  }

  .home-slide-nav-item.is-active .home-slide-nav-progress {
    animation: none;
    transform: scaleX(1);
  }

  .home-scroll-cue {
    transition: none;
  }

  .home-scroll-cue-arrow {
    animation: none;
  }
}

/* ============================================================
   05. TOP／下層ページ共通：3層ウェーブ
   既存の波形、速度（18s・28s・42s）を維持する。
   ============================================================ */

.home-wave {
  position: relative;
  z-index: 2;
  height: 140px;
  margin-top: -140px;
  overflow: hidden;
  pointer-events: none;
}

.home-wave-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.home-wave-track {
  position: absolute;
  inset: 0 auto 0 0;
  width: 200%;
  height: 100%;
  will-change: transform;
}

.home-wave-track svg {
  display: block;
  width: 100%;
  height: 100%;
}

.home-wave-back .home-wave-track {
  opacity: 0.3;
  animation: ybc-wave-flow 18s linear infinite;
}

.home-wave-middle .home-wave-track {
  opacity: 0.6;
  animation: ybc-wave-flow 28s linear infinite;
}

.home-wave-front .home-wave-track {
  opacity: 1;
  animation: ybc-wave-flow 42s linear infinite;
}

.home-wave + .intro-section {
  position: relative;
  z-index: 2;
  background: #fff;
  margin-top: -2px;
}

.ybc-page-wave {
  position: relative;
  z-index: 2;
}

.ybc-page-wave + section,
.ybc-page-wave + article {
  position: relative;
  z-index: 2;
  margin-top: -2px;
}

@keyframes ybc-wave-flow {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 767px) {

  .home-wave {
    height: 105px;
    margin-top: -105px;
  }

}

@media (prefers-reduced-motion: reduce) {

  .home-wave-track {
    animation: none;
    will-change: auto;
  }

}

/* ============================================================
   06. TOP：宿泊 × 体験・コンセプト
   見出しのクロス演出、本文とナビゲーションボタン。
   ============================================================ */

.intro-section h2 {
  font-size: 27px;
  font-weight: 500;
}

.button-row {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 32px;
}

.intro-cross-heading {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  white-space: nowrap;
}

.intro-cross {
  display: block;
  width: clamp(50px, 9vw, 90px);
  height: clamp(50px, 9vw, 90px);
  flex: none;
  overflow: visible;
}

.intro-cross path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-dasharray: 54;
}

.intro-cross.is-visible path {
  animation: ybc-cross-draw 1.45s ease-out both;
}

.intro-section .reveal {
  transition: opacity 1.8s ease, transform 1.8s ease;
}

.intro-cross:not(.is-visible) path {
  stroke-dashoffset: 54;
}

.intro-concept {
  margin: 28px auto 0;
}

.intro-concept p {
  margin: 0;
  line-height: 2;
  letter-spacing: 0.035em;
}

.intro-concept p:first-child {
  margin-bottom: 1.5em;
}

.intro-concept p:nth-child(2) {
  margin-bottom: 1em;
}

/* TOP先行：説明文はZEN丸ゴシック Regular。見出しの明朝体とKiwi Maruは維持。 */
body.home .intro-concept p,
body.home .section-heading .section-description,
body.home .facility-fact p,
body.home .blog-preview .home-blog-info p,
body.home .access-strip p,
body.home .access-strip li {
  font-family: "Zen Maru Gothic", "Kiwi Maru", sans-serif;
  font-weight: 400;
}

/* 大見出しの下に、控えめな手描き風の細線を置く。 */
body.home .section-heading h2::after {
  content: "";
  display: block;
  width: 128px;
  max-width: 45%;
  height: 10px;
  margin: 12px auto 0;
  background: url("../images/organic-line.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}

/* ============================================================
   コンセプト・エディトリアルコラージュ
   写真は説明文の左右に各1枚、下部に3枚。見出しより上には置かない。
   DOM・管理画面の画像設定はそのまま再利用する。
   ============================================================ */

.intro-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* 写真がある場合に限り下部3枚の展示領域を確保。 */
.intro-section:has(.intro-collage) {
  padding-bottom: 505px;
}

.intro-section > .container {
  position: relative;
  z-index: 2;
}

.intro-collage {
  position: absolute;
  inset: 0 auto 0 50%;
  z-index: 1;
  width: min(100%, 1500px);
  transform: translateX(-50%);
  pointer-events: none;
}

.intro-collage-item,
.intro-collage-accent {
  position: absolute;
  display: block;
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 1s ease, transform 1.15s cubic-bezier(.2, .8, .25, 1);
}

.intro-collage-item.is-visible,
.intro-collage-accent.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 写真5枚・装飾4つ：出現後にそれぞれ異なる周期でゆっくり浮遊。
   初回の順次フェードインが終わってから始め、既存のスクロール演出を維持する。 */
@keyframes ybc-float-gentle-a {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  28% { transform: translate3d(3px, -11px, 0) rotate(0.9deg); }
  63% { transform: translate3d(-4px, 5px, 0) rotate(-0.6deg); }
}

@keyframes ybc-float-gentle-b {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  34% { transform: translate3d(-6px, -7px, 0) rotate(-0.8deg); }
  72% { transform: translate3d(4px, 6px, 0) rotate(0.7deg); }
}

@keyframes ybc-float-gentle-c {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  37% { transform: translate3d(5px, 6px, 0) rotate(0.7deg); }
  71% { transform: translate3d(-3px, -10px, 0) rotate(-0.8deg); }
}

/* 開始までの約1.2秒は従来のフェードイン（transform）を優先。 */
.intro-collage-item-1.is-visible { animation: ybc-float-gentle-a 9.7s ease-in-out 1.2s infinite; }
.intro-collage-item-2.is-visible { animation: ybc-float-gentle-b 11.3s ease-in-out 1.5s infinite; }
.intro-collage-item-3.is-visible { animation: ybc-float-gentle-c 8.4s ease-in-out 1.3s infinite; }
.intro-collage-item-4.is-visible { animation: ybc-float-gentle-b 10.2s ease-in-out 1.8s infinite; }
.intro-collage-item-5.is-visible { animation: ybc-float-gentle-a 12.1s ease-in-out 1.4s infinite; }

.intro-collage-accent-1.is-visible { animation: ybc-float-gentle-c 7.9s ease-in-out 1.5s infinite; }
.intro-collage-accent-2.is-visible { animation: ybc-float-gentle-a 9.1s ease-in-out 1.7s infinite; }
.intro-collage-accent-3.is-visible { animation: ybc-float-gentle-b 8.6s ease-in-out 1.3s infinite; }
.intro-collage-accent-4.is-visible { animation: ybc-float-gentle-c 10.7s ease-in-out 1.9s infinite; }

.intro-collage-item {
  overflow: hidden;
  /* 手で切り取ったような柔らかい輪郭（画像データはそのまま）。 */
  border-radius: 48% 52% 43% 57% / 49% 44% 56% 51%;
}

.intro-collage-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 左右の写真：コンセプト本文を挟む位置から始める。 */
.intro-collage-item-1 {
  top: 265px;
  left: 2.5%;
  width: 21%;
  height: 252px;
  border-radius: 44% 56% 61% 39% / 52% 43% 57% 48%;
}

.intro-collage-item-2 {
  top: 352px;
  right: 2%;
  width: 20%;
  height: 284px;
  border-radius: 57% 43% 47% 53% / 39% 57% 43% 61%;
}

/* 下部の3枚：横幅・高さ・底辺を揃えすぎない。 */
.intro-collage-item-3 {
  bottom: 78px;
  left: 5%;
  width: 27%;
  height: 290px;
  border-radius: 49% 51% 56% 44% / 58% 41% 59% 42%;
}

.intro-collage-item-4 {
  bottom: 12px;
  left: 39%;
  width: 23%;
  height: 232px;
  border-radius: 60% 40% 51% 49% / 44% 55% 45% 56%;
}

.intro-collage-item-5 {
  bottom: 88px;
  right: 4%;
  width: 27%;
  height: 285px;
  border-radius: 42% 58% 46% 54% / 51% 61% 39% 49%;
}

/* 淡いミント色は維持し、装飾の四角を小さな不揃いの丸に。 */
.intro-collage-accent {
  background: #dcebe8;
  border-radius: 53% 47% 58% 42% / 42% 59% 41% 58%;
}

.intro-collage-accent-1 {
  top: 425px;
  left: 19%;
  width: 58px;
  height: 58px;
  border-radius: 41% 59% 54% 46% / 56% 41% 59% 44%;
}

.intro-collage-accent-2 {
  top: 312px;
  right: 21%;
  width: 46px;
  height: 46px;
  border-radius: 54% 46% 42% 58% / 49% 61% 39% 51%;
}

.intro-collage-accent-3 {
  bottom: 268px;
  left: 31%;
  width: 65px;
  height: 65px;
  border-radius: 58% 42% 57% 43% / 44% 53% 47% 56%;
}

.intro-collage-accent-4 {
  bottom: 40px;
  right: 29%;
  width: 54px;
  height: 54px;
  border-radius: 48% 52% 41% 59% / 57% 42% 58% 43%;
}

/* 狭い画面では左右の写真も本文の後ろへ移動し、重なりを防ぐ。 */
@media (max-width: 1199px) {
  .intro-section:has(.intro-collage) {
    padding-bottom: 90px;
  }

  .intro-collage {
    position: relative;
    inset: auto;
    width: min(calc(100% - 48px), 920px);
    height: 520px;
    margin: 64px auto 0;
    transform: none;
  }

  .intro-collage-item-1 {
    top: 10px;
    left: 0;
    width: 30%;
    height: 235px;
  }

  .intro-collage-item-2 {
    top: 68px;
    right: 5%;
    width: 30%;
    height: 235px;
  }

  .intro-collage-item-3 {
    bottom: 18px;
    left: 5%;
    width: 28%;
    height: 213px;
  }

  .intro-collage-item-4 {
    bottom: 82px;
    left: 37%;
    width: 26%;
    height: 195px;
  }

  .intro-collage-item-5 {
    bottom: 0;
    right: 0;
    width: 30%;
    height: 215px;
  }

  .intro-collage-accent-1 { top: 180px; left: 29%; }
  .intro-collage-accent-2 { top: 20px; right: 27%; }
  .intro-collage-accent-3 { bottom: 120px; left: 32%; }
  .intro-collage-accent-4 { bottom: 38px; right: 29%; }
}

@keyframes ybc-cross-draw {
  from {
    stroke-dashoffset: 54;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@media (max-width: 767px) {

  .button-row {
    flex-direction: column;
    align-items: center;
  }

  .button-row .pill-button {
    min-width: 200px;
  }

  .intro-concept {
    margin-top: 22px;
  }

  .intro-concept p {
    line-height: 1.9;
    letter-spacing: 0.01em;
  }

  .intro-section:has(.intro-collage) {
    padding-bottom: 60px;
  }

  .intro-collage {
    width: min(calc(100% - 28px), 540px);
    height: 435px;
    margin-top: 52px;
  }

  .intro-collage-item-1 {
    top: 0;
    left: 0;
    width: 43%;
    height: 160px;
  }

  .intro-collage-item-2 {
    top: 43px;
    right: 0;
    width: 42%;
    height: 163px;
  }

  .intro-collage-item-3 {
    bottom: 6px;
    left: 0;
    width: 34%;
    height: 188px;
  }

  .intro-collage-item-4 {
    bottom: 58px;
    left: 37%;
    width: 27%;
    height: 150px;
  }

  .intro-collage-item-5 {
    bottom: 0;
    right: 0;
    width: 33%;
    height: 178px;
  }

  .intro-collage-accent-1 {
    top: 118px;
    left: 40%;
    width: 34px;
    height: 34px;
  }

  .intro-collage-accent-2 {
    top: 13px;
    right: 39%;
    width: 31px;
    height: 31px;
  }

  .intro-collage-accent-3 {
    bottom: 156px;
    left: 31%;
    width: 36px;
    height: 36px;
  }

  .intro-collage-accent-4 {
    bottom: 35px;
    right: 31%;
    width: 37px;
    height: 37px;
  }

}

@media (prefers-reduced-motion: reduce) {

  .intro-cross path {
    animation: none !important;
  }

  .intro-section .reveal {
    transition: none;
  }

  .intro-cross:not(.is-visible) path {
    stroke-dashoffset: 0;
  }

  .intro-collage-item,
  .intro-collage-accent {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none !important;
  }

}

/* ============================================================
   07. 施設紹介：TOP写真スライドと施設一覧の紹介文
   スライドはTOP、滞在案内・人数の情報は施設一覧の上部へ。
   ============================================================ */

.feature-list {
  display: grid;
  gap: 56px;
}

.feature-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 7%;
}

.feature-card:nth-child(even) .feature-image {
  order: 2;
}

.feature-image {
  aspect-ratio: 1.45;
}

.feature-text h3 {
  font-size: 22px;
  font-weight: 500;
}

.feature-text p {
  white-space: pre-line;
}

.facility-showcase {
  position: relative;
  /* コラージュ最下部とスライドショーの見出しの間に余白を確保。 */
  padding-top: clamp(115px, 11vw, 160px);
}

/* 施設紹介ページの冒頭：TOPから移した英語見出し・説明・数字 */
.facility-landing {
  background: #ffffff;
  padding-top: clamp(110px, 11vw, 150px);
  padding-bottom: 105px;
}

.facility-slideshow {
  position: relative;
  display: block;
  width: 100%;
  height: clamp(320px, 45vw, 580px);
  overflow: hidden;
  background: var(--sea);
  color: inherit;
  cursor: pointer;
}

/* TOPのみ：画面いっぱいの写真を、余白付きの有機的な角丸へ。 */
body.home .facility-showcase .facility-slideshow {
  width: min(calc(100% - 64px), 1180px);
  margin-inline: auto;
  border-radius: 32px;
}

a.facility-slideshow:hover {
  opacity: 1;
}

a.facility-slideshow:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.facility-slides {
  position: absolute;
  inset: 0;
}

.facility-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.facility-slide.is-active {
  opacity: 1;
}

.facility-slide-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: filter 0.4s ease;
}

.facility-slideshow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 75px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.22), transparent);
  pointer-events: none;
  z-index: 2;
}

.facility-progress-track {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 36px;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

.facility-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: left center;
}

.facility-slideshow.is-playing .facility-progress-fill {
  animation: ybc-facility-progress 5s linear forwards;
}

.facility-slideshow-empty {
  display: grid;
  place-items: center;
  cursor: default;
}

.facility-slideshow-empty p {
  color: var(--ink);
  font-size: 15px;
}

.facility-slides::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.18);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.facility-intro {
  width: min(100%, 830px);
  margin: 0 auto 64px;
  text-align: center;
}

.facility-intro h2 {
  margin: 0 0 22px;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 500;
  letter-spacing: 0.07em;
  line-height: 1.7;
}

.facility-intro p {
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-size: var(--section-description-size);
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.035em;
}

/* 説明カードではなく、ホテルらしい数字のタイポグラフィ */
.facility-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(25px, 8vw, 100px);
  width: min(100%, 720px);
  margin: 74px auto 0;
}

.facility-fact {
  min-width: 0;
  padding: 0 12px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(54, 76, 70, 0.2);
}

body.home .facility-fact {
  position: relative;
  border-bottom: 0;
}

body.home .facility-fact::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  background: url("../images/organic-line.svg") center / 100% 100% no-repeat;
  opacity: .75;
  pointer-events: none;
}

.facility-fact-number {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(55px, 7vw, 90px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.06em;
}

.facility-fact-unit {
  margin-left: 9px;
  font-family: "Kiwi Maru", serif;
  font-size: clamp(12px, 1.5vw, 17px);
  font-weight: 300;
  letter-spacing: 0.04em;
}

.facility-fact p {
  margin: 15px 0 0;
  font-size: clamp(12px, 1.3vw, 15px);
  letter-spacing: 0.05em;
}

/* 施設紹介ページ：全体スライドショーと各階の共通写真ギャラリー。 */
.facility-overview {
  background: #ffffff;
}

.ybc-facility-gallery {
  width: 100%;
  background: #ffffff;
}

.ybc-facility-gallery-stage {
  position: relative;
  width: 100%;
  height: clamp(320px, 44vw, 610px);
  overflow: hidden;
  background: var(--sea);
}

/* 施設紹介：全体・各階の写真を余白付きの均一な角丸にする。 */
.facility-overview .ybc-facility-gallery-stage,
.facility-floor-section > .ybc-facility-gallery .ybc-facility-gallery-stage {
  width: min(calc(100% - 64px), 1180px);
  margin-inline: auto;
  border-radius: 32px;
}

/* 各階のサムネイルは写真と同じ系統の角丸に。 */
.facility-overview .ybc-facility-gallery-thumb,
.facility-floor-section .ybc-facility-gallery-thumb {
  border-radius: 10px;
  overflow: hidden;
}

@media (max-width: 767px) {
  .facility-overview .ybc-facility-gallery-stage,
  .facility-floor-section > .ybc-facility-gallery .ybc-facility-gallery-stage {
    width: calc(100% - 36px);
    border-radius: 22px;
  }

  .facility-point-media > img,
  .facility-point-media > .media-placeholder {
    border-radius: 22px;
  }
}

/* TOPと同じ細い進捗バー */
.ybc-facility-gallery.has-multiple .ybc-facility-gallery-stage::before,
.ybc-facility-gallery.has-multiple .ybc-facility-gallery-stage::after {
  content: "";
  position: absolute;
  bottom: 24px;
  left: 50%;
  z-index: 4;
  width: 36px;
  height: 2px;
  border-radius: 999px;
  pointer-events: none;
}

.ybc-facility-gallery.has-multiple .ybc-facility-gallery-stage::before {
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.4);
}

.ybc-facility-gallery.has-multiple .ybc-facility-gallery-stage::after {
  background: #ffffff;
  transform: translateX(-50%) scaleX(0);
  transform-origin: left center;
}

.ybc-facility-gallery.is-playing .ybc-facility-gallery-stage::after {
  animation: ybc-gallery-progress 5s linear forwards;
}

@keyframes ybc-gallery-progress {
  from {
    transform: translateX(-50%) scaleX(0);
  }

  to {
    transform: translateX(-50%) scaleX(1);
  }
}

/* 写真を重ねてクロスフェード */
.ybc-facility-gallery-slide,
.ybc-facility-gallery-slide > img,
.ybc-facility-gallery-image {
  display: block;
  width: 100%;
  height: 100%;
}

.ybc-facility-gallery-slide[hidden] {
  display: none;
}

.ybc-facility-gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.5s ease-in-out;
}

.ybc-facility-gallery-slide.is-active {
  opacity: 1;
}

.ybc-facility-gallery-image {
  object-fit: cover;
}

.ybc-facility-gallery-empty {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  color: #67827e;
}

.ybc-facility-gallery-empty p {
  margin: 0;
  font-size: 13px;
}

/* 左右の白い細線矢印 */
.ybc-facility-gallery-prev,
.ybc-facility-gallery-next {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 68px;
  height: 80px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity 0.3s ease;
}

.ybc-facility-gallery-prev:hover,
.ybc-facility-gallery-next:hover {
  opacity: 0.75;
  background: transparent;
}

.ybc-facility-gallery-prev:focus-visible,
.ybc-facility-gallery-next:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: -4px;
}

.ybc-facility-gallery-prev {
  left: 0;
}

.ybc-facility-gallery-next {
  right: 0;
}

.ybc-facility-gallery-prev span,
.ybc-facility-gallery-next span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  font-size: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.75));
}

.ybc-facility-gallery-prev span::before,
.ybc-facility-gallery-next span::before {
  content: "";
  width: 22px;
  height: 22px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
}

.ybc-facility-gallery-prev span::before {
  transform: rotate(-135deg);
}

.ybc-facility-gallery-next span::before {
  transform: rotate(45deg);
}

/* 枠のない明るめのサムネイル */
.ybc-facility-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  width: min(calc(100% - 64px), 990px);
  margin: 20px auto 0;
}


.ybc-facility-gallery-thumb {
  display: block;
  min-width: 0;
  height: 65px;
  padding: 0;
  border: 0;
  background: #ffffff;
  opacity: 1;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
}

.ybc-facility-gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  transition: opacity 0.3s ease;
}

.ybc-facility-gallery-thumb.is-active img,
.ybc-facility-gallery-thumb:hover img,
.ybc-facility-gallery-thumb:focus-visible img {
  opacity: 1;
}

.ybc-facility-gallery-thumb:focus-visible {
  outline: 2px solid #52baa6;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .ybc-facility-gallery-slide {
    transition: none;
  }

  .ybc-facility-gallery.is-playing .ybc-facility-gallery-stage::after {
    animation: none;
  }
}

/* 写真・文章を左右交互に見せる3つのポイント。 */
.facility-points {
  padding-top: clamp(110px, 12vw, 170px);
  padding-bottom: clamp(105px, 11vw, 160px);
  background: #ffffff;
}

.facility-point {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(38px, 7vw, 115px);
  align-items: center;
  margin: 0 0 clamp(90px, 10vw, 150px);
}

.facility-point:last-child {
  margin-bottom: 0;
}

.facility-point.is-reverse .facility-point-media {
  order: -1;
}

.facility-point-copy {
  min-width: 0;
}

.facility-point-number {
  margin: 0 0 20px;
  color: var(--muted);
  font-family: "Kiwi Maru", serif;
  font-size: 11px;
  letter-spacing: 0.15em;
}

.facility-point-copy h2 {
  margin: 0 0 20px;
  font-size: clamp(20px, 2.2vw, 29px);
  font-weight: 500;
  line-height: 1.65;
}

.facility-point-copy > p:last-child {
  margin: 0;
  font-size: var(--section-description-size);
  line-height: 2.1;
}

.facility-point-media {
  min-width: 0;
}

.facility-point-media > img,
.facility-point-media > .media-placeholder {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.7;
  object-fit: cover;
  border-radius: 28px;
}

.facility-point-media > .media-placeholder {
  display: grid;
}

/* フロアナビゲーションの見出しと、下向きの飾り線 */
.facility-floor-nav-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  margin: 0 auto 36px;
  text-align: center;
}

.facility-floor-nav-heading p {
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.6;
}

.facility-floor-nav-heading svg {
  display: block;
  width: min(224px, 65vw);
  height: auto;
  color: var(--ink);
}

/* フロアへの移動リンク：体験メニューと共通デザイン */
/* スクロール中もファーストビュー画像を透過させない */
.facility-floor-nav {
  position: relative;
  z-index: 2;
  padding: clamp(65px, 8vw, 95px) 0;
  background: #fff;
}

.facility-floor-nav .container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  width: min(calc(100% - 64px), 730px);
}

.facility-floor-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: 120px;
  min-height: 0;
  padding: 0 12px 12px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  opacity: 1;
  isolation: isolate;
  text-decoration: none;
}

/* 枠線は常に固定 */
.facility-floor-link::before {
  content: "";
  position: absolute;
  inset: 0 12px 12px 0;
  z-index: 2;
  border: 1px solid #91cbc0;
  pointer-events: none;
  transform: none;
  transition: none;
  border-radius: 18px;
}

/* 右下にずれた背景：ホバー時だけ表示 */
.facility-floor-link::after {
  content: "";
  position: absolute;
  inset: 12px 0 0 12px;
  z-index: 0;
  background: rgba(128, 198, 193, .24);
  opacity: 0;
  pointer-events: none;
  transform: none;
  transition: opacity .35s ease;
  border-radius: 18px;
}

.facility-floor-link:hover,
.facility-floor-link:focus-visible {
  opacity: 1;
  transform: none;
}

.facility-floor-link:hover::after,
.facility-floor-link:focus-visible::after {
  opacity: 1;
}

.facility-floor-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* 写真を非表示 */
.facility-floor-link-media {
  display: none;
}

/* 文字を枠線内の上下左右中央に固定 */
.facility-floor-link-copy {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  gap: 0;
  text-align: center;
  background: transparent;
  transform: none;
  transition: none;
}

.facility-floor-link-copy strong {
  display: block;
  color: var(--ink);
  font-family: "Kiwi Maru", serif;
  font-size: clamp(13px, 1.35vw, 17px);
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: .04em;
  transform: none;
  transition: none;
}

/* 部屋名は非表示にし、階数のみ表示 */
.facility-floor-link-copy > span {
  display: none;
}

/* 各階：見出し → フル幅写真 → サムネイル → 詳細・間取り図 → 予約。 */
.facility-floor-section {
  padding: 90px 0 110px;
  scroll-margin-top: 70px;
  background: #ffffff;
}

.facility-floor-heading {
  padding-bottom: 40px;
  text-align: center;
}

.facility-floor-heading::before {
  content: "";
  display: block;
  width: 100%;
  height: 8px;
  margin: 0 0 35px;
  background: url("../images/organic-line.svg") center / 100% 100% no-repeat;
}

.facility-floor-heading p {
  margin: 0;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.07em;
}

/* 各階POINTは既存POINTの写真・文章の左右交互レイアウトを踏襲する。 */
.facility-floor-points {
  padding-top: clamp(70px, 8vw, 115px);
  padding-bottom: clamp(65px, 8vw, 105px);
}

.facility-floor-points .facility-point {
  margin-bottom: clamp(65px, 7vw, 105px);
}

.facility-floor-points .facility-point:last-child {
  margin-bottom: 0;
}

.facility-point-body,
.facility-point-text {
  font-size: var(--section-description-size);
  line-height: 2.1;
  overflow-wrap: anywhere;
}

.facility-point-body > :first-child {
  margin-top: 0;
}

.facility-point-body > :last-child {
  margin-bottom: 0;
}

.facility-point-text {
  margin: 0;
}

/* 右の間取り図をフロートさせ、左の宿泊情報と設備を下方で全幅に回り込ませる。 */
.facility-floor-detail {
  display: flow-root;
  padding-top: 0;
}

.facility-floor-description {
  min-width: 0;
}


.facility-floor-description h2 {
  margin: 0 0 22px;
  font-size: clamp(21px, 2.1vw, 30px);
  font-weight: 500;
}

.facility-floor-description .entry-content,
.facility-floor-subtitle {
  font-size: var(--section-description-size);
  line-height: 2;
}

.facility-floor-subtitle {
  margin: 0 0 24px;
}

/* 各階の客室情報：5項目の表 */
.facility-floor-spec {
  margin: 34px 0 0;
}

.facility-floor-spec > div:first-child {
  border-top: 1px solid rgba(36, 43, 43, 0.2);
}

.facility-floor-spec > div {
  display: grid;
  grid-template-columns: minmax(140px, 0.5fr) minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(36, 43, 43, 0.2);
}

.facility-floor-spec dt {
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  text-align: left;
}

.facility-floor-spec dd {
  min-width: 0;
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 2;
  text-align: left;
  overflow-wrap: anywhere;
}

.facility-floor-equipment {
  display: block;
}

.facility-floor-equipment > * + * {
  margin-top: 20px;
}

.facility-floor-equipment-section,
.facility-floor-room-amenities {
  margin-top: 34px;
}

.facility-floor-equipment-section {
  clear: right;
}

.facility-floor-equipment-section h3,
.facility-floor-room-amenities h3 {
  margin: 0 0 20px;
  font-family: "Shippori Mincho", serif;
  font-size: 16px;
  font-weight: 500;
}

.facility-floor-room-amenities h3 {
  padding-top: 14px;
  border-top: 1px solid rgba(36, 43, 43, 0.2);
}

.facility-floor-room-amenities p {
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-size: 13px;
  line-height: 2;
  overflow-wrap: anywhere;
}

.facility-floor-equipment-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.facility-floor-equipment-label {
  display: inline-block;
  padding: 3px 12px;
  border: 1px solid rgba(36, 43, 43, 0.5);
  border-radius: 10px;
  font-family: "Shippori Mincho", serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}

.facility-floor-equipment-items {
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 2;
  overflow-wrap: break-word;
  word-break: keep-all;
}

.facility-floor-spec-muted {
  color: var(--muted);
}

.facility-floor-price {
  margin: 19px 0 0;
  font-size: 13px;
}

@media (max-width: 767px) {
  .facility-floor-spec > div {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 13px 0;
  }
}

.facility-floor-plan {
  float: right;
  width: min(45%, 520px);
  margin: 0 0 28px clamp(32px, 6vw, 92px);
}

.facility-floor-plan > img,
.facility-floor-plan-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 290px;
  background: #f4f6f4;
  object-fit: contain;
  font-size: 13px;
}

.facility-floor-plan > img {
  display: block;
  height: auto;
  min-height: 0;
}

.facility-floor-plan figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.facility-floor-booking {
  margin: 65px auto 0;
  text-align: center;
}

.facility-floor-booking .pill-button {
  min-width: 210px;
}

@keyframes ybc-facility-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 767px) {

  /* 施設紹介の全幅ギャラリー、ポイント、各階をモバイル表示にする。 */
  .ybc-facility-gallery-stage {
    height: clamp(235px, 68vw, 380px);
  }

  .ybc-facility-gallery-prev,
  .ybc-facility-gallery-next {
    width: 48px;
    height: 60px;
  }

  .ybc-facility-gallery-thumbs {
    display: flex;
    gap: 6px;
    width: calc(100% - 36px);
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: thin;
  }

  .ybc-facility-gallery-thumb {
    flex: 0 0 60px;
    height: 45px;
  }

  .facility-points {
    padding-top: 75px;
    padding-bottom: 80px;
  }

  .facility-floor-points {
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .facility-point {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 65px;
  }

  .facility-point.is-reverse .facility-point-media {
    order: 0;
  }

  .facility-point-copy h2 {
    font-size: 20px;
  }
  
  .facility-floor-nav {
    padding: 55px 0;
  }

  .facility-floor-nav .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    width: min(calc(100% - 36px), 480px);
  }

  .facility-floor-link {
    height: 92px;
    min-height: 0;
    padding: 0 12px 12px 0;
  }

  .facility-floor-link-copy strong {
    font-size: 13px;
  }

  .facility-floor-section {
    padding: 48px 0 78px;
    scroll-margin-top: 55px;
  }

  .facility-floor-heading {
    padding-bottom: 25px;
  }

  .facility-floor-detail {
    display: flex;
    flex-direction: column;
    gap: 38px;
    padding-top: 0;
  }

  .facility-floor-description {
    order: 1;
    width: 100%;
  }

  .facility-floor-plan {
    order: 2;
    float: none;
    width: 100%;
    margin: 0;
  }

  .facility-floor-plan-placeholder {
    min-height: 200px;
  }

  .facility-floor-booking {
    margin-top: 50px;
  }

  .feature-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card:nth-child(even) .feature-image {
    order: 0;
  }

  .feature-list {
    gap: 45px;
  }

  .facility-showcase {
    padding-top: 85px;
  }

  .facility-slideshow {
    height: 300px;
  }

  .facility-progress-track {
    width: 24px;
    bottom: 16px;
  }

  .facility-intro {
    margin-bottom: 42px;
  }

  .facility-landing {
    padding-top: 90px;
    padding-bottom: 70px;
  }

  .facility-intro h2 {
    margin-bottom: 18px;
  }

  .facility-desktop-break {
    display: none;
  }

  .facility-facts {
    gap: 16px;
    margin-top: 45px;
  }

  .facility-fact {
    padding: 0 3px 16px;
  }

  .facility-fact-unit {
    margin-left: 4px;
  }

}

@media (hover: hover) {

  a.facility-slideshow:hover .facility-slides::after {
    opacity: 1;
  }

}

@media (prefers-reduced-motion: reduce) {

  .facility-slide {
    transition: none;
  }

  .facility-slide-image {
    transition: none;
  }

  .facility-progress-track {
    display: none;
  }

  .facility-slides::after {
    transition: none;
  }

}

/* ============================================================
   08. TOP：体験案内・横スクロール写真・共通矢印リンク
   ============================================================ */

.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.tile-card {
  display: block;
  text-align: center;
}

.tile-card .media-placeholder,
.tile-card > img {
  height: 240px;
  border-radius: 16px;
}

.tile-card h3 {
  font-size: 17px;
  font-weight: 500;
}

.tile-card[id^="experience-"] {
  scroll-margin-top: 100px;
}

/* 体験の写真をゆっくり横方向へ流す */
.experience-marquee {
  display: block;
  width: 100%;
  overflow: hidden;
  color: inherit;
  cursor: pointer;
}

/* TOPのみ：横流れを止めず、全幅から余白を作った写真帯に。 */
body.home .experience-showcase .experience-marquee {
  width: min(calc(100% - 64px), 1180px);
  margin-inline: auto;
  border-radius: 32px;
}

.experience-marquee:hover {
  opacity: 1;
}

.experience-marquee:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -5px;
}

.experience-marquee-track {
  display: flex;
  width: max-content;
  animation: experience-marquee-scroll
    var(--experience-marquee-duration, 44s)
    linear infinite;
  will-change: transform;
}

.experience-marquee-set {
  display: flex;
  flex: none;
  align-items: flex-start;
  gap: 24px;
  padding-right: 24px;
  padding-bottom: 54px;
}

.experience-marquee-photo {
  display: block;
  flex: none;
  width: clamp(230px, 27vw, 370px);
  overflow: hidden;
  background: #fff;
  border-radius: 22px;
}

.experience-marquee-photo:nth-child(even) {
  margin-top: 48px;
}

.experience-marquee-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
  transition: opacity .3s ease;
}

@media (max-width: 767px) {
  body.home .facility-showcase .facility-slideshow,
  body.home .experience-showcase .experience-marquee {
    width: calc(100% - 28px);
    border-radius: 22px;
  }
}

@media (hover: hover) {
  .experience-marquee:hover .experience-marquee-image {
    opacity: .45;
  }
}

@keyframes experience-marquee-scroll {
  to {
    transform: translateX(-50%);
  }
}

/* 既存の共通矢印リンク */
.experience-top-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 58%;
  max-width: 210px;
  margin: 15px auto 0;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: .06em;
}

.experience-top-more:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.experience-top-more.section-more-link {
  margin-top: 44px;
}

.experience-top-arrow {
  position: relative;
  display: block;
  width: 100%;
  height: 10px;
  flex-shrink: 0;
}

.experience-top-arrow::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
}

.experience-top-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 12px;
  height: 1px;
  background: currentColor;
  transform-origin: right center;
  transform: rotate(45deg);
}

@media (max-width: 767px) {
  .tile-grid {
    gap: 16px;
  }

  .tile-card .media-placeholder,
  .tile-card > img {
    height: 155px;
  }

  .experience-marquee-set {
    gap: 14px;
    padding-right: 14px;
    padding-bottom: 32px;
  }

  .experience-marquee-photo {
    width: clamp(190px, 66vw, 280px);
  }

  .experience-marquee-photo:nth-child(even) {
    margin-top: 27px;
  }

  .experience-top-more {
    gap: 1px;
    margin-top: 12px;
    width: 68%;
    font-size: 11px;
  }

  .experience-top-arrow {
    height: 8px;
  }

  .experience-top-arrow::after {
    width: 9px;
  }

  .experience-top-more.section-more-link {
    margin-top: 34px;
  }
}

/* 動きを抑えるOS設定では自動スクロールを停止 */
@media (prefers-reduced-motion: reduce) {
  .experience-marquee {
    overflow-x: auto;
  }

  .experience-marquee-track {
    animation: none;
    will-change: auto;
  }

  .experience-marquee-set[aria-hidden="true"] {
    display: none;
  }
}

/* ============================================================
   09. TOP：ブログ
   TOPのブログカード（2列×2段）と共通カード。
   ============================================================ */

.post-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 45px 30px;
}

.post-card h3 {
  font-size: 15px;
  line-height: 1.5;
  margin: 12px 0 3px;
}

.post-meta {
  font-size: 12px;
}

.card-media,
.feature-image {
  display: block;
  overflow: hidden;
  border-radius: 17px;
}

.card-media {
  aspect-ratio: 1.45;
}

/* ブログの写真だけ角丸を解除。施設・体験の写真には影響させない。 */
.post-card .card-media {
  border-radius: 20px;
}

.card-media img,
.feature-image img,
.tile-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-preview .home-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 36px;
}


.blog-preview .home-blog-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
  padding: 12px 10px 16px;
  border-bottom: 1px solid rgba(88, 113, 109, .25);
  background-color: transparent;
  cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease, padding-left .25s ease;
}

.blog-preview .home-blog-card:hover,
.blog-preview .home-blog-card:focus-within {
  background-color: rgba(208, 227, 224, .2);
  border-color: rgba(88, 113, 109, .5);
  padding-left: 18px;
}

.blog-preview .home-blog-info h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.blog-preview .home-blog-info h3 a:focus-visible::after {
  outline: 2px solid #7da9a2;
  outline-offset: -2px;
}


.blog-preview .home-blog-thumbnail {
  display: block;
  flex: 0 0 168px;
  width: 168px;
  height: 138px;
  overflow: hidden;
  border-radius: 0;
}

body.home .blog-preview .home-blog-thumbnail {
  border-radius: 20px;
}

.blog-preview .home-blog-thumbnail img,
.blog-preview .home-blog-thumbnail .media-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.blog-preview .home-blog-info {
  flex: 1;
  min-width: 0;
}

.blog-preview .home-blog-info time {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.blog-preview .home-blog-info h3 {
  margin: 5px 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  font-family: "Shippori Mincho", serif;
}

.blog-preview .home-blog-info h3 a {
    font-family: inherit;
    font-weight: inherit;
}

.blog-preview .home-blog-info p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 767px) {

  .post-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 28px 15px;
  }

  .post-card h3 {
    font-size: 13px;
  }

  .card-media .media-placeholder {
    min-height: 115px;
  }

  .blog-preview .home-blog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .blog-preview .home-blog-thumbnail {
    flex-basis: 150px;
    width: 150px;
    height: 126px;
  }

  .blog-preview .home-blog-info h3 {
    font-size: 16px;
  }

}

@media (max-width: 420px) {

  .post-grid {
    grid-template-columns: 1fr 1fr;
  }

}

/* ============================================================
   10. TOP：Instagram（将来の表示用）
   アカウント開設後に復帰可能な旧プレースホルダー。
   ============================================================ */

.instagram-placeholders {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 12px;
}

.small-placeholder {
  aspect-ratio: 1;
  background: var(--sea);
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #b5cbc7;
  font-size: 45px;
}

@media (max-width: 767px) {

  .instagram-placeholders {
    gap: 6px;
  }

  .small-placeholder {
    border-radius: 8px;
    font-size: 26px;
  }

}

/* ============================================================
   11. 周辺情報・アクセス・Googleマップ
   Googleマップと周辺情報リンク。矢印は体験案内を共用。
   ============================================================ */

.access-strip {
  background: var(--cream);
  padding: 72px 0;
}

.map-placeholder,
.map-frame {
  width: 100%;
  height: 380px;
  margin: 34px 0 0;
  border-radius: 0;
  overflow: hidden;
  background: var(--sea);
  display: grid;
  place-items: center;
  font-size: 24px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.access-details {
  padding-top: 26px;
}

.access-copy {
  width: fit-content;
  max-width: min(100%, 1040px);
  margin: 0 auto 20px;
  font-size: 14px;
  line-height: 2;
  text-align: left;
}

.access-copy p {
  margin: 5px 0;
}

.access-address {
  font-weight: 500;
}

.access-parking {
  margin-top: 13px !important;
}

/* 全ページ共通：駐車場案内の直後に交通アクセスを表示 */
.access-route-guide {
  display: grid;
  gap: 18px;
  margin: 22px 0 24px;
}

.access-copy p,
.access-copy li,
.access-copy h3 {
  font-family: "Zen Maru Gothic", "Kiwi Maru", sans-serif;
  font-weight: 400;
}

.access-route-guide-item h3 {
  margin: 0 0 5px;
  font-family: "Zen Maru Gothic", "Kiwi Maru", sans-serif;
  font-size: 15px;
  font-weight: 500;
}

.access-route-guide-item p {
  margin: 0;
}

@media (max-width: 767px) {
  .access-route-guide-item h3 {
    font-size: 14px;
  }
}

.access-nearby {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 19px 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.access-nearby li {
  position: relative;
  padding-left: 1.2em;
  overflow-wrap: anywhere;
}

.access-nearby li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1em;
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 50%;
  transform: translateY(-50%);
}

.access-extra {
  margin-top: 20px !important;
}

.access-strip .text-link {
  display: flex;
  width: max-content;
  margin: 28px auto 0;
}

.access-strip .access-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 200px;
  max-width: 210px;
  margin: 36px auto 0;
  text-align: center;
}

@media (max-width: 767px) {

  .access-strip {
    padding: 50px 0;
  }

  .map-placeholder,
  .map-frame {
    height: 275px;
    margin-top: 26px;
  }

  .access-copy {
    font-size: 12px;
  }

  .access-strip .access-more {
    width: 110px;
  }

}

/* ============================================================
   12. フッター・ページトップボタン
   フッターおよびページトップへ戻るボタン。
   ============================================================ */

.site-footer {
  background: var(--sand);
  color: #fff;
  padding: 30px 0 14px;
  position: relative;
  z-index: 2;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}

.footer-brand {
  display: flex;
  gap: 22px;
  align-items: center;
}

.footer-logo {
  background: white;
  color: #333;
  padding: 14px;
  font-size: 12px;
}

.footer-brand strong {
  font-size: 15px;
}

.footer-brand p {
  font-size: 11px;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  max-width: 60%;
  text-align: right;
  font-size: clamp(12px, 1.3vw, 14px);
  font-weight: 400;
  line-height: 1.7;
}

.site-footer,
.site-footer p,
.site-footer strong,
.site-footer a,
.site-footer span,
.site-footer small {
  font-family: "Zen Maru Gothic", "Kiwi Maru", sans-serif;
  font-weight: 400;
}

.footer-links a,
.footer-link-pending {
  letter-spacing: 0.05em;
}

/* 未公開・URL未設定のページはテキスト表示し、存在しないリンクを作らない。 */
.footer-link-pending {
  opacity: 0.7;
}

.copyright {
  display: block;
  text-align: center;
  font-size: 11px;
  margin-top: 25px;
}

.to-top {
  position: fixed;
  right: 30px;
  bottom: 100px;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 48% 52% 57% 43% / 55% 46% 54% 45%;
  background: var(--accent);
  color: white;
  font-size: 27px;
  z-index: 12;
  cursor: pointer;
  animation: ybc-to-top-float 7.8s ease-in-out infinite;
  transition: background-color .3s ease;
}

@keyframes ybc-to-top-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-3deg); }
  28% { transform: translate3d(-2px, -7px, 0) rotate(2deg); }
  57% { transform: translate3d(2px, -3px, 0) rotate(-1deg); }
  78% { transform: translate3d(-1px, -9px, 0) rotate(3deg); }
}

@media (prefers-reduced-motion: reduce) {
  .to-top { animation: none; }
}

@media (max-width: 767px) {

  .footer-inner {
    align-items: flex-start;
  }

  .footer-brand {
    gap: 10px;
  }

  .footer-brand strong {
    font-size: 11px;
  }

  .footer-brand p {
    font-size: 9px;
  }

  .footer-links {
    font-size: 12px;
    gap: 9px;
  }

  .footer-logo {
    padding: 8px;
  }

  .to-top {
    right: 16px;
    bottom: 85px;
    width: 46px;
    height: 46px;
  }

}

@media (max-width: 420px) {

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    align-items: flex-end;
    max-width: 100%;
    width: 100%;
  }

}

/* 内部ページ：本文はZEN丸ゴシック Regular、重要な見出しは従来の明朝体。 */
body:not(.home) .facility-intro p,
body:not(.home) .facility-point-copy > p:last-child,
body:not(.home) .facility-point-body,
body:not(.home) .facility-point-text,
body:not(.home) .facility-floor-description .entry-content,
body:not(.home) .facility-floor-spec dd,
body:not(.home) .facility-floor-equipment-items,
body:not(.home) .facility-floor-equipment-label,
body:not(.home) .facility-floor-room-amenities p,
body:not(.home) .experience-concierge-description,
body:not(.home) .experience-detail-subtitle,
body:not(.home) .experience-detail-copy .entry-content,
body:not(.home) .experience-detail-spec dd,
body:not(.home) .access-page-intro p,
body:not(.home) .access-page-spot-recommendation-text,
body:not(.home) .access-page-spot-copy .entry-content,
body:not(.home) .access-page-index-name,
body:not(.home) .blog-archive-intro p,
body:not(.home) .blog-archive-thumbnail-caption,
body:not(.home) .blog-single .entry-content,
body:not(.home) .blog-single .entry-content p,
body:not(.home) .blog-post-pager-title,
body:not(.home) .faq-card p,
body:not(.home) .contact-form,
body:not(.home) .contact-form .form-row label,
body:not(.home) .contact-form .form-row input,
body:not(.home) .contact-form .form-row textarea,
body:not(.home) .contact-form .form-row select,
body:not(.home) .contact-form .agree,
body:not(.home) .contact-form .agree-copy,
body:not(.home) .form-message {
  font-family: "Zen Maru Gothic", "Kiwi Maru", sans-serif;
  font-weight: 400;
}

/* 各ページの短いラベルはKiwi Maruを維持。 */
body:not(.home) .facility-point-number,
body:not(.home) .access-page-index-number,
body:not(.home) .access-page-spot-genre {
  font-family: "Kiwi Maru", sans-serif;
  font-weight: 300;
}


/* ============================================================
   13. ブログ一覧・カテゴリー
   カテゴリーフィルター・一覧カード・ページネーション。
   ============================================================ */

/* ブログ一覧：冒頭の紹介文 */
.blog-archive-section {
  position: relative;
  z-index: 2;
  padding-top: clamp(110px, 11vw, 150px);
  background: #fff;
}

.blog-archive-intro {
  width: min(100%, 740px);
  margin: 0 auto 55px;
  text-align: center;
}

.blog-archive-intro p {
  margin: 0;
  font-size: 14px;
  line-height: 2;
  letter-spacing: .035em;
}

@media (max-width: 767px) {
  .blog-archive-section {
    padding-top: 90px;
  }

  .blog-archive-intro {
    margin-bottom: 42px;
  }

  .blog-archive-intro p {
    font-size: 12px;
  }
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.category-tabs a {
  padding: 5px 22px;
  font-size: 12px;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid #d0e3e0;
  border-radius: 999px;
  font-weight: 400;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.blog-archive .post-grid {
  margin-top: 36px;
}

.blog-pagination {
  margin-top: 48px;
  text-align: center;
}

.blog-pagination .page-numbers {
  display: inline-block;
  padding: 4px 12px;
  margin: 0 3px;
}

.blog-pagination .current {
  border-bottom: 1px solid currentColor;
}

.blog-archive-grid .blog-archive-card {
  min-width: 0;
  border-radius: 20px;
  padding: 12px;
  transition: background-color .25s ease;
}

.blog-archive-grid .card-media {
  display: block;
  width: 100%;
  aspect-ratio: 1.45;
  overflow: hidden;
  border-radius: 20px;
}

.blog-archive-grid .blog-archive-card:hover,
.blog-archive-grid .blog-archive-card:focus-within {
  background-color: rgba(208, 227, 224, .18);
}

/* 一覧画像の下に表示するキャプション */
.blog-archive-thumbnail-caption {
  margin: 6px 0 0;
  color: #74817f;
  font-family: "Shippori Mincho", serif;
  font-size: 11px;
  line-height: 1.6;
  text-align: left;
}

.blog-archive-grid .blog-archive-title {
  font-size: 16px;
}

.blog-archive-grid .blog-archive-title a {
    font-family: inherit;
    font-weight: inherit;
}

.blog-archive-grid .blog-archive-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-archive-grid .blog-archive-meta time {
  font-size: 12px;
  color: var(--muted);
}

.blog-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.blog-category-topic {
  background: #e4f3ec;
  color: #287a58;
}

.blog-category-trend {
  background: #e4effa;
  color: #356c9c;
}

.blog-category-food {
  background: #fff0df;
  color: #a66a27;
}

.blog-category-other {
  background: #eeeeee;
  color: #666666;
}

.category-tabs a.is-active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  font-weight: 700;
}

.category-tabs a:not(.is-active):hover {
  background: #edf5f3;
}

.blog-filter-message {
  margin: 0 0 28px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

@media (max-width: 767px) {

  .blog-archive-grid .blog-archive-title {
    font-size: 18px;
  }

  .blog-category-badge {
    font-size: 11px;
    padding: 4px 10px;
  }

  .blog-filter-message {
    margin-bottom: 22px;
    font-size: 14px;
  }

}

/* ============================================================
   14. ブログ記事詳細
   個別記事・本文領域。
   ============================================================ */

.article-layout {
  max-width: 820px;
  padding: 70px 0;
}

.article-layout h1 {
  font-size: 28px;
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
}

.article-layout>.entry-content {
  margin: 40px 0;
}

.blog-single .entry-content {
  margin: 30px 0 48px;
}

.blog-single .post-meta {
  margin: 12px 0 28px;
}

.blog-single .post-thumbnail img,
.article-layout > img,
.article-layout .entry-content img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
}

/* ============================================================
   ブログ記事：本文背景
   ============================================================ */

body.single-post .blog-single-surface {
  position: relative;
  z-index: 2;
  width: 100%;
  background: #fff;
}

/* ============================================================
   ブログ記事：画像キャプション
   ============================================================ */

body.single-post .blog-single .entry-content figcaption,
body.single-post .blog-single .entry-content .wp-caption-text {
  margin: 7px 0 0;
  color: #74817f;
  font-family: "Shippori Mincho", serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .025em;
  text-align: left;
}

/* ============================================================
   ブログ記事：本文のテキストリンク
   ============================================================ */

body.single-post .blog-single .entry-content a:not(.wp-block-button__link):not(:has(img)) {
  color: #367c70;
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: #76bdb3;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
  padding: 0 .12em;
  background: rgba(128, 198, 193, .13);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-color .2s ease;
}

body.single-post .blog-single .entry-content a:not(.wp-block-button__link):not(:has(img)):hover,
body.single-post .blog-single .entry-content a:not(.wp-block-button__link):not(:has(img)):focus-visible {
  background: rgba(128, 198, 193, .3);
  opacity: 1;
}

/* ============================================================
   ブログ記事：前後記事ナビゲーション
   ============================================================ */

.blog-post-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 46px;
  padding-top: 25px;
  border-top: 0;
  position: relative;
}

.blog-post-pager::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: url("../images/organic-line.svg") center / 100% 100% no-repeat;
  opacity: .72;
  pointer-events: none;
}


.blog-post-pager-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.blog-post-pager-item.is-next {
  justify-content: flex-end;
  text-align: right;
}

.blog-post-pager-arrow {
  flex: none;
  color: #528b84;
  font-family: "Kiwi Maru", sans-serif;
  font-size: 21px;
}

.blog-post-pager-thumb {
  display: block;
  flex: 0 0 70px;
  width: 70px;
  height: 58px;
  overflow: hidden;
  border-radius: 16px;
}

.blog-post-pager-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-post-pager-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.blog-post-pager-label {
  color: var(--muted);
  font-size: 11px;
}

.blog-post-pager-title {
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

/* タブレット・スマホ */
@media (max-width: 767px) {
  .blog-post-pager {
    gap: 12px;
  }

  .blog-post-pager-item {
    gap: 8px;
  }

  .blog-post-pager-thumb {
    flex-basis: 50px;
    width: 50px;
    height: 44px;
  }

  .blog-post-pager-title {
    font-size: 11px;
  }
}

/* 狭いスマホでは縦に配置して読みやすく */
@media (max-width: 480px) {
  .blog-post-pager {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-post-pager-empty {
    display: none;
  }
}

@media (max-width: 767px) {

  .article-layout {
    padding: 50px 0;
  }

  .article-layout h1 {
    font-size: 22px;
  }

}

/* 固定ページの本文中に配置した一般画像も、写真だけ均一な角丸に。 */
body.page:not(.home) .entry-content img {
  border-radius: 20px;
}


/* ============================================================
   15. 施設・共通詳細ページ
   施設個別ページのギャラリー、画像スライダー、詳細情報。
   ============================================================ */

.detail-title {
  text-align: center;
  font-size: 26px;
  font-weight: 500;
  margin: 0 0 28px;
}

.detail-gallery {
  position: relative;
  background: var(--sea);
  border-radius: 26px;
  overflow: hidden;
}

.slide-track {
  height: 420px;
}

.slide {
  height: 100%;
}

.slide[hidden] {
  display: none;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: #ffffffbd;
  font-size: 32px;
  width: 42px;
  height: 50px;
}

.slider-prev {
  left: 10px;
}

.slider-next {
  right: 10px;
}

.detail-body {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 70px;
  margin: 50px 0;
}

.detail-spec dl div {
  display: flex;
  border-bottom: 1px solid #ddd;
  padding: 12px 0;
  gap: 15px;
}

.detail-spec dt {
  min-width: 85px;
}

.detail-spec dd {
  margin: 0;
}

.detail-spec .pill-button {
  margin-top: 25px;
}

.access-notes {
  margin: 50px 0;
}

@media (max-width: 767px) {

  .detail-body {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .detail-gallery .slide-track {
    height: 260px;
  }

}

/* ============================================================
   16. 体験案内の一覧・詳細
   体験一覧アンカー・交互レイアウト・詳細情報。
   ============================================================ */

.experience-index-grid {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  gap: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.experience-index-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  isolation: isolate;
  background: var(--sea);
  border-radius: 22px;
}

.experience-index-visual {
  position: absolute;
  inset: 0;
  display: block;
}

.experience-index-visual img,
.experience-index-visual .media-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 0;
}

.experience-index-visual img {
  transition: transform .6s ease;
}

.experience-index-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, .22);
  text-align: center;
}

.experience-index-overlay h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(18px, 2.4vw, 27px);
  font-weight: 600;
  line-height: 1.6;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}

.experience-index-card:hover {
  opacity: 1;
}

.experience-index-card:hover .experience-index-visual img {
  transform: scale(1.04);
}

.experience-concierge {
  margin-top: 85px;
  padding: 55px 0;
  background: var(--cream);
}

.experience-concierge-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(35px, 6vw, 80px);
  max-width: 880px;
}

.experience-concierge-photo {
  flex: 0 0 210px;
}

.experience-concierge-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 28px;
}

.experience-concierge-copy {
  flex: 1;
  min-width: 0;
}

.experience-concierge-eyebrow {
  margin: 0 0 12px;
  font-family: "Kiwi Maru", serif;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--muted);
}

.experience-concierge-copy h2 {
  margin: 0 0 23px;
  font-size: clamp(20px, 2.2vw, 25px);
  font-weight: 500;
}

.experience-concierge-copy h3 {
  margin: 0 0 5px;
  font-size: 19px;
  font-weight: 500;
}

.experience-concierge-role {
  margin: 0 0 18px;
  font-size: 12px;
  color: var(--muted);
}

.experience-concierge-description {
  margin: 0;
  font-size: 14px;
  line-height: 2.1;
}

@media (max-width: 767px) {
  .experience-concierge {
    margin-top: 60px;
    padding: 45px 0;
  }

  .experience-concierge-inner {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .experience-concierge-photo {
    flex: none;
    width: min(210px, 65%);
  }

  .experience-concierge-copy {
    width: 100%;
    text-align: center;
  }

  .experience-concierge-description {
    text-align: left;
  }

  .experience-index-overlay h3 {
    font-size: 16px;
  }
}

.experience-detail-section {
  padding: 90px 0;
  scroll-margin-top: 110px;
  background: #fff;
}

body.post-type-archive-experience .experience-detail-list {
  margin-top: 0;
}

body.post-type-archive-experience
.experience-detail-list > .experience-detail-section:first-child {
  padding-top: 36px;
}

/* 星空ツアー・シーサー作り */
.experience-detail-list > .experience-detail-section:nth-child(odd) {
  background: var(--cream);
}

/* ナイトツアー・三線体験 */
.experience-detail-list > .experience-detail-section:nth-child(even) {
  background: #fff;
}

.experience-detail-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 7%;
}

.experience-detail-section:nth-child(even) .experience-detail-media {
  order: -1;
}

.experience-detail-copy {
  min-width: 0;
}

.experience-detail-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(23px, 2.5vw, 32px);
  font-weight: 600;
  line-height: 1.5;
}

.experience-detail-subtitle {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.8;
}

.experience-detail-copy .entry-content {
  margin-bottom: 28px;
  line-height: 2;
}

/* 本文エディターで入力した段落の間隔を整える。 */
.experience-detail-copy .entry-content p {
  margin: 0 0 1.1em;
}

.experience-detail-copy .entry-content p:last-child {
  margin-bottom: 0;
}

.experience-detail-spec {
  margin: 30px 0 0;
}

.experience-detail-spec div {
  display: flex;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid #dddddd;
}

.experience-detail-spec dt {
  flex: 0 0 110px;
  font-weight: 600;
}

.experience-detail-spec dd {
  margin: 0;
}

.experience-detail-media {
  min-width: 0;
}

.experience-detail-main-image {
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 4 / 5;
}

.experience-detail-main-image img,
.experience-detail-main-image .media-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.experience-detail-sub-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.experience-detail-sub-images img {
  display: block;
  width: 100%;
  aspect-ratio: 1.25;
  height: auto;
  object-fit: cover;
  border-radius: 18px;
}

@media (max-width: 767px) {

  .experience-index-grid {
    gap: 16px;
    margin-bottom: 0px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .experience-index-card h3 {
    font-size: 14px;
  }

  .experience-detail-section {
    padding: 60px 0;
    scroll-margin-top: 85px;
  }

  .experience-detail-row {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .experience-detail-section:nth-child(even) .experience-detail-media {
    order: 0;
  }

  .experience-detail-copy h2 {
    font-size: 23px;
  }

  .experience-detail-main-image {
    aspect-ratio: 4 / 3;
  }

  .experience-detail-spec dt {
    flex-basis: 100px;
  }

}

/* 体験詳細：施設案内ギャラリーの高さ・サムネイルだけ調整 */
.experience-detail-media .ybc-facility-gallery {
  background: transparent;
}

.experience-detail-media .ybc-facility-gallery-stage {
  height: clamp(215px, 27vw, 340px);
  border-radius: 24px;
}

.experience-detail-media .ybc-facility-gallery-thumbs {
  display: flex;
  gap: 7px;
  width: 100%;
  margin-top: 13px;
  overflow-x: auto;
  padding: 0 0 5px;
  scrollbar-width: thin;
}

.experience-detail-media .ybc-facility-gallery-thumb {
  flex: 0 0 65px;
  width: 65px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
}

@media (max-width: 767px) {
  .experience-detail-media .ybc-facility-gallery-stage {
    height: clamp(230px, 64vw, 390px);
  }

  .experience-detail-media .ybc-facility-gallery-thumb {
    flex-basis: 58px;
    width: 58px;
    height: 44px;
  }
}

/* ============================================================
   17. FAQ
   よくある質問のカード。
   ============================================================ */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 12px;
}

.faq-card {
  background: #f7f2ee;
  border-radius: 20px;
  padding: 18px 22px;
  border: 1px solid rgba(88, 113, 109, .14);
}

.faq-card p {
  margin: 0 0 18px;
}

.faq-card p:last-child {
  margin: 0;
}

.faq-card strong {
  font-family: Georgia,serif;
  font-size: 24px;
  font-weight: 400;
}

@media (max-width: 767px) {

  .faq-grid {
    grid-template-columns: 1fr;
  }

}

/* お問い合わせ完了画面：既存の波・テキスト・ボタンは維持して書体だけ調整。 */
body.ybce-thanks-page .ybce-thanks-message {
  font-family: "Zen Maru Gothic", "Kiwi Maru", sans-serif;
  font-weight: 400;
}


/* ============================================================
   18. お問い合わせフォーム
   お問い合わせフォーム、確認文言、エラーメッセージ。
   ============================================================ */

/* お問い合わせ：背景画像が透けない白背景 */
.contact-section {
  position: relative;
  z-index: 2;
  background: #fff;
}

.contact-form {
  max-width: 700px;
  margin: auto;
}

.form-row {
  display: grid;
  grid-template-columns: 175px 1fr;
  gap: 15px;
  align-items: start;
  margin-bottom: 15px;
}

.form-row label {
  text-align: right;
  padding-top: 8px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(88, 113, 109, .35);
  background: white;
  border-radius: 12px;
  padding: 8px 10px;
}

.contact-section .contact-form .form-row select {
  border-radius: 12px;
  border-color: rgba(88, 113, 109, .35);
}

.contact-form .form-row input:focus-visible,
.contact-form .form-row textarea:focus-visible,
.contact-form .form-row select:focus-visible {
  outline: 2px solid #7da9a2;
  outline-offset: 2px;
}


.form-row input {
  height: 42px;
}

.required {
  color: #bb6e68;
  margin-left: 3px;
}

.agree {
  display: block;
  margin: 22px auto;
  text-align: center;
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
}

.agree a {
  font-family: inherit;
  font-weight: inherit;
  text-decoration: underline;
}

.submit-button {
  display: block;
  width: 250px;
  margin: 28px auto;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.form-message {
  background: #e0f2e9;
  padding: 14px;
}

.form-message.error {
  background: #fce7e7;
}

@media (max-width: 767px) {

  .form-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .form-row label {
    text-align: left;
  }

}

/* ============================================================
   19. 体験ページ：見出し・体験ボタン・コンシェルジュ
   ============================================================ */

/* 他の下層ページと同じヒーロー文字サイズ */
body.post-type-archive-experience .page-hero--editorial .hero-inner h1 {
  font-size: clamp(27px, 3vw, 35px);
}

body.post-type-archive-experience .page-hero--editorial .page-hero-eyebrow {
  font-size: 11px;
}

/* 冒頭：施設紹介ページに合わせた余白 */
body.post-type-archive-experience .experience-landing {
  padding: clamp(110px, 11vw, 150px) 0 70px;
  background: #fff;
}

body.post-type-archive-experience .experience-intro {
  margin: 0 auto 60px;
  text-align: center;
}

body.post-type-archive-experience .experience-intro p {
  margin: 0;
  font-size: 14px;
  line-height: 2;
}

/* 体験ボタン：PC4列、全体を少しコンパクトに */
body.post-type-archive-experience .experience-index-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  width: min(100%, 980px);
  max-width: none;
  margin: 0 auto;
}

body.post-type-archive-experience .experience-index-grid .experience-index-card {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 120px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  isolation: isolate;
  opacity: 1;
  text-decoration: none;
  transform: none;
  transition: none;
}

/* 枠線：常に固定 */
body.post-type-archive-experience .experience-index-grid .experience-index-card::before {
  content: "";
  position: absolute;
  inset: 0 12px 12px 0;
  z-index: 3;
  border: 1px solid #91cbc0;
  pointer-events: none;
  transform: none;
  transition: none;
}

/* 右下の水色背景：ホバー時のみ表示 */
body.post-type-archive-experience .experience-index-grid .experience-index-card::after {
  content: "";
  position: absolute;
  inset: 12px 0 0 12px;
  z-index: 1;
  background: rgba(128, 198, 193, .24);
  opacity: 0;
  pointer-events: none;
  transform: none;
  transition: opacity .35s ease;
}

/* 文字は枠線内の上下左右中央 */
body.post-type-archive-experience .experience-index-grid .experience-index-card__inner {
  position: absolute;
  inset: 0 12px 12px 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: auto;
  min-height: 0;
  padding: 12px;
  background: transparent;
  text-align: center;
  transform: none;
  transition: none;
}

body.post-type-archive-experience .experience-index-grid .experience-index-card__label {
  color: var(--ink);
  font-family: "Kiwi Maru", sans-serif;
  font-size: clamp(13px, 1.35vw, 17px);
  font-weight: 300;
  line-height: 1.6;
  transform: none;
  transition: none;
}

/* 押し込み・移動エフェクトを無効化 */
body.post-type-archive-experience .experience-index-grid .experience-index-card:hover,
body.post-type-archive-experience .experience-index-grid .experience-index-card:focus-visible,
body.post-type-archive-experience .experience-index-grid .experience-index-card:hover::before,
body.post-type-archive-experience .experience-index-grid .experience-index-card:hover::after,
body.post-type-archive-experience .experience-index-grid .experience-index-card:hover .experience-index-card__inner,
body.post-type-archive-experience .experience-index-grid .experience-index-card:focus-visible::before,
body.post-type-archive-experience .experience-index-grid .experience-index-card:focus-visible::after,
body.post-type-archive-experience .experience-index-grid .experience-index-card:focus-visible .experience-index-card__inner {
  transform: none;
}

/* ホバー時は背景だけフェードイン */
body.post-type-archive-experience .experience-index-grid .experience-index-card:hover::after,
body.post-type-archive-experience .experience-index-grid .experience-index-card:focus-visible::after {
  opacity: 1;
}

/* 東さんの紹介：写真と文章の配置を保ったまま、周辺情報と同じノート風に。 */
body.post-type-archive-experience .experience-landing .experience-concierge {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  align-items: center;
  gap: 45px;
  width: 100%;
  max-width: none;
  margin: 75px auto 0;
  padding: 34px 38px 38px;
  border: 1px solid rgba(88, 113, 109, .18);
  border-radius: 0;
  background: repeating-linear-gradient(
    to bottom,
    #fff 0,
    #fff 31px,
    #e6eeeb 32px,
    #fff 33px
  );
  box-shadow: 0 7px 23px rgba(36, 43, 43, .07);
}

body.post-type-archive-experience .experience-landing .experience-concierge.is-no-photo {
  grid-template-columns: 1fr;
}

/* 写真：縦長トリミングを維持して大きく */
body.post-type-archive-experience .experience-landing .experience-concierge-photo {
  width: 200px;
  max-width: 100%;
  min-width: 0;
}

body.post-type-archive-experience .experience-landing .experience-concierge-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
}

body.post-type-archive-experience .experience-concierge-copy {
  min-width: 0;
}

body.post-type-archive-experience .experience-concierge-eyebrow {
  margin: 0 0 8px;
  font-family: "Kiwi Maru", sans-serif;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--muted);
}

body.post-type-archive-experience .experience-concierge-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(19px, 2.2vw, 25px);
  font-weight: 500;
}

body.post-type-archive-experience .experience-concierge-copy h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 500;
}

body.post-type-archive-experience .experience-concierge-role {
  margin: 0 0 14px;
  font-size: 12px;
  color: var(--muted);
}

body.post-type-archive-experience .experience-concierge-description {
  margin: 0;
  font-size: 13px;
  line-height: 2;
}

/* 各ツアー：ベージュと白を交互に */
body.post-type-archive-experience .experience-detail-list {
  margin-top: 0;
  background: #fff;
}

body.post-type-archive-experience .experience-detail-list > .experience-detail-section:nth-child(odd) {
  background: var(--cream);
}

body.post-type-archive-experience .experience-detail-list > .experience-detail-section:nth-child(even) {
  background: #fff;
}

/* 星空ツアーの冒頭にも余白 */
body.post-type-archive-experience .experience-detail-list > .experience-detail-section:first-child {
  padding-top: 60px;
}

/* スマホ */
@media (max-width: 767px) {
  body.post-type-archive-experience .experience-landing {
    padding: 90px 0 52px;
  }

  body.post-type-archive-experience .experience-intro {
    margin-bottom: 42px;
  }

  body.post-type-archive-experience .experience-intro p {
    font-size: 12px;
  }

  body.post-type-archive-experience .experience-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    width: min(100%, 480px);
  }

  body.post-type-archive-experience .experience-index-grid .experience-index-card {
    height: 92px;
  }

  body.post-type-archive-experience .experience-index-grid .experience-index-card__label {
    font-size: 13px;
  }

  body.post-type-archive-experience .experience-landing .experience-concierge {
    grid-template-columns: 155px minmax(0, 1fr);
    gap: 24px;
    margin-top: 55px;
    padding: 25px 24px 28px;
  }

  body.post-type-archive-experience .experience-landing .experience-concierge-photo {
    width: 155px;
  }

  body.post-type-archive-experience .experience-concierge-description {
    font-size: 12px;
    line-height: 1.9;
  }

  body.post-type-archive-experience .experience-detail-list > .experience-detail-section:first-child {
    padding-top: 45px;
  }
}

@media (max-width: 480px) {
  body.post-type-archive-experience .experience-landing .experience-concierge {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px 20px 26px;
  }

  body.post-type-archive-experience .experience-landing .experience-concierge-photo {
    width: 170px;
    margin: 0 auto;
  }
}

/* ============================================================
   20. 周辺情報ページ：紹介文・店舗紹介
   ============================================================ */

.access-page-content {
  background: #fff;
}

.access-page-intro {
  width: min(100%, 850px);
  margin: 0 auto;
  text-align: center;
}

.access-page-intro p {
  margin: 0;
  font-size: clamp(13px, 1.5vw, 15px);
  line-height: 2.4;
  letter-spacing: .035em;
}

.access-page-spot-list {
  display: grid;
  gap: clamp(65px, 8vw, 110px);
  margin-top: 88px;
}

.access-page-spot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 5vw, 72px);
  scroll-margin-top: 100px;
}

.access-page-spot.is-reverse .access-page-spot-media {
  order: 2;
}

.access-page-spot-media img,
.access-page-spot-media .media-placeholder {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 28px;
}

.access-page-spot-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 12px;
  row-gap: 4px;
  margin: 0 0 21px;
}

.access-page-spot-heading h3 {
  margin: 0;
  font-size: clamp(20px, 2.1vw, 25px);
  font-weight: 500;
  line-height: 1.55;
}

.access-page-spot-genre {
  font-family: "Kiwi Maru", serif;
  font-size: 11px;
  font-weight: 300;
  color: var(--muted);
}

.access-page-spot-map-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 27px;
}

.access-page-spot-map-actions a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 25px;
  font-family: "Kiwi Maru", serif;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.7;
  border-bottom: 1px solid rgba(36, 43, 43, 0.35);
}

.access-page-spot-map-actions svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: #528b84;
}

.access-page-spot-recommendation {
  padding: 20px 23px 22px;
  border: 1px solid rgba(88, 113, 109, 0.18);
  border-radius: 20px;
  background: repeating-linear-gradient(
    to bottom,
    #fff 0,
    #fff 31px,
    #e6eeeb 32px,
    #fff 33px
  );
  box-shadow: 0 7px 23px rgba(36, 43, 43, 0.07);
}

.access-page-spot-recommendation h4 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
}

.access-page-spot-recommendation-text {
  font-size: 13px;
  line-height: 2.45;
  letter-spacing: .018em;
}

.access-page-spot-recommendation-text p {
  margin: 0 0 .7em;
}

.access-page-spot-recommendation-text p:last-child {
  margin-bottom: 0;
}

.access-page-entry {
  width: min(100%, 760px);
  margin: 80px auto 0;
}

@media (max-width: 767px) {
  .access-page-intro p {
    line-height: 2.15;
  }

  .access-page-intro br {
    display: none;
  }

  .access-page-spot-list {
    margin-top: 60px;
  }

  .access-page-spot-map-actions a {
    font-size: 11px;
  }
}

/* ============================================================
   21. 共通アクセス欄の微調整
   ============================================================ */

.access-strip {
  margin-top: 0;
}

body.page-template-page-access .access-strip {
  margin-top: 0;
}

@media (max-width: 767px) {
  .experience-index-grid {
    gap: 14px;
    width: min(100%, 320px);
  }

  .experience-index-card {
    padding: 0px;
  }

  .access-page-spot,
  .access-page-spot.is-reverse,
  .experience-detail-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .access-page-spot.is-reverse .access-page-spot-media,
  .experience-detail-section:nth-child(even) .experience-detail-media {
    order: 0;
  }

  .access-page-spot-list {
    gap: 46px;
    margin-top: 50px;
  }

  .access-page-spot-copy h3 {
    font-size: 20px;
  }

  .access-page-entry {
    margin-top: 55px;
  }
}

/* ========================================
   体験ページ：上部一覧ボタン
======================================== */

.post-type-archive-experience .experience-landing {
  padding-top: 96px;
  padding-bottom: 40px;
}

.post-type-archive-experience .experience-index-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.post-type-archive-experience .experience-index-card {
  position: relative;
  display: block;
  text-decoration: none;
}

.post-type-archive-experience .experience-index-card::before {
  content: "";
  position: absolute;
  top: -14px;
  left: -14px;
  right: 14px;
  bottom: 14px;
  border: 2px solid #8ccfc2;
  z-index: 1;
  transition: transform 0.35s ease;
  border-radius: 22px;
}

.post-type-archive-experience .experience-index-card::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  right: -12px;
  bottom: -12px;
  background: rgba(128, 198, 193, 0.18);
  z-index: 0;
  transition: transform 0.35s ease;
  border-radius: 22px;
}

.post-type-archive-experience .experience-index-card__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 24px 16px;
  background: #dbe8e5;
  text-align: center;
  transition: transform 0.35s ease;
  border-radius: 20px;
}

.post-type-archive-experience .experience-index-card__label {
  display: block;
  color: var(--ink);
  font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.post-type-archive-experience .experience-index-card:hover::before,
.post-type-archive-experience .experience-index-card:focus-visible::before {
  transform: translate(-6px, -6px);
}

.post-type-archive-experience .experience-index-card:hover::after,
.post-type-archive-experience .experience-index-card:focus-visible::after {
  transform: translate(6px, 6px);
}

.post-type-archive-experience .experience-index-card:hover .experience-index-card__inner,
.post-type-archive-experience .experience-index-card:focus-visible .experience-index-card__inner {
  transform: translate(2px, 2px);
}

/* 二重見出しをなくした分の余白調整 */
.post-type-archive-experience .experience-detail-list {
  margin-top: 32px;
}

@media (max-width: 767px) {
  .post-type-archive-experience .experience-landing {
    padding-top: 72px;
    padding-bottom: 20px;
  }

  .post-type-archive-experience .experience-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 18px;
  }

  .post-type-archive-experience .experience-index-card::before {
    top: -8px;
    left: -8px;
    right: 8px;
    bottom: 8px;
  }

  .post-type-archive-experience .experience-index-card::after {
    top: 8px;
    left: 8px;
    right: -8px;
    bottom: -8px;
  }

  .post-type-archive-experience .experience-index-card__inner {
    min-height: 120px;
    padding: 18px 12px;
  }

  .post-type-archive-experience .experience-index-card__label {
    font-size: 18px;
  }
}

/* お部屋を見る：見出しと飾り線の調整 */

.facility-floor-nav-heading {
  width: min(calc(100% - 64px), 730px);
}

.facility-floor-nav-heading p {
  font-size: clamp(15px, 1.5vw, 19px);
}

.facility-floor-nav-heading svg {
  width: 100%;
  height: 16px;
  color: #B5B5B5;
}

@media (max-width: 767px) {
  .facility-floor-nav-heading {
    width: min(calc(100% - 36px), 480px);
  }
}

/* ============================================================
   周辺情報：ファーストビュー説明文の下に表示するスポット目次
   既存 main.css の一番下へ追記（他のCSSは削除しない）
   ============================================================ */

.access-page-index {
  width: min(100%, 1000px);
  margin: clamp(68px, 8vw, 104px) auto 0;
}

.access-page-index-heading {
  margin: 0 0 36px;
  text-align: center;
}

.access-page-index-eyebrow {
  margin: 0 0 10px;
  color: #819a95;
  font-family: "Kiwi Maru", serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .22em;
}

.access-page-index-heading h2 {
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.7;
}

.access-page-index-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(30px, 5vw, 72px);
  row-gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.access-page-index-item {
  min-width: 0;
}

.access-page-index-item a {
  display: flex;
  align-items: center;
  gap: 17px;
  min-height: 78px;
  padding: 20px 8px 20px 2px;
  border-bottom: 1px solid rgba(88, 113, 109, .25);
  text-decoration: none;
  transition: background-color .25s ease, border-color .25s ease, padding-left .25s ease;
  border-radius: 12px;
}

.access-page-index-number {
  flex: 0 0 26px;
  color: #83a39d;
  font-family: "Kiwi Maru", serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .03em;
}

.access-page-index-label {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 3px;
  row-gap: 1px;
  min-width: 0;
}

.access-page-index-name {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(14px, 1.35vw, 16px);
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: .025em;
}

.access-page-index-genre {
  color: var(--muted);
  font-family: "Kiwi Maru", serif;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.8;
}

.access-page-index-arrow {
  flex: none;
  margin-left: auto;
  color: #83a39d;
  font-size: 17px;
  font-weight: 300;
  line-height: 1;
}

.access-page-index-item a:hover,
.access-page-index-item a:focus-visible {
  background: rgba(208, 227, 224, .2);
  border-color: rgba(88, 113, 109, .5);
  padding-left: 10px;
}

.access-page-index-item a:focus-visible {
  outline: 2px solid #7da9a2;
  outline-offset: 3px;
}

/* スクロール後、固定ヘッダーに見出しが隠れないようにする */
.access-page-spot[id^="nearby-spot-"] {
  scroll-margin-top: 100px;
}

@media (max-width: 767px) {
  .access-page-index {
    margin-top: 64px;
  }

  .access-page-index-heading {
    margin-bottom: 22px;
  }

  .access-page-index-list {
    grid-template-columns: 1fr;
  }

  .access-page-index-item a {
    gap: 14px;
    min-height: 68px;
    padding: 15px 4px 15px 2px;
  }

  .access-page-index-name {
    font-size: 15px;
  }

  .access-page-spot[id^="nearby-spot-"] {
    scroll-margin-top: 80px;
  }
}

@media (max-width: 767px) {
  .experience-concierge-photo img,
  .access-page-spot-media img,
  .access-page-spot-media .media-placeholder,
  .experience-detail-main-image {
    border-radius: 22px;
  }

  .experience-index-card,
  .blog-archive-grid .card-media,
  .blog-single .post-thumbnail img,
  .article-layout > img,
  .article-layout .entry-content img {
    border-radius: 18px;
  }

  .experience-detail-sub-images img,
  .faq-card,
  .access-page-spot-recommendation {
    border-radius: 16px;
  }
}


/* 周辺情報：スポットの間隔と区切り線（施設紹介ページと同じ色・1px） */
.access-page-spot-list {
  gap: 0;
}

.access-page-spot + .access-page-spot {
  margin-top: clamp(72px, 8vw, 110px);
  padding-top: clamp(72px, 8vw, 110px);
  border-top: 0;
  background: url("../images/organic-line.svg") left top / 100% 8px no-repeat;
}

@media (max-width: 767px) {
  .access-page-spot + .access-page-spot {
    margin-top: 62px;
    padding-top: 62px;
  }
}

/* ==========================================
   TOP：施設紹介ブロック下部の装飾背景
   ========================================== */

body.home .facility-showcase {
  /* PC用：ここで画像の横幅・縦幅を調整 */
  --facility-bg-width: 50%;
  --facility-bg-height: 350px;

  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* 背景画像 */
body.home .facility-showcase::after {
  content: "";
  position: absolute;
  opacity: 0.5;

  /* 次の体験ブロックとの境目に密着 */
  bottom: 0;
  right: 0;
  left: auto;
  transform: none;

  width: var(--facility-bg-width);
  height: var(--facility-bg-height);

  background-image: url("https://yaeyama-base-core.initiums.jp/wp-content/uploads/2026/11/砂浜背景-scaled.png");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 100% 100%;

  z-index: 0;
  pointer-events: none;
}

/* 施設紹介の写真・文字・リンクは背景より手前 */
body.home .facility-showcase > .container,
body.home .facility-showcase > .facility-slideshow {
  position: relative;
  z-index: 1;
}

/* スマホ用のサイズ */
@media (max-width: 767px) {
  body.home .facility-showcase {
    --facility-bg-width: 100%;
    --facility-bg-height: 480px;
  }
}

/* ==========================================
   アクセス欄：背景・イラスト・文字の重なり順
   ========================================== */

/* セクション自体の重なり制限を解除 */
main .access-strip.ybci-access-illustration-host {
  position: relative;
  z-index: auto !important;
  isolation: auto !important;
}

/* ベージュ背景：イラストの後ろ */
main .access-strip.ybci-access-illustration-host::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cream, #f5efea);
  z-index: 2;
  pointer-events: none;
}

/* 境界で切れる原因となった複製を非表示 */
main .access-strip.ybci-access-illustration-host
  > .ybci-access-overlap-layer {
  display: none !important;
}

/* 地図・写真 */
main .access-strip.ybci-access-illustration-host
  > .map-frame,
main .access-strip.ybci-access-illustration-host
  > .map-placeholder {
  position: relative;
  z-index: 3;
}

/* アクセス欄専用イラスト */
main .access-strip.ybci-access-illustration-host
  > .ybci-access-layer {
  z-index: 15 !important;
  overflow: visible !important;
}

/* 文字・リンク：必ずイラストより前 */
main .access-strip.ybci-access-illustration-host
  > .container {
  position: relative;
  z-index: 20 !important;
}

