/* =========================================================
   一棟貸しの宿 なぎさんご（架空・デザインサンプル）
   白・砂・珊瑚ピンク・ターコイズ / 昼⇄夜テーマ
   ========================================================= */

:root {
  --bg: #fbf8f3;
  --bg-alt: #f3ebdf;
  --card: #ffffff;
  --ink: #2b3a42;
  --ink-soft: #62717a;
  --line: rgba(43, 58, 66, .12);
  --coral: #ec8578;
  --coral-deep: #cf5f53;
  --turq: #2fb0a8;
  --turq-deep: #1c8587;
  --sand: #e9dcc5;
  --shadow: 0 18px 40px -22px rgba(43, 58, 66, .35);
  --hero-sky: linear-gradient(180deg, #86cfe2 0%, #bfe4ea 42%, #ffd6c4 62%, #ffc2ae 70%);
  --hero-sea: #2ba5a2;
  --hero-sun: #fff1d6;
  --header-bg: rgba(251, 248, 243, .78);
  --radius: 22px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --t-theme: 1.1s;
  --font-jp: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  --font-serif: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --font-en: "Cormorant Garamond", serif;
  --gutter: 20px;
  color-scheme: light;
}

:root[data-theme="night"] {
  --bg: #0d1829;
  --bg-alt: #122238;
  --card: #172a45;
  --ink: #e9eef3;
  --ink-soft: #a8b7c6;
  --line: rgba(233, 238, 243, .13);
  --coral: #f4a095;
  --coral-deep: #f08576;
  --turq: #6fd6cf;
  --turq-deep: #54c3bc;
  --sand: #2a3a52;
  --shadow: 0 18px 40px -20px rgba(0, 0, 0, .6);
  --hero-sky: linear-gradient(180deg, #060d22 0%, #13204a 50%, #2b3868 68%, #3a4476 72%);
  --hero-sea: #0c2036;
  --hero-sun: #e9eefc;
  --header-bg: rgba(13, 24, 41, .72);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; overflow-x: clip; }
html:not(.lenis) { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: .04em;
  color: var(--ink);
  background: var(--bg);
  transition: background-color var(--t-theme) ease, color var(--t-theme) ease;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--turq); outline-offset: 3px; border-radius: 6px; }

/* テーマ切替時になめらかに変わる要素 */
.site-header, .section, .room-card, .plan-tab, .cal, .summary, .story-item, .form input, .form select, .form textarea,
.site-footer, .sample-badge, .btn--ghost, .tags li, .cal__day, .map svg *, .menu__panel, .theme-toggle__track, .theme-toggle__knob {
  transition: background-color var(--t-theme) ease, color var(--t-theme) ease, border-color var(--t-theme) ease, fill var(--t-theme) ease, stroke var(--t-theme) ease, box-shadow var(--t-theme) ease, transform .5s var(--ease);
}

html:not(.js) .theme-toggle, html:not(.js) .slider-ctrl { display: none; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--card); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 12px; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: 0 28px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 500; text-decoration: none; cursor: pointer; letter-spacing: .08em;
  transition: transform .35s var(--ease), background-color .35s ease, color .35s ease, border-color .35s, box-shadow .35s;
}
.btn:hover { transform: translateY(-2px); }
.btn--coral { background: var(--coral); color: #fff; box-shadow: 0 10px 24px -12px var(--coral-deep); }
:root[data-theme="night"] .btn--coral { color: #1a1320; }
.btn--coral:hover { background: var(--coral-deep); }
.btn--ghost { border-color: rgba(255,255,255,.8); color: #fff; background: rgba(14,44,62,.2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.2); }
.btn--small { min-height: 38px; padding: 0 18px; font-size: 13px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 64px; padding: 0 12px 0 16px;
  color: #fff;
  transition: background-color .5s ease, color .5s ease, box-shadow .5s ease, backdrop-filter .5s;
}
.site-header.is-solid {
  background: var(--header-bg); color: var(--ink);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark { width: 36px; height: 36px; flex: none; }
.logo__text { font-family: var(--font-serif); font-size: 20px; font-weight: 600; line-height: 1.1; letter-spacing: .12em; display: flex; flex-direction: column; }
.logo__text small { font-family: var(--font-jp); font-size: 10px; font-weight: 500; letter-spacing: .2em; opacity: .8; margin-bottom: 2px; }
.gnav { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-cta { display: none; }

/* 昼夜トグル */
.theme-toggle { display: flex; align-items: center; gap: 8px; background: none; border: 0; padding: 6px 4px; cursor: pointer; }
.theme-toggle__track {
  position: relative; width: 58px; height: 30px; border-radius: 999px;
  background: linear-gradient(90deg, #ffd9c4, #9fd9e6);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6);
}
:root[data-theme="night"] .theme-toggle__track { background: linear-gradient(90deg, #1c2a55, #3a4476); }
.theme-toggle__knob {
  position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
:root[data-theme="night"] .theme-toggle__knob { transform: translateX(28px); background: #f3f1e6; }
.theme-toggle__knob svg { width: 16px; height: 16px; grid-area: 1 / 1; fill: none; stroke: #e0776a; stroke-width: 2; stroke-linecap: round; transition: opacity .5s, transform .6s var(--ease); }
.theme-toggle__knob .i-sun circle { fill: #ffc56b; stroke: #f2a24a; }
.theme-toggle__knob .i-moon { fill: #f0d27a; stroke: #c9a74a; opacity: 0; transform: rotate(-60deg) scale(.6); }
:root[data-theme="night"] .i-sun { opacity: 0; transform: rotate(60deg) scale(.6); }
:root[data-theme="night"] .i-moon { opacity: 1; transform: none; }
.theme-toggle__label { font-size: 12px; width: 1.2em; }

/* モバイルメニュー（JSなしでも開ける details） */
.menu { position: relative; }
.menu summary { list-style: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-content: center; gap: 6px; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 20px; height: 1.8px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease); }
.menu[open] summary span:first-child { transform: translateY(4px) rotate(45deg); }
.menu[open] summary span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu__panel {
  position: absolute; right: 0; top: 52px; width: min(260px, calc(100vw - 24px));
  background: var(--card); color: var(--ink); border-radius: 18px; padding: 10px; box-shadow: var(--shadow);
  display: grid;
}
.menu__panel a { padding: 12px 14px; border-radius: 12px; text-decoration: none; }
.menu__panel a:hover { background: var(--bg-alt); }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative; min-height: 100svh; min-height: 100vh;
  display: flex; align-items: center; color: #fff; overflow: hidden;
}
@supports (min-height: 100svh) { .hero { min-height: 100svh; } }
.hero__bg { position: absolute; inset: 0; background: var(--hero-sky); transition: background var(--t-theme); }
.hero__fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__fallback rect, .hero__fallback circle { transition: fill var(--t-theme); }
.hero__gl, .hero__stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__gl { opacity: 0; transition: opacity 1.2s ease; }
.hero.gl-ready .hero__gl { opacity: 1; }
.hero__fallback { transition: opacity 1.2s ease; }
.hero.gl-ready .hero__fallback { opacity: 0; }
.hero__stars { pointer-events: none; opacity: 0; transition: opacity var(--t-theme) ease; mix-blend-mode: screen; }
:root[data-theme="night"] .hero__stars { opacity: 1; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,40,58,.34) 0%, rgba(12,40,58,.16) 45%, rgba(12,40,58,0) 72%); pointer-events: none; }
.hero__fade { position: absolute; inset: auto 0 0 0; height: 22%; background: linear-gradient(180deg, transparent, var(--bg)); transition: background var(--t-theme); }
.hero__inner { position: relative; z-index: 2; width: 100%; max-width: 1120px; margin: 0 auto; padding: 96px var(--gutter) 120px; text-shadow: 0 2px 20px rgba(20, 40, 60, .28); }
.hero__eyebrow { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; letter-spacing: .2em; margin-bottom: 22px; }
.hero__eyebrow span { padding: 4px 12px; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; background: rgba(255,255,255,.08); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.hero__title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(42px, 12vw, 104px); line-height: 1.22; letter-spacing: .08em; }
.hero__title .line { display: block; }
.hero__lead { margin-top: 22px; font-size: 14px; line-height: 2.1; max-width: 32em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__facts { width: fit-content; max-width: 100%; padding: 12px 16px; border-radius: 18px; background: rgba(14, 44, 62, .22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 18px; margin-top: 40px; font-size: 11px; letter-spacing: .1em; }
.hero__facts li { text-shadow: 0 1px 12px rgba(10,40,60,.55); display: flex; flex-direction: column; border-left: 1px solid rgba(255,255,255,.5); padding-left: 12px; }
.hero__facts b { font-family: var(--font-serif); font-size: 20px; font-weight: 500; }
.hero__scroll { position: absolute; z-index: 2; left: 50%; bottom: 24px; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-family: var(--font-en); font-style: italic; font-size: 14px; letter-spacing: .15em; }
.hero__scroll i { width: 1px; height: 44px; background: currentColor; transform-origin: top; animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- セクション共通 ---------- */
.section { position: relative; padding: 96px 0; background: var(--bg); }
.eyebrow { display: flex; align-items: baseline; gap: 12px; color: var(--turq-deep); font-size: 12px; letter-spacing: .2em; margin-bottom: 14px; }
.eyebrow em { font-family: var(--font-en); font-style: italic; font-size: 26px; letter-spacing: .04em; color: var(--coral); }
.nw { display: inline-block; }
.h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(24px, 6.4vw, 40px); line-height: 1.6; letter-spacing: .08em; margin-bottom: 26px; }

/* ---------- 宿について ---------- */
.about__grid { display: grid; gap: 48px; }
.about__text p + p { margin-top: 1em; }
.about__text > p { color: var(--ink-soft); }
.about__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 32px; }
.about__stats div { background: var(--bg-alt); border-radius: 16px; padding: 14px 10px; text-align: center; transition: background-color var(--t-theme); }
.about__stats dt { font-size: 11px; color: var(--ink-soft); letter-spacing: .1em; }
.about__stats dd { font-family: var(--font-serif); font-size: 14px; letter-spacing: 0; white-space: nowrap; }
@media (min-width: 768px) { .about__stats dd { font-size: 17px; } }
.about__figure { position: relative; }
.about__figure img { width: 100%; border-radius: 28px; box-shadow: var(--shadow); transition: filter var(--t-theme); }
.about__figure::before { content: ""; position: absolute; inset: 18px -10px -14px 22px; border-radius: 30px; background: var(--coral); opacity: .18; z-index: -1; }
.about__figure figcaption { font-size: 11px; color: var(--ink-soft); margin-top: 10px; text-align: right; }
:root[data-theme="night"] .about__figure img, :root[data-theme="night"] .room-card__img img { filter: brightness(.78) saturate(.9) hue-rotate(-8deg); }

/* ---------- お部屋スライダー ---------- */
.rooms { background: var(--bg-alt); overflow: hidden; }
.rooms__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.rooms__head .h2 { margin-bottom: 6px; }
.rooms__note { font-size: 12px; color: var(--ink-soft); }
.slider-ctrl { display: flex; gap: 8px; flex: none; }
.slider-btn, .cal__nav {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card);
  display: grid; place-items: center; cursor: pointer; transition: background-color .3s, border-color .3s, transform .3s var(--ease);
}
.slider-btn:hover, .cal__nav:hover { border-color: var(--turq); transform: scale(1.06); }
.slider-btn svg, .cal__nav svg { width: 18px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.slider-btn[disabled] { opacity: .35; cursor: default; transform: none; }

.slider {
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab;
  padding: 8px 0 28px;
}
.slider::-webkit-scrollbar { display: none; }
.slider.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; -webkit-user-select: none; }
.slider.is-animating { scroll-snap-type: none; }
.slider__track { display: flex; gap: 16px; width: max-content; padding: 0 var(--gutter); }
.room-card {
  width: min(82vw, 380px); flex: none; scroll-snap-align: center; background: var(--card); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.room-card__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand); }
.room-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter var(--t-theme); pointer-events: none; }
.room-card:hover .room-card__img img { transform: scale(1.04); }
.room-card__body { padding: 20px 22px 24px; }
.room-card__no { font-family: var(--font-en); font-style: italic; color: var(--coral); font-size: 18px; line-height: 1; }
.room-card h3 { font-family: var(--font-serif); font-weight: 500; font-size: 21px; margin: 8px 0 6px; letter-spacing: .1em; }
.room-card h3 small { font-family: var(--font-jp); font-size: 11px; color: var(--ink-soft); margin-left: 10px; letter-spacing: .1em; }
.room-card p:not(.room-card__no) { font-size: 13.5px; color: var(--ink-soft); line-height: 1.85; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tags li { font-size: 11px; padding: 3px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--turq-deep); }
.slider-dots { display: flex; gap: 8px; justify-content: center; }
.slider-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--line); cursor: pointer; transition: width .4s var(--ease), background-color .4s; }
.slider-dots button.is-active { width: 26px; background: var(--turq); }

/* ---------- プラン・カレンダー ---------- */
.plan-tabs { display: grid; gap: 10px; margin-bottom: 28px; }
.plan-tab {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left;
  padding: 16px 18px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--card); cursor: pointer;
}
.plan-tab__name { font-weight: 500; font-size: 14px; }
.plan-tab__price { font-family: var(--font-serif); font-size: 18px; white-space: nowrap; }
.plan-tab__price small { font-family: var(--font-jp); font-size: 10px; color: var(--ink-soft); margin-left: 4px; }
.plan-tab[aria-selected="true"] { border-color: var(--turq); box-shadow: 0 0 0 3px color-mix(in srgb, var(--turq) 22%, transparent); }
.plan-tab[aria-selected="true"] .plan-tab__name::before { content: "●"; color: var(--turq); margin-right: 6px; font-size: 10px; vertical-align: 2px; }

.booking { display: grid; gap: 20px; }
.cal { background: var(--card); border-radius: var(--radius); padding: 18px 14px 16px; box-shadow: var(--shadow); min-width: 0; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal__nav { width: 40px; height: 40px; }
.cal__nav[disabled] { opacity: .3; cursor: default; transform: none; }
.cal__month { font-family: var(--font-serif); font-size: 18px; letter-spacing: .12em; }
.cal__week, .cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal__week span { text-align: center; font-size: 11px; color: var(--ink-soft); padding: 4px 0; }
.cal__week span:first-child { color: var(--coral-deep); }
.cal__week span:last-child { color: var(--turq-deep); }
.cal__noscript { grid-column: 1 / -1; font-size: 13px; color: var(--ink-soft); padding: 20px 4px; }
.cal__day {
  position: relative; aspect-ratio: 1 / 1.08; min-width: 0; border: 0; border-radius: 12px; padding: 4px 0 2px;
  background: var(--bg-alt); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
}
.cal__day .d { font-size: 14px; line-height: 1.2; font-weight: 500; }
.cal__day .p { font-size: 9px; line-height: 1.2; color: var(--ink-soft); letter-spacing: 0; }
.cal__day .mk { font-size: 9px; line-height: 1; color: var(--turq-deep); }
.cal__day.is-few { background: color-mix(in srgb, var(--coral) 16%, var(--card)); }
.cal__day.is-few .mk { color: var(--coral-deep); }
.cal__day.is-ng, .cal__day.is-past { background: transparent; cursor: not-allowed; color: var(--ink-soft); opacity: .5; }
.cal__day.is-ng .d { text-decoration: line-through; }
.cal__day.is-blank { visibility: hidden; }
.cal__day:not(.is-ng):not(.is-past):hover { outline: 1.5px solid var(--turq); }
.cal__day.is-range { background: color-mix(in srgb, var(--turq) 22%, var(--card)); border-radius: 6px; }
.cal__day.is-in, .cal__day.is-out { background: var(--turq); color: #fff; }
:root[data-theme="night"] .cal__day.is-in, :root[data-theme="night"] .cal__day.is-out { color: #0d1829; }
.cal__day.is-in .p, .cal__day.is-out .p, .cal__day.is-in .mk, .cal__day.is-out .mk { color: inherit; }
.cal__day.is-in { animation: pop .45s var(--ease); }
@keyframes pop { 0% { transform: scale(.85); } 60% { transform: scale(1.08); } 100% { transform: scale(1); } }
.cal__legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; font-size: 11px; color: var(--ink-soft); }
.cal__legend li { display: flex; align-items: center; gap: 6px; }
.lg { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.lg--ok { background: var(--bg-alt); border: 1px solid var(--line); }
.lg--few { background: color-mix(in srgb, var(--coral) 30%, var(--card)); }
.lg--ng { background: transparent; border: 1px dashed var(--ink-soft); }
.lg--sel { background: var(--turq); }

.summary { background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); align-self: start; }
.summary__plan { font-family: var(--font-serif); font-size: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.summary dl div { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; }
.summary dt { color: var(--ink-soft); }
.summary__guests { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-soft); padding: 6px 0; }
.summary__guests select { border: 1.5px solid var(--line); border-radius: 10px; padding: 6px 10px; background: var(--bg); color: var(--ink); }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.summary__total span { font-size: 12px; color: var(--ink-soft); }
.summary__total b { font-family: var(--font-serif); font-size: 28px; font-weight: 500; color: var(--coral-deep); }
.summary__hint { font-size: 12px; color: var(--ink-soft); margin-bottom: 14px; line-height: 1.7; }
.summary__dummy { font-size: 10.5px; color: var(--ink-soft); margin-top: 10px; text-align: center; }

/* ---------- こだわり ---------- */
.story { background: var(--bg-alt); }
.story__list { display: grid; gap: 16px; counter-reset: st; }
.story-item { background: var(--card); border-radius: var(--radius); padding: 28px 24px; position: relative; box-shadow: var(--shadow); counter-increment: st; }
.story-item::after { content: "0" counter(st); position: absolute; right: 22px; top: 16px; font-family: var(--font-en); font-style: italic; font-size: 40px; color: var(--coral); opacity: .35; line-height: 1; }
.story-item__icon { width: 52px; height: 52px; fill: none; stroke: var(--turq); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.story-item h3 { font-family: var(--font-serif); font-weight: 500; font-size: 19px; margin-bottom: 8px; letter-spacing: .1em; }
.story-item p { font-size: 13.5px; color: var(--ink-soft); }
.story__quote { margin-top: 56px; text-align: center; font-family: var(--font-serif); font-size: clamp(16px, 4.4vw, 22px); line-height: 2.1; }
.story__quote cite { display: block; margin-top: 14px; font-family: var(--font-jp); font-style: normal; font-size: 12px; color: var(--ink-soft); }

/* ---------- アクセス ---------- */
.access__grid { display: grid; gap: 36px; }
.access__info div { display: grid; grid-template-columns: 5em 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.access__info dt { color: var(--turq-deep); font-weight: 500; }
.map svg { width: 100%; border-radius: 24px; box-shadow: var(--shadow); }
.map figcaption { font-size: 11px; color: var(--ink-soft); margin-top: 10px; text-align: right; }
.map__sea { fill: #bfe9ea; }
.map__waves path { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; opacity: .8; }
.map__reef { fill: #d9f4ef; stroke: #9fdcd6; stroke-width: 2; stroke-dasharray: 4 6; }
.map__land { fill: #f4e7cf; stroke: #e0cba6; stroke-width: 2; }
.map__hill { fill: #a9d59a; }
.map__road { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; }
.map__ferry { fill: none; stroke: #1c8587; stroke-width: 2.4; stroke-dasharray: 2 8; stroke-linecap: round; }
.map__pin text, .map__label, .map__north text { font-family: var(--font-jp); font-size: 15px; fill: #2b3a42; letter-spacing: .06em; }
.map__pin--port circle { fill: #1c8587; }
.map__pin--beach path { fill: none; stroke: #ec8578; stroke-width: 5; stroke-linecap: round; }
.map__pin--inn path { fill: #ec8578; }
.map__pin--inn text { font-family: var(--font-serif); font-weight: 600; font-size: 17px; }
.map__north path { fill: #2b3a42; }
:root[data-theme="night"] .map__sea { fill: #10263f; }
:root[data-theme="night"] .map__reef { fill: #17354f; stroke: #2e5a73; }
:root[data-theme="night"] .map__land { fill: #2a3d58; stroke: #3c5374; }
:root[data-theme="night"] .map__hill { fill: #2f5a54; }
:root[data-theme="night"] .map__road { stroke: #4b6182; }
:root[data-theme="night"] .map__ferry { stroke: #6fd6cf; }
:root[data-theme="night"] .map__pin text, :root[data-theme="night"] .map__label, :root[data-theme="night"] .map__north text { fill: #e9eef3; }
:root[data-theme="night"] .map__north path { fill: #e9eef3; }
:root[data-theme="night"] .map__waves path { opacity: .25; }
.map__pin--inn path { animation: bob 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: bottom center; }
@keyframes bob { 50% { transform: translateY(-5px); } }

/* ---------- お問い合わせ ---------- */
.contact__grid { display: grid; gap: 36px; }
.contact__grid > div > p:not(.eyebrow):not(.tel) { color: var(--ink-soft); }
.tel { margin-top: 26px; display: grid; gap: 2px; }
.tel span { font-size: 12px; color: var(--turq-deep); }
.tel b { font-family: var(--font-serif); font-size: 30px; font-weight: 500; letter-spacing: .1em; }
.tel small { font-size: 12px; color: var(--ink-soft); }
.form { background: var(--card); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.form__row { display: grid; gap: 6px; }
.form__row--2 { grid-template-columns: 1fr 96px; gap: 12px; }
.form__row--2 > div { display: grid; gap: 6px; min-width: 0; }
.form label { font-size: 13px; font-weight: 500; }
.req { font-size: 10px; background: var(--coral); color: #fff; border-radius: 6px; padding: 1px 6px; margin-left: 8px; vertical-align: 1px; }
.form input, .form select, .form textarea {
  width: 100%; min-width: 0; border: 1.5px solid var(--line); background: var(--bg); border-radius: 12px; padding: 12px 14px; font-size: 16px;
}
.form input::placeholder, .form textarea::placeholder { color: var(--ink-soft); opacity: .6; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--turq); box-shadow: 0 0 0 3px color-mix(in srgb, var(--turq) 22%, transparent); }
.form__note { font-size: 11.5px; color: var(--ink-soft); text-align: center; }

/* ---------- フッター ---------- */
.site-footer { background: var(--bg-alt); padding: 48px 0 110px; border-top: 1px solid var(--line); }
.footer__inner { display: grid; gap: 8px; text-align: center; justify-items: center; }
.footer__addr, .footer__copy { font-size: 12px; color: var(--ink-soft); }

/* ---------- サンプル表示・トースト ---------- */
.sample-badge {
  position: fixed; right: 10px; bottom: 10px; z-index: 60; max-width: calc(100vw - 20px);
  background: color-mix(in srgb, var(--card) 92%, transparent); color: var(--ink);
  border: 1px solid var(--line); border-radius: 14px; padding: 7px 12px; box-shadow: 0 8px 24px -12px rgba(0,0,0,.35);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 10.5px; line-height: 1.6; letter-spacing: .03em;
}
.sample-badge p { font-weight: 500; }
.sample-badge a { color: var(--turq-deep); text-decoration: underline; text-underline-offset: 2px; }
.toast {
  position: fixed; left: 50%; bottom: 76px; z-index: 70; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 999px; font-size: 13px; width: max-content; max-width: calc(100vw - 32px); text-align: center;
  transition: opacity .4s, transform .4s var(--ease);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   タブレット以上
   ========================================================= */
@media (min-width: 768px) {
  :root { --gutter: 40px; }
  body { font-size: 16px; }
  .site-header { height: 76px; padding: 0 28px; }
  .header-cta { display: inline-flex; }
  .section { padding: 140px 0; }
  .hero__lead { font-size: 16px; }
  .hero__facts { gap: 36px; font-size: 12px; }
  .hero__facts b { font-size: 26px; }
  .hero__scroll { display: flex; }
  .about__grid { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 72px; }
  .room-card { width: 380px; }
  .slider__track { gap: 28px; padding: 0 max(var(--gutter), calc((100vw - 1120px) / 2 + var(--gutter))); }
  .room-card { scroll-snap-align: start; }
  .slider { scroll-padding-inline: max(var(--gutter), calc((100vw - 1120px) / 2 + var(--gutter))); }
  .plan-tabs { grid-template-columns: repeat(3, 1fr); }
  .plan-tab { flex-direction: column; align-items: flex-start; padding: 20px 22px; }
  .booking { grid-template-columns: 1fr 320px; gap: 28px; }
  .cal { padding: 26px 26px 22px; }
  .cal__week, .cal__grid { gap: 6px; }
  .cal__day { aspect-ratio: auto; height: 62px; }
  .cal__day .d { font-size: 16px; }
  .cal__day .p { font-size: 10.5px; }
  .story__list { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .access__grid { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 64px; }
  .contact__grid { grid-template-columns: 1fr 1.1fr; gap: 64px; }
  .form { padding: 36px 32px; }
  .form__row--2 { grid-template-columns: 1fr 120px; }
  .site-footer { padding-bottom: 80px; }
  .sample-badge { right: 16px; bottom: 16px; font-size: 11.5px; padding: 9px 14px; }
}

@media (min-width: 1080px) {
  .gnav { display: flex; gap: 28px; font-size: 14px; }
  .gnav a { text-decoration: none; position: relative; padding: 4px 0; }
  .gnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--coral); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
  .gnav a:hover::after { transform: scaleX(1); transform-origin: left; }
  .menu { display: none; }
  .hero__inner { padding-top: 120px; }
}

/* =========================================================
   動きを減らす設定
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html:not(.lenis) { scroll-behavior: auto; }
}

/* Lenis（なめらかスクロール）用 */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
