/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --navy: #1a2332;
  --navy-light: #243044;
  --navy-dark: #111a27;
  --gold: #c4a265;
  --gold-light: #d4b878;
  --gold-dark: #a8894f;
  --white: #fff;
  --bg: #f8f9fa;
  --bg-light: #f0f2f5;
  --text: #222;
  --text-light: #444;
  --text-muted: #666;
  --serif: 'Noto Serif JP', serif;
  --sans: 'Noto Sans JP', sans-serif;
  --nav-h: 68px;
  --section-py: clamp(64px, 10vw, 120px);
  --container: min(1120px, 90vw);
}
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== Utility ===== */
.container { width: var(--container); margin: 0 auto; }
.section-label {
  font-size: clamp(0.75rem, 1.2vw, 0.8125rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 500;
}
.section-heading {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--navy);
}
.section-lead {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  color: var(--text-light);
  line-height: 2;
  max-width: 680px;
}
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ===== Scroll Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ===== 1. Navigation ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.nav.is-scrolled {
  background: rgba(26, 35, 50, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 40px;
  width: auto;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
}
@media (min-width: 1100px) {
  .nav-links { display: flex; }
}
.nav-links a {
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.03em;
  transition: color 0.3s ease;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--gold); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--gold);
  border-radius: 4px;
  transition: background 0.3s ease;
}
.nav-cta:hover { background: var(--gold-light); }
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
@media (min-width: 1100px) {
  .nav-hamburger { display: none; }
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(26, 35, 50, 0.98);
  backdrop-filter: blur(12px);
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  z-index: 99;
}
.nav-mobile-menu.is-open { display: block; }
.nav-mobile-menu a {
  display: block;
  padding: 0.75rem 2rem;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.8);
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-mobile-menu a:hover { background: rgba(196,162,101,0.1); color: var(--gold); }
@media (min-width: 1100px) {
  .nav-mobile-menu { display: none !important; }
}

/* ===== 2. Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 60px) 1.5rem 4rem;
  background: url('red.jpg') center/cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, rgba(26,35,50,0.52) 0%, rgba(36,48,68,0.48) 40%, rgba(30,42,60,0.55) 100%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(196,162,101,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 780px; }
.hero-label {
  font-size: clamp(0.75rem, 1.2vw, 0.875rem);
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.hero-sub {
  font-size: clamp(0.9375rem, 1.8vw, 1.125rem);
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  line-height: 2;
  margin-bottom: 2.5rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--gold);
  border-radius: 4px;
  transition: background 0.3s ease, transform 0.2s ease;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.2s ease;
}
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }
.hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.hero-stat-value {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-stat-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

/* ===== 3. Client Logos ===== */
.clients {
  padding: clamp(20px, 3vw, 36px) 0;
  background: var(--white);
}
.clients-text {
  font-size: clamp(0.8125rem, 1.4vw, 0.9375rem);
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 1.25rem;
}
.clients-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
}
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  height: 48px;
  padding: 0 0.5rem;
}
.client-logo img {
  max-height: 36px;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}
.client-logo img:hover { opacity: 1; }
.client-logo-text {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.5;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}
.client-logo:hover .client-logo-text { opacity: 0.8; }
.clients-tagline {
  font-family: var(--serif);
  font-size: clamp(0.9375rem, 1.8vw, 1.125rem);
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  margin-top: 1.25rem;
  letter-spacing: 0.04em;
}

/* ===== 4. Problem ===== */
.problem {
  padding: var(--section-py) 0;
  background: var(--bg);
}
.problem-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.problem-card {
  padding: 2.25rem 2rem;
  background: var(--white);
  border-radius: 8px;
  border-left: 3px solid var(--gold);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.problem-card-num {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.problem-card h3 {
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.problem-card p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.9;
}

/* ===== 5. Reasons ===== */
.reasons {
  padding: var(--section-py) 0;
  background: var(--white);
}
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (max-width: 768px) {
  .reasons-grid { grid-template-columns: 1fr; }
}
.reason-card {
  padding: 0;
  background: var(--bg);
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.04);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.reason-card-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.reason-card-body {
  padding: 2rem;
}
.reason-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}
.reason-num {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(196,162,101,0.15);
  line-height: 1;
  margin-bottom: 1rem;
}
.reason-card h3 {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.reason-card p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.9;
}

/* ===== 6. Products ===== */
.products {
  padding: var(--section-py) 0;
  background: var(--bg);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.product-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}
.product-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transform: scale(1.2);
}
.product-card-body {
  padding: 1.5rem;
}
.product-card h3 {
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.product-card p {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.product-lot {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(196,162,101,0.1);
  color: var(--gold-dark);
  border-radius: 3px;
  margin-bottom: 1rem;
}
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gold);
  transition: color 0.3s ease;
}
.product-link:hover { color: var(--gold-dark); }

/* ===== 7. Partner Flow ===== */
.partner-flow {
  padding: var(--section-py) 0;
  background: var(--white);
}
.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 3rem;
  position: relative;
}
.flow-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(196,162,101,0.2));
}
.flow-step {
  text-align: center;
  position: relative;
  padding: 0 0.5rem;
}
.flow-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  background: var(--navy);
  border: 2px solid var(--gold);
  position: relative;
  z-index: 1;
  margin-bottom: 1.25rem;
}
.flow-step h3 {
  font-family: var(--serif);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.flow-step p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.flow-note {
  margin-top: 2.5rem;
  padding: 1.5rem 2rem;
  background: var(--bg);
  border-radius: 8px;
  border-left: 3px solid var(--gold);
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.9;
}
@media (max-width: 768px) {
  .flow-steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .flow-steps::before {
    top: 0; bottom: 0;
    left: 31px; right: auto;
    width: 2px; height: auto;
  }
  .flow-step {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 1rem;
    text-align: left;
    align-items: start;
  }
  .flow-step-num { margin-bottom: 0; }
  .flow-step-content { padding-top: 0.75rem; }
}

/* ===== 8. Works ===== */
.works {
  padding: var(--section-py) 0;
  background: var(--bg);
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.work-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.work-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.work-card-body {
  padding: 1.5rem 2rem 2rem;
}
.work-card-category {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.work-card h3 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.work-card p {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.8;
}
.works-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gold);
  transition: color 0.3s ease;
}
.works-more:hover { color: var(--gold-dark); }

/* ===== 9. Showroom ===== */
.showroom {
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.showroom-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.showroom-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}
.showroom-inner {
  position: relative;
  z-index: 1;
}
.showroom-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 768px) {
  .showroom-content { grid-template-columns: 1fr; }
}
.showroom .section-label { color: var(--gold); }
.showroom .section-heading { color: var(--white); }
.showroom-text {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  color: rgba(255,255,255,0.85);
  font-weight: 400;
  line-height: 2;
  margin: 1.5rem 0 2rem;
}
.showroom-locations {
  margin-bottom: 2rem;
}
.showroom-location {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.showroom-location-icon {
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.showroom-location-name {
  font-weight: 500;
  color: var(--white);
  font-size: 0.9375rem;
}
.showroom-location-addr {
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
}
.showroom-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--gold);
  border-radius: 4px;
  transition: background 0.3s ease, transform 0.2s ease;
}
.showroom-cta:hover { background: var(--gold-light); transform: translateY(-1px); }
.showroom-image {
  border-radius: 8px;
  overflow: hidden;
}
.showroom-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px;
}

/* ===== 10. CTA Section ===== */
.cta-section {
  padding: var(--section-py) 0;
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(196,162,101,0.06) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%; right: -15%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(196,162,101,0.04) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-section .section-label { color: var(--gold); }
.cta-section .section-heading { color: var(--white); }
.cta-lead {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  color: rgba(255,255,255,0.6);
  line-height: 2;
  margin: 1.5rem auto 2.5rem;
  max-width: 540px;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--gold);
  border-radius: 4px;
  transition: background 0.3s ease, transform 0.2s ease;
}
.cta-btn:hover { background: var(--gold-light); transform: translateY(-1px); }
.cta-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}
.cta-btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }

/* ===== 11. Footer ===== */
.footer {
  padding: 2.5rem 0;
  background: var(--navy-dark);
  text-align: center;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.3s ease;
}
.footer-links a:hover { color: var(--gold); }
.footer-logo-img {
  height: 32px;
  width: auto;
}
.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.05em;
}