:root {
  --green: #315c3b;
  --green-dark: #23472e;
  --green-ink: #173522;
  --sage: #eaf1e4;
  --sage-deep: #d7e5ce;
  --cream: #faf9f5;
  --white: #fff;
  --ink: #27332a;
  --muted: #5f6b61;
  --line: #06c755;
  --line-ink: #062b16;
  --gold: #d8b967;
  --border: #cdd9c8;
  --shadow: 0 22px 60px rgba(35, 71, 46, .12);
  --radius: 18px;
  --max: 1120px;
  --narrow: 760px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
}
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #edb52f; outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 12px;
  top: 12px;
  transform: translateY(-150%);
  padding: 10px 16px;
  color: var(--white);
  background: var(--green-dark);
  border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }

.container, .narrow { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { max-width: var(--narrow); }
.section { padding: 88px 0; }
.section-kicker {
  margin: 0 0 10px;
  color: var(--green);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .08em;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { margin-top: 0; color: var(--green-ink); line-height: 1.35; }
h2 { margin-bottom: 26px; font-size: clamp(1.85rem, 4vw, 2.75rem); letter-spacing: .02em; }
h3 { font-size: 1.2rem; }
p { margin-top: 0; }
.mobile-only { display: none; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(250, 249, 245, .94);
  border-bottom: 1px solid rgba(49, 92, 59, .1);
  backdrop-filter: blur(12px);
}
.header-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; line-height: 1.2; }
.brand-mark { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: var(--green); }
.brand-mark svg { width: 28px; fill: none; stroke: var(--white); stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.brand strong { display: block; color: var(--green-ink); font-size: 1rem; }
.brand small { display: block; margin-top: 4px; color: var(--muted); font-size: .72rem; }
.header-diagnosis { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 20px; color: var(--white); background: var(--green); border-radius: 999px; font-size: .9rem; font-weight: 800; text-decoration: none; }

.hero { position: relative; padding: 56px 0 72px; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -260px;
  right: -250px;
  width: 650px;
  height: 650px;
  background: var(--sage);
  border-radius: 50%;
}
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: clamp(36px, 7vw, 86px); }
.quick-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.quick-facts li { padding: 6px 14px; color: var(--green-dark); background: var(--sage); border: 1px solid var(--sage-deep); border-radius: 999px; font-size: .86rem; font-weight: 800; }
.eyebrow { margin-bottom: 12px; color: var(--green); font-weight: 800; letter-spacing: .05em; }
.hero h1 { margin-bottom: 22px; font-size: clamp(2.25rem, 4.3vw, 3.35rem); letter-spacing: .01em; word-break: keep-all; }
.hero h1 em { color: var(--green); font-style: normal; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: .13em; text-underline-offset: .14em; }
.hero-lead { max-width: 650px; margin-bottom: 28px; color: #415045; font-size: clamp(1.05rem, 2vw, 1.18rem); line-height: 1.95; }
.hero-actions, .final-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(35, 71, 46, .15); }
.button-large { min-height: 60px; padding: 15px 30px; font-size: 1.08rem; }
.button-primary { color: var(--white); background: var(--green); border-color: var(--green); }
.button-primary:hover { background: var(--green-dark); }
.button-secondary { color: var(--green-dark); background: var(--white); border-color: var(--green); }
.button-line { color: var(--line-ink); background: var(--line); border-color: #05b94f; }
.button-line:hover { background: #13d863; }
.button-line[disabled], .direct-line[disabled] { cursor: not-allowed; opacity: .55; transform: none; box-shadow: none; }
.button-ghost { color: var(--green-dark); background: transparent; border-color: var(--green); }
.text-link { min-height: 48px; padding: 4px 2px; color: var(--green); background: none; border: 0; border-bottom: 1px solid currentColor; cursor: pointer; font-weight: 700; }
.privacy-note { margin: 16px 0 0; color: var(--muted); font-size: .9rem; }
.privacy-note span { color: var(--green); font-weight: 900; }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; border-radius: 36% 36% 8% 8% / 24% 24% 8% 8%; box-shadow: var(--shadow); }
.hero-visual p { position: absolute; right: -12px; bottom: 18px; margin: 0; padding: 10px 18px; color: var(--white); background: var(--green-dark); border-radius: 10px; font-size: .86rem; font-weight: 800; }

.concerns { background: var(--white); }
.concerns h2, .faq h2 { text-align: center; }
.concerns .section-kicker, .faq .section-kicker { text-align: center; }
.check-list { margin: 34px 0 24px; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.check-list li { position: relative; padding: 17px 16px 17px 50px; border-bottom: 1px solid var(--border); font-size: 1.03rem; font-weight: 700; }
.check-list li::before { content: "✓"; position: absolute; left: 15px; top: 16px; display: grid; width: 24px; height: 24px; place-items: center; color: var(--white); background: var(--green); border-radius: 50%; font-size: .8rem; }
.concerns-close { margin-bottom: 0; text-align: center; }

.diagnosis-section { background: linear-gradient(180deg, var(--sage) 0, #f4f7f1 100%); }
.diagnosis-intro { margin-bottom: 32px; text-align: center; }
.diagnosis-intro p:last-child { color: var(--muted); }
.diagnosis-shell { width: min(100%, 820px); min-height: 480px; margin-inline: auto; padding: clamp(28px, 5vw, 54px); background: var(--white); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow); }
.diagnosis-ready { max-width: 620px; margin: 20px auto; text-align: center; }
.ready-icon { display: grid; width: 94px; height: 94px; margin: 0 auto 24px; place-items: center; color: var(--white); background: var(--green); border: 10px solid var(--sage); border-radius: 50%; font-size: 2.6rem; font-weight: 900; line-height: 1; }
.diagnosis-ready h3 { margin-bottom: 14px; font-size: 1.6rem; }
.diagnosis-ready p { margin-bottom: 28px; color: var(--muted); }
.progress-meta { display: flex; justify-content: space-between; gap: 16px; color: var(--green); font-size: .9rem; font-weight: 800; }
.progress-meta p { margin-bottom: 8px; }
.progress-track { height: 10px; margin-bottom: 34px; overflow: hidden; background: var(--sage); border-radius: 999px; }
.progress-track span { display: block; width: 20%; height: 100%; background: var(--green); border-radius: inherit; transition: width .2s ease; }
.question-content h3 { margin-bottom: 24px; font-size: clamp(1.35rem, 3.5vw, 1.8rem); }
.answer-list { display: grid; gap: 12px; margin: 0; padding: 0; border: 0; }
.answer-button { position: relative; min-height: 58px; width: 100%; padding: 14px 52px 14px 20px; color: var(--ink); background: var(--white); border: 2px solid var(--border); border-radius: 12px; cursor: pointer; font-size: 1rem; font-weight: 700; line-height: 1.55; text-align: left; }
.answer-button::after { content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; border-top: 2px solid var(--green); border-right: 2px solid var(--green); transform: translateY(-50%) rotate(45deg); }
.answer-button:hover, .answer-button[aria-pressed="true"] { background: var(--sage); border-color: var(--green); }
.answer-button:disabled { cursor: wait; opacity: .72; }
.back-button, .restart-button { min-height: 48px; margin-top: 22px; padding: 8px 0; color: var(--green); background: none; border: 0; border-bottom: 1px solid currentColor; cursor: pointer; font-weight: 800; }
.back-button::before { content: "← "; }
.result-panel { text-align: left; }
.result-label { margin-bottom: 5px; color: var(--green); font-size: .9rem; font-weight: 800; letter-spacing: .06em; }
.result-type { display: inline-block; margin-bottom: 16px; padding: 6px 12px; color: var(--green-dark); background: var(--sage); border-radius: 999px; font-weight: 800; }
.result-panel h2 { margin-bottom: 18px; font-size: clamp(1.65rem, 4vw, 2.3rem); }
.result-copy { font-size: 1.03rem; }
.advice-box { margin: 28px 0; padding: 24px; background: var(--sage); border-left: 5px solid var(--green); }
.advice-box h3 { margin-bottom: 12px; }
.advice-box ul { margin: 0; padding-left: 1.4em; }
.advice-box li + li { margin-top: 8px; }
.result-service { margin-bottom: 24px; font-weight: 700; }
.result-message-wrap { margin-top: 28px; }
.result-message-wrap h3 { margin-bottom: 5px; }
.result-message-wrap p { color: var(--muted); font-size: .9rem; }
#consultation-message { width: 100%; min-height: 260px; padding: 16px; color: var(--ink); background: #fbfcfa; border: 1px solid var(--border); border-radius: 10px; font: inherit; font-size: .9rem; line-height: 1.65; resize: vertical; }
.config-alert { margin: 18px 0; padding: 15px 16px; color: #553900; background: #fff6d9; border: 1px solid #e9cf76; border-radius: 10px; }
.config-alert strong { display: block; }
.result-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.copy-status { min-height: 1.7em; margin: 10px 0 0; color: var(--green); font-weight: 700; text-align: center; }
.estimate-note { margin: 20px 0 12px; padding: 12px 16px; color: var(--green-ink); background: #f4f7f1; border-radius: 8px; font-weight: 700; }
.result-caution { color: var(--muted); font-size: .86rem; line-height: 1.7; }
.restart-button { display: block; margin-inline: auto; }
.noscript-note { padding: 16px; background: #fff6d9; border: 1px solid #e9cf76; border-radius: 10px; }

.reasons { background: var(--cream); }
.reasons > .container > h2, .flow > .container > h2 { max-width: 800px; }
.reason-list { margin: 42px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.reason-list li { display: grid; grid-template-columns: 100px 1fr; gap: 28px; padding: 34px 0; border-bottom: 1px solid var(--border); }
.reason-list li > span { color: var(--green); font-family: Georgia, serif; font-size: 2rem; }
.reason-list h3 { margin-bottom: 8px; font-size: 1.35rem; }
.reason-list p { max-width: 760px; margin-bottom: 0; }

.flow { color: #f5f7f3; background: var(--green-dark); }
.flow h2, .flow h3 { color: var(--white); }
.flow .section-kicker { color: #c4d8bd; }
.flow-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 44px 0 24px; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.25); border-bottom: 1px solid rgba(255,255,255,.25); }
.flow-list li { padding: 28px 22px; border-right: 1px solid rgba(255,255,255,.25); }
.flow-list li:last-child { border-right: 0; }
.flow-list span { display: block; margin-bottom: 16px; color: #c4d8bd; font-size: .8rem; font-weight: 800; letter-spacing: .08em; }
.flow-list h3 { min-height: 3.4em; margin-bottom: 10px; font-size: 1.08rem; }
.flow-list p { margin-bottom: 0; color: #e0e8dc; font-size: .92rem; }
.flow-note { margin-bottom: 0; color: #c9d5c5; font-size: .88rem; }

.faq { background: var(--white); }
.faq-list { margin-top: 36px; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { position: relative; min-height: 64px; padding: 19px 48px 19px 8px; cursor: pointer; color: var(--green-ink); font-weight: 800; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 10px; top: 17px; display: grid; width: 28px; height: 28px; place-items: center; color: var(--green); border: 1px solid var(--border); border-radius: 50%; font-size: 1.25rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 48px 22px 8px; color: var(--muted); }

.final-cta { padding: 94px 0; background: var(--sage); text-align: center; }
.final-cta h2 { margin-bottom: 18px; }
.final-cta > .narrow > p:not(.section-kicker):not(.line-unset-note) { margin-bottom: 30px; }
.final-actions { justify-content: center; }
.line-unset-note { margin: 18px 0 0; color: #6a4600; font-size: .9rem; font-weight: 700; }

.business-info { padding: 78px 0; background: var(--cream); }
.business-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.business-grid > div > p:last-child { max-width: 420px; }
.business-grid dl { margin: 0; border-top: 1px solid var(--border); }
.business-grid dl div { display: grid; grid-template-columns: 120px 1fr; padding: 15px 0; border-bottom: 1px solid var(--border); }
.business-grid dt { color: var(--muted); font-weight: 700; }
.business-grid dd { margin: 0; font-weight: 700; }
.business-grid dd a { color: var(--green); }
.map-panel { margin-top: 46px; }
.map-heading { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr); column-gap: 70px; align-items: end; margin-bottom: 18px; }
.map-heading .section-kicker { grid-column: 1; margin-bottom: 4px; }
.map-heading h3 { grid-column: 1; margin-bottom: 0; font-size: 1.35rem; }
.map-heading > p:last-child { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin-bottom: 0; }
.map-frame { position: relative; width: 100%; aspect-ratio: 16 / 7; min-height: 360px; overflow: hidden; background: var(--sage); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.site-footer { padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); color: #dfe8dc; background: #162e1e; }
.footer-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.footer-inner strong { color: var(--white); }
.footer-inner p { margin: 4px 0 0; font-size: .86rem; }
.footer-inner small { white-space: nowrap; }

.sticky-cta { display: none; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { width: min(100%, 620px); margin-inline: auto; }
  .flow-list { grid-template-columns: 1fr 1fr; }
  .flow-list li:nth-child(2) { border-right: 0; }
  .flow-list li:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.25); }
  .business-grid { grid-template-columns: 1fr; gap: 30px; }
  .map-heading { grid-template-columns: 1fr; gap: 6px; }
  .map-heading .section-kicker, .map-heading h3, .map-heading > p:last-child { grid-column: 1; grid-row: auto; }
}

@media (max-width: 600px) {
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); font-size: 16px; }
  .container, .narrow { width: min(calc(100% - 32px), var(--max)); }
  .section { padding: 68px 0; }
  .mobile-only { display: block; }
  h2 { font-size: 1.75rem; }
  .site-header { position: relative; }
  .header-inner { min-height: 64px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand small { display: none; }
  .header-diagnosis { padding-inline: 15px; }
  .hero { padding: 36px 0 56px; }
  .hero::before { top: 260px; right: -240px; width: 530px; height: 530px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.5rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .text-link { justify-self: center; }
  .hero-visual { margin-top: 14px; }
  .hero-visual p { right: 6px; bottom: 10px; font-size: .75rem; }
  .check-list li { font-size: .97rem; }
  .diagnosis-shell { min-height: 450px; padding: 28px 20px; border-radius: 18px; }
  .diagnosis-ready { margin: 0 auto; }
  .diagnosis-ready h3 { font-size: 1.35rem; }
  .answer-button { padding-left: 16px; font-size: .96rem; }
  .result-actions { grid-template-columns: 1fr; }
  .reason-list li { grid-template-columns: 54px 1fr; gap: 14px; padding: 28px 0; }
  .reason-list li > span { font-size: 1.25rem; }
  .reason-list h3 { font-size: 1.16rem; }
  .flow-list { grid-template-columns: 1fr; }
  .flow-list li { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.25); }
  .flow-list li:last-child { border-bottom: 0; }
  .flow-list h3 { min-height: 0; }
  .final-actions { display: grid; }
  .business-grid dl div { grid-template-columns: 95px 1fr; gap: 10px; }
  .map-panel { margin-top: 38px; }
  .map-frame { min-height: 300px; aspect-ratio: 4 / 3; border-radius: 12px; }
  .footer-inner { display: block; }
  .footer-inner small { display: block; margin-top: 18px; }
  .sticky-cta {
    position: fixed;
    z-index: 60;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96);
    border-top: 1px solid var(--border);
    backdrop-filter: blur(12px);
  }
  .sticky-cta .button { width: 100%; min-height: 52px; }
  .sticky-cta[hidden] { display: none; }
}

@media (max-width: 360px) {
  .container, .narrow { width: min(calc(100% - 24px), var(--max)); }
  .brand strong { font-size: .9rem; }
  .header-diagnosis { font-size: .82rem; }
  .hero h1 { font-size: 2rem; }
  .quick-facts li { padding-inline: 10px; font-size: .8rem; }
  .diagnosis-shell { padding-inline: 14px; }
  .business-grid dl div { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
