:root {
  --ink: #14201a;
  --ink-muted: #3d4f45;
  --paper: #f3f6f1;
  --paper-2: #e7eee4;
  --panel: #ffffff;
  --line: #c9d6cc;
  --accent: #1f6b4a;
  --accent-2: #0f3d2c;
  --warn: #8a5a12;
  --shadow: 0 18px 40px rgba(20, 32, 26, 0.08);
  --radius: 18px;
  --font-display: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 10% -10%, #d9ebe0 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #e8f0d8 0%, transparent 45%),
    linear-gradient(180deg, #f7faf6 0%, var(--paper) 40%, #eef3eb 100%);
  line-height: 1.7;
}

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

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(243, 246, 241, 0.86);
  border-bottom: 1px solid rgba(201, 214, 204, 0.7);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.brand-en {
  font-size: 0.72rem;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
}

.nav {
  display: none;
  gap: 1.25rem;
  align-items: center;
}

.nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.92rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-2);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 8% -10% auto auto;
  width: min(52vw, 560px);
  height: min(52vw, 560px);
  border-radius: 40% 60% 55% 45%;
  background:
    linear-gradient(145deg, rgba(31, 107, 74, 0.18), rgba(15, 61, 44, 0.05)),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 12px,
      rgba(31, 107, 74, 0.05) 12px,
      rgba(31, 107, 74, 0.05) 13px
    );
  animation: drift 14s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: -8%;
  bottom: 8%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 90, 18, 0.12), transparent 70%);
  animation: pulse 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  to {
    transform: translate3d(-18px, 22px, 0) rotate(8deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-content {
  max-width: 40rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-visual svg {
  width: min(100%, 440px);
  height: auto;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.4vw + 1rem, 2.55rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.85rem;
  letter-spacing: 0.06em;
}

.hero h1 {
  font-size: clamp(1.2rem, 1.4vw + 0.85rem, 1.55rem);
  line-height: 1.55;
  font-weight: 500;
  margin: 0 0 1rem;
  letter-spacing: 0.01em;
  text-wrap: pretty;
}

.hero-lead {
  color: var(--ink-muted);
  font-size: 1.05rem;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Stat strip: cost comparison band under the hero */
.stat-strip {
  padding: 2.75rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.stat-strip-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
}

.stat-strip-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0;
}

.stat-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, 1fr);
}

.stat-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}

.stat-card .stat-label {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin: 0 0 0.4rem;
}

.stat-card .stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  margin: 0;
}

.stat-card.is-highlight {
  background: var(--accent-2);
  border-color: var(--accent-2);
  box-shadow: var(--shadow);
}

.stat-card.is-highlight .stat-label {
  color: rgba(243, 246, 241, 0.75);
}

.stat-card.is-highlight .stat-value {
  color: #fff;
}

.section {
  padding: 4.5rem 0;
}

.section-kicker {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 0.85rem;
}

.section-lead {
  color: var(--ink-muted);
  max-width: 40rem;
  margin: 0 0 2rem;
}

.grid-2 {
  display: grid;
  gap: 1.25rem;
}

.grid-3 {
  display: grid;
  gap: 1rem;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
}

.panel h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.panel p {
  margin: 0;
  color: var(--ink-muted);
}

/* Trust grid: why this is achievable */
.trust-grid {
  display: grid;
  gap: 1rem;
  margin: 1.75rem 0 2.5rem;
}

.trust-card {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.trust-icon {
  flex: none;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: rgba(31, 107, 74, 0.12);
  color: var(--accent-2);
  display: grid;
  place-items: center;
}

.trust-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.trust-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.trust-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* Worry cards: preempt board-member objections */
.worry-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.worry-card {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.worry-icon {
  flex: none;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: rgba(138, 90, 18, 0.12);
  color: var(--warn);
  display: grid;
  place-items: center;
}

.worry-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.worry-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.worry-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.worry-card .reassure {
  display: block;
  margin-top: 0.5rem;
  color: var(--accent-2);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Before / after visual comparison */
.before-after {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 2.5rem;
}

.ba-panel {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.ba-panel figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  font-weight: 700;
}

.ba-before figcaption {
  background: rgba(138, 90, 18, 0.12);
  color: var(--warn);
}

.ba-after figcaption {
  background: rgba(31, 107, 74, 0.12);
  color: var(--accent-2);
}

.ba-panel svg {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.ba-panel p {
  margin: 0;
  padding: 0.9rem 1.1rem 1.1rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

/* Day-in-life timeline */
.timeline {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.timeline-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.timeline-time {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent-2);
  font-size: 0.95rem;
  margin: 0 0 0.3rem;
}

.timeline-icon {
  flex: none;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
}

.timeline-icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.timeline-body {
  padding-top: 0.35rem;
}

.timeline-body h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.timeline-body p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

.step {
  position: relative;
  padding-left: 3.4rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.flow-diagram {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.flow-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.6rem;
  align-items: center;
}

.flow-box {
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  text-align: center;
  font-weight: 700;
}

.flow-arrow {
  color: var(--accent);
  font-weight: 700;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.compare th,
.compare td {
  padding: 0.95rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.compare th {
  background: #edf4ee;
  font-weight: 700;
}

.compare tr:last-child td {
  border-bottom: 0;
}

.note {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-top: 0.85rem;
}

.price {
  display: grid;
  gap: 1rem;
}

.price-main {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin: 0.2rem 0;
}

.price-sub {
  color: var(--ink-muted);
  margin: 0;
}

.price-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(31, 107, 74, 0.1);
  color: var(--accent-2);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
}

/* FAQ */
.faq {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.3rem 1.4rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 1.6rem 1.05rem 0;
  font-weight: 700;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0.9rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--accent);
  transition: transform 0.18s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0 0 1.1rem;
  color: var(--ink-muted);
}

.feature-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #fff;
  border-left: 4px solid var(--accent);
  padding: 0.9rem 1rem;
  border-radius: 0 12px 12px 0;
}

.feature-list .f-icon {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.1rem;
  color: var(--accent);
}

.feature-list .f-icon svg {
  width: 100%;
  height: 100%;
}

.compare .ok {
  color: var(--accent-2);
  font-weight: 700;
}

.compare .dim {
  color: var(--ink-muted);
}

.form {
  display: grid;
  gap: 0.9rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.form input,
.form select,
.form textarea {
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  background: #fff;
  color: var(--ink);
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.hp {
  position: absolute;
  left: -10000px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-status {
  min-height: 1.4rem;
  font-size: 0.92rem;
}

.form-status[data-state="ok"] {
  color: var(--accent);
}

.form-status[data-state="err"] {
  color: #9b1c1c;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.site-footer a {
  color: var(--ink-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
}

.privacy-page {
  padding: 3rem 0 4rem;
}

.privacy-page h1 {
  font-family: var(--font-display);
}

@media (min-width: 760px) {
  .nav {
    display: flex;
  }

  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .price {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .stat-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .worry-grid {
    grid-template-columns: 1fr 1fr;
  }

  .before-after {
    grid-template-columns: 1fr 1fr;
  }

  .timeline {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}
