:root {
  --green: #1f7a52;
  --green-dark: #145c3c;
  --green-light: #e7f2ec;
  --cream: #f4efe8;
  --cream-2: #ece5da;
  --ink: #20241f;
  --ink-soft: #55594f;
  --white: #ffffff;
  --radius: 20px;
  --max-width: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
}

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

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

a { color: inherit; text-decoration: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 239, 232, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--green-dark);
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.nav a:hover { color: var(--green-dark); }

.nav-cta { display: inline-flex; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(31, 122, 82, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(31, 122, 82, 0.35);
}

.btn-ghost {
  color: var(--green-dark);
  border: 2px solid var(--green);
  padding: 12px 26px;
}

.btn-ghost:hover { background: var(--green-light); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 100px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.35;
  margin: 0 0 24px;
  color: var(--ink);
}

.lead {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 0 0 32px;
  max-width: 520px;
}

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

.hero-image img {
  border-radius: 24px;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  background: var(--green-light);
  z-index: 1;
}

.blob-a { width: 420px; height: 420px; top: -120px; right: -140px; }
.blob-b { width: 260px; height: 260px; bottom: -100px; left: -80px; background: var(--cream-2); }

/* Sections */
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-align: center;
  margin: 0 0 8px;
}

.section-sub {
  text-align: center;
  color: var(--ink-soft);
  margin: 0 0 56px;
}

.features { padding: 100px 0; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 96px;
}

.feature-row:last-child { margin-bottom: 0; }

.feature-row.reverse .feature-image { order: 2; }
.feature-row.reverse .feature-text { order: 1; }

.feature-image img {
  border-radius: var(--radius);
  box-shadow: 0 24px 48px rgba(20, 30, 25, 0.12);
}

.tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.feature-text h3 {
  font-size: 1.5rem;
  margin: 0 0 16px;
}

.feature-text p {
  color: var(--ink-soft);
  margin: 0;
}

/* How it works */
.how {
  padding: 100px 0;
  background: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 20px;
  font-size: 1.1rem;
}

.step h3 { margin: 0 0 10px; font-size: 1.1rem; }
.step p { color: var(--ink-soft); margin: 0; }

/* FAQ */
.faq { padding: 100px 0; }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

details {
  background: var(--white);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 8px 20px rgba(20, 30, 25, 0.06);
}

summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  position: relative;
  padding-right: 28px;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--green);
  font-size: 1.3rem;
  transition: transform 0.2s;
}

details[open] summary::after { transform: rotate(45deg); }

details p {
  color: var(--ink-soft);
  margin: 14px 0 0;
}

/* CTA */
.cta {
  background: var(--green-dark);
  color: var(--white);
  padding: 88px 0;
}

.cta-inner {
  text-align: center;
}

.cta h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin: 0 0 16px;
}

.cta p {
  color: rgba(255,255,255,0.85);
  margin: 0 0 32px;
}

.cta .btn-primary {
  background: var(--white);
  color: var(--green-dark);
  box-shadow: none;
}

/* Footer */
.site-footer {
  background: var(--cream-2);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-brand { color: var(--green-dark); }

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

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

.copyright {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
  .feature-row, .feature-row.reverse {
    grid-template-columns: 1fr;
  }
  .feature-row.reverse .feature-image,
  .feature-row.reverse .feature-text,
  .feature-row .feature-image,
  .feature-row .feature-text {
    order: initial;
  }
  .steps { grid-template-columns: 1fr; }
  .nav { display: none; }
}
