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

:root {
  --primary: #1A365D;
  --primary-light: #2B6CB0;
  --accent: #D69E2E;
  --accent-hover: #B7791F;
  --bg-dark: #0F172A;
  --bg-light: #F8FAFC;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
  --white: #FFFFFF;
  --radius: 12px;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 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', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* Header & Nav */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--primary);
  text-decoration: none;
}
.logo img {
  width: 38px;
  height: 38px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
  align-items: center;
}
nav a {
  font-weight: 500;
  color: var(--text-main);
  padding: 8px 4px;
}
nav a:hover, nav a.active {
  color: var(--primary-light);
  border-bottom: 2px solid var(--accent);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  padding: 8px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0F172A 0%, #1A365D 100%);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(214,158,46,0.15) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(214, 158, 46, 0.2);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 20px;
  font-weight: 900;
}
.hero p {
  font-size: 1.125rem;
  color: #CBD5E1;
  margin-bottom: 30px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-size: 1rem;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg-dark);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--bg-dark);
  transform: translateY(-2px);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.hero-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  height: 380px;
}

/* Stats Section */
.stats {
  background: var(--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.25rem;
  font-weight: 900;
  color: var(--primary);
  display: block;
}
.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Section Common */
.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);
  max-width: 600px;
  margin: 0 auto;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--white);
  padding: 30px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  text-align: center;
  position: relative;
}
.step-icon {
  width: 60px;
  height: 60px;
  background: rgba(26, 54, 93, 0.08);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.service-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.service-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-body h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 12px;
}

/* Features Block */
.feature-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}
.feature-box img {
  width: 100%;
  border-radius: var(--radius);
  height: 320px;
  object-fit: cover;
}
.feature-list {
  list-style: none;
  margin-top: 20px;
}
.feature-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.feature-list i {
  color: var(--accent);
  margin-top: 4px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}
.price-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border: 2px solid var(--accent);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  transform: translateY(-8px);
}
.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg-dark);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}
.price-amount {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--primary);
  margin: 16px 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.9375rem;
}

/* Form Section */
.form-section {
  background: var(--primary);
  color: var(--white);
  padding: 80px 0;
  border-radius: var(--radius);
}
.form-wrapper {
  max-width: 650px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 40px;
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.9375rem;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.95);
  color: var(--text-main);
  font-size: 1rem;
}
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(214, 158, 46, 0.3);
}
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
}
.checkbox-group input {
  margin-top: 4px;
}
.checkbox-group a {
  color: var(--accent);
  text-decoration: underline;
}

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

/* Trust Layer Block */
.trust-layer {
  background: #0F172A;
  color: #94A3B8;
  padding: 40px;
  border-radius: var(--radius);
  margin-top: 60px;
  font-size: 0.875rem;
  border-left: 4px solid var(--accent);
}
.trust-layer h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.trust-layer p {
  margin-bottom: 8px;
}

/* Footer */
footer {
  background: #090D16;
  color: #64748B;
  padding: 60px 0 30px;
  font-size: 0.875rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h5 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 8px;
}
.footer-col a {
  color: #94A3B8;
}
.footer-col a:hover {
  color: var(--white);
}
.footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: 20px;
  text-align: center;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  background: var(--bg-dark);
  color: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  z-index: 9999;
  display: none;
  border: 1px solid rgba(255,255,255,0.1);
}
.cookie-banner p {
  font-size: 0.875rem;
  margin-bottom: 16px;
}
.cookie-buttons {
  display: flex;
  gap: 12px;
}

/* Accessibility */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.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;
  }
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid, .feature-box, .services-grid, .pricing-grid, .steps-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mobile-toggle {
    display: block;
  }
  nav ul {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
  nav ul.show {
    display: flex;
  }
}