:root {
  color-scheme: light;
  --ink: #17231f;
  --muted: #66736d;
  --paper: #f7f5ef;
  --white: #ffffff;
  --line: #dfe4df;
  --green: #194c3b;
  --green-2: #2e7059;
  --mint: #dff0e7;
  --yellow: #f4c95d;
  --shadow: 0 22px 60px rgba(31, 63, 51, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
}
button, input, select { font: inherit; }
button { cursor: pointer; }

.site-header {
  min-height: 72px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(247, 245, 239, 0.94);
  border-bottom: 1px solid rgba(23, 35, 31, 0.08);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 800; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; color: white; background: var(--green); border-radius: 50%; font-family: Georgia, serif; }
.header-note { color: var(--muted); font-size: 12px; }

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 32px 72px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 72px;
}
.eyebrow, .step-label { color: var(--green-2); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { margin: 18px 0 24px; max-width: 720px; font-size: clamp(44px, 6vw, 76px); line-height: 1.12; letter-spacing: -.055em; }
.hero h1 span { color: var(--green-2); position: relative; }
.hero h1 span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; border-radius: 99px; background: var(--yellow); }
.hero-copy > p { max-width: 650px; color: var(--muted); font-size: 18px; }
.trust-list { padding: 0; margin: 28px 0 0; list-style: none; display: grid; gap: 8px; color: #415049; font-size: 14px; }
.trust-list li::before { content: "✓"; margin-right: 10px; color: var(--green-2); font-weight: 900; }

.result-preview { overflow: hidden; background: white; min-height: 440px; border: 1px solid #d9e0db; border-radius: 24px; box-shadow: 0 28px 70px rgba(25,76,59,.18); transform: rotate(1deg); }
.preview-window-bar { height: 42px; padding: 0 16px; display: flex; align-items: center; gap: 6px; background: #eef1ee; border-bottom: 1px solid #dde3de; }
.preview-window-bar > span { width: 8px; height: 8px; background: #bdc7c0; border-radius: 50%; }
.preview-window-bar small { margin-left: auto; color: #7c8882; font-size: 10px; font-weight: 750; }
.preview-body { padding: 28px; }
.card-label { display: block; margin-bottom: 4px; color: var(--green-2); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.preview-body > strong { display: block; color: var(--green); font-size: 34px; line-height: 1.25; }
.preview-body > p { margin: 8px 0 20px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.preview-finding { padding: 16px; background: #f4f7f5; border-radius: 12px; }
.preview-finding small, .preview-action small { display: block; color: #7a8781; font-size: 9px; font-weight: 750; }
.preview-finding b { display: block; margin: 3px 0; color: var(--ink); font-size: 13px; }
.preview-finding span { display: block; color: var(--muted); font-size: 10px; line-height: 1.55; }
.preview-action { margin-top: 11px; padding: 13px 15px; display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 10px; color: white; background: var(--green); border-radius: 12px; }
.preview-action i { width: 26px; height: 26px; display: grid; place-items: center; background: var(--yellow); color: var(--green); border-radius: 50%; font-size: 11px; font-style: normal; font-weight: 900; }
.preview-action small { color: #accbbf; }
.preview-action b { display: block; font-size: 12px; }
.preview-body > em { display: block; margin-top: 12px; color: #8b958f; font-size: 9px; font-style: normal; text-align: right; }

.proof-strip {
  max-width: 1116px;
  margin: 0 auto 110px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.proof-item { padding: 25px 32px; border-left: 1px solid #cfd8d2; }
.proof-item:last-child { border-right: 1px solid #cfd8d2; }
.proof-item strong { display: block; color: var(--green); font-family: Georgia, serif; font-size: 38px; line-height: 1.1; }
.proof-item span { display: block; margin-top: 7px; color: var(--muted); font-size: 13px; }

.authority-section { max-width: 1180px; margin: 0 auto 110px; padding: 0 32px; }
.authority-heading { max-width: 820px; }
.authority-heading h2 { margin: 10px 0 20px; font-size: clamp(34px, 5vw, 58px); line-height: 1.2; letter-spacing: -.045em; }
.authority-heading > p { color: var(--muted); font-size: 17px; }
.authority-grid { margin-top: 42px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.authority-grid article { min-height: 265px; padding: 30px; background: white; border: 1px solid var(--line); border-radius: 22px; }
.authority-grid article > span { color: var(--green-2); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.authority-grid h3 { margin: 38px 0 10px; font-size: 22px; }
.authority-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.authority-principle { margin: 18px 0 0; padding: 22px 28px; color: white; background: var(--green); border-radius: 16px; font-size: 16px; font-weight: 750; text-align: center; }

.diagnosis-shell, .result-shell { max-width: 1040px; margin: 0 auto 100px; padding: 64px; background: var(--white); border: 1px solid var(--line); border-radius: 34px; box-shadow: var(--shadow); }
.section-heading { max-width: 660px; margin-bottom: 46px; }
.section-heading h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.25; letter-spacing: -.04em; margin: 8px 0; }
.section-heading p { color: var(--muted); margin: 0; }
.diagnosis-form { display: grid; gap: 34px; }
.form-section { padding: 30px; border-radius: 24px; background: #fafbf9; border: 1px solid #e9ede9; }
.form-section h3 { margin: 0 0 24px; font-size: 18px; }
.form-section h3 span { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 8px; border-radius: 50%; background: var(--mint); color: var(--green); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field > span { font-size: 13px; font-weight: 750; color: #46534d; }
.field-wide { grid-column: 1 / -1; }
input, select { width: 100%; min-height: 52px; padding: 12px 14px; color: var(--ink); background: white; border: 1px solid #cfd7d1; border-radius: 12px; outline: none; }
input:focus, select:focus { border-color: var(--green-2); box-shadow: 0 0 0 4px rgba(46,112,89,.12); }
.input-unit { position: relative; }
.input-unit input { padding-right: 52px; }
.input-unit em { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 13px; font-style: normal; }
.compact-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.primary-button, .secondary-button { border: 0; border-radius: 14px; font-weight: 800; transition: .2s ease; }
.primary-button { width: 100%; min-height: 62px; padding: 16px 24px; display: flex; justify-content: center; gap: 18px; color: white; background: var(--green); font-size: 17px; }
.primary-button:hover, .secondary-button:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(25,76,59,.18); }
.primary-button:disabled { opacity: .6; cursor: wait; transform: none; }
.privacy-note { text-align: center; color: #87918c; font-size: 12px; margin: -20px 0 0; }
.form-error { margin: 0; padding: 12px 16px; color: #8b2b2b; background: #fff0f0; border-radius: 10px; }

.result-shell { scroll-margin-top: 100px; }
.result-header { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.result-header > p:first-of-type { margin: 18px 0 0; color: var(--muted); }
.result-header h2 { margin: 4px 0 12px; color: var(--green); font-size: clamp(38px, 6vw, 64px); line-height: 1.15; }
.result-header > p:last-of-type { color: var(--muted); font-size: 17px; }
.confidence { display: inline-block; padding: 4px 12px; background: var(--mint); color: var(--green); border-radius: 99px; font-size: 12px; font-weight: 750; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.result-panel, .product-panel, .peer-panel { padding: 30px; border: 1px solid var(--line); border-radius: 22px; }
.accent-panel { background: #f0f6f2; border-color: #d5e5dc; }
.result-panel h3, .product-panel h3 { margin-top: 0; }
.finding, .action-item { padding: 18px 0; border-top: 1px solid var(--line); }
.finding:first-child, .action-item:first-child { border-top: 0; padding-top: 0; }
.finding strong, .action-item strong { display: block; margin-bottom: 5px; }
.finding p, .action-item p { margin: 0; color: var(--muted); font-size: 14px; }
.finding small, .action-item small { display: block; margin-top: 8px; color: var(--green-2); font-weight: 700; }
.action-item { display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.action-number { width: 30px; height: 30px; display: grid; place-items: center; color: white; background: var(--green); border-radius: 50%; font-size: 12px; font-weight: 800; }
.product-panel { margin-top: 22px; background: #fffdf6; border-color: #e8dfc5; }
.peer-panel { margin-top: 22px; background: #f7f9fb; border-color: #dfe6ea; }
.peer-panel h3 { margin: 4px 0; }
.peer-panel p { margin: 0; color: var(--muted); }
.peer-panel ul { margin: 16px 0 10px; padding-left: 20px; }
.peer-panel li { margin-top: 6px; }
.peer-panel small { color: #7b8781; }
.product-panel > div:first-child { max-width: 670px; }
.product-panel p { color: var(--muted); }
.product-card { margin-top: 14px; padding: 18px; background: white; border: 1px solid #e7dfca; border-radius: 14px; }
.product-card strong { display: block; }
.product-card span { color: #8b6c21; font-size: 11px; font-weight: 800; }
.product-card p { margin: 6px 0 0; font-size: 14px; }
.empty-products { margin: 14px 0 0; padding: 16px; color: var(--green); background: var(--mint); border-radius: 12px; font-weight: 700; }
.cta-panel { margin-top: 22px; padding: 30px; display: flex; align-items: center; justify-content: space-between; gap: 26px; color: white; background: var(--green); border-radius: 22px; }
.cta-panel h3 { margin: 6px 0; font-size: 25px; }
.cta-panel p { margin: 0; color: #cce0d7; }
.cta-panel .eyebrow { color: var(--yellow); }
.secondary-button { flex: 0 0 auto; padding: 15px 22px; color: var(--green); background: var(--yellow); }
.disclaimer { margin: 20px 0 0; color: #8a938f; font-size: 11px; text-align: center; }
.text-button { display: block; margin: 16px auto 0; color: var(--green-2); background: none; border: 0; text-decoration: underline; }

footer { min-height: 130px; padding: 30px 5vw; display: flex; align-items: center; justify-content: space-between; color: #829089; font-size: 12px; border-top: 1px solid rgba(23,35,31,.08); }
footer a { color: var(--green-2); }

@media (max-width: 800px) {
  .header-note { display: none; }
  .hero { grid-template-columns: 1fr; padding: 58px 22px; gap: 40px; }
  .result-preview { min-height: auto; transform: none; }
  .proof-strip { grid-template-columns: 1fr; margin-bottom: 80px; padding: 0 22px; }
  .proof-item { border-left: 0; border-top: 1px solid #cfd8d2; padding: 22px 4px; }
  .proof-item:last-child { border-right: 0; border-bottom: 1px solid #cfd8d2; }
  .authority-section { margin-bottom: 80px; padding: 0 22px; }
  .authority-grid { grid-template-columns: 1fr; }
  .authority-grid article { min-height: auto; }
  .authority-grid h3 { margin-top: 20px; }
  .diagnosis-shell, .result-shell { margin: 0 14px 70px; padding: 30px 20px; border-radius: 24px; }
  .form-section { padding: 22px 16px; }
  .field-grid, .result-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .compact-section { display: block; }
  .cta-panel { align-items: stretch; flex-direction: column; }
  .secondary-button { width: 100%; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; }
}

.lead-panel { margin-top: 22px; padding: 28px 30px; background: var(--mint); border: 1px solid #cfe6da; border-radius: 22px; }
.lead-panel .eyebrow { color: var(--green-2); }
.lead-panel h3 { margin: 6px 0; font-size: 23px; color: var(--green); }
.lead-panel > div > p { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.lead-form { display: grid; gap: 12px; }
.lead-form input[type="text"], .lead-form input[type="email"] { width: 100%; min-height: 52px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); font-size: 15px; color: var(--ink); }
.lead-form input:focus { outline: none; border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(46,112,89,.15); }
.lead-consent { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.lead-consent input { margin-top: 3px; accent-color: var(--green); }
.lead-consent a { color: var(--green-2); }
.lead-done { margin: 4px 0 0; padding: 16px 18px; background: var(--white); border-radius: 12px; color: var(--green); font-weight: 700; font-size: 14px; }

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