/* ==========================================================================
   見出しの書体（Cormorant Garamond）

   以前は Google Fonts から読み込んでいました。そうすると、ページを開いた
   人の IP アドレスが Google に渡ります。ドイツでは裁判で問題になった点で、
   プライバシーのページにもわざわざ断り書きが要りました。自前で配れば
   その論点ごと無くなります。

   ・変数フォントなので 1 ファイルで 500〜700 を賄えます
     （Google も同じ 1 本を 3 つの太さに配っていました）
   ・欧文の latin と latin-ext だけ置いています。7 言語（英・伊・西・仏・
     独・日・波）に要るのはこの 2 つで、ポーランド語の ł ą ę は latin-ext。
     キリル文字とベトナム語は使わないので入れていません
   ・日本語は端末の書体（Hiragino / Yu Gothic など）に任せます。
     Noto Sans JP を自前で持つと数 MB になり、見出し以外では効きません
   ・font-display: swap … 読み込み中も端末の書体で先に文字を出す。
     真っ白の時間を作らないため
   ========================================================================== */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   bbGuestHouse — Modern, clean luxury (white + deep green + navy)
   ========================================================================== */

:root {
  --green-900: #0d3b2e;
  --green-800: #134a3a;
  --green-700: #1a5c48;
  --green-600: #1f6b54;
  --green-100: #e8f3ef;
  --green-50: #f3f9f6;
  --navy-900: #0f1c2e;
  --navy-800: #1a2d45;
  --navy-700: #243b58;
  --gold: #c4a35a;
  --gold-light: #d4bc7a;
  --white: #ffffff;
  --off-white: #fafbfa;
  --gray-50: #f7f8f7;
  --gray-100: #eef0ee;
  --gray-200: #dce0dc;
  --gray-400: #9aa39a;
  --gray-600: #5c665c;
  --gray-800: #2a302a;
  --gray-900: #1a1e1a;
  --error: #b42318;
  --success: #067647;
  --shadow-sm: 0 1px 2px rgba(15, 28, 46, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 28, 46, 0.08);
  --shadow-lg: 0 16px 48px rgba(15, 28, 46, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --header-h: 72px;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP",
    "Segoe UI", "Yu Gothic UI", "Meiryo", sans-serif;
  --font-serif: "Cormorant Garamond", "Times New Roman", "Yu Mincho", serif;
  --max: 1120px;
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--off-white);
  min-height: 100vh;
  /* 見出しの Cormorant Garamond は、数字を既定で「古典数字」で出します。
     小文字の高さに合わせて作られた数字なので、全角のかなの隣に置くと
     沈んで見え、日本語の「2つのゲストハウス」の 2 だけが小さく見えて
     いました。大文字の高さに揃う数字に切り替えます。
     欧文の本文書体や日本語書体には古典数字が無いので、影響はありません。 */
  font-variant-numeric: lining-nums;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green-700);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--green-900);
}

ul {
  list-style: none;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

.section--tight {
  padding: 3rem 0;
}

.section--alt {
  background: var(--white);
}

.section--green {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.section--green .section-title {
  color: var(--white);
}

.section-lead {
  color: var(--gray-600);
  font-size: 1.05rem;
}

.section--green .section-lead {
  color: rgba(255, 255, 255, 0.85);
}

/* --------------------------------------------------------------------------
   Header / Nav
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  color: var(--navy-900);
}

.logo:hover {
  color: var(--green-800);
}

.logo-mark {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo-mark span {
  color: var(--green-700);
}

.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-800);
  border-radius: 999px;
  transition: background var(--transition), color var(--transition);
}

.nav-link:hover,
.nav-link.is-active {
  background: var(--green-50);
  color: var(--green-800);
}

.nav-cta {
  margin-left: 0.5rem;
  padding: 0.55rem 1.15rem;
  background: var(--green-800);
  color: var(--white) !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}

/* 幅の狭いパソコン・タブレット横向き（769〜900px）だけ、メニューを詰める。

   ここは横並びのメニューが残る最後の帯です。英語なら収まりますが、語の
   長い言語では項目の中で改行し、「Strona / główna」「Pagina / iniziale」
   のように 2 行になっていました。詰めれば 1 行に収まるので、折り返しを
   止めたうえで字と余白を少しだけ小さくします。
   768px 以下はハンバーガーメニューに変わるので、ここには含めません。 */
@media (min-width: 769px) and (max-width: 900px) {
  .nav {
    gap: 0;
  }

  .nav-link {
    white-space: nowrap;
    padding: 0.5rem 0.55rem;
    font-size: 0.85rem;
  }

  .nav-cta {
    margin-left: 0.35rem;
    padding: 0.5rem 0.9rem;
    font-size: 0.85rem;
  }
}

.nav-cta:hover {
  background: var(--green-900);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy-900);
  transition: transform var(--transition), opacity var(--transition);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  font-family: inherit;
  line-height: 1.2;
}

.btn-primary {
  background: var(--green-800);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-900);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--green-800);
  border-color: var(--green-800);
  margin: 10px 0;
}

.btn-secondary:hover {
  background: var(--green-50);
  color: var(--green-900);
}

.btn-light {
  background: var(--white);
  color: var(--green-900);
}

.btn-light:hover {
  background: var(--green-50);
  color: var(--green-900);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: var(--white);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-900);
}

.btn-gold:hover {
  filter: brightness(1.05);
  color: var(--navy-900);
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   Hero (top banner under nav — atmosphere photos + title)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: flex;
  align-items: center;
  background: var(--navy-900);
  color: var(--white);
  /* overflow は .hero-media 側で切る。ここで切ると検索バーの
     カレンダーがヒーローの下端で切れてしまうため。 */
}

.hero-media {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  overflow: hidden;
  z-index: 0;
}

.hero-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-media-img--main {
  object-position: center 40%;
}

.hero-media-img--side {
  object-position: center 30%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      rgba(13, 59, 46, 0.9) 0%,
      rgba(15, 28, 46, 0.78) 42%,
      rgba(15, 28, 46, 0.45) 72%,
      rgba(15, 28, 46, 0.35) 100%
    ),
    linear-gradient(
      to top,
      rgba(15, 28, 46, 0.55) 0%,
      transparent 40%
    );
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 4rem 0 5rem;
}

/* 文章と検索バーを同じ幅の柱に収めて、まとめて中央に置く。
   （文字は左揃えのまま。行長は h1 / p 側の max-width で抑えている） */
.hero-copy,
.hero-search {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
  color: var(--gold-light);
}

.hero h1 {
  font-family: var(--font-serif);
  max-width: 16em;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2rem;
  max-width: 34em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.hero-meta strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card-media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, var(--green-100), var(--gray-100));
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  overflow: hidden;
}

.card-media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(15, 28, 46, 0.72) 0%,
    rgba(15, 28, 46, 0.18) 45%,
    rgba(15, 28, 46, 0.05) 100%
  );
}

.card-media--perseo {
  background:
    linear-gradient(160deg, rgba(15, 28, 46, 0.15), rgba(15, 28, 46, 0.55)),
    linear-gradient(135deg, #1a2d45 0%, #3d5a80 50%, #6b8cae 100%);
}

.card-media--laocoonte {
  background:
    linear-gradient(160deg, rgba(13, 59, 46, 0.15), rgba(13, 59, 46, 0.55)),
    linear-gradient(135deg, #0d3b2e 0%, #2d6a4f 50%, #74a892 100%);
}

.card-media--room {
  background:
    linear-gradient(160deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.35)),
    linear-gradient(135deg, #e8e4dc 0%, #c9b8a0 45%, #8a7a66 100%);
}

.card-media-label {
  position: relative;
  z-index: 2;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.card-body {
  padding: 1.5rem 1.5rem 1.75rem;
}

.card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
}

.card-meta {
  font-size: 0.85rem;
  color: var(--green-700);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.card-body p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Feature / amenity */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr));
  gap: 1rem;
}

.feature-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: border-color var(--transition);
}

.feature-item:hover {
  border-color: var(--green-100);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.feature-item span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-800);
}

/* --------------------------------------------------------------------------
   Page header (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  padding: 3rem 0 2.75rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  right: -10%;
  top: -40%;
  width: 50%;
  height: 180%;
  background: radial-gradient(circle, rgba(196, 163, 90, 0.15), transparent 60%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 36em;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Facility detail
   -------------------------------------------------------------------------- */
.facility-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.facility-tab {
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-800);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition);
  text-decoration: none;
}

.facility-tab:hover,
.facility-tab.is-active {
  background: var(--green-800);
  border-color: var(--green-800);
  color: var(--white);
}

.facility-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: start;
}

.facility-visual {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  color: var(--white);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.facility-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.facility-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(15, 28, 46, 0.88) 0%,
    rgba(15, 28, 46, 0.25) 50%,
    rgba(15, 28, 46, 0.08) 100%
  );
}

.facility-visual-caption {
  position: relative;
  z-index: 2;
}

.facility-visual--perseo {
  background:
    linear-gradient(to top, rgba(15, 28, 46, 0.85), transparent 55%),
    linear-gradient(135deg, #1a2d45, #4a6fa5);
}

.facility-visual--laocoonte {
  background:
    linear-gradient(to top, rgba(13, 59, 46, 0.85), transparent 55%),
    linear-gradient(135deg, #0d3b2e, #40916c);
}

.facility-visual h2 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

.facility-visual p {
  opacity: 0.9;
  font-size: 0.95rem;
}

.facility-panel .photo-gallery,
.facility-gallery {
  grid-column: 1 / -1;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr));
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.photo-gallery-item {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.photo-gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.photo-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.highlight-list {
  margin: 1.25rem 0 1.75rem;
}

.highlight-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.6rem;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-100);
}

.highlight-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-600);
}

.address-box {
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.address-box strong {
  display: block;
  color: var(--green-900);
  margin-bottom: 0.35rem;
}

/* --------------------------------------------------------------------------
   Rooms
   -------------------------------------------------------------------------- */
.room-card .card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  margin: 0.5rem 0 1rem;
  color: var(--green-800);
  font-weight: 600;
}

.price-tag .amount {
  font-family: var(--font-serif);
  font-size: 1.5rem;
}

.price-tag .note {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--gray-600);
}

.amenity-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.chip {
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  color: var(--gray-600);
}

.room-card .card-actions {
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   施設紹介ページ（facilities.html）
   -------------------------------------------------------------------------- */
/* 施設ごとの見出し。セクション見出しの中央寄せをやめ、本文の頭に揃える。
   .section-title と同じ強さだと順番次第で負けるので、2つ重ねて指定する。 */
.section-title.facility-detail-name {
  text-align: left;
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.facility-tagline {
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

.facility-description {
  margin-bottom: 1rem;
}

/* CIN / CIR / P.IVA。イタリアの法定表示なので必ず出すが、小さく。 */
.facility-reg {
  font-size: 0.85rem;
}

.facility-actions {
  margin-top: 1.25rem;
}

/* --------------------------------------------------------------------------
   客室紹介ページ（rooms.html）
   -------------------------------------------------------------------------- */
/* 料金についての注意書き。本文より狭くして中央に置く。 */
.rooms-rates {
  margin-top: 2.5rem;
  max-width: 720px;
  margin-inline: auto;
}

/* 全体の ul は list-style: none にしてあるので、ここだけ点を戻す */
.rooms-rates-list {
  margin-top: 0.5rem;
  padding-left: 1.1rem;
  list-style: disc;
  color: var(--gray-600);
}

/* --------------------------------------------------------------------------
   Access
   -------------------------------------------------------------------------- */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.access-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.access-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy-900);
  margin-bottom: 0.35rem;
}

.access-card .badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.badge-navy {
  background: #e8eef6;
  color: var(--navy-800);
}

.badge-green {
  background: var(--green-100);
  color: var(--green-800);
}

.access-card address {
  font-style: normal;
  margin-bottom: 1rem;
  color: var(--gray-800);
  line-height: 1.6;
}

/* 施設カード：紹介文の長さに関係なく地図の高さを揃える。

   施設ごと・言語ごとに住所や案内文の行数が違うので、そのまま縦に
   積むと地図の上端がずれます。カードの中を「紹介文 / 地図 / ボタン」
   の3行に分け、2枚のカードで同じ行の線を共有させます（subgrid）。
   こうすると背の高いほうの紹介文に合わせて両方の1行目が決まるので、
   地図は必ず同じ高さから始まります。 */
.access-card--facility {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  row-gap: 1rem;
}

/* subgrid が無いブラウザ向け。
   カード自体は grid が同じ高さに引き伸ばしてくれるので、紹介文に
   余りを吸わせれば、地図とボタンの高さが同じである限り上端が揃います。 */
@supports not (grid-template-rows: subgrid) {
  .access-card--facility {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .access-card-intro {
    flex: 1;
  }
}

.access-card-cin {
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.map-frame {
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: var(--radius);
  background: var(--gray-100);
}

/* 押すまでは地図を読み込まない（D1）。iframe と同じ大きさ・角丸にして、
   ボタンを押した瞬間に置き換わっても高さが変わらないようにする。 */
.map-frame--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.5rem;
  text-align: center;
}

.map-frame-note {
  margin: 0;
  max-width: 32ch;
  font-size: 0.78rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.steps {
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 1rem 0 1rem 3rem;
  border-bottom: 1px solid var(--gray-100);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps h4 {
  font-size: 1rem;
  color: var(--navy-900);
  margin-bottom: 0.25rem;
}

.steps p {
  font-size: 0.95rem;
  color: var(--gray-600);
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: 2rem;
  align-items: start;
}

.form-card,
.side-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
}

.form-card h2,
.side-card h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--navy-900);
  margin-bottom: 0.35rem;
}

.form-card > p,
.side-card > p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.4rem;
}

/* 必須マーク。ラベルだけでなく説明文の中にも出るので、
   色は素の .req に持たせる（以前は文言側に style= を書いていた）。 */
.req {
  color: var(--error);
}

.form-group label .req {
  margin-left: 0.15rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(31, 107, 84, 0.15);
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 0.35rem;
}

/* 予約照会の「なぜメールが要るか」だけ、ボタンとの間を広めに取る。
   .form-hint と同じ強さだと順番に左右されるので、2つ重ねて指定する。 */
.form-hint.lookup-why {
  margin-top: 0.75rem;
}

.flash-messages {
  margin-bottom: 1.25rem;
}

/* ページ上部に出すお知らせ帯。ヘッダーとの間を少し空ける */
.flash-wrap {
  padding-top: 1rem;
}

.flash {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.flash-error {
  background: #fef3f2;
  color: var(--error);
  border: 1px solid #fecdca;
}

.flash-success {
  background: #ecfdf3;
  color: var(--success);
  border: 1px solid #abefc6;
}

.side-card ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.9rem;
  color: var(--gray-600);
}

.side-card ul li:last-child {
  border-bottom: 0;
}

.side-card .contact-line {
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Confirmation
   -------------------------------------------------------------------------- */
.confirm-box {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
  padding: 2.5rem;
}

.confirm-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.25rem;
}

/* お支払いキャンセルのページだけ、丸を赤系にする */
.confirm-icon--error {
  background: #fef3f2;
  color: var(--error);
}

.confirm-box h1 {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
}

.confirm-box > .lead {
  text-align: center;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.detail-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.75rem;
}

.detail-table th,
.detail-table td {
  text-align: left;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.95rem;
  vertical-align: top;
}

.detail-table th {
  width: 36%;
  color: var(--gray-600);
  font-weight: 500;
}

.detail-table td {
  color: var(--navy-900);
  font-weight: 500;
}

.booking-id {
  font-family: ui-monospace, monospace;
  letter-spacing: 0.05em;
  color: var(--green-800);
}

.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.stripe-note {
  margin-top: 0.75rem;
  padding: 1rem;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--gray-600);
  text-align: center;
}

/* 入金がまだ確認できていないときの注記。表との間をもう少し空ける。 */
.stripe-note--spaced {
  margin-top: 1.25rem;
}

/* 支払済と言い切れるときだけ緑にする */
.pay-status-ok {
  color: var(--success);
}

.stripe-demo-box {
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  border: 1px dashed var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  text-align: left;
}

.stripe-demo-box summary {
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
}

.stripe-demo-box[open] summary {
  color: var(--navy-900);
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  text-align: center;
  padding: 3.5rem 1rem;
}

.cta-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.cta-band p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
  max-width: 32em;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: auto;
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  /* 4 列目に予約条件などの並びが入った。1fr は最小幅が min-content に
     なるため、長い見出しの言語（ドイツ語・ポーランド語）で列が画面より
     広くなる。minmax(0, …) で必ず収める。 */
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 1000px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.footer-brand .logo-mark {
  color: var(--white);
  font-size: 1.4rem;
}

.footer-brand .logo-mark span {
  color: var(--gold-light);
}

.footer-brand p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  max-width: 28em;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  display: block;
  padding: 0.25rem 0;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-col p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* フッターの2つ目以降のかたまり（Laocoonte・電話番号）を離す */
.footer-col .footer-block {
  margin-top: 0.75rem;
}

/* 施設名だけ白くして、住所より目立たせる */
.footer-house-name {
  color: var(--white);
}

/* 登録番号は法定表示なので、載せたうえで小さく控えめに */
.footer-cin {
  font-size: 0.8rem;
  opacity: 0.75;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* 見積金額の横に出す注記。金額は太字だが、注記まで太いと読みにくい。 */
.estimate-note {
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   アクセスページの下半分（access.html）
   -------------------------------------------------------------------------- */
/* 行き方の手順。横に広がりすぎると読みにくいので幅を抑えて中央に。 */
.access-howto {
  max-width: 900px;
  margin: 0 auto;
}

/* 送迎の案内 */
.access-transfer {
  margin-top: 2rem;
  max-width: 720px;
  margin-inline: auto;
}

.access-transfer-body {
  margin-top: 0.5rem;
}

/* 外部サイトへのリンク集 */
.access-links {
  max-width: 800px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Misc
   -------------------------------------------------------------------------- */
.main-content {
  flex: 1;
}

.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

.muted {
  color: var(--gray-600);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Pattern decorative for empty image slots */
.pattern-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* aspect-ratio と min-height を併用すると、min-height から逆算した幅
     （280px x 4/3 = 373px）になり、狭い端末で画面をはみ出す。
     縦の下限を外して、幅から高さを決めさせる。 */
  .facility-visual {
    min-height: 0;
  }

  .facility-panel,
  .form-layout,
  .access-grid,
  .footer-grid {
    /* 1fr だと最小幅が min-content になり、日付を入れて文字が長くなった
       ときに列が画面より広くなってしまう。minmax(0, …) で必ず収める。 */
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    gap: 1.75rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .header-right {
    gap: 0.5rem;
  }

  .hero-media {
    grid-template-columns: 1fr;
  }

  .hero-media-img--side {
    display: none;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
    margin-top: 0.25rem;
  }

  .grid-2,
  .grid-3,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding: 3rem 0 3.5rem;
  }

  .section {
    padding: 3rem 0;
  }

  .confirm-box,
  .form-card,
  .side-card {
    padding: 1.5rem;
  }

  .detail-table th {
    width: 40%;
  }
}

@media (max-width: 480px) {
  .hero-meta {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    width: 100%;
  }

  .hero-actions .btn {
    width: auto;
    flex: 1 1 auto;
  }
}

/* ==========================================================================
   Booking form — live price estimate / availability
   ========================================================================== */
.quote-box {
  margin: 1.5rem 0;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  transition: background var(--transition), border-color var(--transition);
}

.quote-box .quote-main {
  font-size: 1.15rem;
  color: var(--gray-900);
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.quote-box .quote-note {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.quote-box.is-ok {
  background: var(--green-50);
  border-color: var(--green-100);
}

.quote-box.is-ok .quote-main strong {
  color: var(--green-900);
  font-weight: 700;
}

.quote-box.is-loading {
  color: var(--gray-600);
}

.quote-box.is-loading .quote-main {
  font-size: 0.95rem;
  color: var(--gray-600);
}

.quote-box.is-unavailable {
  background: #fdf3f2;
  border-color: #f5d5d2;
}

.quote-box.is-unavailable .quote-main strong {
  color: var(--error);
  font-size: 1rem;
  font-weight: 600;
}

.quote-warn {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #fff4ce;
  color: #7a5b00;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

button[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ==========================================================================
   選択カード（施設や客室の入口）
   一覧では中身を出しきらず、選んでもらうことに集中させる
   ========================================================================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 1.75rem;
}

/* トップページの施設カード。2 枚の高さと写真の比率をそろえる。 */
.house-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.house-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.house-card .card-media {
  display: block;
  position: relative;
  aspect-ratio: 8 / 5;
  overflow: hidden;
}

.house-card .card-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ボタンの並びを 2 枚のカードで同じ高さにそろえる */
.house-card .card-body { flex: 1; display: flex; flex-direction: column; }
.house-card .card-body h3 { font-size: 1.3rem; margin-bottom: 0.35rem; }
.house-card .card-actions { margin-top: auto; padding-top: 0.25rem; }

/* ==========================================================================
   予約フォーム：手順表示と空室一覧
   ========================================================================== */
.booking-step {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 2rem 0 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-100);
}

.booking-step:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.booking-step h3 { font-size: 1.05rem; margin: 0 0 0.2rem; color: var(--navy-900); }
.booking-step .form-hint { margin: 0; }

.step-num {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green-900);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-group--narrow input { max-width: 10rem; }

/* --- 空室一覧 --- */
.room-results-empty {
  margin: 0;
  padding: 1.25rem;
  border: 1px dashed var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--gray-50);
  color: var(--gray-600);
  font-size: 0.9rem;
  text-align: center;
}

.room-results-empty.is-none {
  border-style: solid;
  border-color: #f5d5d2;
  background: #fdf3f2;
  color: var(--error);
  font-weight: 600;
}

/* 休業は「取れなかった」ではなく「その期間はやっていない」。
   赤で警告するようなことではないので、落ち着いた色にする。 */
.room-results-empty.is-closed {
  border-color: var(--gray-200);
  background: var(--gray-50);
  color: var(--gray-800);
}

.room-options { display: grid; gap: 0.75rem; }

/* 1 部屋 1 行。押すとその部屋が選ばれる */
.room-option {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.room-option:hover:not(.is-unavailable) { border-color: var(--green-700); }

.room-option.is-selected {
  border-color: var(--green-900);
  box-shadow: 0 0 0 2px var(--green-100);
  background: var(--green-50);
}

/* 満室・定員不足の行は選べないことが見て分かるようにする */
.room-option.is-unavailable {
  cursor: not-allowed;
  background: var(--gray-50);
  color: var(--gray-400);
}

.room-option.is-unavailable .room-option-media img { filter: grayscale(1); opacity: 0.5; }

.room-option-media {
  width: 84px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--gray-100);
}

.room-option-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.room-option-body { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }

.room-option-title { font-weight: 700; color: inherit; }

.room-option-no {
  font-style: normal;
  font-size: 0.78rem;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  background: var(--gray-100);
  color: var(--gray-600);
  margin-right: 0.25rem;
}

.room-option-meta { font-size: 0.82rem; color: var(--gray-600); }

/* 2 棟まとめて検索したときに、どちらの建物の部屋かを示す */
.room-option-house {
  font-style: normal;
  font-weight: 700;
  color: var(--green-900);
  margin-right: 0.35rem;
}

.room-option-house::after {
  content: "·";
  margin-left: 0.35rem;
  font-weight: 400;
  color: var(--gray-400);
}

.room-option-price { text-align: right; white-space: nowrap; }
.room-option-price strong { display: block; font-size: 1.05rem; color: var(--green-900); }
.room-option-price span { font-size: 0.76rem; color: var(--gray-600); }
.room-option.is-unavailable .room-option-price strong { color: var(--gray-400); }

.room-option-pick {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--green-800);
  color: var(--green-800);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.room-option.is-selected .room-option-pick {
  background: var(--green-900);
  border-color: var(--green-900);
  color: #fff;
}

.room-option-flag {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

/* 満室と休業を見分けられるように。満室は待てば空くが、休業は空かない。 */
.room-option-flag--closed {
  background: var(--gray-800);
  color: #fff;
}

/* 閑散期の休業のお知らせ。ヘッダーの下に一本だけ通す。 */
.site-notice {
  background: var(--gray-800);
  color: #fff;
  font-size: 0.86rem;
  line-height: 1.6;
  padding: 0.7rem 0;
}

.site-notice strong {
  margin-right: 0.6rem;
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.78rem;
  white-space: nowrap;
}

@media (max-width: 620px) {
  .room-option {
    grid-template-columns: 60px minmax(0, 1fr);
    row-gap: 0.5rem;
  }
  .room-option-media { width: 60px; height: 45px; }
  .room-option-price { grid-column: 2; text-align: left; }
  .room-option-pick,
  .room-option-flag { grid-column: 1 / -1; text-align: center; }
}

/* ==========================================================================
   言語メニュー（右上に 1 か所）
   7 言語を横並びにするとモバイルで折り返し、タップ領域も小さくなるため、
   ひとつのメニューにまとめている。指で押す前提で 44px 以上を確保。
   ========================================================================== */
.lang-menu {
  position: relative;
  flex: none;
}

.lang-menu > summary {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--gray-200);
  background: #fff;
  color: var(--gray-800);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;          /* 標準の三角マークを消す */
  user-select: none;
  transition: border-color var(--transition), background var(--transition);
}

.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu > summary::marker { content: ""; }
.lang-menu > summary:hover { border-color: var(--green-700); }

.lang-menu > summary:focus-visible {
  outline: 2px solid var(--green-700);
  outline-offset: 2px;
}

.lang-menu[open] > summary {
  border-color: var(--green-900);
  background: var(--green-50);
}

/* 国旗は SVG。絵文字だと Windows で旗にならないため（2026-09-01）。
   日本・ポーランドは白が入るので、白い背景だと輪郭が消えます。
   細い枠を内側に引いて、旗の形が分かるようにしています。 */
.lang-flag,
.lang-item-flag { line-height: 0; flex: none; }

.lang-flag .flag,
.lang-item-flag .flag {
  display: block;
  height: 0.8em;
  width: 1.2em;
  border-radius: 2px;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.25);
}

.lang-flag { font-size: 1.05rem; }
.lang-current { letter-spacing: 0.04em; }

.lang-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.55;
  transition: transform var(--transition);
}

.lang-menu[open] .lang-caret { transform: rotate(180deg); }

.lang-panel {
  position: absolute;
  z-index: 60;
  top: calc(100% + 0.4rem);
  right: 0;
  min-width: 190px;
  padding: 0.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;          /* 指で押せる大きさ */
  padding: 0 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--gray-800) !important;
  font-size: 0.9rem;
  text-decoration: none;
}

.lang-item-flag { font-size: 1.1rem; }
.lang-item-name { flex: 1; }

.lang-item:hover { background: var(--gray-50); }

.lang-item.is-active {
  background: var(--green-50);
  color: var(--green-900) !important;
  font-weight: 700;
}

.lang-item-code {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gray-400);
}

.lang-item.is-active .lang-item-code { color: var(--green-700); }

/* 狭い画面では画面幅に収まるように右端から開く */
@media (max-width: 420px) {
  .lang-menu > summary { padding: 0 0.55rem; }
  .lang-current { display: none; }   /* 地球アイコンだけにして幅を稼ぐ */
  .lang-panel {
    right: 0;
    min-width: min(70vw, 220px);
  }
}

/* 言語メニューの位置：
   デスクトップではナビの右端（＝ヘッダーの右上）に置く。
   モバイル（768px 以下）ではハンバーガーの左に並べ、
   ハンバーガーを右端に残す。 */
.header-right .lang-menu { order: 3; }
.header-right .nav { order: 2; }
.header-right .nav-toggle { order: 4; }

@media (max-width: 768px) {
  .header-right .lang-menu { order: 1; }
  .header-right .nav-toggle { order: 2; }
}

/* ==========================================================================
   トップページ：2 棟を並べて比べるカード

   施設紹介ページと同じ紹介文を並べると、どちらのページを見ているのか
   分からなくなるため、ここは「決め手になる数字」を見せる作りにしています。
   ========================================================================== */
.house-tagline {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.house-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.house-stats > div {
  text-align: center;
  min-width: 0;
}

/* 2 つ目以降に区切り線を入れて、3 つの数字が並んでいることを分かりやすくする */
.house-stats > div + div {
  border-left: 1px solid var(--gray-100);
}

.house-stats dt {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gray-600);
  letter-spacing: 0.02em;
  margin-bottom: 0.2rem;
}

.house-stats dd {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.25;
}

.house-stats dd.is-price {
  color: var(--green-900);
}

/* 設備タグはトップページでは中央に寄せる（見出しと軸を合わせるため） */
.amenity-chips--center {
  justify-content: center;
}

/* 「客室と料金」「アクセス」の 2 ボタンを横に並べる */
.home-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* 狭い画面では 3 つの数字が潰れるので、料金だけを 1 行目に大きく出す */
@media (max-width: 420px) {
  .house-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .house-stats > div:first-child {
    grid-column: 1 / -1;
    border-bottom: 1px solid var(--gray-100);
    padding-bottom: 0.5rem;
  }
  .house-stats > div:nth-child(2) {
    border-left: 0;
  }
}

/* ==========================================================================
   ヒーローの空室検索バー

   写真の上に白いカードとして乗せます。中の入力欄は白地なので、
   サイトの通常のフォーム部品とほぼ同じ見た目のまま使えます。
   ========================================================================== */
.hero-search {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0.85rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(6px);
}

/* 下限幅はどれも min(…, 100%) にしてある。縦積みになる狭い画面で
   固定値のままだと、画面より広い欄ができてはみ出すため。 */
.hero-search-field {
  flex: 1 1 0;
  min-width: min(9rem, 100%);
}

/* 日程はチェックイン・チェックアウトの 2 つ分なので広めに取る。
   下限は「いちばん長い日付表記 2 つ + 泊数」が入る幅。 */
.hero-search-field--dates {
  flex: 2.2 1 0;
  min-width: min(24rem, 100%);
}

.hero-search-field--guests {
  flex: 0.55 1 0;
  min-width: min(5.5rem, 100%);
}

.hero-search label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray-600);
  letter-spacing: 0.02em;
}

/* 日程はピッカー自身がラベルを持っているので、元のラベルは隠す */
.hero-search .daterange-native label { display: none; }

.hero-search select,
.hero-search input[type="number"] {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: #fff;
  font: inherit;
  font-size: 0.95rem;
  color: var(--gray-900);
}

.hero-search select:focus,
.hero-search input[type="number"]:focus {
  outline: none;
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px var(--green-100);
}

/* ボタンは他の入力欄と高さをそろえる */
.hero-search-go {
  /* 伸ばさない。余った幅は日付欄に回す（ボタンが伸びても意味がない）。
     入りきらないときは flex-wrap で次の行に落ちる。 */
  flex: none;
  margin: 0;
  padding: 0.6rem 1.3rem;
  white-space: nowrap;
}

/* 「施設を見る」は検索バーの下に控えめに置く */
.hero-aside {
  max-width: 980px;
  margin: 1rem auto 0;
  font-size: 0.9rem;
}

.hero-aside a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-aside a:hover { color: var(--white); }

/* 狭い画面では 1 列に積む。横に 4 つ並べると各欄が 80px ほどになり、
   日付も施設名も読めなくなるため。 */
@media (max-width: 860px) {
  .hero-search {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
  }
  .hero-search-field,
  .hero-search-field--dates,
  .hero-search-field--guests { flex: none; }
  .hero-search-go { width: 100%; }
}

/* 検索バーの中では入力欄の高さをそろえる（日程だけ背が高くならないように） */
.hero-search select,
.hero-search input[type="number"] {
  padding-top: 0.68rem;
  padding-bottom: 0.68rem;
}

.hero-search .dr-field {
  padding: 0.42rem 0.7rem;
  gap: 0.1rem;
}

.hero-search .dr-field-label { font-size: 0.68rem; }
.hero-search .dr-field-value { font-size: 0.88rem; }
.hero-search .dr-nights { margin-right: 0.7rem; }

.hero-search-go {
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

/* ==========================================================================
   送信中の表示

   予約の送信はメール送信を含むため数秒かかることがあります。
   何も変わらないと固まったように見えるので、画面全体をぼかして覆い、
   中央でぐるぐるを回します。覆い自身がクリックを受け止めるため、
   終わるまでページには触れません（二重送信の防止にもなります）。
   ========================================================================== */
.page-busy {
  position: fixed;
  inset: 0;
  /* サイトヘッダーが 100 なので、それより手前に置く */
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* display: grid は hidden 属性より強いので、明示的に打ち消す */
.page-busy[hidden] {
  display: none !important;
}

.page-busy.is-visible {
  opacity: 1;
}

.page-busy-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  max-width: 22rem;
  padding: 2rem 2.25rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.page-busy-spinner {
  width: 46px;
  height: 46px;
  border: 3px solid var(--green-100);
  border-top-color: var(--green-900);
  border-radius: 50%;
  animation: bbgh-spin 0.8s linear infinite;
}

@keyframes bbgh-spin {
  to { transform: rotate(360deg); }
}

.page-busy-text {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-900);
}

.page-busy-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--gray-600);
}

/* 動きを減らす設定の人にはゆっくり回す（止めると進行中か分からなくなる） */
@media (prefers-reduced-motion: reduce) {
  .page-busy-spinner { animation-duration: 2.4s; }
  .page-busy { transition: none; }
}

/* ==========================================================================
   予約照会 / 領収書
   ========================================================================== */
.lookup-box {
  max-width: 640px;
  margin: 0 auto;
  padding: 2.25rem;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lookup-box h1 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.lookup-box > .lead {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   選んだ部屋の詳細（予約フォームの中）
   客室ページのカードと同じ内容を、選んだ直後にその場で見せます。
   別のページへ行き来せずに「この部屋でいいか」を確かめられるように。
   -------------------------------------------------------------------------- */
.room-detail {
  margin-top: 0.9rem;
  padding: 1rem 1.1rem 1.15rem;
  border: 1px solid var(--green-700);
  border-radius: var(--radius);
  background: var(--green-50);
}

.room-detail[hidden] { display: none; }

/* 一覧の中に差し込まれたときは、行間の余白だけを詰める。
   角は落とさない。四角い上辺は、押した行の一部なのか別のものなのかが
   かえって分かりにくく、見た目も硬くなる。 */
.room-options > .room-detail {
  margin-top: -0.15rem;
}

.room-detail-eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-900);
}

.room-detail-body {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
}

/* 写真の枠は固定。どんな比率の写真でもここの高さは動きません */
.room-detail-media {
  width: 190px;
  height: 130px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--gray-100);
}

.room-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.room-detail-text h4 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  color: var(--green-900);
}

.room-detail-text h4 em {
  font-style: normal;
  font-weight: 700;
  color: var(--gray-600);
  margin-right: 0.2rem;
}

.room-detail-meta {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  color: var(--gray-600);
}

.room-detail-desc {
  margin: 0 0 0.6rem;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--gray-800);
}

.room-detail-price {
  margin: 0 0 0.7rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.room-detail-price strong {
  font-size: 1.25rem;
  color: var(--green-900);
}

.room-detail-price span {
  font-size: 0.8rem;
  color: var(--gray-600);
}

.room-detail-amenities-title {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gray-600);
}

/* 詳細の中では chip の下余白は要らない（枠の余白で足りる） */
.room-detail .amenity-chips { margin-bottom: 0; }

.room-detail .chip {
  background: #fff;
  border-color: var(--green-100);
}

@media (max-width: 620px) {
  .room-detail { padding: 0.9rem; }
  .room-detail-body {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .room-detail-media {
    width: 100%;
    height: 170px;
  }
}

/* いまどこまで進んでいるかの帯 */
.lookup-status {
  margin-bottom: 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--gray-400);
  background: var(--gray-50);
}

.lookup-status p {
  margin: 0.25rem 0 0;
  color: var(--gray-800);
}

.lookup-status-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-600);
}

/* 仮押さえの残り時間。数字が 1 秒ごとに変わるので、
   等幅の数字を使って左右に揺れないようにする。 */
.hold-countdown {
  margin: 0.5rem 0 0;
  font-weight: 600;
  color: var(--gray-800);
  font-variant-numeric: tabular-nums;
}

.hold-countdown--expired {
  font-weight: 400;
  color: var(--gray-600);
}

/* 状態ごとに色を変えて、ひと目で分かるようにする */
.lookup-status--payment_sent {
  border-left-color: var(--gold);
  background: #fdf6e6;
}

.lookup-status--paid {
  border-left-color: var(--success);
}

.lookup-status--declined,
.lookup-status--cancelled {
  border-left-color: var(--gray-400);
}

.lookup-pay {
  margin-bottom: 1.5rem;
}

.lookup-pay .form-hint {
  margin-top: 0.6rem;
}

/* 「このお部屋は不要になりました」。
   決済へ進むボタンと見間違えば意味がないので、
   形を分けます。払う側は幅いっぱいの塗りつぶし、
   こちらは文字リンク。探せば見つかるが、目に飛び込んで
   間違えて押すことはない大きさにしてあります。 */
.lookup-release {
  margin: -0.5rem 0 1.5rem;
}

.btn-link-danger {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.9rem;
  color: var(--gray-600);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.btn-link-danger:hover,
.btn-link-danger:focus-visible {
  color: var(--error);
}

.lookup-release .form-hint {
  margin-top: 0.4rem;
}

.receipt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.receipt-footnote {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--gray-600);
}

@media (max-width: 620px) {
  .lookup-box { padding: 1.5rem 1.15rem; }
  .receipt-actions .btn { width: 100%; }
}

/* 予約完了ページの「このあとの流れ」 */
.next-steps {
  margin-top: 1.5rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--green-50);
  text-align: left;
}

.next-steps-label {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gray-600);
}

.next-steps p {
  margin: 0;
  font-weight: 600;
  color: var(--green-900);
}

@media (max-width: 620px) {
  /* 矢印でつないだ 1 行は狭い画面で折り返すので、行間を少し広げる */
  .next-steps p { line-height: 1.9; }
}

/* ==========================================================================
   印刷（Ctrl+P → PDF で保存）

   お客様が控えを取るとき、画面のナビ・フッター・ボタンまで一緒に出ると
   紙が無駄になり読みにくくなります。中身だけを A4 に収めます。
   PDF を作る仕組みは入れていません。ブラウザの印刷で十分なためです。
   ========================================================================== */
@media print {
  /* 紙にインクの節約用の色飛ばしをさせない（表の罫線と見出しを残す） */
  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  @page {
    size: A4;
    margin: 16mm 14mm;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 10.5pt;

    /* 画面では本文を画面の高さいっぱいに引き伸ばしているが、
       紙ではその余りがそのまま空白の2ページ目になる。
       （スマートフォンは画面が縦に長いぶん、はっきり出る）
       縦積みの必要も無いので、まとめて解除する。 */
    min-height: 0;
    display: block;
  }

  /* 余白を吸って伸びないように。body を block に戻したので効かない
     はずだが、指定が残っていると読む人が迷うので明示しておく。 */
  .main-content {
    flex: none;
  }

  /* 画面のためだけの要素は落とす */
  .site-header,
  .site-footer,
  .page-busy,
  .nav,
  .nav-toggle,
  .lang-menu,
  .flash-messages,
  .confirm-actions,
  .receipt-actions,
  .stripe-demo-box,
  .btn,
  .breadcrumb,
  .no-print {
    display: none !important;
  }

  .main-content,
  .section,
  .container {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
    width: auto !important;
  }

  .confirm-box,
  .receipt {
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: #fff;
  }

  /* 画面では大きな丸いチェックマーク。紙では場所を取るだけなので小さく */
  .confirm-icon {
    width: auto;
    height: auto;
    margin: 0 0 0.5rem;
    background: none;
    color: #000;
    font-size: 14pt;
  }

  h1 {
    font-size: 16pt;
    margin: 0 0 0.35rem;
  }

  /* 表は途中で改ページさせない */
  .detail-table {
    width: 100%;
    border-collapse: collapse;
    page-break-inside: avoid;
  }

  .detail-table th,
  .detail-table td {
    border: 1px solid #999;
    padding: 5pt 7pt;
    background: #fff !important;
    color: #000 !important;
  }

  .detail-table th {
    width: 34%;
    background: #f2f2f2 !important;
  }

  /* リンクは紙の上では押せないので、下線と色を外す */
  a {
    color: #000;
    text-decoration: none;
  }

  /* 印刷したときだけ出したい注記（画面では隠す） */
  .print-only {
    display: block !important;
  }

  /* 確定前の申込内容を紙にした場合の断り書き。
     証明書として使われないよう、目立つ位置にはっきり出す。 */
  .not-confirmed-note {
    margin: 0 0 10pt;
    padding: 6pt 8pt;
    border: 1.5pt solid #000;
    font-weight: 700;
    font-size: 10pt;
  }
}

/* 印刷用の注記は画面には出さない */
.print-only {
  display: none;
}

/* --------------------------------------------------------------------------
   カードがふわっと出る演出

   class は main.js が付けます（画面に入ったら .is-revealed を足す）。
   JavaScript が動かない環境では .reveal 自体が付かないので、
   中身が見えないままになることはありません。

   動きの量や速さを変えたいときは、ここの数字だけを変えてください。
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* 動きを減らす設定にしている人には動かさない。
   めまいなどの体調に関わるため、OS の設定を尊重します。 */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-revealed {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   スクロールバー

   白 + 深緑 + 金という配色に合わせて、細い緑の丸棒にします。
   溝（track）は透明なので、白い一般ページでも、薄いグレーの管理画面でも、
   そのページの背景がそのまま透けます。ページごとに色を指定し直す必要は
   ありません。

   つまみは「透明な枠 + background-clip: padding-box」で細く見せています。
   幅そのものを細くすると掴みにくくなるため、当たり判定は太いまま、
   見た目だけを細くしています。マウスを乗せると枠を減らして少し太くなります。

   ブラウザごとの書き分けについて:
   Chrome / Edge / Safari は ::-webkit-scrollbar で細かく描けます。
   Firefox はこれを持たず、scrollbar-width / scrollbar-color しかありません。
   ただし Chrome も 121 以降は scrollbar-width / scrollbar-color に対応して
   いて、そちらを書くと ::-webkit-scrollbar のほうを丸ごと無視します。
   両方を素直に並べると Chrome で凝った見た目が消えてしまうため、
   標準プロパティは「::-webkit-scrollbar を持たないブラウザ」＝ Firefox
   だけに届くよう @supports で囲っています。

   スマートフォンはスクロール中だけ出る OS 標準の細い線なので、ここの
   指定はほぼ効きません（それで問題ありません）。
   -------------------------------------------------------------------------- */

/* --- Chrome / Edge / Safari ------------------------------------------------ */
::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--green-700), var(--green-900));
  background-clip: padding-box;
  border: 4px solid transparent;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--green-600), var(--green-800));
  background-clip: padding-box;
  border-width: 3px;
}

/* 掴んで動かしている間だけ、アクセントの金色にします */
::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  background-clip: padding-box;
  border-width: 3px;
}

::-webkit-scrollbar-corner {
  background: transparent;
}

/* 上下の矢印ボタンは出しません（今どきの見た目に合わせるため） */
::-webkit-scrollbar-button {
  display: none;
}

/* ページ全体ではなく、箱の中だけスクロールする場所は一段細く、色も控えめに。
   管理画面のメニュー・横に長い表・開発ツールの一覧が該当します。 */
.admin-sidebar::-webkit-scrollbar,
.admin-table-wrap::-webkit-scrollbar,
.dev-id-list::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.admin-sidebar::-webkit-scrollbar-thumb,
.admin-table-wrap::-webkit-scrollbar-thumb,
.dev-id-list::-webkit-scrollbar-thumb {
  background: var(--gray-400);
  background-clip: padding-box;
  border: 3px solid transparent;
  border-radius: 999px;
}

.admin-sidebar::-webkit-scrollbar-thumb:hover,
.admin-table-wrap::-webkit-scrollbar-thumb:hover,
.dev-id-list::-webkit-scrollbar-thumb:hover {
  background: var(--green-700);
  background-clip: padding-box;
  border-width: 2px;
}

/* --- Firefox --------------------------------------------------------------- */
/* ここを @supports で囲わないと、Chrome がこちらを優先して上の指定を
   すべて捨ててしまいます。 */
@supports not selector(::-webkit-scrollbar) {
  html {
    scrollbar-width: thin;
    scrollbar-color: var(--green-800) transparent;
  }

  .admin-sidebar,
  .admin-table-wrap,
  .dev-id-list {
    scrollbar-width: thin;
    scrollbar-color: var(--gray-400) transparent;
  }
}

/* ==========================================================================
   予約条件・ハウスルール・税金・プライバシー・利用規約（info.html）

   読み物のページなので、本文の 1 行を長くしすぎないことだけ気をつける。
   横に 5 ページの並びを置いて、読んだ人が次のページへ移れるようにする。
   ========================================================================== */
.info-layout {
  display: grid;
  /* 1fr だと本文の最小幅が min-content になり、長い URL や単語で
     横に伸びる。minmax(0, …) で必ず画面に収める。 */
  grid-template-columns: minmax(0, 1fr) minmax(0, 250px);
  gap: 2.5rem;
  align-items: start;
}

.info-body {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 2.25rem;
  /* 本文が横に広がりすぎると目が行を追えなくなる */
  max-width: 68ch;
}

.info-section + .info-section {
  margin-top: 2.25rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--gray-100);
}

.info-section h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.35;
  color: var(--navy-900);
  margin-bottom: 0.75rem;
}

.info-section p {
  color: var(--gray-800);
  margin-bottom: 0.85rem;
}

.info-section p:last-child {
  margin-bottom: 0;
}

/* まだ決まっていない項目の印。省かずに、決まっていないと分かる形で出す。 */
.info-tba {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.5rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-800);
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.info-tba-lead {
  margin-bottom: 2rem;
  padding: 0.9rem 1.1rem;
  border-left: 3px solid var(--green-700);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--green-50);
  color: var(--gray-800);
  font-size: 0.9rem;
  line-height: 1.75;
}

.info-list {
  /* 全体の ul は list-style: none にしてあるので、ここだけ点を戻す */
  list-style: disc;
  margin: 0 0 0.85rem 1.15rem;
  color: var(--gray-800);
}

.info-list li {
  margin-bottom: 0.4rem;
}

/* 事業者の連絡先。2 棟ぶん横に並べる。 */
.info-controllers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.info-controller {
  padding: 1rem 1.1rem;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  background: var(--gray-50);
}

.info-controller address {
  margin-top: 0.35rem;
  font-style: normal;
  font-size: 0.87rem;
  line-height: 1.8;
  color: var(--gray-600);
  /* P.IVA や CIN は途中で折り返してよい。折らないと枠を突き破る。 */
  overflow-wrap: anywhere;
}

.info-phone {
  margin-top: 0.5rem;
  font-size: 0.92rem;
}

.info-phone strong {
  display: block;
  color: var(--navy-900);
}

.info-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.9rem;
  margin-top: 1.1rem;
  font-size: 0.88rem;
}

.info-links-label {
  color: var(--gray-400);
}

.info-links a {
  color: var(--green-700);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.info-cta {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-100);
}

.info-cta h2 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--navy-900);
}

.info-cta p {
  margin: 0.35rem 0 1.1rem;
  color: var(--gray-600);
}

/* 横の並び。読み終えた人が次の 1 枚へ移れるように。 */
.info-side {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.info-side h2 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--navy-900);
  margin-bottom: 0.6rem;
}

.info-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.info-nav a {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-sm);
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.5;
  transition: var(--transition);
}

.info-nav a:hover {
  background: var(--gray-50);
  color: var(--green-700);
}

.info-nav a.is-active {
  background: var(--green-50);
  color: var(--green-800);
  font-weight: 600;
}

/* 予約フォーム側。送信ボタンの直前に出す同意の一行と、条件へのリンク。 */
.form-terms {
  margin-bottom: 0.9rem;
  color: var(--gray-600);
  font-size: 0.85rem;
  line-height: 1.7;
}

.form-terms a {
  color: var(--green-700);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 支払いに進む直前の合計（A6）。ここに出す額がそのまま請求される額なので、
   周りより一段はっきり見せる。 */
.booking-total {
  margin: 0 0 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--green-700);
  border-radius: 10px;
  background: #f7faf8;
}

.booking-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.booking-total-label {
  font-weight: 600;
  color: var(--gray-800, #333);
}

.booking-total-amount {
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--green-700);
}

.booking-total-calc {
  margin: 0.2rem 0 0;
  color: var(--gray-600);
  font-size: 0.85rem;
}

.booking-total-tax {
  margin: 0.55rem 0 0;
  color: var(--gray-600);
  font-size: 0.8rem;
  line-height: 1.6;
}

/* 同意のチェック（A5）。文とチェックの高さを揃え、押せる範囲を文全体にする。 */
.form-terms--check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
}

.form-terms--check input[type="checkbox"] {
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.25rem;
  accent-color: var(--green-700);
}

.side-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  margin: 1rem 0 0;
  font-size: 0.88rem;
}

.side-links a {
  color: var(--green-700);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-whatsapp {
  margin-top: 0.85rem;
}

/* 決済完了ページの「ご到着前に」。住所・CIN・電話・地図をここに集める。 */
.arrival-box {
  margin-top: 1.75rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  background: var(--gray-50);
  text-align: left;
}

.arrival-box h2 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--navy-900);
  margin-bottom: 0.6rem;
}

.arrival-box address {
  font-style: normal;
  line-height: 1.8;
  color: var(--gray-800);
}

.arrival-list {
  list-style: disc;
  margin: 0.9rem 0 1.1rem 1.15rem;
  color: var(--gray-600);
  font-size: 0.9rem;
}

.arrival-list li {
  margin-bottom: 0.3rem;
}

@media (max-width: 900px) {
  .info-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .info-body {
    max-width: none;
    padding: 1.5rem 1.25rem;
  }

  /* 携帯では横の並びを本文の下へ。上に置くと、開いた瞬間に
     目次だけが見えて本文が画面外に出る。 */
  .info-side {
    position: static;
    order: 2;
  }
}

/* ==========================================================================
   公式サイトの帯・お客様の声の枠・WhatsApp のボタン
   ========================================================================== */

/* ヘッダーのすぐ下。旅行サイトから来た人に、ここが本物だと伝える帯。
   声は小さく：文字は本文より小さく、色も抑えている。 */
.official-bar {
  background: var(--green-50);
  border-bottom: 1px solid var(--green-100);
}

.official-bar-inner {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.25rem 0.7rem;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.official-bar-mark {
  color: var(--green-700);
  font-weight: 700;
  line-height: 1;
}

.official-bar p {
  flex: 1 1 20rem;
  margin: 0;
  color: var(--green-900);
  font-size: 0.82rem;
  line-height: 1.6;
}

.official-bar a {
  color: var(--green-700);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

/* トップのヒーローに足した 1 行。場所と「公式である」ことだけ。 */
.hero-extra {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  opacity: 0.9;
}

/* お客様の声。枠だけ置いて、中身は入れていない。
   点線にしてあるのは、まだ入っていないと見て分かるようにするため。
   実物が入ったら、この枠ごと差し替える。 */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 1rem;
}

.review-slot {
  padding: 1.6rem 1.25rem;
  border: 1px dashed var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
}

.review-slot h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
}

.review-soon {
  display: inline-block;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 0.72rem;
  font-weight: 600;
}

/* WhatsApp。携帯だけ、画面の隅に小さく置く。
   国際電話をかけるより気軽で、イタリアではこちらが普通。 */
.wa-float {
  display: none;
}

@media (max-width: 768px) {
  .wa-float {
    position: fixed;
    right: 0.9rem;
    /* 端末下端のジェスチャー領域を避ける */
    bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px));
    z-index: 60;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    /* 指で押せる大きさ（44px）を下回らせない */
    min-height: 44px;
    padding: 0 1rem 0 0.85rem;
    border-radius: 999px;
    background: #25d366;
    color: #073b23;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
  }

  .wa-float svg {
    width: 22px;
    height: 22px;
  }
}

/* 画面がとても狭いときは丸だけにする。文字まで出すと、
   下の内容を覆ってしまう。 */
@media (max-width: 380px) {
  .wa-float {
    padding: 0;
    width: 48px;
    justify-content: center;
  }

  .wa-float span {
    /* 読み上げには残す */
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
}

@media (max-width: 560px) {
  .official-bar a {
    white-space: normal;
  }
}

/* 朝食。客室カードと、予約フォームで部屋を選んだときの詳細に出ます。
   設定していない部屋には要素ごと出ないので、空の枠は残りません。 */
.room-breakfast,
.room-detail-breakfast {
  display: inline-block;
  margin: 0.5rem 0 0.25rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-800);
  font-size: 0.82rem;
  font-weight: 600;
}

/* 仮押さえが残っている本人への通知。押させたい行動があるので、
   注意を引きつつも「怖がらせない」トーンにする。 */
.active-hold-banner {
  margin: 0 0 1.4rem;
  padding: 1rem 1.1rem;
  border: 1px solid #b45309;
  border-radius: 10px;
  background: #fffbeb;
}

.active-hold-banner-title {
  margin: 0 0 0.3rem;
  font-weight: 600;
  color: #78350f;
}

.active-hold-banner-room,
.active-hold-banner-minutes {
  margin: 0 0 0.6rem;
  color: #4b3b1a;
  font-size: 0.92rem;
}

.active-hold-banner-note {
  margin: 0.6rem 0 0;
  color: var(--gray-600);
  font-size: 0.8rem;
}

/* 札の中の「解除して選び直す」。支払いへ進むボタンの下に
   控えめに置きます。この札は本来「続きがあります」と伝える
   ためのものなので、やめる側を目立たせない。 */
.active-hold-banner-release {
  margin-top: 0.5rem;
}


/* ===========================================================================
   ご支援のページ

   ページの中で「宿の運営とは別」と書いているので、見た目も分けています。
   宿の緑と白ではなく、濃い茶と金。予約への導線は置きません。
   クラスは sp- だけで、他のページのものは使いません。

   フォントは自前のもの（Cormorant + 端末の日本語）です。Google Fonts は
   CSP（default-src 'self'）で読み込めませんし、外へ取りに行かせる理由も
   ありません。
   =========================================================================== */
.support-page {
  --sp-gold: #d6b47a;
  --sp-gold-dim: #9a7439;
  --sp-ink: #3b2a1c;
  --sp-ink-soft: #5c4633;
  --sp-rule: rgba(122, 86, 42, 0.28);
  color: #f6eee0;
  background:
    radial-gradient(1100px 520px at 50% -8%, rgba(232, 201, 146, 0.16), transparent 55%),
    linear-gradient(180deg, #352c24 0%, #2b241d 42%, #241e18 100%);
  background-attachment: fixed;
}

.support-page .sp-page {
  width: min(880px, calc(100% - 32px));
  margin: 48px auto 64px;
}

/* 上の小さな箔押し。宿の名前は出しますが、リンクはトップへ戻るだけです。 */
.support-page .sp-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.support-page .sp-mark-line {
  width: 48px;
  height: 1px;
  background: var(--sp-gold);
  opacity: 0.7;
}

.support-page .sp-mark-names {
  font-family: var(--font-serif);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--sp-gold);
  text-decoration: none;
}
.support-page .sp-mark-names:hover { color: #e8c992; }

.support-page .sp-langs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1rem;
  margin-top: 0.35rem;
}

.support-page .sp-langs a {
  color: rgba(214, 180, 122, 0.7);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.support-page .sp-langs a:hover { color: #e8c992; }
.support-page .sp-langs a[aria-current] {
  color: #e8c992;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 紙のような 1 枚。内側にもう 1 本罫を引いて、証書の趣きにしています。 */
.support-page .sp-card {
  position: relative;
  color: var(--sp-ink);
  padding: 52px 48px 40px;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(255, 250, 235, 0.7), transparent 45%),
    radial-gradient(90% 70% at 100% 100%, rgba(196, 150, 88, 0.18), transparent 50%),
    linear-gradient(180deg, #f7ead0 0%, #edd7ad 58%, #e6cc9c 100%);
  box-shadow:
    0 2px 0 rgba(255, 248, 230, 0.35) inset,
    0 28px 50px rgba(40, 24, 10, 0.28),
    0 2px 6px rgba(40, 24, 10, 0.18);
}

.support-page .sp-card::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(154, 116, 57, 0.45);
  box-shadow:
    inset 0 0 0 5px rgba(243, 228, 196, 0.2),
    inset 0 0 0 6px rgba(154, 116, 57, 0.28);
  pointer-events: none;
}

.support-page .sp-inner { position: relative; z-index: 1; }

.support-page .sp-kicker {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sp-gold-dim);
  margin: 0 0 10px;
}

.support-page h1 {
  margin: 0 0 8px;
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  letter-spacing: 0.08em;
  line-height: 1.45;
  color: var(--sp-ink);
}

.support-page .sp-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--sp-gold-dim);
  font-size: 0.85rem;
}
.support-page .sp-ornament span {
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sp-gold-dim), transparent);
}

.support-page .sp-intro {
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.95;
  color: var(--sp-ink-soft);
  margin: 0 auto 36px;
  /* カードの幅いっぱいに使う。ここだけ上限を持たせると、下の節より
     狭くなって行数が増えます。 */
  max-width: none;
  /* 行の長さを揃える。「です。」の。は行頭に置けない（禁則処理）ので、
     成り行きで折り返すと「で / す。」のような割れ方になります。 */
  text-wrap: balance;
  line-break: strict;
  /* 文節で折る。対応していないブラウザは今までどおり成り行きで折るだけ。 */
  word-break: auto-phrase;
}

.support-page .sp-rules {
  border-top: 1px solid var(--sp-rule);
  border-bottom: 1px solid var(--sp-rule);
  margin-bottom: 32px;
}

.support-page .sp-rule {
  display: grid;
  gap: 18px;
  padding: 22px 4px;
  border-bottom: 1px solid rgba(122, 86, 42, 0.14);
}
.support-page .sp-rule:last-child { border-bottom: 0; }

.support-page .sp-rule h2 {
  margin: 0;
  /* 明朝だと太字がほとんど効かない端末があるので、見出しはゴシックで。
     読み手には「濃い」ほうが見出しとして伝わります。 */
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.7;
  color: #7a5420;
  letter-spacing: 0.04em;
}

.support-page .sp-rule p {
  margin: 0 0 0.7rem;
  padding-left: 1.1em;
  font-size: 0.86rem;
  line-height: 1.8;
  color: var(--sp-ink-soft);
}
.support-page .sp-rule p:last-child { margin-bottom: 0; }

.support-page .sp-note {
  padding: 22px 20px;
  margin-bottom: 36px;
  background: rgba(154, 116, 57, 0.06);
  border: 1px solid rgba(154, 116, 57, 0.18);
}

.support-page .sp-note strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--sp-ink);
  font-weight: 600;
  font-size: 0.88rem;
}

.support-page .sp-note p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.85;
  color: var(--sp-ink-soft);
}

.support-page .sp-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.support-page .sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 15px 48px;
  background: #5c3d1e;
  color: #f6ead0;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  border-radius: 8px;
}
.support-page .sp-btn:hover { background: #6f4e24; }

.support-page .sp-share {
  background: none;
  border: 0;
  padding: 0;
  color: #7a6550;
  font-family: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.support-page .sp-share:hover { color: #7a5420; }

.support-page .sp-foot {
  margin: 28px 0 0;
  text-align: center;
  font-size: 0.74rem;
  line-height: 1.8;
  color: var(--sp-gold-dim);
}

.support-page .sp-footer {
  padding: 0 1rem 3rem;
  text-align: center;
  font-size: 0.8rem;
}
.support-page .sp-footer a {
  color: rgba(214, 180, 122, 0.75);
  text-decoration: none;
}
.support-page .sp-footer a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .support-page .sp-page { margin: 24px auto 48px; width: min(880px, calc(100% - 20px)); }
  .support-page .sp-card { padding: 36px 20px 28px; }
  .support-page .sp-card::after { inset: 10px; }
  .support-page .sp-rule { gap: 12px; padding: 18px 0; }
}

/* スクロールバーもサイト共通の緑なので、ここだけ金に揃える。
   右端に緑の線が残ると、分けたつもりが分かれて見えません。 */
.support-page::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #9a7439, #6b4d24);
  background-clip: padding-box;
  border: 4px solid transparent;
}
.support-page::-webkit-scrollbar-thumb:hover,
.support-page::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, #c09553, #8a6530);
  background-clip: padding-box;
}
@supports not selector(::-webkit-scrollbar) {
  .support-page { scrollbar-color: #9a7439 transparent; }
}

/* 受付を止めている間のトップの検索欄。fieldset は既定で枠と余白を持つので消す。 */
.hero-search-fields {
  display: contents;
  border: 0;
  margin: 0;
  padding: 0;
}

/* display: contents だと箱が無いので、opacity は子に掛ける。 */
.hero-search-fields:disabled > * { opacity: 0.45; cursor: not-allowed; }

.hero-search-closed {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  line-height: 1.7;
}
.hero-search-closed strong { display: block; }
