:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --gold: #f59e0b;
  --bg-light: #f8fafc;
  --surface: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
}

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  z-index: 1000;
  text-decoration: none;
  border-radius: 0 0 8px 0;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
}

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

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Nav */
header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.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;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.25rem;
}
.logo-area img {
  width: 40px;
  height: 40px;
}
.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover {
  color: var(--accent);
}
.nav-btn {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
}
.nav-btn:hover {
  background: var(--accent-hover);
}

/* Mobile Nav Toggle */
.burger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79,70,229,0.2) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-text h1 {
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 20px;
  font-weight: 700;
}
.hero-text p {
  font-size: 1.125rem;
  color: #cbd5e1;
  margin-bottom: 30px;
}
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--accent-hover);
}
.hero-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  object-fit: cover;
}

/* Stats */
.stats-section {
  background: var(--surface);
  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-item h2 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 4px;
}
.stat-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Section general */
.section {
  padding: 80px 0;
}
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-title p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Step Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--surface);
  padding: 30px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
}
.step-icon {
  width: 60px;
  height: 60px;
  background: rgba(79,70,229,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 Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.service-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.service-body h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--primary);
}
.service-body p {
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
  font-size: 0.95rem;
}

/* Feature Asymmetric */
.feature-asym {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.feature-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.feature-list {
  list-style: none;
  margin-top: 20px;
}
.feature-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
}
.feature-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}
.price-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border: 2px solid var(--accent);
  transform: translateY(-8px);
}
.badge-popular {
  position: absolute;
  top: -14px;
  right: 20px;
  background: var(--gold);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
}
.price-val {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary);
  margin: 16px 0;
}
.price-val span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}
.price-features {
  list-style: none;
  margin-bottom: 30px;
  flex-grow: 1;
}
.price-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

/* Form Section */
.form-wrapper {
  max-width: 650px;
  margin: 0 auto;
  background: var(--surface);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
}
.form-control:focus {
  border-color: var(--accent);
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.checkbox-group input {
  margin-top: 4px;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-header {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-body {
  padding: 0 24px 20px;
  display: none;
  color: var(--text-muted);
}
.faq-item.active .faq-body {
  display: block;
}

/* Trust Layer */
.trust-layer {
  background: #f1f5f9;
  border-top: 1px solid var(--border);
  padding: 50px 0;
  margin-top: 60px;
}
.trust-box {
  background: var(--surface);
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.trust-box h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-details {
  margin: 16px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.trust-disclaimer {
  font-size: 0.825rem;
  color: #94a3b8;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 12px;
}

/* Footer */
footer {
  background: var(--primary);
  color: #94a3b8;
  padding: 60px 0 30px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo {
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 12px;
  display: inline-block;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: #94a3b8;
  text-decoration: none;
}
.footer-links a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  background: var(--primary);
  color: #fff;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  z-index: 9999;
  display: none;
}
.cookie-banner.show {
  display: block;
}
.cookie-btns {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}
.btn-accept {
  background: var(--accent);
  color: #fff;
}
.btn-decline {
  background: #334155;
  color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid, .feature-asym, .footer-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid, .steps-grid, .services-grid, .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.active {
    display: flex;
  }
  .burger {
    display: block;
  }
  .stats-grid, .steps-grid, .services-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }
  .price-card.featured {
    transform: none;
  }
}