:root {
  --ink: #19352d;
  --muted: #667a72;
  --soft-ink: #35564a;
  --green: #2f7d61;
  --green-deep: #205b46;
  --mint: #edf8f2;
  --mint-strong: #d8f0e3;
  --line: #dfe9e3;
  --paper: #ffffff;
  --warm: #fbfdfb;
  --shadow: 0 16px 40px rgba(28, 78, 56, .08);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); font-size: 15px; line-height: 1.7; letter-spacing: .015em; line-break: strict; word-break: normal; overflow-wrap: normal; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header { width: min(1120px, calc(100% - 40px)); margin: 0 auto; min-height: 76px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 600; letter-spacing: -.04em; }
.wordmark-mark { display: block; flex: 0 0 28px; width: 28px; height: 28px; object-fit: contain; }
.header-link { color: var(--green-deep); font-size: 12px; font-weight: 700; border-bottom: 1px solid var(--green); padding-bottom: 2px; }

.section-shell { width: min(960px, calc(100% - 40px)); margin: 0 auto; }
.hero { min-height: 570px; padding: 70px 0 96px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: var(--mint); top: 38px; right: -130px; z-index: -1; }
.eyebrow { color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: .14em; margin: 0 0 18px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, p, summary, .button, .text-link, .eyebrow, .note-line, .step-number, .phone-label, .phone-callout, .achievement-copy, .achievement-note, .site-footer { line-break: strict; }
.sentence-end { white-space: nowrap; }
h1 { max-width: 680px; margin-bottom: 22px; font-size: clamp(2.2rem, 8vw, 4.8rem); line-height: 1.23; letter-spacing: -.055em; font-weight: 700; }
h1 em, h2 em { color: var(--green); font-style: normal; }
.hero-lead { color: var(--soft-ink); font-size: 16px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 19px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 999px; padding: 0 23px; font-size: 13px; font-weight: 700; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--green); box-shadow: 0 8px 18px rgba(47,125,97,.18); }
.button-primary:hover { background: var(--green-deep); box-shadow: 0 10px 22px rgba(47,125,97,.24); }
.button-dark { width: 100%; color: #fff; background: var(--green-deep); padding: 14px 20px; border-radius: 13px; text-align: center; line-height: 1.45; }
.text-link { color: var(--green-deep); font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--green); padding-bottom: 3px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.note-line { display: inline-flex; align-items: center; }

.calculator-section { background: var(--mint); padding: 90px 0 100px; }
.section-heading { max-width: 610px; margin-bottom: 32px; }
.section-heading h2 { margin-bottom: 14px; font-size: clamp(2rem, 6vw, 3.25rem); line-height: 1.25; letter-spacing: -.045em; }
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 14px; }
.section-heading.compact { margin-bottom: 34px; }
.calculator-card { max-width: 720px; background: var(--paper); border: 1px solid rgba(47,125,97,.12); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.field-grid { display: grid; gap: 15px; grid-template-columns: 1fr; }
.field { display: block; color: var(--soft-ink); font-size: 12px; font-weight: 700; }
.field > span { display: block; margin-bottom: 7px; }
.input-wrap, .field select { display: flex; align-items: center; width: 100%; height: 51px; padding: 0 14px; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; background: var(--warm); }
.input-wrap:focus-within, .field select:focus { outline: 3px solid rgba(47,125,97,.15); border-color: var(--green); }
.input-wrap input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 18px; font-weight: 700; }
.input-wrap b { color: var(--muted); font-size: 12px; white-space: nowrap; }
.field select { appearance: auto; font-size: 14px; font-weight: 700; }
.result-panel { margin: 25px 0 22px; padding: 25px 18px 21px; border-radius: 15px; background: var(--mint); text-align: center; }
.result-kicker { color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.result-number { display: flex; justify-content: center; align-items: baseline; gap: 5px; color: var(--green-deep); }
.result-number strong { min-width: 2ch; font-size: clamp(3.4rem, 16vw, 5.3rem); line-height: 1.15; letter-spacing: -.08em; font-weight: 700; }
.result-number span { font-size: 16px; font-weight: 700; }
.result-divider { width: 38px; height: 1px; margin: 10px auto 12px; background: rgba(47,125,97,.3); }
.result-sub { color: var(--soft-ink); font-size: 14px; margin-bottom: 2px; }
.result-sub strong { color: var(--green-deep); font-size: 20px; }
.result-caption { color: var(--muted); font-size: 11px; margin-bottom: 0; }

.steps-section { padding: 104px 0 110px; }
.steps-list { display: grid; gap: 14px; }
.step-card { padding: 21px 0 24px; border-top: 1px solid var(--line); }
.step-card:last-child { border-bottom: 1px solid var(--line); }
.step-number { display: inline-block; margin-bottom: 10px; color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.step-card h3 { margin-bottom: 5px; font-size: 17px; letter-spacing: -.02em; }
.step-card p { max-width: 500px; margin-bottom: 0; color: var(--muted); font-size: 13px; }

.showcase-section { padding: 95px 0 110px; background: var(--warm); border-top: 1px solid #f0f4f1; }
.phone-grid { display: grid; gap: 24px; align-items: start; grid-template-columns: 1fr; }
.phone-frame { width: min(100%, 300px); min-height: 430px; margin: 0 auto; padding: 12px; border: 1px solid #dfeae3; border-radius: 27px; background: #fff; box-shadow: 0 20px 50px rgba(28,78,56,.11); }
.phone-progress { transform: rotate(-1.5deg); }
.phone-achievement { transform: rotate(1.5deg); }
.phone-top { display: flex; justify-content: space-between; padding: 9px 10px 21px; color: var(--green-deep); font-size: 10px; font-weight: 700; letter-spacing: .09em; }
.phone-date { color: var(--muted); font-weight: 400; letter-spacing: .02em; }
.phone-content { padding: 25px 17px 17px; border-radius: 18px; background: var(--mint); min-height: 357px; }
.phone-label { margin-bottom: 7px; color: var(--muted); font-size: 11px; }
.phone-rate { display: flex; align-items: baseline; color: var(--green-deep); margin-bottom: 17px; }
.phone-rate strong { font-size: 56px; line-height: 1; letter-spacing: -.08em; }
.phone-rate span { margin-left: 4px; font-size: 19px; font-weight: 700; }
.progress-track { height: 7px; overflow: hidden; border-radius: 99px; background: #cfe3d7; }
.progress-fill { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--green); transition: width 1.15s cubic-bezier(.22,.61,.36,1); }
.progress-fill.is-visible { width: calc(var(--progress) * 1%); }
.phone-meta { display: flex; justify-content: space-between; margin: 12px 0 25px; color: var(--muted); font-size: 10px; }
.phone-meta b { display: block; color: var(--soft-ink); font-size: 12px; }
.phone-callout { padding: 15px; border-radius: 13px; background: #fff; }
.phone-callout small { display: block; color: var(--muted); font-size: 10px; }
.phone-callout strong { display: block; margin: 4px 0; color: var(--green-deep); font-size: 21px; letter-spacing: -.04em; }
.phone-callout span { color: var(--muted); font-size: 10px; }
.mock-button { width: 100%; height: 39px; margin-top: 15px; border: 0; border-radius: 10px; color: #fff; background: var(--green); font-size: 11px; font-weight: 700; }
.phone-content.centered { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.achievement-mark { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 25px; border: 1px solid #b9ddc9; border-radius: 50%; background: #fff; }
.achievement-mark span { display: block; width: 20px; height: 10px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg) translate(2px, -2px); }
.achievement-amount { color: var(--green-deep); font-size: 31px; font-weight: 700; letter-spacing: -.06em; }
.achievement-amount span { margin-left: 3px; font-size: 13px; letter-spacing: 0; }
.achievement-copy { margin: 12px 0 25px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.achievement-line { width: 30px; height: 1px; background: #a7cdb8; }
.achievement-note { color: var(--soft-ink); font-size: 11px; }

.audience-section { padding: 100px 0 110px; }
.audience-grid { display: grid; gap: 0; border-top: 1px solid var(--line); }
.audience-item { display: grid; gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.audience-item strong { font-size: 15px; line-height: 1.6; }
.audience-item span { color: var(--muted); font-size: 12px; }

.faq-section { padding: 20px 0 110px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; gap: 20px; padding: 19px 0; cursor: pointer; list-style: none; color: var(--soft-ink); font-size: 14px; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "開く"; color: var(--green); font-size: 11px; font-weight: 700; line-height: 1; white-space: nowrap; }
details[open] summary::after { content: "閉じる"; }
details p { max-width: 690px; padding: 0 30px 20px 0; margin-bottom: 0; color: var(--muted); font-size: 13px; }

.final-cta-section { padding: 0 0 78px; }
.final-cta-card { position: relative; overflow: hidden; padding: 48px 24px; border-radius: 20px; background: var(--mint); text-align: center; }
.final-cta-card::after { content: ""; position: absolute; width: 180px; height: 180px; border: 1px solid rgba(47,125,97,.15); border-radius: 50%; right: -85px; bottom: -95px; }
.final-cta-card .eyebrow { margin-bottom: 15px; }
.final-cta-card h2 { position: relative; z-index: 1; margin-bottom: 13px; font-size: clamp(1.8rem, 7vw, 3rem); line-height: 1.35; letter-spacing: -.05em; }
.final-cta-card p:not(.eyebrow) { position: relative; z-index: 1; margin-bottom: 24px; color: var(--muted); font-size: 13px; }
.final-cta-card .button { position: relative; z-index: 1; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.site-footer span:first-child { color: var(--ink); font-weight: 700; }

@media (min-width: 680px) {
  .site-header, .section-shell { width: min(960px, calc(100% - 72px)); }
  .hero { min-height: 680px; padding-top: 108px; }
  .hero-note { gap: 28px; }
  .field-grid { grid-template-columns: 1fr 1fr; }
  .field-wide { grid-column: 1 / -1; }
  .calculator-card { padding: 30px; }
  .steps-list { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .step-card { padding: 0 20px 0 0; border-top: 0; border-right: 1px solid var(--line); }
  .step-card:last-child { border-bottom: 0; border-right: 0; }
  .phone-grid { grid-template-columns: 1fr 1fr; max-width: 660px; margin: 0 auto; }
  .audience-grid { grid-template-columns: 1fr 1fr; column-gap: 38px; }
  .audience-item { padding: 22px 0; }
}

@media (min-width: 980px) {
  .hero { flex-direction: row; align-items: end; padding-bottom: 112px; }
  .hero-note { width: 230px; margin: 0 0 5px; display: block; border-top: 0; padding-top: 0; }
  .note-line { display: flex; margin: 12px 0; }
  .calculator-section .section-shell, .showcase-section .section-shell { display: grid; grid-template-columns: .78fr 1.22fr; gap: 80px; align-items: start; }
  .calculator-section .section-heading, .showcase-section .section-heading { position: sticky; top: 40px; margin-bottom: 0; }
  .showcase-section .phone-grid { grid-column: 2; grid-row: 1; }
  .showcase-section .section-heading { grid-column: 1; }
  .final-cta-card { padding: 70px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
