/*
Theme Name: MOHEYA
*/

/* ============================================
   CSS変数（デザイントークン）
============================================ */
:root {
  /* カラー */
  --color-primary: #2e2a32;
  --color-secondary: #666;
  --color-tertiary: #b83e3e;
  --color-background: #fff;
  --color-background-alt: #f8f8f8;
  --color-border: #eee;
  --color-border-dark: #2e2a32;
  --color-text-secondary: #447b48;
  --color-white: #fff;
  --color-hover: #555;

  /* 間隔 */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 32px;
  --spacing-lg: 48px;
  --spacing-xl: 64px;
  --spacing-xxl: 80px;
  --spacing-xxxl: 140px;

  /* フォントサイズ */
  --font-size-sm: 10px;
  --font-size-base: 14px;
  --font-size-md: 15px;
  --font-size-lg: 18px;
  --font-size-xl: 28px;
  --font-size-xxl: 34px;
  --font-size-hero: 38px;
  --font-size-hero-mobile: 32px;

  /* フォントウェイト */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;

  /* 文字間隔 */
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.05em;
  --letter-spacing-wider: 0.2em;

  /* 行の高さ */
  --line-height-tight: 1.2;
  --line-height-normal: 2;
  --line-height-relaxed: 2.2;
  --line-height-loose: 2.4;

  /* ボーダー */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;

  /* シャドウ */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-subtle: 0 2px 10px rgba(0, 0, 0, 0.05);

  /* トランジション */
  --transition-base: 0.3s ease;
  --transition-slow: 0.4s ease;
  --transition-fast: 0.2s ease;

  /* ヘッダー高さ */
  --header-height: 80px;
  --header-height-mobile: 60px;

  /* 最大幅 */
  --max-width-content: 1000px;
  --max-width-container: 1200px;
  --max-width-narrow: 800px;
  --max-width-form: 600px;
}

/* ============================================
   リセット & 基本スタイル
============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: "Lora", "Noto Serif JP", "Noto Serif SC", "Hiragino Sans", "PingFang SC", "Microsoft YaHei", Meiryo, sans-serif;
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-primary);
  background-color: var(--color-background);
  letter-spacing: var(--letter-spacing-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 言語別フォント設定 */
body.font-jp {
  font-family: "Lora", "Noto Serif JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

body.font-en {
  font-family: "Lora", Georgia, "Times New Roman", serif;
}

body.font-ch {
  font-family: "Lora", "Noto Serif SC", "PingFang SC", "Microsoft YaHei", "Heiti SC", sans-serif;
  letter-spacing: 0; /* 中国語では文字間隔を狭く */
}

/* 施設アイテムの言語別フォント */
body.font-jp .facility-item {
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
}

body.font-en .facility-item {
  font-family: "Lora", Arial, sans-serif;
}

body.font-ch .facility-item {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* 中国語の見出しの文字間隔調整 */
body.font-ch h1,
body.font-ch h2,
body.font-ch h3,
body.font-ch h4,
body.font-ch h5,
body.font-ch h6 {
  letter-spacing: normal;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity var(--transition-base);
}

a:hover {
  opacity: 0.7;
}

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

/* ============================================
   App構造
============================================ */
.app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 60px; /* 固定ナビゲーションの高さ分の余白 */
}

.main-content {
  flex: 1;
  padding-top: var(--header-height);
}

/* ============================================
   ヘッダー
============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: var(--color-background);
  z-index: 1000;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: var(--max-width-container);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 言語切り替え（右上固定） */
.language-switch-fixed {
  position: fixed;
  font-family: "Mirza", serif;
  top: var(--spacing-sm);
  right: var(--spacing-lg);
  display: flex;
  gap: var(--spacing-xs);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-normal);
  z-index: 1100;
}

.language-switch-fixed a {
  color: var(--color-text-tertiary);
  transition: color var(--transition-base);
}

.language-switch-fixed a.active {
  color: var(--color-primary);
}

/* ============================================
   ホームページ
============================================ */
.home-page {
  margin-top: calc(var(--header-height) * -1);
}

/* セクション共通スタイル */
.section-fullheight {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

/* ファーストビュー（イラスト全面表示版） */
.firstview {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-background);
}

.firstview-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.firstview-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.firstview-logo {
  position: relative;
  z-index: 10;
  will-change: transform, opacity;
}

.firstview-logo img {
  width: auto;
  height: auto;
  max-width: 340px;
  display: block;
  margin-top: -40px;
}

/* セクション分割レイアウト（既存のセクション用） */
.section-split {
  display: flex;
  width: 100%;
  height: 100vh;
}
@media (max-width: 768px) {
  .firstview-logo img {
    max-width: 280px;
  }

  .section-split {
    flex-direction: column;
    height: auto;
  }
}
.section-left,
.section-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.section-left img,
.section-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-content {
  padding: var(--spacing-xl);
  max-width: 500px;
  width: 100%;
}
.section-content div {
  text-align: justify;
}
@media (max-width: 768px) {
  .section-content {
    padding: var(--spacing-lg);
  }
}

.section-content h2 {
  font-size: var(--font-size-xxl);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-normal);
  margin-bottom: var(--spacing-md);
  font-family: "Yatra One", system-ui;
  text-align: center;
  position: relative;
  padding-bottom: var(--spacing-lg);
}

.section-content h2:after {
  content: "";
  display: block;
  height: var(--spacing-lg);
  width: 1px;
  border-right: 1px solid var(--color-border-dark);
  position: absolute;
  left: 50%;
  bottom: 0;
}

.section-content p {
  font-size: var(--font-size-base);
  letter-spacing: var(--letter-spacing-wide);
  line-height: var(--line-height-loose);
  margin-bottom: var(--spacing-xxl);
  text-align: justify;
}

.section-photo {
  margin-top: var(--spacing-lg);
}

.section-photo img {
  width: 100%;
  height: auto;
}

/* イラスト全面セクション */
.section-illustration {
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}
.section-illustration div {
  width: 100%;
  height: 100%;
}
.section-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 代替背景色 */
.alternate-bg {
  background-color: var(--color-background-alt);
}
#about {
  background-color: var(--color-background-alt);
}
#inside {
  background-color: var(--color-text-secondary);
  color: #fff;
}
#inside .section-content h2:after {
  border-right: 1px solid #fff;
}
#facilities .section-right,
#facilities .section-left {
  background-color: var(--color-tertiary);
  color: #fff;
}

#facilities .section-left h2:after {
  border-right: 1px solid #fff;
}
/* 施設リスト */
.facilities-list {
  display: grid;
  gap: var(--spacing-md);
}

.facility-category h3 {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-sm);
  letter-spacing: var(--letter-spacing-normal);
}

.facility-category ul {
  list-style: none;
  padding: 0;
}

.facility-category li {
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  padding-left: 1.5em;
  position: relative;
  margin-bottom: var(--spacing-xs);
}

.facility-category li::before {
  content: "・";
  position: absolute;
  left: 0;
}

/* ============================================
   地図セクション
============================================ */
.map-section {
  min-height: 100vh;
  padding: var(--spacing-xxl) var(--spacing-sm) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-background);
}

.map-container {
  width: 100%;
  max-width: var(--max-width-container);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.map-title {
  font-size: var(--font-size-xxl);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-normal);
  font-family: "Yatra One", system-ui;
  text-align: center;
  position: relative;
  padding-bottom: var(--spacing-lg);
}

.map-title:after {
  content: "";
  display: block;
  height: var(--spacing-lg);
  width: 1px;
  border-right: 1px solid var(--color-border-dark);
  position: absolute;
  left: 50%;
  bottom: 0;
}

.map-frame {
  width: 100%;
  max-width: 800px;
  height: 500px;
  margin: var(--spacing-md) auto var(--spacing-xl);
  overflow: hidden;
}

.interactive-map {
  width: 100%;
  height: 100%;
  background-color: #f5f5f5;
}

.fallback-map {
  border: 0;
  filter: grayscale(100%);
}

.map-controls {
  margin: 20px 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.map-reset-button {
  padding: 8px 16px;
  font-size: 12px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: background-color var(--transition-base);
}

.map-reset-button:hover {
  background-color: #1a1a1a;
}

.map-address-section {
  margin: var(--spacing-lg) auto;
  text-align: left;
  max-width: 800px;
  width: 100%;
}

@media (max-width: 768px) {
  .map-address-section {
    margin: var(--spacing-sm) auto;
  }
}
.address-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: var(--spacing-md);
}

.address-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.address-icon {
  flex-shrink: 0;
  display: flex;
}

.address-content {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 12px;
}

.location-name {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
}

.location-address {
  font-size: var(--font-size-base);
  color: var(--color-secondary);
  transition: color var(--transition-base);
}

.location-address.clickable {
  cursor: pointer;
  text-decoration: underline;
}

.location-address.clickable:hover {
  color: var(--color-primary);
}

.map-description {
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-secondary);
  margin-bottom: var(--spacing-md);
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

.map-cta-button {
  display: inline-block;
  padding: 15px var(--spacing-lg) 8px;
  border: 1px solid var(--color-primary);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  transition: all var(--transition-base);
  margin-top: var(--spacing-lg);
  font-family: "Mirza", serif;
  color: var(--color-primary);
  text-decoration: none;
  background-color: transparent;
}

.map-cta-button:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* CTAボタン（共通） */
.cta-button {
  display: inline-block;
  padding: 15px var(--spacing-lg) 8px;
  border: 1px solid var(--color-primary);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  transition: all var(--transition-base);
  margin-top: var(--spacing-lg);
  font-family: "Mirza", serif;
}

.cta-button:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* Mapセクション内のCTAボタン */
#map .cta-button {
  margin: var(--spacing-lg) auto 0;
}

/* ============================================
   予約ページ
============================================ */
.reservation-page {
  padding: var(--spacing-xl) var(--spacing-lg) 0;
  max-width: 800px;
  margin: 0 auto;
}

.reservation-page h1 {
  font-size: var(--font-size-xxl);
  font-weight: var(--font-weight-normal);
  text-align: center;
  margin-bottom: var(--spacing-xl);
  letter-spacing: var(--letter-spacing-wide);
  font-family: "Yatra One", system-ui;
}

.reservation-page .description-text {
  margin-bottom: var(--spacing-xl);
  font-size: 13px;
  line-height: 2;
  color: var(--color-primary);
}

.reservation-page .description-text p {
  margin-bottom: var(--spacing-sm);
}

/* Contact Form 7のスタイル */
.reservation-page .wpcf7 {
  margin-bottom: var(--spacing-xxxl);
}

.reservation-page .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mon {
  color: var(--color-tertiary);
  margin-left: 5px;
  display: inline-block;
}
.note {
  display: block;
}
.reservation-page .wpcf7-form .agreement-wrap .wpcf7-form-control-wrap {
  display: inline-block !important;
}

/* 両方のバージョンに対応するCSS */
.wpcf7-form fieldset,
.wpcf7-form .hidden-fields-container {
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* fieldset要素のデフォルトスタイルをリセット */
.wpcf7-form fieldset {
  min-width: 0;
  display: block;
}
/* フォームの各行 - pタグをグリッドコンテナに */
.reservation-page .wpcf7-form .form_row {
  margin: 0 0 16px 0;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px;
  align-items: flex-start;
}

.alert ol {
  padding-left: 1.5rem;
}
/* ラベルのスタイル */
.reservation-page .wpcf7-form label {
  font-size: 12px;
  color: var(--color-primary);
  padding-top: 12px;
  padding-right: 20px;
}
.reservation-page .wpcf7-form label .note {
  margin-top: 0.5rem;
}
/* 入力フィールドを含むspan */
.reservation-page .wpcf7-form .wpcf7-form-control-wrap {
  display: block;
}

/* 入力フィールド */
.reservation-page .wpcf7-form input[type="text"],
.reservation-page .wpcf7-form input[type="email"],
.reservation-page .wpcf7-form input[type="tel"],
.reservation-page .wpcf7-form input[type="date"],
.reservation-page .wpcf7-form textarea,
.reservation-page .wpcf7-form select {
  padding: 12px 16px;
  font-size: 12px;
  border: none;
  background-color: #f5f5f5;
  border-radius: 0;
  font-family: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
}

.reservation-page .wpcf7-form input[type="text"]::placeholder,
.reservation-page .wpcf7-form input[type="email"]::placeholder,
.reservation-page .wpcf7-form input[type="tel"]::placeholder,
.reservation-page .wpcf7-form textarea::placeholder {
  color: #999;
  font-size: 12px;
}

.reservation-page .wpcf7-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* チェックボックスのスタイル */
.reservation-page .wpcf7-form .agreement-wrap {
  margin: 20px 0;
  display: block;
  grid-template-columns: none;
}

.reservation-page .wpcf7-form .wpcf7-list-item {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.reservation-page .wpcf7-form .wpcf7-list-item-label {
  font-size: 12px;
  cursor: pointer;
}

.reservation-page .wpcf7-form input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
}

/* 送信ボタンのスタイル */
.reservation-page .wpcf7-form .submit-wrap {
  display: flex;
  grid-template-columns: none;
  justify-content: flex-end;
  margin-top: 30px;
}

/* ============================================
   送信ボタンのカスタムデザイン
============================================ */

/* 送信ボタンのスタイル */
.reservation-page .wpcf7-form input[type="submit"] {
  background-color: #3b3b3b;
  color: white;
  padding: 16px 100px 16px 60px;
  font-size: 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
  font-weight: 500;
  position: relative;

  /* 矢印アイコンを背景画像として追加 */
  background-image: url("./assets/images/yajirushi.svg");
  background-repeat: no-repeat;
  background-position: right 40px center;
  background-size: 20px 20px;
}

/* ホバー時のスタイル - 矢印が右に移動 */
.reservation-page .wpcf7-form input[type="submit"]:hover {
  background-color: #2a2a2a;
  background-position: right 35px center;
  transform: translateX(-5px);
}

/* フォーカス時のスタイル */
.reservation-page .wpcf7-form input[type="submit"]:focus {
  outline: none;
  background-color: #2a2a2a;
  background-position: right 35px center;
}

/* 送信中のスタイル */
.reservation-page .wpcf7-form.submitting input[type="submit"] {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* 無効化された時のスタイル */
.reservation-page .wpcf7-form input[type="submit"]:disabled {
  background-color: #888;
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .reservation-page .wpcf7-form input[type="submit"] {
    width: 100%;
    max-width: 280px;
    padding: 12px 50px 12px 20px;
    font-size: 13px;
    background-position: right 20px center;
    background-size: 18px 18px;
  }

  .reservation-page .wpcf7-form input[type="submit"]:hover,
  .reservation-page .wpcf7-form input[type="submit"]:focus {
    background-position: right 12px center;
  }
}

/* エラーメッセージのスタイル */
.reservation-page .wpcf7-not-valid-tip {
  color: var(--color-tertiary);
  font-size: 11px;
  margin-top: 4px;
  display: block;
}

.reservation-page .wpcf7-response-output {
  margin: var(--spacing-md) 0;
  padding: var(--spacing-sm);
  color: var(--color-tertiary);
  border: none;
  text-align: center;
  font-size: 12px;
}

.screen-reader-response {
  margin-bottom: 1rem;
  color: var(--color-tertiary);
}

.screen-reader-response ul {
  padding-left: 1rem;
}

/* 日付入力のスタイル調整 */
.reservation-page .wpcf7-form input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.6;
}

.reservation-page .wpcf7-form input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* フォーカス時のスタイル */
.reservation-page .wpcf7-form input:focus,
.reservation-page .wpcf7-form textarea:focus,
.reservation-page .wpcf7-form select:focus {
  outline: none;
  background-color: #eeeeee;
}

/* バリデーションエラー時のスタイル */
.reservation-page .wpcf7-form .wpcf7-not-valid {
  background-color: #ffebee;
}

/* 送信中のスタイル */
.reservation-page .wpcf7-form.submitting .wpcf7-submit {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 成功メッセージ */
.reservation-page .wpcf7-mail-sent-ok {
  background-color: #e8f5e9;
  color: #2e7d32;
  padding: 12px;
  border-radius: 4px;
}

/* エラーメッセージ */
.reservation-page .wpcf7-mail-sent-ng,
.reservation-page .wpcf7-validation-errors {
  background-color: #ffebee;
  color: #c62828;
  padding: 12px;
  border-radius: 4px;
}
/* マージン */
.price-details,
.house-rules {
  margin: var(--spacing-xxxl) 0;
}
.cancellation-policy {
  margin: var(--spacing-xxxl) 0 0;
}

.attention-section {
  margin: 0;
}

/* 料金表 */
.price-details h2,
.house-rules h2,
.cancellation-policy h2,
.attention-section h2 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-normal);
  text-align: center;
  margin-bottom: var(--spacing-xl);
  letter-spacing: var(--letter-spacing-wide);
  font-family: "Yatra One", system-ui;
  line-height: 1.2;
}

.price-table {
  margin: var(--spacing-md) 0;
}

.price-table table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--color-background);
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.price-table th {
  padding: 10px var(--spacing-sm);
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
  font-size: 12px;
}

.price-table td {
  padding: var(--spacing-sm) var(--spacing-sm);
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
  font-size: 12px;
}

.price-table th {
  font-weight: var(--font-weight-normal);
  color: var(--color-primary);
}

.price-table td {
  color: var(--color-primary);
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table td:first-child {
  text-align: left;
}

/* ハウスルール & キャンセルポリシー */

.house-rules-table {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
  border-bottom: 1px solid #e0e0e0;
  border-top: 1px solid #e0e0e0;
}

.house-rules-table td {
  padding: var(--spacing-sm) 0;
  font-size: 12px;
  border-bottom: 1px solid #e0e0e0;
}

.house-rules-table td:first-child {
  width: 120px;
  text-align: left;
}

.house-rules-table td:last-child {
  text-align: right;
}

.cancellation-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--spacing-sm);
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.cancellation-table th,
.cancellation-table td {
  padding: 20px var(--spacing-sm);
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
  font-size: 12px;
}

.cancellation-table th {
  font-weight: var(--font-weight-normal);
}

.cancellation-table tr:last-child td {
  border-bottom: none;
}

.attention-box {
  line-height: var(--line-height-relaxed);
  font-size: 12px;
  text-align: justify;
}

/* ============================================
   レスポンシブ（予約ページ部分）
============================================ */
@media (max-width: 768px) {
  .reservation-page {
    padding: var(--spacing-lg) var(--spacing-sm) var(--spacing-xxl);
  }

  .reservation-page h1 {
    font-size: 24px;
    margin-bottom: var(--spacing-lg);
  }

  /* フォームのレスポンシブ対応 */
  .reservation-page .wpcf7-form p {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .reservation-page .wpcf7-form label {
    padding-top: 0;
  }

  .reservation-page .wpcf7-form .submit-wrap {
    justify-content: center;
  }

  .reservation-page .wpcf7-form input[type="submit"] {
    width: 100%;
    max-width: 200px;
  }

  .price-details h2,
  .house-rules h2,
  .cancellation-policy h2,
  .attention-section h2 {
    font-size: 20px;
  }

  .price-table {
    overflow-x: auto;
  }

  .price-table table {
    min-width: 500px;
  }

  .cancellation-table {
    overflow-x: auto;
  }

  .cancellation-table table {
    min-width: 500px;
  }

  /* 地図セクションレスポンシブ */
  .map-section {
    padding: var(--spacing-xl) var(--spacing-sm);
    min-height: auto;
  }

  .map-frame {
    width: 95%;
    height: 350px;
  }

  .map-title {
    font-size: var(--font-size-xl);
  }

  .location-name {
    font-size: var(--font-size-base);
  }

  .location-address {
    font-size: 12px;
  }

  .map-description {
    font-size: 12px;
  }
}

/* ============================================
   フッター
============================================ */
.footer {
  background-color: var(--color-background);
  padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-lg);
}

.footer-content {
  max-width: var(--max-width-container);
  margin: 0 auto;
  text-align: center;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-xxl);
  margin-bottom: var(--spacing-xxl);
}

.footer-social a {
  display: block;
  width: 24px;
  height: 24px;
}

.footer-info {
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.footer-logo {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-wide);
  margin-bottom: var(--spacing-xs);
}

.footer-address {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: var(--line-height-normal);
}

.footer-copyright {
  text-align: center;
  font-size: var(--font-size-sm);
  color: var(--color-text-tertiary);
  padding-top: var(--spacing-sm);
  border-top: 1px solid var(--color-border);
}

/* ============================================
   レスポンシブ
============================================ */

@media (max-width: 768px) {
  /* モバイル用の変数調整 */
  .header-container {
    padding: 0 var(--spacing-sm);
  }

  .main-content {
    padding-top: var(--header-height-mobile);
  }

  .header {
    height: var(--header-height-mobile);
  }

  .language-switch-fixed {
    top: 15px;
    right: var(--spacing-sm);
    font-size: var(--font-size-sm);
  }

  .logo a {
    font-size: var(--font-size-md);
  }

  /* 固定ナビゲーション（モバイル） */
  .fixed-nav {
    display: none !important;
  }

  .fixed-nav-link {
    font-size: 10px;
    padding: 4px 8px;
  }

  .home-page {
    margin-top: calc(var(--header-height-mobile) * -1);
  }

  .firstview-container {
    padding: 0 var(--spacing-sm);
    max-width: 90%;
  }

  .hero-logo img {
    max-width: 200px;
  }

  .hero-illustration {
    max-width: 100%;
  }

  .info-section {
    padding: var(--spacing-xl) var(--spacing-sm);
  }

  .facilities-grid {
    gap: var(--spacing-md);
  }

  .footer {
    padding: var(--spacing-lg) var(--spacing-sm) var(--spacing-md);
  }

  .app-container {
    padding-bottom: 0;
  }
}

/* ============================================
   ハンバーガーメニュー
============================================ */
.hamburger-menu {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 28px;
  height: 28px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1200;
  display: none; /* デフォルトは非表示 */
}

.hamburger-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.hamburger-line:first-child {
  top: 10px;
}

.hamburger-line:last-child {
  bottom: 10px;
}

/* バツアイコンアニメーション */
.hamburger-menu.open .hamburger-line {
  background-color: var(--color-white);
}

.hamburger-menu.open .hamburger-line:first-child {
  transform: translateY(3px) rotate(45deg);
}

.hamburger-menu.open .hamburger-line:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

/* ============================================
   ドロワーメニュー
============================================ */
.drawer-menu {
  position: fixed;
  inset: 0;
  background-color: var(--color-tertiary);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xl) var(--spacing-lg);
}

.drawer-menu.open {
  opacity: 1;
  visibility: visible;
}

/* ナビゲーション */
.drawer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.drawer-nav a {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  font-family: "Mirza", serif;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
  transition: opacity var(--transition-base);
  text-align: center;
}

.drawer-nav a:hover {
  opacity: 0.8;
}

/* 言語切り替え */
.drawer-language {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-lg);
  font-size: var(--font-size-base);
  color: var(--color-white);
  font-family: "Mirza", serif;
}

.drawer-language a {
  color: var(--color-white);
  opacity: 0.7;
  transition: opacity var(--transition-base);
}

.drawer-language a.active,
.drawer-language a:hover {
  opacity: 1;
}

.drawer-language span {
  opacity: 0.5;
}

/* ソーシャルアイコン */
.drawer-social {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
}

.drawer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: opacity var(--transition-base);
}

.drawer-social a:hover {
  opacity: 0.8;
}

.drawer-social svg {
  width: 24px;
  height: 24px;
}

/* 言語切り替え（PC用） */
.language-switch-fixed {
  position: fixed;
  font-family: "Mirza", serif;
  top: var(--spacing-sm);
  right: var(--spacing-lg);
  display: flex;
  gap: var(--spacing-xs);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-normal);
  z-index: 1100;
}

.language-switch-fixed a {
  color: var(--color-text-tertiary);
  transition: color var(--transition-base);
}

.language-switch-fixed a.active {
  color: var(--color-primary);
}

/* モバイルでのみハンバーガーメニューを表示 */
@media (max-width: 768px) {
  .hamburger-menu {
    display: block;
  }

  .fixed-nav {
    display: none;
  }

  /* 言語切り替えを非表示 */
  .language-switch-fixed {
    display: none;
  }

  /* メニューが開いている時はコンテンツをスクロール不可に */
  body.drawer-open {
    overflow: hidden;
  }
}

/* ============================================
   Facilities Carousel
============================================ */
.facilities-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; /* 幅制限を解除 */
  max-width: none; /* 最大幅制限も解除 */
}

.facilities-carousel {
  width: 100%;
  max-width: 400px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 新規追加：カルーセルコンテナ */
.carousel-container {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: var(--spacing-md); /* var(--spacing-md)からさらに縮小 */
  min-height: 400px;
  position: relative; /* 追加：アニメーション用 */
}

.facility-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: "Noto Sans JP", "Noto Sans SC", "PingFang SC", sans-serif;
  transition: transform var(--transition-base);
  gap: 5px;
}

.facility-icon {
  color: var(--color-white);
  margin-bottom: var(--spacing-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.facility-icon img {
  max-width: 32px;
  max-height: 32px;
  object-fit: contain;
}

.facility-name {
  font-size: 11px;
  font-weight: var(--font-weight-medium);
  color: var(--color-white);
  line-height: 1.3;
  letter-spacing: 0.02em;
  max-width: 100%;
  white-space: nowrap;
  hyphens: auto;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  position: relative; /* 追加：確実に表示されるように */
  z-index: 10; /* 追加：他の要素の上に表示 */
}

.carousel-btn {
  width: 40px;
  height: 40px;
  display: flex;
  background-color: transparent;
  border: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
}
.carousel-btn img {
  width: 29px;
  height: auto;
}
.carousel-btn:hover {
  opacity: 0.5;
}

/* SP・タブレット用（321px〜768px）に3×5（デフォルト） */
@media screen and (max-width: 768px) and (min-width: 321px) {
  .facilities-carousel {
    max-width: 90% !important;
  }

  .carousel-container {
    min-height: 300px !important;
  }

  .facilities-grid {
    grid-template-columns: repeat(3, 1fr) !important; /* 3列を強制 */
    grid-template-rows: repeat(5, 1fr) !important;
    gap: var(--spacing-sm) !important;
    min-height: 300px !important;
    margin-bottom: var(--spacing-md) !important;
  }

  .facility-item {
    padding: var(--spacing-xs);
  }

  .facility-icon {
    width: 32px;
    height: 32px;
  }

  .facility-icon img {
    max-width: 20px;
    max-height: 20px;
  }

  .carousel-btn {
    width: 32px;
    height: 32px;
  }
}

/* 極小SP用（320px以下）に2×5 */
@media screen and (max-width: 320px) {
  .facilities-carousel {
    max-width: 95% !important;
  }

  .carousel-container {
    min-height: 280px !important;
  }

  .facilities-grid {
    grid-template-columns: repeat(2, 1fr) !important; /* 2列を強制 */
    grid-template-rows: repeat(5, 1fr) !important;
    gap: var(--spacing-xs) !important;
    min-height: 280px !important;
  }

  .facility-icon {
    width: 28px;
    height: 28px;
  }

  .facility-icon img {
    max-width: 18px;
    max-height: 18px;
  }

  .facility-name {
    font-size: 7px;
  }

  .carousel-controls {
    margin-top: var(--spacing-sm);
  }

  .carousel-btn {
    width: 28px;
    height: 28px;
  }

  .carousel-btn img {
    width: 20px;
  }
}

/* ============================================
   Floor Map ボタンとモーダル
============================================ */

/* Floor Mapポータルコンテナ */
.floor-map-portal-container {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9997 !important;
  pointer-events: none;
}

.floor-map-portal-container > * {
  pointer-events: auto;
}

/* Floor Mapモーダル - より高いz-indexと詳細な指定 */
.floor-map-overlay {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9998 !important;
  cursor: pointer;
}

.floor-map-modal {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) !important;
  background-color: var(--color-white);
  padding: var(--spacing-lg);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 9999 !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  margin: 0 !important;
  display: block !important;
}

/* モーダルが開いているときの親要素のtransform無効化 */
body.modal-open *:not(.floor-map-modal):not(.floor-map-overlay) {
  transform: none !important;
  transform-style: flat !important;
  will-change: auto !important;
}

body.modal-open .section-split,
body.modal-open .facilities-content,
body.modal-open #facilities {
  transform: none !important;
}

/* Floor Mapボタン */
.floor-map-button {
  display: inline-block;
  padding: 12px 30px 4px 36px;
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-white);
  border-radius: 10px;

  font-size: var(--font-size-md);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  font-family: "Mirza", serif;

  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
}

.floor-map-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.floor-map-close {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--color-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.floor-map-close:hover {
  color: var(--color-primary);
}

.floor-map-title {
  font-size: var(--font-size-xxl);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-normal);
  font-family: "Yatra One", system-ui;
  text-align: center;
  position: relative;
  padding-bottom: var(--spacing-lg);
}

.floor-map-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.floor-map-svg {
  width: 100%;
  height: auto;
  max-height: 500px;
  display: block;
  margin: 0 auto;
  object-fit: contain; /* 追加: アスペクト比を保持 */
}

/* ローディング・エラー状態のスタイル追加 */
.floor-map-loading,
.floor-map-error {
  text-align: center;
  padding: var(--spacing-xl);
  color: var(--color-secondary);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floor-map-error {
  color: var(--color-tertiary);
}

.floor-map-note {
  text-align: center;
  font-size: var(--font-size-base);
  color: var(--color-secondary);
  line-height: var(--line-height-relaxed);
  margin-top: var(--spacing-sm);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .floor-map-modal {
    padding: var(--spacing-md);
    width: 95%;
  }

  .floor-map-close {
    width: 32px;
    height: 32px;
    font-size: 24px;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
  }

  .floor-map-title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
  }

  .floor-map-svg {
    max-height: 400px;
  }

  .floor-map-note {
    font-size: 11px;
    padding: var(--spacing-xs) var(--spacing-sm);
  }
}

/* ============================================
   料金計算機能のスタイル
============================================ */

.price-calculator .form-group input:focus,
.price-calculator .form-group select:focus {
  outline: none;
}

.price-result {
}

.price-details {
  width: 100%;
}

.price-info {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: var(--font-size-md);
  flex-wrap: wrap;
}

.price-breakdown {
  margin-bottom: 1rem;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  align-items: flex-start;
}

.breakdown-description {
  color: #495057;
  flex: 1;
  margin-right: 1rem;
}

.breakdown-amount {
  font-weight: var(--font-weight-medium);
  color: var(--color-primary);
  white-space: nowrap;
}

.total-price {
  text-align: right;
  padding-top: 1rem;
  font-size: 1.1rem;
}

.price-waiting {
  text-align: center;
}

.price-waiting p {
  margin-bottom: 0;
}

/* 価格計算デバッグ情報 */
.price-debug-info {
  font-size: 11px;
  color: #999;
  /*margin-top: 12px;*/
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.price-debug-info span {
  white-space: nowrap;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .calculator-title {
    font-size: 1.3rem;
  }

  .price-info {
    flex-direction: column;
    gap: 0.5rem;
  }

  .breakdown-item {
    flex-direction: column;
    gap: 0.25rem;
    text-align: left;
    align-items: flex-start;
  }

  .breakdown-amount {
    text-align: right;
    align-self: flex-end;
  }

  .breakdown-description {
    margin-right: 0;
  }

  /* 価格計算デバッグ情報のレスポンシブ */
  .price-debug-info {
    flex-direction: column;
    gap: 8px;
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .price-calculator {
    padding: 1rem;
    margin: 1rem 0;
  }

  .calculator-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .price-calculator .form-group input,
  .price-calculator .form-group select {
    padding: 0.6rem;
    font-size: 0.85rem;
  }

  .form-group label {
    font-size: 0.8rem;
  }

  .price-result {
    padding: 1rem;
  }

  .price-result h4 {
    font-size: 1rem;
  }

  .breakdown-item {
    font-size: 0.8rem;
    padding: 0.4rem 0;
  }

  .total-price {
    font-size: 1rem;
  }

  /* 価格計算デバッグ情報 */
  .price-debug-info {
    font-size: 9px;
    gap: 6px;
  }
}

/* エラーハンドリング関連のスタイル */

/* モーダルエラー */
.date-error-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.date-error-modal {
  background-color: white;
  border-radius: 8px;
  padding: 24px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  text-align: center;
  position: relative;
}

.date-error-modal h3 {
  color: #d32f2f;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
}

.date-error-modal p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.date-error-modal button {
  background-color: #d32f2f;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 10px 24px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.date-error-modal button:hover {
  background-color: #b71c1c;
}

/* インライン通知 */
.inline-error-notification {
  background-color: #ffebee;
  border: 1px solid #ffcdd2;
  border-radius: 4px;
  padding: 12px 16px;
  margin: 16px 0;
  color: #c62828;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: slideInDown 0.3s ease-out;
}

.inline-error-notification button {
  background: none;
  border: none;
  color: #c62828;
  cursor: pointer;
  font-size: 18px;
  padding: 0;
  line-height: 1;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inline-error-notification button:hover {
  background-color: rgba(211, 47, 47, 0.1);
  border-radius: 50%;
}

/* エラー状態のフォームフィールド */
.wpcf7-form input.error-state,
.wpcf7-form select.error-state,
.wpcf7-form textarea.error-state {
  border-color: #d32f2f !important;
  background-color: #ffebee !important;
  box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.2) !important;
}

/* エラー状態のFlatpickr */
.flatpickr-input.error-state {
  border-color: #d32f2f !important;
  background-color: #ffebee !important;
  box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.2) !important;
}

/* トーストエラー（右上に表示） */
.toast-error {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #d32f2f;
  color: white;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  max-width: 300px;
  animation: slideInRight 0.3s ease-out;
}

.toast-error button {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 16px;
  padding: 0;
  margin-left: 8px;
}

/* アニメーション */
@keyframes slideInDown {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* フローティングエラーメッセージ（フォーム内） */
.floating-error-message {
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  background-color: #d32f2f;
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 12px;
  text-align: center;
  z-index: 1000;
  animation: slideInDown 0.3s ease-out;
}

.floating-error-message::before {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #d32f2f;
}

/* 日付フィールドのコンテナスタイル */
.date-field-container {
  position: relative;
}

/* Flatpickrカレンダーのカスタマイズ */
.flatpickr-calendar {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 8px !important;
}

.flatpickr-day.conflict {
  background-color: #ffebee !important;
  color: #d32f2f !important;
  border-color: #ffcdd2 !important;
}

.flatpickr-day.conflict:hover {
  background-color: #ffcdd2 !important;
  color: #b71c1c !important;
}

/* 予約済み日付のスタイル */
.flatpickr-day.reserved {
  background-color: #f5f5f5 !important;
  color: #9e9e9e !important;
  cursor: not-allowed !important;
  text-decoration: line-through;
}

/* 成功状態のフィールド */
.wpcf7-form input.success-state,
.wpcf7-form select.success-state {
  border-color: #4caf50 !important;
  background-color: #f1f8e9 !important;
  box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2) !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .date-error-modal {
    padding: 20px;
    margin: 0 16px;
  }

  .date-error-modal h3 {
    font-size: 16px;
  }

  .toast-error {
    right: 16px;
    left: 16px;
    max-width: none;
  }

  .inline-error-notification {
    padding: 10px 12px;
    font-size: 13px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .inline-error-notification button {
    align-self: flex-end;
    margin-top: -20px;
  }
}

@media (max-width: 480px) {
  .date-error-overlay {
    padding: 16px;
  }

  .date-error-modal {
    padding: 16px;
  }

  .floating-error-message {
    font-size: 11px;
    padding: 6px 10px;
  }
}

/* エラーモーダル */
.error-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.error-modal {
  background-color: white;
  border-radius: 8px;
  padding: 24px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.error-modal h3 {
  color: #d32f2f;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
}

.error-modal p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.error-modal button {
  background-color: #d32f2f;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 10px 24px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.error-modal button:hover {
  background-color: #b71c1c;
}

/* 料金計算機のスタイル強化 */
.price-calculator {
  background-color: var(--color-background-alt);
  padding: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.price-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
  font-size: var(--font-size-md);
  flex-wrap: wrap;
}

.total-price {
  font-size: 1.1rem;
}

.total-price strong {
  color: var(--color-primary);
}

/* 予約済み日付のFlatpickrスタイル */
.flatpickr-day.reserved {
  background-color: #f5f5f5 !important;
  color: #9e9e9e !important;
  cursor: not-allowed !important;
  text-decoration: line-through;
}

.flatpickr-day.reserved:hover {
  background-color: #f5f5f5 !important;
  color: #9e9e9e !important;
}

/* フォームフィールドのトランジション */
.reservation-page .wpcf7-form input,
.reservation-page .wpcf7-form select,
.reservation-page .wpcf7-form textarea {
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

/* 既存のエラーハンドリング関連のスタイルに追加 */

/* インライン日付エラーメッセージのスタイル */
.inline-date-error {
  margin: 16px 0;
  animation: slideInFromTop 0.3s ease-out;
  position: relative;
  z-index: 100;
}

.inline-date-error .error-content {
  background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
  border: 1px solid #ef5350;
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(239, 83, 80, 0.15);
  position: relative;
}

.inline-date-error .error-icon {
  font-size: 18px;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

.inline-date-error .error-message {
  flex: 1;
  font-size: 14px;
  color: #c62828;
  font-weight: 500;
  line-height: 1.4;
}

.inline-date-error .error-close {
  background: none;
  border: none;
  color: #c62828;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.inline-date-error .error-close:hover {
  background-color: rgba(198, 40, 40, 0.1);
  transform: scale(1.1);
}

.inline-date-error .error-close:active {
  transform: scale(0.95);
}

/* アニメーション */
@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* エラー状態の日付フィールドスタイル強化 */
.flatpickr-input.error-state,
.reservation-page .wpcf7-form input.error-state[type="date"] {
  border: 2px solid #ef5350 !important;
  background-color: #ffebee !important;
  box-shadow: 0 0 0 3px rgba(239, 83, 80, 0.1) !important;
  animation: errorShake 0.5s ease-in-out;
}

@keyframes errorShake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

/* より目立つエラー状態のスタイル */
.inline-date-error .error-content::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #d32f2f;
  border-radius: 4px 0 0 4px;
}

/* 成功状態のフィールド（エラー解消時） */
.flatpickr-input.success-state,
.reservation-page .wpcf7-form input.success-state[type="date"] {
  border: 2px solid #4caf50 !important;
  background-color: #f1f8e9 !important;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1) !important;
}

/* インラインエラーメッセージのレスポンシブ対応 */
@media (max-width: 768px) {
  .inline-date-error .error-content {
    padding: 10px 12px;
    gap: 8px;
  }

  .inline-date-error .error-message {
    font-size: 13px;
  }

  .inline-date-error .error-icon {
    font-size: 16px;
  }

  .inline-date-error .error-close {
    width: 20px;
    height: 20px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .inline-date-error {
    margin: 12px 0;
  }

  .inline-date-error .error-content {
    padding: 8px 10px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .inline-date-error .error-close {
    position: absolute;
    top: 8px;
    right: 8px;
  }

  .inline-date-error .error-message {
    font-size: 12px;
    padding-right: 30px;
  }
}

/* 固定ナビゲーション */
.fixed-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-sm) 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  transition: all var(--transition-base);
}

.fixed-nav-link {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-wide);
  font-family: "Mirza", serif;
  color: var(--color-primary);
  text-transform: uppercase;
  padding: 5px 10px;
  position: relative;
  white-space: nowrap;
  transition: all var(--transition-base);
  line-height: 1;
}

.fixed-nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 1px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.fixed-nav-link:hover::after,
.fixed-nav-link.active::after {
  transform: scaleX(1);
}

/* 固定ナビゲーション - 白色バージョン（PC専用） */
@media (min-width: 769px) {
  .fixed-nav.nav-white .fixed-nav-link {
    color: var(--color-white);
  }

  .fixed-nav.nav-white .fixed-nav-link::after {
    background-color: var(--color-white);
  }

  .fixed-nav.nav-white .fixed-nav-link:hover {
    opacity: 0.9;
  }
}
