{
 "exam_id": "JG-E0021",
 "text_family": "scan",
 "generated_at": "2026-10-23T00:21:37+09:00",
 "segmentation_version": 3,
 "coord_system": "PyMuPDF page coords (pt, origin top-left)",
 "page_width": 728.4,
 "problems": [
  {
   "problem_id": "JG-E0021-Q01",
   "kind": "major",
   "number": 1,
   "printed": "1.",
   "subs": [
    "JG-E0021-Q01-S01",
    "JG-E0021-Q01-S02",
    "JG-E0021-Q01-S03",
    "JG-E0021-Q01-S04",
    "JG-E0021-Q01-S05"
   ],
   "region_ids": [
    "JG-E0021-Q01-stem-p01"
   ]
  },
  {
   "problem_id": "JG-E0021-Q01-S01",
   "kind": "sub",
   "parent_id": "JG-E0021-Q01",
   "number": 1,
   "printed": "(1)",
   "region_ids": [
    "JG-E0021-Q01-S01-main-p01"
   ],
   "stem_region_ids": [
    "JG-E0021-Q01-stem-p01"
   ]
  },
  {
   "problem_id": "JG-E0021-Q01-S02",
   "kind": "sub",
   "parent_id": "JG-E0021-Q01",
   "number": 2,
   "printed": "(2)",
   "region_ids": [
    "JG-E0021-Q01-S02-main-p01"
   ],
   "stem_region_ids": [
    "JG-E0021-Q01-stem-p01"
   ]
  },
  {
   "problem_id": "JG-E0021-Q01-S03",
   "kind": "sub",
   "parent_id": "JG-E0021-Q01",
   "number": 3,
   "printed": "(3)",
   "region_ids": [
    "JG-E0021-Q01-S03-main-p01"
   ],
   "stem_region_ids": [
    "JG-E0021-Q01-stem-p01"
   ]
  },
  {
   "problem_id": "JG-E0021-Q01-S04",
   "kind": "sub",
   "parent_id": "JG-E0021-Q01",
   "number": 4,
   "printed": "(4)",
   "region_ids": [
    "JG-E0021-Q01-S04-main-p01"
   ],
   "stem_region_ids": [
    "JG-E0021-Q01-stem-p01"
   ]
  },
  {
   "problem_id": "JG-E0021-Q01-S05",
   "kind": "sub",
   "parent_id": "JG-E0021-Q01",
   "number": 5,
   "printed": "(5)",
   "region_ids": [
    "JG-E0021-Q01-S05-main-p01"
   ],
   "stem_region_ids": [
    "JG-E0021-Q01-stem-p01"
   ]
  },
  {
   "problem_id": "JG-E0021-Q02",
   "kind": "major",
   "number": 2,
   "printed": "2.",
   "subs": [
    "JG-E0021-Q02-S01",
    "JG-E0021-Q02-S02"
   ],
   "region_ids": [
    "JG-E0021-Q02-stem-p02"
   ]
  },
  {
   "problem_id": "JG-E0021-Q02-S01",
   "kind": "sub",
   "parent_id": "JG-E0021-Q02",
   "number": 1,
   "printed": "(1)",
   "region_ids": [
    "JG-E0021-Q02-S01-main-p02"
   ],
   "stem_region_ids": [
    "JG-E0021-Q02-stem-p02"
   ]
  },
  {
   "problem_id": "JG-E0021-Q02-S02",
   "kind": "sub",
   "parent_id": "JG-E0021-Q02",
   "number": 2,
   "printed": "(2)",
   "region_ids": [
    "JG-E0021-Q02-S02-main-p02"
   ],
   "stem_region_ids": [
    "JG-E0021-Q02-stem-p02"
   ]
  },
  {
   "problem_id": "JG-E0021-Q03",
   "kind": "major",
   "number": 3,
   "printed": "3.",
   "subs": [
    "JG-E0021-Q03-S01",
    "JG-E0021-Q03-S02",
    "JG-E0021-Q03-S03"
   ],
   "region_ids": [
    "JG-E0021-Q03-stem-p02",
    "JG-E0021-Q03-stem-p02-fig",
    "JG-E0021-Q03-stem-p02-2"
   ]
  },
  {
   "problem_id": "JG-E0021-Q03-S01",
   "kind": "sub",
   "parent_id": "JG-E0021-Q03",
   "number": 1,
   "printed": "(1)",
   "region_ids": [
    "JG-E0021-Q03-S01-main-p02"
   ],
   "stem_region_ids": [
    "JG-E0021-Q03-stem-p02",
    "JG-E0021-Q03-stem-p02-fig"
   ]
  },
  {
   "problem_id": "JG-E0021-Q03-S02",
   "kind": "sub",
   "parent_id": "JG-E0021-Q03",
   "number": 2,
   "printed": "(2)",
   "region_ids": [
    "JG-E0021-Q03-S02-main-p02"
   ],
   "stem_region_ids": [
    "JG-E0021-Q03-stem-p02",
    "JG-E0021-Q03-stem-p02-fig",
    "JG-E0021-Q03-stem-p02-2"
   ]
  },
  {
   "problem_id": "JG-E0021-Q03-S03",
   "kind": "sub",
   "parent_id": "JG-E0021-Q03",
   "number": 3,
   "printed": "(3)",
   "region_ids": [
    "JG-E0021-Q03-S03-main-p02"
   ],
   "stem_region_ids": [
    "JG-E0021-Q03-stem-p02",
    "JG-E0021-Q03-stem-p02-fig",
    "JG-E0021-Q03-stem-p02-2"
   ]
  },
  {
   "problem_id": "JG-E0021-Q04",
   "kind": "major",
   "number": 4,
   "printed": "4.",
   "subs": [
    "JG-E0021-Q04-S01",
    "JG-E0021-Q04-S02",
    "JG-E0021-Q04-S03"
   ],
   "region_ids": [
    "JG-E0021-Q04-stem-p02"
   ]
  },
  {
   "problem_id": "JG-E0021-Q04-S01",
   "kind": "sub",
   "parent_id": "JG-E0021-Q04",
   "number": 1,
   "printed": "(1)",
   "region_ids": [
    "JG-E0021-Q04-S01-main-p02"
   ],
   "stem_region_ids": [
    "JG-E0021-Q04-stem-p02"
   ]
  },
  {
   "problem_id": "JG-E0021-Q04-S02",
   "kind": "sub",
   "parent_id": "JG-E0021-Q04",
   "number": 2,
   "printed": "(2)",
   "region_ids": [
    "JG-E0021-Q04-S02-main-p02"
   ],
   "stem_region_ids": [
    "JG-E0021-Q04-stem-p02"
   ]
  },
  {
   "problem_id": "JG-E0021-Q04-S03",
   "kind": "sub",
   "parent_id": "JG-E0021-Q04",
   "number": 3,
   "printed": "(3)",
   "region_ids": [
    "JG-E0021-Q04-S03-main-p02"
   ],
   "stem_region_ids": [
    "JG-E0021-Q04-stem-p02"
   ]
  },
  {
   "problem_id": "JG-E0021-Q05",
   "kind": "major",
   "number": 5,
   "printed": "5.",
   "subs": [
    "JG-E0021-Q05-S01",
    "JG-E0021-Q05-S02"
   ],
   "region_ids": [
    "JG-E0021-Q05-stem-p01-note",
    "JG-E0021-Q05-stem-p03",
    "JG-E0021-Q05-stem-p03-fig"
   ]
  },
  {
   "problem_id": "JG-E0021-Q05-S01",
   "kind": "sub",
   "parent_id": "JG-E0021-Q05",
   "number": 1,
   "printed": "(1)",
   "region_ids": [
    "JG-E0021-Q05-S01-main-p03"
   ],
   "stem_region_ids": [
    "JG-E0021-Q05-stem-p01-note",
    "JG-E0021-Q05-stem-p03",
    "JG-E0021-Q05-stem-p03-fig"
   ]
  },
  {
   "problem_id": "JG-E0021-Q05-S02",
   "kind": "sub",
   "parent_id": "JG-E0021-Q05",
   "number": 2,
   "printed": "(2)",
   "region_ids": [
    "JG-E0021-Q05-S02-main-p03"
   ],
   "stem_region_ids": [
    "JG-E0021-Q05-stem-p01-note",
    "JG-E0021-Q05-stem-p03",
    "JG-E0021-Q05-stem-p03-fig"
   ]
  },
  {
   "problem_id": "JG-E0021-Q06",
   "kind": "major",
   "number": 6,
   "printed": "6.",
   "subs": [
    "JG-E0021-Q06-S01",
    "JG-E0021-Q06-S02"
   ],
   "region_ids": [
    "JG-E0021-Q06-stem-p03"
   ]
  },
  {
   "problem_id": "JG-E0021-Q06-S01",
   "kind": "sub",
   "parent_id": "JG-E0021-Q06",
   "number": 1,
   "printed": "(1)",
   "region_ids": [
    "JG-E0021-Q06-S01-main-p03"
   ],
   "stem_region_ids": [
    "JG-E0021-Q06-stem-p03"
   ]
  },
  {
   "problem_id": "JG-E0021-Q06-S02",
   "kind": "sub",
   "parent_id": "JG-E0021-Q06",
   "number": 2,
   "printed": "(2)",
   "region_ids": [
    "JG-E0021-Q06-S02-main-p03"
   ],
   "stem_region_ids": [
    "JG-E0021-Q06-stem-p03"
   ]
  },
  {
   "problem_id": "JG-E0021-Q07",
   "kind": "major",
   "number": 7,
   "printed": "7.",
   "subs": [
    "JG-E0021-Q07-S01",
    "JG-E0021-Q07-S02",
    "JG-E0021-Q07-S03"
   ],
   "region_ids": [
    "JG-E0021-Q07-stem-p03"
   ]
  },
  {
   "problem_id": "JG-E0021-Q07-S01",
   "kind": "sub",
   "parent_id": "JG-E0021-Q07",
   "number": 1,
   "printed": "(1)",
   "region_ids": [
    "JG-E0021-Q07-S01-main-p03"
   ],
   "stem_region_ids": [
    "JG-E0021-Q07-stem-p03"
   ]
  },
  {
   "problem_id": "JG-E0021-Q07-S02",
   "kind": "sub",
   "parent_id": "JG-E0021-Q07",
   "number": 2,
   "printed": "(2)",
   "region_ids": [
    "JG-E0021-Q07-S02-main-p03"
   ],
   "stem_region_ids": [
    "JG-E0021-Q07-stem-p03"
   ]
  },
  {
   "problem_id": "JG-E0021-Q07-S03",
   "kind": "sub",
   "parent_id": "JG-E0021-Q07",
   "number": 3,
   "printed": "(3)",
   "region_ids": [
    "JG-E0021-Q07-S03-main-p03"
   ],
   "stem_region_ids": [
    "JG-E0021-Q07-stem-p03"
   ]
  }
 ],
 "regions": [
  {
   "problem_id": "JG-E0021-Q01",
   "role": "stem",
   "page_index": 0,
   "rect": [
    31.52,
    107.4,
    407.2,
    147.96
   ],
   "content_rect": [
    35.52,
    110.4,
    403.2,
    144.96
   ],
   "region_id": "JG-E0021-Q01-stem-p01"
  },
  {
   "problem_id": "JG-E0021-Q01-S01",
   "role": "main",
   "page_index": 0,
   "rect": [
    30.08,
    152.52,
    408.64,
    213.72
   ],
   "content_rect": [
    34.08,
    155.52,
    404.64,
    210.72
   ],
   "region_id": "JG-E0021-Q01-S01-main-p01"
  },
  {
   "problem_id": "JG-E0021-Q01-S02",
   "role": "main",
   "page_index": 0,
   "rect": [
    30.56,
    252.36,
    659.68,
    463.32
   ],
   "content_rect": [
    34.56,
    255.36,
    655.68,
    460.32
   ],
   "region_id": "JG-E0021-Q01-S02-main-p01"
  },
  {
   "problem_id": "JG-E0021-Q01-S03",
   "role": "main",
   "page_index": 0,
   "rect": [
    31.52,
    494.76,
    489.28,
    577.56
   ],
   "content_rect": [
    35.52,
    497.76,
    485.28,
    574.56
   ],
   "region_id": "JG-E0021-Q01-S03-main-p01"
  },
  {
   "problem_id": "JG-E0021-Q01-S04",
   "role": "main",
   "page_index": 0,
   "rect": [
    32.0,
    630.6,
    595.36,
    824.76
   ],
   "content_rect": [
    36.0,
    633.6,
    591.36,
    821.76
   ],
   "region_id": "JG-E0021-Q01-S04-main-p01"
  },
  {
   "problem_id": "JG-E0021-Q01-S05",
   "role": "main",
   "page_index": 0,
   "rect": [
    32.96,
    825.96,
    620.8,
    992.76
   ],
   "content_rect": [
    36.96,
    828.96,
    616.8,
    989.76
   ],
   "region_id": "JG-E0021-Q01-S05-main-p01"
  },
  {
   "problem_id": "JG-E0021-Q02",
   "role": "stem",
   "page_index": 1,
   "rect": [
    31.04,
    48.36,
    529.12,
    170.04
   ],
   "content_rect": [
    35.04,
    51.36,
    525.12,
    167.04
   ],
   "region_id": "JG-E0021-Q02-stem-p02"
  },
  {
   "problem_id": "JG-E0021-Q02-S01",
   "role": "main",
   "page_index": 1,
   "rect": [
    29.12,
    187.56,
    256.0,
    206.04
   ],
   "content_rect": [
    33.12,
    190.56,
    252.0,
    203.04
   ],
   "region_id": "JG-E0021-Q02-S01-main-p02"
  },
  {
   "problem_id": "JG-E0021-Q02-S02",
   "role": "main",
   "page_index": 1,
   "rect": [
    29.12,
    206.76,
    647.68,
    227.16
   ],
   "content_rect": [
    33.12,
    209.76,
    643.68,
    224.16
   ],
   "region_id": "JG-E0021-Q02-S02-main-p02"
  },
  {
   "problem_id": "JG-E0021-Q03",
   "role": "stem",
   "page_index": 1,
   "rect": [
    32.48,
    371.4,
    448.48,
    391.32
   ],
   "content_rect": [
    36.48,
    374.4,
    444.48,
    388.32
   ],
   "region_id": "JG-E0021-Q03-stem-p02"
  },
  {
   "problem_id": "JG-E0021-Q03",
   "role": "stem",
   "page_index": 1,
   "rect": [
    486.0,
    358.0,
    615.0,
    500.0
   ],
   "content_rect": [
    486.0,
    358.0,
    615.0,
    500.0
   ],
   "manual": true,
   "note": "複数小問に共通の図 (手動矩形, data/jg_marker_spec.txt の fig)",
   "region_id": "JG-E0021-Q03-stem-p02-fig"
  },
  {
   "problem_id": "JG-E0021-Q03-S01",
   "role": "main",
   "page_index": 1,
   "rect": [
    30.08,
    394.92,
    331.84,
    414.36
   ],
   "content_rect": [
    34.08,
    397.92,
    327.84,
    411.36
   ],
   "region_id": "JG-E0021-Q03-S01-main-p02"
  },
  {
   "problem_id": "JG-E0021-Q03",
   "role": "stem",
   "page_index": 1,
   "rect": [
    41.12,
    434.76,
    505.6,
    646.68
   ],
   "content_rect": [
    45.12,
    437.76,
    501.6,
    643.68
   ],
   "applies_from_sub": 2,
   "manual": true,
   "note": "小問(1)の後に置かれた後続小問共通の説明 (split)",
   "region_id": "JG-E0021-Q03-stem-p02-2"
  },
  {
   "problem_id": "JG-E0021-Q03-S02",
   "role": "main",
   "page_index": 1,
   "rect": [
    31.04,
    664.2,
    356.32,
    681.36
   ],
   "content_rect": [
    35.04,
    667.2,
    352.32,
    680.64
   ],
   "region_id": "JG-E0021-Q03-S02-main-p02"
  },
  {
   "problem_id": "JG-E0021-Q03-S03",
   "role": "main",
   "page_index": 1,
   "rect": [
    31.04,
    681.36,
    279.04,
    704.28
   ],
   "content_rect": [
    35.04,
    682.08,
    275.04,
    701.28
   ],
   "region_id": "JG-E0021-Q03-S03-main-p02"
  },
  {
   "problem_id": "JG-E0021-Q04",
   "role": "stem",
   "page_index": 1,
   "rect": [
    33.44,
    764.04,
    241.6,
    816.12
   ],
   "content_rect": [
    37.44,
    767.04,
    237.6,
    813.12
   ],
   "region_id": "JG-E0021-Q04-stem-p02"
  },
  {
   "problem_id": "JG-E0021-Q04-S01",
   "role": "main",
   "page_index": 1,
   "rect": [
    32.0,
    820.68,
    411.04,
    850.2
   ],
   "content_rect": [
    36.0,
    823.68,
    407.04,
    847.2
   ],
   "region_id": "JG-E0021-Q04-S01-main-p02"
  },
  {
   "problem_id": "JG-E0021-Q04-S02",
   "role": "main",
   "page_index": 1,
   "rect": [
    32.0,
    853.32,
    386.08,
    873.24
   ],
   "content_rect": [
    36.0,
    856.32,
    382.08,
    870.24
   ],
   "region_id": "JG-E0021-Q04-S02-main-p02"
  },
  {
   "problem_id": "JG-E0021-Q04-S03",
   "role": "main",
   "page_index": 1,
   "rect": [
    32.0,
    874.44,
    323.68,
    893.88
   ],
   "content_rect": [
    36.0,
    877.44,
    319.68,
    890.88
   ],
   "region_id": "JG-E0021-Q04-S03-main-p02"
  },
  {
   "problem_id": "JG-E0021-Q05",
   "role": "stem",
   "page_index": 2,
   "rect": [
    32.48,
    48.36,
    372.16,
    66.36
   ],
   "content_rect": [
    36.48,
    51.36,
    368.16,
    63.36
   ],
   "region_id": "JG-E0021-Q05-stem-p03"
  },
  {
   "problem_id": "JG-E0021-Q05",
   "role": "stem",
   "page_index": 2,
   "rect": [
    335.0,
    70.0,
    545.0,
    308.0
   ],
   "content_rect": [
    335.0,
    70.0,
    545.0,
    308.0
   ],
   "manual": true,
   "note": "複数小問に共通の図 (手動矩形, data/jg_marker_spec.txt の fig)",
   "region_id": "JG-E0021-Q05-stem-p03-fig"
  },
  {
   "problem_id": "JG-E0021-Q05-S01",
   "role": "main",
   "page_index": 2,
   "rect": [
    29.6,
    71.4,
    208.96,
    90.84
   ],
   "content_rect": [
    33.6,
    74.4,
    204.96,
    87.84
   ],
   "region_id": "JG-E0021-Q05-S01-main-p03"
  },
  {
   "problem_id": "JG-E0021-Q05-S02",
   "role": "main",
   "page_index": 2,
   "rect": [
    30.08,
    91.56,
    266.08,
    114.84
   ],
   "content_rect": [
    34.08,
    94.56,
    262.08,
    111.84
   ],
   "region_id": "JG-E0021-Q05-S02-main-p03"
  },
  {
   "problem_id": "JG-E0021-Q06",
   "role": "stem",
   "page_index": 2,
   "rect": [
    33.44,
    345.0,
    541.6,
    479.64
   ],
   "content_rect": [
    37.44,
    348.0,
    537.6,
    476.64
   ],
   "region_id": "JG-E0021-Q06-stem-p03"
  },
  {
   "problem_id": "JG-E0021-Q06-S01",
   "role": "main",
   "page_index": 2,
   "rect": [
    31.04,
    483.24,
    207.04,
    501.72
   ],
   "content_rect": [
    35.04,
    486.24,
    203.04,
    498.72
   ],
   "region_id": "JG-E0021-Q06-S01-main-p03"
  },
  {
   "problem_id": "JG-E0021-Q06-S02",
   "role": "main",
   "page_index": 2,
   "rect": [
    31.04,
    508.2,
    298.72,
    527.16
   ],
   "content_rect": [
    35.04,
    511.2,
    294.72,
    524.16
   ],
   "region_id": "JG-E0021-Q06-S02-main-p03"
  },
  {
   "problem_id": "JG-E0021-Q07",
   "role": "stem",
   "page_index": 2,
   "rect": [
    33.92,
    651.24,
    591.52,
    733.56
   ],
   "content_rect": [
    37.92,
    654.24,
    587.52,
    730.56
   ],
   "region_id": "JG-E0021-Q07-stem-p03"
  },
  {
   "problem_id": "JG-E0021-Q07-S01",
   "role": "main",
   "page_index": 2,
   "rect": [
    31.52,
    735.72,
    513.76,
    776.76
   ],
   "content_rect": [
    35.52,
    738.72,
    509.76,
    773.76
   ],
   "region_id": "JG-E0021-Q07-S01-main-p03"
  },
  {
   "problem_id": "JG-E0021-Q07-S02",
   "role": "main",
   "page_index": 2,
   "rect": [
    31.52,
    777.96,
    513.76,
    817.56
   ],
   "content_rect": [
    35.52,
    780.96,
    509.76,
    814.56
   ],
   "region_id": "JG-E0021-Q07-S02-main-p03"
  },
  {
   "problem_id": "JG-E0021-Q07-S03",
   "role": "main",
   "page_index": 2,
   "rect": [
    31.52,
    820.68,
    555.52,
    840.6
   ],
   "content_rect": [
    35.52,
    823.68,
    551.52,
    837.6
   ],
   "region_id": "JG-E0021-Q07-S03-main-p03"
  },
  {
   "problem_id": "JG-E0021-Q05",
   "role": "stem",
   "page_index": 0,
   "rect": [
    31.5,
    107.9,
    405.7,
    125.4
   ],
   "content_rect": [
    35.5,
    110.4,
    403.2,
    122.9
   ],
   "manual": true,
   "lead": true,
   "note": "共通の指示文・注意書きの複製 (data/jg_marker_spec.txt の copy): 原本では別の大問の先頭または 1 ページ冒頭にある行",
   "region_id": "JG-E0021-Q05-stem-p01-note"
  }
 ],
 "warnings": [],
 "structure_matches_official": true,
 "override_applied": true
}