/* Pattern D — Cinematic Scroll（配色: 色参考ベースのダークモード） */

body.gh-pattern-d {
  --gh-ink: #f3ead9;
  --gh-ink-soft: #cbbfa0;
  --gh-line: #3a3226;
  --gh-paper: #17140f;
  --gh-paper-dim: #211c15;
  --gh-charcoal: #0f0d09;
  --gh-mist: #a89b7d;
  --gh-accent: #8a9c5e;
  --gh-accent-2: #7fa0aa;
}

.gh-fact-card .icon {
  color: var(--gh-accent);
}

.gh-divider {
  background: var(--gh-accent);
}

/* ---- ダークモード特有の上書き: 白背景前提の要素・Bulmaデフォルト部品 ---- */

.gh-footer {
  background: var(--gh-charcoal);
  color: var(--gh-ink);
}

.gh-footer a {
  color: var(--gh-ink);
}

.button.is-dark.is-outlined {
  color: var(--gh-ink);
  border-color: var(--gh-ink);
}

.button.is-dark.is-outlined:hover {
  background-color: var(--gh-ink);
  color: var(--gh-paper);
  border-color: var(--gh-ink);
}

.input,
.textarea,
.select select {
  background-color: var(--gh-paper-dim);
  border-color: var(--gh-line);
  color: var(--gh-ink);
}

.input::placeholder,
.textarea::placeholder {
  color: var(--gh-mist);
}

.select:not(.is-multiple):not(.is-loading)::after {
  border-color: transparent transparent var(--gh-mist) var(--gh-mist);
}

.label {
  color: var(--gh-ink-soft);
}

.gh-header {
  background: transparent;
  box-shadow: none;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.gh-header.is-scrolled {
  background: var(--gh-paper);
  box-shadow: 0 1px 0 var(--gh-line);
}

.gh-header .gh-brand {
  font-family: var(--gh-logo-font);
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.35s ease;
}

.gh-header .gh-brand span {
  display: block;
  opacity: 0.8;
}

.gh-header.is-scrolled .gh-brand {
  color: var(--gh-ink);
}

.gh-header .navbar-item.gh-nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  transition: color 0.35s ease;
}

.gh-header.is-scrolled .navbar-item.gh-nav-link {
  color: var(--gh-ink);
}

.gh-header .navbar-burger span {
  background-color: #fff;
  transition: background-color 0.35s ease;
}

.gh-header.is-scrolled .navbar-burger span {
  background-color: var(--gh-ink);
}

.gh-header .gh-nav-cta {
  border: 1px solid currentColor;
  margin-left: 0.5rem;
}

.gh-header .navbar-menu.is-active {
  background: var(--gh-paper);
}

.gh-header .navbar-menu.is-active .navbar-item.gh-nav-link {
  color: var(--gh-ink);
}

/* Hero */
.gh-hero-a {
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
}

.gh-hero-copy {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 var(--gh-container-pad) clamp(3rem, 8vw, 6rem);
  max-width: 780px;
}

.gh-hero-logo {
  height: clamp(38px, 5vw, 60px);
  width: auto;
  display: block;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

.gh-hero-copy h1 {
  font-family: var(--gh-serif);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  line-height: 1.35;
  margin-bottom: 1.25rem;
}

.gh-hero-sub {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  opacity: 0.85;
  margin-bottom: 1rem;
}

.gh-hero-lead {
  font-size: 1rem;
  line-height: 2;
  opacity: 0.92;
  margin-bottom: 1.75rem;
}

.gh-hero-luxury {
  font-family: var(--gh-serif);
  font-size: clamp(1.2rem, 2.6vw, 1.85rem);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.gh-hero-btn {
  border-color: rgba(255, 255, 255, 0.7);
}

.gh-scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  animation: gh-bounce 2.2s infinite;
}

@keyframes gh-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

.gh-footer-logo {
  height: 100px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.gh-section-alt {
  background: var(--gh-paper-dim);
}

.gh-concept-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Room rows: alternating full-width */
.gh-room-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  border-top: 1px solid var(--gh-line);
}

.gh-room-row:last-child {
  border-bottom: 1px solid var(--gh-line);
}

.gh-room-row .gh-room-media {
  flex: 1 1 50%;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem 0.5rem 1rem;
}

.gh-room-main-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.gh-room-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gh-room-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
  gap: 0.5rem;
}

.gh-room-thumbs a,
.gh-room-thumbs .gh-room-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: block;
  cursor: pointer;
}

.gh-room-thumbs img {
  transition: transform 0.35s ease;
}

.gh-room-thumbs .gh-room-thumb:hover img {
  transform: scale(1.06);
}

/* 設備リストの2カラム表示(項目数が多いキッチン設備用) */
.gh-room-row ul.is-two-col {
  columns: 2;
  column-gap: 1.5rem;
}

.gh-room-row ul.is-two-col li {
  break-inside: avoid;
}

.gh-room-row .gh-room-text {
  flex: 1 1 50%;
  min-width: 300px;
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gh-room-row.is-reverse {
  flex-direction: row-reverse;
}

.gh-room-row h3 {
  font-family: var(--gh-serif);
  font-size: 1.5rem;
  margin: 0.4rem 0 1rem;
}

.gh-room-row ul {
  list-style: none;
  padding: 0;
  color: var(--gh-ink-soft);
  line-height: 2;
}

.gh-room-row ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.7rem;
  color: var(--gh-mist);
  margin-right: 0.6em;
}

.gh-amenity-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* SNSアイコン列 */
.gh-sns-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.gh-sns-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1px solid var(--gh-line);
  background: var(--gh-paper);
  color: var(--gh-ink);
  font-size: 0.7rem;
  letter-spacing: .04em;
  transition: border-color .25s ease, color .25s ease, transform .25s ease;
}
.gh-sns-btn i { font-size: 1.5rem; }
.gh-sns-btn:hover {
  border-color: var(--gh-accent);
  color: var(--gh-accent);
  transform: translateY(-3px);
}

.gh-sns-btn-line {
  background: transparent;
  border: none;
  width: auto;
  height: auto;
  border-radius: 0;
}
.gh-sns-btn-line img { display: block; }
.gh-sns-btn-line:hover { transform: translateY(-3px); }

/* ---- ご予約カレンダー ボタン(ビジュアル訴求型) ---- */
.gh-reserve-lead { max-width: 42em; margin: 0 auto 2rem; text-align: center; }

.gh-reserve-tile {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 4.5rem) 2rem;
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  color: #fbf8f2;
  background: linear-gradient(135deg, var(--gh-accent) 0%, var(--gh-accent-2) 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gh-reserve-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.18), transparent 55%);
  pointer-events: none;
}

.gh-reserve-tile::after {
  content: "\f073";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: -0.5rem;
  bottom: -1.5rem;
  font-size: 9rem;
  color: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.gh-reserve-tile:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.45);
}

.gh-reserve-icon {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.gh-reserve-title {
  font-family: var(--gh-serif);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
  margin-bottom: 0.25rem;
}

.gh-reserve-sub {
  font-family: var(--gh-sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
  position: relative;
  z-index: 1;
  margin-bottom: 1.75rem;
}

.gh-reserve-btnwrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.gh-reserve-footnote {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gh-mist);
  margin-top: 1.25rem;
}

/* CheckInn予約ウィジェットは checkinn-reservation-button の中身を自前の
   <button class="MuiButtonBase-root ..."> に丸ごと差し替えるため、
   div自体ではなく差し替え後のbuttonを !important で上書きする。 */
.checkinn-reservation-button button.MuiButtonBase-root {
  background: #fbf8f2 !important;
  color: var(--gh-charcoal) !important;
  font-family: var(--gh-sans) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  text-transform: none !important;
  border-radius: 999px !important;
  padding: 0.95rem 2.5rem !important;
  height: auto !important;
  width: auto !important;
  min-width: 0 !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25) !important;
  transition: background-color 0.25s ease, transform 0.25s ease !important;
}

.checkinn-reservation-button button.MuiButtonBase-root:hover {
  background: #ffffff !important;
}

/* ライトボックス(サムネイル画像の拡大表示) */
.gh-lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease;
  padding: 1.5rem;
}

.gh-lightbox.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gh-lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  transform: scale(0.9);
  transition: transform 0.35s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.gh-lightbox.is-active img {
  transform: scale(1);
}

.gh-lightbox-close {
  position: absolute;
  z-index: 1;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: var(--gh-ink);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.gh-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gh-ink);
}

.gh-lightbox-nav {
  position: absolute;
  z-index: 1;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: var(--gh-ink);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.gh-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gh-ink);
}

.gh-lightbox-prev {
  left: clamp(1rem, 3vw, 2rem);
}

.gh-lightbox-next {
  right: clamp(1rem, 3vw, 2rem);
}

.gh-lightbox:not(.has-multiple) .gh-lightbox-nav {
  display: none;
}

/* ご利用規約モーダル */
.gh-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: clamp(1rem, 4vw, 3rem);
}

.gh-modal.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gh-modal-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: 85vh;
  overflow-y: auto;
  background: var(--gh-paper);
  padding: clamp(1.75rem, 5vw, 3rem);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.gh-modal-close {
  position: sticky;
  top: 0;
  float: right;
  margin: -0.5rem -0.5rem 0.5rem auto;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--gh-line);
  background: var(--gh-paper);
  color: var(--gh-ink);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.gh-modal-close:hover {
  background: var(--gh-paper-dim);
  border-color: var(--gh-ink);
}

.gh-modal-title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 1.5rem;
  clear: both;
}

.gh-terms-chapter {
  margin-bottom: 2rem;
}

.gh-terms-chapter h3 {
  font-size: 1.15rem;
  border-bottom: 1px solid var(--gh-line);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.gh-terms-chapter h4 {
  font-family: var(--gh-sans);
  font-size: 0.98rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
}

.gh-modal-body p,
.gh-modal-body li {
  color: var(--gh-ink-soft);
  font-size: 0.92rem;
  line-height: 1.9;
}

.gh-modal-body ol {
  margin: 0 0 0 1.4em;
  padding: 0;
}

.gh-modal-body ol[type="1"] {
  margin-top: 0.4em;
  margin-bottom: 0.6em;
}

.gh-modal-body li {
  margin-bottom: 0.4em;
}

.gh-terms-note {
  margin: 0 0 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--gh-paper-dim);
  border-left: 2px solid var(--gh-accent-2);
}

.gh-terms-note-title {
  font-family: var(--gh-serif);
  font-weight: 700;
  color: var(--gh-ink) !important;
  margin-bottom: 0.5rem;
}

.gh-terms-supplementary {
  color: var(--gh-mist);
  font-size: 0.85rem;
}

.gh-floorplan-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gh-paper-dim);
  border: 1px solid var(--gh-line);
  padding: 1rem;
}

.gh-floorplan-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  cursor: zoom-in;
}

.gh-map-frame {
  aspect-ratio: 16 / 10;
  border: 1px solid var(--gh-line);
}

.gh-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .gh-hero-a {
    height: 92vh;
  }
  .gh-room-row,
  .gh-room-row.is-reverse {
    flex-direction: column;
  }
}
