:root {
  --forest: #254b43;
  --deep: #173832;
  --sage: #a9b9a1;
  --cream: #f6f0e5;
  --sand: #e8dcc8;
  --sun: #f2c86b;
  --ink: #24332f;
  --paper: #fffdf8;
  --line: rgba(37, 75, 67, .23);
  --serif: "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--sans); line-height: 1.9; }
button, input { font: inherit; }
.skip-link { position: fixed; left: -9999px; top: 1rem; z-index: 20; padding: .7rem 1rem; color: white; background: var(--deep); }
.skip-link:focus { left: 1rem; }

.site-head { min-height: 82px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: .8rem clamp(1.2rem, 5vw, 5.5rem); background: var(--paper); border-bottom: 1px solid var(--line); }
.brand { width: fit-content; display: inline-flex; align-items: center; gap: .75rem; color: inherit; text-decoration: none; font-family: var(--serif); font-size: 1.05rem; font-weight: 700; line-height: 1.1; letter-spacing: .08em; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50% 50% 45% 55%; color: var(--paper); background: var(--forest); font-size: 1.1rem; }
.brand small { display: block; margin-top: .4rem; color: #718078; font-family: var(--sans); font-size: .58rem; letter-spacing: .08em; }
.site-head > p { margin: 0; color: #697870; font-family: var(--serif); font-size: .83rem; letter-spacing: .12em; }
.head-link { justify-self: end; padding: .68rem 1rem; color: var(--forest); border: 1px solid var(--forest); text-decoration: none; font-size: .76rem; font-weight: 700; }

.hero { min-height: 690px; display: grid; grid-template-columns: 56% 44%; background: var(--paper); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(4.5rem, 9vw, 8rem) clamp(1.4rem, 7vw, 7.5rem); }
.eyebrow, .section-no { margin: 0 0 1.3rem; color: #9b6c1c; font-size: .63rem; font-weight: 800; letter-spacing: .24em; }
h1, h2, h3 { font-family: var(--serif); }
h1 { margin: 0; font-size: clamp(3rem, 5.7vw, 6.4rem); font-weight: 500; line-height: 1.3; letter-spacing: -.06em; }
h1 em { position: relative; color: var(--forest); font-style: normal; }
h1 em::after { content: ""; position: absolute; height: .28em; left: -.08em; right: -.08em; bottom: .02em; z-index: -1; background: var(--sun); opacity: .72; }
.hero-lead { max-width: 40rem; margin: 2rem 0; font-size: 1rem; }
.primary { min-width: min(100%, 330px); display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; color: white; background: var(--forest); text-decoration: none; font-weight: 700; }
.primary i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.16); font-style: normal; }
.hero-notes { display: flex; gap: 1.5rem; margin: 1.4rem 0 0; padding: 0; color: #65736c; list-style: none; font-size: .68rem; }
.hero-notes li::before { content: "○"; margin-right: .35rem; color: #9b6c1c; }

.hero-art { position: relative; min-height: 690px; overflow: hidden; background: var(--sage); }
.window { position: absolute; width: 58%; height: 62%; left: 20%; top: 12%; background: #dce5df; border: 18px solid var(--paper); box-shadow: 0 22px 40px rgba(23,56,50,.12); }
.window::before, .window::after { content: ""; position: absolute; background: var(--paper); }
.window::before { width: 12px; top: 0; bottom: 0; left: calc(50% - 6px); }
.window::after { height: 12px; left: 0; right: 0; top: calc(50% - 6px); }
.sun { position: absolute; width: 110px; height: 110px; right: 9%; top: 9%; border-radius: 50%; background: var(--sun); }
.shelf { position: absolute; width: 72%; height: 20px; left: 10%; bottom: 19%; background: var(--deep); box-shadow: 0 13px 0 rgba(23,56,50,.22); }
.pot { position: absolute; width: 90px; height: 92px; left: 24%; bottom: 22%; background: #b66e4a; clip-path: polygon(8% 0, 92% 0, 78% 100%, 22% 100%); }
.pot i, .pot b { position: absolute; width: 90px; height: 145px; bottom: 65px; border-radius: 100% 0 100% 0; background: var(--forest); transform-origin: bottom center; }
.pot i { left: -58px; transform: rotate(-23deg); }
.pot b { right: -58px; transform: scaleX(-1) rotate(-23deg); }
.hero-art p { position: absolute; right: 8%; bottom: 6%; margin: 0; padding: 1rem 1.2rem; color: white; background: var(--deep); }
.hero-art p small, .hero-art p strong { display: block; }
.hero-art p small { color: var(--sun); font-size: .58rem; letter-spacing: .14em; }
.hero-art p strong { font-family: var(--serif); font-size: 1.2rem; }

.wrap { padding: clamp(5rem, 10vw, 9rem) clamp(1.4rem, 7vw, 8rem); }
.message { display: grid; grid-template-columns: .45fr .8fr 1.2fr; gap: clamp(2rem, 6vw, 7rem); background: var(--cream); }
.message h2, .survey-intro h2, .faq h2 { margin: 0; font-size: clamp(2.5rem, 4.5vw, 5rem); font-weight: 500; line-height: 1.35; letter-spacing: -.05em; }
.message-copy p { margin: 0 0 1.2rem; }
.three-points { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 clamp(1.4rem, 7vw, 8rem) clamp(5rem, 10vw, 9rem); border-top: 1px solid var(--forest); border-bottom: 1px solid var(--forest); }
.three-points article { min-height: 220px; padding: 2rem; border-right: 1px solid var(--line); }
.three-points article:last-child { border-right: 0; }
.three-points span { color: #9b6c1c; font-size: .68rem; letter-spacing: .16em; }
.three-points h3 { margin: 2rem 0 .5rem; font-size: 1.35rem; }
.three-points p { margin: 0; color: #637169; font-size: .83rem; }

.survey-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 7vw, 8rem); padding: clamp(5rem, 10vw, 9rem) clamp(1.4rem, 7vw, 8rem); background: var(--forest); }
.survey-intro { color: white; }
.survey-intro .section-no { color: var(--sun); }
.survey-intro > p:not(.section-no) { max-width: 29rem; color: #d9e3de; }
.meter { margin-top: 3rem; }
.meter span { display: block; width: 100%; height: 2px; background: linear-gradient(90deg, var(--sun) 38%, rgba(255,255,255,.23) 38%); }
.meter small { display: block; margin-top: .65rem; color: #b9c9c2; font-size: .57rem; letter-spacing: .12em; }
.survey-card { padding: clamp(1.4rem, 4vw, 3rem); background: var(--paper); box-shadow: 18px 18px 0 var(--sun); }
.card-title { display: flex; justify-content: space-between; padding-bottom: 1rem; border-bottom: 1px solid var(--forest); font-size: .63rem; letter-spacing: .16em; }
fieldset { margin: 2.2rem 0 0; padding: 0; border: 0; }
legend { margin-bottom: 1rem; font-family: var(--serif); font-size: 1.05rem; font-weight: 700; }
legend span { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: .6rem; border-radius: 50%; color: white; background: var(--forest); font-family: var(--sans); font-size: .67rem; }
.choice-grid, .choice-stack { display: grid; gap: .65rem; }
.choice-grid { grid-template-columns: repeat(3, 1fr); }
.choice-stack { grid-template-columns: 1fr 1fr; }
label input { position: absolute; opacity: 0; }
label > span { display: block; min-height: 96px; padding: 1rem; cursor: pointer; border: 1px solid var(--line); background: white; transition: transform .16s ease, background .16s ease; }
.choice-time label > span { text-align: center; }
.choice-time i { display: block; color: #9b6c1c; font-family: var(--serif); font-size: 1.5rem; font-style: normal; }
label b, label small { display: block; }
label b { font-family: var(--serif); }
label small { margin-top: .22rem; color: #738078; font-size: .68rem; }
.choice-stack label > span { min-height: 86px; }
label input:checked + span { border-color: var(--forest); background: #edf0e8; box-shadow: inset 5px 0 0 var(--sun); transform: translateY(-2px); }
label input:focus-visible + span, button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.form-error { min-height: 1.7rem; margin: 1rem 0 0; color: #9a392f; font-size: .78rem; font-weight: 700; }
.submit { width: 100%; min-height: 62px; display: flex; justify-content: space-between; align-items: center; padding: .9rem 1.2rem; border: 0; color: white; background: var(--deep); cursor: pointer; font-weight: 700; }
.submit i { font-size: 1.25rem; font-style: normal; }
.privacy { margin: .85rem 0 0; text-align: center; color: #758179; font-size: .68rem; }
.result { min-height: 650px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.result[hidden] { display: none; }
.result-kicker { color: #9b6c1c; font-size: .6rem; font-weight: 800; letter-spacing: .2em; }
.result-icon { width: 76px; height: 76px; display: grid; place-items: center; margin: 1rem; border-radius: 50%; color: var(--forest); background: var(--sun); font-size: 2rem; }
.result h3 { margin: .6rem 0; font-size: clamp(2rem, 3.8vw, 3.5rem); font-weight: 500; }
.result > p:not(.result-kicker,.privacy) { max-width: 35rem; }
.result-tip { width: 100%; margin: 1.5rem 0; padding: 1.2rem; text-align: left; background: #edf0e8; border-left: 5px solid var(--sun); }
.result-tip small, .result-tip strong { display: block; }
.result-tip small { color: #8a641f; font-size: .64rem; font-weight: 800; letter-spacing: .13em; }
.result-tip strong { margin-top: .35rem; font-family: var(--serif); }
#retry { padding: .5rem 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; cursor: pointer; }

.faq { background: var(--cream); }
.faq h2 { margin-bottom: 2.5rem; }
.faq-items { margin-left: min(24vw, 320px); border-top: 1px solid var(--forest); }
details { border-bottom: 1px solid var(--forest); }
summary { list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.4rem 0; cursor: pointer; font-family: var(--serif); font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary span { font-family: var(--sans); font-size: 1.3rem; transition: transform .2s ease; }
details[open] summary span { transform: rotate(45deg); }
details p { margin: 0; padding: 0 3rem 1.4rem 0; color: #647169; }

footer { min-height: 180px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: 2rem clamp(1.4rem, 7vw, 8rem); color: white; background: var(--deep); }
footer p { font-family: var(--serif); font-size: .86rem; letter-spacing: .08em; }
footer > small { justify-self: end; color: #aebdb6; font-size: .58rem; letter-spacing: .12em; }
footer .brand small { color: #aebdb6; }
footer .brand-mark { color: var(--deep); background: var(--sun); }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { min-height: 580px; }
  .message { grid-template-columns: 1fr 1fr; }
  .message .section-no { grid-column: 1 / -1; }
  .survey-section { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-head { grid-template-columns: 1fr auto; }
  .site-head > p { display: none; }
  .hero-copy { min-height: 600px; }
  .hero-art { min-height: 500px; }
  .message { grid-template-columns: 1fr; }
  .three-points, .choice-grid, .choice-stack { grid-template-columns: 1fr; }
  .three-points article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .three-points article:last-child { border-bottom: 0; }
  .faq-items { margin-left: 0; }
  footer { grid-template-columns: 1fr; }
  footer > small { justify-self: start; }
}

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