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

:root {
  --primary: #1b2a4a;
  --primary-light: #2c3e66;
  --accent: #c5a059;
  --accent-hover: #b08c46;
  --bg-light: #f8f9fa;
  --bg-dark: #111827;
  --text-main: #2b2b2b;
  --text-muted: #6c757d;
  --border-color: #e5e7eb;
  --font-family: 'Noto Sans JP', sans-serif;
  --container-width: 1200px;
}

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

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: #ffffff;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--accent);
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  z-index: 10000;
  transition: top 0.3s;
}
.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;
  }
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

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

nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
}
nav a {
  font-weight: 500;
  font-size: 0.95rem;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: background 0.3s ease, transform 0.2s ease;
}
.btn-primary {
  background: var(--accent);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
}
.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, rgba(27,42,74,0.92) 0%, rgba(44,62,102,0.85) 100%), url('images/hero.jpg') center/cover no-repeat;
  color: #ffffff;
  padding: 100px 0;
  text-align: center;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.3;
}
.hero p {
  font-size: 1.15rem;
  max-width: 800px;
  margin: 0 auto 30px auto;
  opacity: 0.9;
}

/* Stats */
.stats {
  background: var(--bg-light);
  padding: 40px 0;
  border-bottom: 1px solid var(--border-color);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  text-align: center;
}
.stat-item h3 {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 5px;
}

/* Section General */
section {
  padding: 80px 0;
}
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 15px;
}
.section-title p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Steps / How it works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}
.step-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border-top: 4px solid var(--accent);
  text-align: center;
}
.step-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

/* Trust Principles */
.trust-section {
  background: var(--bg-light);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.trust-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}
.trust-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}
.service-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s;
}
.service-card:hover {
  transform: translateY(-5px);
}
.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.service-content {
  padding: 25px;
}
.service-content h3 {
  margin-bottom: 12px;
  color: var(--primary);
}

/* Asymmetric Features */
.features-block {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}
.features-img {
  flex: 1;
  min-width: 300px;
}
.features-img img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.features-text {
  flex: 1;
  min-width: 300px;
}
.features-list {
  list-style: none;
  margin-top: 20px;
}
.features-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.features-list i {
  color: var(--accent);
  margin-top: 5px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.price-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 35px 25px;
  text-align: center;
  position: relative;
}
.price-card.popular {
  border: 2px solid var(--accent);
  box-shadow: 0 8px 30px rgba(197,160,89,0.2);
}
.badge-popular {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #ffffff;
  padding: 4px 16px;
  font-size: 0.85rem;
  border-radius: 20px;
  font-weight: 700;
}
.price-val {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 20px 0;
}
.price-features {
  list-style: none;
  margin-bottom: 30px;
  text-align: left;
}
.price-features li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-color);
}

/* Lead Form */
.form-section {
  background: var(--primary);
  color: #ffffff;
  border-radius: 12px;
  padding: 50px 30px;
}
.lead-form {
  max-width: 650px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  font-size: 1rem;
}
.form-control:focus {
  background: #ffffff;
  color: var(--text-main);
}
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
}
.checkbox-group a {
  color: var(--accent);
  text-decoration: underline;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  margin-bottom: 15px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 20px;
  background: #ffffff;
  border: none;
  text-align: left;
  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 20px;
  display: none;
  background: #ffffff;
  color: var(--text-main);
}
.faq-item.active .faq-answer {
  display: block;
}

/* Legal Trust Layer */
.trust-layer {
  background: var(--bg-light);
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.trust-layer-box {
  background: #ffffff;
  padding: 25px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}
.trust-layer h4 {
  color: var(--primary);
  margin-bottom: 10px;
}

/* Footer */
footer {
  background: var(--bg-dark);
  color: #a0aec0;
  padding: 60px 0 30px 0;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: #ffffff;
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  color: #a0aec0;
}
.footer-col a:hover {
  color: #ffffff;
}
.footer-bottom {
  border-top: 1px solid #2d3748;
  padding-top: 25px;
  text-align: center;
}

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

/* Responsive */
@media (max-width: 768px) {
  nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    padding: 20px;
  }
  nav.active {
    display: block;
  }
  nav ul {
    flex-direction: column;
    gap: 15px;
  }
  .mobile-toggle {
    display: block;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
}