{
  "policyVersion": "2026.1",
  "cases": [
    {
      "id": "income_tax.employment_deduction.minimum",
      "area": "所得税",
      "title": "給与所得控除（年収200万円・最低保障額）",
      "conditions": [
        "給与収入 200万円"
      ],
      "expected": [
        {
          "key": "deduction",
          "label": "給与所得控除",
          "value": 740000,
          "unit": "円"
        }
      ],
      "derivation": "200万円×30%＋8万円＝68万円が最低保障額74万円を下回るため、74万円。",
      "evidence": [
        "tax.employment_deduction.minimum"
      ]
    },
    {
      "id": "income_tax.employment_deduction.middle",
      "area": "所得税",
      "title": "給与所得控除（年収500万円）",
      "conditions": [
        "給与収入 500万円"
      ],
      "expected": [
        {
          "key": "deduction",
          "label": "給与所得控除",
          "value": 1440000,
          "unit": "円"
        }
      ],
      "derivation": "360万円超660万円以下は 収入×20%＋44万円。500万円×20%＋44万円＝144万円。",
      "evidence": []
    },
    {
      "id": "income_tax.employment_deduction.cap",
      "area": "所得税",
      "title": "給与所得控除（年収1,000万円・上限）",
      "conditions": [
        "給与収入 1,000万円"
      ],
      "expected": [
        {
          "key": "deduction",
          "label": "給与所得控除",
          "value": 1950000,
          "unit": "円"
        }
      ],
      "derivation": "給与収入850万円超は上限の195万円。",
      "evidence": []
    },
    {
      "id": "income_tax.basic_deduction.489",
      "area": "所得税",
      "title": "基礎控除（合計所得400万円）",
      "conditions": [
        "合計所得 400万円"
      ],
      "expected": [
        {
          "key": "deduction",
          "label": "基礎控除",
          "value": 1040000,
          "unit": "円"
        }
      ],
      "derivation": "令和8年分は合計所得489万円以下で104万円（本則62万円＋特例42万円）。",
      "evidence": [
        "tax.basic_deduction.brackets"
      ]
    },
    {
      "id": "income_tax.basic_deduction.655",
      "area": "所得税",
      "title": "基礎控除（合計所得600万円）",
      "conditions": [
        "合計所得 600万円"
      ],
      "expected": [
        {
          "key": "deduction",
          "label": "基礎控除",
          "value": 670000,
          "unit": "円"
        }
      ],
      "derivation": "令和8年分は合計所得489万円超655万円以下で67万円。",
      "evidence": [
        "tax.basic_deduction.brackets"
      ]
    },
    {
      "id": "income_tax.basic_deduction.over_2500",
      "area": "所得税",
      "title": "基礎控除（合計所得2,600万円）",
      "conditions": [
        "合計所得 2,600万円"
      ],
      "expected": [
        {
          "key": "deduction",
          "label": "基礎控除",
          "value": 0,
          "unit": "円"
        }
      ],
      "derivation": "合計所得2,500万円を超えると基礎控除はない。",
      "evidence": [
        "tax.basic_deduction.brackets"
      ]
    },
    {
      "id": "income_tax.progressive.300",
      "area": "所得税",
      "title": "所得税額（課税所得300万円・復興特別所得税を除く）",
      "conditions": [
        "課税所得 300万円"
      ],
      "expected": [
        {
          "key": "tax",
          "label": "所得税（基準所得税額）",
          "value": 202500,
          "unit": "円"
        }
      ],
      "derivation": "速算表: 300万円×10%−97,500円＝202,500円。",
      "evidence": [
        "tax.progressive_brackets"
      ]
    },
    {
      "id": "income_tax.progressive.800",
      "area": "所得税",
      "title": "所得税額（課税所得800万円・復興特別所得税を除く）",
      "conditions": [
        "課税所得 800万円"
      ],
      "expected": [
        {
          "key": "tax",
          "label": "所得税（基準所得税額）",
          "value": 1204000,
          "unit": "円"
        }
      ],
      "derivation": "速算表: 800万円×23%−636,000円＝1,204,000円。",
      "evidence": [
        "tax.progressive_brackets"
      ]
    },
    {
      "id": "take_home.employee_500_single_35",
      "area": "手取り",
      "title": "会社員・独身・35歳・年収500万円",
      "conditions": [
        "会社員（協会けんぽ・一般の事業）",
        "独身・扶養なし",
        "35歳",
        "給与収入 500万円（賞与なし・12か月で均等）"
      ],
      "expected": [
        {
          "key": "socialInsurance",
          "label": "社会保険料",
          "value": 738250,
          "unit": "円"
        },
        {
          "key": "incomeTax",
          "label": "所得税（復興特別所得税を含む）",
          "value": 90958.3375,
          "unit": "円"
        },
        {
          "key": "residentTax",
          "label": "住民税",
          "value": 241675,
          "unit": "円"
        },
        {
          "key": "takeHome",
          "label": "手取り",
          "value": 3929116.6625,
          "unit": "円"
        }
      ],
      "derivation": "社会保険料: 健康保険 500万円×5%＝250,000円、子ども・子育て支援金 ×0.115%＝5,750円、厚生年金 ×9.15%＝457,500円、雇用保険 ×0.5%＝25,000円、計738,250円。所得税: 給与所得 500万円−144万円＝356万円、課税所得 356万円−基礎控除104万円−738,250円＝1,781,750円、×5%＝89,087.5円、×1.021＝90,958.3375円。住民税: 356万円−43万円−738,250円＝2,391,750円、×10%＝239,175円、調整控除（課税所得200万円超で計算結果が下限を下回るため）2,500円を引いて236,675円、均等割・森林環境税5,000円を足して241,675円。",
      "evidence": [
        "tax.basic_deduction.brackets",
        "tax.reconstruction_surtax_rate",
        "tax.resident.basic_deduction",
        "tax.resident.adjustment_min",
        "tax.resident.per_capita_levy",
        "social_insurance.employee_health_rate",
        "social_insurance.child_support_rate",
        "social_insurance.employee_pension_rate",
        "social_insurance.employment_rate"
      ]
    },
    {
      "id": "take_home.employee_500_single_45",
      "area": "手取り",
      "title": "会社員・独身・45歳・年収500万円（介護保険あり）",
      "conditions": [
        "会社員（協会けんぽ・一般の事業）",
        "独身・扶養なし",
        "45歳",
        "給与収入 500万円"
      ],
      "expected": [
        {
          "key": "socialInsurance",
          "label": "社会保険料",
          "value": 778750,
          "unit": "円"
        },
        {
          "key": "incomeTax",
          "label": "所得税（復興特別所得税を含む）",
          "value": 88890.8125,
          "unit": "円"
        },
        {
          "key": "residentTax",
          "label": "住民税",
          "value": 237625,
          "unit": "円"
        }
      ],
      "derivation": "35歳の場合に介護保険料 500万円×0.81%＝40,500円が加わり、社会保険料は778,750円。所得税: 356万円−104万円−778,750円＝1,741,250円、×5%×1.021＝88,890.8125円。住民税: 356万円−43万円−778,750円＝2,351,250円、×10%＝235,125円−調整控除2,500円＋5,000円＝237,625円。",
      "evidence": [
        "social_insurance.nursing_rate"
      ]
    },
    {
      "id": "take_home.employee_500_spouse_35",
      "area": "手取り",
      "title": "会社員・配偶者（収入なし）あり・35歳・年収500万円",
      "conditions": [
        "会社員",
        "配偶者の収入 0円",
        "35歳",
        "給与収入 500万円"
      ],
      "expected": [
        {
          "key": "incomeTax",
          "label": "所得税（復興特別所得税を含む）",
          "value": 71559.3375,
          "unit": "円"
        },
        {
          "key": "residentTax",
          "label": "住民税",
          "value": 208675,
          "unit": "円"
        }
      ],
      "derivation": "所得税は配偶者控除38万円を加え、1,781,750円−38万円＝1,401,750円、×5%×1.021＝71,559.3375円。住民税は配偶者控除33万円を加え、2,391,750円−33万円＝2,061,750円、×10%＝206,175円。調整控除は｛人的控除額の差10万円−（2,061,750円−200万円）｝×5%＝1,912.5円が下限を下回るため2,500円。206,175円−2,500円＋5,000円＝208,675円。",
      "evidence": [
        "tax.spouse_deduction.spouse_income_max",
        "tax.resident.spouse_deduction",
        "tax.resident.adjustment_differences",
        "tax.resident.adjustment_rate",
        "tax.resident.adjustment_min"
      ]
    },
    {
      "id": "resident_tax.adjustment.under_200",
      "area": "住民税",
      "title": "調整控除（住民税の課税所得200万円以下）",
      "conditions": [
        "合計所得 200万円（社会保険料控除なし）",
        "独身・扶養なし"
      ],
      "expected": [
        {
          "key": "residentAdjustmentDeduction",
          "label": "調整控除",
          "value": 2500,
          "unit": "円"
        },
        {
          "key": "residentIncomeLevy",
          "label": "所得割",
          "value": 154500,
          "unit": "円"
        },
        {
          "key": "residentTax",
          "label": "住民税（均等割・森林環境税を含む）",
          "value": 159500,
          "unit": "円"
        }
      ],
      "derivation": "課税所得 200万円−43万円＝157万円（200万円以下）。調整控除は 人的控除額の差5万円と157万円の少ない方×5%＝2,500円。所得割 157,000円−2,500円＝154,500円、均等割・森林環境税5,000円を足して159,500円。",
      "evidence": [
        "tax.resident.adjustment_differences",
        "tax.resident.adjustment_rate",
        "tax.resident_tax.income_rate",
        "tax.resident.per_capita_levy",
        "tax.resident.forest_environment_tax"
      ]
    },
    {
      "id": "resident_tax.non_taxable.single_45",
      "area": "住民税",
      "title": "非課税の基準（単身・合計所得45万円）",
      "conditions": [
        "合計所得 45万円",
        "独身・扶養なし"
      ],
      "expected": [
        {
          "key": "residentTax",
          "label": "住民税",
          "value": 0,
          "unit": "円"
        }
      ],
      "derivation": "単身は 35万円×1人＋10万円＝45万円以下で、均等割・所得割とも非課税。",
      "evidence": [
        "tax.resident.non_taxable_per_person",
        "tax.resident.non_taxable_base"
      ]
    },
    {
      "id": "resident_tax.non_taxable.single_46",
      "area": "住民税",
      "title": "非課税の基準を超えた場合（単身・合計所得46万円）",
      "conditions": [
        "合計所得 46万円",
        "独身・扶養なし"
      ],
      "expected": [
        {
          "key": "residentTax",
          "label": "住民税",
          "value": 6500,
          "unit": "円"
        }
      ],
      "derivation": "45万円を超えるため課税。所得割 （46万円−43万円）×10%＝3,000円−調整控除（3万円×5%＝1,500円）＝1,500円、均等割・森林環境税5,000円を足して6,500円。",
      "evidence": [
        "tax.resident.non_taxable_base",
        "tax.resident.adjustment_rate"
      ]
    },
    {
      "id": "resident_tax.non_taxable.family_per_capita",
      "area": "住民税",
      "title": "非課税の基準（4人世帯の均等割・合計所得171万円）",
      "conditions": [
        "合計所得 171万円",
        "配偶者（所得0円）と15歳以下の子2人"
      ],
      "expected": [
        {
          "key": "residentPerCapitaLevy",
          "label": "均等割・森林環境税",
          "value": 0,
          "unit": "円"
        }
      ],
      "derivation": "均等割は 35万円×4人＋10万円＋21万円＝171万円以下で非課税。",
      "evidence": [
        "tax.resident.non_taxable_per_person",
        "tax.resident.non_taxable_per_capita_family_add"
      ]
    },
    {
      "id": "resident_tax.non_taxable.family_income_levy",
      "area": "住民税",
      "title": "非課税の基準（4人世帯の所得割・合計所得182万円）",
      "conditions": [
        "合計所得 182万円",
        "配偶者（所得0円）と15歳以下の子2人"
      ],
      "expected": [
        {
          "key": "residentIncomeLevy",
          "label": "所得割",
          "value": 0,
          "unit": "円"
        },
        {
          "key": "residentPerCapitaLevy",
          "label": "均等割・森林環境税",
          "value": 5000,
          "unit": "円"
        }
      ],
      "derivation": "所得割は 35万円×4人＋10万円＋32万円＝182万円以下で非課税。均等割の基準（171万円）は超えるため5,000円かかる。",
      "evidence": [
        "tax.resident.non_taxable_income_levy_family_add",
        "tax.resident.non_taxable_per_capita_family_add"
      ]
    },
    {
      "id": "social_insurance.employee_600_35",
      "area": "社会保険",
      "title": "会社員・35歳・年収600万円の社会保険料",
      "conditions": [
        "会社員（協会けんぽ・一般の事業）",
        "35歳",
        "給与収入 600万円（月50万円）"
      ],
      "expected": [
        {
          "key": "health",
          "label": "健康保険",
          "value": 300000,
          "unit": "円"
        },
        {
          "key": "childSupport",
          "label": "子ども・子育て支援金",
          "value": 6900,
          "unit": "円"
        },
        {
          "key": "pension",
          "label": "厚生年金",
          "value": 549000,
          "unit": "円"
        },
        {
          "key": "employment",
          "label": "雇用保険",
          "value": 30000,
          "unit": "円"
        },
        {
          "key": "total",
          "label": "合計",
          "value": 885900,
          "unit": "円"
        }
      ],
      "derivation": "標準報酬 月50万円。健康保険 50万円×5%×12＝300,000円、子ども・子育て支援金 ×0.115%×12＝6,900円、厚生年金 ×9.15%×12＝549,000円、雇用保険 600万円×0.5%＝30,000円。",
      "evidence": [
        "social_insurance.employee_health_rate",
        "social_insurance.child_support_rate",
        "social_insurance.employee_pension_rate",
        "social_insurance.employment_rate"
      ]
    },
    {
      "id": "social_insurance.employee_600_45",
      "area": "社会保険",
      "title": "会社員・45歳・年収600万円の社会保険料（介護保険あり）",
      "conditions": [
        "会社員",
        "45歳",
        "給与収入 600万円"
      ],
      "expected": [
        {
          "key": "nursing",
          "label": "介護保険",
          "value": 48600,
          "unit": "円"
        },
        {
          "key": "total",
          "label": "合計",
          "value": 934500,
          "unit": "円"
        }
      ],
      "derivation": "40〜64歳は介護保険 50万円×0.81%×12＝48,600円が加わる。885,900円＋48,600円＝934,500円。",
      "evidence": [
        "social_insurance.nursing_rate"
      ]
    },
    {
      "id": "social_insurance.employee_2000_45",
      "area": "社会保険",
      "title": "会社員・45歳・年収2,000万円の社会保険料（標準報酬の上限）",
      "conditions": [
        "会社員",
        "45歳",
        "給与収入 2,000万円（月約166.7万円）"
      ],
      "expected": [
        {
          "key": "health",
          "label": "健康保険",
          "value": 834000,
          "unit": "円"
        },
        {
          "key": "nursing",
          "label": "介護保険",
          "value": 135108,
          "unit": "円"
        },
        {
          "key": "childSupport",
          "label": "子ども・子育て支援金",
          "value": 19182,
          "unit": "円"
        },
        {
          "key": "pension",
          "label": "厚生年金",
          "value": 713700,
          "unit": "円"
        },
        {
          "key": "employment",
          "label": "雇用保険",
          "value": 100000,
          "unit": "円"
        },
        {
          "key": "total",
          "label": "合計",
          "value": 1801990,
          "unit": "円"
        }
      ],
      "derivation": "健康保険・介護保険・支援金は上限139万円、厚生年金は上限65万円で計算。139万円×5%×12＝834,000円、×0.81%×12＝135,108円、×0.115%×12＝19,182円。65万円×9.15%×12＝713,700円。雇用保険は上限なしで 2,000万円×0.5%＝100,000円。",
      "evidence": [
        "social_insurance.health_base_cap",
        "social_insurance.pension_base_cap"
      ]
    },
    {
      "id": "social_insurance.public_servant_600_45",
      "area": "社会保険",
      "title": "公務員・45歳・年収600万円の社会保険料（雇用保険なし）",
      "conditions": [
        "公務員（共済組合）",
        "45歳",
        "給与収入 600万円"
      ],
      "expected": [
        {
          "key": "employment",
          "label": "雇用保険",
          "value": 0,
          "unit": "円"
        },
        {
          "key": "total",
          "label": "合計",
          "value": 904500,
          "unit": "円"
        }
      ],
      "derivation": "会社員と同じ料率で概算し、雇用保険（30,000円）を除く。934,500円−30,000円＝904,500円。",
      "evidence": [
        "social_insurance.public_servant"
      ]
    },
    {
      "id": "nhi.self_employed_500_35",
      "area": "国民健康保険・国民年金",
      "title": "自営業・35歳・所得500万円の国民健康保険料・国民年金",
      "conditions": [
        "自営業（東京都の都道府県標準保険料率）",
        "35歳",
        "所得 500万円（加入者は本人だけ）"
      ],
      "expected": [
        {
          "key": "health",
          "label": "国民健康保険（医療分＋支援金分）",
          "value": 566451,
          "unit": "円"
        },
        {
          "key": "childSupport",
          "label": "子ども・子育て支援金分",
          "value": 16219,
          "unit": "円"
        },
        {
          "key": "pension",
          "label": "国民年金",
          "value": 215040,
          "unit": "円"
        },
        {
          "key": "total",
          "label": "合計",
          "value": 797710,
          "unit": "円"
        }
      ],
      "derivation": "所得割の基礎 500万円−43万円＝457万円。医療分 457万円×7.90%＋49,255円＝410,285円、支援金分 ×3.01%＋18,609円＝156,166円、子ども・子育て支援金分 ×0.31%＋2,052円（18歳以上均等割を含む）＝16,219円（いずれも限度額未満）。国民年金 17,920円×12＝215,040円。",
      "evidence": [
        "social_insurance.nhi",
        "social_insurance.national_pension_annual"
      ]
    },
    {
      "id": "nhi.self_employed_500_45",
      "area": "国民健康保険・国民年金",
      "title": "自営業・45歳・所得500万円の介護分",
      "conditions": [
        "自営業（東京都の都道府県標準保険料率）",
        "45歳",
        "所得 500万円"
      ],
      "expected": [
        {
          "key": "nursing",
          "label": "介護分",
          "value": 135704,
          "unit": "円"
        }
      ],
      "derivation": "40〜64歳は介護分 457万円×2.56%＋18,712円＝135,704円（限度額17万円未満）。",
      "evidence": [
        "social_insurance.nhi"
      ]
    },
    {
      "id": "nhi.self_employed_cap",
      "area": "国民健康保険・国民年金",
      "title": "自営業・45歳・所得3,000万円（賦課限度額）",
      "conditions": [
        "自営業（東京都の都道府県標準保険料率）",
        "45歳",
        "所得 3,000万円"
      ],
      "expected": [
        {
          "key": "health",
          "label": "国民健康保険（医療分＋支援金分）",
          "value": 930000,
          "unit": "円"
        },
        {
          "key": "nursing",
          "label": "介護分",
          "value": 170000,
          "unit": "円"
        },
        {
          "key": "childSupport",
          "label": "子ども・子育て支援金分",
          "value": 30000,
          "unit": "円"
        },
        {
          "key": "total",
          "label": "合計（国民年金を含む）",
          "value": 1345040,
          "unit": "円"
        }
      ],
      "derivation": "各区分が賦課限度額で頭打ち: 医療分67万円＋支援金分26万円、介護分17万円、子ども・子育て支援金分3万円。国民年金215,040円を足して1,345,040円。",
      "evidence": [
        "social_insurance.nhi",
        "social_insurance.national_pension_annual"
      ]
    },
    {
      "id": "nhi.self_employed_low_income",
      "area": "国民健康保険・国民年金",
      "title": "自営業・35歳・所得30万円（均等割だけ）",
      "conditions": [
        "自営業（東京都の都道府県標準保険料率）",
        "35歳",
        "所得 30万円"
      ],
      "expected": [
        {
          "key": "health",
          "label": "国民健康保険（医療分＋支援金分）",
          "value": 67864,
          "unit": "円"
        },
        {
          "key": "childSupport",
          "label": "子ども・子育て支援金分",
          "value": 2052,
          "unit": "円"
        }
      ],
      "derivation": "所得が43万円以下のため所得割は0円。均等割 49,255円＋18,609円＝67,864円、子ども・子育て支援金分 1,961円＋18歳以上均等割91円＝2,052円。軽減（7割・5割・2割）は扱わない。",
      "evidence": [
        "social_insurance.nhi"
      ]
    },
    {
      "id": "pension.basic_full",
      "area": "公的年金",
      "title": "老齢基礎年金（40年納付・65歳から）",
      "conditions": [
        "国民年金の納付 40年",
        "厚生年金の加入なし",
        "65歳から受給"
      ],
      "expected": [
        {
          "key": "amount",
          "label": "年金額（年額）",
          "value": 84.7296,
          "unit": "万円"
        }
      ],
      "derivation": "満額 847,296円（月70,608円×12）×40年/40年。",
      "evidence": [
        "pension.basic_full_amount"
      ]
    },
    {
      "id": "pension.basic_30_years",
      "area": "公的年金",
      "title": "老齢基礎年金（30年納付）",
      "conditions": [
        "国民年金の納付 30年",
        "65歳から受給"
      ],
      "expected": [
        {
          "key": "amount",
          "label": "年金額（年額）",
          "value": 63.5472,
          "unit": "万円"
        }
      ],
      "derivation": "847,296円×30年/40年＝635,472円。",
      "evidence": [
        "pension.basic_full_amount"
      ]
    },
    {
      "id": "pension.employee_500_40",
      "area": "公的年金",
      "title": "老齢基礎年金＋老齢厚生年金（平均年収500万円・40年）",
      "conditions": [
        "国民年金 40年",
        "厚生年金 40年・平均年収500万円",
        "65歳から受給"
      ],
      "expected": [
        {
          "key": "amount",
          "label": "年金額（年額）",
          "value": 194.3496,
          "unit": "万円"
        }
      ],
      "derivation": "報酬比例部分 500万円×5.481/1000×40年＝109.62万円（平均標準報酬額＝年収÷12、加入月数＝年数×12 として計算）。基礎年金84.7296万円と合わせて194.3496万円。",
      "evidence": [
        "pension.basic_full_amount"
      ]
    },
    {
      "id": "pension.employee_salary_cap",
      "area": "公的年金",
      "title": "老齢厚生年金の上限（平均年収1,000万円・40年）",
      "conditions": [
        "国民年金 40年",
        "厚生年金 40年・平均年収1,000万円",
        "65歳から受給"
      ],
      "expected": [
        {
          "key": "amount",
          "label": "年金額（年額）",
          "value": 255.7368,
          "unit": "万円"
        }
      ],
      "derivation": "平均年収は標準報酬の上限（65万円×12＝780万円）で頭打ち。780万円×5.481/1000×40年＝171.0072万円、基礎年金と合わせて255.7368万円。",
      "evidence": [
        "pension.employee_salary_cap"
      ]
    },
    {
      "id": "pension.deferral_70",
      "area": "公的年金",
      "title": "70歳まで繰下げ（42%増）",
      "conditions": [
        "国民年金 40年",
        "厚生年金 40年・平均年収500万円",
        "70歳から受給"
      ],
      "expected": [
        {
          "key": "amount",
          "label": "年金額（年額）",
          "value": 275.976432,
          "unit": "万円"
        }
      ],
      "derivation": "1か月0.7%×60か月＝42%増。194.3496万円×1.42＝275.976432万円。",
      "evidence": []
    },
    {
      "id": "pension.early_60",
      "area": "公的年金",
      "title": "60歳から繰上げ（24%減）",
      "conditions": [
        "国民年金 40年",
        "厚生年金 40年・平均年収500万円",
        "60歳から受給"
      ],
      "expected": [
        {
          "key": "amount",
          "label": "年金額（年額）",
          "value": 147.705696,
          "unit": "万円"
        }
      ],
      "derivation": "1か月0.4%×60か月＝24%減。194.3496万円×0.76＝147.705696万円。",
      "evidence": []
    },
    {
      "id": "pension.kakyu",
      "area": "公的年金",
      "title": "加給年金（配偶者が65歳未満）",
      "conditions": [
        "本人 65歳・厚生年金 40年・平均年収500万円",
        "配偶者 60歳"
      ],
      "expected": [
        {
          "key": "amount",
          "label": "年金額（年額）",
          "value": 236.7196,
          "unit": "万円"
        }
      ],
      "derivation": "厚生年金の加入20年以上で配偶者が65歳未満のため、加給年金42.37万円を加える。194.3496万円＋42.37万円＝236.7196万円。",
      "evidence": [
        "pension.kakyu_amount"
      ]
    },
    {
      "id": "housing_loan.new_energy_2026",
      "area": "住宅ローン控除",
      "title": "新築・省エネ基準適合住宅・2026年入居（年末残高3,000万円）",
      "conditions": [
        "新築・省エネ基準適合住宅",
        "2026年入居・2026年の控除",
        "年末残高 3,000万円"
      ],
      "expected": [
        {
          "key": "deduction",
          "label": "控除額",
          "value": 14,
          "unit": "万円"
        }
      ],
      "derivation": "3,000万円×0.7%＝21万円が、各年の控除限度額14万円を上回るため14万円。",
      "evidence": [
        "housing_loan.deduction_rate",
        "housing_loan.new_2026_2027"
      ]
    },
    {
      "id": "housing_loan.new_energy_2026_family",
      "area": "住宅ローン控除",
      "title": "同・子育て世帯または若者夫婦世帯",
      "conditions": [
        "新築・省エネ基準適合住宅",
        "2026年入居",
        "年末残高 3,000万円",
        "入居年に19歳未満の子がいる、または夫婦のどちらかが40歳未満"
      ],
      "expected": [
        {
          "key": "deduction",
          "label": "控除額",
          "value": 21,
          "unit": "万円"
        }
      ],
      "derivation": "控除限度額が21万円に上がる。3,000万円×0.7%＝21万円。",
      "evidence": [
        "housing_loan.new_2026_2027"
      ]
    },
    {
      "id": "housing_loan.new_zeh_2026",
      "area": "住宅ローン控除",
      "title": "新築・ZEH水準省エネ住宅・2026年入居（年末残高3,000万円）",
      "conditions": [
        "新築・ZEH水準省エネ住宅",
        "2026年入居",
        "年末残高 3,000万円"
      ],
      "expected": [
        {
          "key": "deduction",
          "label": "控除額",
          "value": 21,
          "unit": "万円"
        }
      ],
      "derivation": "3,000万円×0.7%＝21万円が控除限度額24.5万円以下のため21万円。",
      "evidence": [
        "housing_loan.new_2026_2027"
      ]
    },
    {
      "id": "housing_loan.new_other_2026",
      "area": "住宅ローン控除",
      "title": "新築・その他の住宅・2026年入居",
      "conditions": [
        "新築・その他の住宅（省エネ基準に適合しない）",
        "2026年入居",
        "年末残高 3,000万円"
      ],
      "expected": [
        {
          "key": "deduction",
          "label": "控除額",
          "value": 0,
          "unit": "万円"
        }
      ],
      "derivation": "2024年以降に入居する新築のその他の住宅は、原則として控除の対象外。",
      "evidence": [
        "housing_loan.new_2026_2027"
      ]
    },
    {
      "id": "housing_loan.used_energy_period",
      "area": "住宅ローン控除",
      "title": "中古・省エネ基準適合住宅・2026年入居の13年目と14年目",
      "conditions": [
        "中古・省エネ基準適合住宅",
        "2026年入居",
        "年末残高 2,000万円",
        "2038年（13年目）と2039年（14年目）"
      ],
      "expected": [
        {
          "key": "deduction13",
          "label": "13年目の控除額",
          "value": 14,
          "unit": "万円"
        },
        {
          "key": "deduction14",
          "label": "14年目の控除額",
          "value": 0,
          "unit": "万円"
        }
      ],
      "derivation": "2026年以降に入居する中古の省エネ基準適合住宅は13年・各年14万円。2,000万円×0.7%＝14万円。控除期間（13年）を過ぎた14年目は0円。",
      "evidence": [
        "housing_loan.used_2026_2030"
      ]
    },
    {
      "id": "housing_loan.income_over_2000",
      "area": "住宅ローン控除",
      "title": "合計所得2,100万円の年",
      "conditions": [
        "新築・省エネ基準適合住宅",
        "2026年入居",
        "年末残高 3,000万円",
        "合計所得 2,100万円"
      ],
      "expected": [
        {
          "key": "deduction",
          "label": "控除額",
          "value": 0,
          "unit": "万円"
        }
      ],
      "derivation": "合計所得2,000万円を超える年は控除を受けられない。",
      "evidence": [
        "housing_loan.income_max"
      ]
    },
    {
      "id": "housing_loan.legacy_2021",
      "area": "住宅ローン控除",
      "title": "2021年入居・新築（令和3年以前の制度）",
      "conditions": [
        "新築（一般の住宅）",
        "2021年入居・2026年の控除",
        "年末残高 3,000万円"
      ],
      "expected": [
        {
          "key": "deduction",
          "label": "控除額",
          "value": 30,
          "unit": "万円"
        }
      ],
      "derivation": "令和3年以前の入居は控除率1%・10年（簡略化）。3,000万円×1%＝30万円が上限40万円以下のため30万円。",
      "evidence": [
        "housing_loan.legacy"
      ]
    },
    {
      "id": "retirement.deduction",
      "area": "退職所得",
      "title": "退職所得控除（勤続30年・10.2年・1年）",
      "conditions": [
        "勤続 30年／10.2年／1年"
      ],
      "expected": [
        {
          "key": "years30",
          "label": "勤続30年",
          "value": 15000000,
          "unit": "円"
        },
        {
          "key": "years10_2",
          "label": "勤続10.2年",
          "value": 4400000,
          "unit": "円"
        },
        {
          "key": "years1",
          "label": "勤続1年",
          "value": 800000,
          "unit": "円"
        }
      ],
      "derivation": "20年以下は40万円×年数（最低80万円）、20年超は800万円＋70万円×（年数−20年）。1年未満の端数は1年に切り上げる（10.2年→11年）。30年: 800万円＋70万円×10＝1,500万円。11年: 40万円×11＝440万円。",
      "evidence": []
    },
    {
      "id": "retirement.taxable_and_tax",
      "area": "退職所得",
      "title": "退職金2,000万円・勤続30年の退職所得と税額",
      "conditions": [
        "退職金 2,000万円（一時金）",
        "勤続 30年"
      ],
      "expected": [
        {
          "key": "taxable",
          "label": "退職所得",
          "value": 2500000,
          "unit": "円"
        },
        {
          "key": "tax",
          "label": "所得税（復興特別所得税を含む）＋住民税",
          "value": 405702.5,
          "unit": "円"
        }
      ],
      "derivation": "（2,000万円−1,500万円）×1/2＝250万円。所得税 250万円×10%−97,500円＝152,500円、×1.021＝155,702.5円。住民税 250万円×10%＝250,000円。合計405,702.5円。",
      "evidence": [
        "tax.progressive_brackets",
        "tax.reconstruction_surtax_rate"
      ]
    },
    {
      "id": "retirement.short_service",
      "area": "退職所得",
      "title": "勤続5年以下の退職金1,000万円（1/2にしない部分）",
      "conditions": [
        "退職金 1,000万円",
        "勤続 5年（役員等ではない）"
      ],
      "expected": [
        {
          "key": "taxable",
          "label": "退職所得",
          "value": 6500000,
          "unit": "円"
        }
      ],
      "derivation": "控除 40万円×5＝200万円、残り800万円。300万円までは1/2（150万円）、超える500万円は1/2にしない。150万円＋500万円＝650万円。",
      "evidence": []
    },
    {
      "id": "ideco.contribution_deduction",
      "area": "iDeCo",
      "title": "掛金の節税額（会社員・独身・年収500万円・掛金月2.3万円）",
      "conditions": [
        "会社員・独身・35歳",
        "給与収入 500万円（社会保険料 738,250円）",
        "iDeCoの掛金 月2.3万円（年27.6万円）"
      ],
      "expected": [
        {
          "key": "benefit",
          "label": "所得税・住民税の減少額",
          "value": 41689.8,
          "unit": "円"
        }
      ],
      "derivation": "掛金は全額が所得控除（小規模企業共済等掛金控除）。所得税の課税所得 1,781,750円→1,505,750円で税率5%のまま、住民税の課税所得 2,391,750円→2,115,750円で調整控除は2,500円のまま。27.6万円×（5%×1.021＋10%）＝41,689.8円。",
      "evidence": [
        "tax.progressive_brackets",
        "tax.reconstruction_surtax_rate",
        "tax.resident_tax.income_rate"
      ]
    },
    {
      "id": "ideco.lump_sum",
      "area": "iDeCo",
      "title": "一時金で受け取る（2,448万円・加入30年・退職金なし）",
      "conditions": [
        "iDeCoの一時金 2,448万円",
        "加入 30年",
        "同じ時期に勤務先の退職金なし"
      ],
      "expected": [
        {
          "key": "taxable",
          "label": "退職所得",
          "value": 4740000,
          "unit": "円"
        },
        {
          "key": "tax",
          "label": "所得税（復興特別所得税を含む）＋住民税",
          "value": 1005430.5,
          "unit": "円"
        }
      ],
      "derivation": "一時金は退職所得。加入30年の退職所得控除 800万円＋70万円×10＝1,500万円。（2,448万円−1,500万円）×1/2＝474万円。所得税 474万円×20%−427,500円＝520,500円、×1.021＝531,430.5円。住民税 474,000円。合計1,005,430.5円。",
      "evidence": [
        "tax.progressive_brackets",
        "tax.reconstruction_surtax_rate"
      ]
    },
    {
      "id": "ideco.lump_sum_after_severance",
      "area": "iDeCo",
      "title": "退職金を先に受け取っていた場合（重なる期間の控除を差し引く）",
      "conditions": [
        "50歳で勤務先の退職金を受け取り（勤続28年: 22〜49歳）",
        "iDeCoは35〜64歳に30年加入し、65歳に一時金2,448万円",
        "重なる加入期間は35〜49歳の15年"
      ],
      "expected": [
        {
          "key": "deduction",
          "label": "退職所得控除",
          "value": 9000000,
          "unit": "円"
        },
        {
          "key": "tax",
          "label": "所得税（復興特別所得税を含む）＋住民税",
          "value": 1942228.2,
          "unit": "円"
        }
      ],
      "derivation": "一時金を受け取る年の前年以前19年内に退職金を受け取っているため、加入30年の控除1,500万円から、重なる15年分の控除相当額（40万円×15＝600万円）を差し引いて900万円。（2,448万円−900万円）×1/2＝774万円。所得税 774万円×23%−636,000円＝1,144,200円、×1.021＝1,168,228.2円。住民税 774,000円。合計1,942,228.2円。",
      "evidence": [
        "retirement.overlap_windows",
        "tax.progressive_brackets"
      ]
    },
    {
      "id": "ideco.annuity",
      "area": "iDeCo",
      "title": "年金で受け取る（66歳・公的年金200万円＋iDeCo年60万円）",
      "conditions": [
        "66歳・独身・収入は年金だけ",
        "公的年金 年200万円",
        "iDeCoを年金で 年60万円"
      ],
      "expected": [
        {
          "key": "increase",
          "label": "iDeCoの年金で増える所得税・住民税",
          "value": 83483,
          "unit": "円"
        }
      ],
      "derivation": "公的年金等（雑所得）として合算し、公的年金等控除（65歳以上・年金収入330万円以下は110万円）を差し引く。iDeCoなし: 所得90万円で所得税0円、住民税（90万円−43万円）×10%−2,500円＋5,000円＝49,500円。iDeCoあり: 所得150万円で所得税（150万円−104万円）×5%×1.021＝23,483円、住民税（150万円−43万円）×10%−2,500円＋5,000円＝109,500円。増加分 23,483円＋60,000円＝83,483円。",
      "evidence": [
        "tax.basic_deduction.brackets",
        "tax.resident.basic_deduction",
        "tax.resident.adjustment_min",
        "tax.resident.per_capita_levy"
      ]
    },
    {
      "id": "tools.furusato_500",
      "area": "無料ツール",
      "title": "ふるさと納税の控除上限額（会社員・独身・年収500万円）",
      "conditions": [
        "会社員・独身・35歳",
        "給与収入 500万円"
      ],
      "expected": [
        {
          "key": "limit",
          "label": "控除上限額",
          "value": 57757,
          "unit": "円"
        }
      ],
      "derivation": "住民税所得割（調整控除の後）236,675円、所得税の限界税率5%。236,675円×20%÷（90%−5%×1.021）＝55,757.1円を円単位に四捨五入して55,757円、＋2,000円＝57,757円（ツールでは千円未満を切り捨てて表示）。",
      "evidence": [
        "tax.reconstruction_surtax_rate",
        "tax.resident.adjustment_min"
      ]
    },
    {
      "id": "tools.child_allowance_third",
      "area": "無料ツール",
      "title": "児童手当（20歳・10歳・5歳の3人きょうだい）",
      "conditions": [
        "子の年齢 20歳・10歳・5歳（20歳は大学生で扶養内）"
      ],
      "expected": [
        {
          "key": "firstYear",
          "label": "1年間の受取額",
          "value": 48,
          "unit": "万円"
        }
      ],
      "derivation": "22歳までの子を年上から数えると5歳の子が第3子で月3万円、10歳の子は月1万円、20歳の子は支給対象外。（1万円＋3万円）×12か月＝48万円。",
      "evidence": []
    }
  ]
}
