{
 "exam_id": "TOYO-E0004",
 "text_family": "readable",
 "generated_at": "2026-10-23T00:21:37+09:00",
 "segmentation_version": 1,
 "coord_system": "PyMuPDF page coords (pt, origin top-left)",
 "page_width": 516.0,
 "problems": [
  {
   "problem_id": "TOYO-E0004-Q01",
   "kind": "major",
   "number": 1,
   "printed": "1",
   "subs": [
    "TOYO-E0004-Q01-S01",
    "TOYO-E0004-Q01-S02",
    "TOYO-E0004-Q01-S03",
    "TOYO-E0004-Q01-S04"
   ],
   "region_ids": [
    "TOYO-E0004-Q01-stem-p03"
   ]
  },
  {
   "problem_id": "TOYO-E0004-Q01-S01",
   "kind": "sub",
   "parent_id": "TOYO-E0004-Q01",
   "number": 1,
   "printed": "(1)",
   "region_ids": [
    "TOYO-E0004-Q01-S01-main-p03"
   ],
   "stem_region_ids": [
    "TOYO-E0004-Q01-stem-p03"
   ]
  },
  {
   "problem_id": "TOYO-E0004-Q01-S02",
   "kind": "sub",
   "parent_id": "TOYO-E0004-Q01",
   "number": 2,
   "printed": "(2)",
   "region_ids": [
    "TOYO-E0004-Q01-S02-main-p03"
   ],
   "stem_region_ids": [
    "TOYO-E0004-Q01-stem-p03"
   ]
  },
  {
   "problem_id": "TOYO-E0004-Q01-S03",
   "kind": "sub",
   "parent_id": "TOYO-E0004-Q01",
   "number": 3,
   "printed": "(3)",
   "region_ids": [
    "TOYO-E0004-Q01-S03-main-p03"
   ],
   "stem_region_ids": [
    "TOYO-E0004-Q01-stem-p03"
   ]
  },
  {
   "problem_id": "TOYO-E0004-Q01-S04",
   "kind": "sub",
   "parent_id": "TOYO-E0004-Q01",
   "number": 4,
   "printed": "(4)",
   "region_ids": [
    "TOYO-E0004-Q01-S04-main-p03"
   ],
   "stem_region_ids": [
    "TOYO-E0004-Q01-stem-p03"
   ]
  },
  {
   "problem_id": "TOYO-E0004-Q02",
   "kind": "major",
   "number": 2,
   "printed": "2",
   "subs": [
    "TOYO-E0004-Q02-S01",
    "TOYO-E0004-Q02-S02",
    "TOYO-E0004-Q02-S03",
    "TOYO-E0004-Q02-S04"
   ],
   "region_ids": [
    "TOYO-E0004-Q02-stem-p01-note",
    "TOYO-E0004-Q02-stem-p04"
   ]
  },
  {
   "problem_id": "TOYO-E0004-Q02-S01",
   "kind": "sub",
   "parent_id": "TOYO-E0004-Q02",
   "number": 1,
   "printed": "(1)",
   "region_ids": [
    "TOYO-E0004-Q02-S01-main-p04"
   ],
   "stem_region_ids": [
    "TOYO-E0004-Q02-stem-p01-note",
    "TOYO-E0004-Q02-stem-p04"
   ]
  },
  {
   "problem_id": "TOYO-E0004-Q02-S02",
   "kind": "sub",
   "parent_id": "TOYO-E0004-Q02",
   "number": 2,
   "printed": "(2)",
   "region_ids": [
    "TOYO-E0004-Q02-S02-main-p04"
   ],
   "stem_region_ids": [
    "TOYO-E0004-Q02-stem-p01-note",
    "TOYO-E0004-Q02-stem-p04"
   ]
  },
  {
   "problem_id": "TOYO-E0004-Q02-S03",
   "kind": "sub",
   "parent_id": "TOYO-E0004-Q02",
   "number": 3,
   "printed": "(3)",
   "region_ids": [
    "TOYO-E0004-Q02-S03-main-p04"
   ],
   "stem_region_ids": [
    "TOYO-E0004-Q02-stem-p01-note",
    "TOYO-E0004-Q02-stem-p04"
   ]
  },
  {
   "problem_id": "TOYO-E0004-Q02-S04",
   "kind": "sub",
   "parent_id": "TOYO-E0004-Q02",
   "number": 4,
   "printed": "(4)",
   "region_ids": [
    "TOYO-E0004-Q02-S04-main-p05"
   ],
   "stem_region_ids": [
    "TOYO-E0004-Q02-stem-p01-note",
    "TOYO-E0004-Q02-stem-p04"
   ]
  },
  {
   "problem_id": "TOYO-E0004-Q03",
   "kind": "major",
   "number": 3,
   "printed": "3",
   "subs": [
    "TOYO-E0004-Q03-S01",
    "TOYO-E0004-Q03-S02"
   ],
   "region_ids": [
    "TOYO-E0004-Q03-stem-p06"
   ]
  },
  {
   "problem_id": "TOYO-E0004-Q03-S01",
   "kind": "sub",
   "parent_id": "TOYO-E0004-Q03",
   "number": 1,
   "printed": "(1)",
   "region_ids": [
    "TOYO-E0004-Q03-S01-main-p06"
   ],
   "stem_region_ids": [
    "TOYO-E0004-Q03-stem-p06"
   ]
  },
  {
   "problem_id": "TOYO-E0004-Q03-S02",
   "kind": "sub",
   "parent_id": "TOYO-E0004-Q03",
   "number": 2,
   "printed": "(2)",
   "region_ids": [
    "TOYO-E0004-Q03-S02-main-p06"
   ],
   "stem_region_ids": [
    "TOYO-E0004-Q03-stem-p06"
   ]
  },
  {
   "problem_id": "TOYO-E0004-Q04",
   "kind": "major",
   "number": 4,
   "printed": "4",
   "subs": [
    "TOYO-E0004-Q04-S01",
    "TOYO-E0004-Q04-S02"
   ],
   "region_ids": [
    "TOYO-E0004-Q04-stem-p01-note",
    "TOYO-E0004-Q04-stem-p07",
    "TOYO-E0004-Q04-stem-p07-fig"
   ]
  },
  {
   "problem_id": "TOYO-E0004-Q04-S01",
   "kind": "sub",
   "parent_id": "TOYO-E0004-Q04",
   "number": 1,
   "printed": "(1)",
   "region_ids": [
    "TOYO-E0004-Q04-S01-main-p07"
   ],
   "stem_region_ids": [
    "TOYO-E0004-Q04-stem-p01-note",
    "TOYO-E0004-Q04-stem-p07",
    "TOYO-E0004-Q04-stem-p07-fig"
   ]
  },
  {
   "problem_id": "TOYO-E0004-Q04-S02",
   "kind": "sub",
   "parent_id": "TOYO-E0004-Q04",
   "number": 2,
   "printed": "(2)",
   "region_ids": [
    "TOYO-E0004-Q04-S02-main-p07"
   ],
   "stem_region_ids": [
    "TOYO-E0004-Q04-stem-p01-note",
    "TOYO-E0004-Q04-stem-p07",
    "TOYO-E0004-Q04-stem-p07-fig"
   ]
  },
  {
   "problem_id": "TOYO-E0004-Q05",
   "kind": "major",
   "number": 5,
   "printed": "5",
   "subs": [
    "TOYO-E0004-Q05-S01",
    "TOYO-E0004-Q05-S02",
    "TOYO-E0004-Q05-S03"
   ],
   "region_ids": [
    "TOYO-E0004-Q05-stem-p08",
    "TOYO-E0004-Q05-stem-p09"
   ]
  },
  {
   "problem_id": "TOYO-E0004-Q05-S01",
   "kind": "sub",
   "parent_id": "TOYO-E0004-Q05",
   "number": 1,
   "printed": "(1)",
   "region_ids": [
    "TOYO-E0004-Q05-S01-main-p09"
   ],
   "stem_region_ids": [
    "TOYO-E0004-Q05-stem-p08",
    "TOYO-E0004-Q05-stem-p09"
   ]
  },
  {
   "problem_id": "TOYO-E0004-Q05-S02",
   "kind": "sub",
   "parent_id": "TOYO-E0004-Q05",
   "number": 2,
   "printed": "(2)",
   "region_ids": [
    "TOYO-E0004-Q05-S02-main-p09"
   ],
   "stem_region_ids": [
    "TOYO-E0004-Q05-stem-p08",
    "TOYO-E0004-Q05-stem-p09"
   ]
  },
  {
   "problem_id": "TOYO-E0004-Q05-S03",
   "kind": "sub",
   "parent_id": "TOYO-E0004-Q05",
   "number": 3,
   "printed": "(3)",
   "region_ids": [
    "TOYO-E0004-Q05-S03-main-p09"
   ],
   "stem_region_ids": [
    "TOYO-E0004-Q05-stem-p08",
    "TOYO-E0004-Q05-stem-p09"
   ]
  },
  {
   "problem_id": "TOYO-E0004-Q06",
   "kind": "major",
   "number": 6,
   "printed": "6",
   "subs": [
    "TOYO-E0004-Q06-S01",
    "TOYO-E0004-Q06-S02",
    "TOYO-E0004-Q06-S03"
   ],
   "region_ids": [
    "TOYO-E0004-Q06-stem-p10",
    "TOYO-E0004-Q06-stem-p10-fig"
   ]
  },
  {
   "problem_id": "TOYO-E0004-Q06-S01",
   "kind": "sub",
   "parent_id": "TOYO-E0004-Q06",
   "number": 1,
   "printed": "(1)",
   "region_ids": [
    "TOYO-E0004-Q06-S01-main-p10"
   ],
   "stem_region_ids": [
    "TOYO-E0004-Q06-stem-p10",
    "TOYO-E0004-Q06-stem-p10-fig"
   ]
  },
  {
   "problem_id": "TOYO-E0004-Q06-S02",
   "kind": "sub",
   "parent_id": "TOYO-E0004-Q06",
   "number": 2,
   "printed": "(2)",
   "region_ids": [
    "TOYO-E0004-Q06-S02-main-p10"
   ],
   "stem_region_ids": [
    "TOYO-E0004-Q06-stem-p10",
    "TOYO-E0004-Q06-stem-p10-fig"
   ]
  },
  {
   "problem_id": "TOYO-E0004-Q06-S03",
   "kind": "sub",
   "parent_id": "TOYO-E0004-Q06",
   "number": 3,
   "printed": "(3)",
   "region_ids": [
    "TOYO-E0004-Q06-S03-main-p11"
   ],
   "stem_region_ids": [
    "TOYO-E0004-Q06-stem-p10",
    "TOYO-E0004-Q06-stem-p10-fig"
   ]
  }
 ],
 "regions": [
  {
   "problem_id": "TOYO-E0004-Q01",
   "role": "stem",
   "page_index": 2,
   "rect": [
    36.55,
    37.55,
    220.9,
    65.55
   ],
   "content_rect": [
    42.55,
    42.55,
    212.9,
    60.55
   ],
   "region_id": "TOYO-E0004-Q01-stem-p03",
   "trivial": true
  },
  {
   "problem_id": "TOYO-E0004-Q01-S01",
   "role": "main",
   "page_index": 2,
   "rect": [
    36.6,
    76.07,
    320.17,
    117.4
   ],
   "content_rect": [
    42.6,
    81.07,
    312.17,
    112.4
   ],
   "region_id": "TOYO-E0004-Q01-S01-main-p03"
  },
  {
   "problem_id": "TOYO-E0004-Q01-S02",
   "role": "main",
   "page_index": 2,
   "rect": [
    36.6,
    165.11,
    474.54,
    224.66
   ],
   "content_rect": [
    42.6,
    170.11,
    466.54,
    219.66
   ],
   "region_id": "TOYO-E0004-Q01-S02-main-p03"
  },
  {
   "problem_id": "TOYO-E0004-Q01-S03",
   "role": "main",
   "page_index": 2,
   "rect": [
    36.6,
    274.22,
    471.18,
    332.66
   ],
   "content_rect": [
    42.6,
    279.22,
    463.18,
    327.66
   ],
   "region_id": "TOYO-E0004-Q01-S03-main-p03"
  },
  {
   "problem_id": "TOYO-E0004-Q01-S04",
   "role": "main",
   "page_index": 2,
   "rect": [
    36.6,
    399.16,
    474.42,
    531.6
   ],
   "content_rect": [
    42.6,
    404.16,
    466.42,
    526.6
   ],
   "region_id": "TOYO-E0004-Q01-S04-main-p03"
  },
  {
   "problem_id": "TOYO-E0004-Q02",
   "role": "stem",
   "page_index": 3,
   "rect": [
    43.3,
    37.05,
    227.86,
    65.05
   ],
   "content_rect": [
    49.3,
    42.05,
    219.86,
    60.05
   ],
   "region_id": "TOYO-E0004-Q02-stem-p04",
   "trivial": true
  },
  {
   "problem_id": "TOYO-E0004-Q02-S01",
   "role": "main",
   "page_index": 3,
   "rect": [
    43.56,
    72.79,
    481.5,
    157.55
   ],
   "content_rect": [
    49.56,
    77.79,
    473.5,
    152.55
   ],
   "region_id": "TOYO-E0004-Q02-S01-main-p04"
  },
  {
   "problem_id": "TOYO-E0004-Q02-S02",
   "role": "main",
   "page_index": 3,
   "rect": [
    43.56,
    277.1,
    481.5,
    318.62
   ],
   "content_rect": [
    49.56,
    282.1,
    473.5,
    313.62
   ],
   "region_id": "TOYO-E0004-Q02-S02-main-p04"
  },
  {
   "problem_id": "TOYO-E0004-Q02-S03",
   "role": "main",
   "page_index": 3,
   "rect": [
    43.56,
    457.12,
    481.5,
    516.67
   ],
   "content_rect": [
    49.56,
    462.12,
    473.5,
    511.67
   ],
   "region_id": "TOYO-E0004-Q02-S03-main-p04"
  },
  {
   "problem_id": "TOYO-E0004-Q02-S04",
   "role": "main",
   "page_index": 4,
   "rect": [
    36.6,
    39.09,
    474.54,
    353.04
   ],
   "content_rect": [
    42.6,
    44.09,
    466.54,
    348.04
   ],
   "region_id": "TOYO-E0004-Q02-S04-main-p05"
  },
  {
   "problem_id": "TOYO-E0004-Q03",
   "role": "stem",
   "page_index": 5,
   "rect": [
    43.05,
    37.55,
    481.62,
    178.55
   ],
   "content_rect": [
    49.05,
    42.55,
    473.62,
    173.55
   ],
   "region_id": "TOYO-E0004-Q03-stem-p06"
  },
  {
   "problem_id": "TOYO-E0004-Q03-S01",
   "role": "main",
   "page_index": 5,
   "rect": [
    43.56,
    225.82,
    481.47,
    272.54
   ],
   "content_rect": [
    49.56,
    230.82,
    473.47,
    267.54
   ],
   "region_id": "TOYO-E0004-Q03-S01-main-p06"
  },
  {
   "problem_id": "TOYO-E0004-Q03-S02",
   "role": "main",
   "page_index": 5,
   "rect": [
    43.56,
    374.08,
    323.79,
    398.25
   ],
   "content_rect": [
    49.56,
    379.08,
    315.79,
    393.25
   ],
   "region_id": "TOYO-E0004-Q03-S02-main-p06"
  },
  {
   "problem_id": "TOYO-E0004-Q04",
   "role": "stem",
   "page_index": 6,
   "rect": [
    37.2,
    38.2,
    480.48,
    117.28
   ],
   "content_rect": [
    43.2,
    43.2,
    472.48,
    112.28
   ],
   "region_id": "TOYO-E0004-Q04-stem-p07"
  },
  {
   "problem_id": "TOYO-E0004-Q04-S01",
   "role": "main",
   "page_index": 6,
   "rect": [
    36.6,
    129.11,
    216.34,
    153.28
   ],
   "content_rect": [
    42.6,
    134.11,
    208.34,
    148.28
   ],
   "region_id": "TOYO-E0004-Q04-S01-main-p07"
  },
  {
   "problem_id": "TOYO-E0004-Q04-S02",
   "role": "main",
   "page_index": 6,
   "rect": [
    36.6,
    201.14,
    428.79,
    225.31
   ],
   "content_rect": [
    42.6,
    206.14,
    420.79,
    220.31
   ],
   "region_id": "TOYO-E0004-Q04-S02-main-p07",
   "manual": true,
   "note": "図を共通部へ分離"
  },
  {
   "problem_id": "TOYO-E0004-Q05",
   "role": "stem",
   "page_index": 7,
   "rect": [
    43.6,
    38.3,
    487.85,
    649.65
   ],
   "content_rect": [
    49.6,
    43.3,
    479.85,
    644.65
   ],
   "region_id": "TOYO-E0004-Q05-stem-p08"
  },
  {
   "problem_id": "TOYO-E0004-Q05",
   "role": "stem",
   "page_index": 8,
   "rect": [
    60.62,
    40.61,
    278.62,
    62.61
   ],
   "content_rect": [
    66.62,
    45.61,
    270.62,
    57.61
   ],
   "region_id": "TOYO-E0004-Q05-stem-p09"
  },
  {
   "problem_id": "TOYO-E0004-Q05-S01",
   "role": "main",
   "page_index": 8,
   "rect": [
    36.6,
    75.11,
    474.54,
    117.28
   ],
   "content_rect": [
    42.6,
    80.11,
    466.54,
    112.28
   ],
   "region_id": "TOYO-E0004-Q05-S01-main-p09"
  },
  {
   "problem_id": "TOYO-E0004-Q05-S02",
   "role": "main",
   "page_index": 8,
   "rect": [
    36.6,
    149.03,
    474.49,
    191.51
   ],
   "content_rect": [
    42.6,
    154.03,
    466.49,
    186.51
   ],
   "region_id": "TOYO-E0004-Q05-S02-main-p09"
  },
  {
   "problem_id": "TOYO-E0004-Q05-S03",
   "role": "main",
   "page_index": 8,
   "rect": [
    36.6,
    223.1,
    480.54,
    265.27
   ],
   "content_rect": [
    42.6,
    228.1,
    472.54,
    260.27
   ],
   "region_id": "TOYO-E0004-Q05-S03-main-p09"
  },
  {
   "problem_id": "TOYO-E0004-Q06",
   "role": "stem",
   "page_index": 9,
   "rect": [
    43.6,
    38.3,
    481.62,
    271.04
   ],
   "content_rect": [
    49.6,
    43.3,
    473.62,
    266.04
   ],
   "region_id": "TOYO-E0004-Q06-stem-p10"
  },
  {
   "problem_id": "TOYO-E0004-Q06-S01",
   "role": "main",
   "page_index": 9,
   "rect": [
    43.56,
    275.06,
    487.5,
    356.25
   ],
   "content_rect": [
    49.56,
    280.06,
    479.5,
    351.25
   ],
   "region_id": "TOYO-E0004-Q06-S01-main-p10"
  },
  {
   "problem_id": "TOYO-E0004-Q06-S02",
   "role": "main",
   "page_index": 9,
   "rect": [
    43.56,
    385.12,
    487.5,
    463.29
   ],
   "content_rect": [
    49.56,
    390.12,
    479.5,
    458.29
   ],
   "region_id": "TOYO-E0004-Q06-S02-main-p10",
   "manual": true,
   "note": "図を共通部へ分離"
  },
  {
   "problem_id": "TOYO-E0004-Q06-S03",
   "role": "main",
   "page_index": 10,
   "rect": [
    36.6,
    41.01,
    474.64,
    365.0
   ],
   "content_rect": [
    42.6,
    46.01,
    466.64,
    360.0
   ],
   "region_id": "TOYO-E0004-Q06-S03-main-p11"
  },
  {
   "problem_id": "TOYO-E0004-Q04",
   "role": "stem",
   "page_index": 6,
   "content_rect": [
    42.66,
    266.55,
    406.9,
    484.51
   ],
   "rect": [
    36.66,
    261.55,
    414.9,
    489.51
   ],
   "region_id": "TOYO-E0004-Q04-stem-p07-fig",
   "manual": true,
   "note": "小問の下に置かれた大問共通の図"
  },
  {
   "problem_id": "TOYO-E0004-Q06",
   "role": "stem",
   "page_index": 9,
   "content_rect": [
    77.76,
    485.88,
    440.04,
    642.96
   ],
   "rect": [
    71.76,
    480.88,
    448.04,
    647.96
   ],
   "region_id": "TOYO-E0004-Q06-stem-p10-fig",
   "manual": true,
   "note": "小問の下に置かれた大問共通の図"
  },
  {
   "region_id": "TOYO-E0004-Q02-stem-p01-note",
   "problem_id": "TOYO-E0004-Q02",
   "role": "stem",
   "page_index": 0,
   "rect": [
    53.4,
    560.5,
    454.0,
    602.5
   ],
   "content_rect": [
    56.4,
    563.5,
    451.0,
    599.5
   ],
   "lead": true,
   "cover_note": true,
   "note": "表紙の注意事項 4 (円周率は 3.14・答えが比になる場合は最も簡単な整数の比) の複製: この大問の本文には書かれていない共通の条件 (scripts/toyo_cover_notes.py)",
   "manual": true
  },
  {
   "region_id": "TOYO-E0004-Q04-stem-p01-note",
   "problem_id": "TOYO-E0004-Q04",
   "role": "stem",
   "page_index": 0,
   "rect": [
    53.4,
    560.5,
    454.0,
    602.5
   ],
   "content_rect": [
    56.4,
    563.5,
    451.0,
    599.5
   ],
   "lead": true,
   "cover_note": true,
   "note": "表紙の注意事項 4 (円周率は 3.14・答えが比になる場合は最も簡単な整数の比) の複製: この大問の本文には書かれていない共通の条件 (scripts/toyo_cover_notes.py)",
   "manual": true
  }
 ],
 "warnings": [],
 "structure_matches_official": true,
 "override_applied": true
}