/* ワークショップのページ（workshop.html と workshop-screen.html）だけの見た目。色と書体は site.css のものを使う。
   1画面に1ステップ。いま何番目かと、やることが1つだけ見える。「次へ」はいつも親指の届く所にある。
   画像は角を丸め、余計な枠や影を付けない（画像そのものを見比べる場なので） */

.page-workshop {
  --ws-brand-text: #07698a; /* 青の文字は地の色に対して 4.5:1 以上にする（--brand のままだと 4.34:1） */
}

.ws-player {
  max-width: 760px;
  padding-top: clamp(20px, 4vw, 40px);
  padding-bottom: 120px;
}

/* ページの題は小さく。ステップの見出しを主役にする */
.ws-title {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

/* どのパートにいるか（入口へ戻るリンクつき） */
.ws-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 8px;
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
}

.ws-crumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-weight: 400;
}

.ws-crumb span {
  color: var(--muted);
  font-weight: 400;
}

.ws-progress {
  height: 4px;
  margin: 0;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}

.ws-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 240ms var(--ease);
}

/* JavaScript が動くときだけ、いまのステップ以外を隠す */
.ws-js .ws-step:not(.is-current) {
  display: none;
}

.ws-step {
  padding-top: 28px;
}

.ws-step + .ws-step {
  border-top: 1px solid var(--line);
  margin-top: 28px;
}

.ws-js .ws-step + .ws-step {
  border-top: 0;
  margin-top: 0;
}


.ws-step h2 {
  margin: 8px 0 20px;
  font-size: clamp(1.625rem, 6vw, 2.25rem);
  font-weight: 600;
  line-height: 1.35;
}

.ws-step__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  font-size: 1rem;
  line-height: 1.85;
}

.ws-step__body > * {
  margin: 0;
}

/* 文の1行は全角40字ほどまで（画像と入力欄は横いっぱいに使う） */
.ws-step__body > p {
  max-width: 40em;
}

.ws-lead {
  color: var(--ink);
  font-size: 1.1875rem;
  line-height: 1.75;
}

.ws-ask {
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--panel);
  color: var(--ink);
}

.ws-ask {
  font-size: 1.125rem;
  line-height: 1.7;
}

.ws-ask:empty {
  display: none;
}


.ws-note {
  color: var(--body);
  font-size: 1rem;
  line-height: 1.8;
}


/* 頼む文 */

.ws-input {
  width: 100%;
  min-height: 48px;
  margin-bottom: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

.ws-input:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}

.ws-label {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
}

.page-workshop input[type="text"],
.page-workshop select,
.page-workshop textarea {
  box-sizing: border-box;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem; /* 16px 未満だと iPhone が拡大してしまう */
  line-height: 1.6;
}

.page-workshop textarea {
  display: block;
  width: 100%;
  margin-top: -8px;
  resize: vertical;
}

.ws-big {
  width: 100%;
  min-height: 56px;
  font-size: 1.0625rem;
}

.ws-msg {
  min-height: 1.6em;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.6;
}


.ws-step__body .btn--ghost {
  justify-self: start;
  max-width: 100%;
  padding-block: 8px;
  white-space: normal; /* 幅320pxでもはみ出さない */
  line-height: 1.4;
  min-height: 44px;
  font-size: 1rem;
}

/* コツ */

/* 札は2行。上に「1回目で気になったこと」、下に「その直し方」（押すと頼む文に1文足される） */
.ws-tips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 8px;
}

.ws-tip {
  display: grid;
  gap: 2px;
  align-content: start;
  min-height: 64px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.ws-tip small {
  color: var(--muted);
  font-size: 0.875rem;
}

.ws-tip span {
  font-weight: 600;
}

/* 札ごとに、頼む文に入る文をそのまま見せる（2026-11-26 本人「どんな具体的なものを書けばいいかというのを示してほしい」） */
.ws-tip .ws-tip__text {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-style: normal;
  line-height: 1.55;
}

.ws-tip[aria-pressed="true"] .ws-tip__text {
  color: var(--dark-text);
  opacity: 0.85;
}

.ws-tip[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--dark-text);
}

.ws-tip[aria-pressed="true"] small {
  color: inherit;
  opacity: 0.78;
}

/* 見るところ・確かめるところ・頼み方が決めていること。名前を左に、中身を右に、1行ずつ（区切りは余白だけ） */
.ws-points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ws-points li {
  display: grid;
  grid-template-columns: 6.5em minmax(0, 1fr);
  column-gap: 16px;
  line-height: 1.7;
}

.ws-points b {
  color: var(--ink);
  font-weight: 600;
}

/* うまくいった頼み方（ステップ5）。選んだものは墨の線で囲み、下にその頼み方の書き方と確かめる点を出す */

.ws-usable {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 10px;
}

.ws-use {
  display: grid;
  gap: 6px;
  align-content: start;
  min-height: 44px;
  padding: 6px 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

.ws-use img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: var(--panel);
}

.ws-use span {
  padding: 0 4px;
  font-weight: 600;
}

/* その見た目が向いている場面 */
.ws-use small {
  padding: 0 4px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.ws-use[aria-checked="true"] {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}


/* 見るときの問い */


/* 画像 */


/* 縦長の画像（ポスター）が画面を占領しないよう、高さを画面の7割までにする */


/* スクリーン（全部の卓） */

.ws-screen {
  max-width: 1600px;
  padding-top: clamp(20px, 3vw, 36px);
  padding-bottom: 64px;
}

.ws-screen h1 {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
}


/* コピーと ChatGPT を開くボタン（横に並べ、狭い画面では縦に） */
.ws-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ws-actions .ws-big {
  flex: 1 1 200px;
  justify-content: center;
}

/* 前の回から足したことの1行と、畳んだ頼む文 */
.ws-added {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.7;
}

.ws-added:empty {
  display: none;
}

.ws-full summary {
  display: list-item;
  min-height: 44px;
  padding: 10px 0;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
}

.ws-full textarea {
  margin-top: 4px;
}

/* 査読のチェック（workshop-review.html）。AIの返事の見本と、人の査読のコメント。文章なので、行の切れ目をそのまま出す */
.ws-reply {
  margin: 6px 0 0;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--panel);
  color: var(--body);
  font-size: 0.9375rem;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.ws-reply b {
  color: var(--ink);
}

/* 選んだ原稿（抄録）の中身 */
.ws-paper {
  display: grid;
  gap: 10px;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.ws-paper p {
  margin: 0;
}

.ws-paper__title {
  color: var(--ink);
  font-weight: 600;
}

.ws-paper__org {
  color: var(--muted);
}

/* 論文の節の見出しと表。表は幅からはみ出す分だけ、その場で横に送る */
.ws-paper__h {
  margin-top: 8px;
  color: var(--ink);
  font-weight: 600;
}

.ws-paper__table {
  overflow-x: auto;
}

.ws-paper table {
  border-collapse: collapse;
  font-size: 0.8125rem;
  line-height: 1.6;
}

.ws-paper th,
.ws-paper td {
  padding: 4px 14px 4px 0;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}

.ws-paper th {
  color: var(--ink);
  font-weight: 600;
}

.ws-for[hidden] {
  display: none;
}

.ws-for {
  display: grid;
  gap: 14px;
}

/* 絵のない選択肢（誰の目で見てもらうか） */
.ws-use--plain {
  padding: 12px 10px;
}

/* 3回目の見本（この発表を究極の頼み方で作った1枚） */
.ws-ult {
  display: grid;
  gap: 6px;
  margin: 0;
}

.ws-ult[hidden] {
  display: none;
}

.ws-ult img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: var(--panel);
}

.ws-ult figcaption {
  color: var(--muted);
  font-size: 0.875rem;
}

/* 参加用の QR（スクリーン）。会場の後ろからも読めるよう大きく */
.ws-screen h1 {
  text-align: center;
}

.ws-qr-url,
.ws-qr-note {
  margin: 12px 0 0;
  text-align: center;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
}

.ws-qr-url {
  min-height: 1.7em;
  color: var(--ink);
  font-weight: 600;
}

/* スクリーンを見本まで送っても、右下に参加の URL を出し続ける（2026-11-20 参加者のタイプ別の試験。10分遅れて来た人が QR を見られなかった） */
.ws-join {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 30;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--card);
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.375rem);
}

.ws-join b {
  color: var(--ink);
  font-weight: 600;
}

.ws-qr {
  box-sizing: border-box;
  width: min(460px, 80vw);
  aspect-ratio: 1; /* QR は読み込み後に描くので、場所を先に取って下の中身がずれないようにする */
  margin: 24px auto 0;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
}


.ws-qr svg {
  display: block;
  width: 100%;
  height: auto;
}

/* 下の移動バー */

.ws-nav {
  display: none;
}

.ws-js .ws-nav {
  position: fixed;
  inset: auto 0 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px max(16px, env(safe-area-inset-left, 0px))
    calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.ws-nav .btn {
  min-width: 96px;
  min-height: 52px;
  font-size: 1rem;
}

.ws-nav .btn[disabled] {
  opacity: 0.4;
  cursor: default;
}

.ws-nav__pos {
  color: var(--muted);
  font-size: 1rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* 下の帯は1行のまま。折り返すと帯が画面の3割を占め、段の最後のボタンが帯の下に隠れた
   （2026-11-20 参加者のタイプ別の試験。iPhone SE で表示を150%にした人＝幅250px相当） */
.ws-nav .btn,
.ws-nav__pos {
  white-space: nowrap;
}

/* とても狭い画面（文字を大きくした iPhone SE など）。「3 / 6」は上の段の一覧でも分かるので外し、
   ボタン2つを半分ずつに。名前と説明の2列の一覧は、縦に積む */
@media (max-width: 360px) {
  .ws-js .ws-nav {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .ws-nav__pos {
    display: none;
  }

  .ws-nav .btn {
    min-width: 0;
    padding-inline: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .ws-points li {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 2px;
  }
}

.page-workshop input:focus-visible,
.page-workshop select:focus-visible,
.page-workshop textarea:focus-visible,
.ws-tip:focus-visible,
.ws-use:focus-visible,
.page-workshop .btn:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

/* 当日はスマホで押すので、このページだけ共通のヘッダーと足元のリンクも 44px の高さにする（site.css は触らない） */
.page-workshop .brand,
.page-workshop .site-footer a {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
}

/* ステップで進むときは、足元のサイト案内を出さない（JavaScript が無いときは出す） */
.ws-js body.page-workshop:not(.page-workshop-screen) .site-footer {
  display: none;
}


@media (prefers-reduced-motion: reduce) {
  .ws-progress__bar,
  .ws-tip,
  .btn {
    transition: none;
  }
}

/* 作っている間（押しても二重に作らない。フォーカスはボタンに残す） */
.ws-big[aria-disabled="true"] {
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--body);
  cursor: progress;
}

/* 発表のサンプル（ステップ2）。選ぶ前は1行の見出しを縦に並べるだけ。押したカードだけ下に詳しい中身が開き、墨の線で囲む */

.ws-cards {
  display: grid;
  gap: 10px;
}

.ws-card {
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--card);
  overflow: hidden;
}

.ws-card:has([aria-checked="true"]) {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.ws-card__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 14px;
  align-items: center;
  width: 100%;
  min-height: 56px;
  padding: 12px 16px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  text-align: left;
  cursor: pointer;
  scroll-margin-top: 96px;
}

.ws-card__head:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -4px;
}

.ws-card__for {
  grid-column: 1;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.ws-card__title {
  grid-column: 1;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
}

.ws-card__state {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-width: 4.5em;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.875rem;
  text-align: center;
  white-space: nowrap;
}

.ws-card__state::before {
  content: "選ぶ";
}

.ws-card__head[aria-checked="true"] .ws-card__state {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--dark-text);
}

.ws-card__head[aria-checked="true"] .ws-card__state::before {
  content: "選んでいます";
}

.ws-card__detail {
  display: grid;
  gap: 8px;
  padding: 4px 16px 18px;
  border-top: 1px solid var(--line);
  color: var(--body);
  line-height: 1.7;
}

.ws-card__detail[hidden] {
  display: none;
}

.ws-card__detail p {
  margin: 0;
  max-width: 40em;
}

.ws-card__when {
  padding-top: 10px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.ws-card__you {
  color: var(--ink);
}

/* その場の様子（2026-11-26 本人「シチュエーションの描写とかをもっと細かく詳しく」） */
.ws-card__situation {
  max-width: 40em;
  margin: 4px 0 6px;
}

.ws-card__situation p {
  margin: 0 0 8px;
  color: var(--ink);
}

.ws-card__situation .ws-card__situation-label {
  margin: 8px 0 2px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* 伝えたいことは卓で決める（同日「伝えたい内容はチームで決める感じで」） */
.ws-card__decide {
  max-width: 40em;
  margin-top: 20px;
}

.ws-card__decide .ws-card__note {
  margin: 2px 0 8px;
  color: var(--muted);
  font-size: 0.875rem;
}

.ws-card__facts {
  display: grid;
  gap: 2px;
  max-width: 40em;
  margin: 0;
}

.ws-card__facts dt {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.ws-card__facts dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.ws-card__facts ul {
  margin: 0;
  padding-left: 1.2em;
}

.ws-card__facts .ws-card__note {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 0.875rem;
}

.ws-card__facts strong {
  color: var(--ink);
  font-weight: 600;
}

.ws-use img {
  aspect-ratio: 16 / 9;
}

/* 画像のワークショップの「発表を選ぶ」：場面の写真つきの札を並べる（2026-11-25 本人「こういう場面です、みたいな」）。
   査読のワークショップは .ws-cards のまま（文字だけの札）。
   開いた中身は札の並びの直接の子。dense で、選んだ札の行のすぐ下に、行の幅いっぱいで出る */
.ws-cards--scenes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: row dense;
  gap: 14px 12px;
}

.ws-cards--scenes > .ws-card {
  border: 0;
  border-radius: 14px;
  background: transparent;
  overflow: visible;
}

.ws-cards--scenes > .ws-card:has([aria-checked="true"]) {
  box-shadow: none;
}

.ws-cards--scenes .ws-card__head {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  height: 100%;
  min-height: 0;
  padding: 0 0 6px;
  border-radius: 14px;
}

.ws-cards--scenes .ws-card__photo {
  display: block;
  aspect-ratio: 3 / 2;
  margin-bottom: 6px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
}

.ws-cards--scenes .ws-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

@media (hover: hover) {
  .ws-cards--scenes .ws-card__head:hover .ws-card__photo img {
    transform: scale(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ws-cards--scenes .ws-card__photo img {
    transition: none;
  }
}

/* 選んだ札は、写真を墨の線で囲む */
.ws-cards--scenes .ws-card__head[aria-checked="true"] .ws-card__photo {
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink);
}

.ws-cards--scenes .ws-card__photo--own {
  display: grid;
  place-items: center;
  border: 1px dashed var(--line-strong);
  box-shadow: none;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
}

.ws-cards--scenes .ws-card__for,
.ws-cards--scenes .ws-card__title {
  padding: 0 2px;
}

.ws-cards--scenes .ws-card__for {
  font-size: 0.8125rem;
}

.ws-cards--scenes .ws-card__title {
  font-size: 1rem;
}

/* 「選ぶ」の札は写真の右上に重ねる */
.ws-cards--scenes .ws-card__state {
  position: absolute;
  top: 10px;
  right: 10px;
  min-width: 0;
  padding: 4px 12px;
  border-color: transparent;
  background: rgba(252, 252, 251, 0.94);
  font-size: 0.8125rem;
}

.ws-cards--scenes > .ws-card__detail {
  grid-column: 1 / -1;
  padding: 6px 20px 22px;
  border: 1px solid var(--ink);
  border-radius: 14px;
  background: var(--card);
  scroll-margin-top: 96px;
}

.ws-card__picked {
  padding-top: 12px;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
}

.ws-cards--scenes > .ws-card__detail .ws-card__when {
  padding-top: 0;
}

@media (max-width: 760px) {
  .ws-cards--scenes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* スマホは1列。写真を左、題を右に置いて、7枚が縦に長くなりすぎないようにする */
@media (max-width: 520px) {
  .ws-cards--scenes {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .ws-cards--scenes .ws-card__head {
    display: grid;
    grid-template-columns: 42% minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 12px;
    row-gap: 2px;
    align-items: start;
    padding: 0;
  }
  .ws-cards--scenes .ws-card__photo {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 0;
  }
  .ws-cards--scenes .ws-card__photo--own {
    font-size: 0.875rem;
  }
  .ws-cards--scenes .ws-card__for,
  .ws-cards--scenes .ws-card__title {
    grid-column: 2;
    padding: 0;
  }
  .ws-cards--scenes .ws-card__for {
    padding-top: 2px;
  }
  /* 絶対位置でも grid の欄が基準になるので、写真の欄（1列目）に置く */
  .ws-cards--scenes .ws-card__state {
    grid-column: 1;
    grid-row: 1;
    top: 6px;
    right: auto;
    left: 6px;
    padding: 2px 10px;
    font-size: 0.75rem;
  }
  .ws-cards--scenes > .ws-card__detail {
    padding: 4px 16px 18px;
  }
}


/* スクリーンの見本：6つの発表の1回目・2回目・3回目を横に並べる */
.ws-prog {
  margin-top: 72px;
}

.ws-prog h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  font-weight: 600;
}

.ws-prog__note {
  margin: 0 0 24px;
  color: var(--muted);
}

.ws-prog__row {
  padding-block: 28px;
  border-top: 1px solid var(--line);
}

.ws-prog__row h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 600;
}

.ws-prog__imgs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ws-prog__imgs figure {
  display: grid;
  align-content: start; /* 説明の行数が違っても、3枚の絵の高さをそろえる */
  gap: 6px;
  margin: 0;
}

.ws-prog__imgs img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: var(--panel);
}

.ws-prog__imgs figcaption {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* 何回目か（太字）と、その回で起きたこと */
.ws-prog__imgs figcaption b {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 720px) {
  .ws-prog__imgs {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 段の一覧（押すとその段へ）。いまの段は墨で塗る */
.ws-stepper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.ws-stepper button {
  width: 100%;
  min-height: 44px;
  padding: 6px 4px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.875rem;
  line-height: 1.3;
  cursor: pointer;
}

.ws-stepper button[aria-current="step"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--dark-text);
  font-weight: 600;
}

.ws-stepper button:focus-visible,
.ws-chosen__change:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

/* 選んだ発表（1回目から後の段で上に出す）と、選び直すボタン */
.ws-chosen {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin: 12px 0 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
}

.ws-chosen__text {
  display: grid;
  min-width: 0;
}

.ws-chosen__label {
  color: var(--muted);
  font-size: 0.8125rem;
}

.ws-chosen[hidden] {
  display: none;
}

.ws-chosen b {
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
}

.ws-chosen__change {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.875rem;
  cursor: pointer;
}

/* 最後の段の先：別の発表でもう一度・コツのページ */
.ws-end {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.ws-end .ws-big {
  flex: 1 1 200px;
  justify-content: center;
}

/* まとめの見本（本気で頼んだ1枚）と、持ち帰る3つ */
.ws-show {
  display: grid;
  gap: 10px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
}

.ws-show h3,
.ws-sub {
  margin: 0;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 600;
}

.ws-show img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 10px;
  background: var(--panel);
}

.ws-sub {
  margin-top: 12px;
}

.ws-take {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.4em;
  line-height: 1.75;
}

.ws-take b {
  color: var(--ink);
}

/* スクリーンのまとめの見本は、1枚ずつ大きく */
.ws-screen-show {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
}

.ws-screen-show img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
  background: var(--panel);
}

.ws-screen-show figcaption {
  color: var(--muted);
  font-size: 1rem;
}

/* 手本の実物と、作った1枚を並べる（狭い画面では縦に） */
.ws-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.ws-pair figure {
  display: grid;
  gap: 6px;
  margin: 0;
}

.ws-pair img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: var(--panel);
}

.ws-pair figcaption {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.ws-pair figcaption a {
  color: var(--ink);
}

.ws-screen-show h3,
.ws-screen-show h4 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

@media (max-width: 720px) {
  .ws-pair {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 段の一覧は6つ。スマホでは3つずつ2行にして、文字と押しやすさを保つ */
@media (max-width: 640px) {
  .ws-stepper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ws-take li + li {
  margin-top: 2px;
}

/* まとめの見本の種類へ飛ぶボタン（スマホは2列、広い画面は4列）と、一覧へ戻るボタン */
.ws-jump {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
  scroll-margin-top: 96px; /* 上に貼りつく見出しの帯の下に出す */
}

.ws-jump:focus {
  outline: none;
}

.ws-jump button,
.ws-jump a {
  display: grid;
  gap: 2px;
  min-height: 56px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--card);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.ws-jump button span,
.ws-jump a span {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 400;
}

.ws-jump-back {
  margin: 20px 0 0;
}

.ws-jump-back button {
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--brand-text, var(--ink));
  font-family: var(--sans);
  font-size: 0.9375rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.ws-jump button:focus-visible,
.ws-jump a:focus-visible,
.ws-jump-back button:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

.ws-show-group > h3 {
  scroll-margin-top: 96px; /* 上に貼りつく見出しの帯の下に出す */
}

/* スクリーンのページ：飛ぶ先はリンク。種類の見出しは大きめ */
.ws-jump a {
  align-content: start;
  text-decoration: none;
}

.ws-screen-group {
  margin: 36px 0 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.375rem;
  font-weight: 600;
  scroll-margin-top: 96px; /* 上に貼りつく見出しの帯の下に出す */
}

.ws-show-group > h3:focus {
  outline: none;
}

@media (min-width: 721px) {
  .ws-jump {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* まとめの見本は種類ごとに分ける（見出しは大きめ、見本の名前はその下） */
.ws-show-group {
  display: grid;
  gap: 0;
  margin-top: 20px;
}

.ws-show-group > h3 {
  margin: 0;
  padding-bottom: 8px;
  color: var(--ink);
  font-size: 1.375rem;
  font-weight: 600;
}

.ws-show h4 {
  margin: 0;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 600;
}

/* ワークショップの入口（workshop.html）。全体の説明と、画像・文章の2つのパート。
   パートは「名前と題 → 実物の絵 → 説明と始めるボタン」の順。広い画面では、絵を左、名前・題・説明を右に。区切りは余白だけ（線や色の帯を使わない） */
.ws-hub {
  max-width: 1040px;
  padding-block: clamp(28px, 5vw, 56px) 96px;
}

.ws-hub__title {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(2rem, 4.6vw, 3rem);
  font-weight: 600;
  line-height: 1.25;
}

.ws-hub > .ws-lead {
  max-width: 40em;
  margin: 0;
}

.ws-hub__facts {
  max-width: 46em;
  margin-top: 28px;
}

.ws-part {
  display: grid;
  grid-template-areas: "head" "visual" "body";
  gap: 16px;
  margin-top: clamp(64px, 9vw, 96px);
  scroll-margin-top: 96px;
}

@media (min-width: 820px) {
  .ws-part {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    grid-template-areas: "visual head" "visual body";
    grid-template-rows: auto 1fr;
    column-gap: 48px;
    row-gap: 12px;
  }
}

.ws-part__head {
  grid-area: head;
  display: grid;
  gap: 8px;
  align-self: end;
}

.ws-part__pic {
  grid-area: visual;
  align-self: center;
  margin: 0;
}

.ws-part__pic img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: var(--panel);
}

.ws-part__head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.35;
  text-wrap: balance;
}

.ws-part__body {
  grid-area: body;
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
}

.ws-part__body p {
  margin: 0;
  line-height: 1.8;
}

.ws-part__no {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

.ws-part__no span {
  color: var(--muted);
  font-weight: 400;
}

.ws-part .ws-actions {
  margin-top: 8px;
}

/* スクリーン：卓ごとの発表（2026-11-25 時間の余白を作るため、発表は講師が卓ごとに割り当てる） */
.ws-assign {
  margin-top: 48px;
}
.ws-assign h2 {
  margin: 0 0 16px;
  font-size: 1.5rem;
}
.ws-assign__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 16px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  counter-reset: assign;
}
.ws-assign__list li {
  display: grid;
  gap: 4px;
  counter-increment: assign;
}
.ws-assign__photo {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 12px;
}
.ws-assign__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ws-assign__photo::before {
  content: "卓 " counter(assign);
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--dark-text);
  font-size: 1rem;
  font-weight: 600;
}
.ws-assign__list b {
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 600;
}
.ws-assign__list li > span:last-child {
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
}
@media (max-width: 760px) {
  .ws-assign__list {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 1回目の手順（どこで何をするか）。番号の丸・やること・場所の札。区切りは余白だけ（線や色の帯は使わない） */
.ws-do {
  display: grid;
  gap: 36px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.ws-do__step {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}
.ws-do__step > * {
  margin: 0;
}
.ws-do__step > p {
  max-width: 40em;
}
/* 番号の丸を左の列に固定し、やることと場所の札は右の列で折り返す（スマホで番号だけが1行に残らないように） */
.ws-do__head {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  align-items: start;
  column-gap: 12px;
}
.ws-do__body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  padding-top: 1px;
}
.ws-do__num {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--dark-text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
}
.ws-do__what {
  color: var(--ink);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.5;
}
.ws-do__where {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

/* 手順の中の小見出し（2回目の「見た目を選ぶ」「札を足す」）。手順の見出しより一段小さく、上に少し間をとる */
.ws-do__step > .ws-sub { margin-top: 10px; font-size: 1rem; }

/* 発表の中身の末尾の「この発表で1回目へ」「ほかの発表を見る」 */
.ws-card__next { margin-top: 12px; }

/* 発表の中身を読みやすく（2026-11-27 本人「もっとみやすく。テクニカルライティングだったり、下線太文字とか」）
   まとまりごとの見出し → 1行ずつの表（左に項目・右に中身）→ 1文ずつの箇条。判断に効く語だけ太字＋下線 */
.ws-card__detail .ws-card__sec {
  margin: 22px 0 2px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}
.ws-card__detail .ws-card__picked { font-size: 1.1875rem; line-height: 1.45; }
.ws-card__kv {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px 20px;
  max-width: 46em;
  margin: 0;
}
.ws-card__kv dt {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.ws-card__kv dd { margin: 0; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (min-width: 720px) {
  .ws-card__kv { grid-template-columns: 8.5em minmax(0, 1fr); row-gap: 10px; }
  .ws-card__kv dt { margin-top: 0; padding-top: 3px; }
}
.ws-card__list { display: grid; gap: 4px; margin: 0; padding-left: 1.2em; }
.ws-card__list li { padding-left: 2px; }
.ws-card__list--result b { font-weight: 700; color: var(--ink); }
.ws-card__list b { font-weight: 700; }
.ws-card__kv .ws-card__note { margin: 0 0 4px; color: var(--muted); font-size: 0.875rem; }
.ws-card__detail .ws-card__you { max-width: 46em; }
.ws-card__detail .ws-card__situation { max-width: 46em; margin-top: 4px; }
.ws-em {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--brand, #0b7da3) 70%, transparent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28em;
  text-decoration-skip-ink: none;
}
.ws-card__val { font-weight: 700; color: var(--ink); white-space: nowrap; }
/* 発表の場（いつ・どこで…）は項目が短いので、スマホでも左右2列のまま */
.ws-card__kv--tight { grid-template-columns: 4.5em minmax(0, 1fr); row-gap: 6px; }
.ws-card__kv--tight dt { margin-top: 0; padding-top: 3px; }
@media (min-width: 720px) { .ws-card__kv--tight { grid-template-columns: 8.5em minmax(0, 1fr); } }

/* AIが足しがちなもの（2026-11-27 本人「ここのぶぶんを充実させてほしい」）：見る所・問い・試したときに起きたこと・2回目での直し方 */
.ws-check { display: grid; gap: 18px; margin: 4px 0 0; padding-left: 1.6em; }
.ws-check li { display: grid; gap: 3px; padding-left: 4px; line-height: 1.7; }
.ws-check li::marker { color: var(--muted); font-weight: 700; }
.ws-check__what { color: var(--ink); font-size: 1.0625rem; font-weight: 700; }
.ws-check__ask { color: var(--ink); }
.ws-check__ex, .ws-check__fix { color: var(--body, var(--ink)); font-size: 0.9375rem; }
.ws-check__tag {
  display: inline-block;
  margin-right: 8px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
}
.ws-check__lead { margin: 14px 0 4px; color: var(--ink); font-weight: 700; }
.ws-talk { display: grid; gap: 4px; margin: 0; padding-left: 1.4em; line-height: 1.7; }
/* うまくいかないとき：困りごと → その場でやること */
.ws-trouble__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px 20px; margin: 4px 0 0; }
.ws-trouble__list dt { margin-top: 10px; color: var(--ink); font-weight: 700; }
.ws-trouble__list dd { margin: 0; line-height: 1.7; }
@media (min-width: 720px) {
  .ws-trouble__list { grid-template-columns: 15em minmax(0, 1fr); row-gap: 12px; }
  .ws-trouble__list dt { margin-top: 0; }
}

/* 1回目を見やすく使いやすく（2026-11-27 本人） */
/* 畳んだ所の題の下に、開くと何があるかを小さく */
.ws-full summary small { display: block; margin-top: 2px; color: var(--muted); font-size: 0.875rem; font-weight: 400; line-height: 1.5; }
/* 入れると伝わること：短い札を横に並べる */
.ws-hint { display: grid; gap: 6px; }
.ws-hint__label { margin: 0; color: var(--muted); font-size: 0.875rem; font-weight: 600; }
.ws-hint__list { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0; padding: 0; list-style: none; }
.ws-hint__list li { padding: 4px 12px; border-radius: 999px; background: var(--panel); color: var(--ink); font-size: 0.9375rem; font-weight: 600; white-space: nowrap; }
/* ChatGPT に貼るときの3行 */
.ws-mini { display: grid; gap: 6px; max-width: 40em; margin: 0; padding-left: 1.2em; color: var(--body, var(--ink)); line-height: 1.7; }
.ws-mini b, .ws-order b { color: var(--ink); font-weight: 700; }
/* 見せ合いの順番 */
.ws-order { display: grid; gap: 4px; margin: 0; padding-left: 1.4em; color: var(--ink); line-height: 1.7; }
.ws-mini { list-style: disc; }
/* コピーの案内がまだ出ていないときは、手順の中に空きを作らない */
.ws-do__step > .ws-msg:empty { display: none; }

/* この発表でやること（作るもの＋3つの手順）。2026-11-27 本人「わかりやすくステップバイステップで」 */
.ws-plan { display: grid; gap: 12px; max-width: 46em; margin-top: 10px; padding: 16px 18px; border-radius: 12px; background: var(--panel); }
.ws-plan__make { margin: 0; color: var(--ink); line-height: 1.6; }
.ws-plan__make b { font-weight: 700; }
.ws-plan__tag { display: inline-block; margin-right: 10px; padding: 1px 10px; border-radius: 999px; background: var(--ink); color: var(--dark-text, #fff); font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }
.ws-plan__steps { display: grid; gap: 10px; margin: 0; padding-left: 1.5em; color: var(--ink); line-height: 1.65; }
.ws-plan__steps li::marker { font-weight: 700; }
.ws-plan__steps li > b { display: block; font-weight: 700; }
.ws-plan__steps li > span { display: block; color: var(--body, var(--ink)); }
.ws-plan__q { display: block; }
.ws-card__material { margin-top: 18px !important; color: var(--muted); font-size: 0.9375rem; }
.ws-card__material b { color: var(--ink); }
.ws-order--pick { max-width: 40em; }

/* はじめにの「ねらい」（2026-11-27 本人「目的を言語化したい」） */
.ws-aim { margin: 0; color: var(--ink); font-size: 1.1875rem; font-weight: 600; line-height: 1.65; max-width: 36em; }
.ws-aim b { font-weight: 700; }
.ws-goals { display: grid; gap: 14px; max-width: 42em; margin: 4px 0 0; padding-left: 1.5em; line-height: 1.7; }
.ws-goals li::marker { font-weight: 700; color: var(--ink); }
.ws-goals li > b { display: block; color: var(--ink); font-weight: 700; }
.ws-goals li > span { display: block; color: var(--body, var(--ink)); }

/* 画像AIのいま：年と出来事の表（2026-11-27） */
.ws-aim--sm { font-size: 1.0625rem; }
.ws-timeline { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 10px 16px; max-width: 42em; margin: 4px 0 0; line-height: 1.7; }
.ws-timeline dt { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ws-timeline dd { margin: 0; color: var(--body, var(--ink)); }
.ws-sources { display: grid; gap: 4px; margin: 0; padding-left: 1.2em; font-size: 0.875rem; line-height: 1.6; }
.ws-sources a { color: var(--ink); }
@media (max-width: 719px) { .ws-timeline { grid-template-columns: 5.6em minmax(0, 1fr); column-gap: 12px; } }
/* いまの画像AIの実物3枚（2026-11-27） */
.ws-plain { margin: 0; max-width: 42em; color: var(--ink); line-height: 1.8; }
.ws-plain b { font-weight: 700; }
.ws-now { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 46em; margin-top: 6px; }
.ws-now figure { display: grid; gap: 6px; margin: 0; }
.ws-now img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.ws-now figcaption { color: var(--muted); font-size: 0.8125rem; line-height: 1.5; }
@media (max-width: 719px) { .ws-now { grid-template-columns: minmax(0, 1fr); } }
/* こんな画像、見たことありませんか（2026-11-27） */
.ws-seen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; max-width: 46em; margin: 4px 0 0; padding: 0; list-style: none; }
.ws-seen li { display: grid; gap: 2px; line-height: 1.6; }
.ws-seen b { color: var(--ink); font-weight: 700; }
.ws-seen span { color: var(--muted); font-size: 0.9375rem; }
@media (max-width: 719px) { .ws-seen { grid-template-columns: minmax(0, 1fr); } }

/* はじめにを図解に（2026-11-27 本人「下線・カード・図解・グラフ・進歩している図」） */
/* 何をするものか：3つの箱と矢印 */
.ws-flow { display: flex; align-items: stretch; gap: 10px; max-width: 46em; margin: 6px 0 4px; }
.ws-flow__box { flex: 1 1 0; display: grid; align-content: center; gap: 2px; padding: 14px 16px; border-radius: 12px; background: var(--panel); text-align: center; }
.ws-flow__box b { color: var(--ink); font-size: 1.0625rem; font-weight: 700; }
.ws-flow__box span { color: var(--muted); font-size: 0.875rem; line-height: 1.5; }
.ws-flow__box--ai { background: var(--ink); }
.ws-flow__box--ai b { color: var(--dark-text, #fff); }
.ws-flow__box--ai span { color: color-mix(in srgb, var(--dark-text, #fff) 70%, transparent); }
.ws-flow__arr { align-self: center; color: var(--muted); font-size: 1.25rem; }
@media (max-width: 719px) { .ws-flow { flex-direction: column; } .ws-flow__arr { transform: rotate(90deg); } }
/* 進歩：年ごとの点と線（PCは横、スマホは縦） */
.ws-steps-time { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 14px; max-width: 46em; margin: 8px 0 0; padding: 0; list-style: none; }
.ws-steps-time li { position: relative; display: grid; align-content: start; gap: 4px; padding-top: 26px; line-height: 1.6; }
.ws-steps-time li::before { content: ""; position: absolute; top: 6px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--brand, #0b7da3); }
.ws-steps-time li::after { content: ""; position: absolute; top: 11px; left: 18px; right: -8px; height: 2px; background: color-mix(in srgb, var(--brand, #0b7da3) 30%, transparent); }
.ws-steps-time li:last-child::after { display: none; }
.ws-steps-time b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.ws-steps-time span { color: var(--body, var(--ink)); font-size: 0.9375rem; }
@media (max-width: 719px) {
  .ws-steps-time { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ws-steps-time li { padding: 0 0 0 26px; }
  .ws-steps-time li::before { top: 7px; }
  .ws-steps-time li::after { display: none; }
}
/* できることの表（●◐○） */
.ws-ability { max-width: 46em; margin-top: 12px; overflow-x: auto; }
.ws-ability table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.ws-ability caption { margin-bottom: 8px; color: var(--muted); font-size: 0.8125rem; text-align: left; }
.ws-ability th, .ws-ability td { padding: 8px 6px; text-align: center; }
.ws-ability thead th { color: var(--muted); font-size: 0.8125rem; font-weight: 600; line-height: 1.4; }
.ws-ability tbody th { color: var(--ink); font-weight: 700; text-align: left; white-space: nowrap; }
.ws-ability tbody tr:nth-child(odd) { background: var(--panel); }
.ws-ability td { font-size: 1.25rem; line-height: 1; }
.ws-ability td.is-2 { color: var(--brand, #0b7da3); }
.ws-ability td.is-1 { color: var(--ink); }
.ws-ability td.is-0 { color: var(--muted); }
.ws-ability__key { display: flex; gap: 16px; margin: 6px 0 0; color: var(--muted); font-size: 0.8125rem; }
/* 大きな数字 */
.ws-stat { display: flex; align-items: center; gap: 22px; max-width: 46em; margin-top: 14px; padding: 18px 22px; border-radius: 12px; background: var(--ink); }
.ws-stat__num { margin: 0; color: #8fdaf0; font-size: 4rem; font-weight: 700; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ws-stat__num small { margin-left: 4px; font-size: 0.4em; }
.ws-stat__label { margin: 0; color: var(--dark-text, #fff); line-height: 1.6; }
.ws-stat__label span { color: color-mix(in srgb, var(--dark-text, #fff) 65%, transparent); font-size: 0.8125rem; }
.ws-stat .ws-em { color: var(--dark-text, #fff); text-decoration-color: #8fdaf0; }
/* こんな画像：カード（白い面にせず、地の色の面で） */
.ws-seen li { padding: 14px 16px; border-radius: 12px; background: var(--panel); }
/* できること／まだ苦手なこと：左右の比較 */
.ws-vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 46em; margin-top: 14px; }
.ws-vs__col { padding: 16px 18px; border-radius: 12px; background: var(--panel); }
.ws-vs__head { margin: 0 0 6px; color: var(--ink); font-weight: 700; }
.ws-vs ul { display: grid; gap: 4px; margin: 0; padding-left: 1.2em; line-height: 1.65; }
@media (max-width: 719px) { .ws-vs { grid-template-columns: minmax(0, 1fr); } .ws-stat { flex-direction: column; align-items: flex-start; gap: 8px; } }
/* こんな画像：絵を上に置いたカード（2026-11-27） */
.ws-seen li { padding: 0 0 14px; overflow: hidden; }
.ws-seen li img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 10px; background: #fff; }
.ws-seen li b, .ws-seen li span { padding: 0 16px; }

/* はじめにの動き（2026-11-27 本人「スクロールするのが楽しくなるような仕組み・アニメーション」）。
   html.ws-motion は workshop.js が付ける。動きを減らす設定・JS が無いときは最初から全部見える */
.ws-motion [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.ws-motion [data-reveal].is-in { opacity: 1; transform: none; }
/* 流れの図：箱が順に、矢印は少し遅れて */
.ws-motion .ws-flow[data-reveal] { opacity: 1; transform: none; }
.ws-motion .ws-flow .ws-flow__arr { opacity: 0; transform: translateX(-8px); transition: opacity .5s ease .35s, transform .5s ease .35s; }
.ws-motion .ws-flow.is-in .ws-flow__arr { opacity: 1; transform: none; }
.ws-motion .ws-flow.is-in .ws-flow__arr + .ws-flow__box ~ .ws-flow__arr { transition-delay: .6s; }
/* 年表：点が弾み、線が左から伸びる */
.ws-motion .ws-steps-time[data-reveal] { transform: none; }
.ws-motion .ws-steps-time li { opacity: 0; transform: translateY(14px); transition: opacity .6s ease var(--d), transform .6s ease var(--d); }
.ws-motion .ws-steps-time li::before { transform: scale(0); transition: transform .45s cubic-bezier(.3,1.6,.5,1) var(--d); }
.ws-motion .ws-steps-time li::after { transform-origin: left center; transform: scaleX(0); transition: transform .7s ease calc(var(--d) + .25s); }
.ws-motion .ws-steps-time.is-in li { opacity: 1; transform: none; }
.ws-motion .ws-steps-time.is-in li::before { transform: scale(1); }
.ws-motion .ws-steps-time.is-in li::after { transform: scaleX(1); }
/* できることの表：行ごと・列ごとに印が灯る */
.ws-motion .ws-ability td span[aria-hidden] { display: inline-block; transform: scale(0); opacity: 0; transition: transform .4s cubic-bezier(.3,1.6,.5,1), opacity .3s ease; }
.ws-motion .ws-ability tbody tr:nth-child(1) td span[aria-hidden] { transition-delay: calc(var(--d) + .2s); }
.ws-motion .ws-ability tbody tr:nth-child(2) td span[aria-hidden] { transition-delay: calc(var(--d) + .7s); }
.ws-motion .ws-ability tbody tr:nth-child(3) td span[aria-hidden] { transition-delay: calc(var(--d) + 1.2s); }
.ws-motion .ws-ability.is-in td span[aria-hidden] { transform: scale(1); opacity: 1; }
/* 大きな数字：浮かび上がりながら数え上がる */
.ws-motion .ws-stat[data-reveal] { transform: translateY(28px) scale(.98); }
.ws-motion .ws-stat[data-reveal].is-in { transform: none; }
/* 見本のカード：2列で少しずつずらし、絵は少し引いた位置から寄る */
.ws-motion .ws-seen li img { transform: scale(1.08); transition: transform 1.4s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.ws-motion .ws-seen li.is-in img { transform: scale(1); }
.ws-seen li { transition: transform .25s ease, box-shadow .25s ease; }
@media (hover: hover) {
  .ws-seen li:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.10); }
  .ws-seen li:hover img { transform: scale(1.03); transition-duration: .6s; }
}
@media (hover: hover) { .ws-motion .ws-seen li.is-in:hover { transform: translateY(-4px); transition: transform .25s ease, box-shadow .25s ease; } }

/* 詰まった感じをほどく（2026-11-27 本人「全体的に詰まっている。テクニカルライティングで」）
   節（h3）の前を大きく空け、番号をつける。小見出し（h4）は中くらい。1行の長さを短めに */
.ws-step__body { gap: 18px; }
.ws-step__body > .ws-sub { display: flex; align-items: center; gap: 12px; margin-top: 52px; font-size: 1.375rem; font-weight: 700; line-height: 1.4; }
.ws-step__body > .ws-sub:first-child { margin-top: 0; }
.ws-sub__no { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--ink); color: var(--dark-text, #fff); font-size: 1rem; font-weight: 600; flex: none; }
.ws-step__body > .ws-sub2 { margin-top: 28px; color: var(--ink); font-size: 1.0625rem; font-weight: 700; line-height: 1.5; }
.ws-step__body > p, .ws-step__body > .ws-lines, .ws-step__body > .ws-note { max-width: 38em; }
.ws-lines { display: grid; gap: 10px; margin: 0; padding-left: 1.2em; color: var(--ink); line-height: 1.85; }
.ws-goals { gap: 18px; }
.ws-goals li > span { margin-top: 2px; }
.ws-take { gap: 12px; }
/* 1回の流れ（4つの箱） */
.ws-flow--4 .ws-flow__box { padding: 12px 10px; }
/* 知っておくこと：左に項目、右に中身 */
.ws-facts { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 14px 20px; max-width: 42em; margin: 0; line-height: 1.75; }
.ws-facts dt { color: var(--muted); font-size: 0.875rem; font-weight: 600; padding-top: 3px; }
.ws-facts dd { margin: 0; color: var(--ink); }
@media (max-width: 719px) {
  .ws-step__body > .ws-sub { margin-top: 44px; font-size: 1.25rem; }
  .ws-facts { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ws-facts dt { margin-top: 12px; }
}
.ws-order__sub { color: var(--muted); font-size: 0.9375rem; }
/* 1回目の「迷ったら：発表の中身をそのまま入れる」（2026-11-27） */
.ws-paste { display: grid; gap: 6px; }
.ws-paste .btn { justify-self: start; }

/* はじめに：読むのは「知っておくこと」だけでよい、の1行（2026-11-27） */
.ws-skip { margin: 0 0 28px; padding: 12px 0; line-height: 1.8; }
.ws-skip a { margin-left: .6em; white-space: nowrap; text-decoration: underline; text-underline-offset: .2em; }
/* 3回目：伝えたいことを自分の1文にする欄（入力欄の見た目は .page-workshop textarea のまま） */
.ws-r3msg .ws-note { margin-top: 8px; }
/* まとめ：作った画像の使い方（2026-11-27） */
.ws-rights { margin-top: 20px; }
@media (max-width: 560px) { .ws-rights { grid-template-columns: minmax(0, 1fr); gap: 4px; } .ws-rights dd { margin-bottom: 12px; } }
