/* 鶴の湯温泉 — 全ページ共通の見た目
   テーマ: 山あいの湯治場。地は石のような淡い灰白、締めに備長炭の黒、差し色は鉄泉の茶褐色と紋の梅紅。
   レイアウト: 写真を大きく、文章は縦に細く。セクションは「白地」と「炭色」を交互に置く。 */
:root {
  --paper: #f3f3f0;      /* 地：石の灰白 */
  --paper-2: #e7e6e1;
  --sumi: #22201e;       /* 備長炭 */
  --sumi-2: #2f2c29;
  --ink: #2a2724;
  --ink-soft: #625c55;
  --line: #d3d0c8;
  --tetsu: #8f5520;      /* 鉄泉の茶褐色 */
  --tetsu-light: #c48a45;
  --ume: #c43f4d;        /* 紋の梅紅 */
  --f-head: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-body: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", "Noto Sans CJK", system-ui, sans-serif;
  --wrap: 1120px;
  --gut: clamp(16px, 4vw, 40px);
  --sec: clamp(72px, 11vw, 140px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.95; letter-spacing: .03em; }
body.lang-en { letter-spacing: .01em; line-height: 1.75; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.num { font-variant-numeric: tabular-nums; }

/* 見出し */
.h2 { font-family: var(--f-head); font-weight: 500; font-size: clamp(24px, 3.4vw, 36px); line-height: 1.55; letter-spacing: .08em; margin: 0 0 1.1em; text-wrap: balance; }
.h3 { font-family: var(--f-head); font-weight: 500; font-size: clamp(20px, 2.4vw, 26px); letter-spacing: .1em; margin: 0 0 .6em; }
.eyebrow { font-size: 12px; letter-spacing: .3em; color: var(--tetsu); margin: 0 0 1em; }

/* ボタン・リンク */
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; padding: .7em 1.6em; border: 1px solid currentColor; letter-spacing: .12em; font-size: 14px; transition: background .25s, color .25s; }
.btn--book { background: var(--ume); border-color: var(--ume); color: #fff; }
.btn--book:hover { background: #a9323f; border-color: #a9323f; }
.btn--lg { padding: 1.05em 2.6em; font-size: 15px; }
.arrow { display: inline-flex; gap: .8em; align-items: center; margin-top: 1.6em; font-size: 14px; letter-spacing: .14em; text-decoration: none; border-bottom: 1px solid var(--tetsu); padding-bottom: .3em; color: var(--ink); }
.arrow::after { content: ""; width: 26px; height: 1px; background: currentColor; transition: width .25s; }
a:hover .arrow::after, .arrow:hover::after { width: 40px; }
.arrow--light { color: #fff; border-color: rgba(255,255,255,.6); }
:focus-visible { outline: 2px solid var(--tetsu-light); outline-offset: 3px; }

/* ヘッダー */
#hd { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gut); padding-top: calc(14px + env(safe-area-inset-top, 0px)); color: #fff; transition: background .3s, color .3s, box-shadow .3s; }
#hd.solid { background: rgba(243,243,240,.96); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.brand { display: block; width: clamp(150px, 18vw, 210px); flex: none; }
.brand img { width: 100%; height: auto; }
.brand__dark { display: none !important; }
#hd.solid .brand__light { display: none; }
#hd.solid .brand__dark { display: block !important; }
.gnav { display: flex; align-items: center; gap: clamp(12px, 1.8vw, 26px); font-size: 14px; letter-spacing: .12em; }
.gnav__a { text-decoration: none; padding: .4em 0; border-bottom: 1px solid transparent; white-space: nowrap; }
.gnav__a:hover, .gnav__a.cur { border-bottom-color: currentColor; }
.langsel { font: inherit; font-size: 13px; color: inherit; background: transparent; border: 1px solid currentColor; padding: .3em .5em; }
.langsel option { color: var(--ink); }
.menubtn { display: none; }
@media (max-width: 1000px) {
  .menubtn { display: block; position: relative; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; }
  .menubtn span:not(.sr) { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .3s; }
  .menubtn span:nth-child(1) { top: 17px; } .menubtn span:nth-child(2) { top: 26px; }
  .menubtn[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(20deg); }
  .menubtn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.5px) rotate(-20deg); }
  .gnav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 22px; background: var(--sumi); color: #fff; font-size: 17px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .gnav.open { opacity: 1; visibility: visible; }
  #hd.menu-open { color: #fff; background: transparent; box-shadow: none; }
  #hd.menu-open .brand__light { display: block; } #hd.menu-open .brand__dark { display: none !important; }
}

/* スマホの固定予約ボタン */
.fixbook { display: none; }
@media (max-width: 700px) {
  .fixbook { display: flex; position: fixed; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 68px; height: 68px; border-radius: 50%; align-items: center; justify-content: center; background: var(--ume); color: #fff; text-decoration: none; font-size: 13px; letter-spacing: .1em; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
}

/* ヒーロー（トップ：動画） */
.hero { position: relative; height: 100svh; min-height: 520px; max-height: 980px; overflow: hidden; background: var(--sumi); color: #fff; }
.hero__v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s; }
.hero__v.on { opacity: 1; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,16,.45) 0%, rgba(20,18,16,.05) 35%, rgba(20,18,16,.15) 60%, rgba(20,18,16,.6) 100%); }
.hero__copy { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(56px, 12vh, 120px); max-width: 760px; }
.hero__kicker { font-size: 13px; letter-spacing: .35em; margin-bottom: 1.2em; }
.hero__title { font-family: var(--f-head); font-weight: 500; font-size: clamp(32px, 5.6vw, 64px); line-height: 1.45; letter-spacing: .1em; margin: 0; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero__sub { margin-top: 1.4em; font-size: 14px; letter-spacing: .14em; opacity: .9; }
.hero__day { position: absolute; right: var(--gut); bottom: clamp(56px, 12vh, 120px); display: none; flex-direction: column; text-decoration: none; font-size: 13px; letter-spacing: .2em; border-left: 1px solid rgba(255,255,255,.6); padding-left: 16px; }
.hero__day span { font-family: var(--f-head); font-size: 22px; letter-spacing: .08em; }
@media (min-width: 900px) { .hero__day { display: flex; } }

/* 下層ページのヒーロー（写真） */
.phero { position: relative; height: clamp(360px, 62vh, 640px); overflow: hidden; color: #fff; background: var(--sumi); }
.phero img { width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,16,.4), rgba(20,18,16,.1) 40%, rgba(20,18,16,.55)); }
.phero__copy { position: absolute; z-index: 1; left: var(--gut); right: var(--gut); bottom: clamp(36px, 7vh, 72px); max-width: var(--wrap); margin-inline: auto; }
.phero__en { font-size: 12px; letter-spacing: .4em; margin: 0 0 .8em; }
.phero__title { font-family: var(--f-head); font-weight: 500; font-size: clamp(30px, 4.6vw, 52px); letter-spacing: .14em; margin: 0; }
.plead { padding-block: var(--sec) calc(var(--sec) * .6); }
.plead__txt { max-width: 34em; }
.plead__txt p + p { margin-top: 1.2em; }

/* トップ：導入 */
.intro { padding-block: var(--sec); display: grid; gap: 28px; }
.intro__txt { max-width: 34em; }
.intro__txt p + p { margin-top: 1.2em; }
@media (min-width: 900px) { .intro { grid-template-columns: 1fr 1.25fr; align-items: start; } }

/* トップ：二つの館 */
.halls { padding-bottom: var(--sec); }
.halls__grid { display: grid; gap: 2px; }
@media (min-width: 800px) { .halls__grid { grid-template-columns: 1fr 1fr; } }
.hall { position: relative; display: block; color: #fff; text-decoration: none; overflow: hidden; background: var(--sumi); }
.hall__pic { margin: 0; aspect-ratio: 4 / 3; }
.hall__pic img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform 1.2s, opacity .4s; }
.hall:hover .hall__pic img { transform: scale(1.04); opacity: .7; }
.hall__txt { position: absolute; inset: auto 0 0; padding: clamp(20px, 3vw, 36px); background: linear-gradient(0deg, rgba(20,18,16,.78), rgba(20,18,16,0)); }
.hall__txt p { font-size: 15px; max-width: 30em; }
.hall .arrow { color: #fff; border-color: rgba(255,255,255,.6); }

/* トップ：湯の色 */
.yu { display: grid; background: var(--sumi); color: #eae7e2; }
.yu__pic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.yu__body { padding: clamp(40px, 6vw, 88px) var(--gut); align-self: center; max-width: 36em; }
.yu__body .arrow { color: #fff; border-color: var(--tetsu-light); }
@media (min-width: 900px) { .yu { grid-template-columns: 1.1fr 1fr; } .yu__pic img { aspect-ratio: auto; min-height: 560px; } }
.swatch { display: flex; align-items: center; gap: 16px; margin: 2em 0 0; }
.swatch__chip { flex: none; width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #c99a52, #8f5520 55%, #5b3412); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.swatch figcaption { font-size: 14px; color: #c9c3ba; }
.swatch__k { display: block; font-size: 12px; letter-spacing: .25em; color: var(--tetsu-light); }

/* トップ：料理 */
.dish { padding-block: var(--sec); display: grid; gap: 32px; align-items: center; }
.dish__txt { max-width: 30em; }
.dish__pics { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; align-items: end; }
.dish__pics img:last-child { margin-bottom: 15%; }
@media (min-width: 900px) { .dish { grid-template-columns: 1fr 1.3fr; } }

/* トップ：日帰り入浴 */
.day { background: var(--paper-2); padding-block: var(--sec); }
.day__in { display: grid; gap: 32px; }
@media (min-width: 900px) { .day__in { grid-template-columns: 1fr 1.3fr; } }
.day__tbl, .tbl { margin: 0; border-top: 1px solid var(--ink); }
.day__tbl > div, .tbl > div { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.day__tbl dt small, .tbl dt small { display: block; font-size: 12px; color: var(--ink-soft); line-height: 1.6; margin-top: .2em; }
.day__tbl dd, .tbl dd { margin: 0; font-family: var(--f-head); font-size: 20px; letter-spacing: .06em; text-align: right; }

/* トップ：みなべ */
.minabe { position: relative; min-height: clamp(420px, 70vh, 680px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--sumi); }
.minabe__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.minabe__in { position: relative; padding: var(--sec) var(--gut) clamp(40px, 7vw, 80px); max-width: calc(var(--wrap)); margin-inline: auto; width: 100%; }
.minabe__in p { max-width: 32em; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.minabe .h2 { text-shadow: 0 1px 16px rgba(0,0,0,.4); }

/* トップ：アクセス */
.acc { padding-block: var(--sec); display: grid; gap: 32px; align-items: end; }
.acc__addr { margin-top: 1.2em; font-size: 15px; color: var(--ink-soft); }
.acc__addr a { text-decoration: none; }
@media (min-width: 900px) { .acc { grid-template-columns: 1fr auto; } }

/* 下層：写真と文章の段 */
.feat { display: grid; gap: clamp(20px, 3vw, 48px); align-items: center; padding-bottom: clamp(56px, 8vw, 110px); }
.feat__pic { margin: 0; }
.feat__pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feat__txt { max-width: 30em; }
.feat__txt p + p { margin-top: 1em; }
@media (min-width: 900px) {
  .feat { grid-template-columns: 1.3fr 1fr; }
  .feat--rev .feat__pic { order: 2; }
  .feat--rev { grid-template-columns: 1fr 1.3fr; }
}
.note { font-size: 13px; color: var(--ink-soft); margin-top: .8em; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pair img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* 下層：炭色の帯 */
.band { background: var(--sumi); color: #eae7e2; padding-block: var(--sec); }
.band .h2 { color: #fff; }
.band .tbl { border-top-color: #8a847b; }
.band .tbl > div { border-bottom-color: #47423d; }
.band .tbl dt small { color: #a9a39a; }
.cols { display: grid; gap: 40px; }
@media (min-width: 900px) { .cols { grid-template-columns: 1fr 1.2fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px 10px; padding: 0; margin: 1.2em 0 0; list-style: none; }
.chips li { border: 1px solid var(--line); padding: .25em .9em; font-size: 14px; }
.band .chips li { border-color: #57514a; }
.section { padding-block: var(--sec); }
.section--tight { padding-top: 0; }
.map-img { background: #fff; padding: 12px; border: 1px solid var(--line); }
.list { margin: 1em 0 0; padding: 0; list-style: none; }
.list li { padding: .5em 0; border-bottom: 1px solid var(--line); }
.band .list li { border-bottom-color: #47423d; }

/* 料理ギャラリー */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); } .gallery img:first-child { grid-column: span 2; grid-row: span 2; height: 100%; } }

/* 観光 */
.spots { display: grid; gap: 28px 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.spot { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.spot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.spot h3 { font-family: var(--f-head); font-weight: 500; font-size: 19px; letter-spacing: .08em; margin: 4px 0 0; }
.spot p { font-size: 14.5px; line-height: 1.85; }
.spot .arrow { margin-top: auto; align-self: flex-start; }
.spot__meta { font-size: 12px; letter-spacing: .15em; color: var(--tetsu); }
.near { display: grid; gap: 0 32px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.near__i { padding: 20px 0; border-top: 1px solid var(--line); min-width: 0; }
.near__i h3 { font-family: var(--f-head); font-weight: 500; font-size: 18px; margin: 0 0 .3em; }
.near__i p { font-size: 14px; line-height: 1.8; color: var(--ink-soft); }
.near__i a { font-size: 13px; color: var(--tetsu); }

/* アクセス */
.mapbox { aspect-ratio: 16 / 10; width: 100%; border: 0; background: var(--paper-2); }
@media (max-width: 700px) { .mapbox { aspect-ratio: 1; } }

/* フッター */
.ft { background: var(--sumi); color: #d9d4cc; padding: clamp(56px, 8vw, 96px) var(--gut) 24px; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
.ft__in { max-width: var(--wrap); margin-inline: auto; display: grid; gap: 32px; align-items: end; }
@media (min-width: 900px) { .ft__in { grid-template-columns: 1fr 1.3fr auto; } }
.ft__brand img { width: 220px; }
.ft__note { font-family: var(--f-head); margin-top: 1em; font-size: 14px; letter-spacing: .12em; }
.ft__info { font-size: 14px; line-height: 1.9; }
.ft__info a { text-decoration: none; }
.ft__k { font-size: 11px; letter-spacing: .2em; color: #9d968c; margin-right: .5em; }
.ft__nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 1em; font-size: 13px; }
.ft__copy { max-width: var(--wrap); margin: 48px auto 0; font-size: 12px; color: #8a847b; }

/* 表示の演出（JS が .rv に .on を付ける。JS が無くても見える） */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity 1s ease, transform 1s ease; }
.js .rv.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .hero__v { transition: none; }
}
.near--dark .near__i { border-top-color: #47423d; }
.near--dark .near__i p { color: #b9b2a8; }
.near--dark .near__i .spot__meta { color: var(--tetsu-light); }
.near--dark .near__i a { color: #e6c08a; }
