:root {
  --ink: #382b2a;
  --paper: #fffdf8;
  --cream: #fff3dc;
  --coral: #f26a45;
  --coral-dark: #c94d30;
  --blue: #347fc4;
  --blue-pale: #e8f4ff;
  --green: #45a56b;
  --yellow: #f3d45f;
  --line: rgba(56, 43, 42, 0.14);
  --shadow: 0 18px 45px rgba(88, 57, 41, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible { outline: 4px solid rgba(52,127,196,.3); outline-offset: 3px; }
.site-shell { min-height: 100vh; overflow: hidden; }
.site-header { width: min(1180px, calc(100% - 40px)); height: 86px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 10; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 43px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--ink); transform: rotate(-8deg); position: relative; }
.brand-mark::before, .brand-mark::after, .brand-mark span { content: ""; position: absolute; background: var(--yellow); }
.brand-mark::before { width: 20px; height: 3px; border-radius: 3px; transform: rotate(45deg); }
.brand-mark::after { width: 20px; height: 3px; border-radius: 3px; transform: rotate(-45deg); }
.brand-mark span { width: 5px; height: 5px; border-radius: 50%; background: var(--paper); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.08; }
.brand-copy strong { font-size: 14px; letter-spacing: .08em; }
.brand-copy small { font-size: 10px; margin-top: 4px; font-weight: 700; opacity: .62; }
.header-note { border: 1px solid var(--line); border-radius: 999px; padding: 9px 15px; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.68); }

.hero { width: min(1180px, calc(100% - 40px)); min-height: 680px; margin: 0 auto; padding: 55px 0 80px; display: grid; grid-template-columns: 1.02fr .88fr; gap: clamp(45px, 7vw, 100px); align-items: center; position: relative; }
.hero::before { content: ""; position: absolute; width: 510px; height: 510px; right: -120px; top: 20px; border-radius: 44% 56% 61% 39% / 55% 38% 62% 45%; background: var(--cream); z-index: -1; animation: blob 12s ease-in-out infinite alternate; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 9px 15px; border: 1px solid rgba(242,106,69,.35); border-radius: 999px; color: var(--coral-dark); font-size: 13px; font-weight: 800; background: #fff7f1; }
.eyebrow span { color: var(--coral); }
.hero h1 { max-width: 650px; margin: 0; font-size: clamp(38px, 5vw, 64px); line-height: 1.34; letter-spacing: -.045em; font-weight: 900; }
.hero h1 span { color: var(--coral); display: inline-block; position: relative; z-index: 0; }
.hero h1 span::after { content: ""; height: 12px; border-radius: 8px; background: var(--yellow); position: absolute; left: -4px; right: -4px; bottom: 8px; z-index: -1; opacity: .68; transform: rotate(-1.5deg); }
.hero-lead { max-width: 590px; margin: 24px 0 0; font-size: 16px; line-height: 2; font-weight: 600; color: rgba(56,43,42,.76); }
.trust-list { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 13px; font-weight: 800; }
.trust-list li { display: flex; align-items: center; gap: 7px; }
.trust-list i { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-style: normal; font-size: 12px; }

.start-card { position: relative; padding: 44px 40px 30px; border: 2px solid var(--ink); border-radius: 25px; background: rgba(255,255,255,.96); box-shadow: 9px 10px 0 var(--ink), var(--shadow); transform: rotate(1deg); }
.paper-tab { position: absolute; top: -18px; left: 36px; padding: 7px 18px; border: 2px solid var(--ink); border-radius: 8px 8px 3px 3px; background: var(--yellow); font-size: 12px; letter-spacing: .16em; font-weight: 900; transform: rotate(-2deg); }
.card-kicker { margin: 0 0 7px; color: var(--coral-dark); font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.start-card h2 { margin: 0; font-size: clamp(25px, 3vw, 35px); line-height: 1.35; letter-spacing: -.035em; }
.card-help { margin: 8px 0 23px; font-size: 12px; font-weight: 600; opacity: .6; }
.grade-grid { display: grid; gap: 12px; }
.grade-button { min-height: 74px; padding: 13px 17px 13px 21px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 2px solid var(--ink); border-radius: 999px; color: var(--ink); font-size: 18px; font-weight: 900; box-shadow: 0 5px 0 rgba(56,43,42,.22); transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.grade-button span { display: flex; align-items: center; gap: 14px; }
.grade-button small { min-width: 76px; font-size: 10px; letter-spacing: .02em; text-align: center; padding: 7px 9px; background: rgba(255,255,255,.75); border-radius: 999px; }
.grade-button b { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--ink); font-size: 18px; transition: transform .2s ease; }
.grade-button:hover { transform: translateY(3px); box-shadow: 0 2px 0 rgba(56,43,42,.18); filter: saturate(1.08); }
.grade-button:hover b { transform: translateX(3px); }
.grade-button:focus-visible { outline: 4px solid rgba(52,127,196,.28); outline-offset: 3px; }
.grade-one { background: #ffd8c9; }
.grade-two { background: #dceeff; }
.grade-three { background: #dbf3df; }
.privacy-note { margin: 20px 0 0; text-align: center; font-size: 11px; font-weight: 700; opacity: .58; }
.privacy-note span { color: var(--green); font-size: 8px; margin-right: 5px; }
.card-doodle { position: absolute; pointer-events: none; }
.compass-doodle { width: 56px; height: 56px; right: -22px; top: -24px; border: 2px solid var(--ink); border-radius: 50%; background: var(--blue-pale); transform: rotate(8deg); }
.compass-doodle::before { content: ""; position: absolute; width: 4px; height: 38px; left: 24px; top: 7px; border-radius: 3px; background: var(--coral); transform: rotate(27deg); }
.compass-doodle span { position: absolute; width: 7px; height: 7px; left: 22px; top: 23px; border: 2px solid var(--ink); border-radius: 50%; background: white; }
.float-card { position: absolute; z-index: -1; border: 2px solid var(--ink); box-shadow: 4px 5px 0 var(--ink); font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.float-card-a { left: -26px; bottom: 55px; width: 102px; height: 120px; padding: 15px; border-radius: 10px; background: var(--blue-pale); transform: rotate(-10deg); }
.float-card-a span { display: block; color: var(--blue); font-size: 8px; }
.float-card-a b { display: block; margin-top: 3px; line-height: 1.2; }
.float-card-a i { display: block; width: 46px; height: 35px; margin: 17px auto 0; border: 2px solid var(--ink); border-radius: 3px 3px 10px 10px; background: var(--yellow); }
.float-card-b { right: -38px; bottom: 62px; width: 122px; height: 76px; display: flex; align-items: center; gap: 9px; padding: 12px; border-radius: 14px; background: #fff; transform: rotate(8deg); }
.float-card-b i { width: 31px; height: 31px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; font-style: normal; color: white; background: var(--coral); font-size: 17px; }

.quick-flow { padding: 90px max(20px, calc((100vw - 1180px) / 2)) 110px; text-align: center; background: #eef7ff; position: relative; }
.quick-flow::before { content: ""; position: absolute; inset: -22px 0 auto; height: 25px; background: var(--paper); clip-path: polygon(0 0, 50% 85%, 100% 0, 100% 100%, 0 100%); }
.section-label { margin: 0 0 10px; color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .18em; }
.quick-flow h2 { margin: 0; font-size: clamp(27px, 4vw, 42px); letter-spacing: -.035em; }
.flow-grid { max-width: 960px; margin: 45px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.flow-grid article { min-height: 210px; padding: 28px 22px; border: 2px solid var(--ink); border-radius: 18px; background: white; box-shadow: 5px 6px 0 var(--ink); }
.flow-grid span { width: 46px; height: 46px; display: grid; place-items: center; margin: 0 auto 17px; border-radius: 50%; background: var(--yellow); font-size: 13px; font-weight: 900; }
.flow-grid h3 { margin: 0; font-size: 19px; }
.flow-grid p { margin: 9px 0 0; color: rgba(56,43,42,.66); font-size: 13px; line-height: 1.7; font-weight: 600; }
@keyframes blob { to { transform: rotate(8deg) scale(1.04); border-radius: 55% 45% 38% 62% / 44% 54% 46% 56%; } }

/* Landing — explanation */
.section-heading { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.section-heading.left-align { max-width: none; margin-left: 0; text-align: left; }
.section-heading h2 { margin: 0; font-size: clamp(28px, 4.2vw, 47px); line-height: 1.38; letter-spacing: -.04em; font-weight: 900; }
.section-heading > p:last-child { margin: 15px auto 0; color: rgba(56,43,42,.68); font-size: 15px; line-height: 1.9; font-weight: 600; }

.why-section { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 120px 0; }
.why-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 8vw, 110px); align-items: center; }
.why-visual { min-height: 420px; position: relative; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 46% 54% 44% 56% / 54% 42% 58% 46%; background: var(--cream); box-shadow: 10px 12px 0 var(--ink); }
.why-visual > b { width: 145px; height: 145px; display: grid; place-items: center; border: 3px solid var(--ink); border-radius: 50%; background: white; color: var(--coral); font-size: 42px; transform: rotate(-6deg); }
.why-visual > span, .why-visual > strong, .why-visual > i { position: absolute; display: grid; place-items: center; border: 2px solid var(--ink); box-shadow: 4px 5px 0 var(--ink); font-style: normal; }
.why-visual > span { width: 64px; height: 64px; top: 43px; right: 38px; border-radius: 50%; background: var(--blue-pale); font-size: 28px; }
.why-visual > strong { width: 82px; height: 82px; left: 30px; bottom: 42px; border-radius: 18px; background: var(--yellow); font-size: 32px; transform: rotate(8deg); }
.why-visual > i { width: 58px; height: 38px; right: 35px; bottom: 53px; border-radius: 999px; background: #dbf3df; font-weight: 900; }
.why-copy { display: grid; gap: 28px; }
.why-copy article { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; }
.why-copy article > span { width: 48px; height: 48px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); box-shadow: 3px 3px 0 var(--ink); font-size: 13px; font-weight: 900; }
.why-copy h3 { margin: 0; font-size: 21px; letter-spacing: -.02em; }
.why-copy p { margin: 7px 0 0; color: rgba(56,43,42,.68); font-size: 14px; line-height: 1.85; font-weight: 600; }

.mission-preview { padding: 115px max(20px, calc((100vw - 1120px) / 2)); background: #fff4e8; position: relative; }
.mission-preview::before { content: ""; position: absolute; inset: -28px 0 auto; height: 30px; background: var(--paper); clip-path: polygon(0 0, 33% 100%, 66% 15%, 100% 100%, 100% 100%, 0 100%); }
.preview-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.preview-columns > article { display: flex; flex-direction: column; padding: 28px; border: 2px solid var(--ink); border-radius: 20px; background: white; box-shadow: 6px 7px 0 var(--ink); }
.preview-columns header > span { display: inline-flex; padding: 6px 11px; border-radius: 999px; background: var(--preview-pale); color: var(--preview-color); font-size: 11px; font-weight: 900; }
.preview-columns h3 { margin: 13px 0 0; font-size: 24px; }
.preview-columns header p { margin: 5px 0 0; color: rgba(56,43,42,.6); font-size: 12px; font-weight: 700; }
.preview-columns ul { margin: 25px 0 28px; padding: 0; list-style: none; display: grid; gap: 9px; }
.preview-columns li { position: relative; padding: 11px 12px 11px 34px; border-radius: 10px; background: var(--preview-pale); font-size: 13px; font-weight: 800; }
.preview-columns li::before { content: "✓"; position: absolute; left: 12px; color: var(--preview-color); }
.preview-columns button { margin-top: auto; min-height: 49px; padding: 10px 15px; border: 2px solid var(--ink); border-radius: 999px; background: var(--preview-color); color: white; cursor: pointer; font-size: 13px; font-weight: 900; box-shadow: 0 4px 0 var(--ink); transition: transform .2s, box-shadow .2s; }
.preview-columns button:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }

.final-cta { min-height: 500px; padding: 105px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; overflow: hidden; text-align: center; background: var(--ink); color: white; }
.final-cta > p { margin: 0 0 12px; color: var(--yellow); font-size: 13px; font-weight: 900; letter-spacing: .08em; }
.final-cta h2 { margin: 0 0 35px; font-size: clamp(35px, 6vw, 61px); line-height: 1.35; letter-spacing: -.04em; }
.final-cta .primary-pill { background: var(--coral); color: white; border-color: white; }
.cta-doodle > * { position: absolute; display: grid; place-items: center; border: 2px solid white; }
.cta-doodle i { width: 140px; height: 140px; left: 8vw; top: 80px; border-radius: 50%; background: var(--blue); opacity: .9; }
.cta-doodle b { width: 70px; height: 70px; right: 12vw; top: 90px; border-radius: 16px; color: var(--ink); background: var(--yellow); transform: rotate(10deg); font-size: 30px; }
.cta-doodle span { width: 110px; height: 55px; right: 7vw; bottom: 50px; border-radius: 999px; background: var(--green); transform: rotate(-8deg); }

/* Quiz */
.quiz-shell { min-height: 100vh; padding-bottom: 40px; background: linear-gradient(160deg, var(--route-pale) 0 58%, var(--paper) 58%); }
.quiz-header, .result-header { width: min(1080px, calc(100% - 40px)); height: 78px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.brand-button, .result-header > button:first-child { padding: 0; background: none; cursor: pointer; }
.brand-compact .brand-mark { width: 38px; }
.brand-compact .brand-copy strong { font-size: 12px; }
.restart-link { min-height: 42px; padding: 8px 16px; border: 1px solid rgba(56,43,42,.2); border-radius: 999px; background: rgba(255,255,255,.72); cursor: pointer; font-size: 12px; font-weight: 800; }
.progress-wrap { width: min(760px, calc(100% - 40px)); margin: 24px auto 0; }
.progress-meta { margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; font-weight: 800; }
.progress-meta span { color: var(--route-color); }
.progress-track { height: 9px; overflow: hidden; border: 1px solid rgba(56,43,42,.25); border-radius: 999px; background: white; }
.progress-track > span { display: block; height: 100%; border-radius: inherit; background: var(--route-color); transition: width .35s ease; }
.question-stage { width: min(820px, calc(100% - 40px)); margin: 34px auto 0; transition: opacity .18s ease, transform .18s ease; }
.question-stage.is-leaving { opacity: .45; transform: translateY(5px); }
.back-link { min-height: 42px; margin: 0 0 10px; padding: 8px 10px; background: none; cursor: pointer; font-size: 12px; font-weight: 800; }
.question-card { position: relative; padding: clamp(29px, 5vw, 52px); border: 2px solid var(--ink); border-radius: 26px; background: rgba(255,255,255,.96); box-shadow: 8px 9px 0 var(--ink), var(--shadow); }
.question-kicker { margin: 0 0 10px; color: var(--route-color); font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.question-card h1 { margin: 0; font-size: clamp(27px, 4.5vw, 41px); line-height: 1.42; letter-spacing: -.035em; font-weight: 900; outline: none; }
.question-help { margin: 12px 0 30px; color: rgba(56,43,42,.62); font-size: 13px; line-height: 1.75; font-weight: 600; }
.answer-grid { display: grid; gap: 13px; }
.answer-button { min-height: 70px; width: 100%; padding: 13px 16px; display: grid; grid-template-columns: 42px 1fr 34px; gap: 14px; align-items: center; border: 2px solid var(--ink); border-radius: 15px; background: white; text-align: left; cursor: pointer; box-shadow: 0 4px 0 rgba(56,43,42,.23); transition: transform .18s, background .18s, box-shadow .18s; }
.answer-button:hover { background: var(--route-pale); transform: translateY(2px); box-shadow: 0 2px 0 rgba(56,43,42,.23); }
.answer-index { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--route-pale); color: var(--route-color); font-size: 13px; font-weight: 900; }
.answer-text { display: flex; flex-direction: column; gap: 4px; }
.answer-text strong { font-size: 15px; line-height: 1.55; }
.answer-text small { color: rgba(56,43,42,.56); font-size: 11px; font-weight: 600; }
.answer-button > b { font-size: 17px; transition: transform .18s; }
.answer-button:hover > b { transform: translateX(3px); }
.mission-options .answer-button { min-height: 82px; }
.answer-button.is-selected { background: var(--route-pale); box-shadow: inset 0 0 0 2px var(--route-color), 0 3px 0 var(--ink); }
.answer-button.is-selected .answer-index { color: white; background: var(--route-color); }
.uncertain-row { margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.uncertain-row button { min-height: 48px; border: 1px dashed rgba(56,43,42,.36); border-radius: 12px; background: #faf8f2; cursor: pointer; font-size: 12px; font-weight: 800; }
.primary-pill { min-height: 60px; padding: 13px 22px 13px 29px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 2px solid var(--ink); border-radius: 999px; background: var(--coral); color: white; box-shadow: 0 6px 0 var(--ink); cursor: pointer; font-size: 15px; font-weight: 900; transition: transform .2s, box-shadow .2s; }
.pair-options + .primary-pill { width: 100%; margin-top: 24px; }
.primary-pill span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); }
.primary-pill:hover:not(:disabled) { transform: translateY(3px); box-shadow: 0 3px 0 var(--ink); }
.primary-pill:disabled { opacity: .38; cursor: not-allowed; }
.quiz-footnote { margin: 27px 20px 0; text-align: center; color: rgba(56,43,42,.52); font-size: 11px; font-weight: 700; }

/* Results */
.result-shell { min-height: 100vh; background: var(--paper); }
.result-header { position: relative; z-index: 5; }
.result-header > button { background: none; cursor: pointer; }
.result-hero { min-height: 510px; padding: 92px max(20px, calc((100vw - 940px) / 2)) 108px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; background: var(--route-pale); }
.result-hero::before { content: ""; position: absolute; width: 420px; height: 420px; right: -70px; top: 15px; border: 2px solid var(--ink); border-radius: 48% 52% 39% 61% / 59% 36% 64% 41%; background: color-mix(in srgb, var(--route-color) 18%, white); opacity: .6; transform: rotate(11deg); }
.result-hero::after { content: ""; position: absolute; left: -34px; bottom: 58px; width: 130px; height: 62px; border: 2px solid var(--ink); border-radius: 999px; background: var(--yellow); transform: rotate(-9deg); }
.result-badge { width: fit-content; margin-bottom: 23px; padding: 8px 14px; border: 1px solid var(--route-color); border-radius: 999px; color: var(--route-color); background: rgba(255,255,255,.72); font-size: 12px; font-weight: 900; }
.result-kicker { margin: 0 0 9px; color: var(--route-color); font-size: 12px; font-weight: 900; letter-spacing: .18em; }
.result-hero h1 { max-width: 850px; margin: 0; position: relative; z-index: 1; font-size: clamp(38px, 6.5vw, 68px); line-height: 1.25; letter-spacing: -.045em; font-weight: 900; }
.result-hero > p:last-of-type { max-width: 780px; margin: 25px 0 0; position: relative; z-index: 1; font-size: 16px; line-height: 2; font-weight: 650; }
.result-stamp { position: absolute; right: max(35px, calc((100vw - 1120px) / 2)); bottom: 55px; width: 118px; height: 118px; display: grid; place-items: center; border: 3px double var(--ink); border-radius: 50%; background: rgba(255,255,255,.8); transform: rotate(8deg); }
.result-stamp span { margin-top: 25px; font-size: 9px; letter-spacing: .14em; font-weight: 900; }
.result-stamp b { margin-bottom: 26px; color: var(--route-color); font-size: 19px; }
.result-content { width: min(940px, calc(100% - 40px)); margin: 0 auto; padding: 65px 0 110px; }
.reason-card { margin: -105px 0 65px; padding: 24px 28px; display: grid; grid-template-columns: 48px 1fr; gap: 17px; position: relative; z-index: 3; border: 2px solid var(--ink); border-radius: 17px; background: white; box-shadow: 5px 6px 0 var(--ink); }
.reason-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); font-size: 20px; font-weight: 900; }
.reason-card h3 { margin: 0; font-size: 15px; }
.reason-card p { margin: 7px 0 0; color: rgba(56,43,42,.68); font-size: 12px; line-height: 1.75; font-weight: 600; }
.preference-chips { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 7px; }
.preference-chips span { padding: 6px 9px; border-radius: 999px; background: var(--route-pale); color: var(--route-color); font-size: 10px; font-weight: 900; }
.today-section { margin: 0 0 56px; }
.today-section .section-heading { margin-bottom: 28px; }
.action-checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 13px; }
.action-checklist li { border: 2px solid var(--ink); border-radius: 16px; background: white; box-shadow: 0 4px 0 rgba(56,43,42,.18); transition: opacity .2s, background .2s; }
.action-checklist label { min-height: 82px; padding: 17px 19px; display: grid; grid-template-columns: 36px 1fr; gap: 15px; align-items: center; cursor: pointer; }
.action-checklist input { position: absolute; opacity: 0; pointer-events: none; }
.fake-check { width: 34px; height: 34px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; color: transparent; background: white; font-size: 15px; font-weight: 900; }
.action-copy { display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.7; font-weight: 750; }
.action-copy small { color: var(--route-color); font-size: 10px; letter-spacing: .08em; font-weight: 900; }
.action-checklist li.is-checked { background: #f2f3ed; opacity: .68; }
.action-checklist li.is-checked .fake-check { color: white; background: var(--green); }
.action-checklist li.is-checked .action-copy { text-decoration: line-through; }
.detail-stack { display: grid; gap: 15px; }
.recommend-card { padding: 28px 31px; border: 2px solid var(--ink); border-radius: 18px; background: var(--route-pale); box-shadow: 5px 6px 0 var(--ink); }
.mini-label { margin: 0 0 8px !important; color: var(--route-color) !important; font-size: 11px !important; letter-spacing: .11em; font-weight: 900 !important; }
.recommend-card p:last-child { margin: 0; font-size: 14px; line-height: 1.9; font-weight: 700; }
.detail-accordion { overflow: hidden; border: 2px solid var(--ink); border-radius: 16px; background: white; }
.detail-accordion summary { min-height: 69px; padding: 17px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 900; }
.detail-accordion summary::-webkit-details-marker { display: none; }
.detail-accordion summary b { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; background: var(--route-pale); color: var(--route-color); transition: transform .2s; }
.detail-accordion[open] summary b { transform: rotate(45deg); }
.detail-body { padding: 4px 22px 24px; }
.detail-body .action-checklist li { border-width: 1px; box-shadow: none; }
.detail-body .action-checklist label { min-height: 66px; padding: 12px 14px; }
.question-list { display: grid; gap: 10px; }
.question-list > div { padding: 16px; display: grid; grid-template-columns: 35px 1fr; gap: 11px; border-radius: 12px; background: #f7f5f0; }
.question-list span { color: var(--route-color); font-size: 12px; font-weight: 900; }
.question-list p { margin: 0; font-size: 13px; line-height: 1.7; font-weight: 700; }
.compare-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.compare-grid span { padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--route-pale); font-size: 11px; font-weight: 800; }
.takeaway-card { padding: 26px 29px; border: 2px solid var(--ink); border-radius: 17px; background: #fff9df; }
.takeaway-card > div { display: flex; align-items: center; gap: 9px; }
.takeaway-card > div span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); }
.takeaway-card strong { font-size: 13px; }
.takeaway-card p { margin: 11px 0 0; font-size: 13px; line-height: 1.8; font-weight: 650; }
.takeaway-card hr { margin: 21px 0; border: 0; border-top: 1px dashed rgba(56,43,42,.3); }
.caution-card { padding: 21px 24px; border-left: 5px solid var(--coral); border-radius: 8px 15px 15px 8px; background: #fff1eb; }
.caution-card strong { color: var(--coral-dark); font-size: 12px; }
.caution-card p { margin: 7px 0 0; font-size: 12px; line-height: 1.8; font-weight: 600; }

.next-actions { margin: 85px 0 0; padding: 42px; border: 2px solid var(--ink); border-radius: 24px; background: #f4f8fb; box-shadow: 7px 8px 0 var(--ink); }
.search-tags { margin: -17px 0 27px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.search-tags button { min-height: 54px; padding: 11px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px dashed rgba(56,43,42,.42); border-radius: 11px; background: white; cursor: pointer; text-align: left; }
.search-tags span { font-size: 12px; font-weight: 800; }
.search-tags b { color: var(--blue); font-size: 10px; white-space: nowrap; }
.external-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.external-card { min-height: 87px; padding: 17px; display: grid; grid-template-columns: 1fr auto; align-items: center; border: 2px solid var(--ink); border-radius: 14px; background: white; transition: transform .2s; }
.external-card:hover { transform: translateY(-2px); }
.external-card small { grid-column: 1; color: rgba(56,43,42,.56); font-size: 10px; font-weight: 800; }
.external-card strong { grid-column: 1; margin-top: 4px; font-size: 13px; }
.external-card > span { grid-column: 2; grid-row: 1 / 3; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--ink); }
.tone-coral { border-top: 6px solid var(--coral); }
.tone-blue { border-top: 6px solid var(--blue); }
.tone-yellow { border-top: 6px solid var(--yellow); }
.tone-green { border-top: 6px solid var(--green); }
.share-row { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.share-button { min-height: 57px; padding: 12px 18px; display: flex; align-items: center; justify-content: center; gap: 11px; border: 2px solid var(--ink); border-radius: 999px; cursor: pointer; font-size: 13px; font-weight: 900; }
.line-share { color: white; background: #06c755; }
.line-share span { font-size: 10px; }
.copy-share { background: white; }
.copy-share span { font-size: 21px; }
.common-notes { margin-top: 62px; }
.common-notes blockquote { margin: 0; padding: 25px 28px; border-radius: 18px; background: var(--route-pale); font-size: 15px; line-height: 1.9; font-weight: 800; }
.common-notes details { margin-top: 17px; padding: 17px 20px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.common-notes summary { cursor: pointer; font-size: 12px; font-weight: 900; }
.common-notes details p, .always-caution { color: rgba(56,43,42,.62); font-size: 11px; line-height: 1.8; font-weight: 600; }
.always-caution { margin: 18px 0 0; padding-left: 20px; position: relative; }
.always-caution::before { content: "!"; position: absolute; left: 0; top: 0; color: var(--coral-dark); font-weight: 900; }
.result-controls, .result-reset-row { margin-top: 48px; display: flex; flex-direction: column; align-items: center; gap: 19px; }
.text-button { padding: 9px; border-bottom: 1px solid var(--ink); background: none; cursor: pointer; font-size: 12px; font-weight: 800; }
.secondary-pill { min-height: 54px; padding: 12px 24px; border: 2px solid var(--ink); border-radius: 999px; background: white; box-shadow: 0 4px 0 var(--ink); cursor: pointer; font-size: 13px; font-weight: 900; }
.site-footer { padding: 58px max(20px, calc((100vw - 1080px) / 2)); display: grid; grid-template-columns: auto 1fr auto; gap: 45px; align-items: center; background: var(--ink); color: white; }
.site-footer .brand-mark { background: white; }
.site-footer .brand-mark span { background: var(--ink); }
.site-footer p { max-width: 600px; margin: 0; color: rgba(255,255,255,.66); font-size: 10px; line-height: 1.8; font-weight: 600; }
.site-footer small { color: rgba(255,255,255,.58); font-size: 9px; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 28px; width: max-content; max-width: calc(100% - 32px); padding: 13px 20px; border: 2px solid white; border-radius: 999px; background: var(--ink); color: white; box-shadow: 0 8px 30px rgba(0,0,0,.2); transform: translateX(-50%); font-size: 12px; font-weight: 800; }

/* Dual / undecided */
.dual-hero, .undecided-hero { min-height: 440px; }
.dual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; }
.dual-card { min-width: 0; padding: 31px; border: 2px solid var(--ink); border-radius: 21px; background: white; box-shadow: 6px 7px 0 var(--ink); }
.dual-number { color: var(--route-color); font-size: 10px; letter-spacing: .12em; font-weight: 900; }
.dual-card > h2 { margin: 9px 0 0; font-size: 24px; line-height: 1.45; }
.dual-card > p { margin: 14px 0 0; color: rgba(56,43,42,.68); font-size: 12px; line-height: 1.85; font-weight: 600; }
.dual-card > div { margin-top: 22px; padding: 17px; border-radius: 13px; background: var(--route-pale); }
.dual-card > div small { display: block; color: var(--route-color); font-size: 10px; font-weight: 900; }
.dual-card > div strong { display: block; margin-top: 7px; font-size: 13px; line-height: 1.7; }
.dual-card > details { margin-top: 17px; }
.dual-card > details > summary { cursor: pointer; font-size: 11px; font-weight: 900; text-decoration: underline; }
.dual-card .detail-stack { margin-top: 18px; }
.dual-card .recommend-card, .dual-card .detail-accordion, .dual-card .takeaway-card, .dual-card .caution-card { box-shadow: none; border-width: 1px; }
.dual-card .detail-accordion summary { font-size: 11px; }
.common-one { margin-top: 52px; }
.mission-catalog { margin-top: 70px; }
.mission-catalog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mission-catalog-grid article { padding: 25px; border: 2px solid var(--ink); border-radius: 17px; background: white; box-shadow: 4px 5px 0 var(--ink); }
.mission-catalog-grid article > span { color: var(--route-color); font-size: 11px; font-weight: 900; }
.mission-catalog-grid h3 { margin: 9px 0 0; font-size: 19px; line-height: 1.45; }
.mission-catalog-grid p { margin: 8px 0 18px; color: rgba(56,43,42,.62); font-size: 12px; font-weight: 650; }
.mission-catalog-grid button { min-height: 44px; padding: 9px 14px; border-radius: 999px; background: var(--route-pale); color: var(--route-color); cursor: pointer; font-size: 11px; font-weight: 900; }

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; padding-top: 35px; gap: 55px; }
  .hero-copy { text-align: center; }
  .hero h1, .hero-lead { margin-left: auto; margin-right: auto; }
  .trust-list { justify-content: center; }
  .start-card { max-width: 560px; width: 100%; margin: 0 auto; }
  .float-card-a { left: 2px; bottom: 10px; }
  .float-card-b { right: 0; bottom: 18px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { max-width: 520px; width: 100%; margin: 0 auto; }
  .preview-columns { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .preview-columns > article { min-height: 0; }
  .dual-grid { grid-template-columns: 1fr; }
  .result-stamp { display: none; }
  .result-hero > p:last-of-type { padding-right: 0; }
}

@media (max-width: 600px) {
  .site-header { width: calc(100% - 32px); height: 72px; }
  .brand-mark { width: 38px; }
  .brand-copy strong { font-size: 12px; }
  .brand-copy small { font-size: 9px; }
  .header-note { padding: 7px 11px; font-size: 10px; }
  .hero { width: calc(100% - 32px); min-height: auto; padding: 35px 0 100px; }
  .eyebrow { font-size: 11px; margin-bottom: 16px; }
  .hero h1 { font-size: clamp(34px, 10vw, 45px); line-height: 1.36; }
  .hero h1 span::after { height: 9px; bottom: 5px; }
  .hero-lead { font-size: 14px; line-height: 1.9; }
  .trust-list { gap: 9px 12px; font-size: 11px; }
  .start-card { padding: 42px 18px 25px; border-radius: 21px; box-shadow: 7px 8px 0 var(--ink), var(--shadow); transform: none; }
  .paper-tab { left: 22px; }
  .compass-doodle { right: -8px; }
  .grade-button { min-height: 70px; padding: 11px 13px 11px 16px; font-size: 16px; }
  .grade-button span { gap: 9px; }
  .grade-button small { min-width: 67px; padding: 7px 6px; font-size: 9px; }
  .grade-button b { width: 35px; height: 35px; }
  .float-card { opacity: .8; }
  .float-card-a { left: 5px; bottom: 5px; transform: rotate(-7deg) scale(.82); transform-origin: bottom left; }
  .float-card-b { right: 4px; bottom: 9px; transform: rotate(7deg) scale(.82); transform-origin: bottom right; }
  .quick-flow { padding-top: 75px; }
  .flow-grid { grid-template-columns: 1fr; gap: 14px; }
  .flow-grid article { min-height: 0; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2 { font-size: 29px; }
  .why-section { width: calc(100% - 32px); padding: 90px 0; }
  .why-visual { min-height: 330px; box-shadow: 7px 8px 0 var(--ink); }
  .why-visual > b { width: 120px; height: 120px; font-size: 35px; }
  .why-copy { gap: 24px; }
  .why-copy article { grid-template-columns: 43px 1fr; gap: 14px; }
  .why-copy article > span { width: 40px; height: 40px; }
  .why-copy h3 { font-size: 18px; }
  .mission-preview { padding-top: 88px; padding-bottom: 90px; }
  .preview-columns > article { padding: 23px 20px; }
  .final-cta { min-height: 440px; }
  .cta-doodle { opacity: .55; }
  .cta-doodle i { left: -50px; top: 40px; }
  .cta-doodle b { right: 22px; top: 45px; }
  .cta-doodle span { right: -40px; bottom: 33px; }

  .quiz-header, .result-header { width: calc(100% - 32px); height: 70px; }
  .progress-wrap, .question-stage { width: calc(100% - 32px); }
  .progress-wrap { margin-top: 17px; }
  .question-stage { margin-top: 21px; }
  .question-card { padding: 29px 17px; border-radius: 21px; box-shadow: 6px 7px 0 var(--ink), var(--shadow); }
  .question-card h1 { font-size: 27px; }
  .question-help { margin-bottom: 22px; font-size: 12px; }
  .answer-button { min-height: 68px; padding: 11px 12px; grid-template-columns: 36px 1fr 24px; gap: 10px; border-radius: 13px; }
  .mission-options .answer-button { min-height: 75px; }
  .answer-index { width: 32px; height: 32px; }
  .answer-text strong { font-size: 14px; }
  .uncertain-row { grid-template-columns: 1fr; }

  .result-hero { min-height: 470px; padding: 72px 20px 90px; }
  .result-hero::before { width: 270px; height: 270px; right: -120px; top: 60px; }
  .result-hero::after { width: 90px; height: 43px; left: -38px; bottom: 45px; }
  .result-hero h1 { font-size: 38px; line-height: 1.32; }
  .result-hero > p:last-of-type { margin-top: 20px; font-size: 14px; line-height: 1.9; }
  .result-content { width: calc(100% - 32px); padding: 48px 0 85px; }
  .reason-card { margin: -82px 0 55px; padding: 20px; grid-template-columns: 39px 1fr; gap: 12px; }
  .reason-icon { width: 36px; height: 36px; }
  .action-checklist label { min-height: 78px; padding: 15px; grid-template-columns: 33px 1fr; gap: 12px; }
  .fake-check { width: 31px; height: 31px; }
  .action-copy { font-size: 13px; }
  .recommend-card { padding: 24px 21px; }
  .detail-accordion summary { min-height: 64px; padding: 15px 18px; font-size: 13px; }
  .detail-body { padding: 3px 14px 18px; }
  .takeaway-card { padding: 23px 20px; }
  .next-actions { margin-top: 65px; padding: 29px 18px; border-radius: 20px; box-shadow: 5px 6px 0 var(--ink); }
  .search-tags, .external-grid, .share-row { grid-template-columns: 1fr; }
  .search-tags { margin-top: -7px; }
  .common-notes blockquote { padding: 22px; font-size: 13px; }
  .dual-card { padding: 25px 19px; }
  .dual-card > h2 { font-size: 22px; }
  .mission-catalog-grid { grid-template-columns: 1fr; }
  .site-footer { padding: 47px 20px; grid-template-columns: 1fr; gap: 24px; text-align: left; }
  .site-footer small { margin-top: 4px; }
}

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


/* WordPress runtime isolation and admin-bar compatibility. */
#oc-mission-navi-root { min-height: 100vh; background: var(--paper); }
body.oc-mission-navi-page { margin: 0; overflow-x: hidden; }
body.admin-bar #oc-mission-navi-root { min-height: calc(100vh - 32px); }
.oc-noscript { width: min(680px, calc(100% - 40px)); margin: 80px auto; padding: 32px; border: 2px solid var(--ink); border-radius: 20px; background: #fff; box-shadow: 6px 7px 0 var(--ink); }
.oc-noscript h1 { margin-top: 0; }
@media screen and (max-width: 782px) {
  body.admin-bar #oc-mission-navi-root { min-height: calc(100vh - 46px); }
}
