/* =========================================================
   授業まとめサイト — 共通スタイル（コーチング学演習サイトと同じフレーム）
   ★色を変えるときは、下の3か所（:root ／ ダーク2か所）の値だけを変更します
   　--accent / --accent-soft / --hl が主な色です
   ========================================================= */
:root {
  --paper: #F6F7F4;        /* イーゼルパッドの紙 */
  --surface: #FFFFFF;
  --ink: #17212D;          /* マーカー（紺） */
  --ink-2: #4B5664;
  --ink-3: #7A8591;
  --line: #D8DDD9;
  --accent: #0E6B63;       /* マーカー（深緑） */
  --accent-ink: #FFFFFF;
  --accent-soft: #DCEDE8;
  --hl: #F4D54A;           /* 蛍光ペン */
  --hl-ink: #17212D;
  --red: #C2412D;
  --grid: rgba(23, 33, 45, .06);
  --shadow: 0 1px 2px rgba(23,33,45,.06), 0 6px 18px rgba(23,33,45,.06);
  --font-body: "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --font-head: "Zen Kaku Gothic New", "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
  --maxw: 1080px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #11171D; --surface: #19212A; --ink: #E7ECEA; --ink-2: #AEB8C1; --ink-3: #85919C;
    --line: #2B3641; --accent: #52B8A9; --accent-ink: #0D1A18; --accent-soft: #173431;
    --hl: #E2C13A; --hl-ink: #17212D; --red: #E0775F; --grid: rgba(231,236,234,.05);
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 18px rgba(0,0,0,.25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #11171D; --surface: #19212A; --ink: #E7ECEA; --ink-2: #AEB8C1; --ink-3: #85919C;
  --line: #2B3641; --accent: #52B8A9; --accent-ink: #0D1A18; --accent-soft: #173431;
  --hl: #E2C13A; --hl-ink: #17212D; --red: #E0775F; --grid: rgba(231,236,234,.05);
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 18px rgba(0,0,0,.25);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: .02em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--hl); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.35; margin: 0; text-wrap: balance; letter-spacing: .03em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: 20px; }

/* ---------- ヘッダー ---------- */
.site-head {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); flex-wrap: wrap; }
.brand b { font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.brand span { font-size: 12px; color: var(--ink-3); letter-spacing: .08em; }
.head-links { display: flex; gap: 18px; font-size: 14px; }
.head-links a { color: var(--ink-2); text-decoration: none; }
.head-links a:hover { color: var(--accent); }

/* ---------- 共通パーツ ---------- */
.eyebrow { font-size: 12px; letter-spacing: .16em; color: var(--accent); font-weight: 700; }
.hl { background: linear-gradient(transparent 58%, var(--hl) 58%, var(--hl) 92%, transparent 92%); color: inherit; padding-inline: 2px; }
.section { padding-block: 56px; }
.section + .section { border-top: 1px dashed var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 700; }
.section-head p { color: var(--ink-2); font-size: 14px; }
.note { font-size: 13px; color: var(--ink-3); }

.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; white-space: nowrap; letter-spacing: .06em; }
.pill.done { background: var(--accent-soft); color: var(--accent); }
.pill.today { background: var(--hl); color: var(--hl-ink); }
.pill.next { background: transparent; color: var(--ink-3); border: 1px solid var(--line); }
.pill.done::before { content: "✓"; }

.tag { display: inline-block; font-size: 12px; padding: 1px 8px; border-radius: 4px; border: 1px solid currentColor; font-weight: 700; letter-spacing: .04em; }
.tag.group { color: var(--accent); }
.tag.practice { color: var(--red); }
.tag.talk { color: var(--ink-2); }
.tag.reflect { color: var(--ink); background: var(--hl); border-color: var(--hl); color: var(--hl-ink); }

.btn { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 700; font-size: 15px; padding: 10px 18px; border-radius: 8px; text-decoration: none; border: 2px solid var(--accent); cursor: pointer; }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.ghost { background: transparent; color: var(--accent); }
.btn:hover { filter: brightness(1.06); }

.site-foot { border-top: 1px solid var(--line); padding-block: 28px; font-size: 13px; color: var(--ink-3); }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* =========================================================
   トップページ
   ========================================================= */
.hero { padding-block: 56px 40px; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 28px 28px; border-bottom: 1px solid var(--line); }
.hero h1 { font-size: clamp(36px, 7vw, 64px); font-weight: 900; letter-spacing: .06em; margin-top: 8px; }
.hero .lead { margin-top: 18px; max-width: 40em; font-size: 17px; color: var(--ink-2); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 24px; font-size: 14px; }
.hero-meta div { display: flex; gap: 10px; }
.hero-meta dt { color: var(--ink-3); }
.hero-meta dd { margin: 0; font-weight: 700; }

/* 進捗 */
.progress { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; box-shadow: var(--shadow); }
.progress-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.progress-top strong { font-family: var(--font-head); font-size: 34px; font-weight: 900; font-variant-numeric: tabular-nums; }
.progress-top strong small { font-size: 16px; color: var(--ink-3); font-weight: 500; }
.track { display: grid; grid-template-columns: repeat(15, 1fr); gap: 4px; margin-top: 14px; }
.track a { height: 14px; border-radius: 3px; background: var(--line); display: block; }
.track a.done { background: var(--accent); }
.track a.today { background: var(--hl); outline: 2px solid var(--ink); outline-offset: 1px; }
.track-labels { display: grid; grid-template-columns: repeat(15, 1fr); gap: 4px; font-size: 11px; color: var(--ink-3); text-align: center; margin-top: 4px; font-variant-numeric: tabular-nums; }
.log-totals { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--ink-2); }
.log-totals b { font-family: var(--font-head); font-size: 20px; color: var(--ink); margin-left: 4px; font-variant-numeric: tabular-nums; }

/* 授業一覧 */
.phase { margin-top: 36px; }
.phase:first-of-type { margin-top: 8px; }
.phase-head { display: flex; align-items: baseline; gap: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); margin-bottom: 16px; flex-wrap: wrap; }
.phase-head h3 { font-size: 18px; font-weight: 700; }
.phase-head span { font-size: 13px; color: var(--ink-3); }
.sessions { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.card { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px 16px 14px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card .num { font-family: var(--font-head); font-weight: 900; font-size: 38px; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; min-width: 1.4em; }
.card .num small { display: block; font-size: 11px; font-weight: 500; color: var(--ink-3); letter-spacing: .1em; margin-bottom: 4px; }
.card .top { align-self: end; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.card h4 { grid-column: 1 / -1; margin-top: 6px; font-size: 15px; font-weight: 700; line-height: 1.5; }
.card .draft { font-size: 11px; color: var(--ink-3); border: 1px dashed var(--line); border-radius: 3px; padding: 0 5px; margin-left: 4px; font-weight: 400; vertical-align: 2px; }
.card .logs { grid-column: 1 / -1; display: flex; gap: 10px; font-size: 12px; color: var(--ink-3); margin-top: 6px; flex-wrap: wrap; }
.card .logs b { color: var(--ink); }
.card.is-today { border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--hl); }
.card.is-done .num { color: var(--accent); }
.card.is-future { background: transparent; border-style: dashed; }
.card.is-future .num { color: var(--ink-3); }

/* =========================================================
   各回ページ
   ========================================================= */
.crumb { font-size: 14px; padding-block: 16px 0; }
.crumb a { text-decoration: none; color: var(--ink-2); }
.crumb a:hover { color: var(--accent); }

.s-hero { padding-block: 24px 44px; border-bottom: 1px solid var(--line); }
.s-hero-grid { display: grid; grid-template-columns: auto 1fr; gap: 12px 36px; align-items: end; }
.s-num { font-family: var(--font-head); font-weight: 900; line-height: .85; font-size: clamp(96px, 16vw, 168px); letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; position: relative; }
.s-num::after { content: ""; position: absolute; left: -6px; right: -6px; bottom: 6%; height: 26%; background: var(--hl); z-index: -1; opacity: .9; }
.s-num-wrap { position: relative; z-index: 0; }
.s-num-label { font-size: 13px; letter-spacing: .2em; color: var(--ink-3); margin-bottom: 4px; }
.s-title h1 { font-size: clamp(26px, 4.2vw, 40px); font-weight: 900; }
.s-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: 14px; color: var(--ink-2); align-items: center; }
.goals { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 20px 24px; }
.goals h2 { font-size: 15px; letter-spacing: .1em; color: var(--accent); }
.goals ol { margin-top: 8px; padding-left: 1.4em; display: grid; gap: 4px; }
.goals li::marker { font-weight: 700; color: var(--accent); }

.subnav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 4px; overflow-x: auto; padding-block: 8px; scrollbar-width: none; }
.subnav a { flex: none; font-size: 14px; font-weight: 700; color: var(--ink-2); text-decoration: none; padding: 6px 12px; border-radius: 6px; }
.subnav a:hover { background: var(--surface); color: var(--accent); }

/* 授業の流れ */
.flow { display: grid; gap: 0; }
.flow li { list-style: none; display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding-block: 16px; border-top: 1px solid var(--line); }
.flow li:last-child { border-bottom: 1px solid var(--line); }
.flow time { font-family: var(--font-head); font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; color: var(--ink); }
.flow time small { display: block; font-size: 12px; color: var(--ink-3); font-weight: 400; }
.flow h3 { font-size: 17px; font-weight: 700; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.flow p { font-size: 15px; color: var(--ink-2); margin-top: 4px; }
.flow li.reflect-row { background: var(--accent-soft); padding-inline: 14px; margin-inline: -14px; border-radius: 8px; border-color: transparent; }

/* アクティビティ */
.acts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.act { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px; display: grid; gap: 10px; align-content: start; }
.act h3 { font-size: 18px; font-weight: 700; }
.act dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 14px; margin: 0; }
.act dt { color: var(--ink-3); white-space: nowrap; }
.act dd { margin: 0; }
.act .q { border-left: 3px solid var(--accent); padding-left: 12px; font-weight: 700; font-size: 15px; }

/* 学習ログ */
.log-block { margin-top: 36px; }
.log-block:first-of-type { margin-top: 0; }
.log-block > h3 { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.log-block > h3 .src { font-size: 12px; font-weight: 400; color: var(--ink-3); border: 1px solid var(--line); border-radius: 4px; padding: 0 7px; letter-spacing: .04em; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.gallery figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 10px; }
.gallery img { border-radius: 4px; aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.easel-ph { aspect-ratio: 3 / 4; max-width: 100%; border-radius: 4px; background-color: #FDFDFB; background-image: linear-gradient(rgba(23,33,45,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(23,33,45,.07) 1px, transparent 1px); background-size: 18px 18px; display: grid; place-items: center; text-align: center; color: #7A8591; font-size: 12px; padding: 12px; border: 1px dashed #C9CFCB; position: relative; }
.easel-ph::before { content: ""; position: absolute; top: 10px; left: 50%; width: 46%; height: 8px; transform: translateX(-50%); background: #E6E9E6; border-radius: 3px; }
.gallery figcaption { font-size: 13px; margin-top: 8px; display: flex; justify-content: space-between; gap: 8px; }
.gallery figcaption b { font-family: var(--font-head); }
.gallery figcaption span { color: var(--ink-3); }

.audio-list { display: grid; gap: 10px; }
.audio { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px; }
.audio .grp { font-family: var(--font-head); font-weight: 900; font-size: 22px; text-align: center; border-right: 1px solid var(--line); padding-right: 12px; }
.audio .grp small { display: block; font-size: 11px; font-weight: 400; color: var(--ink-3); }
.audio p { font-size: 14px; color: var(--ink-2); }
.audio .dur { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.audio a { font-size: 14px; font-weight: 700; white-space: nowrap; }

.docs { display: flex; flex-wrap: wrap; gap: 10px; }
.doc-link { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 10px 16px; text-decoration: none; color: var(--ink); font-size: 14px; }
.doc-link:hover { border-color: var(--accent); }
.doc-link i { font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 3px; color: #fff; }
.doc-link i.gdoc { background: #3A6FD8; }
.doc-link i.gslide { background: #D99A12; }
.doc-link i.other { background: var(--ink-3); }

/* リフレクション */
.reflect-wrap { background: var(--ink); color: var(--paper); border-radius: 14px; padding: clamp(24px, 4vw, 40px); }
.reflect-wrap .eyebrow { color: var(--hl); }
.reflect-wrap h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 900; margin-top: 4px; }
.reflect-wrap > p { color: color-mix(in srgb, var(--paper) 80%, transparent); margin-top: 8px; max-width: 42em; }
.prompts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 22px; counter-reset: q; }
.prompts li { list-style: none; background: color-mix(in srgb, var(--paper) 8%, transparent); border: 1px solid color-mix(in srgb, var(--paper) 18%, transparent); border-radius: 8px; padding: 14px 16px; font-size: 15px; font-weight: 700; line-height: 1.6; counter-increment: q; }
.prompts li::before { content: "問" counter(q); display: block; font-size: 12px; color: var(--hl); letter-spacing: .1em; margin-bottom: 4px; }
.reflect-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.reflect-wrap .btn.primary { background: var(--hl); border-color: var(--hl); color: var(--hl-ink); }
.reflect-wrap .btn.ghost { color: var(--paper); border-color: color-mix(in srgb, var(--paper) 40%, transparent); }
.reflect-wrap .note { color: color-mix(in srgb, var(--paper) 60%, transparent); }

.voices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 20px; }
.voice { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; display: grid; gap: 8px; align-content: start; }
.voice header { display: flex; justify-content: space-between; align-items: baseline; }
.voice header b { font-family: var(--font-head); font-size: 16px; }
.voice header span { font-size: 12px; color: var(--ink-3); }
.voice ul { list-style: none; display: grid; gap: 6px; font-size: 14px; }
.voice li { padding-left: 1.1em; position: relative; }
.voice li::before { content: ""; position: absolute; left: 0; top: .75em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.voice .empty { font-size: 14px; color: var(--ink-3); }

.nextprev { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nextprev a, .nextprev span { display: block; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; text-decoration: none; color: var(--ink); background: var(--surface); }
.nextprev span { background: transparent; border-style: dashed; color: var(--ink-3); }
.nextprev small { display: block; font-size: 12px; color: var(--ink-3); }
.nextprev .n { text-align: right; }
.nextprev a:hover { border-color: var(--accent); }

/* ---------- スマートフォン ---------- */
@media (max-width: 760px) {
  .cycle { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cycle li, .cycle li:first-child, .cycle li:last-child { margin-left: 0; border-radius: 10px; }
  .cycle li::after { display: none; }
  .s-hero-grid { grid-template-columns: 1fr; }
  .flow li { grid-template-columns: 1fr; gap: 4px; }
  .audio { grid-template-columns: 52px 1fr; }
  .audio .right { grid-column: 2; }
  .track-labels span:nth-child(even) { visibility: hidden; }
}
@media (max-width: 460px) {
  .cycle { grid-template-columns: 1fr; }
  .nextprev { grid-template-columns: 1fr; }
  .head-links { display: none; }
}

/* 未記入の欄（書き込んだら class="blank" を消してください） */
.blank { color: var(--ink-3) !important; font-weight: 400; }
.prompts li.blank, .reflect-wrap .blank { color: color-mix(in srgb, var(--paper) 55%, transparent) !important; }
.audio .grp { font-size: 17px; }
.gallery a { display: block; }
.audio .grp { white-space: nowrap; }

/* =========================================================
   時系列の記録（各回ページ）
   ========================================================= */
.flow a.jump { color: inherit; text-decoration: none; }
.flow a.jump:hover h3 { color: var(--accent); }

.members { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.member { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; }
.member header { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.member b { font-family: var(--font-head); font-size: 20px; font-weight: 900; }
.member header span { font-size: 13px; color: var(--ink-3); }
.member p { margin-top: 6px; font-size: 15px; }

.timeline { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 96px 1fr; gap: 20px; padding-block: 36px; border-top: 1px solid var(--line); scroll-margin-top: 64px; }
.step:first-child { border-top: 0; padding-top: 0; }
.step > time { font-family: var(--font-head); font-weight: 900; font-size: 24px; line-height: 1.2; font-variant-numeric: tabular-nums; position: sticky; top: 64px; align-self: start; }
.step > time small { display: block; font-size: 12px; font-weight: 400; color: var(--ink-3); margin-top: 2px; }
.step-body { display: grid; gap: 16px; min-width: 0; }
.step-body > h3 { font-size: 21px; font-weight: 700; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.step-body > p { color: var(--ink-2); max-width: 44em; }

.lecturer { border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 0 8px 8px 0; padding: 14px 18px; }
.lecturer > b { display: block; font-size: 12px; letter-spacing: .12em; color: var(--accent); margin-bottom: 4px; }
.lecturer ul { list-style: none; display: grid; gap: 6px; font-size: 15px; }
.lecturer li { padding-left: 1.1em; position: relative; }
.lecturer li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.lecturer p { font-size: 15px; }

.groups3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gcard { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; display: grid; gap: 8px; align-content: start; }
.gcard > b { font-family: var(--font-head); font-size: 17px; font-weight: 900; }
.gcard ul { list-style: none; display: grid; gap: 7px; font-size: 14px; line-height: 1.7; }
.gcard li { padding-left: 1.1em; position: relative; }
.gcard li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.gcard .sub { font-size: 12px; color: var(--ink-3); letter-spacing: .06em; margin-top: 4px; }

.settings { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.settings div { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; }
.settings dt { font-size: 12px; color: var(--ink-3); letter-spacing: .06em; }
.settings dd { margin: 2px 0 0; font-size: 15px; }

.reflect-wrap .groups3 { margin-top: 22px; }
.reflect-wrap .gcard { background: color-mix(in srgb, var(--paper) 8%, transparent); border-color: color-mix(in srgb, var(--paper) 18%, transparent); color: var(--paper); }
.reflect-wrap .gcard li::before { background: var(--hl); }

.src-note { font-size: 13px; color: var(--ink-3); }

@media (max-width: 860px) {
  .groups3 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .step { grid-template-columns: 1fr; gap: 8px; }
  .step > time { position: static; }
}

/* =========================================================
   コーチング演習（後学期）用の追加
   ========================================================= */
/* 授業形式のラベル */
.tag.face  { color: var(--accent); }
.tag.media { color: var(--ink-2); border-style: dashed; }
/* 進み具合バー：メディア授業は斜線 */
.track a.media { background-image: repeating-linear-gradient(135deg, transparent 0 3px, color-mix(in srgb, var(--paper) 70%, transparent) 3px 5px); }
.track-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 12px; color: var(--ink-3); }
.track-legend span { display: inline-flex; align-items: center; gap: 6px; }
.track-legend i { width: 18px; height: 10px; border-radius: 2px; background: var(--line); display: inline-block; }
.track-legend i.done { background: var(--accent); }
.track-legend i.media { background-color: var(--line); background-image: repeating-linear-gradient(135deg, transparent 0 3px, color-mix(in srgb, var(--paper) 70%, transparent) 3px 5px); }
/* 3つの時限 */
.periods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; max-width: 560px; }
.periods div { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; display: flex; align-items: baseline; gap: 8px; }
.periods b { font-family: var(--font-head); font-weight: 900; font-size: 24px; line-height: 1; }
.periods span { font-size: 13px; color: var(--ink-3); }
.page-plan { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.page-plan .box { border: 1px solid var(--line); background: var(--surface); border-radius: 6px; padding: 2px 10px; font-weight: 700; color: var(--ink); font-size: 13px; }
.page-plan .box.common { background: var(--accent-soft); border-color: transparent; color: var(--accent); }
.page-plan .plus { color: var(--ink-3); }
/* カード下段：形式ラベルと時限の記録状況 */
.card .logs { align-items: center; justify-content: space-between; }
.card .pd { display: inline-flex; gap: 4px; }
.card .pd em { font-style: normal; font-size: 11px; border: 1px solid var(--line); border-radius: 3px; padding: 0 5px; color: var(--ink-3); }
.card .pd em.on { background: var(--accent-soft); border-color: transparent; color: var(--accent); font-weight: 700; }
.media-note { margin-top: 20px; font-size: 14px; color: var(--ink-2); border-left: 3px solid var(--line); padding-left: 12px; max-width: 46em; }
@media (max-width: 460px) { .periods { grid-template-columns: 1fr 1fr 1fr; gap: 6px; } .periods div { padding: 8px 10px; flex-direction: column; gap: 2px; } }
.log-totals b small{font-size:13px;color:var(--ink-3);font-weight:500;}
.sessions { grid-template-columns: repeat(3, 1fr); }
.card h4 { word-break: auto-phrase; line-break: strict; }
.card .logs .tag { white-space: nowrap; }
@media (max-width: 860px) { .sessions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sessions { grid-template-columns: 1fr; } }

/* 各回ページ（コーチング演習用の追加） */
.s-periods { display: flex; flex-wrap: wrap; gap: 6px; }
.s-periods span { border: 1px solid var(--line); background: var(--surface); border-radius: 6px; padding: 0 10px; font-size: 13px; font-variant-numeric: tabular-nums; }
.s-periods b { font-family: var(--font-head); margin-right: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 14px; padding: 4px 12px; border-radius: 999px; }
.gcard .how { font-size: 12px; color: var(--ink-3); border-top: 1px dashed var(--line); padding-top: 6px; margin-top: 2px; }
.gcard .num-s { font-family: var(--font-head); font-weight: 900; color: var(--accent); margin-right: 6px; }
.period-card.is-empty { background: transparent; border-style: dashed; }
.period-card.is-empty p { font-size: 14px; color: var(--ink-3); }
.period-card > b small { font-family: var(--font-body); font-weight: 400; font-size: 12px; color: var(--ink-3); margin-left: 6px; }
.subhead { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: -6px; }
.src-doc { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 14px; color: var(--ink-2); }
.src-doc i { font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 3px; color: #fff; background: var(--ink-3); }
/* ページ（授業資料）がある予定の回 */
.card.is-future.has-page { background: var(--surface); border-style: solid; border-color: var(--accent); }
.card.is-future.has-page .num { color: var(--ink); }
.card .open { font-size: 12px; font-weight: 700; color: var(--accent); }
.track a.has-page { box-shadow: inset 0 -4px 0 var(--accent); }
.track-legend i.page { background: var(--line); box-shadow: inset 0 -3px 0 var(--accent); }
