/* 湯宿 ゆうなぎ（デモ）全ページ共通 */
:root {
  --akane: #C8553D;      /* 夕凪の茜（線・印・図の強調） */
  --akane-btn: #B04A33;  /* 茜のボタンの地（白い字の読みやすさのため少し深く） */
  --ai: #1F3550;         /* 藍（字・夜の区画） */
  --yu: #F5F2EC;         /* 湯けむりの白 */
  --usu: #E4E8EE;        /* 藍を薄めた地 */
  --white: #FFFFFF;
  --ai-60: color-mix(in srgb, var(--ai) 62%, transparent);
  --ai-20: color-mix(in srgb, var(--ai) 20%, transparent);
  --yu-70: color-mix(in srgb, var(--yu) 72%, transparent);
  --mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --hd: 84px;
  --wrap: 1120px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 12px); }
body {
  margin: 0;
  background: var(--yu);
  color: var(--ai);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(15px, 0.86rem + 0.22vw, 17px);
  line-height: 1.95;
  letter-spacing: 0.03em;
  overflow-wrap: anywhere;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { font-family: var(--mincho); font-weight: 500; margin: 0; line-height: 1.5; letter-spacing: 0.06em; font-feature-settings: "palt"; text-wrap: balance; word-break: auto-phrase; }
.num, td, .tl__scale, .cal, .slots { font-variant-numeric: tabular-nums; }
.num { font-weight: 500; }
:focus-visible { outline: 2px solid var(--akane); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ai); color: var(--yu); padding: 8px 14px; z-index: 100; }
.skip:focus { top: 8px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 40em; }

/* ---------- ヘッダー ---------- */
.hd { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--yu) 96%, transparent); border-bottom: 1px solid var(--ai-20); }
.hd__in { height: var(--hd); width: min(100% - 40px, 1280px); margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ai); }
.logo__mark { width: 52px; height: 33px; flex: none; }
.logo__v { display: flex; flex-direction: row-reverse; align-items: flex-start; gap: 2px; font-family: var(--mincho); }
.logo__n { writing-mode: vertical-rl; font-weight: 700; font-size: 15px; letter-spacing: 0.1em; line-height: 1; }
.logo__s { writing-mode: vertical-rl; font-size: 10px; font-weight: 500; letter-spacing: 0.2em; line-height: 1; margin-top: 1px; }
.logo__h { display: none; font-family: var(--mincho); font-weight: 700; font-size: 19px; letter-spacing: 0.08em; line-height: 1; }
.logo__h small { font-size: 11px; font-weight: 500; margin-right: 6px; letter-spacing: 0.16em; }
.demo { font-family: var(--serif); font-size: 9px; letter-spacing: 0.14em; color: var(--ai-60); border: 1px solid var(--ai-20); padding: 0 5px; line-height: 16px; align-self: center; }
.gnav { margin-left: auto; }
.gnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 2vw, 30px); }
.gnav a { position: relative; display: block; text-decoration: none; font-family: var(--mincho); font-weight: 500; font-size: 15px; letter-spacing: 0.1em; padding: 8px 0; }
.gnav a::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 18px; height: 2px; margin-left: -9px; background: var(--akane); transform: scaleX(0); transition: transform .3s var(--ease); }
.gnav a:hover::after { transform: scaleX(.6); }
.gnav a[aria-current="page"]::after { transform: none; }
.hd__cta { display: flex; align-items: center; gap: 18px; }
.hd__tel { margin: 0; text-align: right; line-height: 1.25; }
.hd__tel a { font-weight: 500; font-size: 18px; letter-spacing: 0.06em; text-decoration: none; font-variant-numeric: tabular-nums; }
.hd__tel span { display: block; font-size: 11px; letter-spacing: 0.06em; color: var(--ai-60); }
.menu { display: none; margin-left: auto; background: none; border: 0; color: var(--ai); font: inherit; cursor: pointer; padding: 6px 2px; text-align: center; }
.menu__bars { display: block; width: 26px; height: 12px; margin: 0 auto 4px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; position: relative; }
.menu__bars::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid currentColor; }
.menu__label { font-size: 10px; letter-spacing: 0.12em; display: block; line-height: 1; }

/* ---------- ボタン ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 48px; padding: 10px 26px; border-radius: 2px; font-family: var(--serif); font-weight: 500; font-size: 15px; letter-spacing: 0.08em; text-decoration: none; transition: background-color .25s, color .25s; cursor: pointer; }
.btn--fill { background: var(--akane-btn); color: var(--yu); border: 1px solid var(--akane-btn); }
.btn--fill:hover { background: var(--akane); }
.btn--line { background: transparent; color: var(--ai); border: 1px solid var(--ai); }
.btn--line:hover { background: var(--ai); color: var(--yu); }
.btn--wline { background: transparent; color: var(--yu); border: 1px solid var(--yu); }
.btn--wline:hover { background: var(--yu); color: var(--ai); }
.btn--sm { min-height: 42px; padding: 6px 18px; font-size: 14px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tlink { display: inline-block; margin-top: 18px; text-decoration: none; border-bottom: 1px solid var(--akane); padding-bottom: 2px; font-weight: 500; }
.tlink:hover { color: var(--akane-btn); }

/* ---------- あしらい ---------- */
/* 夕凪の線: 水平の細い線の、まん中だけゆるい波 */
.nagi { height: 10px; margin: 0; border: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10'%3E%3Cpath d='M0 7C30 7 34 3 60 3s30 4 60 4' fill='none' stroke='%231F3550' stroke-width='1'/%3E%3C/svg%3E") center / 120px 10px no-repeat,
    linear-gradient(var(--ai), var(--ai)) left 0 top 6.5px / calc(50% - 59px) 1px no-repeat,
    linear-gradient(var(--ai), var(--ai)) right 0 top 6.5px / calc(50% - 59px) 1px no-repeat;
  opacity: .55; }
.nagi--w { background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10'%3E%3Cpath d='M0 7C30 7 34 3 60 3s30 4 60 4' fill='none' stroke='%23F5F2EC' stroke-width='1'/%3E%3C/svg%3E") center / 120px 10px no-repeat,
    linear-gradient(var(--yu), var(--yu)) left 0 top 6.5px / calc(50% - 59px) 1px no-repeat,
    linear-gradient(var(--yu), var(--yu)) right 0 top 6.5px / calc(50% - 59px) 1px no-repeat; opacity: .4; }
.nagi-sep { width: min(100% - 40px, var(--wrap)); margin: 0 auto; }

/* 灯りの点: 見出しの左に茜の丸と、ぼかした輪 */
.h2 { position: relative; font-size: clamp(24px, 1.2rem + 1.2vw, 34px); padding-left: 34px; margin-bottom: 28px; }
.h2::before { content: ""; position: absolute; left: 0; top: .78em; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: radial-gradient(circle, var(--akane) 0 3.5px, color-mix(in srgb, var(--akane) 25%, transparent) 4.5px, color-mix(in srgb, var(--akane) 0%, transparent) 11px); }
.h3 { font-size: clamp(20px, 1rem + .7vw, 25px); margin-bottom: 18px; display: flex; align-items: center; gap: 14px; }
.h3::before { content: ""; width: 22px; height: 1px; background: var(--akane); flex: none; }
.lead { font-size: 1.04em; }
.note { font-size: .86em; color: color-mix(in srgb, var(--ai) 82%, transparent); line-height: 1.85; }
.sec--ai .note, .ft .note { color: var(--yu-70); }

/* 写真の枠: 湯けむりの白の太い縁と、内側の藍の細い線 */
.frame { position: relative; margin: 0; padding: 8px; background: var(--yu); max-width: 100%; } /* Safari で縦横比つきの枠が列より 8px 広くなり、横にはみ出した（2026-10-26） */
.frame::after { content: ""; position: absolute; inset: 4px; border: 1px solid color-mix(in srgb, var(--ai) 70%, transparent); pointer-events: none; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.cap { margin-top: 12px; }
.cap__n { font-family: var(--mincho); font-weight: 500; font-size: 1.12em; display: block; }
.cap__p { display: block; font-variant-numeric: tabular-nums; font-weight: 500; }

/* 区画 */
.sec { padding-block: clamp(64px, 8vw, 116px); position: relative; }
.sec--yu { background: var(--yu); }
.sec--white { background: var(--white); }
.sec--white .frame { background: var(--yu); }
.sec--usu { background: var(--usu); }
.sec--ai { background: var(--ai); color: var(--yu); overflow: hidden; }
.sec--ai .h2::before { background: radial-gradient(circle, var(--akane) 0 3.5px, color-mix(in srgb, var(--akane) 40%, transparent) 4.5px, color-mix(in srgb, var(--akane) 0%, transparent) 11px); }
.sec--ai a:not(.btn) { color: var(--yu); }

/* 湯けむりの地: 夜の区画の上の端に、白い煙のぼかしの帯 */
.kemuri { position: absolute; left: 0; top: -30px; width: 200%; height: 150px; opacity: .08; pointer-events: none; animation: kemuri 70s linear infinite; }
.kemuri svg { width: 100%; height: 100%; display: block; }
@keyframes kemuri { to { transform: translateX(-50%); } }

/* 縦書きの添え書き */
.tate { position: absolute; right: clamp(14px, 3vw, 44px); top: clamp(18px, 4vw, 48px); writing-mode: vertical-rl; font-family: var(--mincho); font-weight: 500; font-size: clamp(17px, .9rem + .7vw, 24px); letter-spacing: .3em; color: var(--yu); text-shadow: 0 0 18px rgba(31, 53, 80, .55); margin: 0; line-height: 1; }

/* 見えたら出す（JSがクラスを付けたときだけ隠す） */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }

/* ---------- トップ 最初の画面 ---------- */
.hero { position: relative; height: calc(100svh - var(--hd) - 50px); min-height: 560px; max-height: 980px; overflow: hidden; background: var(--ai); color: var(--yu); }
.hero__img { position: absolute; inset: 0; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero__shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(31, 53, 80, .55) 0%, rgba(31, 53, 80, 0) 46%), linear-gradient(270deg, rgba(31, 53, 80, .5) 0%, rgba(31, 53, 80, 0) 22%), linear-gradient(0deg, rgba(31, 53, 80, .55) 0%, rgba(31, 53, 80, 0) 40%); }
.hero__veil { position: absolute; inset: 0; background: #14243A; opacity: .45; animation: dusk 8s linear 2s both; pointer-events: none; }
.hero__glow { position: absolute; left: 20%; width: 60%; bottom: 24%; height: 18%; border-radius: 50%; background: radial-gradient(closest-side, #E07A55, var(--akane) 60%, transparent); filter: blur(40px); opacity: .35; animation: akari 4s ease-in-out 6s both; pointer-events: none; }
@keyframes dusk { from { opacity: 0; } to { opacity: .45; } }
@keyframes akari { from { opacity: 0; } to { opacity: .35; } }
.hero__t { position: absolute; right: clamp(24px, 6vw, 96px); top: clamp(36px, 8vh, 90px); writing-mode: vertical-rl; font-size: clamp(28px, 1.2rem + 1.9vw, 46px); font-weight: 500; letter-spacing: .22em; line-height: 1.9; text-shadow: 0 0 24px rgba(20, 36, 58, .6); text-wrap: initial; }
.hero__body { position: absolute; left: clamp(24px, 6vw, 96px); bottom: clamp(36px, 7vh, 80px); max-width: 30em; }
.hero__name { font-family: var(--mincho); font-weight: 700; font-size: clamp(19px, 1rem + .5vw, 24px); letter-spacing: .14em; margin: 0 0 10px; }
.hero__name small { font-size: .62em; font-weight: 500; margin-right: .6em; letter-spacing: .2em; }
.hero__lead { margin: 0; text-shadow: 0 0 14px rgba(20, 36, 58, .7); }
.hero .btns { margin-top: 24px; }

.oshirase { background: var(--usu); text-align: center; padding: 12px 20px; font-size: .94em; line-height: 1.7; min-height: 50px; display: flex; align-items: center; justify-content: center; }
.oshirase p { margin: 0; }
.oshirase .num { font-weight: 500; }

/* 女将から */
.okami { display: grid; grid-template-columns: auto minmax(0, 36em); gap: clamp(36px, 7vw, 110px); justify-content: center; align-items: start; }
.okami__t { writing-mode: vertical-rl; font-size: clamp(24px, 1.1rem + 1.1vw, 33px); letter-spacing: .24em; line-height: 1.6; position: relative; padding-top: 34px; text-wrap: initial; }
.okami__t::before { content: ""; position: absolute; top: 0; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%;
  background: radial-gradient(circle, var(--akane) 0 3.5px, color-mix(in srgb, var(--akane) 25%, transparent) 4.5px, color-mix(in srgb, var(--akane) 0%, transparent) 11px); }
.okami__b p { margin-bottom: 1.3em; }
.okami__sig { text-align: right; font-family: var(--mincho); font-size: .95em; letter-spacing: .2em; margin-top: 2em; }

/* トップ お部屋 */
.rooms { display: grid; grid-template-columns: 1.45fr 1fr; gap: 26px 32px; margin-top: 8px; }
.rooms__big .frame { aspect-ratio: 4 / 3.1; }
.rooms__side { display: grid; gap: 26px; }
.rooms__side .frame { aspect-ratio: 16 / 9; }
.rooms__item p { margin: 6px 0 0; }

/* トップ お風呂（藍の区画） */
.bath { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; position: relative; }
.bath__img { aspect-ratio: 2 / 3; max-height: 720px; margin: 0; }
.bath__img img { width: 100%; height: 100%; object-fit: cover; }
.mini { width: 100%; border-collapse: collapse; margin: 26px 0 4px; }
.mini th, .mini td { text-align: left; padding: 12px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 30%, transparent); vertical-align: top; font-weight: 400; }
.mini th { font-family: var(--mincho); font-weight: 500; width: 7.5em; padding-right: 1em; }
.mini tr:first-child th, .mini tr:first-child td { border-top: 1px solid color-mix(in srgb, currentColor 30%, transparent); }

/* トップ お食事 */
.meal { display: grid; grid-template-columns: 6fr 3fr; gap: 26px; align-items: end; }
.meal .frame:first-child { aspect-ratio: 3 / 2; }
.meal__s .frame { aspect-ratio: 4 / 3; }
.meal__s p { margin-top: 12px; font-size: .9em; }

/* 2列の組み */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split--top { align-items: start; }
.split__img { margin: 0; }
.split__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* 料金の表 */
.price { width: 100%; border-collapse: collapse; background: var(--white); }
.price caption { text-align: left; font-family: var(--mincho); font-weight: 500; font-size: 1.1em; padding-bottom: 10px; }
.price th, .price td { padding: 14px 16px; border-bottom: 1px solid var(--ai-20); text-align: left; }
.price thead th { font-family: var(--serif); font-weight: 500; font-size: .86em; background: var(--ai); color: var(--yu); letter-spacing: .08em; }
.price tbody th { font-family: var(--mincho); font-weight: 500; }
.price td { font-weight: 500; text-align: right; white-space: nowrap; }
.price thead th:not(:first-child) { text-align: right; }
.price td.na { color: var(--ai-60); font-weight: 400; }

/* よくある質問 */
.faq { border-top: 1px solid var(--ai-20); }
.faq details { border-bottom: 1px solid var(--ai-20); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-family: var(--mincho); font-weight: 500; font-size: 1.06em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "問"; font-size: .8em; color: var(--akane-btn); margin-right: .9em; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 1px solid var(--ai); border-bottom: 1px solid var(--ai); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(5px) rotate(-135deg); }
.faq .a { padding: 0 0 22px 2.1em; }
.faq--plain summary::before { content: none; }
.faq--plain .a { padding-left: 0; }

/* アクセス */
.access__img { margin: 0; }
.access__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.addr { font-style: normal; }

/* ---------- 下層ページの頭 ---------- */
.ph { position: relative; }
.ph__img { position: relative; height: 55vh; min-height: 320px; max-height: 620px; overflow: hidden; background: var(--ai); }
.ph__img img { width: 100%; height: 100%; object-fit: cover; }
.ph__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(31, 53, 80, .5), rgba(31, 53, 80, 0) 26%); pointer-events: none; }
.ph--60 .ph__img { height: 60vh; }
.ph--45 .ph__img { height: 45vh; }
.ph__veil { position: absolute; inset: 0; background: #14243A; opacity: .3; pointer-events: none; }
.ph__body { padding-block: clamp(36px, 5vw, 64px) 0; }
.ph + .sec { padding-top: clamp(48px, 6vw, 80px); }
.ph__body h1 { font-size: clamp(30px, 1.3rem + 2vw, 48px); letter-spacing: .14em; margin-bottom: 22px; }
.ph--ai { background: var(--ai); color: var(--yu); }
.crumb { font-size: 12.5px; letter-spacing: .08em; margin-bottom: 18px; color: var(--ai-60); }
.ph--ai .crumb { color: var(--yu-70); }
.crumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumb li + li::before { content: "／"; margin-right: 6px; }
.crumb a { text-decoration: none; }

/* お部屋のページ */
.room { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.room--rev .room__imgs { order: 2; }
.room__imgs { display: grid; gap: 18px; }
.room__imgs .frame { aspect-ratio: 3 / 2; }
.room__imgs--two { grid-template-columns: 1fr; }
.room__imgs--two .frame:nth-child(2) { width: 62%; justify-self: end; margin-top: -14%; box-shadow: 0 18px 40px -26px rgba(31, 53, 80, .6); }
.spec { width: 100%; border-collapse: collapse; margin-top: 22px; font-size: .94em; }
.spec th, .spec td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--ai-20); vertical-align: top; }
.spec th { font-weight: 500; width: 6.5em; padding-right: 1em; font-family: var(--mincho); }
.spec tr:first-child th, .spec tr:first-child td { border-top: 1px solid var(--ai); }
.spec .p { display: block; font-weight: 500; }
.list2 { columns: 2; column-gap: 56px; list-style: none; margin: 0; padding: 0; }
.list2 li { break-inside: avoid; padding: 13px 0; border-bottom: 1px solid var(--ai-20); }
.list2 li:first-child { border-top: 1px solid var(--ai-20); }

/* 本文の札（貸切風呂の枠） */
.slots { list-style: none; margin: 24px 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.slots li { border: 1px solid var(--ai); background: var(--white); padding: 4px 12px; font-weight: 500; font-size: .95em; letter-spacing: .04em; position: relative; }
.slots li::before { content: ""; position: absolute; left: 50%; top: -5px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--akane); }

.bath2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 36px; }
.bath2 figure { margin: 0; }
.bath2 img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bath2 figcaption { font-size: .86em; margin-top: 8px; }
.kashi { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.kashi__img { margin: 0; aspect-ratio: 2 / 3; background: color-mix(in srgb, var(--ai) 12%, var(--usu)); }
.kashi__img img { width: 100%; height: 100%; object-fit: cover; }

.five { width: 100%; max-width: 40em; border-collapse: collapse; margin-top: 26px; }
.five th, .five td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--ai-20); vertical-align: top; }
.five th { font-family: var(--mincho); font-weight: 500; width: 7em; }
.five tr:first-child th, .five tr:first-child td { border-top: 1px solid var(--ai); }
.five .yes { font-weight: 500; }

/* お食事のページ */
.kondate { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.oshinagaki { margin-top: 28px; padding: 30px 26px; background: var(--white); border: 1px solid var(--ai-20); display: flex; justify-content: center; }
.oshinagaki ol { writing-mode: vertical-rl; list-style: none; margin: 0; padding: 0; font-family: var(--mincho); font-size: 1.05em; line-height: 2.2; letter-spacing: .14em; height: 22em; max-height: 360px; }
.oshinagaki li { margin-left: .4em; }
.oshinagaki b { font-weight: 700; color: var(--akane-btn); margin-bottom: .6em; display: inline-block; }
.oshinagaki .ttl { font-weight: 700; font-size: 1.15em; margin-left: 1.2em; }
.kondate__imgs { display: grid; gap: 18px; }
.kondate__imgs .frame { aspect-ratio: 3 / 2; }
.kondate__imgs .frame:nth-child(2) { width: 82%; justify-self: start; }
.drinks { border-collapse: collapse; width: 100%; max-width: 30em; }
.drinks th, .drinks td { padding: 11px 0; border-bottom: 1px dashed var(--ai-20); text-align: left; font-weight: 400; }
.drinks td { text-align: right; font-weight: 500; }
.akane-rule { border-left: 2px solid var(--akane); padding-left: clamp(18px, 3vw, 40px); }

/* ご予約と料金 */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 8px; }
.pr { background: var(--white); border-top: 3px solid var(--ai); padding: 20px 20px 16px; }
.pr h3 { font-size: 1.12em; margin-bottom: 4px; }
.pr__m { font-size: .86em; margin: 0 0 10px; }
.pr table { width: 100%; border-collapse: collapse; font-size: .94em; }
.pr th, .pr td { padding: 9px 4px; border-bottom: 1px solid var(--ai-20); text-align: right; white-space: nowrap; }
.pr thead th { font-weight: 500; font-size: .8em; color: var(--ai-60); text-align: right; }
.pr tbody th { text-align: left; font-weight: 500; font-family: var(--mincho); }
.pr thead th:first-child { text-align: left; }
.pr td { font-weight: 500; }
.pr td.na { color: var(--ai-60); font-weight: 400; }
.pr tr.std td { color: var(--akane-btn); }
.bullets { margin: 18px 0 0; padding-left: 1.2em; }
.bullets li { margin-bottom: .4em; }
.kids { width: 100%; border-collapse: collapse; background: var(--white); }
.kids th, .kids td { padding: 14px 16px; border-bottom: 1px solid var(--ai-20); text-align: left; vertical-align: top; }
.kids thead th { background: var(--usu); font-weight: 500; font-size: .86em; }
.kids tbody th { font-family: var(--mincho); font-weight: 500; width: 13em; }
.kids td.v { font-weight: 500; white-space: nowrap; text-align: right; }
.kids th.kcat { background: var(--yu); font-family: var(--mincho); font-weight: 500; font-size: 1.02em; width: auto; border-left: 2px solid var(--akane); }
.kids td:first-child { padding-left: 1.6em; }

/* フォーム */
.form { background: var(--white); padding: clamp(22px, 4vw, 44px); border: 1px solid var(--ai-20); max-width: 760px; }
.form .purpose { font-size: .88em; background: var(--yu); padding: 14px 16px; border-left: 2px solid var(--akane); margin-bottom: 28px; }
.fld { margin-bottom: 22px; border: 0; padding: 0; min-width: 0; }
.fld > label, .fld legend { display: block; font-weight: 500; margin-bottom: 6px; padding: 0; }
.req { color: var(--akane-btn); margin-left: .3em; font-size: .9em; }
.fld input[type="text"], .fld input[type="tel"], .fld input[type="email"], .fld input[type="date"], .fld input[type="number"], .fld select, .fld textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ai); background: var(--yu); border: 1px solid color-mix(in srgb, var(--ai) 45%, transparent); border-radius: 2px; padding: 10px 12px; line-height: 1.6; }
.fld textarea { min-height: 7em; }
.fld .row { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.fld .row label { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; }
.fld .row .n { width: 5.5em; }
.fld .hint { font-size: .84em; color: var(--ai-60); margin: 4px 0 0; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 2px solid var(--akane); outline-offset: 1px; }
.fld.is-err input, .fld.is-err select { border-color: var(--akane-btn); }
.errs { border: 1px solid var(--akane-btn); background: color-mix(in srgb, var(--akane) 8%, var(--white)); padding: 14px 18px; margin-bottom: 22px; }
.errs[hidden], .done[hidden] { display: none; }
.errs ul { margin: 6px 0 0; padding-left: 1.2em; }
.done { margin-top: 18px; padding: 16px 18px; background: var(--usu); font-weight: 500; }
.hyouji { width: 100%; border-collapse: collapse; font-size: .9em; }
.hyouji th, .hyouji td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--ai-20); vertical-align: top; }
.hyouji th { width: 11em; font-weight: 500; padding-right: 1em; }

/* 宿の名のこと */
.namae { display: grid; grid-template-columns: minmax(0, 7fr) auto minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: start; position: relative; }
.namae__img { margin: 0; }
.namae__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.namae__t { writing-mode: vertical-rl; font-size: clamp(26px, 1.2rem + 1.2vw, 36px); letter-spacing: .26em; text-wrap: initial; }

/* ご予約へ（各ページの終わり） */
.next { text-align: center; }
.next p { max-width: 34em; margin-inline: auto; }
.next .btns { justify-content: center; }

/* ---------- フッター ---------- */
.ft { background: var(--ai); color: var(--yu); position: relative; overflow: hidden; padding: 72px 0 28px; }
.ft__in { width: min(100% - 40px, var(--wrap)); margin-inline: auto; display: grid; grid-template-columns: auto 1fr auto; gap: 48px; align-items: start; position: relative; }
.ft .logo { color: var(--yu); flex-direction: column; gap: 12px; }
.ft .logo__mark { width: 70px; height: 44px; }
.ft .logo__n { font-size: 24px; }
.ft .logo__s { font-size: 12px; }
.ft__addr { font-style: normal; font-size: .92em; line-height: 2; }
.ft__addr a { text-decoration: none; font-variant-numeric: tabular-nums; }
.ft__kyoka { font-size: .8em; color: var(--yu-70); margin-top: 14px; }
.ft__nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 6px 36px; }
.ft__nav a { text-decoration: none; font-size: .92em; }
.ft__nav a:hover { text-decoration: underline; }
.ft__copy { width: min(100% - 40px, var(--wrap)); margin: 48px auto 0; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--yu) 20%, transparent); font-size: 11px; color: var(--yu-70); }

.spbar { display: none; }

/* ---------- 図解: 時間割 ---------- */
.tl { margin: 34px 0 0; --lab: 10.5em; --txt: 17em; }
.tl__grid { display: grid; grid-template-columns: var(--lab) minmax(0, 1fr) var(--txt); column-gap: 22px; }
.tl__scale { grid-column: 2; position: relative; height: 44px; margin-inline: 6px; font-size: 13px; font-weight: 500; }
.tl__scale span { position: absolute; left: calc(var(--x) * 1%); bottom: 0; transform: translateX(-50%); white-space: nowrap; }
.tl__scale span::after { content: ""; position: absolute; left: 50%; bottom: -8px; height: 6px; border-left: 1px solid var(--ai); }
.tl__scale span[style*="--x:0;"] { transform: none; }
.tl__scale span[style*="--x:0;"]::after { left: 0; }
.tl__scale span[style*="--x:100"] { transform: translateX(-100%); }
.tl__scale span[style*="--x:100"]::after { left: auto; right: 0; }
.tl__band { grid-column: 2; position: relative; height: 34px; margin: 8px 6px 0; }
.tl__scale span.up { bottom: 18px; }
.tl__scale span.up::after { display: none; }
.tl__band i { position: absolute; top: 0; bottom: 0; transform-origin: left center; }
.tl__band .d { left: 0; width: 64%; background: linear-gradient(90deg, var(--yu) 0%, #E7A08F 22%, var(--akane) 36%, #3A3E5C 48%, var(--ai) 56%); border: 1px solid var(--ai-20); border-right: 0; }
.tl__band .n { left: 64%; width: 8%; top: 12px; bottom: 12px; background: #14243A; }
.tl__band .m { left: 72%; width: 28%; background: linear-gradient(90deg, var(--usu), var(--yu)); border: 1px solid var(--ai-20); border-left: 0; }
.tl__night { position: absolute; left: 68%; top: 100%; transform: translateX(-50%); font-size: 11px; white-space: nowrap; margin-top: 2px; }
.tl__sun { position: absolute; left: 16%; bottom: 100%; margin-bottom: 30px; font-size: 12px; white-space: nowrap; transform: translateX(-12px); display: flex; align-items: center; gap: 6px; color: var(--akane-btn); font-weight: 500; }
.tl__sun svg { width: 24px; height: 12px; }
.tl__lanes { list-style: none; margin: 30px 0 0; padding: 0; }
.ln { display: grid; grid-template-columns: var(--lab) minmax(0, 1fr) var(--txt); column-gap: 22px; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--ai-20); }
.ln__n { margin: 0; font-family: var(--mincho); font-weight: 500; line-height: 1.5; }
.ln__tr { position: relative; height: 14px; margin-inline: 6px; }
.ln__tr::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--ai-20); }
.ln__tr .bar { position: absolute; top: 3px; height: 8px; left: calc(var(--a) * 1%); width: calc((var(--b) - var(--a)) * 1%); background: var(--ai); border-radius: 1px; transform-origin: left center; }
.ln__tr .bar--ak { background: var(--akane); }
.ln__tr .dot { position: absolute; top: 50%; left: calc(var(--a) * 1%); width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--white); border: 2px solid var(--akane); }
.ln__tr .dot--ai { border-color: var(--ai); background: var(--ai); }
.ln__t { margin: 0; font-size: .92em; line-height: 1.6; font-weight: 500; font-variant-numeric: tabular-nums; }
.ln__t small { display: block; font-weight: 400; font-size: .9em; color: color-mix(in srgb, var(--ai) 80%, transparent); }
.js .dg .tl__band i { transform: scaleX(0); transition: transform 1.5s var(--ease); }
.js .dg .tl__band .n { transition-delay: .9s; }
.js .dg .tl__band .m { transition-delay: 1.05s; transition-duration: .7s; }
.js .dg.is-in .tl__band i { transform: none; }
.js .dg .ln { opacity: 0; transform: translateY(6px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(1.3s + var(--i) * .12s); }
.js .dg.is-in .ln { opacity: 1; transform: none; }
.js .dg .tl__sun { opacity: 0; transition: opacity .8s .9s; }
.js .dg.is-in .tl__sun { opacity: 1; }

/* ---------- 図解: 館内図 ---------- */
.kz { margin: 30px 0 0; }
.kz__floors { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.kz__f { margin: 0; background: var(--white); border: 1px solid var(--ai-20); padding: 16px 16px 10px; }
.kz__f figcaption { font-family: var(--mincho); font-weight: 700; font-size: 1.1em; letter-spacing: .2em; margin-bottom: 6px; }
.kz svg { width: 100%; height: auto; display: block; font-family: var(--serif); }
.kz .w { fill: var(--yu); stroke: var(--ai); stroke-width: 1.5; }
.kz .b { fill: var(--usu); stroke: var(--ai); stroke-width: 1.5; }
.kz .o { fill: var(--usu); stroke: var(--ai); stroke-width: 1.2; stroke-dasharray: 4 3; }
.kz .c { fill: none; stroke: var(--ai); stroke-width: 1; }
.kz .k { fill: var(--white); stroke: var(--ai); stroke-width: 1; }
.kz .sea { fill: var(--akane); opacity: .14; }
.kz text { fill: var(--ai); font-size: 13.5px; }
.kz text.s { font-size: 11.5px; }
.kz text.side { font-size: 12px; letter-spacing: .2em; opacity: .75; }
.kz text.ak { fill: var(--akane-btn); font-weight: 500; }
.js .kz.dg .kz__f { opacity: 0; transition: opacity .6s var(--ease); }
.js .kz.dg .kz__f + .kz__f { transition-delay: .6s; }
.js .kz.dg.is-in .kz__f { opacity: 1; }

/* ---------- 図解: お湯の通り道 ---------- */
.oyu { margin: 30px 0 0; background: var(--white); border: 1px solid var(--ai-20); padding: clamp(14px, 3vw, 34px); }
.oyu svg { width: 100%; height: auto; display: block; font-family: var(--serif); }
.oyu .sp { display: none; }
.oyu .bx { fill: var(--yu); stroke: var(--ai); stroke-width: 1.5; }
.oyu .bx--tub { fill: var(--usu); }
.oyu .ar { fill: none; stroke: var(--ai); stroke-width: 2; }
.oyu .ar--ak { stroke: var(--akane); stroke-width: 2.5; }
.oyu .gr { stroke: var(--ai); stroke-width: 1; }
.oyu text { fill: var(--ai); font-size: 17px; font-weight: 500; }
.oyu text.s { font-size: 13px; font-weight: 400; }
.oyu text.x { font-size: 14px; font-weight: 500; }
.oyu .wv { fill: none; stroke: var(--ai); stroke-width: 1; opacity: .5; }
.oyu figcaption { font-size: .84em; text-align: right; margin-top: 10px; }
.js .oyu.dg .st { opacity: .4; transition: opacity .3s; }
.js .oyu.dg.is-in .st { opacity: 1; transition-delay: calc(var(--i) * .3s + .2s); }

/* ---------- 図解: キャンセル料の日の数え方 ---------- */
.cal { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) 24px minmax(0, 1.15fr); gap: 0; }
.cal li { border: 1px solid var(--ai); margin-left: -1px; text-align: center; display: flex; flex-direction: column; }
.cal li.gap { border: 0; }
.cal li.nos { margin-left: 0; border-style: dashed; }
.cal__d { font-size: 12.5px; padding: 6px 4px; border-bottom: 1px solid var(--ai-20); background: var(--white); }
.cal__w { font-family: var(--mincho); font-weight: 500; padding: 10px 4px 0; }
.cal__p { font-size: clamp(26px, 1rem + 1.6vw, 40px); font-weight: 500; line-height: 1.3; padding: 4px 4px 0; font-family: var(--serif); }
.cal__z { font-size: 12.5px; padding: 0 4px 10px; }
.cal__r { font-size: 12.5px; padding: 8px 6px; border-top: 1px solid var(--ai-20); background: var(--white); margin-top: auto; min-height: 3.6em; display: flex; align-items: center; justify-content: center; line-height: 1.5; }
.cal .p0 { background: var(--yu); }
.cal .p20 { background: color-mix(in srgb, var(--akane) 18%, var(--yu)); }
.cal .p50 { background: color-mix(in srgb, var(--akane) 45%, var(--yu)); }
.cal .p80 { background: color-mix(in srgb, var(--akane) 75%, var(--yu)); }
.cal .p100 { background: var(--akane-btn); color: var(--yu); }
.cal .p100 .cal__r, .cal .p100 .cal__d { color: var(--ai); }
.ctab { width: 100%; border-collapse: collapse; margin-top: 30px; background: var(--white); }
.ctab th, .ctab td { padding: 13px 14px; border-bottom: 1px solid var(--ai-20); text-align: left; vertical-align: top; }
.ctab thead th { background: var(--ai); color: var(--yu); font-weight: 500; font-size: .86em; }
.ctab tbody th { font-family: var(--mincho); font-weight: 500; white-space: nowrap; }
.ctab td.v { font-weight: 500; white-space: nowrap; }

/* 道の絵 */
.road { margin: 26px 0 0; max-width: 620px; }
.road svg { width: 100%; height: auto; display: block; font-family: var(--serif); }
.road text { fill: var(--ai); font-size: 15px; }
.road .l { fill: none; stroke: var(--ai); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 1024px 以下 ---------- */
@media (max-width: 1080px) {
  .hd__tel { display: none; }
  .gnav a { font-size: 14px; }
}
@media (max-width: 900px) {
  :root { --hd: 64px; }
  .logo__v { display: none; }
  .logo__h { display: inline; }
  .logo__mark { width: 42px; height: 27px; }
  .hd__in { gap: 12px; }
  .hd__cta { display: none; }
  .menu { display: block; }
  .gnav { position: fixed; inset: var(--hd) 0 0 0; background: var(--yu); padding: 20px 28px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility 0s .25s; overflow-y: auto; }
  .nav-open .gnav { opacity: 1; transform: none; visibility: visible; transition: opacity .25s, transform .25s; }
  .gnav ul { flex-direction: column; gap: 0; }
  .gnav a { font-size: 18px; padding: 16px 0; border-bottom: 1px solid var(--ai-20); }
  .gnav a::after { left: 0; margin-left: 0; bottom: 10px; }
  .gnav__tel { display: block; margin-top: 24px; }
  .spbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--yu) 96%, transparent); border-top: 1px solid var(--ai-20); }
  .spbar .btn { min-height: 48px; padding: 6px 10px; }
  body { padding-bottom: 66px; }
  .rooms, .bath, .meal, .split, .room, .kashi, .kondate, .namae, .okami { grid-template-columns: minmax(0, 1fr); }
  .split--rev > :first-child, .room--rev .room__imgs { order: 0; }
  .bath__img { aspect-ratio: 4 / 5; max-height: none; }
  .kashi__img { aspect-ratio: 4 / 3; }
  .okami { gap: 28px; }
  .okami__t { writing-mode: horizontal-tb; padding-top: 0; padding-left: 34px; font-size: 24px; line-height: 1.5; }
  .okami__t::before { left: 0; top: .82em; margin: -11px 0 0; }
  .namae__t { writing-mode: horizontal-tb; }
  .prices { grid-template-columns: minmax(0, 1fr); }
  .kz__floors { grid-template-columns: minmax(0, 1fr); }
  .list2 { columns: 1; }
  .list2 li:nth-child(n+2) { border-top: 0; }
  .ft__in { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .ft .logo { flex-direction: row; align-items: center; }
  .ft .logo__v { display: flex; }
  .ft .logo__h { display: none; }
}
@media (min-width: 901px) { .gnav__tel { display: none; } }

@media (max-width: 760px) {
  .hero { height: auto; min-height: 0; max-height: none; background: var(--ai); }
  .hero__img { position: relative; height: 70vh; min-height: 420px; max-height: 640px; }
  .hero__img img { object-position: 30% 60%; }
  .hero__veil, .hero__glow, .hero__shade { top: 0; bottom: auto; }
  .hero__veil, .hero__shade { height: 70vh; min-height: 420px; max-height: 640px; }
  .hero__glow { top: auto; bottom: auto; top: calc(min(max(70vh, 420px), 640px) * .7); left: 10%; width: 70%; }
  .hero__t { font-size: 22px; right: 18px; top: 22px; letter-spacing: .18em; }
  .hero__body { position: static; padding: 26px 20px 34px; max-width: none; }
  .hero .btns .btn { flex: 1 1 100%; }
  .oshirase { text-align: left; }
  .bath2 { grid-template-columns: minmax(0, 1fr); }
  .tl { --lab: auto; --txt: auto; }
  .tl__grid { grid-template-columns: minmax(0, 1fr); }
  .tl__scale, .tl__band { grid-column: 1; }
  .tl__scale { font-size: 11.5px; }
  .tl__scale .sp-hide { display: none; }
  .ln { grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 6px; padding: 12px 0; }
  .ln__n { grid-column: 1; }
  .ln__t { grid-column: 2; text-align: right; }
  .ln__t small { grid-column: 1 / -1; }
  .ln__tr { grid-column: 1 / -1; grid-row: 2; }
  .ln__t { display: contents; }
  .ln__t span { grid-column: 2; grid-row: 1; text-align: right; font-weight: 500; }
  .ln__t small { grid-row: 3; text-align: left; font-size: .84em; }
  .oyu .pc { display: none; }
  .oyu .sp { display: block; }
  .cal { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 10px; }
  .cal li { margin-left: 0; }
  .cal li.gap { display: none; }
  .cal li.nos { grid-column: span 2; }
  .ctab thead { display: none; }
  .ctab tr { display: block; border-bottom: 1px solid var(--ai-20); padding: 10px 0; }
  .ctab th, .ctab td { display: block; border: 0; padding: 2px 14px; white-space: normal; }
  .kids tbody th { width: auto; }
  .price th, .price td { padding: 12px 10px; }
  .hyouji th { width: 8em; }
  .room__imgs--two .frame:nth-child(2) { width: 70%; }
}
@media (max-width: 420px) {
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .btn { padding-inline: 18px; }
  .kids th, .kids td { padding: 12px 10px; }
}

/* 動きを減らす設定: 止めて、完成の形で出す */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__veil { opacity: .45; }
  .hero__glow { opacity: .35; }
}
