/* Warm illustrated tonari identity, with live accessible page text. */
:root{--paper:#fffdf8;--ink:#35483b;--green:#4a7154;--muted:#617365;--pink:#edbdba;--pale:#d8e8d8}
html{scroll-behavior:smooth}body{background:var(--paper);font-size:1rem;line-height:1.9;overflow-wrap:anywhere}
header{max-width:1120px;padding:28px 32px 20px;gap:18px;align-items:flex-start}
.brand{font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-size:2rem;letter-spacing:.28em;line-height:1.5}
.brand small{font-size:.875rem;letter-spacing:.06em;line-height:1.8;margin-top:6px}
header>.tiny{font-size:.875rem;letter-spacing:.08em;margin-top:12px;border-bottom:2px solid #edbdba;padding-bottom:5px}
main{max-width:1120px;padding:0 32px 64px}h1,h2,h3{overflow-wrap:anywhere}
.hero{display:grid;grid-template-columns:1fr 1.08fr;grid-template-areas:"heading art" "action art";gap:0 24px;align-items:center;padding:38px 0 62px}
.hero-heading{grid-area:heading}.hero-action{grid-area:action;align-self:start}
.hero .eyebrow{font-size:.9375rem;letter-spacing:.07em;margin:0 0 24px;display:inline-block;background:linear-gradient(transparent 55%,#f6ddd780 55%,#f6ddd780 93%,transparent 93%);padding:0 4px}
.hero h1{font-family:"Hiragino Maru Gothic ProN","Yu Gothic",sans-serif;font-size:clamp(2.25rem,4.2vw,3.375rem);font-weight:700;line-height:1.55;letter-spacing:.025em}
.hero h1 em{color:var(--green);background:linear-gradient(transparent 73%,#d8e8d8 73%,#d8e8d8 94%,transparent 94%)}
.intro{font-size:1.125rem;line-height:1.9;margin:22px 0 24px}
.art{grid-area:art;position:relative;background:transparent;border-radius:0;padding:0;margin:0;min-height:0;align-self:center;overflow:visible}
#heroMoyan{width:100%;max-width:none}.mami-scene{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;mix-blend-mode:multiply}
.art .welcome{font-family:"Hiragino Maru Gothic ProN","Yu Gothic",sans-serif;font-size:1.0625rem;line-height:1.8;margin:8px 0 0;padding:0;color:var(--green);letter-spacing:.08em}
.welcome span{color:#b56d73;margin-left:8px}.hero-description{font-size:1rem;line-height:1.9;margin-bottom:18px}
.pill{display:flex;flex-wrap:wrap;gap:4px 13px;margin:0 0 18px;font-size:.875rem;line-height:1.8;color:var(--muted)}
.pill span+span{border-left:1px solid #c7d4c4;padding-left:13px}
.primary{font-size:1.125rem;font-weight:500;padding:16px 30px;min-height:64px;border-radius:999px;background:var(--green);box-shadow:0 5px 14px #4a71541c;transition:background .15s}
.hero .primary{width:100%;max-width:410px}.start-note{font-size:.875rem;color:var(--muted);margin:10px 0 0;text-align:center;max-width:410px}
.section{margin:0 0 40px;padding-top:38px;border-top:1px solid #dfe7d9;text-align:center}.section>.eyebrow{font-size:.875rem;letter-spacing:.08em;margin-bottom:16px}
.section h2{font-family:"Hiragino Maru Gothic ProN","Yu Gothic",sans-serif;font-size:clamp(1.5rem,3vw,2rem);line-height:1.65;font-weight:500}
.section .lead{font-size:1rem;margin:18px 0 26px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));max-width:760px;gap:18px}
.card{border:1px solid #e0e6d8;border-radius:22px;padding:18px 15px 24px;background:#f3f6ed}.card:nth-child(2){background:#faf5e9;border-color:#ece4d4}.card:nth-child(3){background:#fcf1ed;border-color:#efdeda}.card:nth-child(4){background:#eff5f4;border-color:#dde8e5}
.moyan{background-image:url('/tonarimami/moyan-friendly.webp');mix-blend-mode:multiply}.card .moyan{max-width:180px}.card h3{font-size:1.125rem;font-weight:500;line-height:1.6}.card p{font-size:.9375rem;line-height:1.8;margin-top:8px}
.quote{background:#edf3e9;border-radius:22px;padding:28px 24px;margin:32px 0 22px;border:1px solid #e2e8de}.quote p{font-family:"Hiragino Maru Gothic ProN","Yu Gothic",sans-serif;font-size:1.375rem;line-height:1.8}.quote small{font-size:.875rem;line-height:1.9}
.note{font-size:.875rem;line-height:1.9}.tiny{font-size:.875rem;line-height:1.8}footer{font-size:.875rem;border-top-color:#e1e7dc;line-height:1.9;padding:24px}
.quiz{margin:24px auto;max-width:640px}.progressrow{font-size:.875rem;gap:14px;align-items:baseline}.progress{height:6px;margin-bottom:18px}.qtop{gap:18px;margin-bottom:14px}#quizMoyan{width:95px}.qtop .tiny{font-size:.9375rem;color:var(--green)}
.qbox{background:#fffefb;border:1px solid #dde5d7;border-radius:24px;padding:32px;box-shadow:0 8px 28px #35483b05}.qbox .eyebrow{font-size:.875rem;margin-bottom:14px}.qbox h2{font-size:1.4375rem;font-weight:500;line-height:1.7;margin-bottom:26px}
.choices{gap:12px}.choice{font-size:1rem;min-height:60px;border-radius:16px;background:#fffdf8;padding:15px 18px}.choice:hover{border-color:#8fa286}.choice[aria-pressed=true]{background:#e8f0e1;border-color:var(--green)}.choice[aria-pressed=true]:before{box-shadow:inset 0 0 0 4px #e8f0e1}.back{font-size:.9375rem}.nav .primary{font-size:1rem;min-height:56px;padding:12px 26px}
.result{margin:24px auto}.notice{background:#edf3e9;border:1px solid #dce7d7;border-radius:24px;padding:28px 20px;margin:18px 0 32px}.notice p{font-size:1.25rem;font-family:"Hiragino Maru Gothic ProN","Yu Gothic",sans-serif;line-height:1.8}.notice small{font-size:.875rem;line-height:1.9}
.resultintro>.eyebrow{font-size:.875rem}.resultintro h2{font-size:clamp(1.5rem,3vw,2rem);font-weight:500;margin-top:12px}.badge{font-size:.875rem}.resultintro .lead{font-size:1rem}.result-figures{gap:16px}.result-figures figcaption{font-size:.9375rem}.result-figures.single{max-width:260px}
.resultbody{border-radius:24px;padding:30px;background:#fffefb}.resultbody p{font-size:1rem;line-height:1.95}.result-detail h3{font-size:1.125rem}.resultbody .note{font-size:.875rem}.type-question{background:#f7e9e480;border-radius:16px;padding:20px;font-family:inherit}.subresult{font-size:.9375rem;line-height:1.9}.resultbody .reflection-title{font-size:.875rem!important}.resultbody #reflection{font-size:1.25rem;line-height:1.9}
.cta{background:#eef3e9;border:1px solid #dfe7d9;padding:32px 26px;border-radius:26px}.cta h2{font-size:clamp(1.4375rem,3vw,1.875rem);line-height:1.7;font-weight:500}.cta p{font-size:1rem;line-height:1.9}.cta .tiny,.cta .note{font-size:.875rem}.secondary{font-size:1rem;padding:12px 20px;background:#fffdf8;min-height:52px}.status{font-size:.875rem}.replay{font-size:.9375rem;padding:12px}.reflection-title{letter-spacing:.1em}
@media(max-width:700px){
 header{padding:20px 22px 14px;gap:12px}.brand{font-size:1.875rem}.brand small{font-size:.8125rem}header>.tiny{font-size:.8125rem;letter-spacing:0;margin-top:10px}
 main{padding:0 22px 36px}.hero{grid-template-columns:minmax(0,1fr);grid-template-areas:"heading" "art" "action";padding:22px 0 38px;gap:0;text-align:center}
 .hero .eyebrow{font-size:.875rem;letter-spacing:.03em;margin-bottom:18px}.hero h1{font-size:clamp(1.875rem,8.2vw,3.125rem);line-height:1.5;letter-spacing:.025em}.intro{font-size:1rem;line-height:1.9;margin:18px 0 6px}
 .art{margin:0 -8px 18px;padding:0;min-height:0}.art .welcome{margin:-2px 0 0;font-size:.9375rem}.hero-description{font-size:.9375rem;line-height:1.85;margin-bottom:14px}.hero-description br{display:none}.hero-action{width:100%}.pill{justify-content:center;gap:3px 10px;font-size:.8125rem;margin-bottom:16px}.pill span+span{padding-left:10px}.hero .primary{font-size:1.1875rem;min-height:64px;max-width:none}.start-note{font-size:.8125rem;max-width:none}
 .section{padding-top:28px}.section>.eyebrow{font-size:.875rem;letter-spacing:.04em}.section h2{font-size:1.4375rem}.section .lead{font-size:.9375rem}.cards{gap:12px}.card{padding:10px 9px 17px;border-radius:18px}.card h3{font-size:.9375rem}.card p{font-size:.875rem}.card .moyan{max-width:165px}.quote{padding:24px 18px}.quote p{font-size:1.25rem}
 .quiz{margin:16px auto}.progressrow{font-size:.8125rem;gap:12px}.qtop .tiny{font-size:.875rem}#quizMoyan{width:80px}.qbox{padding:24px 18px}.qbox h2{font-size:1.25rem}.choice{font-size:1rem}.back{font-size:.875rem;padding:12px 4px}.nav{gap:12px}.nav .primary{font-size:1rem;padding:13px 24px;min-width:118px}
 .resultbody{padding:24px 20px}.notice p{font-size:1.125rem}.resultintro h2{font-size:1.5rem}.resultbody #reflection{font-size:1.125rem}.cta{padding:28px 18px}.cta h2{font-size:1.4375rem}.cta .primary{font-size:1rem;width:100%}.secondary{font-size:.9375rem;max-width:100%}
}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.image-hero{position:relative;max-width:680px;margin:0 auto 38px}.image-hero>img{display:block;width:100%;height:auto}
.image-start{position:absolute;left:14%;top:83.6%;width:72%;height:8.2%;min-height:44px;border:0;background:transparent;border-radius:999px;padding:0}
.image-start:hover{background:#ffffff12}.image-start:focus-visible{outline:3px solid #35483b;outline-offset:5px;background:#ffffff12}
body:has(#home:not(.hidden)) header{display:none}
body:has(#home:not(.hidden)) main{padding-top:0}
.answer-note{font-size:.875rem;color:var(--muted);text-align:center;margin-top:18px}
.cta .instagram-share{display:block;width:100%;max-width:380px;margin:8px auto 20px;padding:14px 20px;line-height:1.8;text-decoration:none;border-color:#839c81}
.instagram-share:hover{background:#e4ecde}
.choice:not(.selected){background:#fffdf8;color:var(--ink);border-color:#dae3d5}
.choice:not(.selected):before{background:transparent;box-shadow:none}
.choice.selected{background:#d8e8d8;color:#263f2e;border-color:#4a7154}
.choice.selected:before{background:#4a7154;box-shadow:inset 0 0 0 4px #d8e8d8}
.choice:disabled{opacity:1;cursor:default}
@media(hover:hover) and (pointer:fine){.choice:not(.selected):hover{border-color:#8fa286}}
@media(max-width:700px){body:has(#home:not(.hidden)) main{padding-left:0;padding-right:0}#home>.section,#home>.quote,#home>.note{margin-left:22px;margin-right:22px}.image-hero{margin-bottom:30px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
