---
title: "AIの確認で見落とす所を知る ― ハコブくん4コマ5話で人が見つけた5つ"
slug: what-ai-review-missed-in-hakobu-4koma
date: 2026-11-23
day: 557
meta_description: "画像生成AIで4コマ『ハコブくん』を5話作ると、Claude の確認で直せたのは11か所。腕が3本・痩せすぎた看護師・小さい小窓・欠けた頭・変な構図の5つは人が見つけた。一覧にカテゴリのタブも付けた。"
tags: [ハコブくん, 4コママンガ, 画像生成AI, Gemini, Claude, 確認, YouTube ショート, カテゴリ, ひとり研究所]
series: "ひとり研究所の裏側"
cover: "/media/LOG557_cover.jpg"
---

**画像生成AIで4コママンガ『ハコブくん』を5話まとめて作ると、Claude が自分で確かめて直せたのは11か所で、腕が3本ある人・痩せすぎた看護師・小さすぎる小窓・欠けたロボットの頭・おかしな構図の5つは、見せたあとに人が見つけた。** Google の画像生成AI（Gemini）に描かせた絵を Claude が選んで仕上げ、ショート動画・英語版・サイト・SNS の予約まで、依頼から約1時間で出した。

この回で、次のことができるようになりました。

- 4コマの確認で、Claude が見落としやすい所が5つに絞れた。手と腕の数、決まっているキャラの体つき、絵の中に重ねた小窓の大きさ、吹き出しを消したあとの欠け、画面の中と外が重なる構図。次からはこの5つを確認の手順に入れて見る
- 4コマの一覧（150話を超えた）に、7つのカテゴリのタブを付けた。たとえば遠隔操作ロボット「ピカリくん」の話だけを13話並べて読める
- 時間：Gemini にまとめて描かせてから、5話をサイトに出すまで56分（10:03〜10:59）。人が見つけた5つの直しを入れて、最後の差し替えが11:15。前に1話ずつ作っていたときの時間は測っていない

きっかけは、プロットの表に「未着手」のまま残っていた古い話（第8話・第36話）と、新しい話（第158〜160話）を、5話まとめて作ることでした。第36話は、ロボットの練習を「スマホで撮った部屋」で行う R2R2R の考え方を1場面で説明する回で、筋を作り直しています。作る途中で、話が増えて一覧から探しにくいという相談もあり、カテゴリのタブも同じ日に足しました。

【画像】LOG557_01_five_covers.jpg この回で公開した5話の表紙。左から第158話「線の上」、第159話「画面ばかり見てしまう」、第160話「取りに出る」、第8話「最新鋭と最年長」、第36話「なぜスマホから始まるのか」

| やったこと | なぜ | 結果 |
|---|---|---|
| 5話の筋とコマ割りを決め、Gemini にまとめて描かせた（1コマ2枚・計48枚） | 古い未着手の話を減らし、新しい話を足すため | 46枚が描けた。2枚は Gemini に止められた |
| Claude が描いた絵を3Dの手本と比べ、選び直し・描き直しをした | ハコブくんの形と、決まりの崩れを先に直すため | 11か所を直してからシートを見せた |
| 人が確認用シートと公開したページを見た | AI の確認で拾えない所を拾うため | 5つ見つかった（下の表） |
| ショート動画5本・表紙・英語版・サイト・SNS | いつもの流れ | 全部出した。X は1月22〜26日に予約 |
| 4コマの一覧にカテゴリのタブを付けた | 160話近くになり、探しにくくなったため | 7つのカテゴリと「すべて」。スマホでも全部見える |

人が見つけた5つは、どれも Claude の確認の手順に入っていなかった所でした。

| 見つけた所 | 何が起きていたか | 直し方 |
|---|---|---|
| 第158話の4コマ目 | 槙原さんの手が3本（貼り紙を押さえる2本と、テープを持つ1本） | 手は2本と書き足して描き直し、確認で手を数える |
| 第158・159話の寺島さん | 三面図ではふっくらしているのに、細く描かれた | 体つきの指示を足して、寺島さんの出るコマを全部描き直し |
| 第159話の小窓 | ピカリくんを動かす人を映す小窓が小さく、何をしているか見えない | 一辺を約410pxから約590pxに広げた |
| 第159話の表紙 | 吹き出しを消すプログラムが、ピカリくんの白い頭を吹き出しと見なして消した | 吹き出しのないコマは消さずに使う |
| 第36話の3コマ目 | 画面のアップの手前に現実のロボットを顔だけ覗かせ、画面の中と同じ平面に重なった | 画面だけを正面から描き、見ている側はコマの外にした |

【図解】LOG557_review_who_found.html

4コママンガ『ハコブくん』の全話は、サイトの4コマの一覧（pixelstomotors.com/manga-archive）で、カテゴリのタブを切り替えて読めます。


## 作業ログ ― 5話の筋から公開まで

この回で出てくる道具と言葉を、先にまとめます。

### Gemini・ElevenLabs と、この回で使う言葉

[Gemini](https://ai.google.dev/gemini-api/docs/image-generation) は Google の生成AIで、文章の指示と手本の画像から絵を描きます。4コマの1コマずつを、このプロジェクトの道具（vbuild.py）が組んだ指示で描かせています。モデルは `gemini-3.1-flash-image` です。[ElevenLabs](https://elevenlabs.io/) は文章を声にするサービスで、ショート動画のセリフに使っています。

| 言葉 | この回での意味 |
|---|---|
| バッチ | 何十枚もの絵をまとめて頼み、あとで受け取る頼み方（[Gemini のバッチ](https://ai.google.dev/gemini-api/docs/batch-mode)）。すぐには返ってこないが、1枚ずつ頼むより安い |
| チェック① | Claude が描いた絵を、3Dの手本・キャラの三面図・決まりと比べて、選び直しや描き直しをする確認 |
| チェック② | 人が確認用シートを見る確認 |
| 仕上げ | 緑の背景を白にし、1080×1350 にそろえ、小窓を重ねた1コマ |
| 色紙 | 仕上げに網点と紙の色をのせて、週刊誌の色紙のように見せる処理（LOG532） |
| spec.py | 1話ぶんのコマ割り・人の位置・吹き出し・選んだ絵を書いたファイル |

### 5話の筋とコマ割り

プロットの表で「未着手」だった第8話と第36話、新しい第158〜160話の5話です。第36話は表の筋が「R2R2R パイプライン全体をワンシーンで説明」で、題名が「なぜ iPhone から始まるのか」でした。機種の名前を出さない決まりに合わせて「スマホ」にし、ハコブくんがツカムくんに「どこで練習したの？」と聞く筋に作り直しました。

| 話 | 題名 | 筋 | 結論 |
|---|---|---|---|
| 第8話 | 最新鋭と最年長 | 病室の森田久美子さんが、ハコブくんにリモコンを向けてカチカチ押す | 見慣れた形は、見慣れた使い方を呼ぶ |
| 第36話 | なぜスマホから始まるのか | ツカムくんは、スマホで撮って写した画面の中の部屋で何度も失敗し、現実では一度でつかむ | 練習の部屋は、スマホで撮って作れる |
| 第158話 | 線の上 | 床の線の上だけを走るハコブくん。線の上にワゴンが置かれると、横が空いていても進めない | 線の上なら迷わないが、線を空ける手間が増える |
| 第159話 | 画面ばかり見てしまう | ピカリくんを動かす人は、書類を片付けるつもりが、一日じゅう画面の番に | 近づいたら知らせる仕組みで、操作する人の手を空ける |
| 第160話 | 取りに出る | 検体を届けても、槙原さんは毎回手袋を外して廊下へ取りに出る | 受け取りに出る手間まで、運ぶ仕事に数える |

ハコブくんの形は前の回（第153〜157話）で、縦長に伸びたり、ずんぐりしすぎたりした。3Dの斜めの手本を付け、`STOUT`（高さは幅の約1.45倍）の指示を全部のハコブくんのコマに入れています。

### Gemini にまとめて48枚を頼んだ結果

```
頼んだ: batches/0kjztwt8jj4yixsnixbecrp0vgfzj81eo9jg 枚数 48 （第8・36・158・159・160話・1コマ2枚）
20261123_010328 batches/0kjztwt8jj4yixsnixbecrp0vgfzj81eo9jg 第8・36・158・159・160話 48 枚 BATCH_STATE_SUCCEEDED {"requestCount": "48", "successfulRequestCount": "48"}
画像なし 縦長/第159話/生成/第159話_P2#1 "PROHIBITED_CONTENT"
画像なし 縦長/第159話/生成/第159話_P2#2 "PROHIBITED_CONTENT"
batches/0kjztwt8jj4yixsnixbecrp0vgfzj81eo9jg 回収 46 枚・画像なし 2 ・入力トークン 161134 ・出力トークン 76592
```

第159話の2コマ目は、言い回しを変えて頼み直しても2回とも止められました。ピカリくんを腰から上で大きく描くだけのコマで、何が引っかかったのかは返事からは分かりません。寺島さんを奥に入れた2人の絵に変えると描けました。この回で描いた絵は、まとめて頼んだ46枚と、1枚ずつ頼み直した33枚の、合わせて79枚です。

### チェック①：Claude が見せる前に直した11か所

描けた絵を、Claude が1コマ2枚ずつ並べて見比べ、3Dの手本と三面図に合わない所を直しました。

| 話・コマ | 起きていたこと | 直し方 |
|---|---|---|
| 第8話 4コマ目 | 2枚目は森田久美子さんが若い黒髪で別人 | 1枚目を選んだ |
| 第36話 2コマ目 | 後ろ姿のハコブくんが、2枚とも別の形（四角い箱・丸い頭） | 後ろ姿をやめ、横から画面をのぞく形で描き直した |
| 第36話 4コマ目 | 2枚ともツカムくんの腕の先に顔の画面が付いた | 顔は台座にだけあると書き足して描き直した |
| 第158話 3コマ目 | ハコブくんのまわりに薄い緑の四角／寺島さんがまとめ髪で別人 | 背景は一様な緑と書き足して描き直した |
| 第158話 3コマ目 | 描き直した絵で、吹き出しの話し手が逆 | 吹き出しの置き場所を指定して描き直した |
| 第159話 1コマ目 | ピカリくんの胸に名札とひもが付いた | 白で消した |
| 第159話 2コマ目 | Gemini に止められた（上の節） | 2人の絵に変えた |
| 第160話 1コマ目 | 1枚目はハコブくんが丸い頭の別の形、ツカムくんが人型 | 2枚目を選んだ |
| 第160話 3コマ目 | 台本にない「点々…」の字 | 白で消した |
| 第160話 4コマ目 | 槙原さんが立ったまま無表情（台本は椅子で伸びをして笑う） | 座って笑うと書き足して描き直した |
| 第36話・第158話の表紙 | 吹き出しを消すプログラムが、吹き出しを1つずつ消し残した | 白い四角で消した |

### チェック②：人が見つけた5つと、直し方

確認用シートを送ったあと、公開したあとに、人が5つ見つけました。

#### 第158・159話の寺島さんが痩せすぎ

寺島さんの三面図は、顔が丸く、肩と腰に厚みのある体つきです。Gemini は手本を付けても、看護師を細く描きました。Claude の確認は、髪型と眼鏡で「寺島さんか」は見ていましたが、体つきは見ていませんでした。

【画像】LOG557_03_terashima_build.jpg 第158話4コマ目の直す前と後。左は寺島さんが細く、右は三面図どおりのふっくらした体つき

寺島さんが出るコマに次の指示を足し、第158話の2〜4コマ目と第159話の1〜4コマ目を描き直しました。

```python
TERA_BUILD = ("TERASHIMA'S BUILD — SOFT AND ROUNDED, NOT SLIM:", ["copy Terashima's body from her three-view reference: a full round face, a soft rounded chest and belly, a wide waist and hips, thick upper arms and legs", "her scrubs fit loosely over a sturdy, plump body", "do NOT draw her slim, slender or model-like"])
for _k, _p in enumerate(PANELS):
    if "寺島" in _p["chars"]:
        PANELS[_k] = dict(_p, extra=list(_p.get("extra", [])) + [TERA_BUILD])
        PICK.pop(_k + 1, None)
```

- ねらい：キャラごとに決めた体つきを、毎回の絵で守る
- 変わったこと：寺島さんの出る7コマに、体つきの指示が入った
- 見込める効果：次からの寺島さんのコマで、描き直しが減る見込み。体つきの崩れが何回出たかで確かめる

#### 第158話の4コマ目で、槙原さんの腕が3本

貼り紙を両手で押さえながら、もう1本の手でテープを持っていました。寺島さんの体つきを直して描き直した絵で起きたもので、Claude は寺島さんばかり見て選び、手を数えていませんでした。

【画像】LOG557_04_three_hands.jpg 第158話4コマ目の直す前と後。左は槙原さんが貼り紙を両手で押さえ、もう1本の手でテープを持つ。右は片手で貼り紙、片手でテープ

```python
PANELS[3] = dict(PANELS[3], extra=list(PANELS[3].get("extra", [])) + [("HANDS — EXACTLY TWO:", ["Makihara has exactly TWO arms and TWO hands: one hand presses the notice against the wall, the other hand holds the tape roll", "count the hands: there must be only two"])])
```

描き直した3枚のうち、1枚は2人の立ち位置が逆、1枚は寄りすぎでした。手が2本で吹き出しの尻尾も合っている3枚目を選びました。

#### 第159話の小窓が小さい

第159話は、ピカリくんを動かしている人（ロボのアバターさん）の手元を、コマの中の小窓に重ねて見せる回です。小窓の一辺は約410pxで、ペンが止まっているのか、書類が白いままなのかが読み取れませんでした。描き直しはせず、仕上げで重ねる大きさだけを約590pxに広げました。そのぶん、1コマ目ではピカリくんの手、2コマ目では体の左下が小窓に隠れます。

```python
for _k, _a in {1: (0.03, 0.53, 0.58, 0.97), 2: (0.03, 0.53, 0.58, 0.97), 3: (0.03, 0.55, 0.58, 0.97), 4: (0.42, 0.55, 0.97, 0.97)}.items():
    PANELS[_k - 1] = dict(PANELS[_k - 1], inset_area=_a)
```

#### 第159話の表紙で、ピカリくんの頭が欠けた

表紙は、選んだコマから吹き出しを消して作ります。消すプログラムは「白い閉じた領域で、中に黒い字がある所」を吹き出しと見なします。ピカリくんの頭は白い殻の中に黒い顔があるので、吹き出しと同じ形に見え、頭の白い部分が消えました。

【画像】LOG557_05_pikari_head.jpg 第159話の表紙の直す前と後。左はピカリくんの頭の白い殻が消え、黒い顔だけが浮いている。右は頭が描かれている

第159話の2コマ目には、もともと吹き出しがありません（小窓の中の吹き出しだけ）。吹き出しを消さずに、そのまま表紙に使いました。R2（画像の置き場所）は同じ名前の上書きをしないので、`_v2` の名前で入れ直しています。

#### 第36話の3コマ目の構図

ノートパソコンの画面を大きく見せ、その手前の下の角に、現実のハコブくんとツカムくんを顔だけ覗かせていました。現実の2台が画面の中の絵と同じ平面に重なって見え、大きさも合っていませんでした。

【画像】LOG557_06_ep36_p3.jpg 第36話3コマ目の直す前と後。左は画面のアップの手前に、現実のハコブくんとツカムくんの顔が画面と重なる。右は画面だけを正面から描き、吹き出しの尻尾はコマの外へ

現実の2台は描かず、画面だけを正面から描き、吹き出しの尻尾をコマの外（下の角）に向けました。話し手はコマの外にいる、という形です。3枚描かせ、画面の中のツカムくんの顔が台座にある1枚目を選びました。サイトの画像とショート動画も差し替えています。

この5つは、4コマの作業フォルダの「チェック項目と過去の間違い」に1行ずつ足しました。次の話から、チェック①でこの5つを見ます。

### ショート動画5本：声と冒頭の動き

ショート動画は、冒頭にハコブくんが動く3.6秒を置き、4コマを1コマずつ声と字幕で見せ、最後に結論の文字を出す形です（LOG533 で数字を並べた形と同じ）。冒頭の動きは、前の話と重ならないよう、話ごとに新しく作りました。

【画像】LOG557_09_opening_motions.jpg ショート動画の冒頭のハコブくん。上から第8話（画面の数字が1・2・3と変わる）、第36話（フラッシュとカシャ）、第158話（線の上で止まる）、第159話（ピンポン）、第160話（おじぎしてオ届ケ）

| 話 | 冒頭の動き |
|---|---|
| 第8話 | リモコンを押されるたびに画面の数字が 1→2→3 と変わり、首を振って「テレビデハ／アリマセン」 |
| 第36話 | カメラのフラッシュが3回光り「カシャ」、少し跳ねて「練習ノ／部屋」 |
| 第158話 | 床の線をたどって横へ進み、ピタッと止まって「線ノ外ハ／走レマセン」 |
| 第159話 | 目がきょろきょろ、輪が光って「ピンポン」、跳ねて「呼バレタラ／戻リマス」 |
| 第160話 | おじぎして「オ届ケ」、小さく上下して待ち、身を乗り出して「中マデ／届ケマス」 |

【画像】LOG557_10_shorts.jpg ショート動画5本のコマ。左から第158・159・160・8・36話、上から冒頭・2コマ目・3コマ目・結論

声は ElevenLabs で24本作りました。寺島さんとロボのアバターさんは同じ声で作ってきたので、2人が同じ話に出る第159話だけ、寺島さんを別の声にしています。ツカムくんがしゃべるのは初めてで、槙原さんの声を使いました（第36話に槙原さんは出ない）。ショートは5本とも KIOXIA の `_未アップ` に、題名と説明文と一緒に置いてあり、YouTube にはまだ上げていません。

### 表紙・色紙・英語版

表紙は、題名の下に吹き出しを消した1コマを置きます。前の回で、表紙の左の人物が切れたため、絵を大きくしない（`s ≤ 1`）組み方にしています。色紙は前の話から続く順番で、第158話がオレンジ、第159話が青、第160話が黄、第8話がピンク、第36話が緑です。

英語版は、吹き出しの白い内側の1点（seed）を Claude が見つけ、そこに英語を組みます。吹き出しを見つけるとき、ロボットの白い側面やパネルも同じ形で見つかったので、表のコマごとに、吹き出しだけを選び直しました。第159話の英語版の表紙は、小窓の中の吹き出しが日本語のまま残ったので、英語にしたコマを表紙の絵に使い直しています。

### 4コマの一覧にカテゴリのタブを付けた

160話近くになって、4コマの一覧（新しい順に18話ずつ）では探したい話にたどり着けない、という相談がありました。テーマのカテゴリでタブを切り替える案が選ばれ、全話の分け方を見せてから作りました。

| カテゴリ | 話の数 |
|---|---|
| 受け入れ・頼みやすさ | 27 |
| 廊下・動線と安全 | 27 |
| 知らせ方・声と表示 | 27 |
| 導入と効果の測り方 | 18 |
| AIの判断とデータの扱い | 34 |
| ロボットの作り方（ツカムくん） | 11 |
| アバター（ピカリくん） | 13 |

初めに出した案は6つでした。記録の消し方・顔認証・声の真似・署名のない更新を断る話など、AIの判断とデータの守りの話が多く、ほかに収まらなかったので1つ足しています。1話は1つのカテゴリにだけ入れ、新年の特別回は「すべて」にだけ出します。

形は、サイトのほかの切り替えタブ（枠線のボタンで、選んでいるものを黒く塗る）にそろえ、タブに話の数は付けていません。デザインの決まりで、タブに数などの補足を付けるのはノイズとしているためです。

【画像】LOG557_07_tabs_pc.jpg PCで「廊下・動線と安全」を選んだ4コマの一覧。8つのタブが2段に並び、選んだタブが黒い

スマホでは初め、タブを横にスライドする1列にしました。画面に収まるのは2つほどで、カテゴリが見切れていると指摘があり、折り返して全部が見える形にしました。

【画像】LOG557_08_tabs_sp.jpg スマホで「アバター（ピカリくん）」を選んだ4コマの一覧。8つのタブが5段に折り返して全部見える

- ねらい：読みたい種類の話に、一覧から直接たどり着けるようにする
- 変わったこと：一覧の上に「すべて」と7つのカテゴリのタブが付き、選んだカテゴリの話だけが新しい順に18話ずつ出る
- 見込める効果：一覧からマンガのページへ進む数が増える見込み。サイトの計測で、タブの公開の前と後の、一覧からマンガのページへ移った数を比べて確かめる

公開したあと、「Load more」のボタンが、もう出すマンガがないカテゴリでも残っていると指摘がありました。ボタンを隠す `hidden` を付けていたのに、ボタンの入れ物の `display: flex` が効いて見えたままでした。`.lm-more[hidden]` にも `display: none` を足して直しました。

### SNS の予約と、進捗表

SNS の投稿文は5話とも作り、X は1月22日から26日の19:30に1日1話ずつ予約しました（第158話→159→160→8→36の順）。マンガは LinkedIn には出さない決まりです。

進捗表（Google スプレッドシート）を「完了」にするとき、Claude が行を1つずらして書き込み、第37話の行の状態・題名・テーマを消しました。表の1行目が見出しで、第N話は N+1 行目のつもりでいたのが、途中の行から N 行目になっていたためです。元の文はスプレッドシートの版の履歴から API で取り出せなかったので、公開中の第37話のページから書き戻し、書き戻したことをセルに書きました。

### 第158〜160話の本文に載せた、現実の調べ

マンガのページの本文には、話のもとになる現実の調べを1つずつ載せています。

| 話 | 載せた調べ |
|---|---|
| 第8話 | [高齢者45人へのインタビュー調査（ペンシルベニア州立大学）](https://pure.psu.edu/en/publications/mental-models-of-robots-among-senior-citizens-an-interview-study--2/)。ロボットの思い描き方は、最近使った通信機器やメディアで見たロボットから作られていた |
| 第36話 | [Real2Render2Real（カリフォルニア大学バークレー校ほか、2025年）](https://arxiv.org/abs/2505.09601)。スマホで撮った3Dスキャンと人の1回の手本から、ロボットの練習データを何千通りも作る |
| 第158話 | [東京電機大学の研究室の資料（PDF）](https://www.control.eee.dendai.ac.jp/study2.pdf)。床の磁気テープで導く無人搬送車は、レイアウトの変更や障害物への対応が難しい |
| 第159話 | [サイバーエージェントの AI Lab の実証（2026年）](https://aismiley.co.jp/ai_news/ai-lab-robot-15/)。15体の接客アバターを、1人のオペレーターがまとめて遠隔で受け持った |
| 第160話 | [パナソニックの HOSPI Trail](https://www.panasonic.com/jp/company/ppe/hospitrail.html)。導入した病院の要望から、搬送先でカートを切り離して置いていく形を作った |

### 5話の spec.py（コマ割りと選んだ絵）

#### manga_spec_ep8.py

```python
EP, TITLE = 8, "最新鋭と最年長"
# 2026-11-23 エイイチ了承のコマ割り：足元側から引き／肩越しにハコブくん／リモコン連打の手のアップ／？？？と戸口の大城さん
import os
from importlib.machinery import SourceFileLoader as _L
C = _L("_c", os.path.expanduser("~/mnt/PixelstoMotors/ハコブくん/4コママンガ作成データ/縦長/_common_153_157.py")).load_module()
STOUT = ("HAKOBUKUN SILHOUETTE — STOUT, NOT TALL AND THIN:", ["copy the short, broad, stout proportions of the attached three-quarter 3D reference exactly. Its whole outline is only about 1.45 times as tall as it is wide", "the screen is wider than it is tall; the side ring panel is broad, almost square", "do NOT stretch it vertically, do NOT make it narrow"])
BED = "one plain hospital bed with a white sheet and blanket, NO text. NO monitor, NO TV on the wall"
REMOTE = "a plain small TV remote control. NO text, NO numbers on the buttons"
PANELS = [
 dict(chars=["森田久美子"], prop=("BED AND REMOTE", [BED, REMOTE + ", in Mrs. Morita's hand"]),
      camera=["SHOT SIZE: the whole bed and Mrs. Morita, wide", "CAMERA POSITION: from the foot of the bed, slightly to the right", "CAMERA HEIGHT: 150 cm"],
      band="3% and 18%",
      comp=["Mrs. Morita sits up in the bed against a pillow, in pajamas, bored, frowning at the remote in her hand, turning it over",
            "the bed fills the lower two thirds of the picture, x 10–90%",
            "the bubble 「…」 at the upper right, small, its tail to Mrs. Morita"],
      bubbles=[("Mrs. Morita", "…", ["…"])],
      costume=["Mrs. Morita wears plain light pajamas in bed"],
      extra=[("BUBBLE CONTENT — NO QUOTATION MARKS:", ["inside the bubble draw ONLY the ellipsis …"])],
      scene="A hospital room. Mrs. Morita sits in bed with nothing to do, puzzling over a TV remote she cannot work out."),
 dict(chars=["森田久美子", "ハコブ"], mouth="NORMAL", no_yline=True, hdir="left", prop=("BED", [BED]),
      hscale_text=["Mrs. Morita is seen from behind-left in the left foreground, sitting up in the bed: her head, hair and left shoulder, cut by the left and bottom edges, x 0–42%, her head top at about 30% of the image height",
                   "Hakobukun has just stopped beside the bed, full body, three-quarter view facing camera-left toward her, x 46–92%, its top at about 34% and wheels at about 90% of the image height"],
      camera=["SHOT SIZE: over-the-shoulder, Hakobukun full body", "CAMERA POSITION: behind Mrs. Morita's left shoulder", "CAMERA HEIGHT: 100 cm"],
      band="3% and 16%",
      comp=["Hakobukun's dark screen with its calm face is clearly visible, glossy, with a faint shine",
            "the sound effect 「スッ」 near Hakobukun's wheels"],
      sfx=[("スッ", "near Hakobukun's wheels at about x 60–76%, y 88–96%")],
      costume=["Mrs. Morita wears plain light pajamas in bed"],
      extra=[STOUT, C.CLOSED],
      scene="Hakobukun comes in to change the towels and stops beside the bed. Its square dark screen glows."),
 dict(chars=["森田久美子", "ハコブ"], mouth="STOPPED", no_yline=True, hdir="left", prop=("REMOTE", [REMOTE + ", LARGE in the lower-left foreground, held in Mrs. Morita's hand and pointed straight at Hakobukun's screen"]),
      hscale_text=["Mrs. Morita's hand with the remote is LARGE in the lower-left foreground, entering from the left edge, x 0–46%, y 50–92%; her thumb is pressing the buttons hard",
                   "Hakobukun's upper body and screen are behind it at the right, x 44–100%, its top at about 22% of the image height, cut by the right and bottom edges"],
      camera=["SHOT SIZE: close-up of the hand and remote, Hakobukun's screen behind", "CAMERA POSITION: from beside Mrs. Morita, front-left", "CAMERA HEIGHT: 110 cm"],
      band="3% and 18%",
      comp=["short action lines around the thumb",
            "the sound effect 「カチカチ」 next to the remote",
            "the bubble 「あらやだ、全然チャンネル変わらないわねぇ」 at the upper left, its tail down to the left edge (Mrs. Morita, outside the picture)"],
      sfx=[("カチカチ", "next to the remote at about x 30–48%, y 40–50%")],
      bubbles=[("Mrs. Morita", "あらやだ、全然チャンネル変わらないわねぇ", ["あらやだ、", "全然チャンネル", "変わらないわねぇ"])],
      tails={"あらやだ、全然チャンネル変わらないわねぇ": "the left edge of the picture, toward Mrs. Morita's hand"},
      extra=[STOUT, C.CLOSED],
      scene="Mrs. Morita mistakes Hakobukun for a new kind of moving TV and clicks the remote at its screen again and again."),
 dict(chars=["森田久美子", "ハコブ", "大城"], mouth="TROUBLED", no_yline=True, hdir="left", prop=("BED, REMOTE AND DOOR", [BED, REMOTE + " in Mrs. Morita's hand", "a plain open door frame at the back right. NO text"]),
      hscale_text=["Mrs. Morita sits up in the bed at the left, x 4–40%, her head top at about 30% of the image height",
                   "Hakobukun stands beside the bed in the middle, full body, three-quarter view facing camera-left, x 38–66%, its top at about 40% and wheels at about 86% of the image height",
                   "Nurse Oshiro stands in the open doorway at the back right, full body, smaller by distance, x 70–90%, her head top at about 26% and shoes at about 78% of the image height"],
      camera=["SHOT SIZE: the whole room, wide", "CAMERA POSITION: front, slightly from the right", "CAMERA HEIGHT: 130 cm"],
      band="3% and 22%",
      comp=["Hakobukun is confused: small question-mark symbols float beside its screen",
            "Oshiro smiles gently with a sweat drop",
            "two bubbles: 「？？？」 at the upper centre-left, its tail down to Hakobukun's screen; 「森田さん、それテレビじゃないのよ…」 at the upper right, its tail to Oshiro"],
      bubbles=[("Hakobukun", "？？？", ["？？？"]), ("Nurse Oshiro", "森田さん、それテレビじゃないのよ…", ["森田さん、", "それテレビ", "じゃないのよ…"])],
      costume=["Mrs. Morita wears plain light pajamas in bed"],
      extra=[STOUT, C.CLOSED, ("EYES:", ["Hakobukun's eyes stay the same two vertical white ovals; only the wavy mouth shows the confusion"])],
      scene="Hakobukun is confused by all the signals. Nurse Oshiro passing by says gently: Mrs. Morita, that's not a TV."),
]

# 2026-11-23 チェック①：P1 b2（布団と表情が素直）／P2 b1（b2 は側面に名札のような物）／P3 b2／P4 b1（b2 は森田さんが若い黒髪で別人）
PICK = {1: '第8話_P1_20261123_012738b2.jpg', 2: '第8話_P2_20261123_012738b1.jpg', 3: '第8話_P3_20261123_012738b2.jpg', 4: '第8話_P4_20261123_012738b1.jpg'}
```

#### manga_spec_ep36.py

```python
EP, TITLE = 36, "なぜスマホから始まるのか"
# 2026-11-23 No.36 の筋を作り直した（エイイチ了承）。見上げる／肩越しにノートPCの画面／画面いっぱいの失敗の山／現実のツカムくんの手元
import os
from importlib.machinery import SourceFileLoader as _L
C = _L("_c", os.path.expanduser("~/mnt/PixelstoMotors/ハコブくん/4コママンガ作成データ/縦長/_common_153_157.py")).load_module()
STOUT = ("HAKOBUKUN SILHOUETTE — STOUT, NOT TALL AND THIN:", ["copy the short, broad, stout proportions of the attached three-quarter 3D reference exactly. Its whole outline is only about 1.45 times as tall as it is wide", "the screen is wider than it is tall; the side ring panel is broad, almost square", "do NOT stretch it vertically, do NOT make it narrow"])
LAPTOP = "a plain open laptop standing on Tsukamukun's work table, its screen facing the camera. NO text, NO logos"
SCREENROOM = "on the laptop screen: a small picture of the very same work table and the same robot arm on it, drawn as a simple 3D-rendered scene with a light grid floor. NO text"
BLOCK = "plain wooden toy blocks (cubes). NO letters on them"
PANELS = [
 dict(chars=["ハコブ", "ツカム"], mouth="NORMAL", no_yline=True, hdir="right", prop=("LAPTOP", [LAPTOP]),
      hscale_text=["Hakobukun stands on the floor at the left, full body, three-quarter view facing camera-right, x 4–46%, its top at about 46% and wheels at about 94% of the image height",
                   "Tsukamukun's stainless-steel work table stands at the right, x 46–96%; the table top is at about 52% of the image height, a little higher than Hakobukun's top; Tsukamukun sits on it with the laptop beside it",
                   "Tsukamukun points its arm at the laptop"],
      camera=["SHOT SIZE: full body of both", "CAMERA POSITION: front-left, three-quarter", "CAMERA HEIGHT: 100 cm"],
      band="3% and 22%",
      comp=["the bubble 「ツカムくんって、どこで練習したの？」 at the upper left, its tail down to Hakobukun's screen"],
      bubbles=[("Hakobukun", "ツカムクンッテ、ドコデ練習シタノ？", ["ツカムクンッテ、", "ドコデ練習シタノ？"])],
      extra=[STOUT, C.CLOSED, ("KATAKANA CHECK:", ["in ツカムクンッテ、ドコデ練習シタノ？ every kana is KATAKANA"])],
      scene="Hakobukun looks up at Tsukamukun on its work table: where did you practise? Tsukamukun points its arm at the laptop beside it."),
 dict(chars=["ハコブ", "ツカム"], mouth="NORMAL", back=True, no_yline=True, prop=("LAPTOP", [LAPTOP + ", seen LARGE", SCREENROOM]),
      hscale_text=["Hakobukun is seen from BEHIND in the lower-left foreground: its dome top and upper back only, cut by the left and bottom edges, x 0–40%, y 58–100%",
                   "the laptop on the table is LARGE in the centre-right, its screen x 34–90%, y 30–64%",
                   "Tsukamukun on the table at the far right, x 78–100%, partly cut by the right edge"],
      camera=["SHOT SIZE: over Hakobukun's back, the laptop screen as the subject", "CAMERA POSITION: behind Hakobukun", "CAMERA HEIGHT: 110 cm"],
      band="3% and 26%",
      comp=["two bubbles: 「コレ、ココ？」 at the upper left, its tail down to Hakobukun; 「スマホで撮って、部屋ごと写した」 at the upper right, its tail to Tsukamukun"],
      bubbles=[("Hakobukun", "コレ、ココ？", ["コレ、ココ？"]), ("Tsukamukun", "スマホで撮って、部屋ごと写した", ["スマホで撮って、", "部屋ごと写した"])],
      extra=[("KATAKANA CHECK:", ["in コレ、ココ？ every kana is KATAKANA"])],
      scene="On the laptop screen is a room exactly like this one, with the same table and robot. Tsukamukun: I photographed it with a smartphone and copied the whole room."),
 dict(chars=["ハコブ", "ツカム"], mouth="TROUBLED", no_yline=True, hdir="right", prop=("LAPTOP SCREEN", ["the laptop screen fills most of the picture as a big frame, x 6–94%, y 18–78%: inside it, the digital robot arm on its table has dropped a toy block, and many fallen " + BLOCK + " lie scattered around the digital table, with small motion lines. NO text"]),
      hscale_text=["Hakobukun peeks in from the lower-left corner: only its top and screen, x 0–30%, y 74–100%, cut by the bottom and left edges",
                   "the real Tsukamukun's face on its base peeks in at the lower right, x 72–100%, y 78–100%"],
      camera=["SHOT SIZE: close-up of the laptop screen", "CAMERA POSITION: straight at the screen, slightly from the left", "CAMERA HEIGHT: 115 cm"],
      band="3% and 16%",
      comp=["two bubbles: 「失敗バッカリ…」 at the upper left, its tail down to Hakobukun; 「画面の中なら、壊れない」 at the upper right, its tail down to Tsukamukun"],
      bubbles=[("Hakobukun", "失敗バッカリ…", ["失敗バッカリ…"]), ("Tsukamukun", "画面の中なら、壊れない", ["画面の中なら、", "壊れない"])],
      extra=[C.CLOSED, ("KATAKANA CHECK:", ["in 失敗バッカリ… the バ, ッ, カ, リ are KATAKANA"])],
      scene="Inside the screen, the digital Tsukamukun drops the block again and again. Hakobukun: nothing but failures... Tsukamukun: inside the screen, nothing breaks."),
 dict(chars=["ハコブ", "ツカム"], mouth="HAPPY", no_yline=True, hdir="right", prop=("BLOCK", ["one " + BLOCK.replace("blocks (cubes)", "block (a cube)") + " held firmly in Tsukamukun's gripper, lifted in the air", "two more blocks stacked on the table"]),
      hscale_text=["Tsukamukun and its gripper are LARGE at the right, close, x 40–100%, the gripper holding the block at about y 26–40%",
                   "Hakobukun stands at the left, full body, three-quarter view facing camera-right, x 4–42%, its top at about 46% and wheels at about 94% of the image height"],
      camera=["SHOT SIZE: close on the gripper and block, Hakobukun beside", "CAMERA POSITION: front-left, three-quarter", "CAMERA HEIGHT: 120 cm"],
      band="3% and 22%",
      comp=["a small sparkle at the block",
            "two bubbles: 「スマホカラ始メレバ、誰デモ練習ノ部屋ガ作レル」 at the upper left, its tail down to Hakobukun's screen; 「まず、撮るところから」 at the upper right, its tail to Tsukamukun"],
      bubbles=[("Hakobukun", "スマホカラ始メレバ、誰デモ練習ノ部屋ガ作レル", ["スマホカラ始メレバ、", "誰デモ練習ノ部屋ガ", "作レル"]), ("Tsukamukun", "まず、撮るところから", ["まず、", "撮るところから"])],
      extra=[STOUT, C.CLOSED, ("KATAKANA CHECK:", ["in スマホカラ始メレバ、誰デモ練習ノ部屋ガ作レル the カ, ラ, メ, レ, バ, デ, モ, ノ, ガ, レ, ル are KATAKANA"])],
      scene="The real Tsukamukun lifts the block on the first try. Hakobukun: start with a smartphone, and anyone can build a practice room. Tsukamukun: first, take the pictures."),
]

# 2026-11-23 チェック①：P2 は2枚とも背中のハコブくんが別の形（四角い箱・丸い頭）→ 後ろ姿をやめ、横から画面をのぞく形に描き直す
# P4 は2枚ともツカムくんの腕の先に顔の画面が付いた → 顔は台座にだけあると念押しして描き直す
PICK = {1: '第36話_P1_20261123_012738b2.jpg', 3: '第36話_P3_20261123_012738b2.jpg'}
TSUKAMU_FACE = ("TSUKAMUKUN SHAPE:", ["Tsukamukun is ONLY a robot arm on a small box base, exactly like its reference", "its face (two round eyes) is on the front of the BASE only", "there is NO screen, NO head and NO face at the end of the arm — the arm ends in a plain gripper"])
PANELS[1] = dict(PANELS[1], back=False, hdir="right",
  hscale_text=["Hakobukun stands in the lower-left foreground, from its wheels up, three-quarter view facing camera-right toward the laptop, x 0–40%, its top at about 52% and wheels at about 100% of the image height, cut by the bottom edge",
               "the laptop on the table is LARGE in the centre-right, its screen x 38–92%, y 26–60%",
               "Tsukamukun on the table at the far right, x 80–100%, partly cut by the right edge"],
  camera=["SHOT SIZE: Hakobukun in the foreground, the laptop screen as the subject", "CAMERA POSITION: front-left, three-quarter, from beside Hakobukun", "CAMERA HEIGHT: 110 cm"],
  extra=[STOUT, C.CLOSED, TSUKAMU_FACE, ("BUBBLE TEXT:", ["write the words only, with NO 「」 quotation marks inside the bubbles"]), ("KATAKANA CHECK:", ["in コレ、ココ？ every kana is KATAKANA"])])
PANELS[3] = dict(PANELS[3], extra=PANELS[3]["extra"] + [TSUKAMU_FACE])
# 2026-11-23 描き直しから：P2 20261123_012944（画面のぞき・「」なし）／P4 20261123_012942（顔は台座だけ）
PICK.update({2: '第36話_P2_20261123_012944.jpg', 4: '第36話_P4_20261123_012942.jpg'})
# 2026-11-23 エイイチ「このコマの構図が変」→ P3 は手前の現実のハコブくん・ツカムくんが画面の中と同じ平面に重なり、大きさも合わない。
# 現実の2台は描かず、ノートパソコンの画面だけを正面から大きく見せる。吹き出しの尻尾は下の端の外（話し手はコマの外）へ
PICK.pop(3, None)
PANELS[2] = dict(chars=["ツカム"], no_yline=True, prop=("LAPTOP SCREEN", ["one plain open laptop seen straight from the front, its screen filling most of the picture, x 4–96%, y 22–84%, the keyboard edge visible at the bottom. NO text, NO logos",
      "inside the screen: a small digital robot arm on a table, drawn as a simple 3D-rendered scene with a light grid floor, has just dropped a toy block; many fallen " + BLOCK + " lie scattered around the digital table, with small motion lines",
      "this is the ONLY robot in the picture: NO real Hakobukun, NO real Tsukamukun, NO robot outside the screen"]),
  camera=["SHOT SIZE: close-up of the laptop screen", "CAMERA POSITION: straight at the screen", "CAMERA HEIGHT: level with the screen"],
  band="3% and 18%",
  comp=["two bubbles at the top, overlapping the top edge of the laptop: 「失敗バッカリ…」 at the upper left, its tail pointing DOWN-LEFT to the bottom-left corner of the picture (the speaker is outside the picture); 「画面の中なら、壊れない」 at the upper right, its tail pointing DOWN-RIGHT to the bottom-right corner of the picture (the speaker is outside the picture)"],
  bubbles=[("Hakobukun (off-picture)", "失敗バッカリ…", ["失敗バッカリ…"]), ("Tsukamukun (off-picture)", "画面の中なら、壊れない", ["画面の中なら、", "壊れない"])],
  extra=[("KATAKANA CHECK:", ["in 失敗バッカリ… the バ, ッ, カ, リ are KATAKANA"])],
  scene="Close-up of the laptop: inside the screen, the digital Tsukamukun drops the block again and again. Hakobukun and Tsukamukun, outside the picture, watch it.")
PICK[3] = '第36話_P3_20261123_021317.jpg'  # 画面だけを正面から（現実の2台は描かない）
```

#### manga_spec_ep158.py

```python
EP, TITLE = 158, "線の上"
# 2026-11-23 エイイチ了承のコマ割り：低い位置からテープを貼る槙原さん／手前に線の上のワゴン、奥に電話の寺島さんと線をたどるハコブくん／ハコブくん目線で出られない／貼り紙と苦笑いの2人
import os
from importlib.machinery import SourceFileLoader as _L
C = _L("_c", os.path.expanduser("~/mnt/PixelstoMotors/ハコブくん/4コママンガ作成データ/縦長/_common_153_157.py")).load_module()
STOUT = ("HAKOBUKUN SILHOUETTE — STOUT, NOT TALL AND THIN:", ["copy the short, broad, stout proportions of the attached three-quarter 3D reference exactly. Its whole outline is only about 1.45 times as tall as it is wide", "the screen is wider than it is tall; the side ring panel is broad, almost square", "do NOT stretch it vertically, do NOT make it narrow"])
LINE = "ONE single solid black tape line on the floor, running straight away from the camera into the distance. Only one line, NO other floor marks"
WAGON = "a plain empty metal hospital wagon (cart) with a handle. NO text"
PANELS = [
 dict(chars=["槙原"], no_yline=True, prop=("FLOOR TAPE", [LINE, "a roll of tape in Makihara's hand as he presses the tape down"]),
      hscale_text=["Makihara kneels on one knee in the centre-left, full body, x 18–62%, his head top at about 30% of the image height, pressing the tape onto the floor"],
      camera=["SHOT SIZE: full body, low", "CAMERA POSITION: on the floor line, front-right, three-quarter", "CAMERA HEIGHT: 60 cm, low"],
      band="3% and 20%",
      comp=["the black tape line runs from the bottom centre of the picture away into the distance, past Makihara",
            "the bubble 「この線の上だけ走らせれば、迷いません」 at the upper right, its tail to Makihara"],
      bubbles=[("Engineer Makihara", "この線の上だけ走らせれば、迷いません", ["この線の上だけ", "走らせれば、", "迷いません"])],
      scene="The corridor to the basement lab. Makihara tapes a line on the floor: if it only runs on this line, it won't get lost."),
 dict(chars=["寺島", "ハコブ"], mouth="STOPPED", no_yline=True, hdir="right", prop=("WAGON ON THE LINE", [LINE, WAGON + ", parked right ON the tape line, LARGE in the right foreground", "a plain cordless phone at Terashima's ear. NO text"]),
      hscale_text=["the wagon is LARGE in the right foreground, x 52–100%, y 46–100%, standing on the tape line",
                   "Terashima stands behind the wagon at the right, on the phone, turned away, waist-up above the wagon, x 60–92%, her head top at about 24% of the image height",
                   "Hakobukun comes along the tape line at the left, full body, smaller by distance, three-quarter view facing camera-right toward the wagon, x 14–40%, its top at about 46% and wheels at about 72% of the image height, stopped just before the wagon"],
      camera=["SHOT SIZE: wagon in the foreground, figures behind", "CAMERA POSITION: front-right, three-quarter", "CAMERA HEIGHT: 110 cm"],
      band="3% and 20%",
      comp=["the bubble 「線ノ上ニ、物ガアリマス」 at the upper left, its tail down to Hakobukun"],
      bubbles=[("Hakobukun", "線ノ上ニ、物ガアリマス", ["線ノ上ニ、", "物ガアリマス"])],
      extra=[STOUT, C.CLOSED, ("KATAKANA CHECK:", ["in 線ノ上ニ、物ガアリマス the ノ, ニ, ガ, ア, リ, マ, ス are KATAKANA"])],
      scene="Next day. Terashima has left an empty wagon on the tape line while she takes a call. Hakobukun follows the line and stops in front of the wagon."),
 dict(chars=["寺島", "ハコブ"], mouth="TROUBLED", full=["寺島"], hdir="right", prop=("WAGON ON THE LINE", [LINE, WAGON + ", parked ON the line between Hakobukun and Terashima, with plenty of empty floor beside it"]),
      camera=["SHOT SIZE: full-body two-shot", "CAMERA POSITION: front-left, three-quarter", "CAMERA HEIGHT: 100 cm (Hakobukun's eye level)"],
      band="3% and 22%",
      comp=["Hakobukun is centred at about 26% of the image width, stopped on the line, facing the wagon and Terashima",
            "the wagon is at about 52% of the image width, on the line",
            "Terashima is centred at about 80% of the image width, phone call over, hand on hip, exasperated",
            C.SIZE("Terashima", C.LOWCHEST.format(n="Terashima")),
            "the wide empty floor beside the wagon is clearly visible",
            "two bubbles: 「よければいいじゃない」 at the upper right, its tail to Terashima; 「線ノ外ハ、走レマセン」 at the upper left, its tail down to Hakobukun's screen"],
      bubbles=[("Nurse Terashima", "よければいいじゃない", ["よければ", "いいじゃない"]), ("Hakobukun", "線ノ外ハ、走レマセン", ["線ノ外ハ、", "走レマセン"])],
      extra=[STOUT, C.CLOSED, ("EYES:", ["Hakobukun's eyes stay the same two vertical white ovals; only the wavy mouth shows the trouble"]), ("KATAKANA CHECK:", ["in 線ノ外ハ、走レマセン the ノ, ハ, レ, マ, セ, ン are KATAKANA"])],
      scene="There is room to go around, but Hakobukun cannot leave the line. Terashima: just go around it! Hakobukun: I cannot run off the line."),
 dict(chars=["寺島", "槙原"], no_yline=True, prop=("NOTICE", ["a plain notice sheet taped on the wall, showing only a simple pictogram: a cart on a line with a big X. NO letters, NO numbers"]),
      hscale_text=["the notice on the wall at the upper centre-left, x 20–48%, y 24–46%",
                   "Makihara at the left, waist-up, x 0–44%, his head top at about 26% of the image height, having just taped up the notice",
                   "Terashima at the right, waist-up, three-quarter view toward him, x 52–96%, her head top at about 28% of the image height, a wry smile"],
      camera=["SHOT SIZE: waist-up two-shot", "CAMERA POSITION: front, slightly from the right", "CAMERA HEIGHT: 150 cm"],
      band="3% and 22%",
      comp=["two bubbles: 「迷わない代わりに、線を空けておく仕事が私たちに来たのね」 at the upper right, its tail to Terashima; 「その仕事も、数に入れて選びます」 at the upper left, its tail to Makihara"],
      bubbles=[("Nurse Terashima", "迷わない代わりに、線を空けておく仕事が私たちに来たのね", ["迷わない代わりに、", "線を空けておく仕事が", "私たちに来たのね"]), ("Engineer Makihara", "その仕事も、数に入れて選びます", ["その仕事も、", "数に入れて選びます"])],
      scene="Makihara puts up a notice not to leave things on the line. Terashima: so instead of it getting lost, keeping the line clear became our job. Makihara: I'll count that work too when we choose."),
]

# 2026-11-23 チェック①：P1 b1（線が手前から奥へ）／P2 b2（寺島さんが背を向けて電話）／P4 b2（槙原さんが貼り紙を貼る）
# P3 は b1 がハコブくんのまわりに薄い緑の四角、b2 は寺島さんの髪がまとめ髪で別人 → 描き直す
PICK = {1: '第158話_P1_20261123_012738b1.jpg', 2: '第158話_P2_20261123_012738b2.jpg', 4: '第158話_P4_20261123_012738b2.jpg'}
PANELS[2] = dict(PANELS[2], extra=PANELS[2]["extra"] + [("TERASHIMA:", ["Terashima looks exactly like her reference: short bob hair and glasses", "her phone call is over: NO phone in her hands, one hand on her hip"]), ("BACKGROUND:", ["one flat even green background everywhere, NO lighter or darker green boxes behind any figure"])])

# 2026-11-23 エイイチ「寺島さんが痩せすぎ」→ 寺島さんが出るコマに体つきを足して描き直す（三面図どおり、ふっくらした体つき）
TERA_BUILD = ("TERASHIMA'S BUILD — SOFT AND ROUNDED, NOT SLIM:", ["copy Terashima's body from her three-view reference: a full round face, a soft rounded chest and belly, a wide waist and hips, thick upper arms and legs", "her scrubs fit loosely over a sturdy, plump body", "do NOT draw her slim, slender or model-like"])
for _k, _p in enumerate(PANELS):
    if "寺島" in _p["chars"]:
        PANELS[_k] = dict(_p, extra=list(_p.get("extra", [])) + [TERA_BUILD])
        PICK.pop(_k + 1, None)
# 2026-11-23 寺島さんの体つきを直した描き直しから：P2 013139（背を向けて電話）／P3 013139（電話なし・腰に手・薄い緑の四角なし）／P4 013133（013144 は背景が薄い緑）
PICK.update({2: '第158話_P2_20261123_013139.jpg', 3: '第158話_P3_20261123_013139.jpg', 4: '第158話_P4_20261123_013133.jpg'})
# P3 013139 は吹き出しの話し手が逆（左の「よければ…」の尻尾がハコブくんへ）→ 描き直す
PICK.pop(3, None)
PANELS[2] = dict(PANELS[2], comp=[c for c in PANELS[2]["comp"] if not c.startswith("two bubbles")] + ["Terashima's bubble 「よければいいじゃない」 is at the upper RIGHT, directly above Terashima, its tail down to Terashima's mouth", "Hakobukun's bubble 「線ノ外ハ、走レマセン」 is at the upper LEFT, directly above Hakobukun, its tail down to Hakobukun's screen"])
# 2026-11-23 エイイチ「腕が3本あるよ」→ P4 013133 は槙原さんの手が3本（貼り紙を押さえる2本＋テープを持つ1本）。描き直す
PICK.pop(4, None)
PANELS[3] = dict(PANELS[3], extra=list(PANELS[3].get("extra", [])) + [("HANDS — EXACTLY TWO:", ["Makihara has exactly TWO arms and TWO hands: one hand presses the notice against the wall, the other hand holds the tape roll", "count the hands: there must be only two"])])
# 描き直しから：P3 013320（話し手が正しい・寺島さんふっくら）／P4 013359（手は2本・吹き出しの尻尾も正しい。013355 は2人の位置が逆、013358 は寄りすぎ）
PICK.update({3: '第158話_P3_20261123_013320.jpg', 4: '第158話_P4_20261123_013359.jpg'})
```

#### manga_spec_ep159.py

```python
EP, TITLE = 159, "画面ばかり見てしまう"
# 2026-11-23 エイイチ了承のコマ割り：受付のピカリくんと窓口の寺島さん（小窓に書類）／小窓に止まったペン／夕方の誰もいないロビー／窓口のランプと書類を書く手
COUNTER = "a plain reception counter. NO text, NO signs"
PSC = ["Pikarikun is 150 cm tall and stout; Terashima is 160 cm — Pikarikun's head top is level with her nose", "do NOT enlarge Pikarikun above her head, do NOT shrink it to child size"]
PANELS = [
 dict(chars=["寺島", "ピカリ"], pikari="OPERATED", no_lineup=True, pscale_text=PSC, prop=("COUNTER", [COUNTER + ", at the right, with Terashima behind it"]),
      camera=["SHOT SIZE: both from the knees up", "CAMERA POSITION: front-left, three-quarter", "CAMERA HEIGHT: 140 cm"],
      comp=["Pikarikun stands in the lobby at the left, centred at about 30% of the image width, waiting politely, hands together",
            "Terashima works behind the counter at the right, centred at about 74%, looking at papers"],
      inset_area=(0.06, 0.60, 0.44, 0.96), band="4% and 20%",
      scene="Outpatient reception. Pikarikun stands as the guide; at the next window Terashima handles paperwork. NO speech bubble in this picture."),
 dict(chars=["ピカリ"], pikari="OPERATED",
      camera=["SHOT SIZE: Pikarikun from the waist up, close", "CAMERA POSITION: front-right, three-quarter", "CAMERA HEIGHT: 150 cm"],
      comp=["Pikarikun is centred at about 62% of the image width, its head between 26% and 48% of the image height, its head turned to look around the lobby, alert"],
      inset_area=(0.04, 0.56, 0.46, 0.96), band="4% and 18%",
      scene="Pikarikun keeps glancing around, waiting for someone to come. NO speech bubble in this picture."),
 dict(chars=["寺島", "ピカリ"], pikari="OPERATED", no_lineup=True, prop=("COUNTER", [COUNTER + ", at the right"]),
      hscale_text=["a wide empty lobby: Pikarikun stands alone in the middle distance, full body, SMALL, x 30–48%, its head top at about 44% and feet at about 72% of the image height",
                   "Terashima leans on the counter at the right foreground, waist-up, x 60–100%, her head top at about 24% of the image height, looking toward Pikarikun"],
      camera=["SHOT SIZE: wide, the empty lobby", "CAMERA POSITION: from behind the counter, front-right", "CAMERA HEIGHT: 140 cm"],
      inset_area=(0.04, 0.62, 0.40, 0.96), band="4% and 20%",
      comp=["long evening shadows across the empty floor, NO other people",
            "the bubble 「今日、ピカリくん暇そうだったね」 at the upper right, its tail to Terashima"],
      bubbles=[("Nurse Terashima", "今日、ピカリくん暇そうだったね", ["今日、ピカリくん", "暇そうだったね"])],
      scene="Evening. Only two people talked to Pikarikun all day. Terashima: Pikarikun looked bored today."),
 dict(chars=["寺島", "ピカリ"], pikari="AI ASSIST", no_lineup=True, pscale_text=PSC, prop=("COUNTER AND LAMP", [COUNTER + ", at the right", "a small plain round lamp on Terashima's counter, unlit. NO text"]),
      camera=["SHOT SIZE: both from the knees up", "CAMERA POSITION: front-right, three-quarter", "CAMERA HEIGHT: 140 cm"],
      comp=["Pikarikun at the left, centred at about 30% of the image width, its head turned toward an approaching visitor off-picture at the left, a small chime mark near its head",
            "Terashima at the right behind the counter, centred at about 74%, the lamp on the counter in front of her, relaxed",
            "the AI bubble 「呼ばれたら、すぐ戻ります」 is a RECTANGULAR box at the upper left, its tail to Pikarikun"],
      bubbles=[("Pikarikun-AI", "呼ばれたら、すぐ戻ります", ["呼ばれたら、", "すぐ戻ります"])],
      ai_bubble=True,
      inset_area=(0.56, 0.62, 0.96, 0.96), band="4% and 20%",
      scene="The next week: when someone comes near Pikarikun, a sound reaches the operator. If the connection drops, a lamp lights at Terashima's window."),
]
WINDOWS = {
 1: dict(avatar="from the shoulders down, seen from behind-right — her hands only rest on a desk", vr=False,
         prop=("DESK", ["one plain desk top with a tall stack of plain paper forms. NO text", "a game controller set to one side"]),
         comp=["her hands rest beside the stack of papers"],
         bubbles=[("Robo no Avatar-san", "案内しながら、書類も片付けちゃおう", ["案内しながら、", "書類も片付けちゃおう"])],
         scene="Robo no Avatar-san at her cockpit desk with a pile of paperwork: I'll clear the paperwork while I guide."),
 2: dict(avatar="her hand only, close-up", vr=False,
         prop=("DESK", ["one plain paper form on the desk, blank. NO text", "a pen in her hand, frozen above the paper"]),
         comp=["only her right hand holding the pen, stopped above the blank form"],
         bubbles=[("Robo no Avatar-san", "…今、誰か来た？", ["…今、", "誰か来た？"])],
         scene="Her pen stays frozen. She cannot take her eyes off the screen: did someone just come?"),
 3: dict(avatar="from the shoulders down, slumped, seen from behind-right", vr=False,
         prop=("DESK", ["one plain desk top with a stack of completely blank paper forms. NO text"]),
         comp=["her shoulders slumped beside the untouched blank papers"],
         bubbles=[("Robo no Avatar-san", "一日、画面の番をしてただけ…", ["一日、", "画面の番を", "してただけ…"])],
         scene="Evening at her desk: the forms are still blank. I just watched the screen all day."),
 4: dict(avatar="her hand only, close-up", vr=False,
         prop=("DESK", ["plain paper forms on the desk, a few lines of plain scribbles being written (NO readable text)", "a pen moving in her hand"]),
         comp=["only her right hand writing briskly on the form, small motion lines"],
         scene="Her hand writes on the forms, working while waiting to be called. NO speech bubble."),
}

# 2026-11-23 チェック①：P1 b1（手を前で重ねて待つ）／小窓1 b2（「」なし）／小窓2 b1（ペンが紙の上で止まる）／P3 b1／小窓3 b1（肩を落とす）／P4 b1（ピーン・ランプ）／小窓4 b1
# P2 は2枚とも生成が止められた（PROHIBITED_CONTENT）→ 言い回しを簡単にして描き直す
PICK = {1: '第159話_P1_20261123_012738b1.jpg', 'W1': '第159話_P1小窓_20261123_012738b2.jpg', 'W2': '第159話_P2小窓_20261123_012738b1.jpg', 3: '第159話_P3_20261123_012738b1.jpg', 'W3': '第159話_P3小窓_20261123_012738b1.jpg', 4: '第159話_P4_20261123_012738b1.jpg', 'W4': '第159話_P4小窓_20261123_012738b1.jpg'}
PANELS[1] = dict(PANELS[1], comp=["Pikarikun stands in the hospital lobby, centred at about 62% of the image width, its head between 26% and 48% of the image height, looking to the side toward the lobby entrance, waiting politely"],
  scene="Pikarikun waits in the lobby, looking toward the entrance for the next visitor. NO speech bubble in this picture.")
# 言い回しを変えても P2 が止められたため、P1 と同じ2人の絵に寄せる（ピカリくんを手前に大きく、寺島さんは奥の窓口）
PANELS[1] = dict(chars=["寺島", "ピカリ"], pikari="OPERATED", no_lineup=True, prop=("COUNTER", [COUNTER + ", in the background at the right, with Terashima behind it"]),
      camera=["SHOT SIZE: Pikarikun from the knees up in the foreground", "CAMERA POSITION: front-right, three-quarter", "CAMERA HEIGHT: 140 cm"],
      comp=["Pikarikun is LARGE in the foreground, centred at about 64% of the image width, its head between 22% and 44% of the image height, its head turned toward the lobby entrance at the left, waiting",
            "Terashima works behind the counter in the background at the right, small, looking down at papers"],
      inset_area=(0.04, 0.56, 0.46, 0.96), band="4% and 18%",
      scene="Pikarikun keeps watching the lobby entrance, waiting for a visitor. Terashima works at the counter behind. NO speech bubble in this picture.")

# 2026-11-23 エイイチ「寺島さんが痩せすぎ」→ 寺島さんが出るコマに体つきを足して描き直す（三面図どおり、ふっくらした体つき）
TERA_BUILD = ("TERASHIMA'S BUILD — SOFT AND ROUNDED, NOT SLIM:", ["copy Terashima's body from her three-view reference: a full round face, a soft rounded chest and belly, a wide waist and hips, thick upper arms and legs", "her scrubs fit loosely over a sturdy, plump body", "do NOT draw her slim, slender or model-like"])
for _k, _p in enumerate(PANELS):
    if "寺島" in _p["chars"]:
        PANELS[_k] = dict(_p, extra=list(_p.get("extra", [])) + [TERA_BUILD])
        PICK.pop(_k + 1, None)
# 2026-11-23 寺島さんの体つきを直した描き直しから：P1 013154（013157 は窓口に薄い緑）／P2 013154／P3 013156（夕方の長い影）／P4 013204（013206 は「チィッ」の余計な字）
PICK.update({1: '第159話_P1_20261123_013154.jpg', 2: '第159話_P2_20261123_013154.jpg', 3: '第159話_P3_20261123_013156.jpg', 4: '第159話_P4_20261123_013204.jpg'})
# P1 013154 はピカリくんの胸に名札とひもが付いた → 白で消す（ピカリくんの体に字や札は付けない）
PATCH = {1: [(300, 545, 390, 640)]}
# 2026-11-23 エイイチ「ピカリくんの中の人のコマが小さい」→ 小窓を一辺 約410px から 約590px に広げる（描き直しはせず、仕上げで重ねる大きさだけ変える）
for _k, _a in {1: (0.03, 0.53, 0.58, 0.97), 2: (0.03, 0.53, 0.58, 0.97), 3: (0.03, 0.55, 0.58, 0.97), 4: (0.42, 0.55, 0.97, 0.97)}.items():
    PANELS[_k - 1] = dict(PANELS[_k - 1], inset_area=_a)
```

#### manga_spec_ep160.py

```python
EP, TITLE = 160, "取りに出る"
# 2026-11-23 エイイチ了承のコマ割り：扉の外のハコブくんと扉越しの槙原さん／手袋を外して廊下へ／行ったり来たりと待ちぼうけのツカムくん／壁の受け渡し口でツカムくんが受け取る
import os
from importlib.machinery import SourceFileLoader as _L
C = _L("_c", os.path.expanduser("~/mnt/PixelstoMotors/ハコブくん/4コママンガ作成データ/縦長/_common_153_157.py")).load_module()
STOUT = ("HAKOBUKUN SILHOUETTE — STOUT, NOT TALL AND THIN:", ["copy the short, broad, stout proportions of the attached three-quarter 3D reference exactly. Its whole outline is only about 1.45 times as tall as it is wide", "the screen is wider than it is tall; the side ring panel is broad, almost square", "do NOT stretch it vertically, do NOT make it narrow"])
TUBE = "a small plain sealed sample container (a capped tube in a clear case). NO text"
PANELS = [
 dict(chars=["槙原", "ツカム", "ハコブ"], mouth="NORMAL", no_yline=True, hdir="right", prop=("DOORWAY", ["a plain open lab door frame in the centre-right, seen at an angle. NO text, NO signs"]),
      hscale_text=["Hakobukun stands in the corridor in the left foreground, full body, three-quarter view facing camera-right toward the door, x 2–44%, its top at about 44% and wheels at about 96% of the image height",
                   "through the open door at the back right: Makihara stands at Tsukamukun's work table, waist-up above the table, x 58–92%, his head top at about 28% of the image height, writing on a clipboard, wearing gloves; Tsukamukun on the table beside him"],
      camera=["SHOT SIZE: corridor with the lab behind", "CAMERA POSITION: in the corridor, front-left", "CAMERA HEIGHT: 110 cm"],
      band="3% and 22%",
      comp=["the bubble 「検体ヲ、オ届ケシマシタ」 at the upper left, its tail down to Hakobukun's screen"],
      bubbles=[("Hakobukun", "検体ヲ、オ届ケシマシタ", ["検体ヲ、", "オ届ケシマシタ"])],
      extra=[STOUT, C.CLOSED, ("KATAKANA CHECK:", ["in 検体ヲ、オ届ケシマシタ the ヲ, オ, ケ, シ, マ, シ, タ are KATAKANA"])],
      scene="The lab is testing deliveries with mock samples. Outside the door in the corridor, Hakobukun stops: samples delivered."),
 dict(chars=["槙原", "ハコブ"], mouth="NORMAL", drawer=True, no_yline=True, hdir="right", prop=("CONTAINER AND GLOVES", [TUBE + ", in Makihara's right hand, just taken out of Hakobukun's open drawer", "a pair of plain gloves in his left hand, just pulled off"]),
      hscale_text=["Hakobukun at the left, full body, three-quarter view facing camera-right toward Makihara, x 4–46%, its top at about 46% and wheels at about 94% of the image height, its drawer pulled open toward him",
                   "Makihara at the right, from the knees up, bending to the drawer, x 46–96%, his head top at about 18% of the image height; Hakobukun's top reaches only the pit of his stomach"],
      camera=["SHOT SIZE: knee-up of Makihara with Hakobukun", "CAMERA POSITION: front-left, three-quarter", "CAMERA HEIGHT: 120 cm"],
      band="3% and 18%",
      comp=["Makihara looks a little tired, sighing",
            "the bubble 「本番だと、これが1日に何十回…」 at the upper right, its tail to Makihara"],
      bubbles=[("Engineer Makihara", "本番だと、これが1日に何十回…", ["本番だと、", "これが1日に何十回…"])],
      extra=[STOUT],
      scene="Makihara pulls off his gloves, steps out into the corridor and takes the container from Hakobukun's drawer. In real operation, this would be dozens of times a day."),
 dict(chars=["槙原", "ツカム"], no_yline=True, prop=("LAB MACHINE", ["a plain boxy lab analyser machine at the left with one small blinking light. NO text"]),
      hscale_text=["Tsukamukun on its work table is LARGE in the right foreground, x 52–100%, its face on the base clearly visible, waiting, its arm folded, round eyes staring blankly",
                   "Makihara rushes across the middle distance from the door toward the analyser, full body, mid-stride, x 16–48%, his head top at about 30% of the image height, with speed lines behind him"],
      camera=["SHOT SIZE: Tsukamukun close in the foreground, Makihara running behind", "CAMERA POSITION: from beside the work table", "CAMERA HEIGHT: 120 cm"],
      band="3% and 16%",
      comp=["the sound effect 「ピピピ」 next to the analyser's light",
            "a few small dots of waiting above Tsukamukun's base"],
      sfx=[("ピピピ", "next to the analyser at the upper left, about x 6–26%, y 26–36%")],
      scene="The next arrival notice overlaps with the analyser's alarm. Makihara runs back and forth between the lab and the corridor. Tsukamukun waits, left alone. NO speech bubble in this picture."),
 dict(chars=["槙原", "ツカム"], no_yline=True, prop=("PASS-THROUGH HATCH", ["a small plain square pass-through hatch built into the lab wall, with a hinged cover that guards fingers. Through its opening, the dark screen top of a delivery robot is just visible on the corridor side. NO text", TUBE + ", held in Tsukamukun's gripper as it takes it from the hatch"]),
      hscale_text=["the hatch is in the wall at the left, x 6–40%, y 30–56%",
                   "Tsukamukun on its work table in the centre, x 30–70%, its arm reaching into the hatch and holding the container",
                   "Makihara sits relaxed on a stool at the right, waist-up, x 64–100%, his head top at about 32% of the image height, smiling, stretching"],
      camera=["SHOT SIZE: the hatch, Tsukamukun and Makihara", "CAMERA POSITION: inside the lab, front-right", "CAMERA HEIGHT: 130 cm"],
      band="3% and 22%",
      comp=["two bubbles: 「中マデ、届キマシタ」 at the upper left, its tail down to the hatch opening (Hakobukun on the other side); 「出なくていいって、いいな」 at the upper right, its tail to Makihara"],
      bubbles=[("Hakobukun", "中マデ、届キマシタ", ["中マデ、", "届キマシタ"]), ("Engineer Makihara", "出なくていいって、いいな", ["出なくていいって、", "いいな"])],
      tails={"中マデ、届キマシタ": "the hatch opening in the wall"},
      extra=[("KATAKANA CHECK:", ["in 中マデ、届キマシタ the マ, デ, キ, マ, シ, タ are KATAKANA"])],
      scene="A pass-through hatch with a finger guard is built into the wall. Inside, Tsukamukun takes the sealed container from the stopped Hakobukun. Makihara: nice not having to go out."),
]

# 2026-11-23 チェック①：P1 b2（b1 はハコブくんが丸い頭の別の形）／P2 b2（ため息）／P3 b1（b2 は槙原さんがリュック）。P3 b1 の「点々…」の字は白で消す
# P4 は2枚とも槙原さんが立ったまま無表情 → 椅子に座って笑う形に描き直す
PICK = {1: '第160話_P1_20261123_012738b2.jpg', 2: '第160話_P2_20261123_012738b2.jpg', 3: '第160話_P3_20261123_012738b1.jpg'}
PATCH = {3: [(495, 580, 575, 760)]}
PANELS[3] = dict(PANELS[3], extra=PANELS[3]["extra"] + [("MAKIHARA:", ["Makihara SITS on a low stool, leaning back and stretching both arms up, a big relaxed smile — he is NOT standing", "NO backpack"])])
# 2026-11-23 描き直しから：P4 013046（椅子で伸びをして笑う・受け渡し口から受け取る）
PICK[4] = '第160話_P4_20261123_013046.jpg'
```

### ショート動画の台本（spec_ep*.py）

#### spec_ep8.py

```python
import os, sys
sys.path.insert(0, os.environ.get("W24", os.path.expanduser("~/w")) + "/specs"); from common24 import *
import common24
common24.BGMAP[8] = "第52話.png"
HERE = os.path.dirname(os.path.abspath(__file__))
NAME, EP = "第8話_最新鋭と最年長", 8
HEAD = ['リモコンを', '向けられた']
COMIC = C + "ep8.jpg"
P1, P2, P3, P4 = [(0, 1350 * i, 1080, 1350 * (i + 1)) for i in range(4)]
DUR = 3.6
MOTION = mot("ep8", EP)
SCENES = [
  dict(kind="op", video=anim(EP, "ep8"), dur=DUR, lines=[], se=[dict(at=0.5, f="se/se_pikon.mp3", db=-14), dict(at=1.0, f="se/se_pikon.mp3", db=-14), dict(at=1.5, f="se/se_pikon.mp3", db=-14)]),
  dict(kind="panel", crop=P1, fit=False, min=2.2, lines=[]),
  dict(kind="panel", crop=P2, fit=False, min=2.2, lines=[]),
  dict(kind="panel", crop=P3, fit=False, lines=[ns("森田久美子", 1, "あらやだ、|全然【チャンネル】|変わらないわねぇ")]),
  dict(kind="panel", crop=P4, fit=False, lines=[ns("大城", 1, "森田さん、|それ【テレビじゃない】のよ…")]),
  end(("画面と台があれば", 74, "ink", 0.0), ("人は", 74, "ink", 0.25), ("テレビ", 120, "orange", 0.9), ("だと思う", 120, "orange", 0.9), ("（見慣れた形は、見慣れた使い方を呼ぶ）", 34, "gray", 1.8)),
]
```

#### spec_ep36.py

```python
import os, sys
sys.path.insert(0, os.environ.get("W24", os.path.expanduser("~/w")) + "/specs"); from common24 import *
import common24
common24.BGMAP[36] = "第9話.png"
HERE = os.path.dirname(os.path.abspath(__file__))
NAME, EP = "第36話_スマホで撮った部屋", 36
HEAD = ['ツカムくんは', 'どこで練習した？']
COMIC = C + "ep36.jpg"
P1, P2, P3, P4 = [(0, 1350 * i, 1080, 1350 * (i + 1)) for i in range(4)]
DUR = 3.6
MOTION = mot("ep36", EP)
SCENES = [
  dict(kind="op", video=anim(EP, "ep36"), dur=DUR, lines=[], se=[dict(at=0.5, f="se/se_pikon.mp3", db=-12), dict(at=2.2, f="se/se_boot.wav", db=-12)]),
  dict(kind="panel", crop=P1, fit=False, lines=[hk(1, "ツカムクンッテ、|【ドコデ練習】シタノ？")]),
  dict(kind="panel", crop=P2, fit=False, lines=[hk(2, "コレ、ココ？"), ns("ツカム", 1, "【スマホで撮って】、|部屋ごと写した")]),
  dict(kind="panel", crop=P3, fit=False, lines=[hk(3, "失敗バッカリ…"), ns("ツカム", 2, "【画面の中なら】、|壊れない")]),
  dict(kind="panel", crop=P4, fit=False, lines=[hk(4, "スマホカラ始メレバ、|誰デモ【練習ノ部屋】ガ|作レル"), ns("ツカム", 3, "まず、|【撮るところから】")]),
  end(("練習の部屋は", 74, "ink", 0.0), ("スマホで", 74, "ink", 0.25), ("撮って", 120, "orange", 0.9), ("作れる", 120, "orange", 0.9), ("（画面の中なら、何度失敗しても壊れない）", 34, "gray", 1.8)),
]
```

#### spec_ep158.py

```python
import os, sys
sys.path.insert(0, os.environ.get("W24", os.path.expanduser("~/w")) + "/specs"); from common24 import *
import common24
common24.BGMAP[158] = "第20話.png"
HERE = os.path.dirname(os.path.abspath(__file__))
NAME, EP = "第158話_線の上", 158
HEAD = ['床の線の上だけ', '走らせたら']
COMIC = C + "ep158.jpg"
P1, P2, P3, P4 = [(0, 1350 * i, 1080, 1350 * (i + 1)) for i in range(4)]
DUR = 3.6
MOTION = mot("ep158", EP)
SCENES = [
  dict(kind="op", video=anim(EP, "ep158"), dur=DUR, lines=[], se=[dict(at=1.4, f="se/se_skid.wav", db=-12)]),
  dict(kind="panel", crop=P1, fit=False, lines=[ns("槙原", 1, "この線の上だけ|走らせれば、【迷いません】")]),
  dict(kind="panel", crop=P2, fit=False, lines=[hk(1, "線ノ上ニ、|【物ガアリマス】")]),
  dict(kind="panel", crop=P3, fit=False, lines=[ns("寺島", 1, "【よければ】|いいじゃない"), hk(2, "線ノ外ハ、|【走レマセン】")]),
  dict(kind="panel", crop=P4, fit=False, lines=[ns("寺島", 2, "迷わない代わりに、|【線を空けておく仕事】が|私たちに来たのね"), ns("槙原", 2, "その仕事も、|【数に入れて】選びます")]),
  end(("線の上なら", 74, "ink", 0.0), ("迷わない。でも", 74, "ink", 0.25), ("線を空ける", 120, "orange", 0.9), ("手間が増える", 120, "orange", 0.9), ("（その手間も、数に入れて選ぶ）", 34, "gray", 1.8)),
]
```

#### spec_ep159.py

```python
import os, sys
sys.path.insert(0, os.environ.get("W24", os.path.expanduser("~/w")) + "/specs"); from common24 import *
import common24
common24.BGMAP[159] = "第82話.png"
HERE = os.path.dirname(os.path.abspath(__file__))
NAME, EP = "第159話_画面の番", 159
HEAD = ['ピカリくんの', '中の人は…']
COMIC = C + "ep159.jpg"
P1, P2, P3, P4 = [(0, 1350 * i, 1080, 1350 * (i + 1)) for i in range(4)]
DUR = 3.6
MOTION = mot("ep159", EP)
SCENES = [
  dict(kind="op", video=anim(EP, "ep159"), dur=DUR, lines=[], se=[dict(at=1.9, f="se/se_pikon.mp3", db=-10)]),
  dict(kind="panel", crop=P1, fit=False, lines=[ns("アバター", 1, "案内しながら、|【書類も】片付けちゃおう")]),
  dict(kind="panel", crop=P2, fit=False, lines=[ns("アバター", 2, "…今、|【誰か来た？】")]),
  dict(kind="panel", crop=P3, fit=False, lines=[ns("寺島", 1, "今日、ピカリくん|【暇そう】だったね"), ns("アバター", 3, "一日、|【画面の番】をしてただけ…")]),
  dict(kind="panel", crop=P4, fit=False, se=[dict(at=0.0, f="se/se_pikon.mp3", db=-12)], lines=[hb("ピカリAI", 1, "呼バレタラ、|【スグ戻リマス】")]),
  end(("来るかもしれない人を", 74, "ink", 0.0), ("待ち続けると", 74, "ink", 0.25), ("ほかの手が", 120, "orange", 0.9), ("止まる", 120, "orange", 0.9), ("（近づいたら知らせる仕組みで、手を空ける）", 34, "gray", 1.8)),
]
```

#### spec_ep160.py

```python
import os, sys
sys.path.insert(0, os.environ.get("W24", os.path.expanduser("~/w")) + "/specs"); from common24 import *
import common24
common24.BGMAP[160] = "第43話.png"
HERE = os.path.dirname(os.path.abspath(__file__))
NAME, EP = "第160話_取りに出る", 160
HEAD = ['検体を届けに', '来たけれど']
COMIC = C + "ep160.jpg"
P1, P2, P3, P4 = [(0, 1350 * i, 1080, 1350 * (i + 1)) for i in range(4)]
DUR = 3.6
MOTION = mot("ep160", EP)
SCENES = [
  dict(kind="op", video=anim(EP, "ep160"), dur=DUR, lines=[], se=[dict(at=0.4, f="se/se_pikon.mp3", db=-12)]),
  dict(kind="panel", crop=P1, fit=False, lines=[hk(1, "検体ヲ、|【オ届ケシマシタ】")]),
  dict(kind="panel", crop=P2, fit=False, lines=[ns("槙原", 1, "本番だと、|これが【1日に何十回】…")]),
  dict(kind="panel", crop=P3, fit=False, min=2.4, lines=[]),
  dict(kind="panel", crop=P4, fit=False, lines=[hk(2, "【中マデ】、|届キマシタ"), ns("槙原", 2, "【出なくていい】って、|いいな")]),
  end(("運んでくれても", 74, "ink", 0.0), ("取りに出るのは人", 74, "ink", 0.25), ("受け取りまで", 120, "orange", 0.9), ("数に入れる", 120, "orange", 0.9), ("（壁の受け渡し口で、出なくていい形に）", 34, "gray", 1.8)),
]
```

### ショート動画の声（声.sh）

#### 第8話_最新鋭と最年長/声.sh

```bash
#!/bin/bash
# 第8話_最新鋭と最年長 のショートの声（2026-11-23）。鍵は KIOXIA の elevenlabs_api_key.txt を tts_eleven.py が読む
cd "$(dirname "$0")"
B=../../_制作ベース
[ -f narration.py ] || printf "# ショート専用。声は --try で作る\nSEGS = []\n" > narration.py
[ -f "voice_eleven/森田久美子/試し_01.mp3" ] || python3 $B/tts_eleven.py --voice xl4Pf62eVCKmATWJprpj --name 森田久美子 --try "あらやだ、全然チャンネル変わらないわねぇ" || echo "  ！森田久美子 で止まりました"
[ -f "voice_eleven/大城/試し_01.mp3" ] || python3 $B/tts_eleven.py --voice PrFsT9a2iZebpuiWVeug --name 大城 --try "森田さん、それテレビじゃないのよ…" || echo "  ！大城 で止まりました"
```

#### 第36話_スマホで撮った部屋/声.sh

```bash
#!/bin/bash
# 第36話_スマホで撮った部屋 のショートの声（2026-11-23）。鍵は KIOXIA の elevenlabs_api_key.txt を tts_eleven.py が読む
cd "$(dirname "$0")"
B=../../_制作ベース
[ -f narration.py ] || printf "# ショート専用。声は --try で作る\nSEGS = []\n" > narration.py
[ -f "voice_eleven/ハコブ/試し_04.mp3" ] || python3 $B/tts_eleven.py --voice gWJpc8whMBqnF7Y0kc9f --name ハコブ --try "ツカムくんって、どこで練習したの？｜これ、ここ？｜失敗ばっかり…｜スマホから始めれば、誰でも練習の部屋が作れる" || echo "  ！ハコブ で止まりました"
[ -f "voice_eleven/ツカム/試し_03.mp3" ] || python3 $B/tts_eleven.py --voice Sryf5xKmMsQChU3HsLhZ --name ツカム --try "スマホで撮って、部屋ごと写した｜画面の中なら、壊れない｜まず、撮るところから" || echo "  ！ツカム で止まりました"
```

#### 第158話_線の上/声.sh

```bash
#!/bin/bash
# 第158話_線の上 のショートの声（2026-11-23）。鍵は KIOXIA の elevenlabs_api_key.txt を tts_eleven.py が読む
cd "$(dirname "$0")"
B=../../_制作ベース
[ -f narration.py ] || printf "# ショート専用。声は --try で作る\nSEGS = []\n" > narration.py
[ -f "voice_eleven/槙原/試し_02.mp3" ] || python3 $B/tts_eleven.py --voice Sryf5xKmMsQChU3HsLhZ --name 槙原 --try "この線の上だけ走らせれば、迷いません｜その仕事も、数に入れて選びます" || echo "  ！槙原 で止まりました"
[ -f "voice_eleven/ハコブ/試し_02.mp3" ] || python3 $B/tts_eleven.py --voice gWJpc8whMBqnF7Y0kc9f --name ハコブ --try "線の上に、物があります｜線の外は、走れません" || echo "  ！ハコブ で止まりました"
[ -f "voice_eleven/寺島/試し_02.mp3" ] || python3 $B/tts_eleven.py --voice yWM6Fym2UxDGZqWRoGLB --name 寺島 --try "よければいいじゃない｜迷わない代わりに、線を空けておく仕事が私たちに来たのね" || echo "  ！寺島 で止まりました"
```

#### 第159話_画面の番/声.sh

```bash
#!/bin/bash
# 第159話_画面の番 のショートの声（2026-11-23）。鍵は KIOXIA の elevenlabs_api_key.txt を tts_eleven.py が読む
cd "$(dirname "$0")"
B=../../_制作ベース
[ -f narration.py ] || printf "# ショート専用。声は --try で作る\nSEGS = []\n" > narration.py
[ -f "voice_eleven/アバター/試し_03.mp3" ] || python3 $B/tts_eleven.py --voice yWM6Fym2UxDGZqWRoGLB --name アバター --try "案内しながら、書類も片付けちゃおう｜…今、誰か来た？｜一日、画面の番をしてただけ…" || echo "  ！アバター で止まりました"
[ -f "voice_eleven/寺島/試し_01.mp3" ] || python3 $B/tts_eleven.py --voice 2zABg81whjrIKypr7XTd --name 寺島 --try "今日、ピカリくん暇そうだったね" || echo "  ！寺島 で止まりました"
[ -f "voice_eleven/ピカリAI/試し_01.mp3" ] || python3 $B/tts_eleven.py --voice gWJpc8whMBqnF7Y0kc9f --name ピカリAI --try "呼ばれたら、すぐ戻ります" || echo "  ！ピカリAI で止まりました"
```

#### 第160話_取りに出る/声.sh

```bash
#!/bin/bash
# 第160話_取りに出る のショートの声（2026-11-23）。鍵は KIOXIA の elevenlabs_api_key.txt を tts_eleven.py が読む
cd "$(dirname "$0")"
B=../../_制作ベース
[ -f narration.py ] || printf "# ショート専用。声は --try で作る\nSEGS = []\n" > narration.py
[ -f "voice_eleven/ハコブ/試し_02.mp3" ] || python3 $B/tts_eleven.py --voice gWJpc8whMBqnF7Y0kc9f --name ハコブ --try "検体を、お届けしました｜中まで、届きました" || echo "  ！ハコブ で止まりました"
[ -f "voice_eleven/槙原/試し_02.mp3" ] || python3 $B/tts_eleven.py --voice Sryf5xKmMsQChU3HsLhZ --name 槙原 --try "本番だと、これが一日に何十回…｜出なくていいって、いいな" || echo "  ！槙原 で止まりました"
```

### 冒頭の動き（motion158x.py）

#### motion158x.py

```python
"""第8・36・158〜160話の冒頭の動き（2026-11-23）。話ごとに違う動き（138〜157 とも重ねない）
8   リモコンを押されるたびに画面の数字が 1→2→3 と変わり、体がピクッ → 首を振って「テレビデハ／アリマセン」
36  カメラのフラッシュが3回（画面ごと白く光る）→ 画面に「カシャ」→ 少し跳ねて「練習ノ／部屋」
158 床の線をたどってゆっくり横へ進む → ピタッと止まって少し後ろへゆれる「！」→ 体を左右に振るが動けず「線ノ外ハ／走レマセン」
159 画面の目が左右をきょろきょろ（見張っている）→ 輪が光って「ピンポン」→ ぴょんと跳ねて「呼バレタラ／戻リマス」
160 前へおじぎして「オ届ケ」→ 待つ間につま先立ちのように小さく上下「…」→ 前へ身を乗り出して「中マデ／届ケマス」"""
import sys
import numpy as np
import motion30
import hakobu_motion as M
from hakobu_motion import T, ease

class Remote8:
    dur = 3.6; empty = True
    CLICK = (0.5, 1.0, 1.5)
    def motion(self, t):
        for c in self.CLICK:
            if c <= t < c + 0.25:
                k = np.exp(-(t - c) * 14) * np.sin(2 * np.pi * 6 * (t - c))
                return dict(dy=-6 * k, sy=1 + 0.02 * k)
        if t >= 2.2: return dict(rot=3 * np.sin(2 * np.pi * 2.2 * (t - 2.2)) * max(0, 1 - (t - 2.2) / 1.1))
        return {}
    def face(self, t):
        if t < self.CLICK[0]: return ("open", "open"), None, "mid"
        if t < 2.2:
            n = sum(t >= c for c in self.CLICK); return T(str(n))
        return T("テレビデハ", "アリマセン")
    def ring(self, t): return 0.5
    def blur(self, t): return False
    def dim(self, t): return 1.0
    def cam(self, t): return (0, 0)

class Flash36:
    dur = 3.6; empty = True
    FL = (0.5, 1.0, 1.5)
    def motion(self, t):
        if t >= 2.2:
            v = t - 2.2
            if v < 0.4: return dict(dy=-30 * np.sin(np.pi * v / 0.4), sy=1 + 0.04 * np.sin(np.pi * v / 0.4))
        return {}
    def face(self, t):
        if t < self.FL[0]: return ("open", "open"), None, "o"
        if t < 2.2: return T("カシャ")
        return T("練習ノ", "部屋")
    def ring(self, t): return 1.0 if any(f <= t < f + 0.15 for f in self.FL) else 0.5
    def blur(self, t): return False
    def dim(self, t):
        for f in self.FL:
            if f <= t < f + 0.18: return 1.0 + 0.7 * (1 - (t - f) / 0.18)
        return 1.0
    def cam(self, t): return (0, 0)

class Line158:
    dur = 3.6; empty = True
    STOP = 1.4
    def motion(self, t):
        if t < self.STOP:
            return dict(dx=80 - 120 * (t / self.STOP), dy=-1.5 * abs(np.sin(2 * np.pi * 3 * t)))
        v = t - self.STOP
        if v < 0.5:
            k = np.exp(-v * 9) * np.sin(2 * np.pi * 2.5 * v)
            return dict(dx=-40 + 8 * k, rot=4 * k)
        if t >= 2.3: return dict(dx=-40, rot=2.5 * np.sin(2 * np.pi * 2.5 * (t - 2.3)) * max(0, 1 - (t - 2.3) / 1.2))
        return dict(dx=-40)
    def face(self, t):
        if t < self.STOP: return T("線ノ上")
        if t < 2.3: return T("！")
        return T("線ノ外ハ", "走レマセン")
    def ring(self, t): return 0.5
    def blur(self, t): return False
    def dim(self, t): return 1.0
    def cam(self, t): return (0, 0)

class Watch159:
    dur = 3.6; empty = True
    PING = 1.9
    def motion(self, t):
        if t < self.PING: return {}
        v = t - self.PING - 0.3
        if 0 <= v < 0.42: return dict(dy=-36 * np.sin(np.pi * v / 0.42), sy=1 + 0.05 * np.sin(np.pi * v / 0.42))
        return {}
    def face(self, t):
        if t < self.PING:
            ph = int(t * 2.5) % 4
            return ("open", "open"), None, ("mid" if ph % 2 == 0 else "o")
        if t < self.PING + 0.6: return T("ピンポン")
        return T("呼バレタラ", "戻リマス")
    def ring(self, t): return (1.0 if int(t * 8) % 2 == 0 else 0.3) if self.PING <= t < self.PING + 0.6 else 0.4
    def blur(self, t): return False
    def dim(self, t): return 1.0
    def cam(self, t): return (int(5 * np.sin(2 * np.pi * 0.8 * t)), 0) if t < self.PING else (0, 0)

class Hatch160:
    dur = 3.6; empty = True
    def motion(self, t):
        if t < 0.9:
            k = np.sin(np.pi * min(1, t / 0.9)); return dict(rot=-8 * k, dx=-6 * k)
        if t < 2.2: return dict(dy=-5 * abs(np.sin(2 * np.pi * 2 * (t - 0.9))))
        u = ease(min(1, (t - 2.2) / 0.5)); return dict(rot=-5 * u, dx=-28 * u)
    def face(self, t):
        if t < 0.9: return T("オ届ケ")
        if t < 2.2: return T("…")
        return T("中マデ", "届ケマス")
    def ring(self, t): return 0.5 if t < 2.2 else 1.0
    def blur(self, t): return False
    def dim(self, t): return 1.0
    def cam(self, t): return (0, 0)

M.PATTERNS.update(ep8=Remote8, ep36=Flash36, ep158=Line158, ep159=Watch159, ep160=Hatch160)
if __name__ == "__main__":
    for arg in sys.argv[1:]:
        nm, _, kv = arg.partition(":")
        pat = M.PATTERNS[nm]()
        for item in filter(None, kv.split(",")):
            k, v = item.split("=", 1)
            if k in motion30.STR: setattr(pat, k, v)
            else: setattr(pat, k, float(v))
        M.render(pat, f"ハコブくん_{nm}.mp4")
```

### 表紙を作るスクリプト（cn158.py・mc158.py）

#### cn158.py

```python
"""（2026-11-14 v2：中に字がある白い領域だけを吹き出しとみなす。第151話で扉の中とハコブくんの側面まで消えたため）
第148〜152話の表紙用：選んだコマから吹き出しをプログラムで消す（2026-11-14）
Gemini の編集（cover_edit_143.py）が月の支払い上限で断られたため、代わりに作った。
白い閉じた領域のうち、上半分にあって広い（8,000画素以上・外枠の箱の55%以上が白）ものを吹き出しとみなし、
穴を埋めて9画素ふくらませた所を白で塗る。そのまわり45画素の中に残った小さな点（400画素未満の線の切れ端・しっぽの先）も消す。
第148話は P1 だとリネンの袋の線まで消えたので P2 にし、端に触れていて見つからなかった左の吹き出しは、上から290画素を白で塗って消した。"""
import numpy as np, os
from PIL import Image
from scipy import ndimage
B = "/mnt/user-data/uploads/PixelstoMotors/ハコブくん/4コママンガ作成データ/縦長"
PICK = {8: 3, 36: 2, 158: 3, 159: 2, 160: 4}
os.makedirs("cover_edit", exist_ok=True)
for e, k in PICK.items():
    im = Image.open(f"{B}/第{e}話/仕上げ/第{e}話_P{k}_1080x1350.png").convert("L"); a = np.asarray(im)
    white = a > 200; lab, n = ndimage.label(white)
    out = np.asarray(im.convert("RGB")).copy(); H, W = a.shape; er = np.zeros((H, W), bool)
    for i, sl in enumerate(ndimage.find_objects(lab), 1):
        ys, xs = sl; comp = lab[sl] == i; area = comp.sum(); h = ys.stop - ys.start; w = xs.stop - xs.start
        if ys.start == 0 or xs.start == 0 or ys.stop == H or xs.stop == W: continue
        if area < 8000 or ys.start > H * 0.45 or area / (h * w) < 0.55: continue
        if ys.start > H * 0.3 or h > H * 0.35: continue   # 2026-11-14 吹き出しは上の帯にあって背が低い。縦に長い扉・下のほうのロボットの側面は外す
        m = np.zeros((H, W), bool); m[sl] = comp; f = ndimage.binary_fill_holes(m)
        if ((f & ~m) & (a < 128)).sum() < 300: continue   # 2026-11-14 中に字のない白い領域（扉・ロボットの側面など）は吹き出しではない
        m = ndimage.binary_dilation(f, iterations=9); er |= m
    out[er] = 255
    near = ndimage.binary_dilation(er, iterations=45)
    g = out.min(2) < 200; lab2, n2 = ndimage.label(g)
    for i, sl in enumerate(ndimage.find_objects(lab2), 1):
        c = lab2[sl] == i
        if c.sum() < 400 and (near[sl] & c).sum() == c.sum(): out[sl][c] = 255
    if e == 148:
        out[:290] = 255                 # 左の吹き出し（画像の端とつながっていて上の方法で見つからなかった）
        out[280:315, 455:505] = 255     # 残ったしっぽの先
    Image.fromarray(out).save(f"cover_edit/ep{e}_P{k}_nobubble_v2.png")
```

#### mc158.py

```python
"""第148〜152話の表紙（2026-11-14）：上に「第N話 タイトル」、下に吹き出しを消したコマ（LOG468 の make_covers.py と同じ組み方）
Noto Sans CJK Black が作業環境になかったので、noto-cjk の NotoSansCJKjp-Black.otf を ~/fonts に入れて使った"""
import numpy as np, os
from PIL import Image, ImageDraw, ImageFont
FB = '/usr/share/fonts/opentype/noto/NotoSansCJK-Black.ttc'
B = "/mnt/user-data/uploads/PixelstoMotors/ハコブくん/4コママンガ作成データ/縦長"
T = {8: '最新鋭と最年長', 36: 'なぜスマホから始まるのか', 158: '線の上', 159: '画面ばかり見てしまう', 160: '取りに出る'}
PICK = {8: 3, 36: 2, 158: 3, 159: 2, 160: 4}
W, H = 1080, 1350; X0 = 56; MAXW = W - 2 * X0
font = ImageFont.truetype(FB, 96, index=0)
os.makedirs('media', exist_ok=True)
for e, k in PICK.items():
    p = Image.open(f'cover_edit/ep{e}_P{k}_nobubble_v2.png').convert('RGB').resize((W, H), Image.LANCZOS)
    a = np.asarray(p).astype(np.int16); a[a.min(2) > 232] = 255; p = Image.fromarray(a.astype(np.uint8))
    head = f'第{e}話'; t = T[e]; one = f'{head} {t}'
    lines = [one] if font.getlength(one) <= MAXW else [head, t]
    c = Image.new('RGB', (W, H), 'white'); d = ImageDraw.Draw(c); y = 62
    for ln in lines:
        f = font
        while f.getlength(ln) > MAXW: f = ImageFont.truetype(FB, f.size - 4, index=0)
        d.text((X0, y), ln, font=f, fill=(36, 36, 36)); y += f.size + 18
    top = y + 40; A = H - top
    g = np.asarray(p.convert('L')) < 235; ys = np.where(g.any(1))[0]; xs = np.where(g.any(0))[0]
    cy0, cy1, cx0, cx1 = ys.min(), ys.max(), xs.min(), xs.max(); ch = cy1 - cy0
    s = min(A / ch, 1.0)  # 2026-11-23 拡大しない（左右の人物が切れないように）
    q = p.resize((round(W * s), round(H * s)), Image.LANCZOS)
    mx = (cx0 + cx1) / 2 * s; my = (cy0 + cy1) / 2 * s
    if s >= 1:
        L = int(min(max(mx - W / 2, 0), q.width - W)); Tp = int(min(max(my - A / 2, 0), q.height - A))
        b = Image.new('RGB', (W, A), 'white'); b.paste(q.crop((L, Tp, min(q.width, L + W), min(q.height, Tp + A))), (0, 0)); c.paste(b, (0, top))
    else:
        t0 = int(cy0 * s); b = Image.new('RGB', (q.width, A), 'white'); b.paste(q.crop((0, t0, q.width, min(q.height, t0 + A))), (0, 0)); c.paste(b, ((W - q.width) // 2, top))
    c.save(f'media/manga_ep{e}_cover.webp', 'WEBP', quality=88, method=6)
    c.save(f'cover_edit/ep{e}_cover_ja.png')
```

### 英語版の吹き出しの指定（en_ep*.json）

#### en_ep8.json

```json
{"ep": 8, "cover_line": "IT'S NOT A TV", "panels": [{"bubbles": [], "signs": []}, {"bubbles": [], "signs": []}, {"bubbles": [{"seed": [295, 240], "text": "Oh my, the\nchannel won't\nchange at all."}], "signs": []}, {"bubbles": [{"seed": [891, 216], "text": "Mrs.\nMorita,\nthat's\nnot a\nTV…"}], "signs": []}]}
```

#### en_ep36.json

```json
{"ep": 36, "cover_line": "START WITH A PHONE", "panels": [{"bubbles": [{"seed": [375, 252], "text": "Tsukamu, where\ndid you practice?"}], "signs": []}, {"bubbles": [{"seed": [254, 263], "text": "Is this…\nhere?"}, {"seed": [793, 220], "text": "I took photos with a\nphone and copied\nthe whole room."}], "signs": []}, {"bubbles": [{"seed": [289, 189], "text": "All failures…"}, {"seed": [824, 231], "text": "Inside the screen,\nnothing breaks."}], "signs": []}, {"bubbles": [{"seed": [333, 265], "text": "Start with a phone,\nand anyone can build\na practice room."}, {"seed": [833, 236], "text": "First,\ntake the\nphotos."}], "signs": []}]}
```

#### en_ep158.json

```json
{"ep": 158, "cover_line": "ONLY ON THE LINE", "panels": [{"bubbles": [{"seed": [831, 295], "text": "If it only\nruns on\nthis line,\nit won't\nget lost."}], "signs": []}, {"bubbles": [{"seed": [305, 242], "text": "Something is\non the line."}], "signs": []}, {"bubbles": [{"seed": [288, 270], "text": "I can't\nrun off\nthe line."}, {"seed": [832, 222], "text": "Just go\naround it!"}], "signs": []}, {"bubbles": [{"seed": [804, 196], "text": "So keeping the line\nclear became\nour job."}, {"seed": [280, 184], "text": "I'll count that\nwork too when\nwe choose."}], "signs": []}]}
```

#### en_ep159.json

```json
{"ep": 159, "cover_line": "WATCHING THE SCREEN", "panels": [{"bubbles": [{"seed": [328, 799], "text": "I'll clear the paperwork\nwhile I guide."}], "signs": []}, {"bubbles": [{"seed": [332, 824], "text": "…Did\nsomeone\ncome?"}], "signs": []}, {"bubbles": [{"seed": [797, 244], "text": "Pikari looked\nbored today."}, {"seed": [335, 817], "text": "I just watched the screen all day…"}], "signs": []}, {"bubbles": [{"seed": [304, 183], "text": "If you call me,\nI'll be right back."}], "signs": []}]}
```

#### en_ep160.json

```json
{"ep": 160, "cover_line": "GOING OUT TO GET IT", "panels": [{"bubbles": [{"seed": [186, 293], "text": "Samples\ndeliv-\nered."}], "signs": []}, {"bubbles": [{"seed": [944, 220], "text": "In real\nuse, this\nis dozens\nof times\na day…"}], "signs": []}, {"bubbles": [], "signs": []}, {"bubbles": [{"seed": [289, 248], "text": "All the\nway\ninside."}, {"seed": [664, 255], "text": "Not\nhaving to\ngo out—\nnice."}], "signs": []}]}
```

### サイトのデータを入れるスクリプト（site158.py）

#### site158.py

```python
import json
M = "/media/"


def ja(ep, title, desc, calt, alts, body, pub, v2c=False):
    return {"slug": f"ep{ep}", "title": title, "label": f"MANGA EP{ep}", "character": "ハコブくん", "description": desc, "published": pub,
            "cover": M + (f"manga_ep{ep}_cover_v2_c24b.webp" if v2c else f"manga_ep{ep}_cover_c24b.webp"), "comic": "", "cover_alt": calt, "comic_alt": "",
            "format": "vertical", "panels": [M + f"manga_ep{ep}_p{k}_c24b.webp" for k in range(1, 5)], "panel_alts": alts, "body": body}


def en(ep, title, desc, calt, alts, body, pub, v2c=False):
    return {"slug": f"ep{ep}", "title": title, "label": f"MANGA EP{ep}EN", "character": "ハコブくん", "description": desc, "published": pub,
            "cover": M + (f"manga_ep{ep}en_cover_v2_enw.webp" if v2c else f"manga_ep{ep}en_cover_enw.webp"), "comic": "", "cover_alt": calt, "comic_alt": "",
            "format": "vertical", "panels": [M + f"manga_ep{ep}en_p{k}_enw.webp" for k in range(1, 5)], "panel_alts": alts, "body": body}


J = []; E = []
J.append(ja(8, "見慣れた形は、見慣れた使い方を呼ぶ",
 "病室のベッドで、森田久美子さんがリモコンを向けたのはテレビではなくハコブくん。カチカチ押しても、チャンネルは変わらない。画面と台がそろうと、人はテレビだと思う。形が呼ぶ使い方を描く4コマ漫画、第8話。",
 "第8話 最新鋭と最年長の表紙。リモコンを向けられて、きょとんとするハコブくん",
 ["病室のベッドで、リモコンを手に黙り込む久美子さん", "久美子さんのそばへ、ハコブくんがスッと来る", "ハコブくんにリモコンを向けて、カチカチ押す久美子さん", "首をかしげるハコブくんと、戸口で笑う大城さん"],
 '<p>■ 画面があれば、テレビに見える<br>病室のベッドで、森田久美子さんがリモコンを手に黙り込んでいる。そこへハコブくんがスッと来る。久美子さんはハコブくんにリモコンを向けて、カチカチ押す。あらやだ、全然チャンネル変わらないわねぇ。？？？。戸口の大城さんが笑う。森田さん、それテレビじゃないのよ…。</p><p></p><p>■ 人は知っている物に当てはめて見る<br><a href="https://pure.psu.edu/en/publications/mental-models-of-robots-among-senior-citizens-an-interview-study--2/">高齢者45人へのインタビュー調査（ペンシルベニア州立大学）</a>では、ロボットについての思い描き方は、最近使った通信機器やメディアで見たロボットの姿から作られていた。</p><p></p><p>■ 結論：見慣れた形は、見慣れた使い方を呼ぶ<br>画面と台があれば、人はテレビだと思う。ロボットの形を決めるときは、何に見えるか、どう使えそうに見えるかまで確かめる。</p>',
 "2026-11-23T02:10:00.000Z"))
E.append(en(8, "A Familiar Shape Invites a Familiar Use",
 "In a hospital room, Mrs. Morita points the remote not at the TV but at Hakobukun. Click, click. \"The channel won't change.\" A screen on a stand looks like a TV. A manga on what a robot's shape invites people to do.",
 "Episode 8 cover: It's not a TV. Hakobukun is puzzled as a remote is pointed at it",
 ["Mrs. Morita sits silently in bed holding a remote", "Hakobukun glides up beside her", "Mrs. Morita points the remote at Hakobukun and clicks", "Hakobukun is puzzled as Nurse Oshiro laughs at the door"],
 '<p>■ A screen looks like a TV<br>In a hospital room, Mrs. Morita sits in bed with a remote in her hand. Hakobukun glides over. She points the remote at it and clicks. "Oh my, the channel won\'t change at all." "???" Nurse Oshiro laughs at the door. "Mrs. Morita, that\'s not a TV…"</p><p></p><p>■ People read new things through things they know<br>In <a href="https://pure.psu.edu/en/publications/mental-models-of-robots-among-senior-citizens-an-interview-study--2/">an interview study of 45 senior citizens (Penn State)</a>, their ideas of robots were shaped by recent experiences with communication technologies and by robots in popular culture.</p><p></p><p>■ Conclusion: A familiar shape invites a familiar use<br>A screen on a stand looks like a TV. When choosing a robot\'s shape, check what it looks like and how people will expect to use it.</p>',
 "2026-11-23T02:11:00.000Z"))
J.append(ja(36, "練習の部屋は、スマホで撮って作れる",
 "どこで練習したのとハコブくんが聞くと、ツカムくんはノートパソコンを指した。画面の中には、スマホで撮って写した同じ部屋。そこで何度も失敗して、現実では一度でつかむ。R2R2R の考え方を描く4コマ漫画、第36話。",
 "第36話 なぜスマホから始まるのかの表紙。ノートパソコンに映った同じ部屋を見るハコブくんとツカムくん",
 ["どこで練習したのか聞くハコブくんと、作業台のツカムくん", "ノートパソコンの画面に、同じ部屋と同じ台が映っている", "画面の中のツカムくんが、積み木を何度も落とす", "現実のツカムくんが、積み木を一度でつかむ"],
 '<p>■ 練習した場所は、画面の中<br>ツカムクンッテ、ドコデ練習シタノ？ ツカムくんはノートパソコンを指す。画面には、この部屋とそっくりの部屋と台。コレ、ココ？ スマホで撮って、部屋ごと写した。画面の中のツカムくんは、積み木を何度も落とす。失敗バッカリ…。画面の中なら、壊れない。</p><p></p><p>■ スマホの映像からロボットの練習データを作る<br><a href="https://arxiv.org/abs/2505.09601">Real2Render2Real（カリフォルニア大学バークレー校ほか、2025年）</a>は、スマホで撮った物の3Dスキャンと、人が1回やって見せた動画から、ロボットの練習データを何千通りも作る。ロボットの実機も、物理の計算も使わない。</p><p></p><p>■ 結論：練習の部屋は、スマホで撮って作れる<br>現実のツカムくんは、積み木を一度でつかむ。スマホカラ始メレバ、誰デモ練習ノ部屋ガ作レル。まず、撮るところから。</p>',
 "2026-11-23T02:12:00.000Z"))
E.append(en(36, "Build a Practice Room With a Phone Camera",
 "Hakobukun asks where Tsukamukun practiced. Tsukamukun points to a laptop: inside is the same room, copied from phone photos. It fails there again and again, then grabs the block on its first real try.",
 "Episode 36 cover: Start with a phone. Hakobukun and Tsukamukun look at the same room on a laptop",
 ["Hakobukun asks Tsukamukun on its work table where it practiced", "The laptop screen shows the same room and the same table", "On screen, the digital Tsukamukun drops blocks again and again", "The real Tsukamukun grabs the block on the first try"],
 '<p>■ It practiced inside the screen<br>"Tsukamu, where did you practice?" Tsukamukun points to the laptop. On the screen is a room just like this one. "Is this… here?" "I took photos with a phone and copied the whole room." On screen, the digital Tsukamukun drops the blocks again and again. "All failures…" "Inside the screen, nothing breaks."</p><p></p><p>■ Robot training data from phone footage<br><a href="https://arxiv.org/abs/2505.09601">Real2Render2Real (UC Berkeley and others, 2025)</a> takes a smartphone scan of objects and one video of a person doing the task, and generates thousands of robot training demonstrations without robot hardware or physics simulation.</p><p></p><p>■ Conclusion: Build a practice room with a phone camera<br>The real Tsukamukun grabs the block on its first try. "Start with a phone, and anyone can build a practice room." "First, take the photos."</p>',
 "2026-11-23T02:13:00.000Z"))
J.append(ja(158, "線の上なら迷わないが、線を空ける手間が増える",
 "迷わないように、床に貼った線の上だけを走らせることにしたハコブくん。ところが線の上にワゴンが置かれると、横が空いていても進めない。決まった道を走らせる代わりに増える手間を描く4コマ漫画、第158話。",
 "第158話 線の上の表紙。線の上のワゴンの前で止まるハコブくんと、腰に手を当てる寺島さん",
 ["床に黒い線を貼る槙原さん", "線の上に置かれたワゴンの前で止まるハコブくんと、電話中の寺島さん", "横が空いていても進めないハコブくんと、あきれる寺島さん", "線の上に物を置かないよう貼り紙をする槙原さんと、苦笑いの寺島さん"],
 '<p>■ 線の上しか走れない<br>槙原さんが床に線を貼る。この線の上だけ走らせれば、迷いません。次の日、寺島さんが電話の間、線の上に空のワゴンを置いた。線ノ上ニ、物ガアリマス。横は空いている。よければいいじゃない。線ノ外ハ、走レマセン。</p><p></p><p>■ 床の線で導く方式の弱み<br><a href="https://www.control.eee.dendai.ac.jp/study2.pdf">東京電機大学の研究室の資料（PDF）</a>は、床の磁気テープで導く無人搬送車について、レイアウトの変更や障害物への対応が難しいと説明している。</p><p></p><p>■ 結論：線の上なら迷わないが、線を空ける手間が増える<br>槙原さんは、線の上に物を置かないよう貼り紙をした。迷わない代わりに、線を空けておく仕事が私たちに来たのね。その仕事も、数に入れて選びます。</p>',
 "2026-11-23T02:14:00.000Z"))
E.append(en(158, "Following a Line Means Keeping the Line Clear",
 "To keep Hakobukun from getting lost, it now runs only on a line taped to the floor. But when a wagon is left on the line, it cannot move, even with room to go around. A manga on the extra work a fixed path creates.",
 "Episode 158 cover: Only on the line. Hakobukun stops before a wagon on the line as Nurse Terashima stands with a hand on her hip",
 ["Makihara tapes a black line on the floor", "Hakobukun stops before a wagon left on the line while Terashima is on the phone", "Hakobukun cannot go around even with space beside it; Terashima is exasperated", "Makihara puts up a notice to keep the line clear as Terashima smiles wryly"],
 '<p>■ It can only run on the line<br>Makihara tapes a line on the floor. "If it only runs on this line, it won\'t get lost." The next day, Terashima leaves an empty wagon on the line during a call. "Something is on the line." There is room beside it. "Just go around it!" "I can\'t run off the line."</p><p></p><p>■ The weak spot of floor-guided robots<br><a href="https://www.control.eee.dendai.ac.jp/study2.pdf">Material from a lab at Tokyo Denki University (PDF, Japanese)</a> explains that vehicles guided by magnetic tape on the floor have trouble with layout changes and obstacles.</p><p></p><p>■ Conclusion: Following a line means keeping the line clear<br>Makihara puts up a notice not to leave things on the line. "So keeping the line clear became our job." "I\'ll count that work too when we choose."</p>',
 "2026-11-23T02:15:00.000Z"))
J.append(ja(159, "近づいたら知らせる仕組みで、操作する人の手を空ける",
 "外来の受付に立つピカリくん。操作する人は、案内しながら書類も片付けるつもりだった。でも、いつ人が来るか分からず、一日じゅう画面の番に。待つ時間の使い方を描く4コマ漫画、第159話。",
 "第159話 画面ばかり見てしまうの表紙。受付で待つピカリくんと、ペンが止まった操作する人の手",
 ["受付で待つピカリくんと、窓口の寺島さん。小窓には書類の山の前の操作する人", "ロビーを見張るピカリくん。小窓では、ペンが紙の上で止まっている", "夕方のロビーで、寺島さんとピカリくん。小窓では、白紙の前で肩を落とす操作する人", "呼ばれたら戻ると告げるピカリくん。小窓では、書類を書き進める手"],
 '<p>■ 画面から目が離せない<br>外来の受付に立つピカリくん。操作する人は、案内しながら、書類も片付けちゃおう、と思っていた。でもペンが止まる。…今、誰か来た？ 夕方。今日、ピカリくん暇そうだったね。一日、画面の番をしてただけ…。</p><p></p><p>■ 1人で何台も受け持つ<br><a href="https://aismiley.co.jp/ai_news/ai-lab-robot-15/">サイバーエージェントの AI Lab の実証（2026年）</a>では、大型商業施設に15体の接客アバターを置き、ふだんは自律で動かして、1人のオペレーターがまとめて遠隔で受け持った。</p><p></p><p>■ 結論：近づいたら知らせる仕組みで、操作する人の手を空ける<br>次の週から、人がピカリくんに近づくと操作する人に音が届き、回線が切れたら窓口のランプが光るようにした。呼バレタラ、スグ戻リマス。</p>',
 "2026-11-23T02:16:00.000Z", v2c=True))
E.append(en(159, "Free the Operator's Hands With an Alert When Someone Comes",
 "Pikarikun stands at outpatient reception. Its operator planned to do paperwork while guiding. But with no way to know when someone will come, she ends up watching the screen all day.",
 "Episode 159 cover: Watching the screen. Pikarikun waits at reception as the operator's pen stays frozen",
 ["Pikarikun waits at reception beside Nurse Terashima; in the inset, the operator faces a stack of papers", "Pikarikun watches the lobby; in the inset, the pen stays frozen above the paper", "Terashima and Pikarikun in the evening lobby; in the inset, the operator slumps over blank papers", "Pikarikun says it will be right back when called; in the inset, a hand writes quickly"],
 '<p>■ Can\'t look away from the screen<br>Pikarikun stands at outpatient reception. Its operator thinks, "I\'ll clear the paperwork while I guide." But the pen stops. "…Did someone come?" In the evening: "Pikari looked bored today." "I just watched the screen all day…"</p><p></p><p>■ One operator for many robots<br>In <a href="https://aismiley.co.jp/ai_news/ai-lab-robot-15/">a 2026 trial by CyberAgent\'s AI Lab (Japanese)</a>, 15 customer-service avatars were placed in a large shopping complex, ran autonomously, and were overseen remotely by a single operator.</p><p></p><p>■ Conclusion: Free the operator\'s hands with an alert when someone comes<br>From the next week, a sound reaches the operator when someone approaches Pikarikun, and a lamp lights at the counter if the connection drops. "If you call me, I\'ll be right back."</p>',
 "2026-11-23T02:17:00.000Z", v2c=True))
J.append(ja(160, "受け取りに出る手間まで、運ぶ仕事に数える",
 "検体を届けたハコブくん。でも検査室の槙原さんは、そのたびに手袋を外して廊下へ取りに出る。本番なら一日に何十回。届いた先の受け取りまでを描く4コマ漫画、第160話。",
 "第160話 取りに出るの表紙。壁の受け渡し口から検体を受け取るツカムくんと、伸びをする槙原さん",
 ["廊下で検体を届けたと告げるハコブくんと、扉の奥の槙原さん", "手袋を外して廊下に出て、ハコブくんの引き出しから検体を取る槙原さん", "鳴る機械と廊下の間を走る槙原さんと、待ちぼうけのツカムくん", "壁の受け渡し口から検体を受け取るツカムくんと、椅子で伸びをする槙原さん"],
 '<p>■ 届いても、取りに出る<br>模擬の検体で配送を試す検査室。廊下でハコブくんが止まる。検体ヲ、オ届ケシマシタ。槙原さんは手袋を外して廊下に出て、引き出しから容器を取る。本番だと、これが1日に何十回…。次の到着の知らせと、機械の呼び出し音が重なる。</p><p></p><p>■ 受け取りの手間を減らす作り<br><a href="https://www.panasonic.com/jp/company/ppe/hospitrail.html">パナソニックの搬送ロボット HOSPI Trail</a>は、導入した病院の要望から、搬送先でカートを切り離して置いていく形を作った。</p><p></p><p>■ 結論：受け取りに出る手間まで、運ぶ仕事に数える<br>壁に、指を守るふた付きの受け渡し口を付けた。止まったハコブくんから、中のツカムくんが容器を受け取る。中マデ、届キマシタ。出なくていいって、いいな。</p>',
 "2026-11-23T02:18:00.000Z"))
E.append(en(160, "Count Going Out to Collect as Part of the Delivery",
 "Hakobukun delivers samples. But each time, Makihara in the lab takes off his gloves and goes out to the corridor to collect them. In real use, dozens of times a day.",
 "Episode 160 cover: Going out to get it. Tsukamukun takes a sample through a wall hatch as Makihara stretches",
 ["Hakobukun announces the delivery in the corridor; Makihara works inside", "Makihara takes off his gloves and takes the sample from Hakobukun's drawer", "Makihara runs between a beeping analyzer and the corridor while Tsukamukun waits", "Tsukamukun takes the sample through a wall hatch as Makihara stretches on a stool"],
 '<p>■ Delivered, but someone still has to go out<br>The lab is testing deliveries with mock samples. Hakobukun stops in the corridor. "Samples delivered." Makihara takes off his gloves, goes out, and takes the container from the drawer. "In real use, this is dozens of times a day…" The next arrival notice overlaps with the analyzer\'s alarm.</p><p></p><p>■ Designing to cut the receiving work<br><a href="https://www.panasonic.com/jp/company/ppe/hospitrail.html">Panasonic\'s HOSPI Trail delivery robot (Japanese)</a> was built from hospital requests to detach and leave its cart at the destination.</p><p></p><p>■ Conclusion: Count going out to collect as part of the delivery<br>A pass-through hatch with a finger-safe cover is built into the wall. Tsukamukun takes the container from the stopped Hakobukun. "All the way inside." "Not having to go out—nice."</p>',
 "2026-11-23T02:19:00.000Z"))

for d in J: json.dump(d, open(f'src/data/manga/{d["slug"]}.json', 'w'), ensure_ascii=False)
for d in E: json.dump(d, open(f'src/data/english/{d["slug"]}.json', 'w'), ensure_ascii=False)
CK = ['slug', 'title', 'label', 'character', 'description', 'published', 'cover', 'comic', 'cover_alt', 'comic_alt']
for fn, L in [('src/data/mangaCards.json', J), ('src/data/englishCards.json', E)]:
    cards = json.load(open(fn)); have = {c['slug'] for c in cards}
    new = [{k: d[k] for k in CK} for d in sorted(L, key=lambda x: x['published'], reverse=True) if d['slug'] not in have]
    open(fn, 'w').write(json.dumps(new + cards, ensure_ascii=False, indent=0) + "\n")
print('ok')
```

### SNS の投稿文と予約（sns158.py）

#### sns158.py

```python
import json
U = "https://pixelstomotors.com/manga/"; UE = "https://pixelstomotors.com/english-4-koma/"
D = {
 "ep08": dict(n=8, title="第8話 最新鋭と最年長", te="A Familiar Shape Invites a Familiar Use", yt="リモコンでロボットのチャンネルを変えようとした #病院 #ロボット", short="第8話 最新鋭と最年長",
  x="病室のおばあちゃんが、ロボットにリモコンを向けてカチカチ。\n\n「あらやだ、全然チャンネル変わらないわねぇ」\n4コマ『ハコブくん』第8話\n",
  li="病室のベッドで、森田久美子さんがリモコンを手に黙り込んでいる。そこへハコブくんがスッと来る。久美子さんはハコブくんにリモコンを向けて、カチカチ。「あらやだ、全然チャンネル変わらないわねぇ」。病院で物を運ぶロボット、ハコブくんの4コママンガ（フィクション）の第8話だよ。\n\n高齢者45人へのインタビュー調査（ペンシルベニア州立大学）では、ロボットについての思い描き方は、最近使った通信機器や、メディアで見たロボットの姿から作られていた。人は、新しい物を知っている物に当てはめて見る。画面と台がそろっていれば、それはテレビに見える。\n\nロボットの形を決めるとき、何に見えるか、どう使えそうに見えるかまで確かめていますか？\n\n",
  fb="ロボットにリモコンを向けて「チャンネル変わらないわねぇ」。画面があれば、テレビに見えるよね。\n\n見慣れた形は、見慣れた使い方を呼ぶ、という話を描いたよ。\n\n",
  xen="She points the remote at the robot. Click, click.\n\"Oh my, the channel won't change at all.\"\n\nHakobukun · Ep. 8\n#webcomic #robotics",
  alts=["Mrs. Morita sits silently in bed holding a remote.", "Hakobukun glides up beside her.", "Mrs. Morita points the remote at Hakobukun and clicks.", "Hakobukun is puzzled as Nurse Oshiro laughs at the door."],
  xs="ロボットにリモコンを向けて、カチカチ。\n\n画面があればテレビに見える 4コマ『ハコブくん』のショート\n\n{url}\n#病院 #ロボット"),
 "ep36": dict(n=36, title="第36話 なぜスマホから始まるのか", te="Build a Practice Room With a Phone Camera", yt="ロボットアームはどこで練習した？ #ロボット #デジタルツイン", short="第36話 スマホで撮った部屋",
  x="ロボットアームはどこで練習した？\n\n答えは、スマホで撮って画面の中に写した、同じ部屋。\n4コマ『ハコブくん』第36話\n",
  li="「ツカムクンッテ、ドコデ練習シタノ？」。ハコブくんが聞くと、ロボットアームのツカムくんはノートパソコンを指す。画面の中には、スマホで撮って写した、この部屋とそっくりの部屋。そこで積み木を何度も落として、現実では一度でつかむ。ハコブくんの4コママンガ（フィクション）の第36話だよ。\n\n元にしたのは Real2Render2Real（カリフォルニア大学バークレー校ほか、2025年）。スマホで撮った物の3Dスキャンと、人が1回やって見せた動画から、ロボットの練習データを何千通りも作る。ロボットの実機も、物理の計算も使わない。私が続けている R2R2R も、ここから始まっている。\n\n練習の部屋は、スマホで撮るところから作れる。あなたなら、最初に何を撮りますか？\n\n",
  fb="ロボットアームの練習場所は、スマホで撮って写した画面の中の部屋。そこなら何度落としても壊れない。\n\n練習の部屋は、撮るところから作れる、という話を描いたよ。\n\n",
  xen="\"Where did you practice?\"\nIn a copy of this room, made from phone photos.\nInside the screen, nothing breaks.\n\nHakobukun · Ep. 36\n#webcomic #robotics",
  alts=["Hakobukun asks Tsukamukun on its work table where it practiced.", "The laptop screen shows the same room and the same table.", "On screen, the digital Tsukamukun drops blocks again and again.", "The real Tsukamukun grabs the block on the first try."],
  xs="ロボットアームの練習場所は、スマホで撮った画面の中の部屋。\n\n何度落としても壊れない 4コマ『ハコブくん』のショート\n\n{url}\n#ロボット #デジタルツイン"),
 "ep158": dict(n=158, title="第158話 線の上", te="Following a Line Means Keeping the Line Clear", yt="床の線の上しか走れないロボット #病院 #ロボット", short="第158話 線の上",
  x="迷わないように、床の線の上だけを走るロボット。\n\n線の上にワゴンが一台。横は空いているのに「線ノ外ハ、走レマセン」。\n4コマ『ハコブくん』第158話\n",
  li="槙原さんが床に線を貼る。「この線の上だけ走らせれば、迷いません」。次の日、寺島さんが電話の間、線の上に空のワゴンを置いた。横は空いている。「よければいいじゃない」。ハコブくん「線ノ外ハ、走レマセン」。病院で物を運ぶロボット、ハコブくんの4コママンガ（フィクション）の第158話だよ。\n\n床の磁気テープで導く無人搬送車は、レイアウトの変更や障害物への対応が難しい、と東京電機大学の研究室の資料は説明している。決まった道を走らせれば迷わない。その代わり、道を空けておく手間が現場に増える。\n\n寺島さん「迷わない代わりに、線を空けておく仕事が私たちに来たのね」。槙原さん「その仕事も、数に入れて選びます」。\n\nロボットを選ぶとき、現場に増える手間まで数えていますか？\n\n",
  fb="線の上しか走れないロボット。ワゴン一台で、もう進めない。\n\n迷わない代わりに、線を空けておく手間が増える、という話を描いたよ。\n\n",
  xen="It runs only on the line, so it never gets lost.\nThen someone leaves a wagon on the line.\n\"I can't run off the line.\"\n\nHakobukun · Ep. 158\n#webcomic #robotics",
  alts=["Makihara tapes a black line on the floor.", "Hakobukun stops before a wagon left on the line while Terashima is on the phone.", "Hakobukun cannot go around even with space beside it; Terashima is exasperated.", "Makihara puts up a notice to keep the line clear as Terashima smiles wryly."],
  xs="線の上にワゴンが一台。横は空いているのに、進めない。\n\n線の上しか走れないロボットの 4コマ『ハコブくん』のショート\n\n{url}\n#病院 #ロボット"),
 "ep159": dict(n=159, title="第159話 画面ばかり見てしまう", te="Free the Operator's Hands With an Alert When Someone Comes", yt="遠隔操作ロボットの中の人は、画面から目が離せない #アバター #ロボット", short="第159話 画面の番",
  x="遠隔操作で受付に立つロボット。中の人は、案内しながら書類も片付けるつもりだった。\n\n夕方、書類は白紙のまま。「一日、画面の番をしてただけ…」\n4コマ『ハコブくん』第159話\n",
  li="外来の受付に立つ遠隔操作ロボットのピカリくん。操作する人は「案内しながら、書類も片付けちゃおう」と思っていた。でも、いつ人が来るか分からない。ペンが止まる。「…今、誰か来た？」。夕方、書類は白紙のまま。「一日、画面の番をしてただけ…」。ハコブくんの4コママンガ（フィクション）の第159話だよ。\n\nサイバーエージェントの AI Lab の実証（2026年）では、大型商業施設に15体の接客アバターを置き、ふだんは自律で動かして、1人のオペレーターがまとめて遠隔で受け持った。来るかもしれない人を待ち続けると、操作する人の手は止まる。\n\nマンガでは次の週から、人が近づくと操作する人に音が届き、回線が切れたら窓口のランプが光るようにした。\n\n遠隔操作のロボットの待ち時間、あなたの現場では誰が見ていますか？\n\n",
  fb="遠隔操作ロボットの中の人、来るかもしれない人を待って、一日じゅう画面の番。\n\n近づいたら知らせる仕組みで、手を空ける、という話を描いたよ。\n\n",
  xen="She planned to do paperwork while guiding remotely.\nBy evening, the forms were still blank.\n\"I just watched the screen all day…\"\n\nHakobukun · Ep. 159\n#webcomic #robotics",
  alts=["Pikarikun waits at reception beside Nurse Terashima; in the inset, the operator faces a stack of papers.", "Pikarikun watches the lobby; in the inset, the pen stays frozen above the paper.", "Terashima and Pikarikun in the evening lobby; in the inset, the operator slumps over blank papers.", "Pikarikun says it will be right back when called; in the inset, a hand writes quickly."],
  xs="遠隔操作ロボットの中の人は、画面から目が離せない。\n\n来るかもしれない人を待ち続ける 4コマ『ハコブくん』のショート\n\n{url}\n#アバター #ロボット"),
 "ep160": dict(n=160, title="第160話 取りに出る", te="Count Going Out to Collect as Part of the Delivery", yt="ロボットが届けても、取りに出るのは人 #病院 #ロボット", short="第160話 取りに出る",
  x="検体を届けるロボット。\n\nでも受け取る人は、そのたびに手袋を外して廊下へ。本番なら1日に何十回。\n4コマ『ハコブくん』第160話\n",
  li="廊下でハコブくんが止まる。「検体ヲ、オ届ケシマシタ」。検査室の槙原さんは手袋を外して廊下に出て、引き出しから容器を取る。「本番だと、これが1日に何十回…」。次の到着の知らせと、機械の呼び出し音が重なる。病院で物を運ぶロボット、ハコブくんの4コママンガ（フィクション）の第160話だよ。\n\nパナソニックの搬送ロボット HOSPI Trail は、導入した病院の要望から、搬送先でカートを切り離して置いていく形を作った。運ぶ仕事は、届いた先で受け取るところまで続いている。\n\nマンガでは、壁に指を守るふた付きの受け渡し口を付けて、中のロボットアームが受け取る。槙原さん「出なくていいって、いいな」。\n\nロボットの効果を数えるとき、受け取りの手間まで入れていますか？\n\n",
  fb="ロボットが届けても、取りに出るのは人。それが1日に何十回。\n\n受け取りに出る手間まで、運ぶ仕事に数える、という話を描いたよ。\n\n",
  xen="The robot delivers the samples.\nThen he takes off his gloves and goes out to get them.\nDozens of times a day.\n\nHakobukun · Ep. 160\n#webcomic #robotics",
  alts=["Hakobukun announces the delivery in the corridor; Makihara works inside.", "Makihara takes off his gloves and takes the sample from Hakobukun's drawer.", "Makihara runs between a beeping analyzer and the corridor while Tsukamukun waits.", "Tsukamukun takes the sample through a wall hatch as Makihara stretches on a stool."],
  xs="ロボットが届けても、取りに出るのは人。\n\n受け取りの手間を描く 4コマ『ハコブくん』のショート\n\n{url}\n#病院 #ロボット"),
}
S = json.load(open('sns/schedule.json'))
days = {"ep158": "2027-01-22", "ep159": "2027-01-23", "ep160": "2027-01-24", "ep08": "2027-01-25", "ep36": "2027-01-26"}
for slug, d in D.items():
    n = d["n"]; url = U + slug
    m = {"meta": {"episode": n, "date": "2026-11-23", "title": d["title"], "url": url, "title_en": f"Episode {n} {d['te']}", "url_en": UE + slug},
         "posts": {"x": d["x"] + url, "linkedin": d["li"] + url, "facebook": d["fb"] + url, "x_en": d["xen"],
                   "x_en_images": [f"/media/manga_ep{n}en_p{k}_enw.webp" for k in range(1, 5)], "x_en_alts": d["alts"],
                   "x_en_reply": f"Read it with the design note behind the gag: {UE + slug}"}}
    json.dump(m, open(f"sns/MANGA_{slug}_sns_posts.json", "w"), ensure_ascii=False, indent=1)
    s = {"meta": {"kind": "youtube_short", "episode": n, "title": "ショート " + d["short"], "youtube_title": d["yt"], "manga_url": url},
         "posts": {"x_template": d["xs"]},
         "note": "YouTube のショートの X 投稿。url と posts.x は tools/sync_youtube_shorts.py が YouTube の公開予約を見て入れる。縦長4コマ（2026-11-23）"}
    json.dump(s, open(f"sns/SHORT_{slug}_sns_posts.json", "w"), ensure_ascii=False, indent=2)
    if not any(p["id"] == f"MANGA_{slug}-x" for p in S["posts"]):
        S["posts"].append({"id": f"MANGA_{slug}-x", "source": f"sns/MANGA_{slug}_sns_posts.json", "platform": "x", "post_at": days[slug] + "T19:30:00+09:00"})
open('sns/schedule.json', 'w').write(json.dumps(S, ensure_ascii=False, indent=2) + "\n")
print("ok")
```

### カテゴリの分け方（map.py と mangaCategories.json）

#### map.py

```python
M = {
"受け入れ・頼みやすさ": "157 156 149 101 94 76 78 82 81 75 64 59 49 42 31 28 29 27 09 33 16 26 34 10 05 01 08",
"廊下・動線と安全": "146 144 143 142 141 139 138 137 136 135 134 131 127 126 125 107 106 105 85 71 67 63 74 57 03 18 12",
"知らせ方・声と表示": "153 151 145 100 99 97 96 73 121 90 87 83 79 69 61 50 56 48 47 46 44 43 23 07 17 14 02",
"導入と効果の測り方": "155 154 152 150 148 147 133 129 128 124 80 66 58 60 11 30 158 160",
"AIの判断とデータの扱い": "140 132 95 93 122 120 92 91 98 89 88 86 84 77 51 62 72 68 65 52 53 45 55 41 24 22 21 20 19 25 15 13 06 04",
"ロボットの作り方（ツカムくん）": "130 103 102 104 39 40 38 37 70 35 36",
"アバター（ピカリくん）": "123 118 117 116 115 114 113 112 111 110 109 108 159",
}
```

#### mangaCategories.json

```json
{
 "categories": [
  "受け入れ・頼みやすさ",
  "廊下・動線と安全",
  "知らせ方・声と表示",
  "導入と効果の測り方",
  "AIの判断とデータの扱い",
  "ロボットの作り方（ツカムくん）",
  "アバター（ピカリくん）"
 ],
 "bySlug": {
  "ep01": "受け入れ・頼みやすさ",
  "ep02": "知らせ方・声と表示",
  "ep03": "廊下・動線と安全",
  "ep04": "AIの判断とデータの扱い",
  "ep05": "受け入れ・頼みやすさ",
  "ep06": "AIの判断とデータの扱い",
  "ep07": "知らせ方・声と表示",
  "ep08": "受け入れ・頼みやすさ",
  "ep09": "受け入れ・頼みやすさ",
  "ep10": "受け入れ・頼みやすさ",
  "ep100": "知らせ方・声と表示",
  "ep101": "受け入れ・頼みやすさ",
  "ep102": "ロボットの作り方（ツカムくん）",
  "ep103": "ロボットの作り方（ツカムくん）",
  "ep104": "ロボットの作り方（ツカムくん）",
  "ep105": "廊下・動線と安全",
  "ep106": "廊下・動線と安全",
  "ep107": "廊下・動線と安全",
  "ep108": "アバター（ピカリくん）",
  "ep109": "アバター（ピカリくん）",
  "ep11": "導入と効果の測り方",
  "ep110": "アバター（ピカリくん）",
  "ep111": "アバター（ピカリくん）",
  "ep112": "アバター（ピカリくん）",
  "ep113": "アバター（ピカリくん）",
  "ep114": "アバター（ピカリくん）",
  "ep115": "アバター（ピカリくん）",
  "ep116": "アバター（ピカリくん）",
  "ep117": "アバター（ピカリくん）",
  "ep118": "アバター（ピカリくん）",
  "ep12": "廊下・動線と安全",
  "ep120": "AIの判断とデータの扱い",
  "ep121": "知らせ方・声と表示",
  "ep122": "AIの判断とデータの扱い",
  "ep123": "アバター（ピカリくん）",
  "ep124": "導入と効果の測り方",
  "ep125": "廊下・動線と安全",
  "ep126": "廊下・動線と安全",
  "ep127": "廊下・動線と安全",
  "ep128": "導入と効果の測り方",
  "ep129": "導入と効果の測り方",
  "ep13": "AIの判断とデータの扱い",
  "ep130": "ロボットの作り方（ツカムくん）",
  "ep131": "廊下・動線と安全",
  "ep132": "AIの判断とデータの扱い",
  "ep133": "導入と効果の測り方",
  "ep134": "廊下・動線と安全",
  "ep135": "廊下・動線と安全",
  "ep136": "廊下・動線と安全",
  "ep137": "廊下・動線と安全",
  "ep138": "廊下・動線と安全",
  "ep139": "廊下・動線と安全",
  "ep14": "知らせ方・声と表示",
  "ep140": "AIの判断とデータの扱い",
  "ep141": "廊下・動線と安全",
  "ep142": "廊下・動線と安全",
  "ep143": "廊下・動線と安全",
  "ep144": "廊下・動線と安全",
  "ep145": "知らせ方・声と表示",
  "ep146": "廊下・動線と安全",
  "ep147": "導入と効果の測り方",
  "ep148": "導入と効果の測り方",
  "ep149": "受け入れ・頼みやすさ",
  "ep15": "AIの判断とデータの扱い",
  "ep150": "導入と効果の測り方",
  "ep151": "知らせ方・声と表示",
  "ep152": "導入と効果の測り方",
  "ep153": "知らせ方・声と表示",
  "ep154": "導入と効果の測り方",
  "ep155": "導入と効果の測り方",
  "ep156": "受け入れ・頼みやすさ",
  "ep157": "受け入れ・頼みやすさ",
  "ep158": "導入と効果の測り方",
  "ep159": "アバター（ピカリくん）",
  "ep16": "受け入れ・頼みやすさ",
  "ep160": "導入と効果の測り方",
  "ep17": "知らせ方・声と表示",
  "ep18": "廊下・動線と安全",
  "ep19": "AIの判断とデータの扱い",
  "ep20": "AIの判断とデータの扱い",
  "ep21": "AIの判断とデータの扱い",
  "ep22": "AIの判断とデータの扱い",
  "ep23": "知らせ方・声と表示",
  "ep24": "AIの判断とデータの扱い",
  "ep25": "AIの判断とデータの扱い",
  "ep26": "受け入れ・頼みやすさ",
  "ep27": "受け入れ・頼みやすさ",
  "ep28": "受け入れ・頼みやすさ",
  "ep29": "受け入れ・頼みやすさ",
  "ep30": "導入と効果の測り方",
  "ep31": "受け入れ・頼みやすさ",
  "ep33": "受け入れ・頼みやすさ",
  "ep34": "受け入れ・頼みやすさ",
  "ep35": "ロボットの作り方（ツカムくん）",
  "ep36": "ロボットの作り方（ツカムくん）",
  "ep37": "ロボットの作り方（ツカムくん）",
  "ep38": "ロボットの作り方（ツカムくん）",
  "ep39": "ロボットの作り方（ツカムくん）",
  "ep40": "ロボットの作り方（ツカムくん）",
  "ep41": "AIの判断とデータの扱い",
  "ep42": "受け入れ・頼みやすさ",
  "ep43": "知らせ方・声と表示",
  "ep44": "知らせ方・声と表示",
  "ep45": "AIの判断とデータの扱い",
  "ep46": "知らせ方・声と表示",
  "ep47": "知らせ方・声と表示",
  "ep48": "知らせ方・声と表示",
  "ep49": "受け入れ・頼みやすさ",
  "ep50": "知らせ方・声と表示",
  "ep51": "AIの判断とデータの扱い",
  "ep52": "AIの判断とデータの扱い",
  "ep53": "AIの判断とデータの扱い",
  "ep55": "AIの判断とデータの扱い",
  "ep56": "知らせ方・声と表示",
  "ep57": "廊下・動線と安全",
  "ep58": "導入と効果の測り方",
  "ep59": "受け入れ・頼みやすさ",
  "ep60": "導入と効果の測り方",
  "ep61": "知らせ方・声と表示",
  "ep62": "AIの判断とデータの扱い",
  "ep63": "廊下・動線と安全",
  "ep64": "受け入れ・頼みやすさ",
  "ep65": "AIの判断とデータの扱い",
  "ep66": "導入と効果の測り方",
  "ep67": "廊下・動線と安全",
  "ep68": "AIの判断とデータの扱い",
  "ep69": "知らせ方・声と表示",
  "ep70": "ロボットの作り方（ツカムくん）",
  "ep71": "廊下・動線と安全",
  "ep72": "AIの判断とデータの扱い",
  "ep73": "知らせ方・声と表示",
  "ep74": "廊下・動線と安全",
  "ep75": "受け入れ・頼みやすさ",
  "ep76": "受け入れ・頼みやすさ",
  "ep77": "AIの判断とデータの扱い",
  "ep78": "受け入れ・頼みやすさ",
  "ep79": "知らせ方・声と表示",
  "ep80": "導入と効果の測り方",
  "ep81": "受け入れ・頼みやすさ",
  "ep82": "受け入れ・頼みやすさ",
  "ep83": "知らせ方・声と表示",
  "ep84": "AIの判断とデータの扱い",
  "ep85": "廊下・動線と安全",
  "ep86": "AIの判断とデータの扱い",
  "ep87": "知らせ方・声と表示",
  "ep88": "AIの判断とデータの扱い",
  "ep89": "AIの判断とデータの扱い",
  "ep90": "知らせ方・声と表示",
  "ep91": "AIの判断とデータの扱い",
  "ep92": "AIの判断とデータの扱い",
  "ep93": "AIの判断とデータの扱い",
  "ep94": "受け入れ・頼みやすさ",
  "ep95": "AIの判断とデータの扱い",
  "ep96": "知らせ方・声と表示",
  "ep97": "知らせ方・声と表示",
  "ep98": "AIの判断とデータの扱い",
  "ep99": "知らせ方・声と表示"
 }
}
```

### 一覧のタブの変更（MangaArchive.astro・LoadMore.astro・MangaCard.astro）

#### tabs.diff

```diff
diff --git a/src/components/LoadMore.astro b/src/components/LoadMore.astro
index 3b0d16f..6efd5b3 100644
--- a/src/components/LoadMore.astro
+++ b/src/components/LoadMore.astro
@@ -13,10 +13,18 @@ const { limit, total, cls = 'grid3', label = 'Load more' } = Astro.props;
     const step = Number(box.dataset.limit) || 12;
     const items = [...box.querySelector('.lm-list')!.children] as HTMLElement[];
     let shown = step;
-    const apply = () => items.forEach((el, i) => { el.hidden = i >= shown; });
-    apply();
     const btn = box.querySelector<HTMLButtonElement>('.btn-load');
-    btn?.addEventListener('click', () => { shown += step; apply(); if (shown >= items.length) btn.parentElement!.remove(); });
+    // data-cat が付いた一覧は、選んだ種類（box.dataset.cat）のカードだけを数えて見せる
+    const apply = () => {
+      const cat = box.dataset.cat || '';
+      const pool = items.filter((el) => !cat || el.dataset.cat === cat);
+      items.forEach((el) => { el.hidden = true; });
+      pool.forEach((el, i) => { el.hidden = i >= shown; });
+      if (btn) btn.parentElement!.hidden = shown >= pool.length;
+    };
+    apply();
+    btn?.addEventListener('click', () => { shown += step; apply(); });
+    box.addEventListener('lm:filter', () => { shown = step; apply(); });
   }
 </script>
 <style is:global>
diff --git a/src/components/MangaArchive.astro b/src/components/MangaArchive.astro
index cbc2a26..838ac25 100644
--- a/src/components/MangaArchive.astro
+++ b/src/components/MangaArchive.astro
@@ -4,9 +4,12 @@ import Base from '../layouts/Base.astro';
 import MangaCard from './MangaCard.astro';
 import LoadMore from './LoadMore.astro';
 import { SITE, SITE_NAME } from '../lib/seo';
+import cats from '../data/mangaCategories.json';
 interface Props { items: any[]; heading: string; other: { href: string; label: string }; base: string; path: string }
 const { items, heading, other, base, path } = Astro.props;
 const isEn = path.endsWith('-en');
+const catOf = (slug: string) => (cats.bySlug as Record<string, string>)[slug.replace(/en$/, '')];
+const tabs = isEn ? [] : cats.categories;
 const title = isEn ? `English 4-Koma Manga Archive | ${SITE_NAME}` : `4コママンガ アーカイブ | ${SITE_NAME}`;
 const description = isEn
   ? 'All episodes of the English 4-panel manga about Hakobu, a hospital drug-delivery robot, and other robots — everyday scenes that show how people and robots get along (or don\'t), with design notes.'
@@ -24,13 +27,31 @@ const jsonLd = {
       <h1 class="sec-h ma-title">{heading}</h1>
       <a class="btn-dark" href={other.href}>{other.label}<i class="ms">arrow_forward</i></a>
     </div>
-    <LoadMore limit={18} total={items.length}>{items.map((m) => <MangaCard item={m} base={base} />)}</LoadMore>
+    {tabs.length > 0 && (
+      <div class="ma-tabs" role="tablist" aria-label="4コマの種類">
+        <button type="button" role="tab" class="ma-tab" aria-selected="true" data-cat="">すべて</button>
+        {tabs.map((t) => <button type="button" role="tab" class="ma-tab" aria-selected="false" data-cat={t}>{t}</button>)}
+      </div>
+    )}
+    <LoadMore limit={18} total={items.length}>{items.map((m) => <MangaCard item={m} base={base} cat={catOf(m.slug)} />)}</LoadMore>
   </div></section>
 </Base>
+<script>
+  const tabs = [...document.querySelectorAll<HTMLButtonElement>('.ma-tab')];
+  const box = document.querySelector<HTMLElement>('.ma .lm');
+  tabs.forEach((t) => t.addEventListener('click', () => {
+    tabs.forEach((x) => x.setAttribute('aria-selected', x === t ? 'true' : 'false'));
+    if (box) { box.dataset.cat = t.dataset.cat || ''; box.dispatchEvent(new Event('lm:filter')); }
+  }));
+</script>
 <style>
   .ma { padding: 88px 80px 40px; }
   .ma-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
   .ma-title { margin: 0; }
+  .ma-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
+  .ma-tab { height: 40px; padding: 0 16px; border: 1px solid var(--dark); border-radius: 4px; background: #fff; color: var(--ink); font: 500 15px/1 var(--sans); cursor: pointer; }
+  .ma-tab[aria-selected="true"] { background: var(--dark); color: #fff; }
+  @media (max-width: 599px) { .ma-tabs { gap: 6px; margin: 0 0 24px; } .ma-tab { flex: 1 1 auto; height: 36px; padding: 0 10px; font-size: 14px; } }
   @media (max-width: 1023px) { .ma { padding: 72px 24px 40px; } }
   @media (max-width: 599px) { .ma { padding: 64px 12px 32px; } .ma-head { flex-direction: column; align-items: flex-start; } }
 </style>
diff --git a/src/components/MangaCard.astro b/src/components/MangaCard.astro
index 31c2d41..171afc3 100644
--- a/src/components/MangaCard.astro
+++ b/src/components/MangaCard.astro
@@ -1,10 +1,10 @@
 ---
 import { ymd } from '../lib/format';
 import { media } from '../lib/media';
-interface Props { item: { slug: string; title: string; label: string; character: string; published: string; cover: string }; base?: string }
-const { item, base = '/manga' } = Astro.props;
+interface Props { item: { slug: string; title: string; label: string; character: string; published: string; cover: string }; base?: string; cat?: string }
+const { item, base = '/manga', cat } = Astro.props;
 ---
-<a class="mcard" href={`${base}/${item.slug}`}>
+<a class="mcard" href={`${base}/${item.slug}`} data-cat={cat}>
   <img src={media(item.cover)} alt={item.title} width="1080" height="1350" loading="lazy" />
   <div class="mc-meta">
     <div class="rline"><span class="mc-label">{item.label}</span><span class="tag">{item.character}</span><span class="date">{ymd(item.published)}</span></div>
```

### Load more を消す直し

#### loadmore.diff

```diff
commit ee021fde7f054f95c258384442e4b33dfa5a5f04
Author: PixelstoMotors <studio@adaptdesign.jp>
Date:   Mon Nov 23 10:43:35 2026 +0900

    一覧の Load more を、出すカードがなくなったら消す
    
    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_01LevEXW9cjZX8wsFzMCCkXD

diff --git a/src/components/LoadMore.astro b/src/components/LoadMore.astro
index 6efd5b3..1c7b5bc 100644
--- a/src/components/LoadMore.astro
+++ b/src/components/LoadMore.astro
@@ -30,5 +30,5 @@ const { limit, total, cls = 'grid3', label = 'Load more' } = Astro.props;
 <style is:global>
   .lm-more { display: flex; justify-content: center; margin-top: 40px; }
   .btn-load { width: 282px; height: 48px; border: 0; border-radius: 4px; background: var(--dark); color: #fff; font: 500 20px/30px var(--sans); cursor: pointer; }
-  .lm-list > [hidden] { display: none !important; }
+  .lm-list > [hidden], .lm-more[hidden] { display: none !important; }
 </style>
```
