:root {
  --ink: #172027;
  --muted-ink: #5f6a72;
  --paper: #f7f5ef;
  --surface: #ffffff;
  --line: #d8ddd8;
  --green: #0f6f5d;
  --green-dark: #0a4d45;
  --red: #b8453d;
  --gold: #b78a3a;
  --blue: #2c6f91;
  --shadow: 0 18px 48px rgba(23, 32, 39, 0.12);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", system-ui, sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
}

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

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

.nowrap {
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 12px;
}

.shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 245, 239, 0.9);
  border-bottom: 1px solid rgba(216, 221, 216, 0.8);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: linear-gradient(145deg, var(--green), var(--red));
  border-radius: 50%;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  line-height: 1.2;
}

.brand small {
  color: var(--muted-ink);
  font-size: 11px;
  line-height: 1.3;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted-ink);
  font-size: 14px;
}

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

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1.2;
  overflow: hidden;
  isolation: isolate;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 30px rgba(15, 111, 93, 0.22);
  animation: cta-breathe 3.8s ease-in-out infinite;
}

.button-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.24) 45%, transparent 62%);
  transform: translateX(-120%);
  animation: cta-sheen 4.8s ease-in-out infinite;
}

.button-primary:hover {
  background: var(--green-dark);
  box-shadow: 0 16px 36px rgba(15, 111, 93, 0.28);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

.button-small {
  min-height: 40px;
  padding: 0 16px;
  color: #fff;
  background: var(--ink);
  font-size: 13px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 56px;
  background:
    linear-gradient(115deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.42) 46%, rgba(255,255,255,0) 64%),
    linear-gradient(180deg, rgba(255,255,255,0.66), rgba(247,245,239,0.96)),
    radial-gradient(circle at 18% 18%, rgba(184,69,61,0.09), transparent 28%),
    radial-gradient(circle at 82% 8%, rgba(15,111,93,0.12), transparent 30%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 111, 93, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 111, 93, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.42), transparent 72%);
  animation: market-grid 18s linear infinite;
}

.market-motion {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.motion-line,
.motion-bar {
  position: absolute;
  display: block;
  opacity: 0.42;
}

.motion-line {
  width: 44vw;
  min-width: 360px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(15, 111, 93, 0.36), transparent);
  transform: rotate(-10deg);
  animation: market-scan 11s ease-in-out infinite;
}

.motion-line-a {
  top: 24%;
  left: -18%;
}

.motion-line-b {
  top: 58%;
  right: -20%;
  animation-delay: -5s;
}

.motion-bar {
  bottom: 0;
  width: 18px;
  border: 1px solid rgba(15, 111, 93, 0.15);
  background: rgba(15, 111, 93, 0.08);
  animation: market-pulse 7s ease-in-out infinite;
}

.motion-bar-a {
  left: 6%;
  height: 130px;
}

.motion-bar-b {
  right: 14%;
  height: 92px;
  animation-delay: -2.2s;
}

.motion-bar-c {
  right: 7%;
  height: 168px;
  animation-delay: -4.4s;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 48px;
}

.eyebrow,
.section-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

.eyebrow span,
.section-kicker {
  text-transform: none;
}

.eyebrow span {
  padding: 4px 9px;
  background: rgba(15, 111, 93, 0.09);
  border: 1px solid rgba(15, 111, 93, 0.14);
  border-radius: 999px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.3;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--muted-ink);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.micro-note {
  color: var(--muted-ink);
  font-size: 13px;
}

.hero-copy {
  position: relative;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: -18px -16px;
  z-index: -1;
  border: 1px solid rgba(216, 221, 216, 0);
  border-radius: var(--radius);
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border: 1px solid rgba(216, 221, 216, 0.92);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.proof-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

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

.proof-grid div {
  padding: 24px 20px;
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  margin-bottom: 4px;
}

.proof-grid span {
  color: var(--muted-ink);
  font-size: 14px;
}

.section {
  padding: 92px 0;
}

.muted {
  background: #fff;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  gap: 44px;
}

.section-heading p,
.split p,
.cta-box p {
  color: var(--muted-ink);
  font-size: 17px;
}

.compact {
  max-width: 680px;
  margin-bottom: 28px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.step,
.quote-panel,
.cta-box,
details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-card {
  min-height: 230px;
  padding: 24px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 32px;
  margin-bottom: 22px;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.feature-card p,
.step p,
details p {
  color: var(--muted-ink);
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  align-items: center;
  gap: 48px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 12px;
  height: 8px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

.quote-panel {
  padding: 34px;
  background: linear-gradient(145deg, #ffffff, #f6fbf8);
}

.quote-panel p {
  margin-bottom: 18px;
  font-size: clamp(25px, 4vw, 36px);
  line-height: 1.35;
  font-weight: 800;
}

.quote-panel span {
  color: var(--muted-ink);
  font-size: 13px;
}

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

.step {
  padding: 26px;
}

.step span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.cta-section {
  padding: 24px 0 92px;
}

.cta-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 34px;
  background: linear-gradient(135deg, #ffffff, #eef7f4);
  box-shadow: 0 14px 38px rgba(23, 32, 39, 0.08);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.45fr) minmax(0, 1fr);
  gap: 44px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  padding: 0;
  overflow: hidden;
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 800;
}

details p {
  padding: 0 22px 22px;
}

.site-footer {
  padding: 38px 0 92px;
  color: #e7ece9;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
}

.footer-grid p {
  max-width: 640px;
  margin: 8px 0 0;
  color: #b8c2c7;
  font-size: 13px;
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: #dce5e1;
  font-size: 13px;
}

.mobile-cta {
  display: none;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.legal-page {
  background: #fff;
}

.legal-main {
  padding: 80px 0;
}

.legal-content {
  max-width: 860px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: clamp(34px, 5vw, 54px);
}

.legal-content h2 {
  margin-top: 42px;
  font-size: 24px;
}

.legal-content p,
.legal-content li {
  color: var(--muted-ink);
}

.legal-content a {
  color: var(--green-dark);
  text-decoration: underline;
}

.legal-list {
  padding-left: 1.2em;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding: 52px 0 46px;
  }

  .hero-grid,
  .section-grid,
  .split,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-copy {
    max-width: 640px;
  }

  .proof-grid,
  .steps {
    grid-template-columns: 1fr;
  }

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

  .cta-box {
    grid-template-columns: 1fr;
  }

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

  .footer-grid nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 28px, var(--max));
  }

  .header-inner {
    min-height: 64px;
  }

  .brand {
    min-width: 0;
  }

  .brand small,
  .site-header .button-small {
    display: none;
  }

  h1 {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    font-size: 39px;
    line-height: 1.12;
    text-align: center;
  }

  .hero {
    padding: 54px 0 40px;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 0 8px;
    text-align: center;
  }

  .hero-copy::before {
    inset: -10px -8px;
    background: rgba(255, 255, 255, 0.52);
    border-color: rgba(216, 221, 216, 0.48);
    box-shadow: 0 18px 42px rgba(23, 32, 39, 0.06);
  }

  .eyebrow {
    justify-content: center;
    gap: 7px;
    margin-bottom: 10px;
  }

  .eyebrow span {
    padding: 3px 8px;
    font-size: 12px;
  }

  .hero-lead {
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
  }

  .hero-actions {
    width: 100%;
    justify-content: center;
  }

  .hero-actions .button {
    width: 100%;
  }

  .section-heading,
  .compact,
  .cta-box {
    text-align: center;
  }

  .section-kicker {
    justify-content: center;
  }

  .cta-box .button {
    width: 100%;
  }

  .hero-visual {
    margin-top: 10px;
  }

  .motion-line {
    min-width: 280px;
    opacity: 0.22;
  }

  .motion-bar {
    opacity: 0.24;
  }

  .section {
    padding: 64px 0;
  }

  .feature-card,
  .step,
  .quote-panel,
  .cta-box {
    padding: 22px;
  }

  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 12;
    display: block;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(247, 245, 239, 0.92);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(16px);
  }

  .mobile-cta .button {
    width: 100%;
  }

  .site-footer {
    padding-bottom: 120px;
  }
}

@media (max-width: 480px) {
  .shell {
    width: min(360px, calc(100% - 28px));
  }

  h1 {
    max-width: 330px;
    font-size: 35px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .micro-note {
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes cta-breathe {
  0%,
  100% {
    box-shadow: 0 12px 30px rgba(15, 111, 93, 0.22);
  }
  50% {
    box-shadow: 0 18px 42px rgba(15, 111, 93, 0.34);
  }
}

@keyframes cta-sheen {
  0%,
  52% {
    transform: translateX(-120%);
  }
  78%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes market-grid {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 72px 72px, 72px 72px;
  }
}

@keyframes market-scan {
  0%,
  100% {
    transform: translateX(-8%) rotate(-10deg);
  }
  50% {
    transform: translateX(16%) rotate(-10deg);
  }
}

@keyframes market-pulse {
  0%,
  100% {
    transform: scaleY(0.78);
    transform-origin: bottom;
  }
  50% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
}
