@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Roboto:wght@400;500;700&display=swap');

:root {
  --primary: #1a2a3a;
  --primary-light: #2c4258;
  --accent: #c59b27;
  --accent-hover: #a8821e;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --text-dark: #222222;
  --text-muted: #666666;
  --border-color: #e2e8f0;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --radius: 8px;
  --font-main: 'Noto Sans JP', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

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

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

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Header & Nav */
.site-header {
  background: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
}
.brand-logo img {
  width: 40px;
  height: 40px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
}
.main-nav a:hover, .main-nav a.active {
  color: var(--accent);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 700;
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}
.btn-primary {
  background-color: var(--accent);
  color: #ffffff;
}
.btn-primary:hover {
  background-color: var(--accent-hover);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(197, 155, 39, 0.3);
}
.btn-secondary {
  background-color: var(--primary);
  color: #ffffff;
}
.btn-secondary:hover {
  background-color: var(--primary-light);
  color: #ffffff;
}
.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover {
  background: var(--primary);
  color: #ffffff;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1a2a3a 0%, #2c4258 100%);
  color: #ffffff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  right: -100px;
  bottom: -100px;
  width: 400px;
  height: 400px;
  border: 40px solid rgba(197, 155, 39, 0.1);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-content h1 {
  font-size: 2.3rem;
  line-height: 1.3;
  margin-bottom: 20px;
  font-weight: 700;
}
.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Sections */
.section {
  padding: 70px 0;
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}
.section-header h2 {
  font-size: 1.9rem;
  color: var(--primary);
  margin-bottom: 15px;
  position: relative;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

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

/* Steps / Workflow */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}
.step-card {
  background: var(--bg-white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
}
.step-icon {
  width: 60px;
  height: 60px;
  background: rgba(197, 155, 39, 0.15);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}
.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card-body {
  padding: 25px;
  flex: 1;
}
.card-title {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 700;
}

/* Feature Asymmetric */
.feature-asym {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.feature-list {
  list-style: none;
  margin-top: 20px;
}
.feature-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1rem;
}
.feature-list li i {
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--accent);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}
.price-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 35px 25px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--border-color);
}
.price-card.featured {
  border: 2px solid var(--accent);
  transform: scale(1.03);
}
.badge-popular {
  position: absolute;
  top: -15px;
  right: 20px;
  background: var(--accent);
  color: #ffffff;
  padding: 4px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 20px;
}
.price-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}
.price-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin: 15px 0;
}
.price-features {
  list-style: none;
  margin: 20px 0 30px;
  flex: 1;
}
.price-features li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-color);
  font-size: 0.95rem;
}

/* Lead Form */
.form-wrapper {
  background: var(--bg-white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 700px;
  margin: 0 auto;
}
.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-color);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
}
.form-control:focus {
  border-color: var(--accent);
  outline: none;
}
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
}
.form-checkbox input {
  margin-top: 4px;
}

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

/* Trust Layer */
.trust-layer {
  background: #111d28;
  color: #a0aec0;
  padding: 35px 0;
  font-size: 0.88rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.trust-layer h3 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 10px;
}
.trust-layer a {
  color: var(--accent);
}

/* Footer */
.site-footer {
  background: #0b131b;
  color: #cbd5e0;
  padding: 50px 0 25px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-links ul {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #a0aec0;
}
.footer-links a:hover {
  color: #ffffff;
}
.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid #1a2a3a;
  color: #718096;
  font-size: 0.85rem;
}

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

/* Responsive */
@media (max-width: 992px) {
  .hero-grid, .feature-asym, .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid .price-card.featured {
    transform: none;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
  .main-nav.open {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-content h1 {
    font-size: 1.8rem;
  }
}