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

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

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

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

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  z-index: 10000;
  transition: top 0.2s;
  text-decoration: none;
  font-weight: bold;
}
.skip-link:focus {
  top: 0;
}

.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: none !important;
    transition: none !important;
  }
}

/* Header & Nav */
.site-header {
  background: var(--primary);
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
}
.brand-logo img {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  align-items: center;
}

.nav-links a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--accent);
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 700 !important;
}
.nav-cta:hover {
  background: var(--accent-hover);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Layout Elements */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 4.5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title h2 {
  font-size: 2.25rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.75rem;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  font-weight: 900;
}

.hero-content p {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #64748b;
}
.btn-secondary:hover {
  border-color: #ffffff;
  background: rgba(255,255,255,0.1);
}

.hero-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  object-fit: cover;
  max-height: 420px;
}

/* Stats */
.stats-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.25rem;
  color: var(--accent);
  font-weight: 900;
  margin-bottom: 0.25rem;
}

.stat-item p {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

/* Steps Section */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.step-card {
  background: var(--bg-light);
  padding: 2rem 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  position: relative;
  text-align: center;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 1.25rem auto;
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Trust Section */
.trust-principles {
  background: var(--bg-light);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.principle-card {
  background: #fff;
  padding: 2.25rem;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.principle-icon {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.principle-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.principle-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Services Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.service-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-content h3 {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.service-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-size: 0.95rem;
}

/* Feature Split */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.feature-img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-list {
  list-style: none;
  margin-top: 1.5rem;
}

.feature-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1.05rem;
}

.feature-list i {
  color: var(--accent);
  margin-top: 0.25rem;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--accent);
  box-shadow: 0 12px 30px rgba(217,119,6,0.15);
  transform: scale(1.03);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
}

.price {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--primary);
  margin: 1rem 0;
}
.price span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  margin: 1.5rem 0;
  flex-grow: 1;
}

.pricing-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-main);
}

/* Lead Form Section */
.lead-form-section {
  background: linear-gradient(135deg, var(--primary) 0%, #1e1b4b 100%);
  color: #ffffff;
}

.form-wrapper {
  max-width: 680px;
  margin: 0 auto;
  background: #ffffff;
  color: var(--text-main);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
}
.form-control:focus {
  border-color: var(--accent);
  outline: none;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.form-checkbox input {
  margin-top: 0.25rem;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 1rem;
  background: #ffffff;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  display: none;
}
.faq-item.active .faq-answer {
  display: block;
}

/* Trust Layer (Pre-Footer) */
.trust-layer {
  background: #0f172a;
  color: #94a3b8;
  padding: 3rem 0;
  border-top: 1px solid #1e293b;
  font-size: 0.88rem;
}

.trust-layer-box {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 1.75rem;
}

.trust-layer h4 {
  color: #f1f5f9;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.trust-disclaimer {
  font-size: 0.8rem;
  line-height: 1.5;
  color: #64748b;
  border-top: 1px solid #334155;
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}

/* Footer */
.site-footer {
  background: #020617;
  color: #94a3b8;
  padding: 3rem 0 2rem 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.footer-links h4 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #1e293b;
  padding-top: 1.5rem;
  font-size: 0.85rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0f172a;
  color: #ffffff;
  padding: 1.25rem 0;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  z-index: 9999;
  display: none;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid, .feature-split { grid-template-columns: 1fr; }
  .pricing-grid, .principles-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .steps-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .trust-details { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
  }
  .nav-links.active { display: flex; }
  .mobile-toggle { display: block; }
  .cookie-content { flex-direction: column; text-align: center; }
  .form-wrapper { padding: 1.75rem; }
  .hero-content h1 { font-size: 2rem; }
}