:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --secondary: #334155;
  --accent: #d97706;
  --accent-hover: #b45309;
  --accent-blue: #0284c7;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --font-main: 'Noto Sans JP', 'Plus Jakarta Sans', sans-serif;
  --container-width: 1200px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 10px;
  background: var(--accent);
  color: #fff;
  padding: 10px 15px;
  z-index: 10000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 10px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--primary);
  line-height: 1.3;
  font-weight: 700;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.4rem; }
p { margin-bottom: 1rem; color: var(--text-muted); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  background-color: var(--accent);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}
.btn:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}
.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-secondary:hover {
  background-color: var(--primary);
  color: #ffffff;
}

/* Header & Nav */
header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-area img {
  width: 40px;
  height: 40px;
}
.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-menu a:hover, .nav-menu a.active {
  color: var(--accent);
}
.burger-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(217,119,6,0.15) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-text h1 {
  color: #ffffff;
  margin-bottom: 20px;
  font-size: 2.6rem;
}
.hero-text p {
  color: #cbd5e1;
  font-size: 1.1rem;
  margin-bottom: 30px;
}
.hero-img-box img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  object-fit: cover;
  max-height: 420px;
}

/* Statistics */
.stats-section {
  background: #ffffff;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* How It Works */
.how-it-works {
  padding: 80px 0;
  background: var(--bg-light);
}
.section-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-card {
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
  text-align: center;
}
.step-icon {
  width: 60px;
  height: 60px;
  background: rgba(217,119,6,0.1);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}

/* Services */
.services-section {
  padding: 80px 0;
  background: #ffffff;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.service-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.service-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.service-content h3 {
  margin-bottom: 12px;
}

/* Feature Asymmetric Block */
.feature-block {
  padding: 80px 0;
  background: var(--bg-light);
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.feature-img img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.feature-list {
  list-style: none;
  margin-top: 20px;
}
.feature-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.feature-list i {
  color: var(--accent);
  margin-top: 5px;
}

/* Pricing */
.pricing-section {
  padding: 80px 0;
  background: #ffffff;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}
.pricing-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 35px 25px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-card.featured {
  border: 2px solid var(--accent);
  box-shadow: 0 10px 30px rgba(217, 119, 6, 0.15);
}
.badge-popular {
  position: absolute;
  top: -15px;
  right: 20px;
  background: var(--accent);
  color: #fff;
  padding: 4px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 20px;
}
.price-tag {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin: 15px 0;
}

/* Form Section */
.form-section {
  padding: 80px 0;
  background: var(--primary);
  color: #ffffff;
}
.form-container {
  max-width: 650px;
  margin: 0 auto;
  background: #ffffff;
  color: var(--text-dark);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}
.form-control:focus {
  outline: none;
  border-color: var(--accent);
}
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
}
.checkbox-group input {
  margin-top: 4px;
}

/* FAQ Teaser */
.faq-section {
  padding: 80px 0;
  background: var(--bg-light);
}
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 20px;
  text-align: left;
  background: none;
  border: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-answer {
  padding: 0 20px 20px 20px;
  display: none;
  color: var(--text-muted);
}

/* Trust Layer Banner */
.trust-layer-banner {
  background: #f1f5f9;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 30px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.trust-layer-banner h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-disclaimer {
  margin-top: 8px;
  font-size: 0.8rem;
  opacity: 0.8;
}

/* Footer */
footer {
  background: var(--primary);
  color: #94a3b8;
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand h3 {
  color: #ffffff;
  margin-bottom: 15px;
}
.footer-links h4 {
  color: #ffffff;
  margin-bottom: 15px;
  font-size: 1rem;
}
.footer-links ul {
  list-style: none;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #ffffff;
}
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 25px;
  text-align: center;
  font-size: 0.85rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  z-index: 9999;
  display: none;
}
.cookie-btns {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .hero-grid, .feature-grid, .services-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid, .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: #ffffff;
    flex-direction: column;
    padding: 40px 20px;
    transition: left 0.3s;
  }
  .nav-menu.active {
    left: 0;
  }
  .burger-btn {
    display: block;
  }
  .steps-grid, .stats-grid {
    grid-template-columns: 1fr;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}