/* 30秒お仕事診断（/shindan・/shindan/result）。色は style.css の --pink 系にそろえる */
.qz-page { background: linear-gradient(180deg, var(--pink-l) 0, #fff 320px); padding-bottom: 32px; }
.qz-wrap { max-width: 640px; }
.qz-wrap-wide { max-width: 1080px; }
.qz-head { text-align: center; padding: 6px 0 12px; }
.qz-kicker { display: inline-block; margin: 0 0 6px; padding: 2px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--pink-m); color: var(--pink-d); font-weight: 600; font-size: var(--fs-cap, 13px); }
.qz-head h1 { margin: 0; font-size: 22px; line-height: 1.5; }
.qz-count { color: var(--pink-d); font-size: var(--fs-3xl, 28px); }
.qz-points { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 0; margin: 10px 0 0; }
.qz-points li { font-size: var(--fs-cap, 12px); font-weight: 600; color: var(--sub); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }

/* 質問 */
.qz { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 6px 22px rgba(var(--tg-a, 194, 58, 111), 0.08); padding: 18px 16px 16px; }
.qz-prog { display: none; align-items: center; gap: 10px; margin-bottom: 6px; }
.qz.is-js .qz-prog { display: flex; }
.qz-prog-bar { flex: 1; height: 8px; border-radius: 999px; background: var(--pink-l); overflow: hidden; }
.qz-prog-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f29bbd, var(--pink)); transition: width 0.35s ease; }
.qz-prog-n { margin: 0; font-size: var(--fs-cap, 13px); color: var(--sub); white-space: nowrap; }
.qz-prog-n b { color: var(--pink-d); font-size: var(--fs-body, 16px); }
.qz-step { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.qz.is-js .qz-step { margin-bottom: 4px; }
.qz-step[hidden] { display: none; }
.qz-q { display: block; width: 100%; padding: 6px 0 12px; font-size: 19px; font-weight: 700; line-height: 1.5; outline: none; }
.qz-qn { color: var(--pink); margin-right: 4px; }
.qz-opts { display: grid; gap: 10px; }
.qz-card { position: relative; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.qz-card input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.qz-card-in { display: flex; flex-direction: column; justify-content: center; min-height: 64px; padding: 12px 48px 12px 18px; border: 2px solid var(--line); border-radius: 16px; background: #fff; transition: border-color 0.15s, background-color 0.15s, transform 0.1s; position: relative; }
.qz-card-in b { font-size: 17px; line-height: 1.45; }
.qz-card-in small { color: var(--sub); font-size: var(--fs-cap, 13px); line-height: 1.5; }
.qz-card-in::after { content: ""; position: absolute; right: 16px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; border: 2px solid var(--pink-m); background: #fff; box-sizing: border-box; }
.qz-card:hover .qz-card-in { border-color: var(--pink-m); background: var(--pink-xl); }
.qz-card:active .qz-card-in { transform: scale(0.985); }
.qz-card input:checked + .qz-card-in { border-color: var(--pink); background: var(--pink-l); }
.qz-card input:checked + .qz-card-in::after { border: 7px solid var(--pink); }
.qz-card input:focus-visible + .qz-card-in { outline: 3px solid rgba(var(--tg-b, 222, 79, 134), 0.35); outline-offset: 2px; }
.qz-more { margin: 12px 0 0; }
.qz-more summary { cursor: pointer; color: var(--pink-d); font-weight: 600; font-size: var(--fs-sub, 14px); padding: 6px 0; }
.qz-areas { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 0 2px; }
.qz-area { position: relative; cursor: pointer; }
.qz-area input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.qz-area span, .qz-area-link { display: inline-flex; align-items: baseline; gap: 4px; min-height: 40px; align-items: center; padding: 4px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: var(--fs-sub, 14px); color: var(--text); text-decoration: none; }
.qz-area small, .qz-area-link small { color: var(--sub); font-size: var(--fs-cap, 12px); font-weight: 400; }
.qz-area input:checked + span, .qz-area-link.is-on { border-color: var(--pink); background: var(--pink-l); color: var(--pink-d); }
.qz-area input:focus-visible + span { outline: 3px solid rgba(var(--tg-b, 222, 79, 134), 0.35); }
.qz-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.qz-back { min-height: 44px; padding: 0 14px; border: 0; background: none; color: var(--sub); font: inherit; font-weight: 700; cursor: pointer; border-radius: 999px; }
.qz-back:hover { background: var(--pink-xl); }
.qz-submit { margin-left: auto; }
.qz.is-js .qz-submit { display: none; }
.qz-note { margin: 12px 0 0; font-size: var(--fs-cap, 12px); color: var(--sub); line-height: 1.6; }
.qz-step.is-in { animation: qz-in 0.32s ease both; }
.qz-step.is-back { animation: qz-back 0.32s ease both; }
@keyframes qz-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes qz-back { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .qz-step.is-in, .qz-step.is-back { animation: none; } .qz-prog-bar span { transition: none; } }
.qz-links { margin-top: 28px; }
.qz-how { font-size: var(--fs-cap, 13px); color: var(--sub); margin: 12px 0 0; }

/* 結果 */
.qz-sum { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 14px 16px; box-shadow: var(--shadow); }
.qz-sum-h { margin: 0 0 8px; font-size: var(--fs-body, 16px); }
.qz-sum-list { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 6px 14px; }
.qz-sum-list > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.qz-sum-list dt { font-size: var(--fs-cap, 13px); color: var(--sub); display: flex; align-items: center; gap: 6px; }
.qz-sum-list dd { margin: 0; font-weight: 700; display: flex; align-items: center; gap: 8px; text-align: right; }
.qz-tag { font-size: var(--fs-cap, 11px); font-weight: 600; border-radius: 999px; padding: 0 7px; background: var(--lav-l); color: var(--lav-d); }
.qz-tag-must { background: var(--th-f, var(--pink)); color: var(--th-on, #fff); }
.qz-edit { font-size: var(--fs-cap, 12px); font-weight: 600; color: var(--pink-d); white-space: nowrap; }
.qz-sum-note { font-size: var(--fs-cap, 12px); color: var(--sub); margin: 10px 0 0; line-height: 1.6; }
.qz-sum-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.qz-more-res { margin: 14px 0 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 14px 10px; }
.qz-results { display: grid; gap: 14px; margin-top: 16px; }
@media (min-width: 720px) { .qz-results { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .qz-results { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.qz-res { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; min-width: 0; animation: qz-in 0.4s ease both; }
.qz-res-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.qz-res-body { padding: 12px 16px 16px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.qz-res-name { margin: 0 0 10px; font-size: var(--fs-l, 18px); line-height: 1.45; }
.qz-match { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
.qz-match-n { font-size: var(--fs-cap, 13px); font-weight: 600; color: var(--pink-d); white-space: nowrap; }
.qz-match-n b { font-size: var(--fs-l, 18px); }
.qz-match-bar { flex: 1; height: 6px; border-radius: 999px; background: var(--pink-l); overflow: hidden; }
.qz-match-bar span { display: block; height: 100%; background: var(--pink); border-radius: inherit; }
.qz-why { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--pink-xl); border: 1px solid var(--line); }
.qz-why-h { margin: 0 0 4px; font-size: var(--fs-cap, 12px); font-weight: 600; color: var(--sub); }
.qz-why-list { list-style: none; margin: 0; padding: 0; font-size: var(--fs-sub, 14px); line-height: 1.6; }
.qz-why-list li { position: relative; padding-left: 22px; margin: 2px 0; }
.qz-why-list li.qz-ok::before { content: "✓"; position: absolute; left: 2px; top: 0; color: var(--pink); font-weight: 700; }
.qz-why-ng { margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--line); color: var(--sub); font-size: var(--fs-cap, 13px); }
.qz-why-ng li::before { content: "－"; position: absolute; left: 2px; top: 0; color: var(--sub); }
.qz-res-go { margin-top: auto; }
.qz-why + .qz-res-go { margin-top: 14px; }
.qz-zero { margin-top: 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.qz-zero p { margin: 0 0 10px; }
.qz-loose { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 8px; }
.qz-rank { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--th-f, var(--pink)); color: var(--th-on, #fff); font-size: var(--fs-cap, 12px); font-weight: 600; }
.qz-match-n small { font-size: var(--fs-cap, 11px); font-weight: 600; color: var(--sub); margin-left: 2px; }
.qz-more-note { margin: 8px 0 0; font-size: var(--fs-cap, 13px); color: var(--sub); }

/* 結果ページ：あなたのお仕事タイプ（シェア） */
.qz-type { margin: 20px 0 0; padding: 18px 16px; text-align: center; background: #fff; border: 1.5px solid var(--pink-m); border-radius: 22px; box-shadow: 0 4px 16px rgba(var(--tg-e), 0.12); }
.qz-type-k { margin: 0; font-size: var(--fs-cap, 13px); font-weight: 600; color: var(--sub); }
.qz-type-n { margin: 6px 0 0; font-size: 22px; font-weight: 700; line-height: 1.4; color: var(--pink-d); }
.qz-type-l { margin: 8px 0 0; font-size: 15px; line-height: 1.7; }
.qz-type-s { margin: 16px 0 8px; font-size: var(--fs-sub, 14px); font-weight: 600; }
.qz-type-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; }
.qz-type-acts .btn { flex: 1 1 140px; min-height: 48px; text-align: center; }
.qz-type-note { min-height: 1.4em; margin: 8px 0 0; font-size: var(--fs-sub, 14px); color: var(--sub); }
.qz-type-fine { margin: 4px 0 0; font-size: var(--fs-cap, 13px); line-height: 1.6; color: var(--sub); }
