/* ==========================================================================
   釧路シェアハウス「Zaimokku」＆ 南大通4マンション 公式Webサイト スタイルシート
   3つのデザインテーマ対応（CSSカスタムプロパティ）
   ========================================================================== */

/* --------------------------------------------------
   カラーパレット定義（3つのデザイン案）
-------------------------------------------------- */

/* --------------------------------------------------
   カラーパレット定義（2色仕様: 深緑 × ウォームアイボリー）
   ＆ 株式会社ファインダーズ（Finders Tokyo）タイポグラフィ
-------------------------------------------------- */

:root {
  /* 画像テクスチャ定義（ユーザー様追加の「物件紹介サイト用.jpg」） */
  --bg-deepgreen-img: url('../物件紹介サイト用.jpg');

  /* 2色パレット（深緑 × ウォームアイボリー #FAF5EB） */
  --color-primary: #19382b;         /* 深緑（メインキーカラー） */
  --color-primary-dark: #0e221a;    /* より深いフォレストブラック */
  --color-primary-light: #265440;   /* 明るめの深緑（ホバー等） */
  --color-primary-subtle: #edf5f1;  /* 深緑の極淡いティント */
  
  /* アクセント色も深緑とウォームアイボリーに統一 */
  --color-accent: #19382b;          /* 深緑 */
  --color-accent-hover: #265440;
  --color-accent-light: #edf5f1;
  --color-accent-border: #c4d7cd;
  
  --color-secondary-accent: #19382b;
  --color-tag-sharehouse: #19382b;
  --color-tag-monthly: #19382b;

  --color-bg-main: #FAF5EB;         /* ウォームアイボリー */
  --color-bg-card: #ffffff;
  --color-bg-alt: #f4ede1;          /* 落ち着いたアイボリー */
  --color-bg-warm: #FAF5EB;
  
  --color-text-main: #19382b;       /* 深緑テキスト */
  --color-text-muted: #53645b;      /* 落ち着いたフォレストグレー */
  --color-text-light: #ffffff;      /* ホワイトテキスト */
  --color-border: #ded7ca;          /* アイボリー系境界線 */
  --color-border-subtle: #eae4d8;
  
  /* 株式会社ファインダーズ参考 タイポグラフィ ＆ スイス・ボールド */
  --font-en: 'Plus Jakarta Sans', 'Montserrat', "Helvetica Neue", -apple-system, sans-serif;
  --font-jp: 'Noto Sans JP', "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-serif: 'Shippori Mincho', serif;

  --shadow-sm: 0 2px 10px -2px rgba(25, 56, 43, 0.05);
  --shadow-md: 0 8px 24px -4px rgba(25, 56, 43, 0.08);
  --shadow-lg: 0 16px 36px -6px rgba(25, 56, 43, 0.12);
}

/* --------------------------------------------------
   ベースリセット & タイポグラフィ
-------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-jp);
  color: var(--color-text-main);
  background-color: var(--color-bg-main);
  line-height: 1.85;
  letter-spacing: 0.04em;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* スクリーンリーダー・検索エンジン向け補助テキスト（視覚デザインを維持） */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* --------------------------------------------------
   1. デザイン切替コントロールバー（最上部固定・完全1行仕様）
-------------------------------------------------- */
.theme-selector-bar {
  display: none !important;
}

/* --------------------------------------------------
   2. サイトヘッダー & ナビゲーション（完全1行仕様）
-------------------------------------------------- */
.site-header {
  background: linear-gradient(rgba(18, 43, 33, 0.78), rgba(18, 43, 33, 0.88)), var(--bg-deepgreen-img) center/cover no-repeat;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(250, 245, 235, 0.12);
  position: sticky;
  top: 0;
  z-index: 990;
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  max-width: 1140px;
  margin: 0 auto;
  flex-wrap: nowrap;
  gap: 14px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
  text-decoration: none;
}

.brand-icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.3s ease;
  flex-shrink: 0;
}

.brand-title {
  font-family: var(--font-en);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  flex-shrink: 1;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  position: relative;
  padding: 6px 0;
  text-decoration: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width 0.25s ease;
}

.nav-link:hover {
  color: #ffffff;
  opacity: 0.85;
}

.nav-link:hover::after {
  width: 100%;
}

.header-cta-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.header-tel-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.86rem;
  padding: 7px 12px;
  border-radius: 6px;
  background: #ffffff;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

.header-tel-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: var(--color-primary);
}

.header-tel-link:hover {
  background: #FAF5EB;
  color: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.header-btn {
  background: #ffffff;
  color: var(--color-primary);
  padding: 7px 16px;
  border-radius: 6px;
  font-family: var(--font-jp);
  font-weight: 800;
  font-size: 0.86rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.header-btn:hover {
  background: #FAF5EB;
  color: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: #ffffff;
}

.mobile-nav-toggle svg {
  width: 24px;
  height: 24px;
  stroke: #ffffff;
}

/* --------------------------------------------------
   3. ヒーローセクション (Hero) - 案1 明るい背景バージョン
-------------------------------------------------- */
.hero-section {
  position: relative;
  background: #FAF5EB;
  color: var(--color-text-main);
  padding: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.hero-section::before {
  display: none;
}

/* 1画面完結ファーストビュー (Header直下に100vhでぴったり収まる設計) */
.hero-first-screen {
  width: 100%;
  height: calc(100vh - 58px);
  height: calc(100dvh - 58px);
  max-height: calc(100vh - 58px);
  max-height: calc(100dvh - 58px);
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-title-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px 6px;
  text-align: center;
  flex-shrink: 0;
  box-sizing: border-box;
  z-index: 2;
}

.hero-issue-tag {
  font-family: var(--font-en);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  display: block;
  margin-bottom: 4px;
  opacity: 0.85;
}

.hero-title {
  font-family: var(--font-jp);
  font-size: clamp(1.35rem, 2.5vw, 2.25rem);
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.28;
  margin: 0;
  letter-spacing: -0.01em;
}

.hero-phrase-nowrap {
  white-space: nowrap;
  display: inline-block;
}

.hero-title-space {
  display: inline-block;
}

.hero-br-sp {
  display: none;
}

.hero-highlight {
  color: #B84725;
  position: relative;
  display: inline-block;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.hero-highlight::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 0.22em;
  background: rgba(184, 71, 37, 0.28);
  border-radius: 2px;
}

/* 釧路シネマティック動画（ズームアウト時も全画面・パノラマイラストを完全表示） */
.hero-video-fullwidth {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  background: #FAF5EB;
  padding: 4px 16px;
  box-sizing: border-box;
}

.hero-video-frame {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 1376 / 768;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.hero-video-player,
.hero-video-fallback {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

/* 再生コントロール（ホバー時表示） */
.hero-video-overlay-btn {
  position: absolute;
  bottom: 14px;
  right: 18px;
  background: rgba(24, 51, 43, 0.65);
  backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 20px;
  padding: 5px 12px 5px 10px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  user-select: none;
  opacity: 0;
}

.hero-video-frame:hover .hero-video-overlay-btn,
.hero-video-fullwidth:hover .hero-video-overlay-btn {
  opacity: 0.9;
}

.hero-video-btn-icon {
  width: 13px;
  height: 13px;
}

.hero-video-overlay-btn .play-icon {
  display: none;
}
.hero-video-overlay-btn .pause-icon {
  display: block;
}

.hero-video-overlay-btn.paused {
  background: rgba(25, 56, 43, 0.9);
}

.hero-video-overlay-btn.paused .play-icon {
  display: block;
}
.hero-video-overlay-btn.paused .pause-icon {
  display: none;
}

/* 2大物件ジャンプカードセクション (ファーストビュー直下) */
.hero-cards-section {
  padding: 56px 0 80px;
  background: #FAF5EB;
}

.hero-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 10px;
  text-align: left;
}

.hero-card {
  background: #ffffff;
  color: var(--color-text-main);
  border-radius: 12px;
  padding: 34px 32px 30px;
  box-shadow: 0 10px 30px -4px rgba(25, 56, 43, 0.08);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -6px rgba(25, 56, 43, 0.15);
  border-color: var(--color-primary);
}

.hero-card::before {
  display: none;
}

.hero-card-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  align-self: flex-start;
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  box-shadow: 0 2px 8px rgba(25, 56, 43, 0.15);
}

.badge-green, .badge-orange {
  background: var(--color-primary);
  color: #ffffff;
  border: none;
}

.hero-card-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  line-height: 1.35;
  letter-spacing: 0.03em;
}

.hero-card-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.hero-card-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-card-point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-main);
  white-space: nowrap;
}

.hero-card-point svg {
  width: 14px;
  height: 14px;
  stroke: var(--color-primary);
  flex-shrink: 0;
}

.hero-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  transition: all 0.25s ease;
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(25, 56, 43, 0.18);
}

.hero-card-link:hover {
  background: var(--color-primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(25, 56, 43, 0.25);
}

.link-share, .link-monthly {
  background: var(--color-primary);
  color: #ffffff;
  border: none;
}

.link-share:hover, .link-monthly:hover {
  background: var(--color-primary-dark);
  color: #ffffff;
}

/* --------------------------------------------------
   共通セクション見出し (スイス・スタイル 左右非対称グリッド)
-------------------------------------------------- */
.section-padding {
  padding: 88px 0;
}

.section-padding-sm {
  padding: 50px 0;
}

.section-header {
  text-align: left;
  max-width: 100%;
  margin: 0 0 54px 0;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 36px;
  align-items: flex-end;
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 28px;
}

.chapter-giant-num {
  font-family: var(--font-en);
  font-size: clamp(4.5rem, 7.5vw, 6.2rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--color-primary);
  display: block;
  user-select: none;
}

.section-header-content {
  display: flex;
  flex-direction: column;
}

.section-en-title {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  opacity: 0.8;
  margin-bottom: 8px;
  display: block;
}

.section-en-title::before,
.section-en-title::after {
  display: none !important;
}

.section-main-title {
  font-family: var(--font-jp);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.25;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.section-lead {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.85;
  max-width: 820px;
}

@media (max-width: 768px) {
  .section-header {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 40px;
    padding-bottom: 20px;
  }
  .chapter-giant-num {
    font-size: 3.8rem;
    line-height: 0.9;
  }
}

/* --------------------------------------------------
   4. シェアハウス「Zaimokku」セクション
-------------------------------------------------- */
.section-sharehouse {
  background-color: var(--color-bg-main);
  position: relative;
}

/* 01ヘッダー右側の3Dアイコン浮遊配置（見出し文字サイズは全章共通ルールを完全維持） */
.section-header-sharehouse {
  position: relative;
}

.section-header-sharehouse .section-header-content {
  padding-right: 210px;
}

.section-header-badge {
  position: absolute;
  right: 0;
  top: 8px;
  bottom: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.zaimokku-3d-floating-icon {
  width: 195px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.20));
  animation: floatUpDown 3s ease-in-out infinite;
  will-change: transform, filter;
  pointer-events: none;
  user-select: none;
}

@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(0);
    filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.22));
  }
  50% {
    transform: translateY(-14px);
    filter: drop-shadow(0 24px 22px rgba(0, 0, 0, 0.13));
  }
}

@media (max-width: 1080px) {
  .section-header-sharehouse .section-header-content {
    padding-right: 0;
  }
  .section-header-badge {
    position: static;
    margin-top: 18px;
    grid-column: 1 / -1;
  }
  .zaimokku-3d-floating-icon {
    width: 160px;
  }
}

@media (max-width: 768px) {
  .section-header-badge {
    grid-column: 1;
    margin-top: 12px;
  }
  .zaimokku-3d-floating-icon {
    width: 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zaimokku-3d-floating-icon {
    animation: none;
  }
}

/* シェアハウス公式ステートメントカード (Richness in a share house) */
.sharehouse-concept-card {
  position: relative;
  max-width: 720px;
  margin: 0 auto 56px;
  background: linear-gradient(rgba(14, 36, 27, 0.76), rgba(14, 36, 27, 0.86)), var(--bg-deepgreen-img) center/cover no-repeat;
  border-radius: 14px;
  padding: 52px 42px;
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 16px 40px -8px rgba(16, 37, 28, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
}

.sharehouse-concept-card::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  pointer-events: none;
}

.concept-watermark {
  position: absolute;
  top: -20px;
  right: 24px;
  font-family: var(--font-en);
  font-size: 150px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
  font-weight: 900;
  user-select: none;
}

.concept-card-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.concept-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: #ffffff;
  opacity: 0.85;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.concept-en-title {
  font-family: var(--font-en);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 18px;
}

.concept-divider {
  width: 44px;
  height: 1px;
  background: #ffffff;
  opacity: 0.5;
  margin: 0 auto 24px;
}

.concept-jp-lead {
  font-size: 1.02rem;
  line-height: 2.2;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.concept-conclusion {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  color: #ffffff;
}

/* 学生応援キャンペーンバナー (深緑テクスチャ × ウォームアイボリー 2色仕様) */
.campaign-banner {
  background: linear-gradient(rgba(18, 43, 33, 0.78), rgba(18, 43, 33, 0.88)), var(--bg-deepgreen-img) center/cover no-repeat;
  border-radius: 14px;
  color: #ffffff;
  padding: 32px 38px;
  margin-bottom: 44px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
  align-items: center;
  box-shadow: 0 8px 26px rgba(25, 56, 43, 0.18);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.campaign-tag-badge {
  background: #ffffff;
  color: var(--color-primary);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.campaign-title {
  font-size: 1.38rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  color: #ffffff;
}

.campaign-highlight {
  color: #ffffff;
  font-family: var(--font-en);
  font-size: 1.75rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.6);
  text-underline-offset: 4px;
}

.campaign-desc {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 16px;
}

.campaign-img-wrapper {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  background: #fff;
  transition: transform 0.3s ease;
  max-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.campaign-img-wrapper img {
  max-height: 250px;
  width: auto;
  object-fit: contain;
  display: block;
}

.campaign-img-wrapper:hover {
  transform: scale(1.02);
}

/* =================================================================
   Uiverse 3D Cards (Features & Amenities)
   Customized for Japanese Editorial & Swiss Warm Ivory/Deep Green
================================================================= */
.features-grid,
.amenities-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
  margin-bottom: 50px;
  align-items: stretch;
}

.parent {
  width: 100%;
  height: 100%;
  padding: 8px 3px;
  perspective: 1000px;
  box-sizing: border-box;
  transition: z-index 0.3s ease;
  display: flex;
}

.parent:hover {
  z-index: 10;
  position: relative;
}

.card {
  padding-top: 48px;
  border: 2px solid var(--color-primary);
  border-radius: 12px;
  transform-style: preserve-3d;
  background: linear-gradient(135deg, #0000 18.75%, #FAF5EB 0 31.25%, #0000 0),
    repeating-linear-gradient(45deg, #FAF5EB -6.25% 6.25%, var(--color-primary) 0 18.75%);
  background-size: 40px 40px;
  background-position: 0 0, 0 0;
  background-color: var(--color-primary);
  width: 100%;
  height: 100%;
  box-shadow: rgba(26, 56, 43, 0.16) 0px 22px 28px -10px;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.card:hover {
  background-position: -80px 80px, -80px 80px;
  transform: rotate3d(0.4, 1, 0, 22deg);
  box-shadow: rgba(26, 56, 43, 0.28) -12px 30px 36px -8px;
}

.content-box {
  background: #ffffff;
  border-radius: 0 0 10px 10px;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding: 24px 16px 20px 16px;
  transform-style: preserve-3d;
  border-top: 1px solid rgba(26, 56, 43, 0.12);
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.content-box-inner {
  transform-style: preserve-3d;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #FAF5EB;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: all 0.5s ease-in-out;
  transform: translate3d(0px, 0px, 40px);
}

.card-icon-wrap svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-primary);
  flex-shrink: 0;
}

.content-box .card-title {
  display: block;
  color: var(--color-primary);
  font-size: clamp(0.88rem, 1.05vw, 0.98rem);
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 10px;
  white-space: nowrap;
  transition: all 0.5s ease-in-out;
  transform: translate3d(0px, 0px, 45px);
}

.content-box .card-title:hover {
  transform: translate3d(0px, 0px, 55px);
}

.content-box .card-content {
  margin: 0 0 16px 0;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--color-text-muted);
  line-height: 1.65;
  transition: all 0.5s ease-in-out;
  transform: translate3d(0px, 0px, 25px);
  flex-grow: 1;
}

.content-box .card-content:hover {
  transform: translate3d(0px, 0px, 45px);
}

.content-box .see-more {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--color-primary);
  padding: 6px 12px;
  border-radius: 4px;
  transition: all 0.4s ease-in-out;
  transform: translate3d(0px, 0px, 20px);
  align-self: flex-start;
  user-select: none;
}

.content-box .see-more:hover {
  transform: translate3d(0px, 0px, 50px);
  background: #0e241b;
}

.date-box {
  position: absolute;
  top: 14px;
  right: 18px;
  height: 48px;
  width: 48px;
  background: var(--color-primary);
  border: 1.5px solid #FAF5EB;
  border-radius: 10px;
  transform: translate3d(0px, 0px, 75px);
  box-shadow: rgba(26, 56, 43, 0.35) 0px 10px 14px -4px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease-in-out;
}

.card:hover .date-box {
  transform: translate3d(0px, 0px, 85px) rotate(5deg);
  background: #0e241b;
}

.date-box svg {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
  flex-shrink: 0;
}

/* シェアハウス間取り＆写真 */
.room-gallery-box {
  background: #ffffff;
  color: var(--color-text-main);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 30px -4px rgba(25, 56, 43, 0.08);
  margin-bottom: 48px;
}

.room-box-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 14px;
}

.room-box-title {
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 900;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

.floorplan-container {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 36px;
  background: #FAF5EB;
  padding: 30px;
  border-radius: 14px;
  border: 1px solid var(--color-border);
}

.floorplan-img-card {
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 2px solid var(--color-border);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(25, 56, 43, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floorplan-img-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(25, 56, 43, 0.14);
}

.floorplan-info h4 {
  font-size: 1.28rem;
  color: var(--color-primary);
  margin-bottom: 14px;
  font-weight: 800;
}

.floorplan-info ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floorplan-info li {
  font-size: 0.96rem;
  color: var(--color-text-main);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.65;
}

.floorplan-info li svg {
  width: 15px;
  height: 15px;
  stroke: var(--color-primary);
  flex-shrink: 0;
  margin-top: 4px;
}

/* 個室ギャラリーカード（洋室A〜E） - 洗練されたモダン建築カード（スイス仕様） */
.room-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.room-card {
  border-radius: 12px;
  background: #ffffff;
  color: var(--color-text-main);
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 24px -4px rgba(25, 56, 43, 0.08);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.room-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: 0 16px 36px -4px rgba(25, 56, 43, 0.14);
}

.room-card-thumb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  height: 210px;
  margin: 12px 12px 0;
  border-radius: 8px;
  overflow: hidden;
  background: #FAF5EB;
  padding: 0;
  border: none;
  box-shadow: none;
}

.room-card-thumb-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.room-card-thumb-grid img:hover {
  transform: scale(1.06);
  z-index: 2;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

/* 写真準備中用プレースホルダー */
.room-card-placeholder {
  height: 210px;
  margin: 12px 12px 0;
  border-radius: 8px;
  background: #FAF5EB;
  border: 1px dashed var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  padding: 16px;
  text-align: center;
  gap: 8px;
}

.placeholder-badge {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: var(--color-primary);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 20px;
  border: none;
  box-shadow: 0 2px 8px rgba(25, 56, 43, 0.15);
}

.placeholder-desc {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
}

.room-card-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.room-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.room-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.room-card-size {
  font-family: var(--font-en);
  font-size: 0.82rem;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: var(--color-primary);
  border: none;
  border-radius: 20px;
  padding: 4px 12px;
  box-shadow: 0 2px 8px rgba(25, 56, 43, 0.15);
}

.room-card-rent {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 6px 14px;
  font-family: var(--font-en);
  font-size: 1.22rem;
  font-weight: 800;
  margin-bottom: 12px;
  width: fit-content;
}

.room-card-specs {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.room-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(25, 56, 43, 0.2);
  transition: all 0.25s ease;
  margin-top: auto;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
}

.room-card-cta:hover {
  background: var(--color-primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(25, 56, 43, 0.28);
}

.room-card-cta:active {
  transform: translateY(1px);
}

/* 各部屋共通家具ボックス */
.common-furniture-box {
  background: #ffffff;
  color: var(--color-text-main);
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 28px;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 16px -2px rgba(25, 56, 43, 0.06);
}

.common-furniture-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.common-furniture-tags {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 5px;
  justify-content: space-between;
  width: 100%;
}

.furniture-tag {
  background: var(--color-primary);
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: clamp(0.66rem, 0.78vw, 0.76rem);
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(25, 56, 43, 0.12);
  transition: all 0.2s ease;
  white-space: nowrap !important;
  flex: 1 1 auto;
  text-align: center;
}

.furniture-tag:hover {
  background: var(--color-primary-dark);
  color: #ffffff;
  transform: translateY(-1px);
}

.common-furniture-tags.wrap {
  flex-wrap: wrap !important;
  gap: 8px 10px !important;
  justify-content: flex-start !important;
}

.common-furniture-tags.wrap .furniture-tag {
  flex: 0 1 auto !important;
  font-size: 0.82rem !important;
  padding: 6px 14px !important;
}

.monthly-furniture-box {
  margin-top: 30px;
  margin-bottom: 40px;
}

/* 料金案内テーブル (スイス・カタログ仕様) */
.pricing-card {
  background: #ffffff;
  color: var(--color-text-main);
  border-radius: 16px;
  padding: 36px;
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 30px -4px rgba(25, 56, 43, 0.08);
  margin-bottom: 40px;
}

.pricing-table-wrap {
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.pricing-table th, .pricing-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.pricing-table th {
  background: #FAF5EB;
  color: var(--color-primary);
  font-weight: 700;
  width: 28%;
}

.pricing-table td {
  background: transparent;
  color: var(--color-text-main);
}

.price-em {
  font-family: var(--font-en);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
}

/* 釧路新聞メディア掲載ブロック */
.media-proof-box {
  background: linear-gradient(rgba(14, 36, 27, 0.78), rgba(14, 36, 27, 0.88)), var(--bg-deepgreen-img) center/cover no-repeat;
  border-radius: 16px;
  padding: 26px 30px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 4px solid #ffffff;
  color: #ffffff;
  box-shadow: 0 8px 30px -4px rgba(16, 37, 28, 0.25);
}

.media-proof-img {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  background: #fff;
}

.media-proof-badge {
  display: inline-block;
  background: #ffffff;
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 10px;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.media-proof-title {
  font-size: clamp(1.08rem, 1.55vw, 1.3rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.4;
  white-space: nowrap;
}

.media-proof-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
}

/* --------------------------------------------------
   5. マンスリーマンション「南大通4マンション」セクション
-------------------------------------------------- */
.section-monthly {
  background-color: var(--color-bg-alt);
  position: relative;
}

/* マンション全体概要ヘッダーカード */
.building-overview-card {
  background: #ffffff;
  color: var(--color-text-main);
  border-radius: 14px;
  padding: 32px 34px;
  margin-bottom: 44px;
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 32px;
  align-items: center;
  box-shadow: 0 10px 30px -4px rgba(25, 56, 43, 0.08);
  border: 1px solid var(--color-border);
}

.building-photo-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  background: #000;
}

.building-photo-wrap img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.building-photo-wrap:hover img {
  transform: scale(1.03);
}

.building-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #fff;
  padding: 16px;
  font-size: 0.88rem;
  font-weight: 600;
}

.building-info-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.building-spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.spec-chip {
  background: var(--color-primary);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border-radius: 20px;
  border: none;
  box-shadow: 0 2px 6px rgba(25, 56, 43, 0.12);
  white-space: nowrap;
}

.spec-chip.highlight {
  background: var(--color-primary-dark);
  color: #ffffff;
  border: none;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(25, 56, 43, 0.18);
}

.building-desc {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--color-text-main);
  margin-bottom: 20px;
}

.stay-term-alert {
  background: #FAF5EB;
  border-left: 4px solid var(--color-primary);
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  border-top: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stay-term-alert .alert-badge {
  background: var(--color-primary);
  color: #ffffff;
  font-size: 0.76rem;
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.spec-table th, .spec-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--color-border);
}

.spec-table th {
  color: var(--color-text-muted);
  width: 28%;
  font-weight: 700;
}

.spec-table td {
  font-weight: 600;
  color: var(--color-text-main);
}

/* 部屋切り替えタブ - 洗練されたモダン建築タブ */
.room-tabs-wrapper {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 32px -4px rgba(25, 56, 43, 0.08);
  overflow: hidden;
  margin-bottom: 50px;
  position: relative;
  color: var(--color-text-main);
}

.tabs-nav {
  display: flex;
  background: #FAF5EB;
  border-bottom: 1px solid var(--color-border);
  padding: 10px 14px 0;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  box-shadow: none;
  scrollbar-width: thin;
}

.tab-btn {
  padding: 12px 16px;
  font-family: var(--font-en), var(--font-ja);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  background: transparent;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.tab-btn:hover {
  color: var(--color-primary);
  background: rgba(25, 56, 43, 0.05);
}

.tab-btn.active {
  color: var(--color-primary);
  background: #ffffff;
  border-color: var(--color-border);
  border-bottom: none;
  margin-bottom: 0;
  z-index: 3;
  box-shadow: 0 -2px 8px rgba(25, 56, 43, 0.05);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-primary);
  border-radius: 3px 3px 0 0;
}

.tab-pane {
  display: none;
  padding: 38px;
  animation: tabFadeIn 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tab-pane.active {
  display: block;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.995);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.monthly-room-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 36px;
  align-items: start;
}

.monthly-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.monthly-photo-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 195px;
  background: #111;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(25, 56, 43, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  border: 1px solid rgba(25, 56, 43, 0.08);
}

.monthly-photo-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(25, 56, 43, 0.16);
  z-index: 2;
}

.monthly-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.monthly-photo-item:hover img {
  transform: scale(1.05);
}

.photo-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 4px;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.monthly-room-details h4 {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
  line-height: 1.35;
}

.monthly-room-taste {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  background: var(--color-primary-subtle);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 16px;
}

.monthly-room-desc {
  font-size: 0.93rem;
  line-height: 1.85;
  color: var(--color-text-muted);
  margin-bottom: 22px;
}

.monthly-floorplan-preview {
  background: #FAF5EB;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(25, 56, 43, 0.05);
  transition: all 0.25s ease;
}

.monthly-floorplan-preview:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary);
  box-shadow: 0 8px 18px rgba(25, 56, 43, 0.1);
}

.monthly-floorplan-preview img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 4px;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.monthly-floorplan-preview div h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.monthly-floorplan-preview div p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.room-amenities-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.amenity-tag {
  background: #FAF5EB;
  border: 1px solid var(--color-border);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  user-select: none;
  cursor: default;
}

.amenity-tag:hover {
  background: #ffffff;
  border-color: var(--color-primary);
  transform: translateY(-1px);
}

.amenity-tag .tag-dot {
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
}

.room-inquiry-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 24px;
  border-radius: 8px;
  background: var(--color-primary);
  border: none;
  color: #ffffff;
  font-family: var(--font-en), var(--font-ja);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 16px rgba(25, 56, 43, 0.2);
  transition: all 0.25s ease;
  cursor: pointer;
  text-decoration: none;
}

.room-inquiry-cta:hover {
  background: var(--color-primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(25, 56, 43, 0.28);
}

/* 設備・アメニティ総合グリッド（Uiverse 3D Cardパーツ共通スタイル適用） */
/* スタイル定義は上の「Uiverse 3D Cards」セクションに統合 */

/* --------------------------------------------------
   6. オーナー紹介セクション ＆ 線上を歩く3Dアバター
-------------------------------------------------- */
.section-owner {
  background: var(--color-bg-main);
}

.section-header-owner {
  position: relative;
  overflow: visible;
}

/* 歩行トラック（ヘッダー下線の全幅） */
.owner-walking-track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px; /* 下線（border-bottom: 2px solid var(--color-primary)）の真上に足を接地 */
  height: 144px;
  pointer-events: none;
  z-index: 10;
}

/* アバター本体（横移動トラックのみ担当） */
.owner-walking-avatar {
  position: absolute;
  bottom: 0;
  width: 72px;
  height: 144px;
  cursor: pointer;
  pointer-events: auto;
  animation: ownerWalkTrack 16s ease-in-out infinite;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  border: none;
}

.owner-walking-avatar:focus,
.owner-walking-avatar:focus-visible {
  outline: none;
}

/* キャラクター本体（向きの反転を担当・吹き出しには影響しない） */
.avatar-walker-body {
  position: relative;
  width: 100%;
  height: 100%;
  transform-origin: bottom center;
  animation: ownerWalkFacing 16s ease-in-out infinite;
}

/* スプライト画像（歩行＆手振りを重ねて配置） */
.avatar-walker-sprite {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.22));
  transform-origin: bottom center;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 歩行スプライト: 移動中は表示、停止して手を振る間は非表示 */
.walk-sprite {
  opacity: 1;
  animation: spriteWalkSwitch 16s ease-in-out infinite, ownerBobbing 0.48s ease-in-out infinite alternate;
}

/* 手振りスプライト: 移動中は非表示、停止して手を振る間は表示 */
.wave-sprite {
  opacity: 0;
  animation: spriteWaveSwitch 16s ease-in-out infinite;
}

/* 線の上に落ちるリアルな足元シャドウ */
.avatar-walker-shadow {
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 7px;
  background: rgba(25, 56, 43, 0.45);
  border-radius: 50%;
  filter: blur(2px);
  animation: shadowPulse 0.48s ease-in-out infinite alternate;
}

/* 吹き出し（セリフ・常に正位置で文字が反転しない） */
.avatar-speech-bubble {
  position: absolute;
  bottom: 154px;
  left: 50%;
  transform: translateX(-50%) scale(0.85);
  background: #ffffff;
  color: var(--color-primary);
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(25, 56, 43, 0.2);
  border: 1.5px solid var(--color-primary);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 20;
  animation: bubbleAutoPopup 16s ease-in-out infinite;
}

/* 吹き出しのしっぽ */
.avatar-speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 7px 6px 0;
  border-style: solid;
  border-color: #ffffff transparent transparent;
  display: block;
  width: 0;
}
.avatar-speech-bubble::before {
  content: '';
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px 7px 0;
  border-style: solid;
  border-color: var(--color-primary) transparent transparent;
  display: block;
  width: 0;
}

/* ホバー時＆アクティブ時: 一時停止＆正面を向いて手振りに切り替え＆吹き出しオープン！ */
.owner-walking-avatar:hover,
.owner-walking-avatar.active {
  animation-play-state: paused;
}
.owner-walking-avatar:hover .avatar-walker-body,
.owner-walking-avatar.active .avatar-walker-body {
  animation-play-state: paused;
  transform: scaleX(1);
}
.owner-walking-avatar:hover .walk-sprite,
.owner-walking-avatar.active .walk-sprite {
  opacity: 0 !important;
  animation-play-state: paused;
}
.owner-walking-avatar:hover .wave-sprite,
.owner-walking-avatar.active .wave-sprite {
  opacity: 1 !important;
  animation-play-state: paused;
  transform: scale(1.08);
}
.owner-walking-avatar:hover .avatar-speech-bubble,
.owner-walking-avatar.active .avatar-speech-bubble {
  opacity: 1 !important;
  transform: translateX(-50%) scale(1) translateY(-4px) !important;
  animation-play-state: paused;
}

/* クリック時のジャンプアクション */
.owner-walking-avatar.jumping .avatar-walker-sprite {
  animation: avatarJump 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ===================================================
   Keyframes アニメーション（16秒サイクル）
   - 0%〜35%: 右へ歩行
   - 35%〜50%: 立ち止まって手を振る＆吹き出しオープン
   - 50%〜53%: 左向きに反転
   - 53%〜85%: 左へ歩行
   - 85%〜100%: 立ち止まって手を振る＆吹き出しオープン
=================================================== */

/* 1. 線の上を歩く横移動 */
@keyframes ownerWalkTrack {
  0% { left: 45%; }
  35% { left: 88%; }
  50% { left: 88%; }
  85% { left: 45%; }
  100% { left: 45%; }
}

/* 2. キャラクター本体の向き反転 */
@keyframes ownerWalkFacing {
  0%, 34% { transform: scaleX(1); } /* 右向き */
  35%, 50% { transform: scaleX(1); } /* 正面（手振り） */
  53%, 84% { transform: scaleX(-1); } /* 左向き */
  85%, 100% { transform: scaleX(1); } /* 正面（手振り） */
}

/* 3. 歩行スプライトの切り替え */
@keyframes spriteWalkSwitch {
  0%, 34% { opacity: 1; }
  35%, 51% { opacity: 0; }
  52%, 84% { opacity: 1; }
  85%, 100% { opacity: 0; }
}

/* 4. 手振りスプライトの切り替え */
@keyframes spriteWaveSwitch {
  0%, 34% { opacity: 0; }
  35%, 51% { opacity: 1; }
  52%, 84% { opacity: 0; }
  85%, 100% { opacity: 1; }
}

/* 5. 吹き出しの自動ポップアップ */
@keyframes bubbleAutoPopup {
  0%, 34% {
    opacity: 0;
    transform: translateX(-50%) scale(0.85);
  }
  37%, 48% {
    opacity: 1;
    transform: translateX(-50%) scale(1) translateY(-4px);
  }
  51%, 84% {
    opacity: 0;
    transform: translateX(-50%) scale(0.85);
  }
  87%, 97% {
    opacity: 1;
    transform: translateX(-50%) scale(1) translateY(-4px);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) scale(0.85);
  }
}

/* 6. 歩行時のリアルなトコトコ・ボブ動作（上下＆左右の微傾き） */
@keyframes ownerBobbing {
  0% {
    transform: translateY(0) rotate(-2deg);
  }
  100% {
    transform: translateY(-3px) rotate(2deg);
  }
}

/* 7. 足元シャドウの伸縮 */
@keyframes shadowPulse {
  0% {
    transform: translateX(-50%) scaleX(1);
    opacity: 0.85;
  }
  100% {
    transform: translateX(-50%) scaleX(0.72);
    opacity: 0.45;
  }
}

/* 8. クリック時のハイジャンプ */
@keyframes avatarJump {
  0%, 100% { transform: translateY(0) scale(1); }
  35% { transform: translateY(-30px) scale(1.15); }
  65% { transform: translateY(2px) scale(0.92, 1.08); }
}

/* レスポンシブ対応 (モバイル・タブレット) */
@media (max-width: 768px) {
  .owner-walking-track {
    height: 110px;
  }
  .owner-walking-avatar {
    width: 55px;
    height: 110px;
    animation: ownerWalkTrackMobile 12s ease-in-out infinite;
  }
  .avatar-walker-body {
    animation: ownerWalkFacingMobile 12s ease-in-out infinite;
  }
  .walk-sprite {
    animation: spriteWalkSwitchMobile 12s ease-in-out infinite, ownerBobbing 0.48s ease-in-out infinite alternate;
  }
  .wave-sprite {
    animation: spriteWaveSwitchMobile 12s ease-in-out infinite;
  }
  .avatar-speech-bubble {
    font-size: 0.72rem;
    padding: 6px 10px;
    bottom: 118px;
    left: auto;
    right: -16px;
    transform: none;
    white-space: nowrap;
    animation: bubbleAutoPopupMobile 12s ease-in-out infinite;
  }
  .avatar-speech-bubble::after {
    left: auto;
    right: 28px;
    transform: none;
  }
  .avatar-speech-bubble::before {
    left: auto;
    right: 27px;
    transform: none;
  }
  .owner-walking-avatar:hover .avatar-speech-bubble,
  .owner-walking-avatar.active .avatar-speech-bubble {
    transform: translateY(-4px) !important;
  }
}

@keyframes ownerWalkTrackMobile {
  0% { left: 52%; }
  35% { left: 82%; }
  50% { left: 82%; }
  85% { left: 52%; }
  100% { left: 52%; }
}

@keyframes ownerWalkFacingMobile {
  0%, 34% { transform: scaleX(1); }
  35%, 50% { transform: scaleX(1); }
  53%, 84% { transform: scaleX(-1); }
  85%, 100% { transform: scaleX(1); }
}

@keyframes spriteWalkSwitchMobile {
  0%, 34% { opacity: 1; }
  35%, 51% { opacity: 0; }
  52%, 84% { opacity: 1; }
  85%, 100% { opacity: 0; }
}

@keyframes spriteWaveSwitchMobile {
  0%, 34% { opacity: 0; }
  35%, 51% { opacity: 1; }
  52%, 84% { opacity: 0; }
  85%, 100% { opacity: 1; }
}

@keyframes bubbleAutoPopupMobile {
  0%, 34% { opacity: 0; transform: translateY(0); }
  37%, 48% { opacity: 1; transform: translateY(-4px); }
  51%, 84% { opacity: 0; transform: translateY(0); }
  87%, 97% { opacity: 1; transform: translateY(-4px); }
  100% { opacity: 0; transform: translateY(0); }
}

.owner-card {
  background: linear-gradient(rgba(14, 36, 27, 0.78), rgba(14, 36, 27, 0.88)), var(--bg-deepgreen-img) center/cover no-repeat;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 40px -4px rgba(10, 24, 18, 0.35);
  padding: 52px;
  display: grid;
  grid-template-columns: 300px 1.6fr;
  gap: 48px;
  align-items: center;
  color: #ffffff;
}

.owner-photo-wrap {
  text-align: center;
}

.owner-photo-wrap img {
  width: 270px;
  height: 270px;
  max-width: 100%;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 4px solid #FAF5EB;
  box-shadow: 0 8px 24px rgba(10, 24, 18, 0.35);
}

.owner-name-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.owner-role-tag {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  display: block;
}

.owner-message-body h4 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.45;
  margin-bottom: 16px;
}

.owner-profile-bio {
  font-size: 0.95rem;
  line-height: 2.1;
  color: rgba(255, 255, 255, 0.95);
}

.owner-signature {
  font-weight: 700;
  color: #ffffff;
  text-align: right;
  margin-top: 24px;
}

/* --------------------------------------------------
   7. 物件概要 & アクセス情報
-------------------------------------------------- */
.section-access {
  background: var(--color-bg-alt);
}

.property-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.property-info-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 34px;
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 30px -4px rgba(25, 56, 43, 0.08);
  color: var(--color-text-main);
}

.prop-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.prop-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffffff;
  background: var(--color-primary);
}

.prop-badge.share { background: var(--color-primary); color: #ffffff; }
.prop-badge.monthly { background: var(--color-primary); color: #ffffff; }

.prop-card-title {
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--color-primary);
}

.prop-detail-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prop-detail-row {
  display: grid;
  grid-template-columns: 105px 1fr;
  font-size: 0.92rem;
  line-height: 1.65;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--color-border);
}

.prop-detail-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.prop-detail-label {
  color: var(--color-text-muted);
  font-weight: 700;
}

.prop-detail-val {
  color: var(--color-primary);
  font-weight: 700;
}

/* --------------------------------------------------
   8. よくあるご質問 (FAQ)
-------------------------------------------------- */
.section-faq {
  background: var(--color-bg-main);
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s ease;
}

/* 奇数番目 (1, 3, 5問目): 芝生画像 */
.faq-item:nth-child(odd) {
  background: linear-gradient(rgba(14, 36, 27, 0.78), rgba(14, 36, 27, 0.88)), var(--bg-deepgreen-img) center/cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 20px -2px rgba(10, 24, 18, 0.25);
}

.faq-item:nth-child(odd):hover {
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.faq-item:nth-child(odd) .faq-question {
  color: #ffffff;
}

.faq-item:nth-child(odd) .faq-question:hover {
  background: rgba(255, 255, 255, 0.06);
}

.faq-item:nth-child(odd) .q-icon {
  background: #ffffff;
  color: var(--color-primary);
}

.faq-item:nth-child(odd) .faq-chevron {
  color: #ffffff;
}

.faq-item:nth-child(odd) .faq-answer {
  background: rgba(14, 36, 27, 0.82);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-item:nth-child(odd) .faq-answer-inner {
  color: rgba(255, 255, 255, 0.95);
}

.faq-item:nth-child(odd) .faq-answer-inner strong {
  color: #ffffff;
}

/* 偶数番目 (2, 4問目): クリスプホワイト */
.faq-item:nth-child(even) {
  background: #ffffff;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 16px -2px rgba(25, 56, 43, 0.06);
}

.faq-item:nth-child(even):hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.faq-item:nth-child(even) .faq-question {
  color: var(--color-primary);
}

.faq-item:nth-child(even) .faq-question:hover {
  background: rgba(25, 56, 43, 0.03);
}

.faq-item:nth-child(even) .q-icon {
  background: var(--color-primary);
  color: #ffffff;
}

.faq-item:nth-child(even) .faq-chevron {
  color: var(--color-primary);
}

.faq-item:nth-child(even) .faq-answer {
  background: #FAF5EB;
  border-top: 1px solid var(--color-border);
}

.faq-item:nth-child(even) .faq-answer-inner {
  color: var(--color-text-main);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.98rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.faq-q-text {
  display: flex;
  align-items: center;
  gap: 12px;
}

.q-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.faq-chevron {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-right: 6px;
}

.faq-item.active .faq-chevron {
  transform: rotate(-135deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0;
}

.faq-item.active .faq-answer {
  max-height: 800px;
}

.faq-answer-inner {
  padding: 18px 24px 24px;
  font-size: 0.95rem;
  line-height: 1.85;
}

.faq-answer-inner p {
  margin: 0;
  line-height: 1.85;
}

/* --------------------------------------------------
   9. お問い合わせ・内見予約セクション
-------------------------------------------------- */
.section-contact {
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg-main) 100%);
  position: relative;
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}

/* 連絡先ダイレクトインフォ */
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.direct-contact-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--color-border);
  box-shadow: 0 6px 20px -2px rgba(25, 56, 43, 0.06);
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all 0.25s ease;
  color: var(--color-text-main);
}

.direct-contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(25, 56, 43, 0.12);
  border-color: var(--color-primary);
}

.direct-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  box-shadow: 0 2px 8px rgba(25, 56, 43, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.direct-icon svg {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
}

.direct-icon.phone,
.direct-icon.mail,
.direct-icon.insta {
  background: var(--color-primary);
  color: #ffffff;
}

.direct-label {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.direct-val {
  font-family: var(--font-en), var(--font-ja);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
}

.direct-subtext {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* Instagram QRコード紹介 */
.insta-qr-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 22px;
  border: 1px solid var(--color-border);
  box-shadow: 0 6px 20px -2px rgba(25, 56, 43, 0.06);
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--color-text-main);
}

.insta-qr-box img {
  width: 90px;
  height: 90px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  cursor: pointer;
  background: #fff;
}

.insta-qr-text h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.insta-qr-text p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.insta-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* お問い合わせフォーム */
.contact-form-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 36px;
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 30px -4px rgba(25, 56, 43, 0.08);
  color: var(--color-text-main);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.form-label .required {
  color: #ffffff;
  font-size: 0.72rem;
  background: var(--color-primary);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.form-label .optional {
  color: var(--color-text-muted);
  font-size: 0.72rem;
  background: #FAF5EB;
  border: 1px solid var(--color-border);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid var(--color-border);
  background: #FAF5EB;
  color: var(--color-text-main);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(25, 56, 43, 0.15);
  outline: none;
  background: #ffffff;
}

.form-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.radio-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  background: #FAF5EB;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  transition: all 0.2s ease;
}

.radio-label input[type="radio"] {
  accent-color: var(--color-primary);
}

.radio-label:has(input:checked) {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.form-submit-btn {
  width: 100%;
  background: var(--color-primary);
  color: #ffffff;
  font-family: var(--font-en), var(--font-ja);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  padding: 16px;
  border-radius: 8px;
  border: none;
  box-shadow: 0 4px 16px rgba(25, 56, 43, 0.2);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.form-submit-btn:hover {
  background: var(--color-primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(25, 56, 43, 0.28);
}

/* =================================================================
   Uiverse Contact Form - Adapted with Site Tone & Colors (深緑 × アイボリー)
================================================================= */
.form-container {
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  background-color: #ffffff;
  padding: 36px 32px;
  border-left: 6px solid var(--color-primary);
  border-top: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  box-shadow: 0 12px 36px -4px rgba(25, 56, 43, 0.1);
  color: var(--color-text-main);
}

.form-container .heading {
  display: block;
  color: var(--color-primary);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 24px;
  font-family: var(--font-en), var(--font-jp), sans-serif;
  letter-spacing: 0.02em;
  border-bottom: 2px solid var(--color-primary-subtle);
  padding-bottom: 12px;
}

.form-container .form-group {
  margin-bottom: 20px;
}

.form-container .form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.form-container .form-label .required {
  color: #ffffff;
  font-size: 0.72rem;
  background: var(--color-primary);
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 6px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.form-container .form-label .optional {
  color: var(--color-text-muted);
  font-size: 0.72rem;
  background: #FAF5EB;
  border: 1px solid var(--color-border);
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 6px;
  font-weight: 600;
}

.form-container .form-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-container .radio-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  background: #FAF5EB;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  transition: all 0.2s ease;
}

.form-container .radio-label input[type="radio"] {
  accent-color: var(--color-primary);
}

.form-container .radio-label:has(input:checked) {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

/* Uiverse アニメーション入力欄 */
.form-container .input {
  color: var(--color-text-main);
  width: 100%;
  box-sizing: border-box;
  background-color: #FAF5EB;
  border: 1px solid var(--color-border);
  border-left: 3px solid transparent;
  outline: none;
  padding: 12px 16px;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
}

.form-container .input::placeholder {
  color: #8c9e94;
  font-weight: 400;
}

.form-container .input:focus {
  border-left: 6px solid var(--color-primary);
  border-color: var(--color-primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(25, 56, 43, 0.08);
}

/* Uiverse アニメーションテキストエリア */
.form-container .textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-left: 3px solid transparent;
  outline: none;
  background-color: #FAF5EB;
  color: var(--color-text-main);
  font-weight: 600;
  resize: vertical;
  min-height: 110px;
  max-height: 240px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  line-height: 1.6;
  transition: all 0.2s ease-in-out;
}

.form-container .textarea::placeholder {
  color: #8c9e94;
  font-weight: 400;
}

.form-container .textarea:focus {
  border-left: 6px solid var(--color-primary);
  border-color: var(--color-primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(25, 56, 43, 0.08);
}

/* Uiverse ボタンコンテナ */
.form-container .button-container {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}

.form-container .send-button {
  flex: 1 1 auto;
  background: var(--color-primary);
  padding: 15px 20px;
  color: #ffffff;
  text-align: center;
  font-weight: 700;
  font-family: var(--font-en), var(--font-jp), sans-serif;
  border: 2px solid var(--color-primary);
  border-radius: 6px;
  transition: all 0.25s ease-in-out;
  cursor: pointer;
  font-size: 0.98rem;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(25, 56, 43, 0.2);
  user-select: none;
}

.form-container .send-button:hover {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: 0 6px 20px rgba(25, 56, 43, 0.15);
}

.form-container .send-button svg {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.form-container .send-button:hover svg {
  transform: translateX(4px);
}

.form-container .reset-button-container {
  filter: drop-shadow(1px 1px 0px var(--color-primary));
  flex: 0 0 110px;
}

.form-container .reset-button {
  position: relative;
  text-align: center;
  padding: 15px 16px;
  color: var(--color-primary);
  font-weight: 700;
  font-family: var(--font-en), var(--font-jp), sans-serif;
  background: #ffffff;
  border: 2px solid var(--color-primary);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: all 0.25s ease-in-out;
  cursor: pointer;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  user-select: none;
  width: 100%;
  box-sizing: border-box;
}

.form-container .reset-button:hover {
  background: var(--color-primary);
  color: #ffffff;
}

@media (max-width: 640px) {
  .form-container {
    padding: 24px 16px;
  }
  .form-container .heading {
    font-size: 1.25rem;
  }
  .form-container .button-container {
    flex-direction: column;
    gap: 10px;
  }
  .form-container .send-button {
    width: 100%;
    padding: 14px 16px;
    font-size: 0.92rem;
  }
  .form-container .reset-button-container {
    width: 100%;
    flex: none;
  }
  .form-container .reset-button {
    width: 100%;
    padding: 12px 16px;
  }
}

/* --------------------------------------------------
   10. フッター
-------------------------------------------------- */
.site-footer {
  background: linear-gradient(rgba(10, 24, 18, 0.90), rgba(10, 24, 18, 0.95)), var(--bg-deepgreen-img) center/cover no-repeat;
  color: #c9d8d1;
  padding: 64px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand h4 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: #a8bfb5;
}

.footer-col h5 {
  font-family: var(--font-en), var(--font-ja);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 1px;
  background: #ffffff;
  opacity: 0.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: #a8bfb5;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

/* =================================================================
   Uiverse Vertical Action Icons (Footer)
   Customized for Japanese Editorial & Swiss Tone
================================================================= */
.example-2 {
  list-style: none;
  padding: 0;
  margin: 12px 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.example-2 .icon-content {
  position: relative;
  list-style: none;
  display: flex;
  align-items: center;
}

.example-2 .icon-content .tooltip {
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%) translateX(10px);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-en), var(--font-sans), sans-serif;
  white-space: nowrap;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.example-2 .icon-content:hover .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(16px);
}

.example-2 .icon-content a {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #2D4F3E;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.example-2 .icon-content a:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  color: #ffffff;
  transform: scale(1.06);
}

.example-2 .icon-content a svg {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.example-2 .icon-content a:hover svg {
  transform: scale(1.12);
}

.example-2 .icon-content a .filled {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #000;
  transition: all 0.3s ease-in-out;
}

.example-2 .icon-content a:hover .filled {
  height: 100%;
}

/* 1. お電話: サイトのアクセント深緑 (#1A382B) */
.example-2 .icon-content a[data-social="phone"] .filled,
.example-2 .icon-content a[data-social="phone"] ~ .tooltip {
  background-color: #1A382B;
  border: 1px solid rgba(250, 245, 235, 0.25);
}

/* 2. Gmail: Google Red (#EA4335) */
.example-2 .icon-content a[data-social="gmail"] .filled,
.example-2 .icon-content a[data-social="gmail"] ~ .tooltip {
  background-color: #EA4335;
}

/* 3. Instagram: Gradient */
.example-2 .icon-content a[data-social="instagram"] .filled,
.example-2 .icon-content a[data-social="instagram"] ~ .tooltip {
  background: linear-gradient(
    45deg,
    #405de6,
    #5b51db,
    #b33ab4,
    #c135b4,
    #e1306c,
    #fd1f1f
  );
}

.footer-bottom {
  text-align: center;
  font-family: var(--font-en);
  font-size: 0.82rem;
  color: #799589;
}

/* --------------------------------------------------
   11. フルスクリーン・ライトボックス（画像拡大モーダル）
-------------------------------------------------- */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 35, 27, 0.94);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(8px);
}

.lightbox-modal.active {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.lightbox-caption {
  color: #ffffff;
  margin-top: 14px;
  font-size: 0.98rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.02em;
}

.lightbox-close {
  position: absolute;
  top: -42px;
  right: 0;
  background: transparent;
  color: #FAF5EB;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close svg {
  width: 28px;
  height: 28px;
  stroke: #FAF5EB;
}

/* --------------------------------------------------
   12. モバイル下部固定クイックアクションバー
-------------------------------------------------- */
.mobile-fixed-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(rgba(14, 36, 27, 0.92), rgba(14, 36, 27, 0.95)), var(--bg-deepgreen-img) center/cover no-repeat;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.25);
  z-index: 900;
  padding: 8px 12px;
}

.mobile-fixed-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 10px;
}

.mobile-tel-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px;
  border-radius: 6px;
  font-family: var(--font-en), var(--font-ja);
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.mobile-tel-btn svg {
  width: 16px;
  height: 16px;
  stroke: #ffffff;
}

.mobile-cta-btn {
  background: #ffffff;
  color: var(--color-primary);
  padding: 10px;
  border-radius: 6px;
  font-family: var(--font-en), var(--font-ja);
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
}

.mobile-cta-btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-primary);
}

/* --------------------------------------------------
   13. レスポンシブ メディアクエリ
-------------------------------------------------- */
@media (max-width: 1220px) {
  .site-header {
    top: 0;
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    background: var(--color-primary);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(250, 245, 235, 0.15);
  }
  
  .nav-links.open {
    display: flex;
  }
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.03rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .room-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .amenities-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .owner-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }
  .owner-photo-wrap img {
    width: 240px;
    height: 240px;
  }
  .owner-signature {
    text-align: center;
  }
  .building-overview-card {
    grid-template-columns: 1fr;
  }
  .building-photo-wrap img {
    height: 300px;
  }
  .contact-layout-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .header-tel-link, .header-btn {
    display: none;
  }
  
  .hero-br-sp {
    display: inline;
  }
  
  .hero-title-space {
    display: none;
  }
  
  .hero-first-screen {
    height: calc(100vh - 58px - 58px);
    height: calc(100dvh - 58px - 58px);
    max-height: calc(100vh - 58px - 58px);
    max-height: calc(100dvh - 58px - 58px);
    min-height: 0;
    padding: 0;
  }

  .hero-title-wrap {
    padding: 10px 16px 6px;
  }

  .hero-title {
    font-size: 1.33rem;
    line-height: 1.4;
  }

  .hero-video-fullwidth {
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
  }

  .hero-cards-section {
    padding: 36px 0 60px;
  }
  
  .hero-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .campaign-banner {
    grid-template-columns: 1fr;
  }
  
  .floorplan-container {
    grid-template-columns: 1fr;
  }
  
  .room-cards-grid {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .amenities-summary-grid {
    grid-template-columns: 1fr;
  }

  .common-furniture-tags {
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-start;
  }

  .furniture-tag {
    font-size: 0.78rem;
    padding: 4px 8px;
  }
  
  .media-proof-box {
    grid-template-columns: 1fr;
  }
  
  .media-proof-title {
    white-space: normal;
  }
  
  .stay-term-alert {
    white-space: normal;
  }
  
  .monthly-room-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .tab-pane {
    padding: 24px 18px;
  }

  .tabs-nav {
    padding: 10px 10px 0;
    gap: 6px;
  }

  .tab-btn {
    padding: 11px 16px;
    font-size: 0.88rem;
  }
  
  .property-compare-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-layout-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  body {
    padding-bottom: 64px;
  }
  
  .mobile-fixed-bar {
    display: block;
  }
}



