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

:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent: #d97706;
  --accent-hover: #b45309;
  --highlight: #c2410c;
  --text-main: #334155;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --font-main: 'Noto Sans JP', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
}

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

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

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 10px;
  background: var(--highlight);
  color: #fff;
  padding: 10px 18px;
  z-index: 10000;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
  transition: top 0.2s;
}
.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);
  white-space: nowrap;
  border: 0;
}

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

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

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

/* Header & Nav */
.site-header {
  background: var(--primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}
.brand-logo img {
  display: block;
}
.brand-name {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  color: #e2e8f0;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 4px;
}
.main-nav a:hover,
.main-nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.1);
}
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  font-weight: 700 !important;
}
.nav-cta:hover {
  background: var(--accent-hover) !important;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--primary-light);
  color: #fff;
}
.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
}
.btn-outline {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}
.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.hero-content h1 {
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 20px;
  font-weight: 700;
}
.hero-content p {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 30px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

/* Decorative Wave SVG Pattern */
.section-wave {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: var(--primary);
}
.section-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 40px;
}
.section-wave .shape-fill {
  fill: var(--bg-light);
}

/* Stats Section */
.stats-section {
  padding: 60px 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--highlight);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Section Commons */
.section-padding {
  padding: 80px 0;
}
.section-title-wrap {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 50px;
}
.section-subtitle {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-title {
  font-size: 2rem;
  color: var(--primary);
  font-weight: 700;
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.process-card {
  background: var(--bg-white);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.process-step {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
}
.process-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--primary);
}

/* Trust Principles Section */
.trust-principles {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 40px;
  margin-top: 40px;
  border: 1px solid var(--border-color);
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.principle-item {
  display: flex;
  gap: 16px;
}
.principle-icon {
  font-size: 1.8rem;
  color: var(--accent);
  flex-shrink: 0;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}
.service-card {
  background: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.service-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.service-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--highlight);
  margin: 12px 0 16px;
}
.service-link {
  margin-top: auto;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Feature Asymmetric Block */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 60px;
}
.feature-block img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}
.feature-list {
  list-style: none;
  margin-top: 20px;
}
.feature-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-weight: 500;
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: stretch;
}
.pricing-card {
  background: var(--bg-white);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-card.featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  right: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
}
.pricing-price {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 16px 0;
}
.pricing-features {
  list-style: none;
  margin: 24px 0 32px;
  flex-grow: 1;
}
.pricing-features li {
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.95rem;
}

/* Lead Form Section */
.form-section {
  background: var(--primary);
  color: #fff;
  padding: 80px 0;
  border-radius: 16px;
  margin: 40px auto;
}
.form-wrap {
  max-width: 650px;
  margin: 0 auto;
}
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-weight: 500;
  font-size: 0.95rem;
}
.form-control {
  width: 100%;
  padding: 14px 16px;
  border-radius: 6px;
  border: 1px solid #334155;
  background: var(--primary-light);
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
}
.form-control:focus {
  border-color: var(--accent);
  outline: none;
}
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: #cbd5e1;
}
.checkbox-group input {
  margin-top: 4px;
}

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

/* Trust Layer (Before Footer) */
.trust-layer {
  background: #f1f5f9;
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  font-size: 0.875rem;
}
.trust-layer-card {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  border: 1px solid var(--border-color);
}
.trust-layer-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--primary);
}
.trust-layer-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 16px 0;
  padding: 12px 0;
  border-top: 1px dashed var(--border-color);
  border-bottom: 1px dashed var(--border-color);
}
.trust-disclaimer {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Footer */
.site-footer {
  background: var(--primary);
  color: #94a3b8;
  padding: 60px 0 30px;
  font-size: 0.9rem;
}
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col h4 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 1rem;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: #cbd5e1;
}
.footer-col a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  color: #fff;
  padding: 16px 0;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.2);
  z-index: 9999;
  font-size: 0.875rem;
}
.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid, .feature-block {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--primary);
    padding: 20px;
    border-top: 1px solid var(--primary-light);
  }
  .main-nav.active {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-content h1 {
    font-size: 1.8rem;
  }
}

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