:root {
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-dark: #9a7830;
  --bg: #f6f3ee;
  --bg-mid: #edeae4;
  --bg-light: #e4e0d8;
  --text: #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(--bg);
  color: var(--text);
  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: 2px; }
.nav-back {
  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; text-decoration: none;
}
.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;
  text-decoration: none;
}
.nav-btn:hover { background: var(--gold); color: var(--bg); }

/* 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); }

/* HERO */
.article-hero {
  min-height: 50vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; padding: 120px 40px 60px; overflow: hidden; text-align: center;
  background: linear-gradient(135deg, #2e2218 0%, #3d2e22 40%, #352619 100%);
}
.article-hero-bg {
  position: absolute; inset: 0;
  background-image: url('../../images/area/京王線_仙川駅.jpg');
  background-size: cover; background-position: center;
  opacity: 0.18;
}
.article-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 60%, rgba(201,168,76,0.08) 0%, transparent 70%);
}
.article-hero-content { position: relative; z-index: 1; max-width: 700px; }
.article-hero-label {
  font-family: var(--font-en); font-size: 11px; letter-spacing: 0.4em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 20px;
}
.article-hero-title {
  font-size: clamp(22px, 3.5vw, 36px); font-weight: 700;
  color: #f0ebe2; line-height: 1.6; margin-bottom: 20px; letter-spacing: 0.05em;
}
.article-hero-title em { font-style: normal; color: var(--gold); }
.article-hero-meta {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
  font-size: 12px; color: rgba(240,235,226,0.6); letter-spacing: 0.1em;
}
.article-hero-meta time { color: rgba(240,235,226,0.8); }
.article-hero-meta .author { color: var(--gold); }

/* LINE CHART */
.chart-wrap {
  margin: 28px 0 20px;
  padding: 24px 12px 12px;
  background: var(--bg-mid);
  border: 1px solid rgba(201,168,76,0.15);
  overflow-x: auto;
}
.line-chart {
  display: block; width: 100%; height: auto;
  min-width: 420px;
}

/* LAYOUT */
.article-body {
  max-width: 1100px; margin: 0 auto; padding: 60px 40px 80px;
  display: grid; grid-template-columns: 1fr 260px; gap: 60px;
  align-items: start;
}

/* TOC SIDEBAR */
.toc-sidebar {
  position: sticky; top: 110px;
  border: 1px solid rgba(201,168,76,0.2);
  background: var(--bg-mid); padding: 28px 24px;
}
.toc-label {
  font-family: var(--font-en); font-size: 10px; letter-spacing: 0.4em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 16px;
}
.toc-list { list-style: none; }
.toc-list li { margin-bottom: 0; }
.toc-list a {
  display: block; padding: 8px 0;
  font-size: 12px; color: var(--gray); text-decoration: none;
  border-bottom: 1px solid rgba(201,168,76,0.08);
  transition: color 0.2s; line-height: 1.5;
}
.toc-list li:last-child a { border-bottom: none; }
.toc-list a:hover { color: var(--gold); }
.toc-list a.active { color: var(--gold); font-weight: 500; }

/* INLINE TOC (mobile) */
.toc-inline {
  display: none;
  border: 1px solid rgba(201,168,76,0.2);
  background: var(--bg-mid); padding: 24px; margin-bottom: 40px;
}
.toc-inline .toc-label { margin-bottom: 12px; }

/* MAIN CONTENT */
.article-main { min-width: 0; }

/* SECTION COMMON */
.article-section { margin-bottom: 56px; }
.article-section-label {
  font-family: var(--font-en); font-size: 10px; letter-spacing: 0.4em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 8px;
}
.article-section h2 {
  font-size: clamp(20px, 2.5vw, 26px); font-weight: 700;
  color: var(--text); line-height: 1.5; margin-bottom: 8px;
}
.article-section h2 strong { color: var(--gold); }
.section-gold-line { width: 40px; height: 1px; background: var(--gold); margin-bottom: 24px; }
.article-section h3 {
  font-size: 17px; font-weight: 700; color: var(--text);
  margin: 32px 0 12px; padding-left: 14px;
  border-left: 3px solid var(--gold);
  line-height: 1.5;
}
.article-section p {
  font-size: 14px; line-height: 2.1; color: rgba(28,26,23,0.82);
  margin-bottom: 16px;
}
.article-section a {
  color: var(--gold); text-decoration: underline;
  text-decoration-color: rgba(201,168,76,0.4);
  transition: text-decoration-color 0.2s;
}
.article-section a:hover { text-decoration-color: var(--gold); }

/* DATA TABLE */
.data-table-wrap { overflow-x: auto; margin: 20px 0 24px; }
.data-table {
  width: 100%; border-collapse: collapse; font-size: 13px;
  min-width: 480px;
}
.data-table th {
  padding: 10px 14px; background: rgba(201,168,76,0.12);
  font-size: 11px; color: var(--gold); letter-spacing: 0.08em;
  text-align: left; border-bottom: 1px solid rgba(201,168,76,0.2);
  white-space: nowrap; font-weight: 600;
}
.data-table td {
  padding: 10px 14px; color: rgba(28,26,23,0.82);
  border-bottom: 1px solid rgba(28,26,23,0.06);
}
.data-table tr:hover td { background: rgba(201,168,76,0.04); }
.data-table .highlight-row td { background: rgba(201,168,76,0.06); font-weight: 500; }
.data-table .price-cell { color: var(--gold); font-weight: 700; }
.table-note {
  font-size: 11px; color: var(--gray); margin-top: 8px; line-height: 1.7;
}

/* MANSION LINK CARD */
.mansion-link {
  display: inline-block; padding: 6px 14px;
  border: 1px solid rgba(201,168,76,0.3); background: rgba(201,168,76,0.05);
  font-size: 12px; color: var(--gold); text-decoration: none;
  letter-spacing: 0.05em; transition: all 0.2s; margin-top: 4px;
}
.mansion-link:hover { background: var(--gold); color: var(--bg); text-decoration: none; }

/* REASONS LIST */
.reasons-list { list-style: none; counter-reset: reasons; }
.reasons-list li {
  counter-increment: reasons;
  padding: 20px 0; border-bottom: 1px solid rgba(201,168,76,0.1);
  display: flex; gap: 16px; align-items: flex-start;
}
.reasons-list li:last-child { border-bottom: none; }
.reasons-list li::before {
  content: '0' counter(reasons);
  font-family: var(--font-en); font-size: 24px; font-weight: 300;
  color: rgba(201,168,76,0.3); flex-shrink: 0; width: 40px; line-height: 1.3;
}
.reason-content { flex: 1; }
.reason-title { font-size: 14px; font-weight: 700; color: var(--gold); margin-bottom: 6px; }
.reason-text { font-size: 13px; line-height: 1.9; color: rgba(28,26,23,0.75); margin: 0; }

/* TIMING TIPS */
.timing-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0;
}
.timing-card {
  padding: 20px; border: 1px solid rgba(201,168,76,0.15); background: var(--bg-mid);
}
.timing-card-head {
  font-size: 13px; font-weight: 700; color: var(--gold); margin-bottom: 8px;
}
.timing-card-text {
  font-size: 12px; line-height: 1.8; color: rgba(28,26,23,0.72); margin: 0;
}

/* FAQ */
.faq-list { margin-top: 20px; }
.faq-item { border-bottom: 1px solid rgba(201,168,76,0.1); }
.faq-question {
  width: 100%; padding: 18px 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(--text); 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: transform 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: 400px; padding-bottom: 18px; }
.faq-answer p {
  font-size: 13px; color: rgba(28,26,23,0.75); line-height: 2; margin: 0;
  padding-left: 4px;
}

/* CTA */
.article-cta {
  background: linear-gradient(135deg, #2e2218 0%, #3d2e22 40%, #352619 100%);
  padding: 64px 40px; text-align: center;
}
.article-cta-title {
  font-size: clamp(18px, 2.5vw, 24px); font-weight: 400;
  color: #f0ebe2; line-height: 1.7; margin-bottom: 28px;
}
.article-cta-title strong { color: var(--gold); font-weight: 700; }
.article-cta-btns {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.cta-btn-primary {
  padding: 14px 32px; background: var(--gold); color: #1c1a17;
  font-family: var(--font-ja); font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em; border: none; cursor: pointer;
  text-decoration: none; transition: all 0.2s;
}
.cta-btn-primary:hover { background: var(--gold-light); }
.cta-btn-secondary {
  padding: 14px 32px; border: 1px solid rgba(240,235,226,0.4);
  background: transparent; color: rgba(240,235,226,0.8);
  font-family: var(--font-ja); font-size: 13px;
  letter-spacing: 0.1em; text-decoration: none; transition: all 0.2s;
}
.cta-btn-secondary:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.1); }

/* 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; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .article-body {
    grid-template-columns: 1fr; gap: 0;
  }
  .toc-sidebar { display: none; }
  .toc-inline { display: block; }
}
@media (max-width: 768px) {
  nav { padding: 12px 20px; }
  .breadcrumb { padding: 8px 20px; top: 52px; font-size: 10px; }
  .article-hero { padding: 100px 20px 48px; min-height: 40vh; }
  .article-body { padding: 40px 20px 60px; }
  .timing-grid { grid-template-columns: 1fr; }
  .article-cta { padding: 48px 20px; }
  .article-cta-btns { flex-direction: column; align-items: center; }
  footer { padding: 40px 20px; }
}
