:root {
  --primary: #1a2b4c;
  --primary-light: #2c426e;
  --accent: #d4a373;
  --accent-hover: #bc8c5c;
  --bg-light: #f8f9fa;
  --text-dark: #212529;
  --text-muted: #6c757d;
  --white: #ffffff;
  --border-color: #e9ecef;
  --font-main: 'Noto Sans JP', sans-serif;
  --container-width: 1200px;
}

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

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

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

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

: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);
  white-space: nowrap;
  border: 0;
}

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

header {
  background-color: var(--primary);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
}

.logo-brand img {
  width: 40px;
  height: 40px;
}

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

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--accent);
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
  text-align: center;
}

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

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background-color: var(--accent);
  color: var(--primary);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
}

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}

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

.hero-content h1 {
  font-size: 2.6rem;
  line-height: 1.3;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.svg-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.stats-bar {
  background-color: var(--white);
  padding: 40px 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  margin-bottom: 60px;
}

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

.stat-num {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  font-size: 2.1rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 50px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background-color: var(--white);
  padding: 30px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
  position: relative;
}

.step-number {
  width: 45px;
  height: 45px;
  background-color: var(--accent);
  color: var(--primary);
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

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

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

.trust-block {
  background-color: #eef2f7;
  padding: 50px 0;
  border-left: 5px solid var(--accent);
  margin: 40px 0;
  border-radius: 0 8px 8px 0;
}

.trust-block-content h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.trust-block-content p {
  font-size: 1rem;
  margin-bottom: 15px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}

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

.service-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-body h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 12px;
}

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

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.features-list {
  list-style: none;
  margin-top: 20px;
}

.features-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.features-list li i {
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--accent);
  font-size: 1.2rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  background: var(--white);
  border-radius: 10px;
  padding: 35px 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
  border: 1px solid var(--border-color);
}

.pricing-card.featured {
  border: 2px solid var(--accent);
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

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

.pricing-card h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.price {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.price span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
  text-align: left;
  flex-grow: 1;
}

.pricing-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.92rem;
}

.form-section {
  background-color: var(--primary);
  color: var(--white);
  padding: 70px 0;
  border-radius: 12px;
}

.form-container {
  max-width: 650px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: inherit;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 25px;
}

.checkbox-group input {
  margin-top: 5px;
}

.checkbox-group label {
  font-size: 0.88rem;
  line-height: 1.4;
  color: rgba(255,255,255,0.9);
}

.checkbox-group a {
  color: var(--accent);
  text-decoration: underline;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  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;
  display: none;
  font-size: 0.95rem;
  color: var(--text-dark);
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
}

.faq-item.active .faq-answer {
  display: block;
}

.trust-layer {
  background-color: #243552;
  color: #d1d5db;
  padding: 35px 0;
  font-size: 0.88rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.trust-layer h4 {
  color: var(--accent);
  margin-bottom: 10px;
  font-size: 1rem;
}

.trust-layer a {
  color: #ffffff;
  text-decoration: underline;
}

footer {
  background-color: #121c31;
  color: #a0aec0;
  padding: 40px 0 20px;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-col h5 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 15px;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #a0aec0;
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #1a2b4c;
  color: #ffffff;
  padding: 20px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  z-index: 9999;
  display: none;
}

.cookie-container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 0.9rem;
  max-width: 800px;
}

.cookie-btns {
  display: flex;
  gap: 12px;
}

@media (max-width: 992px) {
  .hero-grid, .features-grid {
    grid-template-columns: 1fr;
  }
  .services-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid, .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--primary);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.2);
  }
  .nav-links.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .steps-grid, .stats-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav-links a { transition: none; }
}