:root {
  --navy-deep: #0a1e38;
  --navy: #142b4c;
  --navy-light: #1f3d63;
  --gold: #b8956a;
  --gold-light: #d4b896;
  --gold-dark: #8b6f4e;
  --ivory: #faf7f0;
  --cream: #ede5d4;
  --paper: #f5f1e8;
  --ink: #1a1a1a;
  --ink-soft: #3a3a3a;
  --ink-light: #5a5a5a;
  --line: rgba(184, 149, 106, 0.25);
  --line-strong: rgba(184, 149, 106, 0.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.95;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
}

.container-narrow {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ============ HEADER ============ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(10, 30, 56, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100;
  padding: 22px 0;
  border-bottom: 1px solid rgba(184, 149, 106, 0.15);
  transition: padding 0.3s;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--ivory);
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.logo .plus { color: var(--gold); font-style: italic; }

.logo-tag {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold-light);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  text-transform: uppercase;
  margin-left: 6px;
}

.nav-links {
  display: flex;
  gap: 38px;
  list-style: none;
}

.nav-links a {
  color: var(--ivory);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.15em;
  transition: color 0.4s;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s ease;
}

.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--gold-light); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: 10px 24px;
  font-size: 12px;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: all 0.4s;
  font-family: 'Shippori Mincho', serif;
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--ivory);
}

/* ============ PAGE HERO ============ */
.page-hero {
  background: var(--navy-deep);
  color: var(--ivory);
  padding: 200px 0 120px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '?';
  position: absolute;
  top: 50%; right: 10%;
  transform: translateY(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 480px;
  color: rgba(184, 149, 106, 0.06);
  font-weight: 300;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--gold-light);
  margin-bottom: 32px;
}

.breadcrumb a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover { color: var(--ivory); }
.breadcrumb .sep { margin: 0 12px; color: var(--gold); }

.page-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold-light);
  letter-spacing: 0.4em;
  font-size: 12px;
  margin-bottom: 32px;
  text-transform: uppercase;
}

.page-hero-tag::before, .page-hero-tag::after {
  content: '';
  display: inline-block;
  width: 40px; height: 1px;
  background: var(--gold);
}

.page-hero h1 {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin-bottom: 32px;
}

.page-hero h1 .accent {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold-light);
  font-weight: 400;
}

.page-hero .en-sub {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.4em;
  color: var(--gold-light);
  letter-spacing: 0.3em;
  margin-top: 16px;
  font-weight: 300;
  text-transform: uppercase;
}

.hero-subline {
  font-size: 17px;
  line-height: 2.4;
  color: rgba(248, 244, 237, 0.85);
  max-width: 720px;
}

/* ============ INTRO ============ */
.faq-intro {
  background: var(--paper);
  padding: 100px 0 60px;
}

.faq-intro-text {
  max-width: 760px;
  text-align: center;
  margin: 0 auto;
}

.faq-intro-text p {
  font-size: 16px;
  line-height: 2.3;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.faq-intro-text .lead {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--gold-dark);
  margin-bottom: 32px;
  letter-spacing: 0.05em;
}

/* ============ SEARCH BAR ============ */
.faq-search {
  background: var(--paper);
  padding: 0 0 80px;
  position: sticky;
  top: 80px;
  z-index: 50;
}

.search-wrap {
  max-width: 760px;
  margin: 0 auto;
  background: var(--ivory);
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  padding: 4px 4px 4px 24px;
  transition: border-color 0.3s;
}

.search-wrap:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 149, 106, 0.08);
}

.search-icon {
  color: var(--gold-dark);
  font-size: 18px;
  margin-right: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 18px 0;
  font-size: 16px;
  font-family: 'Shippori Mincho', serif;
  color: var(--ink);
  outline: none;
}

.search-input::placeholder {
  color: var(--ink-light);
  font-style: italic;
}

.search-clear {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 12px 18px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--gold-dark);
  letter-spacing: 0.15em;
  display: none;
  transition: color 0.3s;
}

.search-clear:hover { color: var(--navy-deep); }
.search-clear.visible { display: block; }

/* ============ CATEGORY FILTER ============ */
.category-filter {
  background: var(--paper);
  padding: 0 0 80px;
}

.category-filter-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.category-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold-dark);
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 28px;
  display: block;
}

.category-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.cat-btn {
  background: transparent;
  border: 1px solid var(--line-strong);
  padding: 12px 24px;
  font-family: 'Shippori Mincho', serif;
  font-size: 14px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.05em;
}

.cat-btn:hover {
  border-color: var(--gold);
  color: var(--navy-deep);
}

.cat-btn.active {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--ivory);
}

.cat-btn .count {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold);
  margin-left: 8px;
  font-size: 13px;
}

.cat-btn.active .count { color: var(--gold-light); }

/* ============ FAQ LIST ============ */
.faq-section {
  background: var(--paper);
  padding: 40px 0 140px;
}

.faq-category {
  margin-bottom: 80px;
}

.faq-category:last-child { margin-bottom: 0; }

.faq-category.hidden { display: none; }

.cat-header {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.cat-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 36px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.cat-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 26px;
  color: var(--navy-deep);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.cat-title .en {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold-dark);
  font-size: 0.6em;
  letter-spacing: 0.2em;
  margin-left: 16px;
  text-transform: uppercase;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  transition: opacity 0.3s;
}

.faq-item.hidden { display: none; }

.faq-question {
  padding: 28px 24px 28px 0;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  transition: color 0.3s;
}

.faq-question:hover { color: var(--gold-dark); }

.faq-q-mark {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 24px;
  color: var(--gold);
  flex-shrink: 0;
  line-height: 1.4;
  width: 36px;
  font-weight: 500;
}

.faq-q-text {
  font-family: 'Shippori Mincho', serif;
  font-size: 17px;
  color: var(--navy-deep);
  font-weight: 600;
  flex: 1;
  letter-spacing: 0.02em;
  line-height: 1.7;
}

.faq-toggle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 24px;
  flex-shrink: 0;
  transition: transform 0.4s;
  font-weight: 300;
}

.faq-item.open .faq-toggle { transform: rotate(45deg); }

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

.faq-item.open .faq-answer {
  max-height: 1000px;
}

.faq-answer-inner {
  padding: 0 24px 36px 60px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.faq-a-mark {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 24px;
  color: var(--gold-dark);
  flex-shrink: 0;
  line-height: 1.4;
  width: 36px;
  font-weight: 500;
}

.faq-a-content {
  flex: 1;
}

.faq-a-content p {
  font-size: 15px;
  line-height: 2.2;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.faq-a-content p:last-child { margin-bottom: 0; }

.faq-a-content ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 16px;
}

.faq-a-content ul li {
  padding-left: 20px;
  position: relative;
  font-size: 15px;
  line-height: 2;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.faq-a-content ul li::before {
  content: '◇';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 11px;
}

.faq-a-content .related {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--gold-dark);
}

.faq-a-content .related a {
  color: var(--gold-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  letter-spacing: 0.1em;
  margin-left: 8px;
  transition: color 0.3s;
}

.faq-a-content .related a:hover { color: var(--navy-deep); }

/* ============ NO RESULTS ============ */
.no-results {
  display: none;
  text-align: center;
  padding: 80px 24px;
  color: var(--ink-light);
  font-style: italic;
}

.no-results.visible { display: block; }

.no-results .icon {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
  color: var(--gold);
  font-style: italic;
  margin-bottom: 24px;
  font-weight: 300;
}

.no-results p {
  font-family: 'Shippori Mincho', serif;
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

/* ============ STILL HAVE QUESTIONS ============ */
.still-questions {
  background: var(--ivory);
  padding: 140px 0;
  position: relative;
}

.still-questions::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 1px;
  background: var(--gold);
}

.still-questions-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

.still-questions-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold-dark);
  font-size: 14px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 32px;
  display: block;
}

.still-questions h2 {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--navy-deep);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 32px;
  letter-spacing: 0.03em;
}

.still-questions p {
  font-size: 16px;
  line-height: 2.3;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.still-questions .cta-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 56px;
  flex-wrap: wrap;
}

.cta-btn {
  min-width: 220px;
  padding: 22px 36px;
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-decoration: none;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  background: transparent;
  transition: all 0.4s;
  font-family: 'Shippori Mincho', serif;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateY(100%);
  transition: transform 0.5s ease;
  z-index: 0;
}

.cta-btn:hover::before { transform: translateY(0); }

.cta-btn span {
  position: relative;
  z-index: 1;
  transition: color 0.3s;
}

.cta-btn:hover span { color: var(--ivory); }

.cta-btn.primary {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--ivory);
}
.cta-btn.primary::before { background: var(--gold); }

/* ============ FOOTER ============ */
footer {
  background: #050f1d;
  color: rgba(248, 244, 237, 0.7);
  padding: 96px 0 48px;
  border-top: 1px solid rgba(184, 149, 106, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 80px;
}

.footer-brand .logo { margin-bottom: 28px; }
.footer-brand p {
  font-size: 13px;
  line-height: 2;
  color: rgba(248, 244, 237, 0.5);
}

.footer-col h4 {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.25em;
  margin-bottom: 24px;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(184, 149, 106, 0.2);
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 14px; }
.footer-col a {
  color: rgba(248, 244, 237, 0.65);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(184, 149, 106, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: rgba(248, 244, 237, 0.4);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s, transform 1s;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .container, .container-narrow { padding: 0 28px; }
  .nav-links { display: none; }
  .page-hero { padding: 140px 0 80px; }
  .page-hero::before { font-size: 240px; right: 5%; }
  .faq-intro { padding: 60px 0 40px; }
  .faq-search { padding: 0 0 40px; position: static; }
  .category-filter { padding: 0 0 40px; }

  .cat-header {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .faq-question {
    gap: 16px;
  }

  .faq-q-text { font-size: 16px; }

  .faq-answer-inner {
    padding-left: 36px;
    gap: 16px;
  }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .still-questions { padding: 80px 0; }
  .still-questions .cta-row { flex-direction: column; }
  .cta-btn { width: 100%; }
}

.demo-banner {
  position: fixed;
  bottom: 20px; right: 20px;
  background: var(--navy-deep);
  color: var(--gold-light);
  padding: 12px 20px;
  font-size: 11px;
  letter-spacing: 0.2em;
  z-index: 1000;
  border: 1px solid var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
}