:root {
  --navy-deep: #0a1e38;
  --navy: #142b4c;
  --navy-light: #1f3d63;
  --gold: #b8956a;
  --gold-light: #d4b896;
  --gold-dark: #8b6f4e;
  --ivory: #faf7f0;
  --cream: #ede5d4;
  --paper: #f5f1e8;
  --paper-soft: #f9f5ec;
  --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 130px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(184, 149, 106, 0.10) 0%, transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(184, 149, 106, 0.06) 0%, transparent 55%);
  pointer-events: none;
}

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

.hero-bg-svg {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 480px;
  opacity: 0.3;
  pointer-events: none;
}

.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: 40px;
}

.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, 60px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin-bottom: 32px;
  max-width: 780px;
}

.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;
}

/* ============ SECTION BASE ============ */
section.content {
  padding: 140px 0;
  position: relative;
}

.sec-label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold-dark);
  letter-spacing: 0.4em;
  font-size: 12px;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.sec-label::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--gold);
}

.sec-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--gold);
  margin-left: 4px;
}

.sec-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 500;
  line-height: 1.55;
  color: var(--navy-deep);
  margin-bottom: 36px;
  letter-spacing: 0.03em;
}

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

.sec-lead {
  font-size: 17px;
  line-height: 2.3;
  color: var(--ink-soft);
  max-width: 780px;
  margin-bottom: 64px;
}

/* ============ INTRO MESSAGE ============ */
.intro-message {
  background: var(--paper);
  padding: 120px 0;
  position: relative;
}

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

.intro-quote {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(22px, 2.6vw, 32px);
  color: var(--navy-deep);
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: 0.04em;
  margin-bottom: 48px;
  position: relative;
}

.intro-quote::before {
  content: '"';
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 56px;
  line-height: 1;
  margin-bottom: 16px;
}

.intro-quote .accent {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold-dark);
}

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

/* ============ INDEX (Solutions Catalog) ============ */
.solutions-index {
  background: var(--ivory);
}

.index-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.index-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 40px 36px;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s;
  position: relative;
  display: flex;
  flex-direction: column;
}

.index-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s;
}

.index-card:hover::before { transform: scaleX(1); }
.index-card:hover {
  background: var(--paper-soft);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10, 30, 56, 0.06);
}

.index-card-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.index-card-icon {
  width: 56px;
  height: 56px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  margin-bottom: 24px;
}

.index-card-icon svg { width: 24px; height: 24px; }

.index-card h3 {
  font-family: 'Shippori Mincho', serif;
  font-size: 22px;
  color: var(--navy-deep);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
  line-height: 1.55;
}

.index-card .en {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold-dark);
  font-size: 13px;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.index-card p {
  font-size: 14px;
  line-height: 2;
  color: var(--ink-soft);
  flex: 1;
  margin-bottom: 24px;
}

.index-card-link {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold-dark);
  font-size: 13px;
  letter-spacing: 0.2em;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  align-self: flex-start;
}

/* ============ SOLUTION DETAIL SECTIONS ============ */
.solution-detail {
  position: relative;
  padding: 140px 0;
}

.solution-detail.bg-paper { background: var(--paper); }
.solution-detail.bg-ivory { background: var(--ivory); }
.solution-detail.bg-dark {
  background: var(--navy-deep);
  color: var(--ivory);
}

.solution-detail.bg-dark .sec-title { color: var(--ivory); }
.solution-detail.bg-dark .sec-label { color: var(--gold-light); }

.detail-content {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
  margin-top: 48px;
}

.bg-dark .detail-content {
  align-items: center;
}

.detail-side {
  position: sticky;
  top: 120px;
}

.detail-side-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 88px;
  color: var(--gold);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 16px;
}

.bg-dark .detail-side-num { color: var(--gold-light); }

.detail-side-en {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--gold-dark);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 24px;
}

.bg-dark .detail-side-en { color: var(--gold-light); }

.detail-side h3 {
  font-family: 'Shippori Mincho', serif;
  font-size: 26px;
  color: var(--navy-deep);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
}

.bg-dark .detail-side h3 { color: var(--ivory); }

.detail-side-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--gold-dark);
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.bg-dark .detail-side-tagline { color: var(--gold-light); }

.detail-main p {
  font-size: 16px;
  line-height: 2.2;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.bg-dark .detail-main p { color: rgba(248, 244, 237, 0.82); }

.detail-main p strong {
  color: var(--navy-deep);
  font-weight: 600;
}

.bg-dark .detail-main p strong { color: var(--gold-light); font-weight: 500; }

/* Feature box */
.detail-feature {
  margin-top: 32px;
  padding: 32px 36px;
  background: var(--ivory);
  border-left: 3px solid var(--gold);
}

.bg-ivory .detail-feature { background: var(--paper-soft); }
.bg-dark .detail-feature {
  background: rgba(184, 149, 106, 0.06);
  border: 1px solid rgba(184, 149, 106, 0.25);
  border-left: 3px solid var(--gold);
}

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

.bg-dark .detail-feature-label { color: var(--gold-light); }

.detail-feature ul {
  list-style: none;
  padding: 0;
}

.detail-feature li {
  position: relative;
  padding-left: 22px;
  padding-bottom: 12px;
  font-size: 14px;
  line-height: 2;
  color: var(--ink-soft);
}

.bg-dark .detail-feature li { color: rgba(248, 244, 237, 0.78); }

.detail-feature li:last-child { padding-bottom: 0; }

.detail-feature li::before {
  content: '◇';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 11px;
  top: 4px;
}

.detail-feature li strong {
  color: var(--navy-deep);
  font-weight: 600;
  margin-right: 8px;
}

.bg-dark .detail-feature li strong { color: var(--ivory); }

/* Use cases */
.use-cases {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.use-case-card {
  padding: 24px 28px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
}

.bg-ivory .use-case-card { background: var(--paper); }
.bg-dark .use-case-card {
  background: rgba(184, 149, 106, 0.06);
  border-color: rgba(184, 149, 106, 0.25);
}

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

.bg-dark .use-case-card-label { color: var(--gold-light); }

.use-case-card h4 {
  font-family: 'Shippori Mincho', serif;
  font-size: 15px;
  color: var(--navy-deep);
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.6;
}

.bg-dark .use-case-card h4 { color: var(--ivory); }

.use-case-card p {
  font-size: 13px;
  line-height: 1.95;
  color: var(--ink-soft);
  margin: 0;
}

.bg-dark .use-case-card p { color: rgba(248, 244, 237, 0.7); }

/* Section divider */
.section-divider {
  text-align: center;
  padding: 48px 0;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}

.section-divider span {
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 0.5em;
}

/* ============ COMBINATION ============ */
.combination {
  background: var(--paper);
}

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

.combo-quote {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--navy-deep);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.04em;
  margin-bottom: 48px;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  padding: 48px 0;
}

.combo-quote .accent {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold-dark);
}

.combo-inner > p {
  font-size: 16px;
  line-height: 2.3;
  color: var(--ink-soft);
  margin-bottom: 24px;
  text-align: left;
}

/* ============ RELATED ============ */
.related {
  background: var(--ivory);
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
  margin-top: 56px;
}

.related-card {
  background: var(--ivory);
  padding: 48px 40px;
  text-decoration: none;
  color: inherit;
  transition: background 0.5s;
}

.related-card:hover { background: var(--paper-soft); }

.related-card-icon {
  width: 56px;
  height: 56px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  margin-bottom: 24px;
}

.related-card-icon svg { width: 24px; height: 24px; }

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

.related-card h3 {
  font-family: 'Shippori Mincho', serif;
  font-size: 22px;
  color: var(--navy-deep);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
  line-height: 1.55;
}

.related-card p {
  font-size: 14px;
  line-height: 2;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.related-card-link {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold-dark);
  font-size: 13px;
  letter-spacing: 0.2em;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}

/* ============ CONSULTATION ============ */
.consultation {
  background: var(--navy-deep);
  color: var(--ivory);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

.consultation::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(184, 149, 106, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(184, 149, 106, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.consultation-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

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

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

.consultation p {
  font-size: 16px;
  line-height: 2.2;
  color: rgba(248, 244, 237, 0.85);
  margin-bottom: 24px;
  text-align: left;
}

.cta-buttons {
  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-light);
  background: transparent;
  transition: all 0.4s;
  font-family: 'Shippori Mincho', serif;
  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(--gold);
  color: var(--ivory);
}
.cta-btn.primary::before { background: var(--gold-dark); }

/* ============ 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: 130px 0 80px; }
  .hero-bg-svg { display: none; }
  section.content, .solution-detail { padding: 80px 0; }

  .index-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .detail-content {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .detail-side { position: static; }
  .detail-side-num { font-size: 56px; }

  .use-cases { grid-template-columns: 1fr; gap: 12px; }

  .related-grid { grid-template-columns: 1fr; gap: 1px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .cta-buttons { 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;
}