/* 色・影の値。全面モーダルは .g-app の外（body の直下）に置くので、同じ値を .g-modal-host にも渡す */
.g-app,
.g-modal-host {
  --g-forest: #294a3f;
  --g-forest-dark: #1c392f;
  --g-cream: #f6f3eb;
  --g-paper: #fffefa;
  --g-ink: #26342d;
  --g-muted: #6d766f;
  --g-line: #deded4;
  --g-shadow-card: 0 6px 25px rgba(37, 53, 42, 0.2);
  --g-shadow-float: 0 8px 28px rgba(28, 57, 47, 0.2);
  /* 入力チェックの色（部品は form-validation.css）。以前の欄の下の赤字（#9f4f3f）に合わせる */
  --field-error-fg: #9f4f3f;
  --field-error-bg: #fff2ed;
  --field-error-border: #e5c2b6;
  --field-error-ring: rgba(159, 79, 63, 0.2);
  --field-error-size: 15px;
  color: var(--g-ink);
  font-family: var(--g-font);
  line-height: 1.65;
}
.g-app {
  min-height: 100vh;
  background: var(--g-cream);
  font-size: 18px;
}
.g-app *,
.g-modal-host * {
  box-sizing: border-box;
}
.g-app button,
.g-app input,
.g-app select,
.g-app textarea {
  font: inherit;
}
.g-app button {
  cursor: pointer;
}
.g-app a:not(.g-button) {
  color: inherit;
}
.g-demo-helper {
  position: fixed;
  z-index: 20;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  width: min(310px, calc(100vw - 32px));
}
.g-demo-helper-card {
  position: relative;
  padding: 20px 18px 16px;
  border: 1px solid var(--g-line);
  border-radius: 14px;
  background: var(--g-paper);
  box-shadow: var(--g-shadow-float);
}
.g-demo-helper-card p {
  margin: 0 24px 12px 0;
  color: var(--g-ink);
  font-size: 18px;
  line-height: 1.45;
}
.g-demo-helper-close {
  position: absolute;
  top: 5px;
  right: 8px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--g-muted);
  font-size: 24px !important;
}
.g-demo-helper-fill,
.g-demo-helper-reopen {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--g-forest);
  border-radius: 8px;
  background: var(--g-forest);
  color: white;
  font-size: 18px !important;
  font-weight: 650;
}
.g-demo-helper-reopen {
  width: auto;
  max-width: 100%;
  padding: 8px 14px;
  box-shadow: var(--g-shadow-float);
}
.g-shell {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 38px;
}
.g-shell.g-demo-helper-space {
  padding-bottom: 170px;
}
.g-header {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.g-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 0;
  background: none;
  color: var(--g-forest);
  text-align: left;
  padding: 0;
}
.g-brand-name {
  display: block;
  font-family: var(--g-font);
  font-size: 21px;
  letter-spacing: 0.12em;
  font-weight: 500;
  line-height: 1.3;
}
.g-brand small {
  font-size: 12px;
  color: var(--g-muted);
  letter-spacing: 0.08em;
}
.g-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.g-nav > :is(button, a) {
  text-decoration: none;
  border: 0;
  background: none;
  padding: 9px 0;
  color: #45564c;
  font-size: 16px;
}
.g-official-link {
  display: inline-flex;
  align-items: center;
}
/* 家アイコンはスマホだけ（PC は文字） */
.g-official-icon {
  display: none;
}
.g-nav > :is(button, a):hover,
.g-text-button:hover {
  color: #a16e45;
}
.g-langs {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: #9b9e95;
}
.g-langs button {
  padding: 4px;
  border: 0;
  background: none;
  color: #898e86;
}
.g-langs button.is-active {
  color: var(--g-forest);
  font-weight: 700;
}
.g-hero {
  margin: 0;
  min-height: 420px;
  position: relative;
  display: flex;
  overflow: hidden;
  background: #657260;
  color: white;
}
.g-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.g-hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.g-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
}
/* 検索カードが重なる分（高さの半分）、HERO の文字を上へ逃がす。幅ごとの .g-shell の余白指定より後ろに勝てるよう .g-hero 付きで書く */
.g-hero .g-hero-inner {
  padding-bottom: calc(var(--g-search-h, 0px) / 2);
}
/* HERO の下端にまたがる検索カード（横長カード版）。高さの半分が HERO の画像に重なる。--g-search-h は booking.js がカードの高さを測って入れる */
/* スクロールでは追従させない（2026-10-08 ユーザー決定）。z-index は HERO の画像より前に出すため */
.g-search-float {
  position: relative;
  z-index: 20;
  margin-top: calc(var(--g-search-h, 0px) / -2);
  margin-bottom: 28px;
}
.g-hero .g-header {
  justify-content: flex-end;
}
/* 施設名は HERO の見出しに出るので、HERO の上のヘッダーでは出さない */
.g-hero .g-header .g-brand {
  display: none;
}
.g-hero .g-nav > :is(button, a),
.g-hero .g-langs,
.g-hero .g-langs button.is-active,
.g-topbar .g-brand,
.g-topbar .g-nav > :is(button, a),
.g-topbar .g-langs,
.g-topbar .g-langs button.is-active {
  color: #fff;
}
.g-hero .g-langs button:not(.is-active),
.g-topbar .g-langs button:not(.is-active) {
  color: rgba(255, 255, 255, 0.7);
}
.g-hero .g-nav > :is(button, a):hover,
.g-topbar .g-nav > :is(button, a):hover {
  color: #e4d5bd;
}
/* 2ページ目以降の細いヘッダー。左に施設名、右にメニュー（HERO の上のヘッダーと同じ黒地・白文字） */
.g-topbar {
  background: #1f2220;
}
.g-app .g-topbar .g-header {
  height: 64px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.g-app .g-topbar .g-brand-name {
  font-size: 18px;
}
.g-app .g-topbar .g-nav {
  width: auto;
  flex-wrap: nowrap;
}
/* HERO に重ねない検索カード（2ページ目以降）はヘッダーの下に置く */
.g-search-float.is-plain {
  margin-top: 24px;
}
.g-hero-copy {
  max-width: 780px;
  margin: auto 0;
  padding: 40px 0;
}
.g-card-room {
  display: block;
  color: #9d805d;
  font-size: 13px;
  font-weight: 700;
}
.g-hero-name {
  text-wrap: balance;
  font-family: var(--g-font);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 900;
  letter-spacing: 0.07em;
  line-height: 1.45;
  margin: 12px 0 14px;
  white-space: pre-line;
}
.g-hero-copy p {
  white-space: pre-line;
  color: rgba(255, 255, 255, 0.91);
  font-family: var(--g-font);
  font-size: 16px;
  line-height: 2;
  margin: 0;
  max-width: 550px;
}
.g-stack-form label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.g-stack-form label > span,
.g-payment-options legend {
  font-size: 15px;
  color: #4f5b52;
  font-weight: 600;
}
/* 見出しの下の補足。見出しより小さく、細く */
.g-stack-form label > small {
  font-size: 14px;
  color: #6b746d;
}
.g-app input,
.g-app select,
.g-app textarea {
  width: 100%;
  min-height: 50px;
  padding: 10px 12px;
  border: 1px solid #d7d8d0;
  background: #fff;
  color: var(--g-ink);
  border-radius: 2px;
  font-size: 17px;
}
.g-app input:focus,
.g-app select:focus,
.g-app textarea:focus {
  outline: 2px solid rgba(41, 74, 63, 0.28);
  border-color: var(--g-forest);
}
.g-button {
  min-height: 50px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}
.g-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.g-button-primary {
  background: var(--g-forest);
  color: white;
}
.g-button-primary:hover {
  background: var(--g-forest-dark);
}
.g-button-light {
  border-color: #cbd0c8;
  background: transparent;
  color: var(--g-forest);
}
.g-button-light:hover {
  background: #edf0e9;
}
.g-button-danger {
  background: #963f37;
  color: white;
}
.g-button-quiet {
  background: transparent;
  border-color: #c8bdb4;
  color: #774a3f;
}
.g-text-button {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  border: 0;
  background: none;
  padding: 4px 0;
  color: var(--g-forest);
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.g-featured {
  padding: 0 0 48px;
}
/* 部屋の紹介は 画像｜内容 の横並び */
.g-featured-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  background: var(--g-paper);
  border: 1px solid var(--g-line);
}
.g-featured-card > img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.g-featured-card > div:not(.g-featured-image-static) {
  padding: 20px 22px 23px;
}
.g-featured-card small {
  color: var(--g-muted);
  font-size: 14px;
}
.g-featured-card h3 {
  font-family: var(--g-font);
  font-size: 28px;
  font-weight: 700;
  margin: 6px 0;
}
/* 部屋の紹介: 本文は 見出し（名前・定員・説明）｜設備 の塊を gap で並べる */
.g-room-body {
  display: grid;
  align-content: start;
  gap: 20px;
}
.g-room-body > *,
.g-room-body .g-room-header > *,
.g-room-body h3 {
  margin: 0;
}
.g-room-header {
  display: grid;
  gap: 16px;
}
/* 名前の右端に定員のラベル */
.g-room-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.g-room-capacity {
  flex: none;
  padding: 3px 10px;
  border: 1px solid var(--g-line);
  border-radius: 18px;
  background: #f7f5ef;
  font-size: 15px;
}
.g-featured-card p {
  font-size: 16px;
  color: var(--g-muted);
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.g-page-head {
  padding: 55px 0 30px;
  text-align: center;
}
/* 見出しへのフォーカスは画面の切り替えを読み上げるためのもの。枠は出さない */
.g-page-title:focus {
  outline: none;
}
.g-page-title {
  font-family: var(--g-font);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: 0.05em;
  margin: 4px 0;
}
.g-page-head p {
  margin: 4px 0 0;
  color: var(--g-muted);
  font-size: 16px;
}
.g-page-head .g-stay-line {
  margin-top: 8px;
  font-size: 14px;
}
.g-booking-bar {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 18px 23px;
  margin: 3px 0 24px;
  background: #eae9df;
  border: 1px solid #e0dfd3;
}
.g-booking-bar > div {
  display: flex;
  flex-direction: column;
}
.g-booking-bar-label {
  font-size: 13px;
  color: #69736b;
}
.g-booking-bar-value {
  font-size: 17px;
  font-weight: 600;
}
.g-booking-bar button {
  margin-left: auto;
}
.g-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
  gap: 23px;
  padding-bottom: 70px;
}
.g-main-col,
.g-aside {
  min-width: 0;
}
.g-panel {
  --g-panel-x: 31px;
  --g-panel-y: 31px;
  padding: var(--g-panel-y) var(--g-panel-x);
  background: var(--g-paper);
  border: 1px solid var(--g-line);
  box-shadow: var(--g-shadow-card);
}
.g-stack-form {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.g-stack-form input,
.g-stack-form select,
.g-stack-form textarea {
  min-height: 52px;
}
/* 1行に2つの欄を並べる（電話番号の国｜電話番号）。狭い画面では縦に積む */
.g-field-row {
  display: grid;
  /* 国番号は固定幅（選んだ国が収まらなければ … で切る）、残りを電話番号へ */
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 17px;
  align-items: end;
}
@media (max-width: 640px) {
  .g-field-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* 国番号の選択欄（country-combobox.js）。リストの見た目は人数のリスト（embed-bar.css の .stay-bar-menu）に揃える */
.g-combo {
  position: relative;
  min-width: 0;
}
.g-combo .g-combo-input {
  text-overflow: ellipsis;
  /* 検索して選ぶ欄だと分かるよう、左に虫眼鏡（lucide search） */
  padding-left: 42px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18' fill='none' stroke='%23788078' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") no-repeat 14px center;
}
.g-combo-menu {
  position: absolute;
  z-index: 30;
  top: 100%;
  left: 0;
  min-width: 100%;
  width: max-content;
  max-width: min(360px, calc(100vw - 32px));
  max-height: 15rem;
  margin: 4px 0 0;
  padding: 4px;
  overflow-y: auto;
  list-style: none;
  border: 1px solid var(--g-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(38, 52, 45, 0.2);
}
.g-combo-menu[hidden] {
  display: none;
}
.g-combo-menu li {
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 15px;
  line-height: 22px;
  cursor: pointer;
}
.g-combo-menu li[aria-selected='true'] {
  font-weight: 700;
}
.g-combo-menu li[data-active] {
  background: color-mix(in srgb, var(--g-ink) 8%, #fff);
}
.g-combo-menu li[data-empty] {
  color: #6b756d;
  cursor: default;
  background: none;
}
/* 入力チェックのエラー文（.field-error）は欄の label の中に入る。上の「label > span」（見出しの字）が当たらないよう、エラー文の字を戻す */
.g-stack-form label > .field-error {
  color: var(--field-error-fg);
  font-size: var(--field-error-size);
  font-weight: 400;
}
/* 氏名の姓と名の2列。狭い画面では1列 */
.g-name-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
  align-items: start;
}
.g-name-field {
  display: grid;
  gap: 5px;
  min-width: 0;
}
@media (max-width: 480px) {
  .g-name-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
.g-form-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}
.g-form-actions .g-button {
  min-width: 140px;
}
/* 下端に貼り付く操作列（予約者情報・予約内容の確認。戻る＝左、進む＝右）。フォームの終わりに来ると元の位置に戻る。
   パネルの余白の分だけ左右と下へ広げ、貼り付いていないときはパネルの下端にぴったり収まる。影の透明度は 0.2 以上。
   iframe の中に置かれても、貼り付くのはその iframe の下端（position: sticky は表示領域が基準）。幅640px以下は fixed（下の @media） */
.g-form-actions.g-form-footer {
  position: sticky;
  bottom: 0;
  z-index: 12;
  flex-wrap: wrap;
  align-items: center;
  margin: 8px calc(-1 * var(--g-panel-x)) calc(-1 * var(--g-panel-y));
  border-top: 1px solid var(--g-line);
  padding: 12px var(--g-panel-x) calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--g-paper);
  box-shadow: 0 -3px 12px rgba(38, 52, 45, 0.2);
}
.g-form-footer-hint {
  margin-left: auto;
  border: 0;
  padding: 4px 0;
  background: none;
  color: var(--field-error-fg, #b42318);
  font-size: 15px;
  text-decoration: underline;
  cursor: pointer;
}
.g-form-footer-hint + .g-button {
  margin-left: 0;
}
/* 未入力の一覧は、押した後に画面の上端へ寄せても詰まらない */
.g-form-problems {
  margin: 0;
  scroll-margin-top: 16px;
}
.g-panel > .g-form-problems {
  margin-bottom: 17px;
}
/* デモの入力例のカード（右下に固定）は、貼り付いた操作列の上に出す */
.g-app:has(.g-form-footer) .g-demo-helper {
  bottom: calc(max(20px, env(safe-area-inset-bottom)) + var(--g-footer-h, 0px));
}
/* 右カラムの予約内容。かたまり（写真 / 部屋・プラン / 日程・人数 / 内訳 / 合計）の間は gap だけで空ける */
.g-summary-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: #fffefa;
  border: 1px solid var(--g-line);
  padding: 16px;
  position: sticky;
  top: 20px;
}
/* 画面の高さに収まらないカードは貼り付けない（貼り付けると下端が見切れたまま、最後まで見えなくなる） */
.g-summary-card.is-tall {
  position: static;
}
.g-summary-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.g-summary-card > img,
.g-summary-image > img {
  display: block;
  width: 100%;
  height: 175px;
  object-fit: cover;
  margin-bottom: 18px;
}
.g-summary-card h3 {
  font-family: var(--g-font);
  font-weight: 700;
  font-size: 16px;
  margin: 0;
}
/* 矢印は日付の行の真ん中にそろえる（見出しの行を含めた高さの真ん中ではない） */
.g-summary-dates {
  --g-date-size: 17px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
}
.g-summary-arrow {
  flex: none;
  margin-bottom: calc((var(--g-date-size) * 1.5 - 18px) / 2);
  color: var(--g-muted);
  opacity: 0.45;
}
.g-summary-dates > span {
  font-size: 13px;
  color: var(--g-muted);
}
.g-summary-dates-value {
  display: block;
  color: var(--g-ink);
  font-size: var(--g-date-size);
  line-height: 1.5;
  font-weight: 600;
}
.g-summary-card .g-summary-guests {
  margin: 0;
  font-size: 13px;
  color: var(--g-muted);
}
.g-summary-total,
.g-reservation-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #c9cec4;
  margin-top: 10px;
  padding: 14px 0 0;
}
.g-summary-card .g-summary-total {
  margin-top: 0;
}
.g-total-label {
  font-size: 15px;
}
.g-total-amount {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-weight: 700;
  font-size: 25px;
  color: var(--g-forest);
}
.g-summary-total small,
.g-reservation-total small {
  font-size: 13px;
  font-weight: 500;
}
.g-summary-card .g-summary-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: #788078;
}
/* .g-app small（18px）が後勝ちで効くため、合計の JPY はここで指定する */
.g-app .g-summary-total small {
  font-size: 13px;
}
.g-reservation-grid-label {
  display: block;
  color: var(--g-muted);
  font-size: 14px;
}
.g-reservation-grid-value {
  font-weight: 700;
  font-size: 16px;
  overflow-wrap: anywhere;
}
.g-policy-box {
  padding: 19px 20px;
  margin: 22px 0;
  background: #f3f1e9;
  border-left: 3px solid #9e805e;
}
.g-policy-box-fee {
  font-weight: 700;
}
.g-policy-box h3 {
  font-family: var(--g-font);
  font-weight: 500;
  margin: 0 0 7px;
  font-size: 19px;
}
.g-policy-box p {
  font-size: 15px;
  white-space: pre-line;
  margin: 0;
  color: #5c655e;
}
.g-payment-options {
  border: 0;
  border-top: 1px solid var(--g-line);
  padding: 15px 0;
  margin: 0;
}
.g-payment-options legend {
  padding-top: 14px;
}
.g-payment-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 16px;
}
.g-payment-options input {
  width: 20px;
  min-height: 20px;
  accent-color: var(--g-forest);
}
.g-consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 16px;
  background: #f5f4ed;
  font-size: 15px;
}
.g-consent input {
  width: 21px;
  min-height: 21px;
  accent-color: var(--g-forest);
  flex-shrink: 0;
}
.g-notice {
  padding: 14px 17px;
  margin: 10px 0 17px;
  background: #fff2ed;
  border: 1px solid #e5c2b6;
  color: #763d30;
  font-size: 15px;
}
.g-breakdown {
  display: flex;
  flex-direction: column;
  padding: 9px 0;
  color: #626a62;
  font-size: 14px;
}
.g-breakdown > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-block: 8px;
  border-bottom: 1px solid #e7e5dc;
}
/* 最後の行の下は合計欄の上の線が受け持つ（線が2本にならないように） */
.g-breakdown > div:last-child {
  border-bottom: 0;
}
.g-summary-card .g-breakdown {
  padding: 0;
}
.g-policy-box .g-cancel-deadline {
  display: flex;
  flex-wrap: wrap;
  column-gap: 6px;
  margin-top: 10px;
  font-weight: 500;
}
.g-lookup-panel {
  max-width: 600px;
  margin: 0 auto 75px;
}
.g-lookup-panel .g-stack-form .g-button {
  margin-top: 7px;
}
.g-reservation-card {
  max-width: 760px;
  margin: 0 auto 80px;
}
.g-success-mark {
  width: 54px;
  height: 54px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e5eee5;
  color: var(--g-forest);
  font-size: 29px;
}
.g-reservation-number {
  text-align: center;
  padding: 7px 0 24px;
}
.g-reservation-number-label {
  display: block;
  color: var(--g-muted);
  font-size: 14px;
}
.g-reservation-number-value {
  display: block;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.08em;
  color: var(--g-forest);
  margin-top: 4px;
}
.g-reservation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  padding: 22px 0;
  border-top: 1px solid var(--g-line);
}
.g-reservation-grid > div {
  min-width: 0;
}
.g-reservation-total {
  padding-bottom: 15px;
}
.g-cancel-start {
  margin-top: 18px;
}
.g-cancel-confirm {
  padding: 19px;
  margin-top: 20px;
  background: #f5eee9;
  border: 1px solid #e2c9bc;
}
.g-cancel-confirm p {
  margin: 0 0 13px;
  font-size: 16px;
}
.g-cancel-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}
.g-back-lookup {
  margin-top: 13px;
}
.g-loading {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: #68746c;
}
.g-spinner {
  width: 21px;
  height: 21px;
  border: 2px solid #d5dcd4;
  border-top-color: var(--g-forest);
  border-radius: 50%;
  animation: g-spin 0.8s linear infinite;
}
@keyframes g-spin {
  to {
    transform: rotate(360deg);
  }
}
.g-standalone {
  min-height: 80vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 30px;
}
.g-standalone h1 {
  font-size: 23px;
  font-weight: 500;
}
@media (max-width: 900px) {
  .g-shell {
    padding: 0 24px;
  }
  .g-two-col {
    grid-template-columns: minmax(0, 1.25fr) minmax(255px, 0.75fr);
  }
  .g-hero {
    min-height: 420px;
  }
  .g-hero-copy {
    padding: 32px 0;
  }
}
@media (max-width: 640px) {
  .g-demo-helper {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    width: min(300px, calc(100vw - 24px));
  }
  .g-app {
    font-size: 18px;
  }
  .g-shell {
    padding: 0 17px;
  }
  .g-header {
    height: 76px;
  }
  .g-brand {
    gap: 9px;
  }
  .g-brand-name {
    font-size: 17px;
  }
  .g-brand small {
    font-size: 10px;
  }
  .g-nav {
    gap: 12px;
  }
  .g-nav > :is(button, a) {
    font-size: 13px;
  }
  .g-langs {
    font-size: 13px;
    gap: 3px;
  }
  .g-hero {
    margin: 0;
    min-height: 420px;
  }
  .g-search-float {
    margin-bottom: 16px;
  }
  .g-hero-image {
    object-position: 58% center;
  }
  .g-hero-shade {
    background: rgba(0, 0, 0, 0.5);
  }
  .g-hero-copy {
    padding: 28px 0 30px;
  }
  .g-hero-name {
    font-size: 32px;
    line-height: 1.4;
    margin: 11px 0;
  }
  .g-hero-copy p {
    font-size: 15px;
    line-height: 1.8;
  }
  .g-app input,
  .g-app select,
  .g-app textarea {
    font-size: 17px;
    min-height: 48px;
  }
  .g-featured {
    padding: 0 0 32px;
  }
  .g-featured-card {
    display: grid;
    grid-template-columns: 42% 1fr;
  }
  .g-featured-card > img {
    height: 100%;
    min-height: 260px;
  }
  .g-featured-card > div:not(.g-featured-image-static) {
    padding: 15px;
  }
  .g-featured-card h3 {
    font-size: 19px;
  }
  .g-featured-card p {
    font-size: 14px;
    -webkit-line-clamp: 2;
  }
  .g-page-head {
    padding: 37px 0 21px;
  }
  .g-page-title {
    font-size: 29px;
  }
  .g-page-head p {
    font-size: 14px;
  }
  .g-booking-bar {
    gap: 8px;
    padding: 13px 12px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }
  .g-booking-bar-label {
    font-size: 11px;
  }
  .g-booking-bar-value {
    font-size: 14px;
  }
  .g-booking-bar > div:nth-child(4) {
    grid-column: 1;
  }
  .g-booking-bar button {
    grid-column: 2/4;
    grid-row: 2;
    margin: 0;
    min-height: 42px;
    font-size: 14px;
  }
  .g-two-col {
    grid-template-columns: 1fr;
    gap: 15px;
    padding-bottom: 45px;
  }
  .g-main-col {
    order: 1;
  }
  .g-aside {
    order: 0;
  }
  .g-panel {
    --g-panel-x: 17px;
    --g-panel-y: 21px;
  }
  .g-stack-form {
    gap: 14px;
  }
  .g-stack-form label > span {
    font-size: 15px;
  }
  .g-stack-form input,
  .g-stack-form textarea {
    min-height: 50px;
  }
  .g-form-actions .g-button {
    min-width: 0;
    flex: 1;
    padding: 10px;
  }
  /* 狭い画面は予約内容が先に来て、フォームは画面の下から始まる。sticky だと、フォームの上端より上へは動けず、
     フォームの先頭に被さって出てしまうので、画面の下端に固定する（fixed）。内容の末尾が隠れないよう、下に操作列の高さの余白を足す */
  .g-form-actions.g-form-footer {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    gap: 2px 12px;
    margin: 0;
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px));
  }
  .g-app:has(.g-form-footer) .g-two-col {
    padding-bottom: calc(45px + var(--g-footer-h, 0px));
  }
  .g-form-footer-hint {
    flex: 1 0 100%;
    order: -1;
    margin-left: 0;
    padding: 2px 0;
    font-size: 14px;
    text-align: left;
  }
  .g-summary-card {
    position: static;
    padding: 13px;
    gap: 18px;
  }
  .g-summary-card > img,
  .g-summary-image > img {
    height: 142px;
    margin-bottom: 13px;
  }
  .g-summary-card h3 {
    font-size: 16px;
  }
  .g-summary-dates > span {
    font-size: 12px;
  }
  .g-summary-dates {
    --g-date-size: 15px;
  }
  .g-policy-box {
    padding: 15px;
    margin: 17px 0;
  }
  .g-policy-box p {
    font-size: 14px;
  }
  .g-consent {
    font-size: 14px;
    padding: 12px;
  }
  .g-lookup-panel {
    margin-bottom: 45px;
    padding: 21px 17px;
  }
  .g-reservation-card {
    margin-bottom: 45px;
    padding: 22px 17px;
  }
  .g-reservation-number-value {
    font-size: 25px;
  }
  .g-reservation-grid {
    gap: 14px 9px;
  }
  .g-reservation-grid-label {
    font-size: 12px;
  }
  .g-reservation-grid-value {
    font-size: 14px;
  }
  .g-reservation-total .g-total-amount {
    font-size: 21px;
  }
  .g-cancel-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .g-notice {
    font-size: 14px;
    padding: 12px;
  }
  .g-standalone {
    min-height: 75vh;
  }
}
.g-featured-image-static {
  position: relative;
  height: 100%;
  min-height: 300px;
  overflow: hidden;
  background: #e6e2d9;
}
.g-featured-image-static img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.g-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0 18px;
  padding: 0;
  list-style: none;
}
.g-amenities li {
  padding: 3px 10px;
  border: 1px solid var(--g-line);
  border-radius: 18px;
  background: #f7f5ef;
  font-size: 15px;
}
.g-amenities:empty {
  display: none;
}
.g-plan-title-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--g-forest);
  font: inherit;
  text-align: left;
  text-decoration: none;
}
.g-plan-title-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.g-plan-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 34px;
  align-items: start;
  padding: 5px 0 30px;
}
.g-gallery-main {
  height: 450px;
  position: relative;
  display: grid;
  place-items: center;
  background: #efede6;
  border: 1px solid var(--g-line);
}
.g-gallery-main img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.g-gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow: auto;
  padding: 12px 1px 4px;
}
.g-gallery-thumbs button {
  flex: 0 0 92px;
  width: 92px;
  height: 72px;
  padding: 3px;
  border: 1px solid var(--g-line);
  background: #f5f3ed;
}
.g-gallery-thumbs button.is-active {
  border: 2px solid var(--g-forest);
}
.g-gallery-thumbs img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.g-plan-detail-copy {
  padding: 26px 28px;
  background: var(--g-paper);
  border: 1px solid var(--g-line);
}
.g-plan-detail-copy h2 {
  margin: 5px 0 12px;
  font-family: var(--g-font);
  font-size: 29px;
  font-weight: 500;
  line-height: 1.4;
}
.g-room-copy {
  padding: 17px 0 2px;
}
.g-room-copy h3 {
  margin: 0 0 7px;
  font-family: var(--g-font);
  font-weight: 500;
  font-size: 20px;
}
.g-room-copy p {
  white-space: pre-line;
  color: #59655c;
  line-height: 1.8;
}
.g-privacy-note {
  padding: 17px 19px;
  margin: 20px 0 0;
  background: #f0eee6;
  border: 1px solid #dedbd0;
  color: #4e5b51;
  font-size: 14px;
  line-height: 1.7;
}
.g-privacy-note-title {
  font-weight: 700;
  color: var(--g-forest);
  font-size: 16px;
}
.g-privacy-note p {
  margin: 7px 0 0;
}
.g-privacy-note a {
  color: var(--g-forest);
  text-underline-offset: 3px;
}
.g-demo-disclaimer {
  color: #76583c;
  font-weight: 600;
}
@media (max-width: 900px) {
  .g-plan-detail {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
  }
  .g-gallery-main {
    height: 380px;
  }
  .g-plan-detail-copy {
    padding: 21px;
  }
}
@media (max-width: 640px) {
  .g-featured-card > div {
    min-width: 0;
  }
  .g-plan-detail {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 0;
  }
  .g-gallery-main {
    height: min(90vw, 360px);
    min-height: 230px;
  }
  .g-gallery-thumbs {
    gap: 8px;
  }
  .g-gallery-thumbs button {
    flex-basis: 78px;
    width: 78px;
    height: 63px;
  }
  .g-plan-detail-copy {
    padding: 19px 17px;
  }
  .g-plan-detail-copy h2 {
    font-size: 25px;
  }
  .g-privacy-note {
    padding: 14px;
    font-size: 14px;
  }
  .g-privacy-note-title {
    font-size: 15px;
  }
}
.g-summary-image {
  position: relative;
  background: #efede6;
}
.g-summary-card .g-summary-image > img {
  margin: 0;
}

/* Common reset for standalone HTML; no external fonts or framework needed. */
:root {
  font-size: 18px;
  font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
}
body {
  min-width: 320px;
  line-height: 1.6;
  background: #f6f3eb;
  color: #26342d;
}
button,
input,
select,
textarea {
  font: inherit;
}
button:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}
a {
  color: inherit;
}
[hidden] {
  display: none !important;
}
.html-demo-banner {
  padding: 8px 16px;
  background: #b3332b;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 18px;
}
.html-demo-banner-confirm {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
}
.html-demo-banner button {
  min-height: 32px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.html-noscript {
  padding: 24px;
  text-align: center;
}
.g-brand {
  text-decoration: none;
}
.g-nav a {
  text-underline-offset: 5px;
}
.g-app small,
.g-app .g-card-room {
  font-size: 18px;
}
.g-app .g-brand-name {
  font-family: var(--g-font);
  letter-spacing: 0.06em;
  font-size: 22px;
}
.g-app .g-gallery-thumbs img {
  width: 100%;
}
.g-app details summary {
  cursor: pointer;
  padding: 12px 0;
}
.g-app .g-review-details {
  display: grid;
  gap: 12px;
  overflow-wrap: anywhere;
}
.g-app .g-review-details dt {
  color: var(--g-muted);
}
.g-app .g-review-details dd {
  margin: 0;
  font-weight: 600;
}
.g-app .g-review-details > div {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--g-line);
}
.g-app .g-header {
  gap: 20px;
}
@media (max-width: 700px) {
  .g-app .g-header {
    align-items: flex-start;
  }
  .g-app .g-nav {
    flex-wrap: wrap;
  }
  .g-app .g-brand-name {
    font-size: 20px;
  }
}
@media (min-width: 1000px) {
  .g-hero-copy {
    max-width: 100%;
  }
}
@media (max-width: 700px) {
  .g-header {
    flex-direction: column;
  }
  /* スマホ: メニューは右寄せ（公式サイトの家アイコン・予約の確認・取消・JA/EN） */
  .g-nav {
    width: 100%;
    justify-content: flex-end;
  }
  .g-official-text {
    display: none;
  }
  .g-official-icon {
    display: block;
  }
}
.g-public-details {
  margin: 32px 0;
  padding: 28px;
  border: 1px solid var(--g-line);
  background: var(--g-paper);
  font-size: 15px;
}
.g-public-details h2 { margin: 0 0 24px; font-family: var(--g-font); font-size: 22px; font-weight: 700; }
/* 施設について: 見出し＋中身のかたまりを2列に並べる（基本情報｜ご宿泊について、施設設備｜キャンセルポリシー） */
.g-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 40px;
}
.g-facts-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.g-facts-group h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}
.g-facts-group dl {
  margin: 0;
}
.g-facts-group dl div {
  display: grid;
  grid-template-columns: 9em minmax(0, 1fr);
  gap: 12px;
  padding-block: 10px;
  border-bottom: 1px solid var(--g-line);
}
.g-facts-group dt { color: var(--g-muted); }
.g-facts-group dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.g-facts-group p { margin: 0; line-height: 1.8; }
.g-facts-group .g-amenities { margin: 0; }
.g-amenity-group { display: flex; flex-direction: column; gap: 6px; }
.g-amenity-group + .g-amenity-group { margin-top: 8px; }
.g-facts-group h4 { margin: 0; font-size: 13px; font-weight: 700; color: var(--g-muted); }
.g-facts-group .g-amenities li { font-size: 14px; }
@media (max-width: 760px) {
  .g-facts { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .g-facts-group dl div { grid-template-columns: 7em minmax(0, 1fr); }
}
/* 部屋のページの部屋紹介: カードの枠と背景をなくし、画像を大きく */
.g-room-intro {
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  border: 0;
  background: transparent;
}
.g-room-intro .g-featured-image-static {
  min-height: 440px;
}
/* 文章は画像の下端にそろえる */
.g-room-intro .g-room-body {
  align-content: end;
}
.g-featured-card.g-room-intro > div:not(.g-featured-image-static) {
  padding: 8px 0 8px 36px;
}
@media (max-width: 760px) {
  .g-room-intro {
    grid-template-columns: minmax(0, 1fr);
  }
  .g-room-intro .g-featured-image-static {
    min-height: 260px;
  }
  .g-featured-card.g-room-intro > div:not(.g-featured-image-static) {
    padding: 20px 0 0;
  }
}
@media (max-width: 640px) {
  .g-public-details { padding: 18px; }
}
/* プランごとのセクションと料金表（トップ・部屋のページ・日程を指定した結果で共通）。
   7日間の表は 部屋｜7日 の格子、日程を指定した表は 部屋｜空き｜1泊あたり｜合計金額｜予約する の格子。スマホでは日付・項目を縦に並べる */
.g-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* 7日間の表の前後送り: プランの表の上・右寄せの小さな ＜ ＞ */
.g-rate-shift {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  padding: 0 16px 14px;
}
.g-rate-shift-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--g-line);
  border-radius: 8px;
  background: #fff;
  color: var(--g-forest);
  cursor: pointer;
}
.g-rate-shift-button:disabled {
  opacity: 0.4;
  cursor: default;
}
/* ＜ ＞ の左の大人の人数。高さと枠は ＜ ＞ に合わせる */
.g-rate-adults {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 6px;
  color: var(--g-muted);
  font-size: 14px;
}
.g-rate-adults span {
  white-space: nowrap;
}
.g-app .g-rate-adults select {
  width: auto;
  height: 34px;
  min-height: 34px;
  padding: 0 28px 0 10px;
  border: 1px solid var(--g-line);
  border-radius: 8px;
  background: #fff;
  color: var(--g-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
}
.g-plan-section {
  margin: 0 0 28px;
  background: var(--g-paper);
  border: 1px solid var(--g-line);
}
.g-plan-section-head {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 20px;
  padding: 20px 22px;
}
.g-plan-section-image {
  display: block;
  height: 210px;
  overflow: hidden;
  background: #e6e2d9;
}
.g-plan-section-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.g-plan-section-title {
  font-family: var(--g-font);
  font-size: 25px;
  font-weight: 700;
  margin: 0;
}
.g-plan-section-text p {
  margin: 8px 0 0;
  color: var(--g-muted);
  font-size: 15px;
}
/* 表の上端の線は表自身が持つ（行の線は各行の border-top、外側の左右・下はプランの枠） */
.g-rate {
  min-width: 0;
  border-top: 1px solid var(--g-line);
}
.g-rate-row {
  display: grid;
  align-items: center;
  border-top: 1px solid var(--g-line);
}
.g-rate-week .g-rate-row {
  grid-template-columns: minmax(120px, 1.5fr) repeat(7, minmax(0, 1fr));
}
.g-rate-stay .g-rate-row {
  grid-template-columns: minmax(150px, 1.7fr) minmax(90px, 0.8fr) minmax(0, 1fr) minmax(0, 1.3fr) minmax(120px, 1fr);
}
.g-rate-head {
  border-top: 0;
  background: #f7f7f7;
  color: var(--g-muted);
  font-size: 14px;
  font-weight: 600;
}
.g-rate-room {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px 16px;
}
.g-rate-room-image {
  flex: none;
  width: 64px;
  height: 48px;
  overflow: hidden;
  background: #e6e2d9;
}
.g-rate-room-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.g-rate-room-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.g-rate-room-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--g-forest);
  text-decoration: none;
  overflow-wrap: anywhere;
}
a.g-rate-room-name:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.g-rate-room-meta {
  color: var(--g-muted);
  font-size: 13px;
}
.g-rate-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  min-height: 72px;
  padding: 10px 6px;
  border: 0;
  border-left: 1px solid var(--g-line);
  background: none;
  color: inherit;
  text-align: center;
}
.g-rate-head .g-rate-cell {
  min-height: 0;
  padding: 8px 6px;
}
button.g-rate-cell.is-open:hover {
  background: #edf0e9;
}
.g-rate-date {
  display: none;
}
.g-rate-mark {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}
.g-rate-mark[data-status='available'] {
  color: var(--g-forest);
}
.g-rate-mark[data-status='few'] {
  color: #963f37;
  font-size: 14px;
}
.g-rate-mark[data-status='full'] {
  color: var(--g-muted);
}
.g-rate-mark[data-status='closed'] {
  color: var(--g-muted);
  font-size: 13px;
  font-weight: 500;
}
.g-rate-price {
  font-size: 15px;
  font-weight: 600;
}
/* 検索の人数が定員を超える行。日付のセルを包んで薄くし、その上に理由の案内（色は .g-notice）を重ねる（押せない） */
.g-rate-over {
  position: relative;
  grid-column: 2 / -1;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-self: stretch;
}
.g-rate-over .g-rate-cell {
  opacity: 0.35;
}
.g-rate-over-note {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: calc(100% - 32px);
  margin: 0;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  box-shadow: var(--g-shadow-card);
}
.g-app .g-rate-night small {
  font-size: 13px;
  color: var(--g-muted);
}
.g-rate-total {
  color: var(--g-forest);
  font-size: 20px;
  font-weight: 700;
}
.g-rate-action {
  padding: 10px 14px;
}
.g-rate-action .g-button {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
}
/* 空室なしの案内: 警告の部品（.g-notice・赤系）を使い、プランの枠の内側に置く */
.g-rate-none {
  margin: 0 22px 22px;
  text-align: center;
  font-size: 14px;
}
/* ご指定の期間は使えない部屋。灰色にして表の下にまとめる */
.g-rate-off {
  border-top: 1px solid var(--g-line);
  background: #f7f7f7;
  color: var(--g-muted);
}
.g-rate-off-title {
  margin: 0;
  padding: 14px 16px 8px;
  font-size: 15px;
  font-weight: 700;
}
.g-rate-off .g-rate-row {
  grid-template-columns: minmax(0, 1fr);
  border-top: 0;
}
.g-rate-off .g-rate-room-name {
  color: var(--g-muted);
}
.g-rate-off .g-rate-room-image {
  opacity: 0.55;
  filter: grayscale(1);
}
@media (max-width: 900px) {
  .g-plan-section-head {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px 18px;
  }
  .g-plan-section-image {
    height: 200px;
  }
  .g-rate-room {
    padding: 10px 12px;
  }
  .g-rate-room-image {
    display: none;
  }
  .g-rate-price {
    font-size: 14px;
  }
  .g-rate-total {
    font-size: 17px;
  }
}
@media (max-width: 640px) {
  .g-plan-section-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }
  .g-plan-section-image {
    height: 150px;
  }
  .g-plan-section-title {
    font-size: 21px;
  }
  .g-rate-head {
    display: none;
  }
  .g-rate-week .g-rate-row,
  .g-rate-stay .g-rate-row {
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 8px;
  }
  .g-rate-room {
    padding: 14px 16px 8px;
  }
  .g-rate-room-image {
    display: block;
    width: 56px;
    height: 42px;
  }
  .g-rate-week .g-rate-cell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 84px;
    gap: 10px;
    min-height: 44px;
    padding: 8px 16px;
    border-left: 0;
    border-top: 1px dashed var(--g-line);
    text-align: left;
  }
  .g-rate-week .g-rate-date {
    display: block;
  }
  .g-rate-over {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr);
  }
  .g-rate-week .g-rate-price {
    text-align: right;
  }
  .g-rate-stay .g-rate-cell {
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    min-height: 40px;
    padding: 6px 16px;
    border-left: 0;
  }
  .g-rate-stay .g-rate-cell[data-label]::before {
    content: attr(data-label);
    color: var(--g-muted);
    font-size: 14px;
    font-weight: 400;
    text-align: left;
  }
  .g-rate-stay .g-rate-action {
    padding: 8px 16px 6px;
  }
}

/* 全面モーダル（通信中のスピナー・操作の結果の通知）。部品は guest-modal.js の1つ。影は --g-shadow-float（透明度 0.2） */
.g-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgb(20 27 35 / 42%);
}
.g-modal {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(100%, 440px);
  padding: 24px;
  border: 1px solid var(--g-line);
  border-radius: 14px;
  background: var(--g-paper);
  color: var(--g-ink);
  box-shadow: var(--g-shadow-float);
  overflow-wrap: anywhere;
}
.g-modal:focus {
  outline: none;
}
.g-modal-busy {
  flex-direction: row;
  align-items: center;
  width: auto;
  min-width: 220px;
  max-width: 100%;
  font-weight: 600;
}
.g-modal-busy .g-spinner {
  flex: 0 0 21px;
}
.g-modal h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
}
.g-modal p {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
}
.g-modal .g-button {
  align-self: flex-end;
}
@media (max-width: 480px) {
  .g-modal .g-button {
    align-self: stretch;
  }
}
@media (prefers-reduced-motion: reduce) {
  .g-modal .g-spinner {
    animation-duration: 1.8s;
  }
}
