:root {
  --bg-primary: #F9FAFB;
  --bg-secondary: #F3F4F6;
  --text-dark: #111827;
  --text-muted: #4B5563;
  --accent: #D97706;
  --accent-hover: #B45309;
  --white: #FFFFFF;
  --border-color: #E5E7EB;
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --header-height: 80px;
}

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-dark);
  line-height: 1.8;
  font-size: 18px; /* High legibility for 45-65+ */
  -webkit-font-smoothing: antialiased;
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--accent);
  color: var(--white);
  padding: 10px 20px;
  z-index: 9999;
  transition: top 0.2s;
  text-decoration: none;
  font-weight: bold;
}
.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;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
}

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

/* Layout */
header {
  height: var(--header-height);
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

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

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

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-cta {
  background-color: var(--accent);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.nav-cta:hover {
  background-color: var(--accent-hover);
}

/* Mobile Nav */
.burger {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-dark);
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  padding: 20px;
  z-index: 999;
  box-shadow: var(--card-shadow);
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 15px;
}

.mobile-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 18px;
  display: block;
  padding: 10px 0;
}

/* Hero Section */
.hero {
  position: relative;
  background-color: #0F172A;
  color: var(--white);
  padding: 100px 20px;
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 40px;
  line-height: 1.4;
  margin-bottom: 20px;
  color: var(--white);
  font-weight: 700;
}

.hero-content p {
  font-size: 18px;
  color: #94A3B8;
  margin-bottom: 30px;
}

.hero-btn {
  display: inline-block;
  background-color: var(--accent);
  color: var(--white);
  text-decoration: none;
  padding: 15px 35px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 18px;
  transition: background-color 0.2s;
}

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

.hero-img-container img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  height: 400px;
}

/* Accent SVG Wave */
.wave-separator {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  fill: var(--bg-primary);
  z-index: 1;
}

/* Standard Section */
section {
  padding: 80px 20px;
}

.section-alternate {
  background-color: var(--bg-secondary);
}

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

.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--accent);
  margin: 15px auto 0;
}

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

.stat-card {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

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

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

.step-card {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  position: relative;
  border-top: 4px solid var(--accent);
}

.step-num {
  font-size: 14px;
  background: var(--bg-secondary);
  color: var(--accent);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: bold;
  margin-bottom: 15px;
}

.step-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

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

/* Services Page & Teasers */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
}

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

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

.service-card-body h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

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

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

.pricing-card {
  background: var(--white);
  border-radius: 8px;
  padding: 40px 30px;
  box-shadow: var(--card-shadow);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent);
  color: var(--white);
  padding: 4px 15px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

.price-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}

.price-amount {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

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

.price-features li {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-features i {
  color: var(--accent);
}

.price-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: var(--bg-secondary);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: all 0.2s;
}

.pricing-card.popular .price-btn {
  background-color: var(--accent);
  color: var(--white);
}

.pricing-card.popular .price-btn:hover {
  background-color: var(--accent-hover);
}

/* Feature Block */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.feature-img img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  height: 400px;
  object-fit: cover;
}

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

.feature-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.feature-list i {
  color: var(--accent);
  font-size: 20px;
  margin-top: 4px;
}

/* Trust Blocks */
.trust-block {
  background: var(--white);
  border-left: 5px solid var(--accent);
  padding: 30px;
  border-radius: 0 8px 8px 0;
  box-shadow: var(--card-shadow);
}

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

.faq-item {
  background: var(--white);
  margin-bottom: 15px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px;
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out, padding 0.2s ease-out;
  color: var(--text-muted);
  font-size: 16px;
}

.faq-answer p {
  padding-bottom: 20px;
}

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

.faq-item.active .faq-question i {
  transform: rotate(180s);
  transition: transform 0.2s;
}

/* Forms */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
}

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

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

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

.form-control:focus {
  border-color: var(--accent);
  outline: none;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 20px;
}

.form-checkbox input {
  margin-top: 4px;
}

.submit-btn {
  width: 100%;
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 15px;
  border-radius: 4px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

.submit-btn:hover {
  background: var(--accent-hover);
}

.submit-btn:disabled {
  background: #A1A1AA;
  cursor: not-allowed;
}

/* Trust Layer (Global) */
.trust-layer {
  background: #1E293B;
  color: #E2E8F0;
  padding: 40px 20px;
  border-bottom: 1px solid #334155;
}

.trust-layer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.trust-layer h4 {
  font-size: 20px;
  color: var(--white);
  margin-bottom: 15px;
}

.trust-layer p {
  font-size: 14px;
  color: #94A3B8;
  line-height: 1.6;
}

/* Footer */
footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 40px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  border-bottom: 1px solid #1E293B;
  padding-bottom: 30px;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  gap: 40px;
}

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

.footer-links a {
  text-decoration: none;
  color: #94A3B8;
  font-size: 14px;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #111827;
  color: var(--white);
  padding: 20px;
  box-shadow: 0 -10px 15px -3px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: none;
}

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

.cookie-text {
  font-size: 14px;
  line-height: 1.5;
}

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

.cookie-buttons {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 8px 20px;
  border-radius: 4px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  font-size: 14px;
}

.cookie-accept {
  background-color: var(--accent);
  color: var(--white);
}

.cookie-accept:hover {
  background-color: var(--accent-hover);
}

.cookie-reject {
  background-color: #374151;
  color: var(--white);
}

.cookie-reject:hover {
  background-color: #4B5563;
}

/* Contact Specific UI */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.map-container {
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  background: #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
}

/* Responsiveness */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pricing-card.popular {
    transform: none;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  nav {
    display: none;
  }
  .burger {
    display: block;
  }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .stats-grid, .steps-grid, .services-grid {
    grid-template-columns: 1fr;
  }
  .feature-block, .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-img-container img, .feature-img img {
    height: 300px;
  }
  .cookie-container {
    flex-direction: column;
    text-align: center;
  }
}