/* ============================================================
   パルズイン雷鳥 リニューアル提案モック
   デザイン方向: 自然・白馬・家族・手作り感・遊び・ちょっとワイルド
   （高級ホテル風にしない。木・雪・森・薪・温かい宿の空気）
   ============================================================ */

:root {
  --ink: #2a2420;
  --paper: #f6f1e7;
  --snow: #fbf9f4;
  --forest: #35462f;
  --forest-deep: #212d1c;
  --wood: #8a6748;
  --wood-pale: #e9ddc9;
  --ember: #c6552b;
  --ember-dark: #a04120;
  --muted: #857b6c;
  --line: #e0d6c4;
  --shadow: 0 10px 30px rgba(42, 36, 32, 0.12);
  --radius: 10px;
  --font-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --font-accent: "Caveat", cursive;
  --header-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  font-size: 16px;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.container { width: min(1100px, 92%); margin: 0 auto; }

/* ---------- 見出し ---------- */
.sec-label {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  color: var(--ember);
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.sec-title {
  font-size: clamp(1.5rem, 4.6vw, 2.2rem);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.02em;
  margin: 0.2em 0 0.6em;
}
.sec-lead { color: var(--ink); max-width: 40em; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  padding: 0.85em 1.8em;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s ease, transform 0.15s ease;
  line-height: 1.4;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ember); color: #fff; }
.btn-primary:hover { background: var(--ember-dark); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-ghost:hover { background: rgba(42, 36, 32, 0.06); }
.btn-wide { display: block; width: 100%; margin-top: 0.7em; }

/* ============================================================
   ヘッダー
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
  color: #fff;
}
.site-header.is-solid,
body.nav-open .site-header {
  background: rgba(251, 249, 244, 0.96);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
}
.header-inner {
  width: min(1200px, 94%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.brand {
  font-weight: 900;
  font-size: 1.05rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  line-height: 1.3;
  white-space: nowrap;
}
.brand small {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  opacity: 0.85;
}
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; display: flex; gap: 1.4rem; }
.site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  opacity: 0.92;
  white-space: nowrap;
}
/* 中間幅（英語などラベルが長い言語でも1段に収める） */
@media (min-width: 901px) and (max-width: 1180px) {
  .header-inner { gap: 0.8rem; }
  .site-nav ul { gap: 0.9rem; }
  .site-nav a { font-size: 0.85rem; }
  .brand small { display: none; }
  .header-cta { font-size: 0.85rem; padding: 0.6em 1.1em; }
  .lang-switch button { font-size: 0.68rem; padding: 0.45em 0.55em; }
}
.site-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.header-cta { white-space: nowrap; font-size: 0.95rem; padding: 0.65em 1.4em; }
.nav-toggle { display: none; }

/* モバイルナビ */
@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--snow);
    color: var(--ink);
    display: none;
    padding: 1rem 6% 1.6rem;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav a { display: block; padding: 0.9em 0.2em; font-size: 1rem; }
  .nav-toggle {
    display: block;
    margin-left: auto;
    background: none;
    border: none;
    color: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0.5em;
  }
  .nav-toggle .bars {
    display: block;
    width: 26px; height: 2px;
    background: currentColor;
    position: relative;
    margin: 0 auto 6px;
  }
  .nav-toggle .bars::before,
  .nav-toggle .bars::after {
    content: "";
    position: absolute;
    left: 0; width: 26px; height: 2px;
    background: currentColor;
  }
  .nav-toggle .bars::before { top: -8px; }
  .nav-toggle .bars::after { top: 8px; }
  .header-cta { display: none; }
}

/* モバイル固定ボトムCTA */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  padding: 0.6rem 4% calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(251, 249, 244, 0.96);
  box-shadow: 0 -4px 20px rgba(42, 36, 32, 0.15);
  display: none;
}
.mobile-cta .btn { display: block; width: 100%; font-size: 1.05rem; }
@media (max-width: 900px) {
  .mobile-cta { display: block; }
  body { padding-bottom: 76px; }
}

/* ============================================================
   ヒーロー
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
}
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero-photo img,
.hero-photo .photo-placeholder {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(23, 26, 18, 0.82) 0%, rgba(23, 26, 18, 0.35) 42%, rgba(23, 26, 18, 0.25) 100%);
}
.hero-inner {
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: calc(var(--header-h) + 3rem) 0 7.5rem;
}
.hero-catch {
  font-size: clamp(1.9rem, 7.2vw, 3.4rem);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
}
.hero-sub {
  margin-top: 1.1rem;
  font-size: clamp(0.95rem, 3.4vw, 1.12rem);
  font-weight: 500;
  line-height: 2.1;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}
.hero-cta { margin-top: 1.6rem; display: flex; gap: 0.8rem; flex-wrap: wrap; align-items: center; }
.hero-cta .btn-primary { font-size: 1.05rem; padding: 0.95em 2.2em; }
.hero-place {
  font-family: var(--font-accent);
  font-size: 1.35rem;
  opacity: 0.95;
  margin-bottom: 0.4rem;
}
.hero-h1 {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  opacity: 0.95;
  margin-bottom: 0.5rem;
}
.btn-on-photo {
  color: #fff;
  border-color: #fff;
}
.btn-on-photo:hover { background: rgba(255, 255, 255, 0.16); }

/* ============================================================
   空室検索モック
   ============================================================ */
.booking {
  position: relative;
  z-index: 5;
  margin-top: -4.5rem;
}
.booking-card {
  background: var(--snow);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem 1.4rem 1.5rem;
  border: 1px solid var(--line);
}
.booking-title {
  font-size: 1.05rem;
  font-weight: 900;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.booking-title .mock-tag { font-weight: 500; }
.booking-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.25rem;
  letter-spacing: 0.05em;
}
.field input,
.field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7em 0.8em;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  min-height: 48px;
}
.field input:focus,
.field select:focus {
  outline: 2px solid var(--ember);
  outline-offset: 1px;
  border-color: var(--ember);
}
.booking-grid .field-submit {
  grid-column: 1 / -1;
  align-self: end;
}
.field-submit .btn { width: 100%; font-size: 1.08rem; padding: 0.9em 1em; }
@media (min-width: 900px) {
  .booking-grid {
    grid-template-columns: 1.1fr 1.1fr 0.9fr 0.9fr 1.2fr;
    align-items: end;
  }
  .booking-grid .field-submit { grid-column: auto; }
}
.mock-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.1em 0.5em;
  background: #fff;
  vertical-align: middle;
}

.booking-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.8rem;
  line-height: 1.8;
}

/* 検索結果 */
.booking-results { margin-top: 1.6rem; }
.results-head { margin-bottom: 1rem; }
.results-title { font-size: 1.3rem; font-weight: 900; }
.results-cond { font-weight: 700; color: var(--forest); }
.results-note { font-size: 0.82rem; color: var(--muted); margin-top: 0.3rem; }
.results-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .results-grid { grid-template-columns: repeat(3, 1fr); } }
.result-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(42, 36, 32, 0.07);
}
.result-card.is-unavailable { opacity: 0.55; }
.result-photo { aspect-ratio: 16 / 10; overflow: hidden; }
.result-photo img { width: 100%; height: 100%; object-fit: cover; }
.result-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.result-type { font-size: 0.75rem; font-weight: 700; color: var(--ember); letter-spacing: 0.08em; }
.result-name { font-size: 1.15rem; font-weight: 900; line-height: 1.5; }
.result-desc { font-size: 0.88rem; line-height: 1.8; margin-top: 0.3rem; }
.result-meta { font-size: 0.82rem; color: var(--muted); margin-top: 0.3rem; }
.result-foot { margin-top: auto; padding-top: 0.7rem; }
.result-price { font-size: 1.25rem; font-weight: 900; }
.result-price .per { font-size: 0.78rem; font-weight: 500; color: var(--muted); margin: 0 0.4em 0 0.2em; }
.result-status { font-size: 0.85rem; font-weight: 700; margin: 0.2rem 0 0.6rem; }
.result-status.is-open { color: var(--forest); }
.result-status.is-last { color: var(--ember); }
.result-status.is-full,
.result-status.is-over { color: var(--muted); }

/* ============================================================
   セクション共通
   ============================================================ */
.section { padding: 4.5rem 0; }
@media (min-width: 900px) { .section { padding: 6rem 0; } }

/* 体験（雷鳥でしかできないこと） */
.exp-feature {
  display: grid;
  gap: 1.4rem;
  margin-top: 2.2rem;
}
@media (min-width: 900px) {
  .exp-feature { grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: center; }
  .exp-feature.is-flip .exp-photo { order: 2; }
}
.exp-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.exp-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.exp-photo.is-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  box-shadow: none;
}
.exp-photo.is-duo figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 0; }
.exp-num {
  font-family: var(--font-accent);
  font-size: 1.6rem;
  color: var(--ember);
  line-height: 1;
}
.exp-title { font-size: clamp(1.3rem, 4vw, 1.7rem); font-weight: 900; line-height: 1.5; margin: 0.25em 0 0.5em; }
.exp-body { font-size: 0.95rem; }
.exp-points {
  list-style: none;
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.exp-points li {
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--wood-pale);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.35em 0.9em;
}
figcaption { font-size: 0.75rem; color: var(--muted); padding: 0.4em 0.2em 0; }
.goemon-note {
  display: grid;
  gap: 1.25rem;
  margin-top: 4rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--wood-pale);
  align-items: center;
}
.goemon-note img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: calc(var(--radius) - 4px); }
.goemon-note h3 { font-size: clamp(1.15rem, 3vw, 1.45rem); line-height: 1.5; margin: 0.2rem 0 0.45rem; }
.goemon-note p:last-child { font-size: 0.9rem; line-height: 1.9; }
@media (min-width: 760px) {
  .goemon-note { grid-template-columns: minmax(220px, 0.7fr) 1.3fr; padding: 1.5rem; }
}

/* 客室 */
.rooms { background: var(--snow); }
.rooms-grid { display: grid; gap: 1.3rem; margin-top: 2rem; }
@media (min-width: 700px) { .rooms-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .rooms-grid { grid-template-columns: repeat(3, 1fr); } }
.rooms-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1.5rem;
  max-width: 48em;
  line-height: 1.9;
}
.room-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(42, 36, 32, 0.07);
}
.room-photo { aspect-ratio: 16 / 10; overflow: hidden; }
.room-photo img { width: 100%; height: 100%; object-fit: cover; }
.room-photo-placeholder {
  display: grid;
  place-items: center;
  padding: 1.5rem;
  color: var(--muted);
  text-align: center;
  font-weight: 700;
  background: linear-gradient(135deg, #ece8df, #f7f4ed);
}
/* 冬と夏、同じ部屋の2つの姿を並べる */
.room-photo.is-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.room-photo.is-duo img { width: 100%; height: 100%; object-fit: cover; }
.room-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.room-name { font-size: 1.2rem; font-weight: 900; }
.room-meta { font-size: 0.82rem; color: var(--muted); margin: 0.15rem 0 0.4rem; }
.room-desc { font-size: 0.9rem; line-height: 1.9; }
.room-foot { margin-top: auto; padding-top: 0.8rem; }
.room-price { font-size: 1.3rem; font-weight: 900; margin-bottom: 0.6rem; }
.room-price .per { font-size: 0.78rem; font-weight: 500; color: var(--muted); margin: 0 0.4em 0 0.2em; }

/* オーナー */
.owner {
  background: var(--forest-deep);
  color: var(--paper);
}
.owner .sec-label { color: #e8a06a; }
.owner-grid { display: grid; gap: 2rem; margin-top: 2rem; }
@media (min-width: 900px) { .owner-grid { grid-template-columns: 0.9fr 1.2fr; gap: 3.5rem; align-items: start; } }
.owner-photo { border-radius: var(--radius); overflow: hidden; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4); }
.owner-photo img { width: 100%; object-fit: cover; }
.owner-story p { margin-bottom: 1em; font-size: 0.97rem; }
.owner-history {
  list-style: none;
  margin-top: 1.4rem;
  border-left: 2px solid rgba(246, 241, 231, 0.3);
  padding-left: 1.2rem;
  display: grid;
  gap: 0.55rem;
}
.owner-history li { font-size: 0.88rem; line-height: 1.8; position: relative; }
.owner-history li::before {
  content: "";
  position: absolute;
  left: calc(-1.2rem - 5px);
  top: 0.7em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #e8a06a;
}

/* 利用シーン */
.scenes-grid { display: grid; gap: 1.3rem; margin-top: 2rem; }
@media (min-width: 768px) { .scenes-grid { grid-template-columns: repeat(3, 1fr); } }
.scene-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(42, 36, 32, 0.07);
}
.scene-photo { aspect-ratio: 16 / 10; overflow: hidden; }
.scene-photo img { width: 100%; height: 100%; object-fit: cover; }
.scene-body { padding: 1.1rem 1.2rem 1.3rem; }
.scene-name { font-size: 1.1rem; font-weight: 900; }
.scene-desc { font-size: 0.88rem; line-height: 1.9; margin-top: 0.35rem; }

/* アクセス */
.access { background: var(--snow); }
.access-grid { display: grid; gap: 2rem; margin-top: 2rem; }
@media (min-width: 900px) { .access-grid { grid-template-columns: 1.1fr 1fr; gap: 3rem; } }
.access-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e9e4d8;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.access-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.access-list { list-style: none; display: grid; gap: 1rem; }
.access-list li { border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
.access-list .way { font-weight: 900; font-size: 1rem; }
.access-list .how { font-size: 0.9rem; margin-top: 0.15rem; }
.access-address { margin-top: 1.3rem; font-weight: 700; line-height: 2; }

/* FAQ・注意事項 */
.qa-list { margin-top: 1.6rem; display: grid; gap: 0.7rem; }
details.qa {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
}
details.qa summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.95em 2.6em 0.95em 1.1em;
  list-style: none;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.7;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after {
  content: "+";
  position: absolute;
  right: 1em;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--ember);
  font-weight: 700;
}
details.qa[open] summary::after { content: "−"; }
details.qa .qa-body {
  padding: 0 1.1em 1.1em;
  font-size: 0.9rem;
  color: var(--ink);
}
details.qa .qa-body p { margin-bottom: 0.6em; }
details.qa .qa-body ul { padding-left: 1.2em; }

/* 最後のCTA */
.final-cta {
  position: relative;
  color: #fff;
  text-align: center;
  isolation: isolate;
  padding: 6rem 0;
}
.final-cta .cta-photo { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.final-cta .cta-photo img { width: 100%; height: 100%; object-fit: cover; }
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(23, 26, 18, 0.62);
}
.final-cta h2 { font-size: clamp(1.4rem, 5vw, 2rem); font-weight: 900; line-height: 1.6; }
.final-cta p { margin-top: 0.8rem; font-size: 0.95rem; }
.final-cta .btn { margin-top: 1.6rem; font-size: 1.1rem; padding: 1em 2.6em; }

/* フッター */
.site-footer {
  background: var(--forest-deep);
  color: var(--paper);
  padding: 3rem 0 2.2rem;
  font-size: 0.88rem;
}
.footer-grid { display: grid; gap: 1.6rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem; } }
.footer-name { font-weight: 900; font-size: 1.05rem; margin-bottom: 0.4rem; }
.footer-nap p { line-height: 1.9; opacity: 0.92; }
.footer-nav ul { list-style: none; display: grid; gap: 0.4rem; }
.footer-nav a { text-decoration: none; opacity: 0.85; }
.footer-nav a:hover { opacity: 1; text-decoration: underline; }
.footer-note { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(246, 241, 231, 0.2); font-size: 0.75rem; opacity: 0.75; }

/* ============================================================
   モーダル
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(23, 26, 18, 0.6);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
@media (min-width: 700px) { .modal { align-items: center; padding: 2rem; } }
.modal[hidden] { display: none; }
.modal-panel {
  background: var(--snow);
  width: 100%;
  max-width: 520px;
  max-height: 88svh;
  overflow-y: auto;
  border-radius: 16px 16px 0 0;
  padding: 1.4rem 1.4rem calc(1.4rem + env(safe-area-inset-bottom));
  position: relative;
}
@media (min-width: 700px) { .modal-panel { border-radius: 14px; } }
.modal-x {
  position: absolute;
  top: 0.7rem; right: 0.9rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  padding: 0.3em;
}
body.modal-open { overflow: hidden; }
.summary-photo { border-radius: 8px; overflow: hidden; margin-bottom: 0.9rem; }
.summary-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.summary-name { font-size: 1.25rem; font-weight: 900; }
.summary-dates { font-weight: 700; font-size: 0.92rem; margin-top: 0.3rem; }
.summary-guests { font-size: 0.88rem; color: var(--muted); }
.summary-table { width: 100%; border-collapse: collapse; margin: 0.9rem 0 0.5rem; font-size: 0.92rem; }
.summary-table td { padding: 0.5em 0; border-bottom: 1px solid var(--line); }
.summary-table td:last-child { text-align: right; font-weight: 700; }
.summary-table tr.total td { font-weight: 900; font-size: 1.05rem; border-bottom: none; }
.summary-note { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.6rem; }
.notice-title { font-size: 1.2rem; font-weight: 900; line-height: 1.6; }
.notice-body { font-size: 0.92rem; margin-top: 0.7rem; }
.notice-body p { margin-bottom: 0.7em; }

/* ============================================================
   写真プレースホルダー（取得できなかった写真の明示表示）
   ============================================================ */
.photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    repeating-linear-gradient(45deg, #e6dfd0 0 14px, #ddd4c2 14px 28px);
  color: #6d6455;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 1rem;
}

/* ============================================================
   多言語（日・英・繁中・韓）
   ------------------------------------------------------------
   本文フォントを表示言語に合わせる。手書き風アクセント（Caveat）は
   ラテン文字のみのため全言語共通で使える
   ============================================================ */
html[lang="zh-Hant"] body,
html[lang="zh-Hant"] .btn,
html[lang="zh-Hant"] .field input,
html[lang="zh-Hant"] .field select {
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", var(--font-body);
}
html[lang="ko"] body,
html[lang="ko"] .btn,
html[lang="ko"] .field input,
html[lang="ko"] .field select {
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", var(--font-body);
}
html[lang="en"] body { line-height: 1.75; }
html[lang="en"] .hero-catch { line-height: 1.3; letter-spacing: 0; }
html[lang="en"] .sec-title { line-height: 1.3; letter-spacing: 0; }

/* 言語スイッチャー（デザインは既存のピル型・線・墨色に合わせる） */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  padding: 2px;
}
.lang-switch button {
  appearance: none;
  background: none;
  border: none;
  border-radius: 999px;
  color: inherit;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 0.45em 0.8em;
  cursor: pointer;
  opacity: 0.8;
  transition: background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}
.lang-switch button:hover { opacity: 1; }
.lang-switch button.is-active {
  background: var(--ember);
  color: #fff;
  opacity: 1;
}
.lang-switch-header { margin-left: 0.2rem; }
.lang-switch-nav { display: none; }
@media (max-width: 900px) {
  .lang-switch-header { display: none; }
  .lang-switch-nav {
    display: inline-flex;
    margin: 0.9rem 0.2em 0.2rem;
    color: var(--ink);
    border-color: var(--line);
  }
  .lang-switch-nav button { font-size: 0.8rem; padding: 0.55em 0.9em; }
}

/* ============================================================
   季節切替（グリーン / 冬）
   ------------------------------------------------------------
   body[data-season] で表示を切り替える。初期値はHTML側の green。
   JSが12〜4月は winter を初期表示にする（トグルでいつでも変更可）
   ============================================================ */
.season-toggle {
  position: absolute;
  top: calc(var(--header-h) + 0.9rem);
  right: max(4%, calc((100% - 1100px) / 2));
  display: flex;
  gap: 2px;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  padding: 2px;
  background: rgba(23, 26, 18, 0.35);
  backdrop-filter: blur(4px);
  color: #fff;
}
.season-toggle button {
  appearance: none;
  background: none;
  border: none;
  border-radius: 999px;
  color: inherit;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.5em 0.9em;
  cursor: pointer;
  opacity: 0.85;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  transition: background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}
.season-toggle button:hover { opacity: 1; }
.season-toggle button.is-active {
  background: var(--paper);
  color: var(--ink);
  opacity: 1;
}
.season-ico { font-size: 0.9em; }

/* 季節で出し分ける要素 */
body[data-season="green"] .season-winter-only { display: none; }
body[data-season="winter"] .season-green-only { display: none; }

/* 冬季のみ表示する注記（正本は index.html の日本語文言） */
.winter-only { display: none; }
body[data-season="winter"] .winter-only { display: block; }

/* 冬はスキー旅行カードを先頭に */
body[data-season="winter"] .scenes-grid .scene-ski { order: -1; }

/* 和室10畳の2枚組: グリーン表示では畳の写真を先に、冬はベッドの写真を先に */
body[data-season="green"] .room-photo.is-duo img:first-child { order: 2; }

/* 体験03の2枚組: 冬は雪の写真を先に */
body[data-season="winter"] .exp-photo.season-flip figure:first-child { order: 2; }

/* ============================================================
   出現アニメーション（JS実行時のみ有効。JSなしでも全て見える）
   ============================================================ */
html.js .reveal-init {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
html.js .reveal-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal-init { opacity: 1; transform: none; transition: none; }
}

/* 公開前確認版の状態表示と、予約欄からの安全な導線 */
.preview-banner {
  margin: 0;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.preview-actions .btn { white-space: normal; }

/* 宿泊条件・問い合わせ */
.stay-guides {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 820px) { .stay-guides { grid-template-columns: repeat(3, 1fr); } }
.stay-guide {
  padding: 1.4rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.stay-guide h3 { margin: 0.2rem 0 0.7rem; font-size: 1.08rem; line-height: 1.55; }
.stay-guide p { font-size: 0.9rem; }
.stay-guide p + p { margin-top: 0.65rem; }
.inquiry { background: var(--forest-deep); color: #fff; }
.inquiry-layout { display: grid; gap: 2rem; }
@media (min-width: 900px) { .inquiry-layout { grid-template-columns: 0.75fr 1.25fr; align-items: start; gap: 3.5rem; } }
.inquiry .sec-label { color: #efae83; }
.inquiry-intro > p + p { margin-top: 1rem; }
.inquiry-hours { padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.25); border-bottom: 1px solid rgba(255,255,255,.25); }
.preview-form-note { font-size: 0.86rem; color: #f3d6c4; }
.inquiry-form { padding: clamp(1rem, 4vw, 2rem); background: var(--snow); color: var(--ink); border-radius: var(--radius); }
.inquiry-form .form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-language { margin: 0 0 1.4rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); }
.form-language legend { padding: 0 .4rem; font-size: .82rem; font-weight: 900; }
.form-language .lang-switch { justify-content: flex-start; }
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 680px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-wide { grid-column: 1 / -1; } }
.inquiry-form label { display: grid; gap: 0.35rem; font-size: 0.88rem; font-weight: 700; }
.inquiry-form label > span { color: var(--ember); }
.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.8rem;
  border: 1px solid #b9ad9a;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.inquiry-form textarea { resize: vertical; }
.inquiry-form .quiet-check { display: flex; align-items: flex-start; gap: 0.65rem; margin: 1.2rem 0; }
.inquiry-form .quiet-check input { width: 1.15rem; min-height: auto; margin-top: 0.35rem; accent-color: var(--ember); }
.inquiry-status { margin-top: 1rem; min-height: 1.8em; font-weight: 700; color: var(--forest); }
.inquiry-policy { margin-top: 1.2rem; padding: 1.1rem; border: 1px solid rgba(255,255,255,.28); border-radius: var(--radius); background: rgba(255,255,255,.07); }
.inquiry-policy h3 { margin: 0; font-size: 1rem; }
.inquiry-policy h3:not(:first-child) { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.2); }
.inquiry-policy p { margin-top: .45rem; font-size: .88rem; line-height: 1.85; }

.room-price { display: inline-block; color: var(--ember); text-underline-offset: .18em; }
.rate-estimate { margin: 0 0 1.2rem; padding: 1rem 1.1rem; border: 1px solid #c8b99f; border-radius: 8px; background: #fff; }
.rate-estimate h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.rate-estimate p { margin: .25rem 0; font-size: .9rem; line-height: 1.7; }
.rate-estimate strong { font-size: 1.15rem; color: var(--forest); }
