@charset "UTF-8";

/* =========================================================
   制作物事例・カリキュラム用 UIモックアップ
   画像を使わずHTML/CSS/SVGで描画（Retinaでも劣化せず、文言の修正が可能）
   カード内の実寸 約286〜311px を想定した固定サイズ設計
   ========================================================= */

.mock {
  --m-bg:     #f5f8fd;
  --m-card:   #ffffff;
  --m-line:   #e3e9f2;
  --m-ink:    #1e293b;
  --m-mut:    #7c8aa5;
  --m-blue:   #2563eb;
  --m-sky:    #38bdf8;
  --m-dark:   #101a2e;
  --m-dark-2: #18243d;
  --m-green:  #10b981;
  --m-red:    #ef4444;
  --m-amber:  #f59e0b;
  --m-purple: #8b5cf6;
  --m-pink:   #ec4899;

  position: relative;
  display: flex;
  width: 100%;
  aspect-ratio: 300 / 160;
  overflow: hidden;
  border-radius: 10px;
  background: var(--m-bg);
  border: 1px solid var(--m-line);
  color: var(--m-ink);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 6px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0;
  user-select: none;
}
.mock * { box-sizing: border-box; min-width: 0; }

/* ---------- サイドバー ---------- */
.mk-side {
  flex: none; width: 21%; padding: 5px 4px;
  background: var(--m-dark); color: #cbd5e1;
  display: flex; flex-direction: column; gap: 2px;
}
.mk-side__logo {
  display: flex; align-items: center; gap: 3px;
  font-size: 6.5px; font-weight: 800; color: #fff;
  padding: 0 2px 5px;
}
.mk-side__logo i {
  width: 8px; height: 8px; border-radius: 2px; flex: none;
  background: linear-gradient(140deg, var(--m-sky), var(--m-blue));
}
.mk-side__i {
  display: flex; align-items: center; gap: 3px;
  padding: 2.5px 3px; border-radius: 3px;
  font-size: 5.5px; color: #93a4bd; white-space: nowrap; overflow: hidden;
}
.mk-side__i::before {
  content: ""; flex: none; width: 4px; height: 4px; border-radius: 1px;
  background: currentColor; opacity: .55;
}
.mk-side__i.is-on { background: rgba(255, 255, 255, .13); color: #fff; font-weight: 700; }
.mk-side__i.is-on::before { opacity: 1; background: var(--m-sky); }

/* ---------- メイン ---------- */
.mk-main { flex: 1; padding: 5px; display: flex; flex-direction: column; gap: 4px; overflow: hidden; }
.mk-top { display: flex; align-items: center; gap: 4px; }
.mk-top__ttl { font-size: 7px; font-weight: 800; }
.mk-top__sub { font-size: 5px; color: var(--m-mut); }
.mk-spacer { flex: 1; }

.mk-btn {
  padding: 2px 5px; border-radius: 3px; font-size: 5px; font-weight: 700;
  background: var(--m-blue); color: #fff; white-space: nowrap;
}
.mk-btn--ghost { background: #fff; color: var(--m-mut); border: 1px solid var(--m-line); }
.mk-btn--green { background: var(--m-green); }
.mk-btn--purple { background: var(--m-purple); }

.mk-field {
  flex: 1; padding: 2px 5px; border-radius: 3px; font-size: 5px;
  background: #fff; border: 1px solid var(--m-line); color: var(--m-mut);
  white-space: nowrap; overflow: hidden;
}

.mk-card {
  background: var(--m-card); border: 1px solid var(--m-line); border-radius: 4px;
  padding: 4px 5px;
}

/* ---------- KPIタイル ---------- */
.mk-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.mk-kpi { background: #fff; border: 1px solid var(--m-line); border-radius: 4px; padding: 3px 4px; }
.mk-kpi__lb { font-size: 4.5px; color: var(--m-mut); white-space: nowrap; overflow: hidden; }
.mk-kpi__vl { font-size: 7px; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.mk-kpi__dt { font-size: 4.5px; font-weight: 700; color: var(--m-green); white-space: nowrap; }
.mk-kpi__dt.is-down { color: var(--m-red); }

/* ---------- テーブル ---------- */
.mk-table { width: 100%; border-collapse: collapse; background: #fff; }
.mk-table th, .mk-table td {
  border-bottom: 1px solid var(--m-line); padding: 2.5px 3px;
  text-align: left; font-size: 5px; white-space: nowrap; overflow: hidden;
}
.mk-table th { background: #f1f5fb; color: var(--m-mut); font-weight: 700; font-size: 4.5px; }
.mk-table td { color: #334155; }
.mk-tag {
  display: inline-block; padding: 0 3px; border-radius: 6px;
  font-size: 4.5px; font-weight: 700; line-height: 1.6;
}
.mk-tag--g { background: #d1fae5; color: #047857; }
.mk-tag--b { background: #dbeafe; color: #1d4ed8; }
.mk-tag--a { background: #fef3c7; color: #b45309; }
.mk-tag--p { background: #ede9fe; color: #6d28d9; }

/* ---------- 図形 ---------- */
.mk-avatar {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: linear-gradient(140deg, #93c5fd, #6366f1);
}
.mk-avatar--2 { background: linear-gradient(140deg, #fca5a5, #f472b6); }
.mk-avatar--3 { background: linear-gradient(140deg, #6ee7b7, #22d3ee); }
.mk-avatar--4 { background: linear-gradient(140deg, #fcd34d, #fb923c); }

.mk-chart { display: block; width: 100%; height: 100%; }
.mk-charts { display: grid; grid-template-columns: 1.55fr 1fr; gap: 3px; flex: 1; min-height: 0; }
.mk-chartbox { display: flex; flex-direction: column; min-height: 0; }
.mk-chartbox__ttl { font-size: 4.5px; color: var(--m-mut); font-weight: 700; margin-bottom: 2px; }
.mk-chartbox__bd { flex: 1; min-height: 0; }

.mk-donut {
  width: 34px; height: 34px; border-radius: 50%; margin: 0 auto;
  background: conic-gradient(var(--m-blue) 0 45%, var(--m-sky) 45% 73%, var(--m-purple) 73% 90%, #e2e8f0 90% 100%);
  -webkit-mask: radial-gradient(circle, transparent 42%, #000 43%);
          mask: radial-gradient(circle, transparent 42%, #000 43%);
}
.mk-legend { display: grid; gap: 1px; margin-top: 2px; }
.mk-legend span { display: flex; align-items: center; gap: 2px; font-size: 4px; color: var(--m-mut); }
.mk-legend i { width: 4px; height: 4px; border-radius: 1px; flex: none; }

.mk-bars { display: flex; align-items: flex-end; gap: 3px; height: 100%; padding-top: 2px; }
.mk-bars div {
  flex: 1; border-radius: 1.5px 1.5px 0 0;
  background: linear-gradient(180deg, var(--m-sky), var(--m-blue));
}

/* ---------- カレンダー ---------- */
.mk-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1.5px; flex: 1; min-height: 0; }
.mk-cal__h { font-size: 4px; color: var(--m-mut); text-align: center; font-weight: 700; }
.mk-cal__d {
  background: #fff; border: 1px solid var(--m-line); border-radius: 2px;
  font-size: 4px; color: #64748b; padding: 1px; overflow: hidden;
}
.mk-cal__d.is-off { background: #f1f5f9; color: #cbd5e1; }
.mk-cal__d i {
  display: block; height: 3px; border-radius: 1px; margin-top: 1px;
  background: var(--m-blue); opacity: .85;
}
.mk-cal__d i.c2 { background: var(--m-purple); }
.mk-cal__d i.c3 { background: var(--m-green); }
.mk-cal__d i.c4 { background: var(--m-amber); }

/* ---------- チャット ---------- */
.mk-thread { display: flex; flex-direction: column; gap: 3px; flex: 1; min-height: 0; }
.mk-msg { display: flex; gap: 3px; align-items: flex-start; }
.mk-msg__bb {
  max-width: 78%; padding: 2.5px 4px; border-radius: 5px;
  font-size: 4.8px; line-height: 1.5; background: #eef2f8; color: #334155;
}
.mk-msg--me { flex-direction: row-reverse; }
.mk-msg--me .mk-msg__bb { background: var(--m-blue); color: #fff; }
.mk-inputbar {
  display: flex; align-items: center; gap: 3px; margin-top: auto;
  padding: 2px 4px; border-radius: 5px; background: #fff; border: 1px solid var(--m-line);
  font-size: 4.5px; color: var(--m-mut);
}
.mk-inputbar span:last-child {
  margin-left: auto; width: 9px; height: 9px; border-radius: 50%;
  background: var(--m-blue); flex: none;
}

/* ---------- 一覧（会話リストなど） ---------- */
.mk-list { display: flex; flex-direction: column; gap: 2px; }
.mk-list__i {
  display: flex; align-items: center; gap: 3px;
  background: #fff; border: 1px solid var(--m-line); border-radius: 3px; padding: 2px 3px;
}
.mk-list__i.is-on { border-color: #bfdbfe; background: #eff6ff; }
.mk-list__tx { flex: 1; min-width: 0; }
.mk-list__n { font-size: 4.8px; font-weight: 700; white-space: nowrap; overflow: hidden; }
.mk-list__s { font-size: 4.2px; color: var(--m-mut); white-space: nowrap; overflow: hidden; }

/* ---------- 手順・シナリオ ---------- */
.mk-steps { display: flex; flex-direction: column; gap: 2.5px; }
.mk-step {
  display: flex; align-items: center; gap: 3px;
  background: #fff; border: 1px solid var(--m-line); border-radius: 3px; padding: 2.5px 3px;
  font-size: 4.8px;
}
.mk-step b {
  flex: none; width: 8px; height: 8px; border-radius: 2px; color: #fff;
  display: grid; place-items: center; font-size: 4.5px; font-weight: 800;
  background: var(--m-blue);
}
.mk-step:nth-child(2) b { background: var(--m-sky); }
.mk-step:nth-child(3) b { background: var(--m-purple); }
.mk-step:nth-child(4) b { background: var(--m-green); }

/* ---------- 画像サムネイル（生成画像の見立て） ---------- */
.mk-thumbs {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr);
  gap: 3px; flex: 1; min-height: 0;
}
.mk-thumb { border-radius: 3px; position: relative; overflow: hidden; }
.mk-thumb--sunset { background: linear-gradient(180deg, #fb923c 0%, #f472b6 55%, #7c3aed 100%); }
.mk-thumb--sea    { background: linear-gradient(180deg, #7dd3fc 0%, #38bdf8 50%, #0369a1 100%); }
.mk-thumb--city   { background: linear-gradient(180deg, #1e293b 0%, #4c1d95 60%, #9333ea 100%); }
.mk-thumb--forest { background: linear-gradient(180deg, #bbf7d0 0%, #34d399 55%, #065f46 100%); }
/* 風景写真の見立て：太陽＋水平線 */
.mk-thumb::before {
  content: ""; position: absolute; left: 22%; top: 22%; width: 26%; aspect-ratio: 1;
  border-radius: 50%; background: rgba(255, 255, 255, .5); filter: blur(1px);
}
.mk-thumb::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(0, 0, 0, .18));
  border-top: .5px solid rgba(255, 255, 255, .45);
}
.mk-thumb--night  { background: linear-gradient(180deg, #1e1b4b 0%, #4338ca 60%, #0ea5e9 100%); }
.mk-thumb--desert { background: linear-gradient(180deg, #fde68a 0%, #f59e0b 55%, #b45309 100%); }
.mk-thumb--mount  { background: linear-gradient(180deg, #e0f2fe 0%, #7dd3fc 45%, #475569 100%); }
.mk-thumb--flower { background: linear-gradient(180deg, #fbcfe8 0%, #f472b6 55%, #9d174d 100%); }

/* ---------- ブラウザ枠（Webサイト制作） ---------- */
.mock--site { flex-direction: column; background: #e8eef7; padding: 0; }
.mk-bar {
  display: flex; align-items: center; gap: 3px; flex: none;
  padding: 3px 5px; background: #dde5f0; border-bottom: 1px solid #cdd8e8;
}
.mk-bar i { width: 3.5px; height: 3.5px; border-radius: 50%; background: #fb7185; flex: none; }
.mk-bar i:nth-child(2) { background: #fbbf24; }
.mk-bar i:nth-child(3) { background: #34d399; }
.mk-bar span {
  flex: 1; margin-left: 3px; padding: 1px 4px; border-radius: 6px;
  background: #fff; font-size: 4px; color: var(--m-mut);
}

.mk-site { flex: 1; background: #fff; display: flex; flex-direction: column; min-height: 0; }

/* ナビ：ロゴ＋メニュー＋予約ボタン */
.mk-site__nav {
  display: flex; align-items: center; gap: 6px; padding: 4px 7px; flex: none;
  border-bottom: 1px solid #eef2f7; font-size: 4.2px; color: var(--m-mut); letter-spacing: .02em;
}
.mk-site__logo {
  font-size: 6.5px; font-weight: 800; color: var(--m-ink);
  margin-right: auto; letter-spacing: .04em;
}
.mk-site__navcta {
  padding: 1.5px 5px; border-radius: 8px; font-size: 4px; font-weight: 700;
  color: #fff; background: var(--m-ink); white-space: nowrap;
}

/* ヒーロー */
.mk-site__hero { flex: 1; display: flex; min-height: 0; }
.mk-site__tx {
  flex: 1; padding: 8px 9px; display: flex; flex-direction: column; justify-content: center;
}
.mk-site__kicker {
  font-size: 3.6px; font-weight: 700; letter-spacing: .3em; color: #9aa7bd;
  margin-bottom: 4px;
}
.mk-site__h { font-size: 9px; font-weight: 900; line-height: 1.45; letter-spacing: .01em; }
.mk-site__rule {
  width: 16px; height: 1.5px; border-radius: 1px; margin: 5px 0 4px;
  background: var(--m-ink); opacity: .35;
}
.mk-site__p { font-size: 4.2px; color: var(--m-mut); line-height: 1.75; }
.mk-site__act { display: flex; align-items: center; gap: 6px; margin-top: 7px; }
.mk-site__cta {
  padding: 3px 8px; border-radius: 10px;
  background: var(--m-ink); color: #fff; font-size: 4.6px; font-weight: 700;
  white-space: nowrap;
}
.mk-site__link {
  font-size: 4.2px; font-weight: 700; color: var(--m-ink); white-space: nowrap;
  border-bottom: .5px solid currentColor; padding-bottom: .5px;
}

/* ヒーローの写真面：山と湖の風景（人物シルエットはSNSの初期アイコンに見えるため不使用） */
.mk-site__ph {
  flex: none; width: 41%; position: relative; overflow: hidden;
  background: linear-gradient(180deg, #2a3145 0%, #3d4661 46%, #6a748e 74%, #8d97ae 100%);
}
.mk-site__ph::before {                 /* 太陽のやわらかい光 */
  content: ""; position: absolute; left: 20%; top: 22%;
  width: 30%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 255, 255, .95) 0%,
    rgba(255, 255, 255, .5) 38%,
    rgba(255, 255, 255, 0) 70%);
}
.mk-site__ph::after {                  /* 奥の稜線 */
  content: ""; position: absolute; left: -6%; right: -6%; bottom: 26%; height: 44%;
  background: #4d5877;
  clip-path: polygon(0 100%, 0 56%, 20% 18%, 44% 60%, 70% 28%, 100% 64%, 100% 100%);
}
.mk-site__ph i { position: absolute; inset: 0; display: block; }
.mk-site__ph i::before {               /* 手前の稜線 */
  content: ""; position: absolute; left: -6%; right: -6%; bottom: 20%; height: 36%;
  background: #222838;
  clip-path: polygon(0 100%, 0 76%, 26% 28%, 52% 74%, 78% 46%, 100% 78%, 100% 100%);
}
.mk-site__ph i::after {                /* 湖面と光の映り込み */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 21%;
  background:
    linear-gradient(90deg, transparent 20%, rgba(255, 255, 255, .24) 29%, rgba(255, 255, 255, .24) 39%, transparent 48%),
    linear-gradient(180deg, #1a1f2e 0%, #333c56 100%);
}
/* 下段：サイトらしさを出す特徴バー */
.mk-site__feat {
  flex: none; display: flex; gap: 5px; padding: 4px 7px;
  border-top: 1px solid #eef2f7; background: #fafcff;
}
.mk-site__feat span {
  flex: 1; display: flex; align-items: center; gap: 2.5px;
  font-size: 3.9px; font-weight: 700; color: #64748b; white-space: nowrap;
}
.mk-site__feat span::before {
  content: ""; flex: none; width: 4px; height: 4px; border-radius: 50%;
  background: var(--m-ink); opacity: .25;
}

/* スマホ版の重ね表示（下の特徴バーに被らない位置に置く） */
.mk-phone {
  position: absolute; right: 7px; bottom: 17px; width: 15.5%; aspect-ratio: 9 / 17;
  border-radius: 4px; border: 1.2px solid #0f172a; background: #fff; overflow: hidden;
  box-shadow: 0 4px 10px rgba(15, 23, 42, .45);
}
.mk-phone__top {                       /* PC版と同じ風景を縮めて表示 */
  position: relative; height: 42%; overflow: hidden;
  background: linear-gradient(180deg, #2a3145 0%, #3d4661 48%, #6a748e 78%, #8d97ae 100%);
}
.mk-phone__top::before {               /* 太陽 */
  content: ""; position: absolute; left: 56%; top: 20%;
  width: 34%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .45) 40%, rgba(255, 255, 255, 0) 70%);
}
.mk-phone__top::after {                /* 稜線 */
  content: ""; position: absolute; left: -8%; right: -8%; bottom: 0; height: 54%;
  background: #272d40;
  clip-path: polygon(0 100%, 0 70%, 32% 24%, 60% 70%, 82% 42%, 100% 72%, 100% 100%);
}
.mk-phone__ln { height: 1.6px; margin: 2.5px 3px 0; border-radius: 1px; background: #d8dfe9; }
.mk-phone__ln.s { width: 56%; }
.mk-phone__bt { height: 4.5px; margin: 3.5px 3px; border-radius: 2.5px; background: var(--m-ink); }

/* ---------- 動画プレイヤー（3ステップ用） ---------- */
.mock--player { background: #0f172a; border-color: #1e293b; }
.mk-player { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.mk-player__scr {
  flex: 1; position: relative; min-height: 0;
  background: linear-gradient(140deg, #1e293b 0%, #0f172a 55%, #312e81 100%);
  display: grid; place-items: center;
}
.mk-player__play {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); position: relative;
}
.mk-player__play::after {
  content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%);
  border-left: 7px solid #1e293b; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent;
}
.mk-player__cap {
  position: absolute; left: 5px; top: 5px; right: 5px;
  font-size: 6px; font-weight: 800; color: #fff; line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .7);
}
.mk-player__ctl {
  flex: none; display: flex; align-items: center; gap: 4px;
  padding: 3px 5px; background: #0b1220; color: #cbd5e1; font-size: 4.5px;
}
.mk-player__bar { flex: 1; height: 2px; border-radius: 1px; background: #334155; position: relative; }
.mk-player__bar::after {
  content: ""; position: absolute; inset: 0 62% 0 0; border-radius: 1px;
  background: linear-gradient(90deg, var(--m-sky), var(--m-blue));
}

/* ---------- コードエディタ（AI連携・拡張機能など） ---------- */
.mock--code { background: #0d1224; border-color: #1e293b; color: #cbd5e1; }
.mk-code { flex: 1; padding: 5px; display: flex; flex-direction: column; gap: 2.5px; min-height: 0; }
.mk-code__ttl { font-size: 5.5px; font-weight: 800; color: #e2e8f0; }
.mk-code__ln { display: flex; align-items: center; gap: 3px; }
.mk-code__ln i { display: block; height: 2.5px; border-radius: 1.5px; }
.mk-code__ln i.k { background: #c084fc; }
.mk-code__ln i.s { background: #6ee7b7; }
.mk-code__ln i.v { background: #7dd3fc; }
.mk-code__ln i.c { background: #475569; }

/* ---------- 設定・チーム（CLAUDE.md） ---------- */
.mk-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; flex: 1; min-height: 0; }
.mk-panel {
  background: #fff; border: 1px solid var(--m-line); border-radius: 4px; padding: 4px;
  display: flex; flex-direction: column; gap: 2px; min-height: 0;
}
.mock--code .mk-panel { background: #131a30; border-color: #263252; }
.mk-panel__ttl { font-size: 5px; font-weight: 800; margin-bottom: 1px; }
.mk-panel__i { display: flex; align-items: center; gap: 3px; font-size: 4.6px; color: inherit; opacity: .85; }
.mk-panel__i::before {
  content: "#"; opacity: .6; font-weight: 700;
}
.mk-panel__i.role::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(140deg, #93c5fd, #6366f1); flex: none; }

/* ---------- ゲーム画面（第2章） ---------- */
.mock--game { background: #4fb3f6; }
.mk-game { flex: 1; position: relative; overflow: hidden; }
.mk-game__sky {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #7dd3fc 0%, #bae6fd 76%, #86efac 76%, #86efac 79%, #4ade80 79%, #22c55e 100%);
}
.mk-game__cloud {
  position: absolute; width: 22px; height: 8px; border-radius: 8px; background: #fff; opacity: .92;
}
.mk-game__cloud.c1 { left: 14%; top: 14%; }
.mk-game__cloud.c2 { left: 50%; top: 13%; width: 16px; }
.mk-game__blk {
  position: absolute; width: 14px; height: 14px; border-radius: 2px;
  background: #f59e0b; border: 1.5px solid #b45309;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .28);
}
.mk-game__blk.b1 { left: 30%; top: 40%; }
.mk-game__blk.b2 { left: 35%; top: 40%; }
.mk-game__blk.b3 { left: 64%; top: 28%; }
.mk-game__hero {
  position: absolute; left: 15%; bottom: 24%; width: 12px; height: 14px; border-radius: 2px;
  background: linear-gradient(180deg, #ef4444 0 55%, #1d4ed8 55% 100%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}
.mk-game__hero::before {
  content: ""; position: absolute; left: 50%; top: -11px; transform: translateX(-50%);
  width: 10px; height: 10px; border-radius: 50%; background: #fcd9b6;
}
.mk-game__hero::after {
  content: ""; position: absolute; left: 50%; top: -12px; transform: translateX(-50%);
  width: 11px; height: 5px; border-radius: 6px 6px 0 0; background: #dc2626;
}
.mk-game__coin {
  position: absolute; left: 50%; top: 26%; width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fef9c3, #fde047 55%, #ca8a04);
  border: 1px solid #a16207;
}
.mk-game__hud {
  position: absolute; left: 5px; top: 4px; font-size: 6.5px; font-weight: 800; color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
}

/* ---------- 提案書・書類（第5章） ---------- */
.mk-doc {
  flex: 1; background: #fff; border-radius: 3px; border: 1px solid var(--m-line);
  padding: 5px; display: flex; flex-direction: column; gap: 3px; min-height: 0;
}
.mk-doc__h { font-size: 6px; font-weight: 800; }
.mk-doc__ln { height: 2.5px; border-radius: 1.5px; background: #e6ecf5; }
.mk-doc__ln.s { width: 62%; }
.mk-doc__ln.m { width: 84%; }
.mk-doc__row { display: flex; gap: 3px; flex: 1; min-height: 0; align-items: flex-end; }

/* ---------- Chrome拡張ポップアップ（第8章） ---------- */
.mock--ext { background: linear-gradient(140deg, #e2e8f0, #cbd5e1); }
.mk-ext {
  position: absolute; right: 6%; top: 10%; width: 52%;
  background: #fff; border-radius: 4px; border: 1px solid var(--m-line);
  box-shadow: 0 3px 10px rgba(15, 23, 42, .25); padding: 4px; display: grid; gap: 2px;
}
.mk-ext__ttl { font-size: 5.5px; font-weight: 800; display: flex; align-items: center; gap: 3px; }
.mk-ext__ttl::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: conic-gradient(#ef4444 0 25%, #f59e0b 25% 50%, #10b981 50% 75%, #3b82f6 75% 100%);
}
.mk-ext__i {
  display: flex; align-items: center; gap: 3px; font-size: 4.8px; color: #475569;
  padding: 1.5px 2px; border-radius: 2px;
}
.mk-ext__i.is-on { background: #eff6ff; color: var(--m-blue); font-weight: 700; }
.mk-ext__i::before { content: ""; width: 5px; height: 5px; border-radius: 1px; background: currentColor; opacity: .5; flex: none; }
.mk-ext__page { position: absolute; left: 5%; top: 14%; width: 44%; display: grid; gap: 2px; }
.mk-ext__page i { display: block; height: 2.5px; border-radius: 1.5px; background: rgba(255, 255, 255, .85); }
.mk-ext__page i.s { width: 60%; }

/* ---------- SNS連携（第4章） ---------- */
.mk-hub {
  flex: 1; position: relative; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--m-line); border-radius: 4px;
}
.mk-hub__c {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--m-blue), var(--m-sky));
  color: #fff; font-size: 8px; font-weight: 800;
  box-shadow: 0 2px 10px rgba(37, 99, 235, .45);
}
.mk-hub__n {
  position: absolute; width: 19px; height: 19px; border-radius: 4px; background: #fff;
  border: 1px solid #cbd5e1; display: grid; place-items: center;
  font-size: 8.5px; font-weight: 800; color: var(--m-ink);
  box-shadow: 0 1px 3px rgba(15, 23, 42, .12);
}
.mk-hub__n.p1 { left: 6%;  top: 12%; }
.mk-hub__n.p2 { left: 6%;  bottom: 12%; }
.mk-hub__n.p3 { right: 6%; top: 12%; }
.mk-hub__n.p4 { right: 6%; bottom: 12%; }
.mk-hub__line { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- 汎用：縦並びラベル列 ---------- */
.mk-tags { display: flex; flex-wrap: wrap; gap: 2px; }
.mk-tags span {
  padding: 1px 4px; border-radius: 6px; font-size: 4.5px; font-weight: 700;
  background: #eef2f8; color: #475569;
}
.mk-tags span.on { background: var(--m-blue); color: #fff; }

/* ---------- 動画編集タイムライン（第7章） ---------- */
.mock--studio { background: #0d1224; border-color: #1e293b; color: #cbd5e1; }
.mk-studio { flex: 1; display: flex; flex-direction: column; gap: 3px; padding: 5px; min-height: 0; }
.mk-studio__scr {
  flex: 1; min-height: 0; border-radius: 3px; position: relative; overflow: hidden;
  background: linear-gradient(140deg, #1e293b 0%, #0f172a 55%, #4c1d95 100%);
}
/* 人物シルエットではなく「動画プレビュー画面」に見えるよう、
   中央のスポットライト＋再生ボタン＋字幕＋シークバーで構成する */
.mk-studio__scr::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(58% 68% at 50% 44%, rgba(167, 139, 250, .40) 0%, transparent 72%);
}
.mk-studio__scr::after {
  content: ""; position: absolute; left: 6px; right: 6px; bottom: 4px; height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--m-sky) 0 58%, rgba(255, 255, 255, .22) 58%);
}
.mk-studio__play {
  position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%);
  height: 42%; aspect-ratio: 1; border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  border: 1.2px solid rgba(255, 255, 255, .58);
  display: grid; place-items: center;
}
.mk-studio__play::before {
  content: ""; width: 0; height: 0; margin-left: 20%;
  border-left: 9px solid rgba(255, 255, 255, .95);
  border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
/* 字幕（2行分の帯） */
.mk-studio__sub {
  position: absolute; left: 50%; bottom: 22%; transform: translateX(-50%);
  width: 54%; height: 3.5px; border-radius: 2px; background: rgba(255, 255, 255, .34);
}
.mk-studio__sub::after {
  content: ""; position: absolute; left: 50%; top: 6px; transform: translateX(-50%);
  width: 64%; height: 3.5px; border-radius: 2px; background: rgba(255, 255, 255, .22);
}
.mk-studio__cap {
  position: absolute; right: 5px; top: 5px; z-index: 1; padding: 1px 4px; border-radius: 3px;
  background: rgba(0, 0, 0, .45); font-size: 4.5px; font-weight: 700; color: #fff;
}
.mk-wave { display: flex; align-items: center; gap: 1px; height: 11px; flex: none; }
.mk-wave i {
  flex: 1; border-radius: .5px;
  background: linear-gradient(180deg, var(--m-sky), var(--m-purple));
}
.mk-track { display: flex; align-items: center; gap: 3px; font-size: 4.5px; color: #93a4bd; }
.mk-track b {
  flex: none; padding: 1px 3px; border-radius: 2px; font-size: 4.2px; font-weight: 700;
  background: rgba(255, 255, 255, .1); color: #e2e8f0;
}
.mk-track span { flex: 1; height: 4px; border-radius: 2px; background: rgba(56, 189, 248, .35); }
.mk-track span.p { background: rgba(139, 92, 246, .4); }
.mk-track span.g { background: rgba(16, 185, 129, .35); }

/* ---------- Claude起動画面（第1章） ---------- */
.mk-splash {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; min-height: 0;
}
.mk-splash__mark {
  width: 16px; height: 16px; border-radius: 50%;
  background: conic-gradient(from 20deg, #f97316, #fb923c, #f59e0b, #f97316);
  -webkit-mask: radial-gradient(circle, #000 0 22%, transparent 23% 34%, #000 35% 100%);
          mask: radial-gradient(circle, #000 0 22%, transparent 23% 34%, #000 35% 100%);
}
.mk-splash__n { font-size: 8px; font-weight: 800; color: #e2e8f0; }
.mk-splash__s { font-size: 4.5px; color: #7c8aa5; }

/* ---------- ハブ連携図の線（第4章） ---------- */
.mk-hub__line line { stroke: #94a3b8; stroke-width: 1.2; stroke-dasharray: 3 2; }

/* ---------- 3ステップ：講座サイドバー付きプレイヤー ---------- */
.mock--lms { background: #0f172a; border-color: #1e293b; }
.mock--lms .mk-side { width: 30%; background: #0b1220; }
.mock--lms .mk-main { padding: 0; gap: 0; }

/* ---------- Chrome拡張：ブラウザ枠つきレイアウト ---------- */
.mock--ext { flex-direction: column; }
.mk-extbody { flex: 1; position: relative; min-height: 0; }
