/* ========== RESET & VARIABLES ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark: #1A6B3C;
  --green-main: #2D8C4E;
  --green-light: #3AAF63;
  --green-pale: #E8F5EC;
  --yellow-main: #F5C518;
  --yellow-light: #FFF3C4;
  --yellow-accent: #E5B000;
  --dark: #14332A;
  --dark-sub: #1C4438;
  --gray-text: #555566;
  --gray-light: #F7F7FA;
  --white: #FFFFFF;
  --font-heading: 'Space Grotesk', 'Noto Sans JP', sans-serif;
  --font-body: 'Noto Sans JP', 'Space Grotesk', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--dark); line-height: 1.8; }

/* ========== HEADER ========== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.logo { height: 36px; display: flex; align-items: center; text-decoration: none; }
.logo svg { height: 36px; width: auto; }
.nav { display: flex; gap: 32px; align-items: center; }
.nav a {
  font-family: var(--font-body); font-size: 16px; font-weight: 500;
  color: var(--gray-text); text-decoration: none; transition: color 0.2s;
}
.nav a:hover { color: var(--green-main); }
.nav a.active { color: var(--green-main); font-weight: 600; }
.nav-cta {
  background: var(--green-main) !important; color: var(--white) !important;
  padding: 10px 24px !important; border-radius: 8px; font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--green-dark) !important; }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); margin: 6px 0; transition: 0.3s; }

/* ========== PAGE HERO (sub pages) ========== */
.page-hero {
  padding: 140px 24px 80px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-sub) 100%);
  text-align: center;
}
.page-hero .section-label { color: var(--yellow-main); }
.page-hero h1 {
  font-family: var(--font-heading); font-size: 44px; font-weight: 700;
  color: var(--white); margin-bottom: 16px; line-height: 1.4;
}
.page-hero p { font-size: 18px; color: rgba(255,255,255,0.65); max-width: 600px; margin: 0 auto; line-height: 1.9; }

/* ========== SHARED SECTIONS ========== */
.section-inner { max-width: 1000px; margin: 0 auto; text-align: left; }
.section-label {
  font-family: var(--font-heading); font-size: 15px; font-weight: 600;
  color: var(--green-main); text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-heading); font-size: 40px; font-weight: 700;
  color: var(--dark); margin-bottom: 24px; line-height: 1.4;
}
.section-desc { font-size: 18px; color: var(--gray-text); margin-bottom: 48px; line-height: 1.9; }

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow-main); color: var(--dark);
  padding: 18px 36px; border-radius: 10px; font-size: 18px; font-weight: 600;
  text-decoration: none; transition: all 0.2s; border: none; cursor: pointer;
  font-family: var(--font-body);
}
.btn-primary:hover { background: var(--yellow-accent); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,197,24,0.35); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white);
  padding: 18px 36px; border-radius: 10px; font-size: 18px; font-weight: 600;
  text-decoration: none; border: 2px solid rgba(255,255,255,0.4); transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-outline-green {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--green-main);
  padding: 18px 36px; border-radius: 10px; font-size: 18px; font-weight: 600;
  text-decoration: none; border: 2px solid var(--green-main); transition: all 0.2s;
}
.btn-outline-green:hover { background: var(--green-main); color: var(--white); transform: translateY(-2px); }
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--green-dark); padding: 18px 40px;
  border-radius: 10px; font-size: 18px; font-weight: 600; text-decoration: none;
  transition: all 0.2s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white); padding: 18px 40px;
  border-radius: 10px; font-size: 18px; font-weight: 600; text-decoration: none;
  border: 2px solid rgba(255,255,255,0.4); transition: all 0.2s;
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* ========== CTA SECTION ========== */
.cta { padding: 100px 24px; background: var(--green-main); text-align: left; }
.cta-inner { max-width: 1000px; margin: 0 auto; }
.cta h2 { font-family: var(--font-heading); font-size: 40px; font-weight: 700; color: var(--white); margin-bottom: 20px; line-height: 1.4; }
.cta p { font-size: 20px; color: rgba(255,255,255,0.8); margin-bottom: 40px; line-height: 1.8; }
.cta-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* ========== FOOTER ========== */
.footer { padding: 60px 24px 32px; background: var(--dark); color: rgba(255,255,255,0.5); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer-brand p { font-size: 15px; margin-top: 12px; line-height: 1.7; }
.footer-links h4 { font-size: 14px; color: rgba(255,255,255,0.3); font-weight: 600; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links a { display: block; font-size: 15px; color: rgba(255,255,255,0.5); text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-operator { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-operator img { height: 24px; opacity: 0.7; margin-bottom: 8px; }
.footer-operator p { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.6; }
.footer-bottom { max-width: 1200px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); font-size: 13px; text-align: center; }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .page-hero h1 { font-size: 32px; }
  .section-title { font-size: 32px; }
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute;
    top: 72px; left: 0; right: 0; background: var(--white);
    padding: 24px; box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .hamburger { display: block; }
}
@media (max-width: 600px) {
  .page-hero { padding: 110px 1rem 2.5rem; }
  .page-hero h1 { font-size: 26px; }
  .page-hero p { font-size: 16px; }
  .section-title { font-size: 28px; }
  .section-desc { font-size: 16px; margin-bottom: 32px; }
  .cta { padding: 2.5rem 1rem; }
  .cta h2 { font-size: 28px; }
  .cta p { font-size: 16px; }
  .btn-primary, .btn-white, .btn-ghost, .btn-secondary, .btn-outline-green { font-size: 16px; padding: 14px 28px; }
  .footer { padding: 2.5rem 1rem 24px; }
  .footer-inner { flex-direction: column; }
}
