:root {
  --color-base: #FFFFFF;
  --color-accent: #1B5E20;
  --color-accent-dark: #0E3F12;
  --color-accent-light: #E8F0E9;
  --color-sub: #F5F5F0;
  --color-text: #333333;
  --color-text-muted: #6B6B6B;
  --color-border: #E5E5E0;

  --font-serif: "Noto Serif JP", "Yu Mincho", "游明朝", serif;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Yu Gothic", sans-serif;

  --container: 1120px;
  --container-narrow: 880px;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 6px 24px rgba(27,94,32,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);

  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-base);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.4;
  color: #111;
  margin: 0;
}

p { margin: 0; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; }

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

.section {
  padding: 96px 0;
}
.section-sub {
  background: var(--color-sub);
}
.section-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 16px;
}
.section-lead {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: 56px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .04em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover { background: var(--color-accent-dark); color: #fff; }
.btn-secondary {
  background: #fff;
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.btn-secondary:hover { background: var(--color-accent-light); }
.btn-ghost {
  background: transparent;
  color: var(--color-accent);
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(8px);
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.site-header.is-scrolled {
  background: #fff;
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--color-border);
}
.site-header .inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 17px;
  color: #111;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
}
.nav a:hover { color: var(--color-accent); text-decoration: none; }
.nav-cta {
  padding: 10px 18px;
  background: var(--color-accent);
  color: #fff !important;
  border-radius: var(--radius-sm);
  font-size: 13px;
}
.nav-cta:hover { background: var(--color-accent-dark); }

.hamburger {
  display: none;
  background: none;
  border: 0;
  width: 32px; height: 32px;
  cursor: pointer;
  position: relative;
}
.hamburger span {
  position: absolute;
  left: 4px; right: 4px;
  height: 2px;
  background: #111;
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.hamburger span:nth-child(1) { top: 9px; }
.hamburger span:nth-child(2) { top: 15px; }
.hamburger span:nth-child(3) { top: 21px; }
.hamburger.is-open span:nth-child(1) { top: 15px; transform: rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { top: 15px; transform: rotate(-45deg); }

main { padding-top: var(--header-h); }

/* ===== Footer ===== */
.site-footer {
  background: #1A1A1A;
  color: #BBB;
  padding: 56px 0 32px;
  font-size: 14px;
}
.site-footer a { color: #DDD; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-brand { font-family: var(--font-serif); font-size: 18px; color: #fff; margin-bottom: 12px; }
.footer-tag { color: #999; line-height: 1.7; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-sns { display: flex; gap: 14px; margin-top: 12px; }
.footer-sns a {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center; justify-content: center;
  border: 1px solid #444;
  border-radius: 50%;
  transition: background .2s ease, border-color .2s ease;
}
.footer-sns a:hover { background: #2A2A2A; border-color: #666; text-decoration: none; }
.footer-copy {
  border-top: 1px solid #333;
  padding-top: 24px;
  text-align: center;
  color: #888;
  font-size: 13px;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: #fff;
  text-align: center;
  padding: 72px 24px;
}
.cta-banner h2 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 12px;
}
.cta-banner p {
  color: rgba(255,255,255,.85);
  margin-bottom: 28px;
}
.cta-banner .btn-primary {
  background: #fff;
  color: var(--color-accent);
}
.cta-banner .btn-primary:hover { background: var(--color-sub); color: var(--color-accent-dark); }

/* ===== Page Hero (sub pages) ===== */
.page-hero {
  background: var(--color-sub);
  padding: 96px 0 64px;
  text-align: center;
}
.page-hero h1 {
  font-size: 36px;
  margin-bottom: 12px;
}
.page-hero .lead {
  color: var(--color-text-muted);
}

/* ===== Fade-in animation ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .section-title { font-size: 26px; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    transition: transform .25s ease;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--color-border);
    font-size: 15px;
  }
  .nav a:last-child { border-bottom: 0; }
  .nav-cta { margin-top: 12px; text-align: center; }
  .hamburger { display: block; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .page-hero { padding: 64px 0 40px; }
  .page-hero h1 { font-size: 28px; }
  .cta-banner { padding: 56px 24px; }
  .cta-banner h2 { font-size: 22px; }
}
