/* ============================================================
   Gaucho HEISAURA — 共有ベーススタイル
   Bulma CDN の後に読み込む。グレースケール基盤 + 共通タイポグラフィ
   + フォーム/OTA枠/ルームカードなど3パターン共通の部品スタイル。
   ============================================================ */

/* ---------- 1. グレースケール基盤 -----------------------------
   Bulma 1.x は各セマンティックカラーを --bulma-{name}-h/-s/-l の
   HSLコンポーネントに分解しており、派生シェード/ティントも同じ
   -s (彩度) 変数を参照している。ここで彩度を 0% にすることで
   Bulma が生成するUIの配色全体をグレースケール化する。
   <img>/<video> には一切触れないため写真・動画は自然にカラーのまま。 */
:root {
  --bulma-scheme-s: 0%;
  --bulma-primary-s: 0%;
  --bulma-link-s: 0%;
  --bulma-info-s: 0%;
  --bulma-success-s: 0%;
  --bulma-warning-s: 0%;
  --bulma-danger-s: 0%;
  --bulma-text-s: 0%;
  --bulma-black-s: 0%;
  --bulma-light-s: 0%;
  --bulma-dark-s: 0%;

  /* 独自グレースケールパレット(サイト全体で共通利用) */
  --gh-ink: hsl(0, 0%, 12%);
  --gh-ink-soft: hsl(0, 0%, 30%);
  --gh-line: hsl(0, 0%, 82%);
  --gh-paper: hsl(0, 0%, 99%);
  --gh-paper-dim: hsl(0, 0%, 95%);
  --gh-charcoal: hsl(0, 0%, 16%);
  --gh-mist: hsl(0, 0%, 55%);

  --gh-serif: "Shippori Mincho", "Noto Serif JP", serif;
  --gh-sans: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --gh-logo-font: "Baloo 2", "Shippori Mincho", "Noto Serif JP", serif;

  --gh-container-pad: clamp(1.25rem, 4vw, 4rem);
}

/* 万一 filter を使うルールが紛れ込んでも写真/動画には適用させないガード */
img, video, picture {
  filter: none;
}

/* ---------- 2. タイポグラフィ / 基本レイアウト --------------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--gh-sans);
  color: var(--gh-ink);
  background: var(--gh-paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4,
.gh-serif {
  font-family: var(--gh-serif);
  letter-spacing: 0.02em;
}

.gh-eyebrow {
  display: inline-block;
  font-family: var(--gh-sans);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gh-mist);
  margin-bottom: 0.75rem;
}

.gh-section {
  padding: clamp(3rem, 8vw, 7rem) var(--gh-container-pad);
}

.gh-section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
  line-height: 1.35;
  margin-bottom: 1rem;
}

.gh-section-lead {
  color: var(--gh-ink-soft);
  font-size: 1.05rem;
  line-height: 2;
  max-width: 42em;
}

.gh-divider {
  width: 48px;
  height: 2px;
  background: var(--gh-ink);
  margin: 1.25rem 0 1.75rem;
}

/* ---------- 3. ヒーローメディア(動画/画像レイヤー) ------------ */
.gh-hero-media {
  position: relative;
  overflow: hidden;
  background: var(--gh-charcoal);
}

.gh-hero-media video,
.gh-hero-media img.gh-media-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.gh-hero-media video.is-active,
.gh-hero-media img.gh-media-layer.is-active {
  opacity: 1;
}

.gh-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.15) 45%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.gh-hero-dots {
  position: absolute;
  z-index: 3;
  display: flex;
  gap: 0.6rem;
}

.gh-hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.gh-hero-dots button.is-active {
  background: rgba(255, 255, 255, 0.95);
  transform: scale(1.15);
}

/* ---------- 4. ルームガイド / 特徴カード ----------------------- */
.gh-fact-card {
  border: 1px solid var(--gh-line);
  background: var(--gh-paper);
  padding: 1.75rem 1.5rem;
  height: 100%;
}

.gh-fact-card .icon {
  color: var(--gh-ink);
  font-size: 1.4rem;
  margin-bottom: 0.9rem;
}

.gh-fact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.gh-fact-card p {
  color: var(--gh-ink-soft);
  font-size: 0.92rem;
  line-height: 1.8;
}

.gh-room-card {
  border: 1px solid var(--gh-line);
  background: var(--gh-paper);
}

.gh-room-card figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gh-paper-dim);
}

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

.gh-room-card .gh-room-body {
  padding: 1.5rem;
}

.gh-room-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.gh-room-card ul {
  color: var(--gh-ink-soft);
  font-size: 0.88rem;
  line-height: 1.9;
  list-style: none;
  padding: 0;
  margin-top: 0.5rem;
}

.gh-room-card 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.5em;
}

/* ---------- 5. 基本情報テーブル -------------------------------- */
.gh-info-table {
  width: 100%;
  border-collapse: collapse;
}

.gh-info-table tr {
  border-bottom: 1px solid var(--gh-line);
}

.gh-info-table th,
.gh-info-table td {
  text-align: left;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  vertical-align: top;
}

.gh-info-table th {
  width: 30%;
  color: var(--gh-mist);
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ---------- 5.5. 新着情報リスト --------------------------------- */
.gh-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gh-news-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--gh-line);
}

.gh-news-item:first-child {
  padding-top: 0;
}

.gh-news-date {
  color: var(--gh-mist);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.gh-news-title {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.gh-news-body {
  color: var(--gh-ink-soft);
  font-size: 0.95rem;
  line-height: 1.9;
}

/* ---------- 6. 問い合わせフォーム ------------------------------ */
.gh-form-section {
  background: var(--gh-paper-dim);
}

.gh-form-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.gh-inquiry-form .label {
  color: var(--gh-ink);
  font-weight: 500;
}

.gh-inquiry-form .input,
.gh-inquiry-form .textarea {
  background-color: var(--gh-paper);
  border: 1px solid var(--gh-line);
  color: var(--gh-ink);
  border-radius: 4px;
}

.gh-inquiry-form .input:focus,
.gh-inquiry-form .textarea:focus {
  border-color: var(--gh-ink);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}

.gh-inquiry-form .help.is-danger {
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.gh-inquiry-form .gh-form-count {
  font-size: 0.8rem;
  text-align: right;
  color: var(--gh-mist);
  margin-top: 0.25rem;
}

#honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

#form-message {
  border-radius: 4px;
  animation: gh-form-message-in 0.3s ease-out;
}

@keyframes gh-form-message-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 8. フッター ---------------------------------------- */
.gh-footer {
  background: var(--gh-ink);
  color: var(--gh-paper);
  padding: clamp(2.5rem, 6vw, 4rem) var(--gh-container-pad) 2rem;
}

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

.gh-footer .gh-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 2rem;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- 9. ユーティリティ ------------------------------------ */
.gh-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.gh-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.gh-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 768px) {
  .gh-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .gh-info-table {
    table-layout: fixed;
  }

  .gh-info-table th {
    width: 30%;
    white-space: normal;
    padding: 0.9rem 0.5rem 0.9rem 0;
    font-size: 0.85rem;
  }

  .gh-info-table td {
    padding: 0.9rem 0 0.9rem 0.5rem;
    font-size: 0.85rem;
  }
}
