:root {
  --primary: #1a2b4c;
  --secondary: #2c4268;
  --accent: #e2a85c;
  --accent-hover: #c98e43;
  --bg-light: #f8f9fa;
  --bg-card: #ffffff;
  --text-dark: #212529;
  --text-muted: #6c757d;
  --border: #e9ecef;
  --font-main: 'Noto Sans JP', sans-serif;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: #ffffff;
  color: var(--text-dark);
  line-height: 1.7;
}

body {
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 10px;
  background: var(--accent);
  color: #000;
  padding: 8px 16px;
  z-index: 10000;
  transition: top 0.2s;
  font-weight: bold;
  text-decoration: none;
  border-radius: 4px;
}
.skip-link:focus {
  top: 10px;
}

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

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

/* Header */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.4rem;
}
.brand img {
  width: 38px;
  height: 38px;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover {
  color: var(--accent-hover);
}
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #1a2b4c;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(226, 168, 92, 0.3);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}
.burger {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--primary);
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 90px 0 70px;
  background: linear-gradient(135deg, #0f1c33 0%, #1a2b4c 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(226,168,92,0.15) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.hero-title {
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #ffffff;
}
.hero-desc {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #e0e6ed;
}
.hero-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
  object-fit: cover;
  max-height: 450px;
}

/* Stats */
.stats {
  background: var(--bg-light);
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}
.stat-num {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
}
.stat-label {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Section General */
.section {
  padding: 80px 0;
}
.section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 15px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}
.step-card {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--border);
  position: relative;
  box-shadow: var(--shadow);
}
.step-num {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Trust Block */
.trust-block {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 40px;
  margin: 40px 0;
  border-left: 6px solid var(--accent);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
}
.service-card {
  background: var(--bg-card);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.service-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.service-body {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.service-title {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 10px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: stretch;
}
.price-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.popular {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(226,168,92,0.2);
}
.badge-popular {
  position: absolute;
  top: -15px;
  right: 20px;
  background: var(--accent);
  color: #1a2b4c;
  font-weight: bold;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
}
.price-val {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 20px 0;
}

/* Form Section */
.form-section {
  background: var(--primary);
  color: #ffffff;
  padding: 80px 0;
  border-radius: 16px;
  margin: 60px 0;
}
.form-container {
  max-width: 650px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}
.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: 6px;
  border: 1px solid #3a4f78;
  background: #203358;
  color: #ffffff;
  font-size: 1rem;
}
.form-control:focus {
  border-color: var(--accent);
  background: #253a63;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  cursor: pointer;
}
.checkbox-label a {
  color: var(--accent);
  text-decoration: underline;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 20px;
  background: var(--bg-light);
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: #fff;
}
.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 300px;
}

/* Trust Layer Banner */
.trust-layer {
  background: #111a2e;
  color: #b0b8c8;
  padding: 30px 0;
  font-size: 0.88rem;
  border-top: 1px solid #1e2d4a;
}
.trust-layer a {
  color: var(--accent);
}

/* Footer */
.footer {
  background: #0a1120;
  color: #8896ab;
  padding: 50px 0 30px;
  border-top: 1px solid #162238;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-title {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 15px;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  color: #8896ab;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #ffffff;
}
.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid #162238;
  font-size: 0.85rem;
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .burger { display: block; }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 30px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-menu.open { display: flex; }
}

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

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}