/* 作業手順書のデモだけの絵：動画のコマ（実物の動画は使わず、場面をHTML/CSSで見せる）と、手順の文 */
.tj-scene { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, #2B2724, #514842); color: #fff; margin-bottom: 10px; }
.tj-scene::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 14px, transparent 14px 28px); }
.tj-scene.is-sm { margin-bottom: 0; }
.tj-no { position: absolute; top: 10px; left: 10px; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font: 700 16px/1 "Inter", sans-serif; }
.tj-scene .tj-time { position: absolute; top: 14px; right: 12px; font-size: 12px; font-weight: 700; line-height: 1.5; background: rgba(0, 0, 0, .5); border-radius: 999px; padding: 1px 10px; }
.tj-play { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.tj-play::after { content: ""; position: absolute; left: 21px; top: 15px; border: 11px solid transparent; border-left: 16px solid #fff; border-right: 0; }
.tj-sub { position: absolute; left: 10px; right: 10px; bottom: 12px; margin: 0; text-align: center; font-size: 13px; line-height: 1.5; background: rgba(0, 0, 0, .58); border-radius: 6px; padding: 4px 8px; }
.tj-scene.is-sm .tj-sub { font-size: 11.5px; bottom: 9px; }
.tj-scene.is-sm .tj-play { width: 38px; height: 38px; top: 40%; }
.tj-scene.is-sm .tj-play::after { left: 15px; top: 10px; border-width: 9px; border-left-width: 13px; }
.tj-seek { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .25); }
.tj-seek i { display: block; height: 100%; background: var(--accent); }

/* スタッフの画面：1場面ずつ読む */
.tj-doc { font-size: 12.5px; font-weight: 700; color: var(--text-sub); margin: 0 0 8px; }
.tj-dots { list-style: none; display: flex; gap: 6px; margin: 0 0 10px; padding: 0; }
.tj-dots li { flex: 1; height: 6px; border-radius: 999px; background: #E3DCD6; }
.tj-dots li.is-ok { background: #2F8A4E; }
.tj-dots li.is-cur { background: var(--accent); }
.tj-t { font-size: 20px; font-weight: 700; line-height: 1.55; margin: 0 0 10px; overflow-wrap: anywhere; }
.tj-t small { display: block; font-size: 12px; font-weight: 700; color: var(--text-sub); font-family: "Inter", sans-serif; }
.tj-fix { font-size: 13px; line-height: 1.6; margin: -4px 0 10px; display: grid; gap: 4px; justify-items: start; }
.tj-c, .tj-tip { font-size: 14.5px; line-height: 1.65; border-radius: 10px; padding: 10px 12px; margin: 0 0 8px; overflow-wrap: anywhere; }
.tj-c { background: #FDF0EE; color: #A1241C; font-weight: 700; }
.tj-tip { background: #FDF6E3; color: var(--ink); }
.tj-c b, .tj-tip b { display: block; font-size: 11.5px; line-height: 1.4; margin-bottom: 2px; }
.tj-tip b { color: var(--primary); }
.tj-nav { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 8px; margin: 12px 0 10px; }
.tj-nav .ka-btn { min-height: 54px; font-size: 16px; }
.tj-fin { display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 700; color: #23633A; }
.tj-fin .ka-ic { width: 26px; height: 26px; }

/* 管理画面：動画から作る・直して公開 */
.tj-video { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; background: #1F1A17; color: #fff; border-radius: 12px; padding: 14px; margin-bottom: 12px; }
.tj-video .tj-play { position: relative; left: 0; top: 0; transform: none; width: 48px; height: 48px; }
.tj-video .tj-play::after { left: 19px; top: 13px; }
.tj-video p { display: grid; line-height: 1.4; }
.tj-video small { font-size: 12px; color: #D8CBC3; }
.tj-video b { font-size: 16px; }
.tj-video .tj-time { font: 700 14px "Inter", sans-serif; color: #D8CBC3; }
.tj-strip { grid-column: 1 / -1; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 8px 0 0; padding: 0; }
.tj-strip li { aspect-ratio: 16 / 10; border-radius: 6px; background: linear-gradient(135deg, #3A332E, #5B514A); display: grid; place-items: end center; font: 700 11px/1.8 "Inter", sans-serif; color: #E9DFD9; }
.tj-say { list-style: none; margin: 0 0 12px; padding: 12px 14px; display: grid; gap: 8px; font-size: 13.5px; line-height: 1.6; background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.tj-say li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 8px; }
.tj-say time { font: 700 13px/1.7 "Inter", sans-serif; color: var(--primary); }
.tj-check { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; margin: 0 0 12px; min-height: 44px; cursor: pointer; }
.tj-check input { width: 20px; height: 20px; accent-color: var(--primary); flex: none; }
.tj-editbar { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; margin-bottom: 4px; }
.tj-editbar .tj-check { margin-bottom: 10px; }
.tj-edit { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px; align-items: start; }
.tj-edit .ka-field:last-child { margin-bottom: 0; }
.tj-tr { font-size: 13px; line-height: 1.6; background: var(--bg-soft); border-radius: 10px; padding: 8px 12px; margin: 0 0 8px; overflow-wrap: anywhere; }
.tj-tr b { display: block; font-size: 11.5px; color: var(--primary); }
@media (max-width: 760px) {
  .tj-editbar { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .tj-edit { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
