/* manabie study – learning app. Uses the site's tokens (site.css). */
.learn-app { min-height: 70vh; background: #f7fbfb; padding-bottom: 80px; }
.lx-wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.lx-main { padding-top: 28px; }
.lx-bar { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 60px; z-index: 20; }
.lx-bar .lx-wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lx-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
.lx-tabs::-webkit-scrollbar { display: none; }
.lx-tabs a { position: relative; flex: none; padding: 14px 14px 12px; color: #333; font-size: 14px; border-bottom: 3px solid transparent; }
.lx-tabs a.on { color: var(--teal); border-bottom-color: var(--teal); font-weight: 700; }
.lx-tabs a i { font-style: normal; display: inline-block; min-width: 18px; margin-left: 4px; padding: 0 5px; border-radius: 9px; background: #e0796b; color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.lx-user { display: flex; align-items: center; gap: 8px; flex: none; color: #333; font-size: 13px; }
.lx-user b { width: 30px; height: 30px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; }
.lx-user span { display: flex; flex-direction: column; line-height: 1.2; }
.lx-user small { color: #777; }

.lx-h { font-size: 24px; font-weight: 500; color: #111; margin: 4px 0 14px; letter-spacing: .03em; }
.lx-card { background: #fff; border: 1px solid #e3eef0; border-radius: 12px; padding: 20px 22px; margin-bottom: 18px; }
.lx-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 12px; color: #123; }
.lx-card h4 { font-size: 14px; font-weight: 700; margin: 14px 0 8px; }
.lx-note { color: #667; font-size: 13px; line-height: 1.7; }
.lx-link { font-size: 14px; }
.lx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 8px 20px; border-radius: var(--radius-btn);
  background: var(--teal); color: #fff; border: 1px solid var(--teal); font: 700 14px/1.3 var(--font); cursor: pointer; text-align: center;
}
.lx-btn:hover { color: #fff; opacity: .88; }
.lx-btn.ghost { background: #fff; color: var(--teal); }
.lx-btn.ghost:hover { color: var(--teal); }
.lx-btn.sm { min-height: 32px; padding: 5px 14px; font-size: 13px; }
.lx-btn.danger { color: #c0392b; border-color: #e6b3ad; }
.lx-btn:disabled { opacity: .5; cursor: default; }
.btnrow { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; align-items: center; }
.btnrow.col { flex-direction: column; align-items: stretch; }
.btnrow.nav { justify-content: center; }
.lx-select, .lx-form input, .lx-form textarea, .lx-search input, .qin {
  font: 15px var(--font); padding: 9px 12px; border: 1px solid #c9dde0; border-radius: 8px; background: #fff; max-width: 100%;
}
.lx-form label { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-size: 14px; }
.lx-form textarea { width: 100%; }
.lx-msg { margin-top: 8px; color: var(--teal); }
.lx-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lx-grid2 > .lx-card { margin-bottom: 0; }
.lx-grid2 + * { margin-top: 18px; }
.nowrap { white-space: nowrap; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.chips.sub .chip { font-size: 12px; padding: 3px 12px; }
.chip { padding: 5px 15px; border: 1px solid var(--teal); border-radius: 16px; color: var(--teal); font-size: 13px; background: #fff; }
.chip.on { background: var(--teal); color: #fff; }

.st { display: inline-block; padding: 1px 9px; border-radius: 10px; font-size: 11px; font-weight: 700; line-height: 18px; white-space: nowrap; }
.st-done { background: #d7f0f3; color: #00788a; }
.st-near { background: #fff3d6; color: #9a6b00; }
.st-weak { background: #fde4e0; color: #b2402f; }
.st-stale { background: #ece6fa; color: #5b45a8; }
.st-new { background: #eef1f2; color: #66737a; }
.meter { display: inline-block; width: 90px; height: 7px; border-radius: 4px; background: #e6eef0; vertical-align: middle; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--teal); border-radius: 4px; }
.meter-n { display: inline-block; min-width: 38px; margin-left: 6px; font-size: 12px; color: #456; text-align: right; }

/* welcome */
.lx-hero { background: linear-gradient(120deg, #0095aa, #36b3c2); color: #fff; border-radius: 14px; padding: 30px 28px; margin-bottom: 20px; }
.lx-hero h2 { font-size: 26px; font-weight: 500; margin-bottom: 10px; }
.lx-hero p { line-height: 1.9; }
.lx-welcome { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.lx-welcome h2 { font-size: 24px; font-weight: 500; }
.lx-welcome p { color: #566; font-size: 13px; margin-top: 4px; }
.lx-stats { display: grid; grid-template-columns: repeat(4, minmax(100px, 1fr)); gap: 10px; }
.lx-stats div { background: #fff; border: 1px solid #e3eef0; border-radius: 12px; padding: 10px 14px; text-align: center; }
.lx-stats b { display: block; font-size: 24px; color: var(--teal); font-weight: 700; line-height: 1.2; }
.lx-stats small { font-size: 13px; color: #789; }
.lx-stats span { font-size: 11px; color: #567; }
.lx-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #e2f1f3; border-color: #bfe0e5; }
.lx-cta p { font-size: 14px; line-height: 1.8; color: #345; }
.lx-sec-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 24px 0 10px; }
.lx-sec-h h3 { font-size: 19px; font-weight: 700; }

.rec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-bottom: 20px; }
.rec { background: #fff; border: 1px solid #e3eef0; border-left: 4px solid var(--teal); border-radius: 10px; padding: 16px 18px; }
.rec-head { display: flex; justify-content: space-between; align-items: center; }
.rec-sub { font-size: 11px; color: #789; display: block; }
.rec h4 { font-size: 17px; margin: 6px 0 4px; }
.rec-why { font-size: 13px; color: #345; line-height: 1.7; margin: 6px 0 10px; }
.rec-learn { background: #f4fafb; border-radius: 8px; padding: 10px 12px; font-size: 13px; }
.rec-learn b { color: var(--teal); font-size: 12px; }
.rec-learn ul { list-style: disc; padding-left: 18px; margin-top: 4px; line-height: 1.7; }
.rec-steps { margin: 10px 0 0; padding-left: 20px; font-size: 13px; line-height: 2; }
.rec-steps.big { font-size: 15px; line-height: 2.2; }

.mlist li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #edf3f4; }
.mlist li:last-child { border-bottom: 0; }
.mlist p { font-size: 14px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mlist.big li { background: #fff; border: 1px solid #e3eef0; border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; }
.mlist .fixed { opacity: .6; }
.mlist .btnrow { margin: 0; flex: none; }
.loglist li { display: flex; gap: 8px; align-items: center; font-size: 13px; padding: 5px 0; }
.loglist time { margin-left: auto; color: #889; font-size: 12px; }
.ok { color: #00889b; font-weight: 700; }
.ng { color: #c0392b; font-weight: 700; }

/* units */
.lx-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 10px; font-size: 14px; }
.lx-search { display: flex; gap: 8px; margin: 10px 0 16px; }
.lx-search input { flex: 1; min-width: 0; }
.ulist { background: #fff; border: 1px solid #e3eef0; border-radius: 12px; overflow: hidden; }
.urow { display: grid; grid-template-columns: 1fr auto auto 150px; gap: 12px; align-items: center; padding: 13px 18px; border-bottom: 1px solid #edf3f4; color: #123; }
.urow:last-child { border-bottom: 0; }
.urow:hover { background: #f4fafb; opacity: 1; }
.urow-name { font-size: 15px; }
.urow-n { font-size: 12px; color: #789; }
.hits li { padding: 8px 0; border-bottom: 1px solid #f0f4f5; font-size: 14px; line-height: 1.6; }
.hits li:last-child { border-bottom: 0; }
.simv { display: inline-block; font-size: 11px; color: #fff; background: var(--teal); border-radius: 8px; padding: 0 7px; margin-right: 8px; }
.crumb { font-size: 13px; color: #678; margin-bottom: 8px; }
.unit-top { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 14px; }
.goal { font-size: 14px; line-height: 1.8; color: #345; }
.goal b { display: inline-block; margin-right: 8px; color: #fff; background: var(--teal); font-size: 11px; padding: 0 8px; border-radius: 8px; }
.unit-st { background: #fff; border: 1px solid #e3eef0; border-radius: 12px; padding: 12px 16px; display: flex; flex-direction: column; gap: 6px; min-width: 220px; }
.unit-st small { color: #789; }
.points { padding-left: 22px; line-height: 1.9; font-size: 14px; }
.points li { margin-bottom: 6px; }
.pre li { font-size: 14px; padding: 3px 0; }
.qlist { padding-left: 36px; font-size: 14px; }
.qlist li { padding: 7px 0; border-bottom: 1px solid #f0f4f5; }
.qlist li a { color: #123; }
.qlist li .ok, .qlist li .ng { margin-left: 8px; }
.lv { display: inline-block; font-size: 10px; padding: 0 6px; margin-right: 8px; border-radius: 6px; background: #eef4f5; color: #577; line-height: 17px; }
.lv-応用, .lv-発展 { background: #fff1d9; color: #8a5a00; }
.lx-pager { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 14px; }
.lx-pager a { min-width: 32px; padding: 4px 8px; text-align: center; border: 1px solid var(--teal); }
.lx-pager a.on { background: var(--teal); color: #fff; }

/* question */
.qcard { background: #fff; border: 1px solid #e3eef0; border-radius: 14px; padding: 22px 24px; margin-bottom: 14px; }
.qhead { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.qnum { font-weight: 700; color: var(--teal); }
.qtag { font-size: 11px; background: #e2f1f3; color: #00788a; border-radius: 8px; padding: 1px 8px; }
.qtag.gen { background: #ece6fa; color: #5b45a8; }
.qtext { font-size: 17px; line-height: 1.9; margin-bottom: 16px; white-space: normal; word-break: break-word; }
.qchoices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qc { display: flex; gap: 10px; align-items: center; text-align: left; padding: 12px 14px; border: 1.5px solid #cfe2e5; border-radius: 10px; background: #fff; font: 15px/1.5 var(--font); cursor: pointer; color: #123; }
.qc b { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #e2f1f3; color: var(--teal); font-size: 12px; display: flex; align-items: center; justify-content: center; }
.qc:hover:not(:disabled) { border-color: var(--teal); background: #f4fafb; }
.qc.right { border-color: #00a3b9; background: #e0f5f7; }
.qc.wrong { border-color: #e0796b; background: #fdecea; }
.qc:disabled { cursor: default; }
.qinrow { display: flex; gap: 10px; }
.qinrow .qin { flex: 1; min-width: 0; font-size: 17px; }
textarea.qin { width: 100%; margin-bottom: 10px; }
.qfeed { margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: #f4fafb; font-size: 14px; line-height: 1.8; }
.is-ng .qfeed { background: #fff6f4; }
.verdict { font-size: 18px; font-weight: 700; color: var(--teal); }
.is-ng .verdict { color: #c0392b; }
.expl { margin-top: 8px; padding-top: 8px; border-top: 1px dashed #cfe2e5; }
.expl b { display: block; font-size: 12px; color: var(--teal); }
.sess-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.sess-bar { height: 6px; border-radius: 3px; background: #e2ecee; margin: 6px 0 16px; overflow: hidden; }
.sess-bar i { display: block; height: 100%; background: var(--teal); transition: width .3s; }
.orig { border-left: 4px solid #e0796b; }
.result-top { display: flex; align-items: center; gap: 24px; margin: 10px 0 20px; flex-wrap: wrap; }
.result-top p { line-height: 1.9; }
.ring { --p: 0; width: 120px; height: 120px; border-radius: 50%; flex: none; background: conic-gradient(var(--teal) calc(var(--p) * 1%), #e2ecee 0); display: flex; align-items: center; justify-content: center; position: relative; }
.ring::before { content: ""; position: absolute; inset: 12px; background: #f7fbfb; border-radius: 50%; }
.ring b { position: relative; font-size: 30px; color: var(--teal); }
.ring small { font-size: 14px; }
.lvl b { font-size: 34px; color: var(--teal); margin-left: 8px; }
.bars li { display: grid; grid-template-columns: minmax(120px, 260px) 1fr 50px; gap: 10px; align-items: center; padding: 6px 0; font-size: 14px; }
.bar { height: 12px; border-radius: 6px; background: #edf2f3; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 6px; }
.b-done { background: var(--teal); } .b-near { background: #e8b23a; } .b-weak { background: #e0796b; }

/* progress */
.cal { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; max-width: 520px; }
.cal i { aspect-ratio: 1; border-radius: 4px; background: rgba(0, 149, 170, var(--a)); outline: 1px solid #e3eef0; }
.sec-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.sec-row span { font-size: 13px; color: #567; }
.heat { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 12px; }
.heat a, .heat > span { display: flex; justify-content: space-between; gap: 6px; padding: 9px 11px; border-radius: 8px; font-size: 12px; color: #234; line-height: 1.4; }
.heat a b, .heat > span b { font-size: 13px; }
.legend { display: flex; gap: 8px; flex-wrap: wrap; }

/* videos */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.vcard { background: #fff; border: 1px solid #e3eef0; border-radius: 12px; overflow: hidden; color: #123; }
.vthumb { position: relative; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #0095aa, #0b5f6b); overflow: hidden; }
.vthumb.t1 { background: linear-gradient(135deg, #1b7f8f, #48b9c6); } .vthumb.t2 { background: linear-gradient(135deg, #2c4a52, #0095aa); } .vthumb.t3 { background: linear-gradient(135deg, #0095aa, #7cc9d3); }
.vthumb span { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 18px; z-index: 1; }
.vthumb em { position: absolute; left: 12px; bottom: 8px; right: 12px; font-style: normal; font-size: 13px; font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,.3); }
.vmeta { padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #678; }
.vmeta b { font-size: 14px; color: #123; }
.vlayout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.vreal { aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; }
.vreal iframe { width: 100%; height: 100%; border: 0; }
.vsub { font-size: 16px; margin: 16px 0 8px; }

/* player */
.vp { background: #0d2a2f; border-radius: 12px; overflow: hidden; outline: none; }
.vp:fullscreen { display: flex; flex-direction: column; justify-content: center; border-radius: 0; }
.vp-stage { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(160deg, #ffffff 0%, #eef8f9 100%); overflow: hidden; }
.vp-slide { position: absolute; inset: 0; padding: 6% 7%; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s; container-type: inline-size; }
.vp-slide.in { opacity: 1; transform: none; }
.vp-cap { position: absolute; left: 6%; right: 6%; bottom: 4%; background: rgba(0,0,0,.66); color: #fff; font-size: clamp(11px, 1.6vw, 15px); line-height: 1.6; padding: 6px 12px; border-radius: 6px; text-align: center; max-height: 30%; overflow: hidden; }
.vp-cap:empty { display: none; }
.vp-big { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 74px; height: 74px; border-radius: 50%; border: 0; background: rgba(0,149,170,.92); color: #fff; font-size: 28px; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.vp-ctrl { display: flex; align-items: center; gap: 6px; padding: 8px 10px; color: #fff; }
.vp-ctrl button, .vp-ctrl select { background: transparent; color: #fff; border: 0; font: 14px var(--font); cursor: pointer; padding: 4px 6px; border-radius: 4px; }
.vp-ctrl select { background: #1c3d43; }
.vp-ccbtn { font-size: 11px !important; border: 1px solid #6a8a90 !important; }
.vp-ccbtn.on { background: #fff !important; color: #0d2a2f !important; }
.vp-track { flex: 1; display: flex; gap: 3px; cursor: pointer; padding: 8px 0; }
.vp-track i { flex: 1; height: 5px; border-radius: 3px; background: #3c5a60; }
.vp-track i.done { background: #7fd0db; } .vp-track i.now { background: #fff; }
.vp-time { font-size: 12px; color: #b9d3d7; min-width: 42px; text-align: center; }
.vp-chapters { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 10px 10px; }
.vp-chapters button { background: #1c3d43; color: #cfe6ea; border: 0; border-radius: 12px; padding: 3px 11px; font: 12px var(--font); cursor: pointer; }
.vp-chapters button.on { background: var(--teal); color: #fff; }
.v-badge { align-self: flex-start; background: var(--teal); color: #fff; font-size: clamp(10px, 1.6cqw, 14px); padding: 2px 12px; border-radius: 12px; margin-bottom: 2.5cqw; }
.v-title h2 { font-size: clamp(20px, 5.4cqw, 46px); color: #0b3d45; font-weight: 700; margin-bottom: 3cqw; }
.v-goal { font-size: clamp(12px, 2.4cqw, 20px); line-height: 1.7; color: #345; border-left: 4px solid var(--teal); padding-left: 2cqw; }
.v-goal b { display: block; color: var(--teal); font-size: .75em; }
.v-point { display: grid; grid-template-columns: auto 1fr; gap: 3cqw; align-items: center; }
.v-num { font-size: clamp(36px, 11cqw, 110px); font-weight: 700; color: var(--teal); line-height: 1; }
.v-num small { font-size: .3em; color: #8ab; }
.v-point p { font-size: clamp(14px, 3.4cqw, 30px); line-height: 1.6; color: #123; }
.v-bar { grid-column: 1 / -1; height: 6px; background: #dcebed; border-radius: 3px; overflow: hidden; }
.v-bar i { display: block; height: 100%; background: var(--teal); }
.v-reveal { animation: reveal 1.2s ease both .2s; }
@keyframes reveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.v-ex { display: flex; flex-direction: column; }
.v-q { font-size: clamp(13px, 2.8cqw, 26px); line-height: 1.6; color: #123; margin-bottom: 2cqw; }
.v-q.small { font-size: clamp(11px, 2cqw, 18px); color: #456; }
.v-ch { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2cqw 3cqw; padding-left: 1.3em; font-size: clamp(12px, 2.3cqw, 20px); }
.v-ch li.ok { color: var(--teal); font-weight: 700; }
.v-ch li.ok::after { content: " ◎"; }
.v-ans { font-size: clamp(14px, 3cqw, 26px); }
.v-ans b { color: var(--teal); }
.v-exp { margin-top: 2cqw; font-size: clamp(11px, 2.1cqw, 18px); line-height: 1.7; color: #345; background: #fff; border-radius: 8px; padding: 1.5cqw 2cqw; border: 1px solid #d6e9ec; }
.v-think { margin-top: 3cqw; align-self: flex-start; font-size: clamp(12px, 2.2cqw, 18px); color: var(--teal); display: flex; align-items: center; gap: 8px; }
.v-think i { width: 18px; height: 18px; border-radius: 50%; border: 3px solid #bfe0e5; border-top-color: var(--teal); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.v-sum h3 { font-size: clamp(16px, 4cqw, 34px); margin: 1cqw 0 2cqw; color: #0b3d45; }
.v-sum ul { list-style: none; display: grid; gap: 1.2cqw; }
.v-sum li { font-size: clamp(11px, 2.2cqw, 19px); line-height: 1.5; padding-left: 1.4em; position: relative; }
.v-sum li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

.guide ol { padding-left: 22px; line-height: 2; font-size: 14px; }
.lx-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.lx-table th, .lx-table td { padding: 10px 8px; border-bottom: 1px solid #edf3f4; text-align: left; vertical-align: middle; }
.lx-table tr.on { background: #f4fafb; }
.lx-scroll { overflow-x: auto; }

@media (max-width: 860px) {
  .lx-grid2, .vlayout { grid-template-columns: 1fr; }
  .lx-stats { grid-template-columns: repeat(2, 1fr); width: 100%; }
  .urow { grid-template-columns: 1fr auto; }
  .urow-m { grid-column: 1 / -1; }
  .lx-user span { display: none; }
}
@media (max-width: 600px) {
  .lx-wrap { padding: 0 14px; }
  .qchoices { grid-template-columns: 1fr; }
  .qcard { padding: 18px 16px; }
  .qtext { font-size: 16px; }
  .lx-cta { flex-direction: column; align-items: flex-start; }
  .rec-grid { grid-template-columns: 1fr; }
  .mlist li { flex-direction: column; align-items: stretch; }
  .bars li { grid-template-columns: 1fr 70px 40px; }
  .lx-search { flex-direction: column; }
  .vp-ctrl { flex-wrap: wrap; }
  .vp-track { order: -1; flex-basis: 100%; }
  .v-ch { grid-template-columns: 1fr; }
}
.drill-sum .lx-stats { margin-bottom: 14px; }
.report .lx-welcome { margin-top: 6px; }

/* ---------------------------------------------------------------- ログイン・アカウント（2026-11-15 追加） */
.lx-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (max-width:560px){.lx-row{grid-template-columns:1fr}}
.lx-form.inline{display:flex;gap:8px;align-items:center;margin:0}
.lx-next{margin:10px 0 0;padding:10px 12px;border-radius:10px;background:var(--lx-soft,rgba(0,149,170,.08));font-size:14px;line-height:1.7}
.lx-user .sy{width:8px;height:8px;border-radius:50%;flex:none;margin-right:2px;background:#bbb}
.lx-user .sy.on{background:#2fa84f}
.lx-user .sy.err{background:#d9650a}
.lx-user .sy.off{background:#bbb}
.lx-card details>summary{cursor:pointer;font-weight:700;min-height:44px;display:flex;align-items:center}
.lx-locked{opacity:.55}
.lx-lockrow{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:8px}

/* 2026-11-17 無料会員の登録欄・試せる単元・鍵の印（A-165） */
.lx-check{display:flex;gap:.5em;align-items:flex-start;font-size:.92rem;line-height:1.6;margin:.3em 0}
.lx-check input{margin-top:.35em;flex:none}
#taste summary{cursor:pointer;font-weight:700}
#taste .taste-row{margin:.6em 0;line-height:2.2}
#taste .taste-row b{display:inline-block;min-width:5.5em}
.urow .lock{font-size:.85em}

/* 2026-11-17（社長指示）並べ替えのカード・自動で次へ・押しまちがい対策 */
.qhint{font-size:.85rem;color:var(--muted,#667);margin:.4rem 0}
.ro-pool,.ro-ans{display:flex;flex-wrap:wrap;gap:.5rem;margin:.5rem 0}
.ro-ans{min-height:3rem;padding:.5rem;border:2px dashed var(--line,#cfe3e6);border-radius:10px;background:var(--mist,#e2f1f3)}
.ro-empty{color:var(--muted,#889);font-size:.9rem;align-self:center}
.ro-chip{display:inline-flex;align-items:center;gap:.4rem;padding:.5rem .8rem;border:1px solid #0095aa;border-radius:999px;background:#fff;color:#0b3d45;font-size:1rem;cursor:pointer;min-height:44px}
.ro-chip b{font-size:.8rem;color:#0095aa}
.ro-chip.on{background:#0095aa;color:#fff}.ro-chip.on b{color:#fff}
.ro-chip:disabled{opacity:.35;cursor:default}
.ro-sent{font-size:1.1rem;font-weight:600;min-height:1.5em;margin:.3rem 0}
.qin.shake{animation:lxshake .35s}@keyframes lxshake{25%{transform:translateX(-6px)}75%{transform:translateX(6px)}}
.mine{color:#b3261e}
.sess-tools{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.auto-sel{font-size:.85rem}.auto-sel select{font-size:.85rem;padding:.2rem}
.auto-bar{font-size:.9rem;margin:0 1rem 0 0;display:flex;align-items:center;gap:.5rem}
.lx-improve{background:#e2f1f3;border-bottom:1px solid #cfe3e6;font-size:.85rem;padding:.35rem 0}
.lx-improve a{margin-left:.6rem;color:#007a8c}
.qreport{text-align:right;font-size:.8rem;margin:.4rem 0 0}.qreport a{color:#667}
.fb-cats{border:0;padding:0;margin:.8rem 0;display:flex;flex-wrap:wrap;gap:.4rem 1rem}.fb-cats legend{font-weight:600;margin-bottom:.4rem}
.fb-cats label{display:inline-flex;gap:.3rem;align-items:center;min-height:36px}
.fb-l{display:block;margin:.8rem 0}.fb-l textarea,.fb-l input{display:block;width:100%;margin-top:.3rem;font-size:1rem;padding:.5rem;border:1px solid #cfe3e6;border-radius:8px;box-sizing:border-box}
.fb-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.faq details{border-bottom:1px solid #e2f1f3;padding:.6rem 0}.faq summary{cursor:pointer;font-weight:600}
.faq-imp li{margin:.2rem 0}.faq-imp.done{color:#556}.faq-imp small{margin-left:.3rem}
/* 2026-11-18 英検リスニング（音声つきの問題） */
.la{margin:.4rem 0 .6rem;padding:.6rem .8rem;border:1px solid #cfe7ea;border-radius:10px;background:#f4fafb}
.la-row{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center}
.la-voice{font-size:.9rem;display:flex;gap:.3rem;align-items:center}
.la-img{display:block;max-width:100%;max-height:320px;margin:0 auto .5rem;border-radius:6px}
.la-sc{white-space:normal}
/* 2026-11-25 同意欄が「□／リンク／に同意します」の3行に崩れていた（.lx-form label の縦並びが優先されていた）→1行の文として並べる */
.lx-form label.lx-check{display:block;margin:.3em 0 .6em}
.lx-form label.lx-check input{margin:0 .4em 0 0;vertical-align:-.1em}
/* 2026-11-25 解説映像：ポイントに説明文と例があるとき（/data/lx/）。番号は左に固定し、見出し→説明→例を右に縦に並べる */
.v-point.has-x { align-items: start; gap: 1.2cqw 3cqw; }
.v-point.has-x .v-num { grid-row: 1 / span 4; font-size: clamp(30px, 8cqw, 80px); }
.v-point.has-x > :not(.v-num) { grid-column: 2; }
.v-point.has-x p.v-reveal { font-size: clamp(13px, 2.9cqw, 25px); font-weight: 700; line-height: 1.45; }
.v-point.has-x p.v-px { font-size: clamp(12px, 2.25cqw, 19px); line-height: 1.7; color: #234; animation: reveal 1.2s ease both .9s; }
.v-point.has-x p.v-pex { font-size: clamp(12px, 2.25cqw, 19px); line-height: 1.6; background: #eef7f5; border-left: 4px solid var(--teal); padding: .4em .7em; border-radius: 4px; animation: reveal 1.2s ease both 1.6s; }
.v-pex b { color: var(--teal); margin-right: .6em; }
