﻿:root {
  --primary: #2c6e63;
  --primary-dark: #1e4a43;
  --accent: #e07a5f;
  --accent-hover: #c86348;
  --bg-light: #f8faf9;
  --bg-white: #ffffff;
  --text-main: #1f2937;
  --text-muted: #4b5563;
  --border-color: #e5e7eb;
  --font-family: 'Noto Sans JP', 'Plus Jakarta Sans', sans-serif;
  --radius: 8px;
  --shadow: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

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

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Top Notification Banner */
.top-bar {
  background-color: var(--primary-dark);
  color: #ffffff;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  box-shadow: var(--shadow);
}

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

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
}

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

.nav-links a {
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--primary);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(224, 122, 95, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(224, 122, 95, 0.4);
}

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

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

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
  width: 100%;
}

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

/* Hero Section */
.hero {
  padding: 60px 0 80px 0;
  background: linear-gradient(135deg, #f8faf9 0%, #eef5f3 100%);
  border-bottom: 1px solid var(--border-color);
}

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

.badge {
  display: inline-block;
  background-color: rgba(44, 110, 99, 0.1);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 2.3rem;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-checklist {
  list-style: none;
  margin-bottom: 32px;
}

.hero-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--text-main);
}

.hero-checklist svg {
  color: var(--primary);
  flex-shrink: 0;
}

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

.hero-image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trust-strip {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.08);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Sections Common */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px auto;
}

.section-title {
  font-size: 2rem;
  color: var(--text-main);
  margin-bottom: 16px;
  font-weight: 700;
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.benefit-card {
  background-color: var(--bg-white);
  padding: 32px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.icon-wrapper {
  width: 56px;
  height: 56px;
  background-color: rgba(44, 110, 99, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
}

.benefit-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.benefit-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

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

.step-card {
  background-color: var(--bg-white);
  padding: 28px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  position: relative;
}

.step-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 8px;
}

.step-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 700;
}

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

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

.service-card {
  background-color: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-body {
  padding: 24px;
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.service-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background-color: var(--bg-white);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.author-info {
  font-size: 0.875rem;
}

.author-name {
  font-weight: 700;
  color: var(--text-main);
}

.author-meta {
  color: var(--text-muted);
}

.disclaimer-text {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 24px;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-content p {
  margin-bottom: 16px;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.about-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* FAQ Section */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.faq-card {
  background-color: var(--bg-white);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.faq-answer {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  padding-left: 28px;
}

/* Form Section */
.form-section {
  background: linear-gradient(135deg, #1e4a43 0%, #2c6e63 100%);
  color: #ffffff;
}

.form-wrapper {
  max-width: 680px;
  margin: 0 auto;
  background-color: #ffffff;
  color: var(--text-main);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 10px;
  color: var(--text-main);
  font-weight: 700;
}

.form-subtitle {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

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

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(44, 110, 99, 0.15);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.checkbox-group input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
}

.form-microcopy {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
}

/* Status Box */
.status-box {
  padding: 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  text-align: center;
}

.status-success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.status-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* Footer */
.footer {
  background-color: #111827;
  color: #9ca3af;
  padding: 60px 0 30px 0;
  font-size: 0.875rem;
}

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

.footer-brand p {
  margin-top: 16px;
  line-height: 1.6;
}

.footer-heading {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

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

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

.footer-links a {
  color: #9ca3af;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 20px;
  z-index: 9999;
  border: 1px solid var(--border-color);
  display: none;
}

.cookie-content p {
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 16px;
  line-height: 1.5;
}

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

.btn-cookie {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Floating Back to Top */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background-color: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

/* Responsive Utilities */
@media (max-width: 992px) {
  .hero-grid, .about-grid {
    grid-template-columns: 1fr;
  }
  .benefits-grid, .services-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
  }
  .benefits-grid, .services-grid, .testimonials-grid, .faq-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 1.8rem;
  }
}
