@charset "UTF-8";

/* ============================================================
   バンガロー貨車＆ログ / 根来商店
   天川村の清流・杉木立・焼杉の黒を基調にした配色
   ============================================================ */

:root {
  --ink:        #17241f;
  --ink-soft:   #40514a;
  /* 補助文字は生成り地で 4.5:1 を満たす濃さにしている（薄くしないこと） */
  --ink-mute:   #5d6d66;
  --forest:     #2d5348;
  --forest-dk:  #1d3830;
  --moss:       #4f6c40;
  --river:      #2f857e;
  --river-lt:   #6fb5ae;
  --wood:       #a5713f;
  /* 白文字を載せるオレンジ。#d98a2b は白との比が 2.76:1 で足りないため濃くした */
  --accent:     #a86010;
  --accent-dk:  #8a4d09;
  --accent-lt:  #d98a2b;   /* 文字を載せない飾りだけに使う */
  --cream:      #fdfbf6;
  --sand:       #f4efe4;
  --sand-dk:    #e6dece;
  --line:       #ded6c6;
  --white:      #ffffff;

  --serif: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans:  "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --latin: "Cormorant Garamond", serif;

  --wrap: 1140px;
  --gap: clamp(3.5rem, 8vw, 7rem);
  --radius: 4px;
  --shadow: 0 2px 24px rgba(23, 36, 31, .09);
  --shadow-lg: 0 12px 48px rgba(23, 36, 31, .16);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--cream);
  font-feature-settings: "palt";
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.45; margin: 0; letter-spacing: .02em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, 780px); margin-inline: auto; }

section { padding-block: var(--gap); }

/* キーボード操作の現在地を必ず見えるようにする */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

/* ---------- スクロール表示アニメーション ----------
   JavaScript が動かない環境では最初から見えている状態にする
   （<html> に .js が付いたときだけ隠してから出す）            */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .09s; }
.reveal.d2 { transition-delay: .18s; }
.reveal.d3 { transition-delay: .27s; }
.reveal.d4 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   ヘッダー
   ============================================================ */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1.1rem, 4vw, 2.4rem);
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.site-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(15, 28, 23, .55), rgba(15, 28, 23, 0));
  transition: opacity .4s var(--ease);
}
.site-head.is-stuck {
  background: rgba(253, 251, 246, .96);
  backdrop-filter: blur(10px);
  padding-block: .7rem;
  box-shadow: 0 1px 0 var(--line);
}
.site-head.is-stuck::before { opacity: 0; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff; font-family: var(--serif); font-size: .95rem; letter-spacing: -.04em;
}
.brand-text { line-height: 1.25; }
.brand-jp { display: block; font-family: var(--serif); font-size: 1.02rem; color: #fff; transition: color .4s var(--ease); letter-spacing: .04em; }
.brand-en { display: block; font-family: var(--latin); font-size: .68rem; letter-spacing: .18em; color: rgba(255,255,255,.72); text-transform: uppercase; transition: color .4s var(--ease); }
.is-stuck .brand-jp { color: var(--ink); }
.is-stuck .brand-en { color: var(--ink-mute); }
.page-solid .brand-jp { color: var(--ink); }
.page-solid .brand-en { color: var(--ink-mute); }

.head-right { display: flex; align-items: center; gap: 1.4rem; }

.nav-desktop { display: flex; align-items: center; gap: 1.5rem; }
.nav-desktop a {
  font-size: .87rem; text-decoration: none; color: #fff; letter-spacing: .05em;
  position: relative; padding-block: .2rem; transition: color .4s var(--ease);
}
.nav-desktop a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav-desktop a:hover::after { transform: scaleX(1); transform-origin: left; }
.is-stuck .nav-desktop a, .page-solid .nav-desktop a { color: var(--ink-soft); }

.head-tel { text-align: right; line-height: 1.3; }
.head-tel .num {
  font-family: var(--latin); font-size: 1.14rem; letter-spacing: .02em;
  color: #fff; text-decoration: none; transition: color .4s var(--ease); white-space: nowrap;
}
.head-tel .hours { display: block; font-size: .62rem; letter-spacing: .08em; color: rgba(255,255,255,.7); transition: color .4s var(--ease); }
.is-stuck .head-tel .num, .page-solid .head-tel .num { color: var(--forest); }
.is-stuck .head-tel .hours, .page-solid .head-tel .hours { color: var(--ink-mute); }

.btn-book-head {
  display: inline-block; padding: .62rem 1.5rem;
  background: var(--accent); color: #fff; text-decoration: none;
  font-size: .86rem; letter-spacing: .09em; border-radius: 999px;
  transition: background .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.btn-book-head:hover { background: var(--accent-dk); transform: translateY(-2px); }

.burger { display: none; width: 42px; height: 42px; border: 0; background: none; cursor: pointer; padding: 0; position: relative; z-index: 120; }
.burger span { display: block; width: 24px; height: 1.5px; background: #fff; margin: 5px auto; transition: transform .4s var(--ease), opacity .3s var(--ease), background .4s var(--ease); }
.is-stuck .burger span, .page-solid .burger span { background: var(--ink); }
.nav-open .burger span { background: #fff; }
.nav-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-drawer {
  position: fixed; inset: 0; z-index: 110;
  background: var(--forest-dk);
  display: flex; flex-direction: column; justify-content: center;
  padding: 5rem 2rem 7rem;
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
  overflow-y: auto;
}
.nav-open .nav-drawer { opacity: 1; visibility: visible; }
.nav-drawer a {
  display: block; color: #fff; text-decoration: none;
  font-family: var(--serif); font-size: 1.24rem; padding: .72rem 0;
  border-bottom: 1px solid rgba(255,255,255,.13);
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.nav-open .nav-drawer a { opacity: 1; transform: none; }
.nav-drawer a small { font-family: var(--latin); font-size: .62rem; letter-spacing: .16em; opacity: .55; display: block; text-transform: uppercase; }
.nav-drawer .drawer-tel { margin-top: 2rem; border: 0; font-family: var(--latin); font-size: 1.6rem; }

@media (max-width: 900px) {
  .nav-desktop, .head-tel { display: none; }
  .burger { display: block; }
  .btn-book-head { padding: .5rem 1.1rem; font-size: .78rem; }
}

/* スマートフォンではヘッダーの中身が横にはみ出すので、まとめて詰める */
@media (max-width: 560px) {
  .site-head { padding-inline: 1rem; gap: .5rem; }
  .brand { gap: .5rem; }
  .brand-mark { width: 32px; height: 32px; font-size: .82rem; }
  .brand-jp { font-size: .84rem; letter-spacing: .01em; }
  .brand-en { font-size: .55rem; letter-spacing: .1em; }
  .head-right { gap: .45rem; }
  .btn-book-head { padding: .45rem .8rem; font-size: .72rem; letter-spacing: .03em; }
  .burger { width: 34px; height: 34px; }
  .burger span { width: 20px; margin-block: 4.5px; }
  .nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* ============================================================
   ヒーロー
   ============================================================ */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 26s var(--ease) infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
@media (prefers-reduced-motion: reduce) { .hero-media img { animation: none; } }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(12,26,21,.5) 0%, rgba(12,26,21,.12) 32%, rgba(12,26,21,.72) 100%);
}

.hero-inner { position: relative; text-align: center; color: #fff; padding: 7rem 1.5rem 6rem; }
.hero-eyebrow {
  font-family: var(--latin); letter-spacing: .3em; font-size: .74rem;
  text-transform: uppercase; opacity: .85; margin-bottom: 1.6rem;
}
.hero h1 {
  font-size: clamp(2.05rem, 6.4vw, 4rem);
  line-height: 1.55; letter-spacing: .06em;
  text-shadow: 0 2px 30px rgba(0,0,0,.4);
}
.hero h1 .l { display: block; }
.hero-lead { margin: 1.9rem auto 0; max-width: 34em; font-size: clamp(.92rem, 2.3vw, 1.02rem); line-height: 2.1; color: rgba(255,255,255,.9); }
.hero-cta { margin-top: 2.7rem; display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

.hero-scroll {
  position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.8); font-family: var(--latin); font-size: .62rem; letter-spacing: .24em;
  text-transform: uppercase; text-align: center;
}
.hero-scroll::after {
  content: ""; display: block; width: 1px; height: 48px; margin: .7rem auto 0;
  background: linear-gradient(to bottom, rgba(255,255,255,.75), transparent);
  animation: scrolldrop 2.4s ease-in-out infinite;
}
@keyframes scrolldrop { 0%,100% { transform: scaleY(.3); transform-origin: top; opacity: .4; } 50% { transform: scaleY(1); transform-origin: top; opacity: 1; } }

/* ページ用の小さいヒーロー */
.page-hero { position: relative; min-height: 56vh; display: grid; place-items: center; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(12,26,21,.55), rgba(12,26,21,.42)); }
.page-hero .ph-inner { position: relative; z-index: 1; text-align: center; color: #fff; padding: 8rem 1.5rem 4rem; }
.page-hero h1 { font-size: clamp(1.7rem, 5vw, 2.9rem); letter-spacing: .07em; }
.page-hero .ph-en { font-family: var(--latin); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; opacity: .82; margin-bottom: 1rem; }
.page-hero .ph-note { margin-top: 1.1rem; font-size: .9rem; color: rgba(255,255,255,.86); }

/* ============================================================
   ボタン
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 2.2rem; border-radius: 999px; text-decoration: none;
  font-size: .93rem; letter-spacing: .08em; border: 1px solid transparent;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  cursor: pointer; font-family: var(--sans);
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 22px rgba(217,138,43,.32); }
.btn-primary:hover { background: var(--accent-dk); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(217,138,43,.4); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.btn-line { border-color: var(--forest); color: var(--forest); }
.btn-line:hover { background: var(--forest); color: #fff; transform: translateY(-2px); }
.btn-sm { padding: .72rem 1.5rem; font-size: .84rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* ============================================================
   見出し
   ============================================================ */
.sec-head { text-align: center; margin-bottom: clamp(2.6rem, 6vw, 4.2rem); }
.sec-head .en { font-family: var(--latin); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--moss); display: block; margin-bottom: .9rem; }
.sec-head h2 { font-size: clamp(1.45rem, 4vw, 2.15rem); letter-spacing: .05em; }
.sec-head .lead { margin: 1.4rem auto 0; max-width: 40em; color: var(--ink-soft); font-size: .95rem; line-height: 2.05; }
.sec-head.left { text-align: left; }
.sec-head.left .lead { margin-inline: 0; }

.sec-sand { background: var(--sand); }
.sec-forest { background: var(--forest-dk); color: rgba(255,255,255,.9); }
.sec-forest h2, .sec-forest h3 { color: #fff; }
.sec-forest .sec-head .en { color: var(--river-lt); }
.sec-forest .sec-head .lead { color: rgba(255,255,255,.78); }

/* ============================================================
   イントロ（2カラム）
   ============================================================ */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.intro-media { position: relative; }
.intro-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.intro-media .stamp {
  position: absolute; right: -18px; bottom: -22px;
  width: 132px; height: 132px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-content: center; text-align: center;
  font-family: var(--serif); font-size: .84rem; line-height: 1.6; letter-spacing: .04em;
  box-shadow: var(--shadow-lg);
}
.intro-media .stamp b { display: block; font-size: 1.5rem; font-family: var(--latin); }
.intro-body h2 { font-size: clamp(1.4rem, 3.6vw, 2rem); line-height: 1.85; margin-bottom: 1.6rem; }
.intro-body p { color: var(--ink-soft); font-size: .96rem; line-height: 2.15; margin: 0 0 1.2rem; }
@media (max-width: 820px) {
  .intro { grid-template-columns: 1fr; }
  .intro-media .stamp { width: 104px; height: 104px; font-size: .74rem; right: 8px; bottom: -18px; }
}

/* ============================================================
   棟カード
   ============================================================ */
.rooms { display: grid; grid-template-columns: repeat(auto-fit, minmax(288px, 1fr)); gap: clamp(1.4rem, 3vw, 2.2rem); }
.room-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.room-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.room-thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.room-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.room-card:hover .room-thumb img { transform: scale(1.07); }
.room-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--accent); color: #fff;
  font-size: .68rem; letter-spacing: .1em; padding: .3rem .8rem; border-radius: 999px;
}
.room-tag.is-quiet { background: var(--forest); }
.room-body { padding: 1.5rem 1.5rem 1.7rem; flex: 1; display: flex; flex-direction: column; }
.room-body h3 { font-size: 1.2rem; letter-spacing: .04em; }
.room-en { font-family: var(--latin); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--moss); margin-top: .35rem; }
.room-desc { font-size: .875rem; color: var(--ink-soft); line-height: 1.95; margin: .95rem 0 1.3rem; flex: 1; }
.room-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.05rem; }
.room-price { font-family: var(--latin); font-size: 1.55rem; color: var(--forest); line-height: 1; }
.room-price small { font-family: var(--sans); font-size: .68rem; color: var(--ink-mute); letter-spacing: .04em; }
.room-cap { font-size: .76rem; color: var(--ink-mute); text-align: right; line-height: 1.7; }
.room-more { margin-top: 1.1rem; font-size: .8rem; letter-spacing: .08em; color: var(--accent-dk); }
.room-more::after { content: " →"; transition: margin .3s var(--ease); }
.room-card:hover .room-more::after { margin-left: .35rem; }

/* ============================================================
   料金表
   ============================================================ */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.price { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .88rem; background: var(--white); }
table.price th, table.price td { padding: .95rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.price thead th { background: var(--forest); color: #fff; font-weight: 500; letter-spacing: .06em; font-size: .82rem; white-space: nowrap; }
table.price tbody th { font-family: var(--serif); font-weight: 500; white-space: nowrap; }
table.price .num { font-family: var(--latin); font-size: 1.14rem; color: var(--forest); white-space: nowrap; }
table.price tbody tr:hover { background: var(--sand); }
.table-note { font-size: .8rem; color: var(--ink-mute); margin-top: 1rem; line-height: 1.95; }

/* ============================================================
   ギャラリー
   ============================================================ */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: .8rem; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/3; background: var(--sand-dk); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.4rem .9rem .7rem;
  background: linear-gradient(to top, rgba(12,26,21,.8), transparent);
  color: #fff; font-size: .76rem; letter-spacing: .04em;
}
.gallery.tall figure { aspect-ratio: 3/4; }
.gallery.wide-first figure:first-child { grid-column: span 2; aspect-ratio: 16/9; }
@media (max-width: 600px) { .gallery.wide-first figure:first-child { grid-column: span 1; aspect-ratio: 4/3; } }

/* ============================================================
   四季
   ============================================================ */
.seasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; }
.season {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4;
  display: flex; align-items: flex-end;
}
.season img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.season:hover img { transform: scale(1.08); }
.season::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,24,19,.86) 8%, rgba(10,24,19,.15) 62%); }
.season-body { position: relative; z-index: 1; padding: 1.5rem 1.3rem; color: #fff; }
.season-body h3 { font-size: 1.1rem; letter-spacing: .1em; }
.season-body .en { font-family: var(--latin); font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; opacity: .7; }
.season-body p { font-size: .8rem; line-height: 1.85; margin: .6rem 0 0; color: rgba(255,255,255,.85); }

/* ============================================================
   設備アイコン列
   ============================================================ */
.facilities { display: grid; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); gap: 1.6rem 1rem; text-align: center; }
.facility .ico { width: 34px; height: 34px; margin: 0 auto .8rem; display: block; color: var(--accent-lt); stroke-width: 1.4; }
.sec-forest .facility .ico { color: var(--river-lt); }
.facility h4 { font-size: .95rem; letter-spacing: .05em; }
.facility p { font-size: .78rem; color: var(--ink-mute); line-height: 1.8; margin: .4rem 0 0; }
.sec-forest .facility p { color: rgba(255,255,255,.7); }

/* ============================================================
   ステップ
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 1.6rem; counter-reset: s; }
.step { position: relative; padding-top: 2.9rem; }
.step::before {
  counter-increment: s; content: "0" counter(s);
  position: absolute; top: 0; left: 0;
  font-family: var(--latin); font-size: 2.1rem; color: var(--accent); line-height: 1;
}
.step h3 { font-size: 1.03rem; margin-bottom: .6rem; letter-spacing: .04em; }
.step p { font-size: .855rem; color: var(--ink-soft); line-height: 1.95; margin: 0; }
.sec-forest .step p { color: rgba(255,255,255,.76); }

/* ============================================================
   注意書き / 情報カード
   ============================================================ */
.notecard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.4rem); }
.notecard + .notecard { margin-top: 1.2rem; }
.notecard h3 { font-size: 1.08rem; margin-bottom: 1rem; letter-spacing: .05em; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.notecard ul { margin: 0; padding-left: 1.2em; }
.notecard li { font-size: .885rem; color: var(--ink-soft); line-height: 2.05; margin-bottom: .3rem; }
.notecard.warn { background: #fdf6ec; border-color: #ecd9b8; }

/* 濃緑の背景に置いたときは、カードの中身も明るい色にする */
.sec-forest .notecard { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .18); }
.sec-forest .notecard h3 { color: #fff; border-color: rgba(255, 255, 255, .18); }
.sec-forest .notecard li,
.sec-forest .notecard p { color: rgba(255, 255, 255, .8); }
.sec-forest .notecard .muted { color: rgba(255, 255, 255, .62); }
.sec-forest .deflist dt { color: rgba(255, 255, 255, .6); border-color: rgba(255, 255, 255, .18); }
.sec-forest .deflist dd { color: rgba(255, 255, 255, .88); border-color: rgba(255, 255, 255, .18); }

.deflist { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: .1rem 1.6rem; }
.deflist dt { font-size: .85rem; color: var(--ink-mute); padding: .75rem 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.deflist dd { margin: 0; font-size: .91rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
@media (max-width: 560px) {
  .deflist { grid-template-columns: 1fr; gap: 0; }
  .deflist dt { border-bottom: 0; padding-bottom: 0; }
  .deflist dd { padding-top: .2rem; }
}

/* ============================================================
   予約CTA帯
   ============================================================ */
.cta-band { position: relative; overflow: hidden; text-align: center; color: #fff; }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: rgba(16,38,31,.72); }
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.35rem, 4vw, 2rem); letter-spacing: .06em; }
.cta-band p { max-width: 36em; margin: 1.3rem auto 0; color: rgba(255,255,255,.85); font-size: .92rem; line-height: 2.05; }
.cta-actions { margin-top: 2.3rem; display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }
.cta-tel { margin-top: 1.9rem; font-size: .84rem; color: rgba(255,255,255,.7); }
.cta-tel a { font-family: var(--latin); font-size: 1.5rem; color: #fff; text-decoration: none; letter-spacing: .03em; display: inline-block; margin-top: .3rem; }

/* ============================================================
   フッター
   ============================================================ */
.site-foot { background: var(--ink); color: rgba(255,255,255,.62); padding: clamp(3rem, 7vw, 5rem) 0 7rem; font-size: .85rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.foot-brand .brand-mark { width: 46px; height: 46px; font-size: 1.1rem; }
.foot-brand h3 { color: #fff; font-size: 1.15rem; margin: 1rem 0 .9rem; letter-spacing: .06em; }
.foot-brand p { margin: 0 0 .4rem; line-height: 1.95; }
.foot-brand a { color: #fff; text-decoration: none; }
.foot-col h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; margin-bottom: 1rem; font-family: var(--sans); font-weight: 500; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: .55rem; }
.foot-col a { text-decoration: none; transition: color .3s var(--ease); }
.foot-col a:hover { color: #fff; }
.foot-bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .8rem; }
.foot-bottom a { text-decoration: none; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ============================================================
   モバイル固定バー
   ============================================================ */
.mobile-bar {
  position: fixed; inset: auto 0 0 0; z-index: 90;
  display: none; gap: .6rem; padding: .65rem .8rem calc(.65rem + env(safe-area-inset-bottom));
  background: rgba(253, 251, 246, .97); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.mobile-bar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: .5rem .4rem; border-radius: var(--radius); text-decoration: none;
  font-size: .78rem; letter-spacing: .05em;
}
.mobile-bar .m-tel { border: 1px solid var(--forest); color: var(--forest); }
.mobile-bar .m-book { background: var(--accent); color: #fff; }
.mobile-bar small { font-size: .66rem; opacity: .75; letter-spacing: .04em; }
@media (max-width: 900px) { .mobile-bar { display: flex; } }

/* ============================================================
   予約ページ
   ============================================================ */
.book-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(1.8rem, 4vw, 3.2rem); align-items: start; }
/* グリッドの子は既定で min-content より縮まない。中のカレンダーが横にはみ出すのを防ぐ */
.book-layout > * { min-width: 0; }
@media (max-width: 940px) { .book-layout { grid-template-columns: 1fr; } }

.cal-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.1rem, 3vw, 1.8rem); }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.cal-head h3 { font-size: 1.15rem; font-family: var(--latin); letter-spacing: .04em; }
.cal-nav { display: flex; gap: .4rem; }
.cal-nav button {
  width: 36px; height: 36px; border: 1px solid var(--line); background: var(--white);
  border-radius: 50%; cursor: pointer; font-size: .9rem; color: var(--ink-soft);
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.cal-nav button:hover:not(:disabled) { background: var(--sand); border-color: var(--forest); }
.cal-nav button:disabled { opacity: .3; cursor: not-allowed; }

.unit-tabs { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.3rem; }
.unit-tabs button {
  padding: .5rem 1rem; border: 1px solid var(--line); background: var(--white);
  border-radius: 999px; font-size: .8rem; cursor: pointer; color: var(--ink-soft);
  font-family: var(--sans); transition: all .25s var(--ease);
}
.unit-tabs button:hover { border-color: var(--forest); }
.unit-tabs button[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-dow { text-align: center; font-size: .7rem; color: var(--ink-mute); padding-bottom: .5rem; letter-spacing: .05em; }
.cal-dow.sat { color: #3a72a8; }
.cal-dow.sun { color: #b5544c; }
.cal-cell {
  aspect-ratio: 1; border: 1px solid var(--line); border-radius: 3px; background: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .05rem;
  font-size: .82rem; line-height: 1.25; cursor: pointer; padding: 0;
  font-family: var(--sans); color: var(--ink);
  /* aspect-ratio があると内容の高さが最小幅に転写されて縮まなくなるので、明示的に外す */
  min-width: 0; min-height: 0;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.cal-cell.empty { border: 0; background: none; cursor: default; }
.cal-cell .mark { font-size: .95rem; line-height: 1; }
.cal-cell .left { font-size: .66rem; color: var(--ink-mute); letter-spacing: 0; }
.cal-cell.ok .mark { color: var(--river); }
.cal-cell.few .mark { color: var(--accent-dk); }
.cal-cell.full { background: var(--sand); color: var(--ink-mute); cursor: not-allowed; }
.cal-cell.full .mark { color: #b8b0a2; }
.cal-cell.past { background: #f7f5f0; color: #c3bcb0; cursor: not-allowed; }
.cal-cell.past .mark, .cal-cell.past .left { color: #cfc9be; }
.cal-cell:not(.full):not(.past):not(.empty):hover { border-color: var(--forest); background: var(--sand); transform: translateY(-1px); }
.cal-cell.selected { background: var(--forest); border-color: var(--forest); color: #fff; }
.cal-cell.selected .mark, .cal-cell.selected .left { color: #fff; }
.cal-cell.in-range { background: #e3efe9; border-color: #bcd8cb; }

.cal-legend { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-top: 1.2rem; font-size: .82rem; color: var(--ink-mute); }
.cal-legend span b { font-size: .9rem; margin-right: .25rem; }
.cal-loading { text-align: center; padding: 2.5rem 0; color: var(--ink-mute); font-size: .85rem; }

/* フォーム */
.form-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2rem); }
.form-panel h3 { font-size: 1.08rem; margin-bottom: 1.3rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); letter-spacing: .05em; }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-size: .8rem; color: var(--ink-soft); margin-bottom: .42rem; letter-spacing: .04em; }
.field .req { color: #c0574c; font-size: .68rem; margin-left: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .78rem .9rem; border: 1px solid var(--line); border-radius: 3px;
  font-size: .92rem; font-family: var(--sans); color: var(--ink); background: var(--cream);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--forest); background: var(--white);
  box-shadow: 0 0 0 3px rgba(45,83,72,.09);
}
.field textarea { min-height: 88px; resize: vertical; }
.field .hint { font-size: .8rem; color: var(--ink-mute); margin-top: .35rem; line-height: 1.7; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

.summary { background: var(--sand); border-radius: 3px; padding: 1.1rem 1.2rem; margin-bottom: 1.3rem; font-size: .86rem; }
.summary dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: .38rem 1rem; }
.summary dt { color: var(--ink-mute); font-size: .84rem; }
.summary dd { margin: 0; }
.summary .total { margin-top: .85rem; padding-top: .85rem; border-top: 1px solid var(--sand-dk); display: flex; justify-content: space-between; align-items: baseline; }
.summary .total b { font-family: var(--latin); font-size: 1.5rem; color: var(--forest); }

.formmsg { padding: .9rem 1.1rem; border-radius: 3px; font-size: .85rem; line-height: 1.85; margin-bottom: 1.1rem; }
.formmsg.err { background: #fdecea; color: #a8443a; border: 1px solid #f0c8c2; }
.formmsg.ok { background: #e7f3ec; color: #1f5c3f; border: 1px solid #bcdcc8; }

.book-done { text-align: center; padding: clamp(2rem, 6vw, 4rem) 1rem; }
.book-done .code { font-family: var(--latin); font-size: 2rem; color: var(--forest); letter-spacing: .12em; margin: 1rem 0; }

/* ============================================================
   管理画面
   ============================================================ */
.admin { background: #f2f4f2; min-height: 100vh; }
.admin-head { background: var(--forest-dk); color: #fff; padding: 1rem clamp(1rem, 3vw, 2rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.admin-head h1 { font-size: 1.05rem; letter-spacing: .06em; }
.admin-head .who { font-size: .78rem; opacity: .7; }
.admin-main { padding: clamp(1.2rem, 3vw, 2.2rem); max-width: 1240px; margin-inline: auto; }
/* サイト側の section は上下に大きな余白を持つので、管理画面では打ち消す */
.admin-main section { padding-block: 0; }
.admin-tabs { display: flex; gap: .4rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.admin-tabs button {
  padding: .6rem 1.2rem; border: 1px solid var(--line); background: #fff; border-radius: 3px;
  cursor: pointer; font-size: .85rem; font-family: var(--sans); color: var(--ink-soft);
}
.admin-tabs button[aria-pressed="true"] { background: var(--forest); color: #fff; border-color: var(--forest); }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: 3px; padding: 1.3rem; margin-bottom: 1rem; }
.admin-card h3 { font-size: 1rem; margin-bottom: 1rem; }
.bk { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: start; }
.bk-info { font-size: .86rem; line-height: 1.9; }
.bk-info .bk-code { font-family: var(--latin); font-size: 1.05rem; color: var(--forest); letter-spacing: .08em; }
.bk-info .bk-name { font-size: 1.02rem; font-family: var(--serif); }
.bk-info .bk-meta { color: var(--ink-mute); font-size: .8rem; }
.bk-actions { display: flex; flex-direction: column; gap: .5rem; min-width: 128px; }
.pill { display: inline-block; padding: .2rem .7rem; border-radius: 999px; font-size: .68rem; letter-spacing: .06em; }
.pill.pending { background: #fdf0dc; color: #96631a; }
.pill.confirmed { background: #e0f0e6; color: #24663f; }
.pill.declined { background: #f0eeeb; color: #7c756c; }
.pill.cancelled { background: #f7e9e7; color: #9c534a; }
@media (max-width: 620px) { .bk { grid-template-columns: 1fr; } .bk-actions { flex-direction: row; } }

.login-box { max-width: 380px; margin: 14vh auto; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 2.2rem; }
.login-box h1 { font-size: 1.15rem; margin-bottom: 1.6rem; text-align: center; }

.blockcal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.blockcal .bc-cell { aspect-ratio: 1; min-width: 0; min-height: 0; line-height: 1.25; border: 1px solid var(--line); border-radius: 3px; background: #fff; font-size: .78rem; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--sans); }
.blockcal .bc-cell.blocked { background: #f6dedb; border-color: #e6b8b2; color: #a1473d; }
.blockcal .bc-cell.empty { border: 0; background: none; cursor: default; }
.blockcal .bc-cell .n { font-size: .58rem; color: var(--ink-mute); }
.blockcal .bc-cell.blocked .n { color: #a1473d; }

/* ============================================================
   共通ユーティリティ
   ============================================================ */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.muted { color: var(--ink-mute); font-size: .85rem; line-height: 1.9; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ============================================================
   横向きスマホ：上下の固定要素で本文が潰れないようにする
   ============================================================ */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: 620px; }
  .site-head { position: absolute; }
  .mobile-bar { position: static; }
}

/* ============================================================
   印刷（予約内容・ご利用案内を紙で持っていく方がいる）
   ============================================================ */
@media print {
  .site-head, .nav-drawer, .mobile-bar, .hero-scroll,
  .cta-band, .btn, .btn-book-head, .burger { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; line-height: 1.7; }
  section { padding-block: .8rem; break-inside: avoid; }
  .hero, .page-hero { min-height: auto; }
  .hero-media, .page-hero img { display: none; }
  .hero-inner, .page-hero .ph-inner { color: #000; padding: 0; }
  .hero h1, .page-hero h1 { text-shadow: none; }
  .sec-forest { background: #fff; color: #000; }
  .sec-forest h2, .sec-forest h3, .sec-forest .sec-head .lead,
  .sec-forest .notecard li, .sec-forest .notecard p { color: #000; }
  .reveal, .js .reveal { opacity: 1 !important; transform: none !important; }
  .room-card, .notecard, table.price { box-shadow: none; border: 1px solid #999; }
  a { text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  a[href^="tel:"]::after, a[href^="#"]::after { content: none; }
  .gallery, .seasons { display: none; }
}
