:root {
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-dark: #9a7830;
  --navy: #f2f4ee;
  --navy-mid: #e7ebe1;
  --navy-light: #dce2d5;
  --white: #1c1a17;
  --gray: #7a7570;
  --gray-light: #d8d4cc;
  --font-ja: 'Noto Serif JP', serif;
  --font-en: 'Cormorant Garamond', serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ja);
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 40px;
  background: rgba(246,243,238,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
}
.nav-left { display: flex; flex-direction: column; gap: 4px; }
.nav-back {
  font-family: var(--font-ja); font-size: 10px; color: var(--gray);
  letter-spacing: 0.1em; text-decoration: none; transition: color 0.2s;
}
.nav-back:hover { color: var(--gold); }
.nav-logo { font-family: var(--font-en); font-size: 18px; color: var(--gold); letter-spacing: 0.1em; }
.nav-logo span { font-family: var(--font-ja); font-size: 12px; color: var(--gray); display: block; letter-spacing: 0.15em; margin-top: 2px; }
.nav-btn {
  padding: 8px 20px; border: 1px solid var(--gold); background: transparent;
  color: var(--gold); font-family: var(--font-ja); font-size: 12px; letter-spacing: 0.1em;
  cursor: pointer; transition: all 0.3s;
}
.nav-btn:hover { background: var(--gold); color: var(--navy); }
.nav-btn.active { background: var(--gold); color: var(--navy); }
.nav-tabs { display: flex; gap: 4px; }

/* ─── PAGE SYSTEM ─── */
.page { display: none; }
.page.active { display: block; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #f0ece4 0%, #f6f3ee 40%, #edeae4 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; padding-top: 80px; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(201,168,76,0.08) 0%, transparent 70%);
}
.hero-label {
  font-family: var(--font-en); font-size: 11px; letter-spacing: 0.4em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 24px;
}

.hero-title em { font-style: italic; color: var(--gold); }
.hero-subtitle {
  font-size: 13px; color: var(--gray); letter-spacing: 0.25em;
  text-align: center; margin-bottom: 48px;
}
.hero-divider {
  width: 1px; height: 60px; background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 0 auto 48px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.btn-primary {
  padding: 16px 40px; background: var(--gold); color: var(--navy);
  font-family: var(--font-ja); font-size: 13px; font-weight: 700;
  letter-spacing: 0.15em; border: none; cursor: pointer; transition: all 0.3s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline {
  padding: 16px 40px; border: 1px solid var(--gold); background: transparent;
  color: var(--gold); font-family: var(--font-ja); font-size: 13px;
  letter-spacing: 0.15em; cursor: pointer; transition: all 0.3s;
}
.btn-outline:hover { background: rgba(201,168,76,0.1); transform: translateY(-2px); }


@keyframes scrollAnim { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ─── SECTION COMMON ─── */
section { padding: 80px 40px; }
.section-label {
  font-family: var(--font-en); font-size: 11px; letter-spacing: 0.4em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 12px;
}
.section-title {
  font-size: clamp(22px, 3vw, 32px); font-weight: 300;
  color: var(--white); margin-bottom: 40px; line-height: 1.4;
}
.section-title strong { font-weight: 700; color: var(--gold); }
.gold-line { width: 40px; height: 1px; background: var(--gold); margin-bottom: 40px; }


/* ─── SELL HERO ─── */
.sell-hero-catch {
  font-size: 18px; color: var(--white); letter-spacing: 0.15em;
  text-align: center; margin-bottom: 32px; font-weight: 300; line-height: 1.6;
}
.sell-hero-catch em { font-style: normal; color: var(--gold); }
.sell-hero-mansion-en {
  font-family: var(--font-en); font-size: 11px; letter-spacing: 0.4em;
  color: var(--gold); text-transform: uppercase; text-align: center;
  margin-bottom: 8px; display: block;
}
.sell-hero-name {
  font-family: var(--font-ja); font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 300; color: var(--white); text-align: center;
  line-height: 1.3; letter-spacing: 0.1em; margin-bottom: 12px;
}

/* ─── SELL LP ─── */
.sell-hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #16241b 0%, #203428 45%, #172a1f 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 140px 40px 80px; position: relative; overflow: hidden;
}
.sell-hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/exterior/exterior.jpg');
  background-size: cover; background-position: center;
  opacity: 0.15;
}
.sell-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 30% 60%, rgba(201,168,76,0.08) 0%, transparent 60%);
}
/* 売却ヒーロー内テキストを白系に上書き（本文セクションは引き続き明るいテーマ） */
.sell-hero .sell-hero-catch { color: #f0ebe2; }
.sell-hero .sell-hero-catch em { color: var(--gold); }
.sell-hero .sell-hero-name { color: #f0ebe2; }
.sell-hero .hero-label { color: var(--gold); }
.sell-hero .hero-subtitle { color: rgba(240,235,226,0.65); }
.sell-hero .hero-divider { background: linear-gradient(to bottom, var(--gold), transparent); }
.sell-hero .page-switch-banner { color: rgba(240,235,226,0.55); border-color: rgba(201,168,76,0.25); }
.sell-hero .page-switch-banner span { color: var(--gold); }
.sell-hero-content { max-width: 700px; text-align: center; position: relative; z-index: 1; }
.page-switch-banner {
  margin-top: 48px;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 24px; border: 1px solid rgba(201,168,76,0.3);
  font-size: 12px; color: var(--gray); cursor: pointer; transition: all 0.3s;
  background: transparent;
}
.page-switch-banner:hover { border-color: var(--gold); color: var(--gold); }
.page-switch-banner span { color: var(--gold); }

/* ─── SELL: VALUATION ─── */
.valuation-section { background: var(--navy-mid); }
.valuation-wrap { max-width: 800px; margin: 0 auto; }
.room-select-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 8px;
  margin-bottom: 32px;
}
.room-btn {
  padding: 10px 6px; border: 1px solid rgba(201,168,76,0.2);
  background: transparent; color: var(--gray);
  font-family: var(--font-ja); font-size: 11px; cursor: pointer; transition: all 0.2s; text-align: center;
}
.room-btn:hover { border-color: var(--gold); color: var(--gold); }
.room-btn.selected { background: var(--gold); color: var(--navy); border-color: var(--gold); font-weight: 700; }
.room-btn-est { border-style: dashed; opacity: 0.85; }
.room-btn-est small { font-style: italic; }
.floor-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.floor-tab {
  padding: 6px 14px; border: 1px solid rgba(201,168,76,0.2);
  background: transparent; color: var(--gray);
  font-family: var(--font-ja); font-size: 11px; cursor: pointer; transition: all 0.2s;
}
.floor-tab:hover { border-color: var(--gold); color: var(--gold); }
.floor-tab.active { background: var(--gold-dark); color: var(--white); border-color: var(--gold-dark); }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }


.result-price span { font-size: 18px; }


.result-detail-item { text-align: center; }
.result-detail-val { font-size: 15px; font-weight: 700; color: var(--white); }
.result-detail-key { font-size: 10px; color: var(--gray); margin-top: 4px; }
.tokuten-banner {
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05));
  border: 1px solid var(--gold); padding: 20px 24px;
  display: flex; align-items: center; gap: 16px;
}
.tokuten-icon { font-size: 28px; }
.tokuten-text strong { display: block; font-size: 16px; color: var(--gold); margin-bottom: 4px; }
.tokuten-text span { font-size: 12px; color: var(--gray); }

/* ─── BREADCRUMB ─── */
.breadcrumb { position: fixed; top: 64px; left: 0; right: 0; z-index: 99; padding: 8px 40px; background: rgba(246,243,238,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(201,168,76,0.1); font-size: 11px; color: var(--gray); letter-spacing: 0.05em; display: flex; align-items: center; gap: 6px; }
.breadcrumb a { color: var(--gray); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-current { color: var(--gold); }
/* ─── VIEWER COUNT ─── */

.viewer-count strong { color: var(--gold); font-weight: 700; }

.sell-hero-stats { display: flex; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; justify-content: center; }
.sell-hero-stat { padding: 16px 20px; border: 1px solid rgba(201,168,76,0.3); background: rgba(201,168,76,0.06); text-align: center; min-width: 180px; }
.sell-hero-stat-val { font-size: 15px; font-weight: 700; color: var(--gold); margin-bottom: 4px; }
.sell-hero-stat-key { font-size: 10px; color: rgba(240,235,226,0.6); letter-spacing: 0.1em; }
.sell-hero-cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.sell-hero-outline { border-color: rgba(240,235,226,0.4); color: rgba(240,235,226,0.8); }
.sell-hero-outline:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.1); }
.sell-reasons-section { background: var(--navy); }
.sell-reasons-wrap { max-width: 900px; margin: 0 auto; }
.sell-reasons-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.sell-reason-card { display: grid; grid-template-columns: 56px 1fr; gap: 0 20px; padding: 28px 0; border-bottom: 1px solid rgba(201,168,76,0.1); }
.sell-reason-card:last-child { border-bottom: none; }
.sell-reason-num { grid-row: 1 / 3; font-family: var(--font-en); font-size: 28px; font-weight: 300; color: rgba(201,168,76,0.3); line-height: 1; }
.sell-reason-title { font-size: 15px; font-weight: 700; color: var(--gold); margin-bottom: 8px; }
.sell-reason-text { font-size: 13px; color: rgba(28,26,23,0.75); line-height: 1.9; }
.price-range-section { background: var(--navy-mid); }
.price-range-table { width: 100%; border-collapse: collapse; }
.price-range-table th { padding: 12px 16px; background: rgba(201,168,76,0.15); font-size: 11px; color: var(--gold); letter-spacing: 0.1em; text-align: left; border-bottom: 1px solid rgba(201,168,76,0.2); }
.price-range-table td { padding: 14px 16px; font-size: 13px; color: rgba(28,26,23,0.85); border-bottom: 1px solid rgba(28,26,23,0.08); }
.price-range-table tr:hover td { background: rgba(201,168,76,0.04); }
.price-range-note { font-size: 11px; color: var(--gray); margin-top: 16px; line-height: 1.7; }
.sold-insight { margin-top: 24px; padding: 20px 24px; border: 1px solid rgba(201,168,76,0.15); background: rgba(201,168,76,0.03); }
.sold-insight-title { font-size: 13px; font-weight: 700; color: var(--gold); margin-bottom: 12px; }
.sold-insight-list { list-style: none; padding: 0; }
.sold-insight-list li { font-size: 12px; color: rgba(28,26,23,0.75); line-height: 1.8; padding-left: 16px; position: relative; margin-bottom: 4px; }
.sold-insight-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); }
.sold-speed { font-size: 10px; font-weight: 700; padding: 2px 8px; letter-spacing: 0.1em; }
.sold-speed-fast { background: rgba(201,168,76,0.15); color: var(--gold); }
.sold-speed-normal { background: rgba(28,26,23,0.08); color: var(--gray); }
.sellable-section { background: var(--navy); }
.sellable-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.sellable-item { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid rgba(201,168,76,0.1); align-items: flex-start; }
.sellable-item:last-child { border-bottom: none; }
.sellable-icon { flex-shrink: 0; width: 40px; height: 40px; border: 1px solid rgba(201,168,76,0.3); display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--gold); }
.sellable-content { flex: 1; }
.sellable-title { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.sellable-text { font-size: 12px; color: rgba(28,26,23,0.75); line-height: 1.8; }
.strategy-section { background: var(--navy-mid); }
.strategy-intro { font-size: 14px; line-height: 2; color: rgba(28,26,23,0.8); margin-bottom: 32px; }
.strategy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.strategy-card { padding: 24px; border: 1px solid rgba(201,168,76,0.15); background: var(--navy); }
.strategy-num { font-family: var(--font-en); font-size: 20px; font-weight: 300; color: rgba(201,168,76,0.3); margin-bottom: 8px; }
.strategy-title { font-size: 14px; font-weight: 700; color: var(--gold); margin-bottom: 8px; line-height: 1.5; }
.strategy-text { font-size: 12px; color: rgba(28,26,23,0.75); line-height: 1.8; }
.detailed-cta-section { background: linear-gradient(135deg, #16241b 0%, #203428 45%, #172a1f 100%); padding: 80px 40px; }
.detailed-cta-wrap { max-width: 700px; margin: 0 auto; text-align: center; }
.detailed-cta-title { font-size: clamp(18px, 2.5vw, 26px); font-weight: 300; color: #f0ebe2; line-height: 1.7; margin-bottom: 24px; }
.detailed-cta-title strong { color: var(--gold); font-weight: 700; }
.detailed-cta-text { font-size: 13px; color: rgba(240,235,226,0.65); line-height: 2; margin-bottom: 32px; }
.detailed-cta-features { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.detailed-cta-feature { padding: 8px 16px; border: 1px solid rgba(201,168,76,0.3); font-size: 12px; color: var(--gold); letter-spacing: 0.05em; }
.faq-section { background: var(--navy-mid); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(201,168,76,0.1); }
.faq-question { width: 100%; padding: 20px 0; background: none; border: none; display: flex; justify-content: space-between; align-items: center; cursor: pointer; text-align: left; gap: 16px; }
.faq-question span:first-child { font-family: var(--font-ja); font-size: 14px; font-weight: 500; color: var(--white); line-height: 1.6; }
.faq-toggle { flex-shrink: 0; width: 28px; height: 28px; border: 1px solid rgba(201,168,76,0.3); display: flex; align-items: center; justify-content: center; font-family: var(--font-en); font-size: 18px; color: var(--gold); transition: all 0.3s; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 20px; }
.faq-answer p { font-size: 13px; color: rgba(28,26,23,0.75); line-height: 2; padding-left: 4px; }
.vmodal-note { margin-top: 20px; padding: 14px 16px; background: rgba(201,168,76,0.05); border-left: 2px solid var(--gold); }
.vmodal-note p { font-size: 11px; color: var(--gray); line-height: 1.8; }


/* ─── SELL: SOLD CASES ─── */
.sold-section { background: var(--navy-mid); }
.sold-table { width: 100%; max-width: 900px; margin: 0 auto; border-collapse: collapse; }
.sold-table th {
  padding: 12px 16px; background: rgba(201,168,76,0.15);
  font-size: 11px; color: var(--gold); letter-spacing: 0.1em;
  text-align: left; border-bottom: 1px solid rgba(201,168,76,0.2);
}
.sold-table td {
  padding: 14px 16px; font-size: 12px; color: rgba(28,26,23,0.85);
  border-bottom: 1px solid rgba(28,26,23,0.08);
}
.sold-table tr:hover td { background: rgba(201,168,76,0.04); }
.price-cell { font-weight: 700; color: var(--gold); }

/* ─── SELL: FLOW ─── */
.flow-section { background: var(--navy); }
.flow-steps { max-width: 700px; margin: 0 auto; }
.flow-step { display: flex; gap: 24px; margin-bottom: 32px; align-items: flex-start; }
.flow-num {
  flex-shrink: 0; width: 48px; height: 48px;
  border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en); font-size: 18px; color: var(--gold); font-weight: 300;
}
.flow-content { flex: 1; }
.flow-title { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.flow-desc { font-size: 12px; color: var(--gray); line-height: 1.7; }
.flow-connector {
  width: 1px; height: 20px; background: linear-gradient(to bottom, rgba(201,168,76,0.5), transparent);
  margin: 0 0 32px 24px;
}

/* ─── SELL: FORM ─── */
.form-section { background: var(--navy-mid); }
.form-wrap { max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 12px; color: var(--gray); letter-spacing: 0.1em; margin-bottom: 8px; }
.form-label em { color: #c9a84c; font-style: normal; margin-left: 4px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 16px;
  background: rgba(28,26,23,0.08); border: 1px solid rgba(201,168,76,0.2);
  color: var(--white); font-family: var(--font-ja); font-size: 13px;
  outline: none; transition: border-color 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold);
}
.form-select option { background: var(--navy-mid); }
.form-textarea { min-height: 100px; resize: vertical; }
.form-submit {
  width: 100%; padding: 18px; background: var(--gold);
  color: var(--navy); font-family: var(--font-ja); font-size: 14px; font-weight: 700;
  border: none; cursor: pointer; letter-spacing: 0.2em; transition: all 0.3s;
}
.form-submit:hover { background: var(--gold-light); }
.form-success {
  display: none; text-align: center; padding: 40px;
  border: 1px solid var(--gold);
}
.form-success.visible { display: block; animation: fadeIn 0.5s ease; }

/* ─── BUY LP ─── */
.buy-hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #f0ece4 0%, #f6f3ee 50%, #edeae4 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 140px 40px 80px; position: relative; overflow: hidden;
}
.buy-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 40%, rgba(201,168,76,0.07) 0%, transparent 60%);
}

/* ─── BUY: GALLERY (Swiper) ─── */
.gallery-section { background: var(--navy); padding: 0; }
.gallery-slider-wrap { position: relative; overflow: hidden; }
.gallery-swiper { padding-bottom: 40px; }
.gallery-slide {
  height: 320px; overflow: hidden; cursor: pointer;
  position: relative; background: var(--navy-light);
}
.gallery-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
}
.gallery-slide:hover img { transform: scale(1.05); }
.gallery-label {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(246,243,238,0.9); padding: 4px 10px;
  font-size: 10px; color: var(--gold); letter-spacing: 0.1em;
}
/* Swiper nav arrows — gold */
.gallery-swiper .swiper-button-prev,
.gallery-swiper .swiper-button-next {
  color: var(--gold); width: 40px; height: 40px;
  background: rgba(246,243,238,0.85); border-radius: 50%;
}
.gallery-swiper .swiper-button-prev::after,
.gallery-swiper .swiper-button-next::after { font-size: 16px; font-weight: 700; }
/* Swiper pagination — gold dots */
.gallery-swiper .swiper-pagination-bullet {
  background: var(--gold); opacity: 0.35; width: 8px; height: 8px;
}
.gallery-swiper .swiper-pagination-bullet-active { opacity: 1; }

/* ─── GALLERY LIGHTBOX ─── */
.gallery-lightbox {
  display: none; position: fixed; inset: 0; z-index: 300;
  align-items: center; justify-content: center;
}
.gallery-lightbox.active { display: flex; }
.lightbox-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.88); backdrop-filter: blur(6px);
}
.lightbox-img {
  position: relative; z-index: 1;
  max-width: 90vw; max-height: 82vh; object-fit: contain;
  animation: fadeIn 0.3s ease;
}
.lightbox-close {
  position: absolute; top: 20px; right: 24px; z-index: 2;
  background: none; border: none; color: #fff; font-size: 36px;
  cursor: pointer; line-height: 1; opacity: 0.8; transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev,
.lightbox-next {
  position: absolute; top: 50%; z-index: 2;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12); border: none;
  color: #fff; font-size: 24px; width: 48px; height: 48px;
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(201,168,76,0.4); }
.lightbox-counter {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,0.7); font-size: 13px;
  font-family: var(--font-en); letter-spacing: 0.2em;
}


/* ─── BUY: LISTINGS ─── */
.listings-section { background: var(--navy-mid); }
.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 20px; margin-bottom: 40px; }
.listing-card { background: var(--navy-light); border: 1px solid rgba(201,168,76,0.25); padding: 28px; transition: border-color 0.3s; }
.listing-card:hover { border-color: var(--gold); }

.listing-price-row { margin-bottom: 4px; }
.listing-price { font-family: var(--font-en); font-size: 36px; font-weight: 300; color: var(--gold); line-height: 1; }
.listing-price-unit { font-family: var(--font-ja); font-size: 16px; color: var(--gold); margin-left: 4px; }
.listing-layout { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 20px; }
.listing-specs { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.listing-spec { font-size: 11px; color: var(--gray); }
.listing-spec strong { display: block; font-size: 13px; color: var(--white); font-weight: 500; margin-bottom: 2px; }
.listing-meta { font-size: 11px; color: var(--gray); line-height: 1.7; }
.listing-floorplan { margin-bottom: 20px; background: #fff; padding: 8px; text-align: center; width: 100%; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; }
.listing-floorplan img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.listing-notify { max-width: 480px; margin: 0 auto; text-align: center; padding: 48px 0 0; }
.listing-notify-title { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.listing-notify-text { font-size: 12px; color: var(--gray); margin-bottom: 20px; line-height: 1.7; }
.listing-inquiry-btn {
  display: block; width: 100%; margin-top: 16px;
  padding: 12px; background: var(--gold); color: var(--navy);
  font-family: var(--font-ja); font-size: 12px; font-weight: 700;
  letter-spacing: 0.15em; border: none; cursor: pointer;
  transition: background 0.2s;
}
.listing-inquiry-btn:hover { background: var(--gold-light); }
/* ─── FLOOR PLAN MODAL ─── */
.fp-modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,0.9); backdrop-filter: blur(8px);
  align-items: center; justify-content: center; padding: 20px;
}
.fp-modal-overlay.visible { display: flex; }
.fp-modal {
  position: relative; max-width: 680px; width: 100%;
  animation: fadeIn 0.25s ease;
}
.fp-modal-close {
  position: absolute; top: -44px; right: 0;
  background: none; border: 1px solid rgba(201,168,76,0.5);
  color: var(--gold); width: 36px; height: 36px;
  font-size: 16px; cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.fp-modal-close:hover { background: var(--gold); color: var(--navy); }
.fp-modal-img { background: #fff; width: 100%; display: block; }
.fp-modal-img img { width: 100%; height: auto; display: block; }
.fp-modal-info {
  background: var(--navy-mid); border: 1px solid rgba(201,168,76,0.2);
  border-top: none; padding: 20px 24px;
  display: flex; gap: 24px; flex-wrap: wrap; align-items: center;
}
.fp-modal-price { font-family: var(--font-en); font-size: 28px; font-weight: 300; color: var(--gold); }
.fp-modal-price span { font-family: var(--font-ja); font-size: 13px; }
.fp-modal-specs { display: flex; gap: 20px; flex-wrap: wrap; }
.fp-modal-spec { font-size: 11px; color: var(--gray); }
.fp-modal-spec strong { display: block; font-size: 13px; color: var(--white); font-weight: 500; margin-bottom: 1px; }
.no-listings {
  text-align: center; padding: 60px;
  border: 1px dashed rgba(201,168,76,0.2);
  max-width: 600px; margin: 0 auto;
}
.no-listings-icon { font-size: 40px; margin-bottom: 16px; }
.no-listings h3 { font-size: 16px; margin-bottom: 8px; }
.no-listings p { font-size: 13px; color: var(--gray); line-height: 1.7; margin-bottom: 24px; }
.notify-form { max-width: 420px; margin: 0 auto; }
.notify-input-row { display: flex; gap: 8px; margin-bottom: 10px; }
.notify-input {
  flex: 1; padding: 10px 14px;
  background: rgba(28,26,23,0.05); border: 1px solid rgba(201,168,76,0.2);
  color: var(--white); font-family: var(--font-ja); font-size: 12px; outline: none;
}
.notify-input:focus { border-color: var(--gold); }
.notify-btn {
  padding: 10px 20px; background: var(--gold); color: var(--navy);
  border: none; font-family: var(--font-ja); font-size: 12px;
  font-weight: 700; cursor: pointer; white-space: nowrap;
}

/* ─── BUY: OVERVIEW TABLE ─── */
.overview-section { background: var(--navy); }
.map-section { background: var(--navy-mid); padding: 80px 40px; }
.map-section .map-wrap { max-width: 900px; margin: 0 auto; }
.map-frame { width: 100%; height: 420px; border: 0; border-radius: 4px; margin-top: 32px; display: block; }
@media (max-width: 600px) { .map-frame { height: 260px; } }
.overview-table { width: 100%; max-width: 700px; margin: 0 auto; border-collapse: collapse; }
.overview-table tr { border-bottom: 1px solid rgba(28,26,23,0.1); }
.overview-table th {
  padding: 14px 20px; width: 40%; background: rgba(201,168,76,0.08);
  font-size: 12px; color: var(--gold); font-weight: 500; text-align: left;
}
.overview-table td { padding: 14px 20px; font-size: 13px; color: rgba(28,26,23,0.85); }

/* ─── BUY: LOAN CALC ─── */
.loan-section { background: var(--navy-mid); }
.loan-wrap { max-width: 700px; margin: 0 auto; }
.loan-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
.loan-group label { display: block; font-size: 11px; color: var(--gray); letter-spacing: 0.1em; margin-bottom: 8px; }
.loan-value { font-size: 14px; color: var(--gold); font-weight: 700; margin-bottom: 8px; }
.loan-slider {
  width: 100%; -webkit-appearance: none; appearance: none;
  height: 2px; background: rgba(201,168,76,0.2); outline: none;
}
.loan-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 16px; height: 16px;
  background: var(--gold); border-radius: 50%; cursor: pointer;
}
.loan-result {
  padding: 32px; border: 1px solid var(--gold);
  background: rgba(201,168,76,0.04); text-align: center;
}
.loan-monthly { font-family: var(--font-en); font-size: 48px; color: var(--gold); font-weight: 300; }
.loan-monthly span { font-size: 20px; }
.loan-monthly-label { font-size: 12px; color: var(--gray); margin-top: 4px; }


.loan-note { font-size: 11px; color: var(--gray); margin-top: 16px; }

/* ─── BUY: BUY MERITS ─── */
.merits-section { background: var(--navy); }
.merits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 800px; margin: 0 auto; }
.merit-card { padding: 28px; border: 1px solid rgba(201,168,76,0.15); }

.merit-title { font-size: 15px; font-weight: 700; color: var(--gold); margin-bottom: 8px; }
.merit-text { font-size: 12px; color: rgba(28,26,23,0.75); line-height: 1.8; }

/* ─── FOOTER ─── */
footer {
  background: #dedad3; border-top: 1px solid rgba(201,168,76,0.3);
  padding: 48px 40px;
}
.footer-wrap { max-width: 900px; margin: 0 auto; }
.footer-brand { margin-bottom: 32px; }
.footer-brand-name { font-family: var(--font-en); font-size: 20px; color: var(--gold); margin-bottom: 4px; }
.footer-brand-sub { font-size: 11px; color: var(--gray); letter-spacing: 0.1em; }
.footer-company-head { font-size: 11px; color: var(--gold); letter-spacing: 0.2em; margin-bottom: 16px; margin-top: 32px; }
.footer-company-table { width: 100%; border-collapse: collapse; }
.footer-company-table tr { border-bottom: 1px solid rgba(28,26,23,0.08); }
.footer-company-table th { padding: 8px 16px 8px 0; font-size: 11px; color: var(--gray); font-weight: 400; text-align: left; width: 140px; vertical-align: top; }
.footer-company-table td { padding: 8px 0; font-size: 11px; color: rgba(28,26,23,0.75); line-height: 1.7; }
.footer-memberships { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.footer-member-badge {
  padding: 4px 10px; border: 1px solid rgba(201,168,76,0.2);
  font-size: 10px; color: var(--gray); letter-spacing: 0.05em;
}
.footer-copy { margin-top: 32px; padding-top: 16px; border-top: 1px solid rgba(28,26,23,0.1); font-size: 10px; color: rgba(138,138,138,0.6); letter-spacing: 0.1em; }

/* ─── VALUATION MODAL ─── */
.valuation-modal {
  background: var(--navy-mid); border: 1px solid rgba(201,168,76,0.3);
  padding: 48px 40px; max-width: 560px; width: 92%; position: relative;
  animation: fadeIn 0.7s ease; max-height: 90vh; overflow-y: auto;
}
.vmodal-label {
  font-family: var(--font-en); font-size: 10px; letter-spacing: 0.4em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 20px;
}
.vmodal-room { font-size: 12px; color: var(--gray); margin-bottom: 8px; letter-spacing: 0.1em; }
.vmodal-price {
  font-family: var(--font-en); font-size: clamp(28px, 4vw, 48px);
  font-weight: 300; color: var(--white); margin-bottom: 6px; line-height: 1.1;
}
.vmodal-price span { font-size: 16px; }
.vmodal-range { font-size: 12px; color: var(--gray); margin-bottom: 0; }
.vmodal-price .vmodal-premium-tag { font-size: clamp(24px, 3.6vw, 40px); color: var(--gold); letter-spacing: 0.08em; font-weight: 400; }
.room-btn-premium { border-color: rgba(201,168,76,0.55); }
.room-btn-premium small { color: var(--gold); }
.vmodal-details {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  padding: 20px 0; margin: 20px 0;
  border-top: 1px solid rgba(201,168,76,0.15);
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
@media (max-width: 480px) { .vmodal-details { grid-template-columns: repeat(2, 1fr); } }

/* ─── MODAL ─── */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.8); backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
}
.modal-overlay.visible { display: flex; }
.modal {
  background: var(--navy-mid); border: 1px solid var(--gold);
  padding: 40px; max-width: 400px; width: 90%;
  animation: fadeIn 0.3s ease;
}
.modal h3 { font-size: 18px; margin-bottom: 8px; }
.modal p { font-size: 12px; color: var(--gray); margin-bottom: 24px; line-height: 1.7; }
.modal-btns { display: flex; flex-direction: column; gap: 12px; }
.modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; color: var(--gray); font-size: 20px; cursor: pointer; }

/* ─── SUCCESS ─── */
.success-icon { font-size: 40px; margin-bottom: 16px; }
.success-title { font-size: 20px; font-weight: 700; color: var(--gold); margin-bottom: 8px; }
.success-msg { font-size: 13px; color: var(--gray); line-height: 1.7; }

/* ─── DARK THEME (購入ページ) ─── */
body.theme-dark {
  --navy: #0a1712;
  --navy-mid: #122821;
  --navy-light: #1c3a2e;
  --white: #f8f5ef;
  --gray: #8a8a8a;
  --gray-light: #e8e4dc;
}
body.theme-dark nav { background: rgba(13,27,46,0.92); }
body.theme-dark .buy-hero { background: linear-gradient(160deg, #0c1d16 0%, #143226 50%, #193b2c 100%); }
body.theme-dark .gallery-label { background: rgba(13,27,46,0.8); }
body.theme-dark footer { background: #08111e; border-top-color: rgba(201,168,76,0.2); }
body.theme-dark .footer-company-table td { color: rgba(248,245,239,0.75); }
body.theme-dark .footer-company-table tr { border-bottom-color: rgba(255,255,255,0.05); }
body.theme-dark .footer-copy { border-top-color: rgba(255,255,255,0.06); }
body.theme-dark .overview-table td { color: rgba(248,245,239,0.85); }
body.theme-dark .overview-table tr { border-bottom-color: rgba(255,255,255,0.06); }
body.theme-dark .merit-text { color: rgba(248,245,239,0.75); }
body.theme-dark .form-input,
body.theme-dark .form-select,
body.theme-dark .form-textarea { background: rgba(255,255,255,0.05); }
body.theme-dark .notify-input { background: rgba(255,255,255,0.07); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  nav { padding: 12px 20px; }
  section { padding: 60px 20px; }
  
  
  .gallery-slide { height: 220px; }
  .loan-inputs { grid-template-columns: 1fr; }
  .merits-grid { grid-template-columns: 1fr; }
  
  .sell-hero { padding-top: 120px; }
  .sell-hero-stats { flex-direction: column; align-items: stretch; }
  .sell-hero-stat { min-width: auto; }
  .strategy-grid { grid-template-columns: 1fr; }
  .detailed-cta-section { padding: 60px 20px; }
  .detailed-cta-features { flex-direction: column; align-items: center; }
  .breadcrumb { padding: 8px 20px; top: 52px; font-size: 10px; }
}


/* ── 未公開物件（モザイク）カード ── notion_sync.py: mosaic_card_html と対 ── */
.listing-card.is-private { position: relative; overflow: hidden; }
.listing-card.is-private .is-private-inner { filter: blur(7px); opacity: 0.5; user-select: none; pointer-events: none; }
.listing-card.is-private .is-private-floorplan { width: 100%; aspect-ratio: 1/1; margin-top: 20px; background: repeating-linear-gradient(45deg, #2a3550, #2a3550 8px, #222c44 8px, #222c44 16px); }
.listing-card.is-private .is-private-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 24px; background: rgba(15, 23, 42, 0.45); }


/* ════════════════════════════════════════════════════════════
   TOWER ADD-ONS（東池袋マンションナビ・タワー特化の追記ブロック）
   仙川テンプレに無い要素のみ追記。既存クラスは流用。
   ════════════════════════════════════════════════════════════ */

/* ── 査定ピッカー：ゾーンタブ＋階セレクト＋向きチップ ── */
.zone-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.zone-tab {
  padding: 10px 20px; border: 1px solid rgba(201,168,76,0.25);
  background: transparent; color: var(--gray);
  font-family: var(--font-ja); font-size: 12px; cursor: pointer; transition: all 0.2s;
  letter-spacing: 0.05em;
}
.zone-tab:hover { border-color: var(--gold); color: var(--gold); }
.zone-tab.active { background: var(--gold); color: var(--navy); border-color: var(--gold); font-weight: 700; }
.zone-tab small { display: block; font-size: 9px; opacity: 0.8; margin-top: 2px; letter-spacing: 0; }

.picker-row { margin-bottom: 18px; }
.picker-row-label { font-size: 11px; color: var(--gray); letter-spacing: 0.1em; margin-bottom: 8px; display: block; }
.floor-select {
  width: 100%; max-width: 280px; padding: 12px 16px;
  background: rgba(28,26,23,0.08); border: 1px solid rgba(201,168,76,0.25);
  color: var(--white); font-family: var(--font-ja); font-size: 14px;
  outline: none; transition: border-color 0.2s; cursor: pointer;
}
.floor-select:focus { border-color: var(--gold); }
.floor-select option { background: var(--navy-mid); color: var(--white); }

.orient-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.orient-chip {
  padding: 6px 14px; border: 1px solid rgba(201,168,76,0.2);
  background: transparent; color: var(--gray);
  font-family: var(--font-ja); font-size: 11px; cursor: pointer; transition: all 0.2s;
}
.orient-chip:hover { border-color: var(--gold); color: var(--gold); }
.orient-chip.active { background: var(--gold-dark); color: var(--white); border-color: var(--gold-dark); }

.room-empty {
  grid-column: 1 / -1; text-align: center; padding: 28px;
  border: 1px dashed rgba(201,168,76,0.2); color: var(--gray); font-size: 12px;
}
.room-btn small { display: block; font-size: 9px; opacity: 0.7; margin-top: 2px; }

/* ── 査定モーダル：コンプ根拠の開示ブロック ── */
.vmodal-basis {
  margin-top: 18px; padding: 16px 18px;
  background: rgba(201,168,76,0.05); border: 1px solid rgba(201,168,76,0.15);
}
.vmodal-basis-head {
  font-size: 11px; color: var(--gold); letter-spacing: 0.1em;
  font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 8px;
}
.vmodal-basis-head .basis-count {
  font-family: var(--font-en); font-size: 13px; padding: 1px 8px;
  border: 1px solid rgba(201,168,76,0.4); border-radius: 10px; color: var(--gold);
}
.comp-table { width: 100%; border-collapse: collapse; }
.comp-table th {
  padding: 6px 8px; font-size: 10px; color: var(--gray); font-weight: 400;
  text-align: left; border-bottom: 1px solid rgba(201,168,76,0.15); letter-spacing: 0.05em;
}
.comp-table td { padding: 7px 8px; font-size: 11px; color: rgba(28,26,23,0.8); border-bottom: 1px solid rgba(28,26,23,0.06); }
.comp-badge { font-size: 9px; padding: 1px 6px; letter-spacing: 0.05em; }
.comp-badge-active { background: rgba(201,168,76,0.15); color: var(--gold-dark); }
.comp-badge-sold { background: rgba(28,26,23,0.08); color: var(--gray); }
.vmodal-weak {
  margin-top: 12px; padding: 10px 14px; font-size: 11px; line-height: 1.7;
  color: #9a6a2a; background: rgba(201,168,76,0.08); border-left: 2px solid var(--gold);
}
body.theme-dark .comp-table td { color: rgba(248,245,239,0.8); }

/* ── 360°パノラマ（Pannellum） ── 購入ページ＝ダークテーマ ── */
.panorama-section { background: var(--navy); }
.panorama-wrap { max-width: 960px; margin: 0 auto; }
.panorama-viewer {
  width: 100%; height: 60vh; min-height: 360px;
  border: 1px solid rgba(201,168,76,0.3); background: var(--navy-light);
}
.panorama-placeholder {
  width: 100%; min-height: 320px; padding: 48px; box-sizing: border-box;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; text-align: center;
  border: 1px dashed rgba(201,168,76,0.3); color: var(--gray); font-size: 13px; line-height: 1.9;
}
.panorama-placeholder .pano-icon { font-size: 36px; color: rgba(201,168,76,0.5); }
.panorama-scenes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; justify-content: center; }
.pano-scene-btn {
  padding: 8px 18px; border: 1px solid rgba(201,168,76,0.3); background: transparent;
  color: var(--gray); font-family: var(--font-ja); font-size: 12px; cursor: pointer; transition: all 0.2s;
}
.pano-scene-btn:hover { border-color: var(--gold); color: var(--gold); }
.pano-scene-btn.active { background: var(--gold); color: var(--navy); border-color: var(--gold); font-weight: 700; }
@media (max-width: 768px) { .panorama-viewer { height: 46vh; } }

