/* ============================================================
   Claude Code講座 (LMS) — learn.css
   LMS_FEATURE_2026_06 / studio.css のデザイントークンを流用
   ============================================================ */

.learn-body { background: var(--bg-2); --container: 1360px; }

/* ---------- ヘッダー ---------- */
.learn-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.learn-header__inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 10px 18px;
}
.learn-brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text); }
.learn-brand__mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--primary); color: #fff; font-weight: 800;
  display: grid; place-items: center; font-size: 16px;
}
.learn-brand__name { font-weight: 700; font-size: 15px; }
.learn-header__right { display: flex; align-items: center; gap: 12px; }
.learn-user { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); text-decoration: none; padding: 5px 8px; border-radius: 8px; }
.learn-user:hover { background: var(--surface-2); color: var(--text); }
.learn-user i { width: 16px; height: 16px; }
.learn-logout { color: var(--text-muted); display: inline-grid; place-items: center; padding: 6px; border-radius: 8px; }
.learn-logout:hover { background: var(--surface-2); color: var(--text); }

.learn-progress { display: flex; align-items: center; gap: 8px; min-width: 120px; }
.learn-progress__bar { flex: 1; height: 8px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.learn-progress__bar span { display: block; height: 100%; background: var(--success); border-radius: 99px; transition: width .35s ease; }
.learn-progress__num { font-size: 12px; font-weight: 700; color: var(--success); min-width: 34px; text-align: right; }

.learn-body { display: flex; flex-direction: column; min-height: 100vh; padding-bottom: 0; }
.learn-main { flex: 1 0 auto; }
.learn-footer { border-top: 1px solid var(--line); background: var(--surface); margin-top: 40px; flex-shrink: 0; }
.learn-footer__inner { max-width: var(--container); margin: 0 auto; padding: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px 18px; color: var(--text-muted); flex-wrap: wrap; }

/* ---------- ランディング ---------- */
.learn-hero { background: linear-gradient(180deg, var(--primary-soft), var(--bg-2)); }
.learn-hero__inner { max-width: 820px; margin: 0 auto; padding: 64px 20px 56px; text-align: center; }
.learn-hero__eyebrow { color: var(--primary); font-weight: 700; font-size: 13px; letter-spacing: .04em; margin: 0 0 12px; }
.learn-hero__title { font-size: clamp(26px, 5vw, 40px); line-height: 1.3; margin: 0 0 18px; font-weight: 800; }
.learn-hero__lead { font-size: 16px; color: var(--text-muted); max-width: 620px; margin: 0 auto 28px; }
.learn-hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.learn-hero__note { margin: 18px 0 0; font-size: 13px; color: var(--text-muted); }

.learn-plans__inner { max-width: var(--container); margin: 0 auto; padding: 48px 20px; }
.learn-sec-title { text-align: center; font-size: 22px; font-weight: 800; margin: 0 0 28px; }
.learn-plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 720px; margin: 0 auto; }
.learn-plan {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px; box-shadow: var(--shadow); text-align: center;
}
.learn-plan--feature { border-color: var(--primary); box-shadow: 0 8px 24px rgba(255,90,54,.12); }
.learn-plan__icon { width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
.learn-plan h3 { margin: 0 0 8px; font-size: 17px; }
.learn-plan__price { font-size: 26px; font-weight: 800; color: var(--text); margin: 0 0 10px; }
.learn-plan__price span { display: inline; font-size: 12px; font-weight: 500; color: var(--text-muted); margin-left: 6px; }
.learn-plan__discount { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--primary); background: var(--primary-soft); border-radius: 99px; padding: 4px 12px; margin: 0 0 12px; }
.learn-plan__discount i { width: 14px; height: 14px; }
.learn-plan__desc { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.7; }
.learn-plans__foot { text-align: center; margin-top: 24px; }

/* ---------- 受講開始 / 認証カード ---------- */
.learn-enroll, .learn-auth { display: grid; place-items: center; padding: 56px 20px; }
.learn-enroll__card, .learn-auth__card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px 30px; box-shadow: var(--shadow-lg); text-align: center; max-width: 440px; width: 100%;
}
.learn-enroll__icon, .learn-auth__icon { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
.learn-enroll__card h1, .learn-auth__card h1 { font-size: 21px; margin: 0 0 8px; }
.learn-auth__card .form { text-align: left; margin-top: 20px; }
.learn-auth__error { background: var(--danger-soft); border: 1px solid var(--danger); border-radius: var(--radius); padding: 12px 16px; margin: 16px 0 0; text-align: left; }
.learn-auth__error p { margin: 0; font-size: 13px; color: var(--danger); }

/* ---------- 学習レイアウト（目次＋本編） ---------- */
.learn-layout { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 280px 1fr; gap: 24px; padding: 24px 18px 40px; align-items: start; }
.learn-content { min-width: 0; }

/* 目次 */
.learn-side-col { position: sticky; top: 70px; display: flex; flex-direction: column; height: calc(100vh - 90px); }
.learn-toc { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.learn-fresh--standalone { margin: 14px 0 0; box-shadow: var(--shadow); flex-shrink: 0; }
.learn-toc__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); flex-shrink: 0; }
.learn-toc__course { font-weight: 700; font-size: 13px; }
.learn-toc__close { display: none; background: none; border: none; color: var(--text-muted); cursor: pointer; }
.learn-toc__list { display: flex; flex-direction: column; padding: 8px; flex: 1 1 0; min-height: 0; overflow-y: auto; }
.learn-toc__item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius); text-decoration: none; color: var(--text); transition: background .15s; }
.learn-toc__item:hover { background: var(--surface-2); }
.learn-toc__item.is-current { background: var(--primary-soft); }
.learn-toc__check { color: var(--line-strong); display: inline-grid; place-items: center; flex-shrink: 0; }
.learn-toc__check i { width: 18px; height: 18px; }
.learn-toc__item.is-done .learn-toc__check { color: var(--success); }
.learn-toc__item.is-current .learn-toc__check { color: var(--primary); }
.learn-toc__txt { display: flex; align-items: baseline; gap: 7px; flex: 1; min-width: 0; }
.learn-toc__no { font-size: 11px; font-weight: 700; color: var(--text-muted); flex-shrink: 0; }
.learn-toc__name { font-size: 13px; line-height: 1.4; }
.learn-toc__item.is-current .learn-toc__name { font-weight: 700; }
.learn-toc__frac { font-size: 11px; color: var(--text-muted); flex-shrink: 0; font-variant-numeric: tabular-nums; }

/* 本編 */
.learn-stage { min-width: 0; }
.learn-toc-toggle { display: none; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 14px; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 14px; cursor: pointer; }
/* スライドフレーム（矢印+カードのラッパー） */
.learn-slide-frame { position: relative; }
.learn-slide-arrow { position: static; transform: none; height: 32px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 3px rgba(0,0,0,.10); display: inline-flex; align-items: center; gap: 5px; cursor: pointer; color: var(--text); z-index: 4; padding: 0 12px; font-size: 13px; font-weight: 600; line-height: 1; transition: background .15s, opacity .15s; }
.learn-slide-arrow:hover { background: var(--surface-2); }
.learn-slide-arrow[disabled] { opacity: .3; cursor: not-allowed; pointer-events: none; }
.learn-slide-arrow__txt { white-space: nowrap; }
.learn-slide-arrow i, .learn-slide-arrow svg { width: 16px; height: 16px; }

/* スライドカード */
/* レッスン見出しの先頭にClaudeマークを付与 — LMS_LESSON_TITLE_ICON_2026_06 */
.learn-lesson-title { display: flex; align-items: center; gap: 10px; font-size: calc(24px * var(--lms-scale, 1)); font-weight: 800; margin: 0 0 calc(14px * var(--lms-scale, 1)); padding-bottom: calc(12px * var(--lms-scale, 1)); border-bottom: 1px solid var(--line); line-height: 1.35; }
.learn-lesson-title::before { content: ""; flex: 0 0 auto; width: 26px; height: 26px; background: url("../img/claude-favicon.svg") no-repeat center / contain; }

/* スライド：背景はAnthropic公式(anthropic.com)のivory #faf9f5 に統一 — LMS_SLIDE_BG_ANTHROPIC_2026_06 */
/* A4横(297:210)比率を固定。スライドの文字サイズは JS(fitSlide) が枠に収まるよう
   --lms-scale で自動調整する。窓を変えると枠が変わり→スケールも変わる=文字サイズが変わって
   常に枠に収まり、下スクロールが出ない — LMS_SLIDE_FIT_2026_07_06 */
.learn-slides { --lms-scale: 1; background: #faf9f5; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: calc(28px * var(--lms-scale, 1)) 32px calc(40px * var(--lms-scale, 1)); aspect-ratio: 297 / 210; overflow-y: auto; position: relative; }
/* 右下にClaudeマークを薄く配置（3倍・白っぽい淡色・はみ出さず内側）— LMS_SLIDE_WATERMARK_2026_06
   ※色は白側へ寄せるため brightness↑ saturate↓ で淡色化 */
.learn-slide-frame::after { content: ""; position: absolute; right: 12px; bottom: 16px; width: 276px; height: 276px; background: url("../img/claude-mark.svg") no-repeat center / contain; opacity: .05; filter: brightness(2) saturate(.32); pointer-events: none; z-index: 1; }
.learn-slide { display: none; }
.learn-slide.is-active { display: block; animation: lmsFade .25s ease; }
.learn-slide-count-inner { position: absolute; bottom: 18px; right: 24px; font-size: 12px; color: var(--text-muted); font-variant-numeric: tabular-nums; pointer-events: none; }
/* スライド本文をマウスで選択したときのハイライトを蛍光黄色に — LMS_SLIDE_SELECTION_2026_07_07 */
.learn-slides ::selection { background: #fff200; color: #1a1a1a; }
.learn-slides ::-moz-selection { background: #fff200; color: #1a1a1a; }
@keyframes lmsFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.lms-h { margin: 0 0 calc(16px * var(--lms-scale, 1)); line-height: 1.35; }
h2.lms-h { font-size: calc(20px * var(--lms-scale, 1)); font-weight: 700; }
h3.lms-h { font-size: calc(19px * var(--lms-scale, 1)); font-weight: 700; }
h4.lms-h, h5.lms-h { font-size: calc(16px * var(--lms-scale, 1)); font-weight: 700; }
.learn-slide p { font-size: calc(16px * var(--lms-scale, 1)); line-height: 1.85; margin: 0 0 calc(14px * var(--lms-scale, 1)); }
.lms-ul { margin: 0 0 calc(16px * var(--lms-scale, 1)); padding-left: 22px; }
.lms-ul li { font-size: calc(16px * var(--lms-scale, 1)); line-height: 1.8; margin-bottom: calc(6px * var(--lms-scale, 1)); }
.lms-ic { background: var(--surface-2); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.88em; color: var(--primary); }
.lms-code-wrap { position: relative; margin: 0 0 calc(16px * var(--lms-scale, 1)); }
.lms-code { background: #1a1f2e; color: #e8edf6; border-radius: var(--radius); padding: 16px 18px; overflow-x: auto; margin: 0; }
.lms-code code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: calc(13.5px * var(--lms-scale, 1)); line-height: 1.7; white-space: pre; }
.lms-copy-btn { position: absolute; top: 7px; right: 8px; padding: 2px 9px; font-size: 11px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 4px; cursor: pointer; color: #b0bac8; line-height: 1.6; transition: background .15s, color .15s; }
.lms-copy-btn:hover { background: rgba(255,255,255,.18); color: #fff; }
.lms-copy-btn.copied { background: rgba(46,125,50,.35); color: #a5d6a7; border-color: rgba(165,214,167,.4); }
/* overflow:hidden は付けない → セル内の用語ツールチップ(.lms-tip)が切れるため。角丸は角セル個別で表現する。TOOLTIP_CLIP_FIX_2026_07_14 */
.lms-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 0 0 calc(16px * var(--lms-scale, 1)); font-size: calc(15px * var(--lms-scale, 1)); border: 1px solid var(--line); border-radius: 8px; }
.lms-table th, .lms-table td { padding: 9px 14px; text-align: left; line-height: 1.5; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.lms-table th:last-child, .lms-table td:last-child { border-right: none; }
.lms-table tr:last-child td { border-bottom: none; }
/* 角丸を overflow:hidden なしで再現（四隅のセルだけ丸める） */
.lms-table thead tr:first-child th:first-child { border-top-left-radius: 8px; }
.lms-table thead tr:first-child th:last-child { border-top-right-radius: 8px; }
.lms-table tbody tr:last-child td:first-child { border-bottom-left-radius: 8px; }
.lms-table tbody tr:last-child td:last-child { border-bottom-right-radius: 8px; }
.lms-table thead th { background: var(--surface-2); font-weight: 700; font-size: 13px; }
.lms-table thead th a { display: inline-flex; align-items: center; }
.lms-table tbody tr:nth-child(even) { background: var(--bg-2); }
.lms-favicon { width: 18px; height: 18px; vertical-align: -4px; margin-right: 6px; border-radius: 4px; }

/* ニュースカード(OGP) NEWSCARD_2026_07_01 */
.lms-newscard { display: flex; align-items: stretch; margin: 14px 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .2s ease, transform .2s ease; }
.lms-newscard:hover { box-shadow: 0 8px 24px rgba(0,0,0,.10); transform: translateY(-1px); }
.learn-slide a.lms-newscard, .learn-slide a.lms-newscard:hover { text-decoration: none; opacity: 1; }
.lms-newscard__img { width: 172px; min-width: 172px; height: 116px; object-fit: cover; background: var(--surface-2); }
.lms-newscard__body { display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 12px 16px; min-width: 0; }
.lms-newscard__src { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--primary); }
.lms-newscard__fav { width: 16px; height: 16px; border-radius: 4px; flex: none; }
.lms-newscard__title { font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.5; }
.lms-newscard__cta { font-size: 12px; color: var(--text-muted); }
@media (max-width: 520px) {
  .lms-newscard { flex-direction: column; }
  .lms-newscard__img { width: 100%; min-width: 0; height: 160px; }
}

/* 用語ツールチップ（用語名を見出し＋解説＋タグ） GLOSSARY_2026_07_02 */
.lms-term { position: relative; border-bottom: 1px dotted var(--primary); cursor: help; }
.lms-tip {
  position: absolute; left: 0; top: calc(100% + 9px);
  width: max-content; max-width: 300px;
  background: #1a1f2e; padding: 11px 13px; border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease;
  z-index: 50; pointer-events: none; text-align: left; white-space: normal;
}
.lms-tip__h { display: block; font-weight: 800; font-size: 13.5px; color: #fff; margin: 0 0 5px; }
.lms-tip__b { display: block; font-weight: 500; font-size: 12.5px; line-height: 1.7; color: #dfe3ea; }
.lms-tip__tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.lms-tip__tag { font-size: 10.5px; font-weight: 700; color: #cbd3df; background: rgba(255,255,255,.10); border-radius: 999px; padding: 2px 8px; }
.lms-tip::before { content: ""; position: absolute; left: 14px; top: -5px; border: 5px solid transparent; border-bottom-color: #1a1f2e; }
.lms-term:hover .lms-tip, .lms-term:focus .lms-tip, .lms-term:focus-within .lms-tip, .lms-tip:hover { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.learn-slide a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.learn-slide a:hover { opacity: .75; }


/* タスクリスト */
.learn-tasks { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 22px 24px; margin-top: 22px; }
.learn-tasks__title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; margin: 0 0 14px; }
.learn-tasks__title i { width: 18px; height: 18px; color: var(--primary); }
.learn-task-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.learn-task__label { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--radius); cursor: pointer; transition: background .15s; }
.learn-task__label:hover { background: var(--surface-2); }
.learn-task__cb { position: absolute; opacity: 0; width: 0; height: 0; }
.learn-task__box { width: 20px; height: 20px; flex-shrink: 0; display: flex; }
.learn-task__icon--un, .learn-task__icon--done { width: 20px; height: 20px; }
.learn-task__icon--un { color: var(--text-muted); }
.learn-task__icon--done { color: var(--success); display: none; }
.learn-task.is-done .learn-task__icon--un { display: none; }
.learn-task.is-done .learn-task__icon--done { display: block; }
.learn-task__text { font-size: 15px; line-height: 1.5; }
.learn-task.is-done .learn-task__text { color: var(--text-muted); text-decoration: line-through; }
.learn-task--note { padding: 11px 12px; border-radius: var(--radius); }
.learn-task__label--note { cursor: default; padding: 0; margin-bottom: 8px; }
.learn-task--note.is-done .learn-task__text { text-decoration: none; }
.learn-task__note { width: 100%; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 10px 12px; font: inherit; font-size: 14px; resize: vertical; }
.learn-task__note:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-soft); }
.learn-task__note-hint { margin: 6px 0 0; }

/* ---------- 受講生管理（dashboard/students.php・studio.css前提） ---------- */
.page-head { margin-bottom: 20px; }
.page-title { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; margin: 0 0 4px; }
.page-title i { color: var(--primary); }
.stu-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 14px; margin-bottom: 28px; }
.stu-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 18px; box-shadow: var(--shadow); }
.stu-card__label { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); font-weight: 600; }
.stu-card__label i, .stu-card__label svg { width: 15px; height: 15px; flex-shrink: 0; display: block; }
.stu-card__num { font-size: 1.6rem; font-weight: 700; color: var(--text); line-height: 1.1; text-align: left; }
.stu-card__num small { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.stu-card__label { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.stu-card__num { font-size: 28px; font-weight: 800; }
.stu-card__num small { font-size: 14px; font-weight: 600; color: var(--text-muted); margin-left: 3px; }
.stu-table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow-x: auto; }
.stu-table { width: 100%; border-collapse: collapse; min-width: 680px; }
.stu-table th { text-align: left; font-size: 12px; color: var(--text-muted); font-weight: 600; padding: 13px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.stu-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.stu-table tr:last-child td { border-bottom: none; }
.stu-name { font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.stu-badge { font-size: 10px; padding: 2px 7px; border-radius: 99px; font-weight: 700; }
.stu-badge--client { background: var(--accent-soft); color: var(--accent); }
.stu-prog { display: flex; align-items: center; gap: 8px; min-width: 130px; }
.stu-prog__bar { flex: 1; height: 8px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.stu-prog__bar span { display: block; height: 100%; background: var(--success); border-radius: 99px; }
.stu-prog__num { font-size: 12px; font-weight: 700; min-width: 36px; text-align: right; font-variant-numeric: tabular-nums; }
.stu-col-num, .stu-col-date { white-space: nowrap; }

/* ---------- ① 鮮度シグナル＋更新履歴（目次下・角丸インセットカード） ---------- */
.learn-fresh { margin: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.learn-fresh__badge { width: 100%; display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: transparent; border: none; color: var(--success); font-size: 12px; font-weight: 700; cursor: pointer; text-align: left; }
.learn-fresh__badge:hover { background: var(--success-soft); }
.learn-fresh__badge i { width: 15px; height: 15px; flex-shrink: 0; }
.learn-fresh__badge span { flex: 1; }
.learn-fresh__chev { color: var(--text-muted); transition: transform .2s; }
.learn-fresh__badge.is-open .learn-fresh__chev { transform: rotate(180deg); }
.learn-fresh__panel { padding: 10px 12px 12px; max-height: 240px; overflow-y: auto; border-top: 1px solid var(--line); }
.learn-fresh__empty { margin: 0; line-height: 1.6; }
.learn-fresh__item { padding: 9px 0; border-bottom: 1px dashed var(--line); }
.learn-fresh__item:first-child { padding-top: 2px; }
.learn-fresh__item:last-child { border-bottom: none; padding-bottom: 0; }
.learn-fresh__date { font-size: 11px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.learn-fresh__title { font-size: 13px; font-weight: 600; margin: 2px 0; }
.learn-fresh__body { font-size: 12px; color: var(--text-muted); line-height: 1.6; }

/* サイドのプロフィールリンク */
.learn-side-profile { display: flex; align-items: center; gap: 10px; margin: 8px; padding: 9px 11px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: background .15s, border-color .15s; }
.learn-side-profile:hover { background: var(--surface-2); }
.learn-side-profile.is-current { background: var(--primary-soft); border-color: var(--primary-2); }
.learn-side-profile__avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); color: var(--text-muted); display: grid; place-items: center; flex-shrink: 0; }
.learn-side-profile.is-current .learn-side-profile__avatar { background: var(--primary-soft); color: var(--primary); }
.learn-side-profile__avatar i { width: 18px; height: 18px; }
.learn-side-profile__name { flex: 1; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.learn-side-profile__chev { width: 16px; height: 16px; color: var(--text-muted); flex-shrink: 0; }
.learn-side-org { display: flex; align-items: center; gap: 10px; margin: 4px 8px 8px; padding: 9px 11px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: background .15s, border-color .15s; }
.learn-side-org:hover { background: var(--surface-2); }
.learn-side-org.is-current { background: var(--primary-soft); border-color: var(--primary-2); }
.learn-side-org__icon { width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); color: var(--text-muted); display: grid; place-items: center; flex-shrink: 0; }
.learn-side-org__icon i { width: 18px; height: 18px; }
.learn-side-org__name { flex: 1; font-size: 13px; font-weight: 600; }
.learn-side-org__chev { width: 16px; height: 16px; color: var(--text-muted); flex-shrink: 0; }

/* ---------- Org モーダル共通 ---------- */
.org-modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1200; display: none; align-items: center; justify-content: center; padding: 20px; }
.org-modal-backdrop.is-open { display: flex; }
.org-modal { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 32px 28px 24px; max-width: 420px; width: 100%; text-align: center; }
.org-modal--wide { max-width: 540px; }
.org-modal__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--surface-2); color: var(--primary); display: grid; place-items: center; margin: 0 auto 16px; }
.org-modal__icon--danger { background: #fff1f0; color: var(--danger, #d32f2f); }
.org-modal__icon i { width: 26px; height: 26px; }
.org-modal__title { font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.org-modal__body { font-size: 14px; color: var(--text-muted); margin: 0 0 24px; line-height: 1.6; }
.org-modal__actions { display: flex; gap: 10px; justify-content: center; margin-top: 24px; }
.btn--danger { background: var(--danger, #d32f2f); color: #fff; border: none; }
.btn--danger:hover { background: #b71c1c; }
/* ---------- Org 招待フォーム ---------- */
.org-invite-form { margin-top: 16px; }
.org-invite-form__fields { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.org-invite-form__field { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 180px; }
.org-invite-form__field--sm { flex: 0 0 120px; min-width: 120px; }
.org-invite-form__foot { display: flex; align-items: center; }
.form-label { font-size: 13px; font-weight: 600; color: var(--text); }
.form-label__opt { font-size: 11px; font-weight: 400; color: var(--text-muted); margin-left: 6px; }
/* ---------- Org ロールバッジ ---------- */
.stu-badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 600; background: var(--surface-2); color: var(--text-muted); }
.stu-badge--owner { background: #fff8e1; color: #b45309; }
/* ---------- Org アクション列 ---------- */
.org-actions { white-space: nowrap; text-align: center; }
.org-actions .btn { vertical-align: middle; }
/* ---------- Org 設定セクション ---------- */
.org-settings { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.org-setting-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.org-setting-row__info strong { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.org-setting-row__info strong i { width: 17px; height: 17px; color: var(--text-muted); }
.org-setting-row__info p { margin: 4px 0 0; }
.org-card-toggle { display: inline-flex; align-items: center; gap: 8px; background: none; border: none; padding: 4px 6px; font-size: 14px; font-weight: 700; color: var(--text-muted); cursor: pointer; transition: color .15s; flex-shrink: 0; }
.org-card-toggle i { width: 30px; height: 30px; }
.org-card-toggle.is-on { color: var(--primary); }
.org-card-toggle:hover { color: var(--text); }
/* ---------- Org 招待フォーム入力 ---------- */
.form-input { width: 100%; background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 14px; color: var(--text); font-family: inherit; font-size: 0.95rem; transition: all .15s ease; }
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,90,54,.12); }
.org-invite-form textarea.form-input { resize: vertical; min-height: 88px; }
.org-invite-form__foot { margin-top: 16px; }
.org-invite-to { display: inline-flex; align-items: center; gap: 5px; }
.org-invite-to i { width: 14px; height: 14px; color: var(--text-muted); }
/* ---------- Org ロール選択 ---------- */
.org-role-form { margin: 0; }
.org-role-select { font-size: 12px; font-weight: 600; padding: 4px 26px 4px 10px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center; color: var(--text); cursor: pointer; appearance: none; -webkit-appearance: none; transition: border-color .15s; }
.org-role-select:hover { border-color: var(--line-strong); }
.org-role-select:focus { outline: none; border-color: var(--primary); }
/* ---------- Org アクションタグ ---------- */
.org-act-tag { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 600; }
.org-act-tag--in { background: var(--primary-soft); color: var(--primary); }
.org-act-tag--out { background: var(--surface-2); color: var(--text-muted); }
/* ---------- Org ヘッダーアイコン ---------- */
.org-head { display: flex; align-items: center; gap: 14px; }
.org-head__icon { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; flex-shrink: 0; border: 1px solid var(--line); }
.org-head__icon--ph { display: grid; place-items: center; background: var(--surface-2); color: var(--text-muted); }
.org-head__icon--ph i { width: 26px; height: 26px; }
/* ---------- Org チーム情報フォーム ---------- */
.org-team-form, .org-invite-form { margin-top: 12px; }
.org-team-form:hover, .org-invite-form:hover { border-color: var(--line); }
.org-team-form__row { display: flex; gap: 18px; align-items: flex-start; }
.org-team-icon { position: relative; width: 80px; height: 80px; border-radius: 16px; flex-shrink: 0; cursor: pointer; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); transition: border-color .15s, box-shadow .15s; }
.org-team-icon.is-dragover { border-color: var(--primary); border-style: dashed; box-shadow: 0 0 0 3px rgba(255,90,54,.15); }
.org-team-icon.is-dragover .org-team-icon__ph { color: var(--primary); }
.org-team-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.org-team-icon img[hidden] { display: none; }
.org-team-icon__ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--text-muted); }
.org-team-icon__ph[hidden] { display: none; }
.org-team-icon__ph i { width: 30px; height: 30px; }
.org-team-icon__edit { position: absolute; right: 4px; bottom: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }
.org-team-icon__edit i { width: 13px; height: 13px; }
.org-team-form__fields { flex: 1; min-width: 0; }
.org-team-form__foot { margin-top: 16px; }
/* ---------- Org 名前リンク ---------- */
.stu-name--link { background: none; border: none; padding: 0; font: inherit; font-weight: 600; color: var(--text); cursor: pointer; text-align: left; transition: color .15s; }
.stu-name--link:hover { color: var(--primary); text-decoration: underline; }
/* ---------- Org プロフィールモーダル ---------- */
.org-modal { position: relative; }
.org-modal__x { position: absolute; top: 14px; right: 14px; background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 4px; }
.org-modal__x:hover { color: var(--text); }
.org-modal__x i { width: 20px; height: 20px; }
.org-prof-head { display: flex; align-items: center; gap: 16px; text-align: left; margin-bottom: 20px; }
.org-prof-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-size: 24px; font-weight: 700; flex-shrink: 0; }
.org-prof-id { min-width: 0; }
.org-prof-name { font-size: 17px; font-weight: 700; }
.org-prof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.org-prof-stat { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; background: var(--surface); text-align: left; }
.org-prof-stat__label { font-size: 11px; color: var(--text-muted); font-weight: 600; }
.org-prof-stat__val { font-size: 15px; font-weight: 700; color: var(--text); }

/* ---------- ② コミュニティ（質問・共有） ---------- */
.learn-community { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 22px 24px; margin-top: 22px; scroll-margin-top: 80px; }
.learn-community__title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; margin: 0 0 4px; }
.learn-community__title i { width: 18px; height: 18px; color: var(--accent); }
.learn-community__sub { margin: 0 0 16px; }
.learn-feed { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.learn-feed__item { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; border-left: 3px solid var(--line-strong); }
.learn-feed__item--q { border-left-color: var(--accent); }
.learn-feed__item--share { border-left-color: var(--success); }
.learn-feed__meta { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.learn-feed__kind { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); }
.learn-feed__item--share .learn-feed__kind { background: var(--success-soft); color: var(--success); }
.learn-feed__author { font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.learn-feed__teacher { font-size: 10px; font-weight: 700; padding: 1px 7px; border-radius: 99px; background: var(--primary-soft); color: var(--primary); }
.learn-feed__del { margin-left: auto; }
.learn-feed__del button { background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 2px; }
.learn-feed__del button:hover { color: var(--danger); }
.learn-feed__body { font-size: 14px; line-height: 1.7; white-space: pre-wrap; word-break: break-word; }
.learn-feed__empty { padding: 6px 0; }
.learn-post-form { border-top: 1px solid var(--line); padding-top: 16px; }
.learn-post-form__row { display: flex; gap: 18px; margin-bottom: 10px; }
.learn-post-kind { font-size: 13px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.learn-post-kind input[type=radio] { width: auto; flex-shrink: 0; }
.learn-post-form textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 11px 13px; font: inherit; font-size: 14px; resize: vertical; margin-bottom: 10px; }
.learn-post-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }

/* ---------- 先生ダッシュボード 追加セクション ---------- */
.page-head--row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.stu-head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.stu-section { margin-top: 30px; }
.stu-section__title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; margin: 0 0 6px; }
.stu-section__title i { width: 18px; height: 18px; color: var(--primary); }
.stu-posts { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.stu-post { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; border-left: 3px solid var(--line-strong); }
.stu-post--q { border-left-color: var(--accent); }
.stu-post--share { border-left-color: var(--success); }
.stu-post__head { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; flex-wrap: wrap; }
.stu-post__author { font-weight: 600; font-size: 13px; }
.stu-post__body { line-height: 1.6; white-space: pre-wrap; }

/* ---------- L4: 顧問/受託への導線 ---------- */
.learn-cta { margin: 8px; padding: 14px; border-radius: var(--radius); background: var(--primary-soft); border: 1px solid var(--primary-2); }
.learn-cta__label { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--primary); }
.learn-cta__label i { width: 15px; height: 15px; }
.learn-cta__text { font-size: 12px; color: var(--text-muted); margin: 6px 0 10px; line-height: 1.6; }
.learn-cta__btn { width: 100%; justify-content: center; }

.learn-complete { display: flex; align-items: center; gap: 14px; background: linear-gradient(90deg, var(--primary-soft), var(--surface)); border: 1px solid var(--primary-2); border-radius: var(--radius-lg); padding: 16px 20px; margin-bottom: 18px; flex-wrap: wrap; }
.learn-complete__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--primary); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.learn-complete__txt { display: flex; flex-direction: column; flex: 1; min-width: 180px; }
.learn-complete__txt strong { font-size: 15px; }
.learn-complete__txt span { font-size: 13px; color: var(--text-muted); }

/* 相談ページ */
.learn-consult { padding: 40px 18px; }
.learn-consult__inner { max-width: 1080px; margin: 0 auto; }
.learn-consult__head { text-align: center; margin-bottom: 26px; }
.learn-consult__head h1 { font-size: 24px; font-weight: 800; margin: 0 0 8px; }
.learn-plan-grid--consult { max-width: 100%; margin: 0 auto 28px; }
.learn-consult__form { max-width: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 26px 24px; }
.learn-consult__form input[type=text], .learn-consult__form input[type=email], .learn-consult__form textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 11px 13px; font: inherit; font-size: 14px; }
.learn-consult__form textarea { resize: vertical; }
.learn-consult__form input:focus, .learn-consult__form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-soft); }
.learn-consult__done { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 40px 30px; max-width: 460px; margin: 0 auto; }
.learn-consult__done h1 { font-size: 21px; margin: 8px 0; }
.learn-consult__done .learn-enroll__icon { background: var(--success-soft); color: var(--success); }

/* ---------- 受講者プロフィール ---------- */
.learn-profile { padding: 40px 18px; }
.learn-profile__inner { max-width: 560px; margin: 0 auto; }
.learn-profile__hero { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.learn-profile__avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; flex-shrink: 0; overflow: hidden; }
.learn-profile__avatar i { width: 34px; height: 34px; }
.learn-profile__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.learn-profile__avatar img[hidden] { display: none; }
.learn-profile__avatar span[hidden] { display: none; }
.learn-profile__avatar--edit { position: relative; cursor: pointer; transition: box-shadow .15s; }
.learn-profile__avatar--edit > span:not(.learn-profile__avatar-edit) { width: 100%; height: 100%; display: grid; place-items: center; }
.learn-profile__avatar-edit { position: absolute; right: -2px; bottom: -2px; width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; border: 2px solid var(--surface); }
.learn-profile__avatar-edit i { width: 11px; height: 11px; }
.learn-profile__avatar--edit.is-dragover { box-shadow: 0 0 0 3px rgba(255,90,54,.3); }
/* 基本情報のアバターピッカー */
.learn-avatar-row { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.learn-avatar-pick { position: relative; width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0; cursor: pointer; overflow: hidden; border: 1px solid var(--line); background: var(--primary-soft); color: var(--primary); transition: box-shadow .15s; }
.learn-avatar-pick img { width: 100%; height: 100%; object-fit: cover; display: block; }
.learn-avatar-pick img[hidden] { display: none; }
.learn-avatar-pick > span:not(.learn-profile__avatar-edit) { width: 100%; height: 100%; display: grid; place-items: center; }
.learn-avatar-pick > span:not(.learn-profile__avatar-edit)[hidden] { display: none; }
.learn-avatar-pick > span:not(.learn-profile__avatar-edit) i { width: 34px; height: 34px; }
.learn-avatar-pick.is-dragover { box-shadow: 0 0 0 3px rgba(255,90,54,.3); }
.learn-avatar-row__hint { min-width: 0; }
.learn-profile__name { font-size: 22px; font-weight: 800; margin: 0 0 2px; }
.learn-profile__hero p { margin: 0; }
.learn-header-avatar { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; vertical-align: -4px; border: 1px solid var(--line); }
.learn-header-avatar--sq { border-radius: 5px; }
/* パスワード表示切替 */
.pw-wrap { position: relative; }
.pw-wrap input { width: 100%; padding-right: 44px; }
.pw-toggle { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); background: none; border: none; padding: 6px; color: var(--text-muted); cursor: pointer; display: grid; place-items: center; border-radius: var(--radius); }
.pw-toggle:hover { color: var(--text); background: var(--surface-2); }
.pw-toggle i { width: 18px; height: 18px; }
.learn-profile__progress { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 18px 20px; margin-bottom: 18px; }
.learn-profile__prog-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-weight: 600; font-size: 14px; }
.learn-profile__prog-num { color: var(--success); font-weight: 800; }
.learn-profile__ok { display: flex; align-items: center; gap: 8px; background: var(--success-soft); color: var(--success); border: 1px solid var(--success); border-radius: var(--radius); padding: 11px 15px; margin-bottom: 14px; font-size: 14px; }
.learn-profile__ok i { width: 17px; height: 17px; }
.learn-profile__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 22px 24px; margin-bottom: 18px; }
.learn-profile__h2 { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; margin: 0 0 16px; }
.learn-profile__h2 i { width: 18px; height: 18px; color: var(--primary); }
.learn-profile__card input { width: 100%; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 11px 13px; font: inherit; font-size: 14px; }
.learn-profile__card input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-soft); }
.learn-profile__logout { color: var(--text-muted); text-decoration: none; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.learn-profile__logout:hover { color: var(--danger); }
.learn-profile__logout i { width: 15px; height: 15px; }

/* ---------- 紹介プログラム カード（プロフィール） ---------- */
.learn-refcard { background: linear-gradient(160deg, var(--primary-soft), var(--surface)); border: 1px solid var(--primary-2); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 22px 24px; margin-bottom: 18px; }
.learn-refcard__head { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: var(--primary); }
.learn-refcard__head i { width: 18px; height: 18px; }
.learn-refcard__lead { font-size: 13px; line-height: 1.7; color: var(--text); margin: 10px 0 16px; }
.learn-refcard__codebox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.learn-refcard__label { font-size: 11px; font-weight: 700; color: var(--text-muted); }
.learn-refcard__coderow { display: flex; align-items: center; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.learn-refcard__code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 20px; font-weight: 800; letter-spacing: 0.06em; color: var(--text); background: var(--surface-2); border-radius: 8px; padding: 4px 12px; }
.learn-refcard__stats { display: flex; gap: 12px; margin-top: 14px; }
.learn-refcard__stat { flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; text-align: center; }
.learn-refcard__num { display: block; font-size: 22px; font-weight: 800; }
.learn-refcard__statlabel { font-size: 11px; color: var(--text-muted); }
.learn-refcard__perk { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; padding: 10px 14px; background: var(--surface); border: 1px solid var(--success); border-radius: var(--radius); font-size: 13px; }
.learn-refcard__perk i { width: 16px; height: 16px; color: var(--success); flex-shrink: 0; }
.learn-refcard__list { margin-top: 12px; font-size: 13px; }
.learn-refcard__list summary { cursor: pointer; font-weight: 600; }
.learn-refcard__listitem { padding: 6px 0 0; }
.learn-refcard__note { margin: 12px 0 0; }

/* ---------- 講座リクエスト ---------- */
.learn-req-list { margin-top: 4px; }
.learn-req-list__label { margin: 16px 0 8px; }
.learn-req-item { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.learn-req-body { flex: 1; min-width: 60%; font-size: 14px; line-height: 1.6; white-space: pre-wrap; }
.learn-req-date { flex-shrink: 0; }
.learn-req-status { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 99px; flex-shrink: 0; }
.learn-req-status--accent { background: var(--accent-soft); color: var(--accent); }
.learn-req-status--warn { background: var(--warn-soft); color: var(--warn); }
.learn-req-status--success { background: var(--success-soft); color: var(--success); }
.learn-req-status--muted { background: var(--surface-2); color: var(--text-muted); }
.learn-req-actions { display: flex; align-items: center; gap: 8px; margin-top: 10px; }

/* ---------- 法的ページ（講座） ---------- */
.learn-legal { max-width: 820px; margin: 0 auto; padding: 32px 18px 8px; }
.learn-footer__links { display: flex; gap: 14px; flex-wrap: wrap; }
.learn-footer__links a { color: var(--text-muted); text-decoration: none; }
.learn-footer__links a:hover { color: var(--primary); text-decoration: underline; }

/* ---------- お支払い状況（生徒プロフィール） ---------- */
.learn-pay-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.learn-pay-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.learn-pay-label { flex: 1; font-size: 14px; }
.learn-pay-amt { font-weight: 700; font-variant-numeric: tabular-nums; }
.learn-pay-status { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.learn-pay-status.is-paid { background: var(--success-soft); color: var(--success); }
.learn-pay-status.is-unpaid { background: var(--warn-soft); color: var(--warn); }

/* ---------- 受講者カルテ（アンケート） ---------- */
.lms-survey-form .lms-survey-field { margin-bottom: 18px; }
.lms-survey-q { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.lms-survey-form input[type=text], .lms-survey-form input[type=number], .lms-survey-form input[type=email], .lms-survey-form select, .lms-survey-form textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 10px 12px; font: inherit; font-size: 14px; background: #fff; }
.lms-survey-form textarea { resize: vertical; }
.lms-survey-form input:focus, .lms-survey-form select:focus, .lms-survey-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-soft); }
.lms-survey-group { display: flex; flex-direction: column; gap: 8px; padding: 4px 0 0; }
.lms-survey-subfield { display: flex; align-items: center; gap: 10px; }
.lms-survey-sublabel { flex: 0 0 130px; font-size: 13px; color: var(--text-muted); }
.lms-survey-subfield input { flex: 1; }
.lms-survey-mode { display: flex; gap: 12px; margin-bottom: 8px; }
.lms-survey-mode__btn { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--surface); cursor: pointer; font: inherit; font-size: 13px; font-weight: 700; color: var(--text-muted); transition: border-color .15s, background .15s, color .15s; }
.lms-survey-mode__btn i { width: 22px; height: 22px; }
.lms-survey-mode__btn:hover { border-color: var(--primary); }
.lms-survey-mode__btn.is-selected { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.lms-survey-mode__hint { margin: 0 0 18px; }
.lms-survey-field.is-hidden { display: none; }

/* カルテ 読み取り表示 */
.lms-survey-view { margin: 0; }
.lms-survey-view dt { font-size: 12px; font-weight: 700; color: var(--text-muted); margin-top: 14px; }
.lms-survey-view dt:first-child { margin-top: 0; }
.lms-survey-view dd { margin: 4px 0 0; font-size: 14px; line-height: 1.7; white-space: pre-wrap; }
.lms-survey-sub { list-style: none; margin: 4px 0 0; padding: 0; }
.lms-survey-sub li { display: flex; gap: 10px; font-size: 14px; padding: 2px 0; }
.lms-survey-sub .lms-survey-sublabel { flex: 0 0 130px; }

/* 受講生一覧のリンク */
.stu-name-link { color: var(--text); text-decoration: none; font-weight: 600; }
.stu-name-link:hover { color: var(--primary); text-decoration: underline; }
.stu-karte-link { color: var(--accent); text-decoration: none; font-weight: 600; white-space: nowrap; }
.stu-karte-link:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .lms-survey-subfield { flex-direction: column; align-items: stretch; gap: 4px; }
  .lms-survey-sublabel { flex: none; }
  .lms-survey-sub li { flex-direction: column; gap: 2px; }
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 860px) {
  .learn-layout { grid-template-columns: 1fr; }
  /* LMS_MOBILE_TAP_FIX_2026_07_30
     この幅では .learn-toc が fixed のドロワーとして画面外へ抜けるため、親の .learn-side-col
     （sticky + height:calc(100vh - 90px)）だけが画面いっぱいの箱として residual に残り、
     本文の上に覆いかぶさって【タップが一切通らなくなる】。スマホで「クリックできない」の原因。
     ドロワー方式ではそもそも貼り付ける必要がないので、静的な流れに戻して高さも中身なりにする。 */
  .learn-side-col { position: static; height: auto; }
  .learn-toc {
    position: fixed; top: 0; left: 0; bottom: 0; width: 84%; max-width: 320px;
    z-index: 100; border-radius: 0; transform: translateX(-100%); transition: transform .25s ease;
  }
  .learn-toc.is-open { transform: translateX(0); box-shadow: var(--shadow-lg); }
  .learn-toc__close { display: inline-grid; place-items: center; }
  .learn-toc-toggle { display: inline-flex; }
  .learn-plan-grid { grid-template-columns: 1fr; }
  .learn-slides { padding: 20px 18px 36px; }
  .learn-slide-arrow { height: 30px; padding: 0 9px; font-size: 12px; }
  .stu-cards { grid-template-columns: 1fr; }
}

/* ---- 検索ボックス ---- */
.learn-search { position: relative; display: flex; align-items: center; }
.learn-search__icon { position: absolute; left: 11px; width: 15px; height: 15px; color: var(--text-muted); pointer-events: none; z-index: 1; }
.learn-search__input { height: 34px; padding: 0 14px 0 34px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; background: var(--surface-2); outline: none; width: 200px; transition: width .2s, border-color .2s; color: var(--text); }
.learn-search__input:focus { border-color: var(--primary); width: 280px; background: var(--surface); }
.learn-search__input::placeholder { color: var(--text-muted); }
.learn-search__results { position: absolute; top: calc(100% + 6px); left: 0; min-width: 300px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 8px 24px rgba(0,0,0,.12); list-style: none; margin: 0; padding: 6px; z-index: 300; }
.learn-search__hit { display: flex; align-items: center; gap: 8px; padding: 11px 12px; border-radius: var(--radius); cursor: pointer; }
.learn-search__hit:hover { background: var(--surface-2); }
.learn-search__hit--active { background: var(--primary-soft); outline: 2px solid var(--primary); outline-offset: -2px; }
.learn-search__num { font-size: 11px; font-weight: 700; color: var(--primary); background: var(--primary-soft); padding: 2px 7px; border-radius: 4px; flex-shrink: 0; white-space: nowrap; }
.learn-search__snip { font-size: 13px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.learn-search__snip mark { background: transparent; color: var(--primary); font-weight: 700; }
.learn-search__empty { padding: 10px 12px; font-size: 13px; color: var(--text-muted); text-align: center; }

/* ===== フォーカス/プレゼンモード（f キーで切替・黒背景でスライドのみ）— LMS_FOCUS_MODE_2026_06 ===== */
body.lms-focus { overflow: hidden; }
/* スライド以外をすべて隠す */
body.lms-focus .learn-header,
body.lms-focus .learn-footer,
body.lms-focus .learn-toc,
body.lms-focus .learn-toc-toggle,
body.lms-focus .learn-complete,
body.lms-focus .learn-tasks,
body.lms-focus .learn-community { display: none !important; }
body.lms-focus .learn-layout { display: block; }
body.lms-focus .learn-stage { margin: 0; padding: 0; }
/* 黒背景オーバーレイ＋スライドカードを中央に拡大 */
body.lms-focus .learn-slide-frame { position: fixed; inset: 0; z-index: 2000; background: #000; display: flex; align-items: center; justify-content: center; padding: 4vh 6vw; }
body.lms-focus .learn-slides { width: min(1400px, 92vw); max-height: 92vh; margin: 0; }
body.lms-focus .learn-slide-frame::after { display: none; }
/* プレゼン用の文字サイズは通常時と同じ cqw スケールに委譲（幅が広い分ぶん自動で大きくなる） */
/* 前へ/次へは下部バー内に配置（全画面でもバーごと表示） */
body.lms-focus .learn-slide-arrow { z-index: 2001; }
/* 戻り方のヒント */
body.lms-focus::after { content: "F / Esc で戻る"; position: fixed; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 2002; color: rgba(255,255,255,.45); font-size: 12px; letter-spacing: .04em; pointer-events: none; }

/* GLOSSARY link (公式サイト・別タブ) 2026-07-09 */
.lms-tip::after { content: ""; position: absolute; left: 0; right: 0; top: -11px; height: 11px; }
.lms-tip__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12px; font-weight: 700; color: #eaf0f8; text-decoration: none; }
.lms-tip__fav { width: 16px; height: 16px; border-radius: 4px; flex: 0 0 auto; background:#fff; }
.lms-tip__go { color: #9fd0ff; font-weight: 800; }
.lms-tip__link:hover { color: #fff; }
.lms-tip__link:hover .lms-tip__go { color: #cfe8ff; }

/* SLIDE bottom-right bar: audio + counter + focus 2026-07-10 */
.learn-slide-bar { position: absolute; bottom: 12px; right: 18px; display: inline-flex; align-items: center; gap: 9px; z-index: 4; }
.learn-slide-bar .learn-slide-count-inner { position: static; bottom: auto; right: auto; font-size: 12px; }
.learn-audio { display: inline-flex; align-items: stretch; height: 26px; box-sizing: border-box; border: 1px solid rgba(0,0,0,.13); border-radius: 999px; overflow: hidden; background: rgba(0,0,0,.03); }
.learn-audio__btn { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 800; color: var(--primary); background: transparent; border: none; padding: 3px 8px 3px 10px; cursor: pointer; }
.learn-audio__btn:hover { background: rgba(0,0,0,.05); }
.learn-audio__btn svg { width: 14px; height: 14px; }
.learn-audio__btn.is-playing { color: #fff; background: var(--primary); }
.learn-audio__voice { font-size: 10.5px; font-weight: 700; color: var(--text-muted); border: none; border-left: 1px solid rgba(0,0,0,.12); border-radius: 0; padding: 2px 7px; background: transparent; cursor: pointer; }
.learn-focus-btn { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 7px; border: 1px solid rgba(0,0,0,.11); background: rgba(0,0,0,.03); color: var(--text-muted); cursor: pointer; }
.learn-focus-btn:hover { background: rgba(0,0,0,.06); color: var(--primary); }
.learn-focus-btn svg { width: 15px; height: 15px; }
body.lms-focus .learn-audio { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.22); }
body.lms-focus .learn-audio__btn { color: #fff; }
body.lms-focus .learn-audio__voice { color: #fff; border-left-color: rgba(255,255,255,.22); }
body.lms-focus .learn-audio__voice option { color: #111; }
body.lms-focus .learn-slide-bar .learn-slide-count-inner { color: rgba(255,255,255,.85); }
body.lms-focus .learn-focus-btn { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.28); }

.learn-audio__btn:focus, .learn-audio__voice:focus, .learn-audio__voice:focus-visible, .learn-focus-btn:focus { outline: none; box-shadow: none; }

/* 領収書ダウンロードリンク（入金済の請求のみ） 2026-07-10 */
.learn-pay-receipt { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--primary); text-decoration: none; padding: 4px 10px; border: 1px solid var(--line); border-radius: 99px; white-space: nowrap; }
.learn-pay-receipt:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.learn-pay-receipt svg { width: 13px; height: 13px; }


/* ---- 受講生詳細: セクション別スティッキーサイドナビ ---- */
.stu-layout { display: grid; grid-template-columns: 1fr 210px; gap: 28px; align-items: start; }
.stu-main { order: 1; min-width: 0; }
.stu-section { scroll-margin-top: 84px; }
.stu-nav { order: 2; position: sticky; top: 84px; display: flex; flex-direction: column; gap: 2px; }
.stu-nav a { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--radius); color: var(--text-muted); font-size: 13px; font-weight: 600; text-decoration: none; line-height: 1.35; }
.stu-nav a:hover { background: var(--primary-soft); color: var(--primary); }
.stu-nav a svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 860px) {
  .stu-layout { grid-template-columns: 1fr; gap: 0; }
  .stu-nav { order: 0; position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
  .stu-nav a { padding: 6px 10px; background: var(--primary-soft); color: var(--primary); }
}


/* ---- セッション記録: 編集 details ---- */
.note-edit > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.note-edit > summary::-webkit-details-marker { display: none; }
.note-edit[open] > summary { margin-bottom: 4px; }

/* LMS_BOOKING_2026_07 次回の予定 予約ウィジェット */
.bk-lead { margin: -4px 0 12px; }
.bk-msg { font-size: 13px; color: var(--text-muted); margin: 0; }
.bk-note { margin-top: 12px; }
.bk-current { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
.bk-current__dt { font-size: 15px; font-weight: 700; color: var(--text); }
.bk-day { margin-top: 14px; }
.bk-day__label { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 7px; }
.bk-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-slot { border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 8px 13px; font-size: 13px; font-weight: 600; color: var(--text); cursor: pointer; transition: background .15s, border-color .15s; }
.bk-slot:hover { background: var(--surface-2); border-color: var(--primary); }
.bk-actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* LMS_STUDENT_META_2026_07 先生専用 星評価/タグ/メモ + 並び替え */
/* LMS_STUDENT_SEARCH_2026_07_30 受講生管理の検索ボックス */
.stu-search { margin: 0 0 12px; display: inline-flex; }
.stu-search__input { width: 260px; }
.stu-search__input:focus { width: 340px; }
@media (max-width: 640px) { .stu-search__input, .stu-search__input:focus { width: 100%; } .stu-search { display: flex; } }

.stu-sort { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 14px; }
.stu-sort__label { font-size: 12px; color: var(--text-muted); }
.stu-sort__btn { font-size: 12px; font-weight: 600; padding: 5px 11px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--text); cursor: pointer; }
.stu-sort__btn:hover { background: var(--surface-2); }
.stu-sort__btn.is-active { background: var(--primary); color: #fff; border-color: var(--primary); }
.stu-col-star { width: 118px; }
.stu-col-tags { width: 200px; }
.stu-stars { display: inline-flex; gap: 2px; }
.stu-star { cursor: pointer; color: var(--line-strong); line-height: 1; display: inline-flex; }
.stu-star svg, .stu-star i { width: 18px; height: 18px; }
.stu-star:hover { color: #f5a623; }
.stu-star.is-on { color: #f5a623; }
.stu-star.is-on svg { fill: #f5a623; }
.stu-tags { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.stu-tag { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); white-space: nowrap; }
.stu-tag-edit { font-size: 11px; color: var(--text-muted); cursor: pointer; border: 1px dashed var(--line); border-radius: 999px; padding: 2px 9px; background: none; }
.stu-tag-edit:hover { color: var(--primary); border-color: var(--primary); }
.stu-tag-input { width: 100%; max-width: 190px; font-size: 12px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; }
.stu-quick { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.stu-quick__b { font-size: 11px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); cursor: pointer; color: var(--text); }
.stu-quick__b:hover { background: var(--surface-2); border-color: var(--primary); }
.stu-mini-actions { display: flex; gap: 6px; margin-top: 6px; }
.stu-memo { margin-top: 4px; }
.stu-memo__txt { font-size: 12px; color: var(--text-muted); white-space: pre-wrap; }
.stu-memo__edit { font-size: 11px; color: var(--primary); cursor: pointer; background: none; border: none; padding: 0; }
.stu-memo__edit:hover { text-decoration: underline; }
.stu-memo__box { width: 100%; min-width: 220px; font-size: 12px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; font-family: inherit; }

/* LMS_STUDENT_META_2026_07 詳細ページの星/タグ */
.stu-meta-detail { display: flex; flex-direction: column; gap: 11px; margin-bottom: 16px; }
.stu-meta-detail__row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.stu-meta-detail__label { font-size: 12px; font-weight: 700; color: #8a6d1f; min-width: 54px; }
.stu-meta-detail .stu-star { font-size: 20px; }
.stu-meta-detail .stu-star svg, .stu-meta-detail .stu-star i { width: 21px; height: 21px; }
.stu-meta-hr { border: none; border-top: 1px solid #e6d9a8; margin: 0 0 16px; }

/* LMS_LESSON_FEEDBACK_2026_07 受講後アンケート */
.fb-stars { display: inline-flex; gap: 5px; margin-top: 6px; }
.fb-stars .stu-star { cursor: pointer; }
.fb-stars .stu-star svg, .fb-stars .stu-star i { width: 30px; height: 30px; }
.fb-stars-sm { display: inline-flex; gap: 2px; }
.fb-stars-sm .stu-star { cursor: default; }
.fb-stars-sm .stu-star svg, .fb-stars-sm .stu-star i { width: 16px; height: 16px; }
.fb-past { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.fb-past__ttl { margin-bottom: 10px; }
.fb-item { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; background: var(--surface); }
.fb-item__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.fb-row { font-size: 13.5px; line-height: 1.7; margin-top: 4px; display: flex; gap: 8px; }
.fb-row b { flex: none; min-width: 62px; color: var(--primary); font-size: 11.5px; font-weight: 800; padding-top: 3px; }
.fb-row span { color: var(--text); white-space: pre-wrap; }

/* LMS_TH_SORT_2026_07_27 受講生一覧 見出しクリックで並び替え */
.stu-table th.stu-th--sort { cursor: pointer; user-select: none; }
.stu-table th.stu-th--sort:hover { color: var(--text); }
.stu-table th.stu-th--sort:hover .stu-th__ico { opacity: .9; }
.stu-table th.stu-th--sort:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.stu-table th.stu-th--sort[data-dir] { color: var(--primary); }
.stu-table th.stu-th--sort[data-dir] .stu-th__ico { opacity: 1; }
.stu-th__in { display: inline-flex; align-items: center; gap: 4px; }
.stu-th__ico { display: inline-flex; align-items: center; opacity: .4; }
.stu-th__ico i, .stu-th__ico svg { width: 13px; height: 13px; display: block; }

/* LMS_TAG_UI_2026_07_27 タグ編集（チップ×削除＋新しいタグ追加） */
.stu-tagedit { display: flex; flex-direction: column; gap: 6px; width: 100%; min-width: 190px; }
.stu-tagedit__list { display: flex; flex-wrap: wrap; gap: 4px; }
.stu-tagedit__chip { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; padding: 2px 3px 2px 9px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); white-space: nowrap; }
.stu-tagedit__x { display: inline-grid; place-items: center; width: 15px; height: 15px; padding: 0; border: none; border-radius: 999px; background: none; color: inherit; cursor: pointer; opacity: .6; }
.stu-tagedit__x:hover { opacity: 1; background: rgba(0, 0, 0, .09); }
.stu-tagedit__x i, .stu-tagedit__x svg { width: 11px; height: 11px; display: block; }
.stu-tagedit__empty { font-size: 11px; color: var(--text-muted); }
.stu-tagedit__new { display: flex; gap: 4px; align-items: center; }
.stu-tagedit__new .stu-tag-input { flex: 1 1 auto; min-width: 0; max-width: none; }
.stu-tagedit__new .stu-tag-add { flex: 0 0 auto; white-space: nowrap; }
.stu-quick__label { width: 100%; font-size: 10.5px; color: var(--text-muted); }
.stu-quick__b.is-on { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- よくあるご質問  LEARN_FAQ_2026_08_11 ---------- */
.learn-faq { background: var(--surface-2); border-top: 1px solid var(--line); }
.learn-faq__inner { max-width: 720px; margin: 0 auto; padding: 48px 20px; }
.learn-faq__list { display: grid; gap: 10px; }
.learn-faq__item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
}
.learn-faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; font-size: 15px; font-weight: 700; line-height: 1.6;
  cursor: pointer; list-style: none;
}
.learn-faq__q::-webkit-details-marker { display: none; }
.learn-faq__q i { width: 18px; height: 18px; flex: none; color: var(--text-muted); transition: transform .2s ease; }
.learn-faq__item[open] .learn-faq__q { color: var(--primary); }
.learn-faq__item[open] .learn-faq__q i { transform: rotate(180deg); color: var(--primary); }
.learn-faq__a { padding: 0 20px 18px; }
.learn-faq__a p { margin: 0; font-size: 14px; line-height: 1.9; color: var(--text-muted); }
@media (max-width: 640px) {
  .learn-faq__inner { padding: 36px 16px; }
  .learn-faq__q { font-size: 14px; padding: 14px 16px; }
  .learn-faq__a { padding: 0 16px 16px; }
}
