:root {
  --bg: #f3efe6;
  --ink: #1c241c;
  --muted: #4d5a4d;
  --green: #2f6b3a;
  --green-deep: #1f4d28;
  --line: rgba(28, 36, 28, 0.12);
  --paper: rgba(255, 252, 246, 0.92);
  --shadow: 0 18px 50px rgba(28, 36, 28, 0.18);
  --display: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --sans: "IBM Plex Sans JP", "Hiragino Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background:
    radial-gradient(circle at 12% 18%, rgba(47, 107, 58, 0.12), transparent 40%),
    radial-gradient(circle at 88% 0%, rgba(28, 36, 28, 0.08), transparent 36%),
    linear-gradient(180deg, #efe8da 0%, var(--bg) 42%, #e7efe6 100%);
}

img {
  max-width: 100%;
  display: block;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}

.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  animation: drift 18s ease-in-out infinite alternate;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
  background: linear-gradient(160deg, rgba(255, 252, 246, 0.96), rgba(243, 239, 230, 0.9));
}

.brand,
.brand-foot {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0 0 1rem;
  animation: rise 0.9s ease both;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.35;
  margin: 0 0 1rem;
  animation: rise 0.9s ease 0.08s both;
}

.lead,
.lead-sm {
  color: var(--muted);
  line-height: 1.8;
  max-width: 36rem;
  margin: 0 0 1.5rem;
  animation: rise 0.9s ease 0.16s both;
}

.cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  animation: rise 0.9s ease 0.24s both;
}

.cta-row.wrap {
  margin-top: 0.5rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.cta.primary {
  background: var(--green);
  color: #fff7ea;
}

.cta.primary:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
}

.cta.ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 252, 246, 0.7);
}

.cta.ghost:hover {
  transform: translateY(-2px);
}

.section {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4.5rem 0;
}

.section h2 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 0 0 1.25rem;
}

.plain-list,
.steps {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.9;
  color: var(--muted);
}

.steps li {
  margin-bottom: 1rem;
}

.steps strong {
  display: block;
  color: var(--ink);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.figure.wide {
  margin-bottom: 1.5rem;
}

.band {
  width: min(1100px, calc(100% - 2rem));
}

.band-copy {
  padding: 1.5rem 1.6rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.note {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.text-link {
  color: var(--green-deep);
  font-weight: 700;
}

details {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-weight: 700;
}

details p {
  color: var(--muted);
  line-height: 1.8;
}

.footer {
  padding: 3rem 1.5rem 4rem;
  text-align: center;
  color: var(--muted);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.06) translate3d(-1.5%, 1%, 0);
  }
}

@media (max-width: 900px) {
  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 48vh;
  }

  .hero-copy {
    min-height: auto;
    padding-top: 2rem;
  }
}
