:root {
  --primary: #112233;
  --secondary: #C5A880;
  --background: #FAF9F6;
  --surface: #FFFFFF;
  --text: #2D3142;
  --text-muted: #6C7A89;
  --border: #E2E8F0;
  --success: #2E7D32;
  --transition: all 0.3s ease;
}

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

body {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.75;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
}

/* Base Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--secondary);
  color: var(--primary);
  padding: 10px 20px;
  z-index: 9999;
  transition: top 0.2s;
  font-weight: bold;
  text-decoration: none;
}
.skip-link:focus-visible {
  top: 0;
}

*:focus-visible {
  outline: 3px solid var(--secondary);
  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-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Header & Navigation */
header {
  background: var(--primary);
  color: var(--surface);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--surface);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo img {
  width: 35px;
  height: 35px;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav a {
  color: var(--surface);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
  font-weight: 500;
}

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

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

/* Mobile Nav */
@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary);
    padding: 20px;
    gap: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }
  nav.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(17, 34, 51, 0.85), rgba(17, 34, 51, 0.85)), url('images/hero.jpg') no-repeat center center/cover;
  color: var(--surface);
  padding: 100px 20px;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

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

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #E2E8F0;
}

.btn {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary);
  padding: 12px 30px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #b59770;
  color: var(--surface);
}

/* Sections General */
section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--secondary);
  margin: 10px auto 0;
}

/* Statistics Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  background: var(--surface);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

.stat-card {
  text-align: center;
}

.stat-card .num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary);
}

.stat-card .label {
  font-weight: 500;
  margin-top: 5px;
}

/* How It Works Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.step-card {
  background: var(--surface);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  border-top: 4px solid var(--primary);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.step-card i {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 15px;
}

/* Features Block (Asymmetric) */
.features-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

@media (max-width: 768px) {
  .features-block {
    grid-template-columns: 1fr;
  }
}

.features-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

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

.features-content li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.features-content li i {
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--success);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
}

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

.service-card-body {
  padding: 25px;
}

.service-card-body h3 {
  margin-bottom: 15px;
  color: var(--primary);
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.pricing-card {
  background: var(--surface);
  border-radius: 8px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  position: relative;
  border: 1px solid var(--border);
}

.pricing-card.popular {
  border: 2px solid var(--secondary);
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .pricing-card.popular {
    transform: none;
  }
}

.badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--secondary);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.pricing-card .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 25px;
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 30px;
  text-align: left;
}

.pricing-card li {
  margin-bottom: 12px;
  color: var(--text-muted);
}

.pricing-card li i {
  color: var(--success);
  margin-right: 10px;
}

/* Contact Form Section */
.form-container {
  max-width: 650px;
  margin: 0 auto;
  background: var(--surface);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.form-control:focus {
  outline: 2px solid var(--secondary);
}

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

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

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

.faq-item {
  background: var(--surface);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  overflow: hidden;
}

.faq-header {
  padding: 20px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  background: var(--surface);
  transition: var(--transition);
}

.faq-header:hover {
  background: rgba(197, 168, 128, 0.1);
}

.faq-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-muted);
}

.faq-item.active .faq-content {
  padding: 20px;
  max-height: 300px;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Trust Layer Plaquette */
.trust-layer {
  background: #EAEAEA;
  border-left: 5px solid var(--secondary);
  padding: 30px;
  margin-top: 50px;
  border-radius: 0 8px 8px 0;
}

.trust-layer h4 {
  margin-bottom: 10px;
  color: var(--primary);
}

.trust-layer p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Footer */
footer {
  background: var(--primary);
  color: var(--surface);
  padding: 40px 20px;
  text-align: center;
}

.footer-nav {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--surface);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-nav a:hover {
  color: var(--secondary);
}

.footer-legal-text {
  font-size: 0.8rem;
  color: #94A3B8;
  line-height: 1.6;
}

/* Cookie Banner */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--primary);
  color: var(--surface);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.15);
  z-index: 2000;
  max-width: 500px;
}

@media (min-width: 769px) {
  .cookie-banner {
    left: auto;
    right: 30px;
  }
}

.cookie-banner p {
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-btn {
  padding: 8px 15px;
  border-radius: 4px;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
}

.cookie-btn.accept {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
}

.cookie-btn.decline {
  background: transparent;
  color: var(--surface);
  border: 1px solid var(--surface);
}

/* About / Info details */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.map-container {
  height: 350px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}