{"id":112,"date":"2026-10-19T02:31:20","date_gmt":"2026-10-19T02:31:20","guid":{"rendered":"https:\/\/toshinosakon-money.com\/?p=112"},"modified":"2026-10-19T02:43:39","modified_gmt":"2026-10-19T02:43:39","slug":"husband65-wife40-pension-gap","status":"publish","type":"post","link":"https:\/\/toshinosakon-money.com\/?p=112","title":{"rendered":"\u5e74\u306e\u5dee\u5a5a\u3067\u592b65\u6b73\u30fb\u59bb40\u6b73\u306e\u5e74\u91d1\u751f\u6d3b\uff5c25\u5e74\u306e\u53ce\u5165\u5dee\u3092\u3069\u3046\u88dc\u3046\uff1f"},"content":{"rendered":"\n<div class=\"ag-article\" style=\"line-height:1.95;overflow-wrap:anywhere\"><p>\u592b65\u6b73\u30fb\u59bb40\u6b73\u306e\u592b\u5a66\u3067\u306f\u3001\u59bb\u304c65\u6b73\u306b\u306a\u308b\u307e\u306725\u5e74\u3042\u308a\u307e\u3059\u3002\u592b\u5a662\u4eba\u5206\u306e\u5e74\u91d1\u3092\u6700\u521d\u304b\u3089\u5408\u7b97\u3059\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u592b\u306e\u5e74\u91d1\u3068\u59bb\u306e\u53ce\u5165\u3067\u66ae\u3089\u3059\u6642\u671f\u3001\u59bb\u304c\u9000\u8077\u3057\u3066\u304b\u3089\u5e74\u91d1\u3092\u53d7\u3051\u53d6\u308b\u307e\u3067\u306e\u6642\u671f\u3092\u5206\u3051\u3066\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u300225\u5e74\u5206\u306e\u751f\u6d3b\u8cbb\u3059\u3079\u3066\u3092\u8caf\u84c4\u3067\u7528\u610f\u3059\u308b\u3068\u3044\u3046\u610f\u5473\u3067\u306f\u306a\u304f\u3001\u53ce\u5165\u3067\u8db3\u308a\u306a\u3044\u5206\u3092\u63a2\u3059\u8a08\u7b97\u3067\u3059\u3002<\/p><p><span class=\"green\" style=\"background:linear-gradient(transparent 62%,#d5e8cb 62%)\"><strong>25\u5e74\u5206\u306e\u751f\u6d3b\u8cbb\u5168\u984d\u3067\u306f\u306a\u304f\u3001\u592b\u306e\u5e74\u91d1\u3068\u59bb\u306e\u53ce\u5165\u3067\u8db3\u308a\u306a\u3044\u671f\u9593\u3092\u63a2\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/strong><\/span><\/p><div class=\"table-wrap\" style=\"overflow-x:auto;margin:18px 0 26px\"><table style=\"width:100%;border-collapse:collapse\"><tr><th scope=\"col\" style=\"padding:12px;border:1px solid #d6ded8;background:#edf2eb;text-align:left\">\u3053\u306e\u8a18\u4e8b\u3067\u5206\u304b\u308b\u3053\u3068<\/th><th scope=\"col\" style=\"padding:12px;border:1px solid #d6ded8;background:#edf2eb;text-align:left\">\u78ba\u8a8d\u3059\u308b\u5185\u5bb9<\/th><\/tr><tr><td style=\"padding:12px;border:1px solid #d6ded8;\">1<\/td><td style=\"padding:12px;border:1px solid #d6ded8;\">\u5e74\u306e\u5dee\u5a5a\u3067\u592b65\u6b73\u30fb\u59bb40\u6b73\u306e\u5e74\u91d1\u751f\u6d3b\u3092\u4e8c\u4eba\u5225\u3005\u306b\u78ba\u8a8d\u3059\u308b<\/td><\/tr><tr><td style=\"padding:12px;border:1px solid #d6ded8;\">2<\/td><td style=\"padding:12px;border:1px solid #d6ded8;\">\u5e74\u306e\u5dee\u5a5a\u3067\u592b65\u6b73\u30fb\u59bb40\u6b73\u306e\u5e74\u91d1\u751f\u6d3b\u306e\u4e0d\u8db3\u3092\u4e8c\u6bb5\u968e\u3067\u8a66\u3059<\/td><\/tr><tr><td style=\"padding:12px;border:1px solid #d6ded8;\">3<\/td><td style=\"padding:12px;border:1px solid #d6ded8;\">\u5e74\u306e\u5dee\u5a5a\u3067\u592b65\u6b73\u30fb\u59bb40\u6b73\u306e\u5e74\u91d1\u751f\u6d3b\u3092\u9577\u671f\u306e\u5909\u5316\u306b\u5099\u3048\u308b<\/td><\/tr><\/table><\/div><div class=\"cta\" style=\"padding:22px;background:#f1f5ed;border:1px solid #cbd7ce;border-radius:10px;margin:28px 0\"><p class=\"cta-title\"><strong>\u307e\u305a\u3001\u3054\u81ea\u8eab\u306e\u6761\u4ef6\u3067\u6bd4\u8f03\u3059\u308b<\/strong><\/p><p>\u5fc5\u8981\u306a\u624b\u53d6\u308a\u30fb\u652f\u51fa\u3092\u7528\u610f\u3057\u3066\u3001<a href=\"#agq-B04\">\u3053\u306e\u8a18\u4e8b\u306e\u6bd4\u8f03\u30c4\u30fc\u30eb<\/a>\u3067\u8abf\u6574\u3067\u304d\u308b\u6761\u4ef6\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p><p style=\"text-align:center\"><a class=\"cta-button\" href=\"#agq-B04\" style=\"display:inline-block;background:#315e50;color:white;padding:12px 22px;border-radius:6px;text-decoration:none\">\u5bb6\u8a08\u306e\u6761\u4ef6\u3092\u6bd4\u8f03\u3059\u308b<\/a><\/p><p class=\"note\" style=\"font-size:.85em\">\u521d\u671f\u5024\u306f\u67b6\u7a7a\u4f8b\u3067\u3059\u3002\u5165\u529b\u3092\u9001\u4fe1\u305b\u305a\u3001\u305d\u306e\u5834\u3067\u7d50\u679c\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p><\/div><h2 id=\"b04-section-1\">\u5e74\u306e\u5dee\u5a5a\u3067\u592b65\u6b73\u30fb\u59bb40\u6b73\u306e\u5e74\u91d1\u751f\u6d3b\u3092\u4e8c\u4eba\u5225\u3005\u306b\u78ba\u8a8d\u3059\u308b<\/h2><figure class=\"ag-section-image\" style=\"margin:18px 0 26px\"><img src=\"https:\/\/toshinosakon-money.com\/wp-content\/uploads\/2026\/10\/b04-h2-1.webp\" alt=\"\u592b\u306e\u5e74\u91d1\u304c\u59cb\u307e\u308b\u3002\u59bb\u306e\u7d66\u4e0e\u304c\u7d9a\u304f\u3002\u59bb\u81ea\u8eab\u306e\u5e74\u91d1\u304c\u59cb\u307e\u308b\" width=\"1000\" height=\"620\" loading=\"lazy\" decoding=\"async\" style=\"display:block;width:100%;height:auto;aspect-ratio:1000\/620;border-radius:12px\"\/><\/figure><div class=\"table-wrap\" style=\"overflow-x:auto;margin:18px 0 26px\"><table style=\"width:100%;border-collapse:collapse\"><tr><th scope=\"col\" style=\"padding:12px;border:1px solid #d6ded8;background:#edf2eb;text-align:left\">\u78ba\u8a8d\u3059\u308b\u3053\u3068<\/th><th scope=\"col\" style=\"padding:12px;border:1px solid #d6ded8;background:#edf2eb;text-align:left\">\u5bb6\u8a08\u4e0a\u306e\u6271\u3044<\/th><\/tr><tr><td style=\"padding:12px;border:1px solid #d6ded8;\">\u592b\u306e\u5e74\u91d1<\/td><td style=\"padding:12px;border:1px solid #d6ded8;\">\u672c\u4eba\u306e\u53d7\u7d66\u8cc7\u683c\u3068\u624b\u53d6\u308a\u898b\u8fbc\u307f<\/td><\/tr><tr><td style=\"padding:12px;border:1px solid #d6ded8;\">\u59bb\u306e\u7d66\u4e0e<\/td><td style=\"padding:12px;border:1px solid #d6ded8;\">\u50cd\u304f\u671f\u9593\u3068\u624b\u53d6\u308a<\/td><\/tr><tr><td style=\"padding:12px;border:1px solid #d6ded8;\">\u59bb\u306e\u8001\u9f62\u5e74\u91d1<\/td><td style=\"padding:12px;border:1px solid #d6ded8;\">\u672c\u4eba\u306e\u8cc7\u683c\u30fb\u53d7\u7d66\u958b\u59cb\u6642\u671f<\/td><\/tr><\/table><\/div><h3>25\u5e74\u306f\u5e74\u91d1\u958b\u59cb\u306e\u5dee\u3067\u3042\u308a\u7121\u53ce\u5165\u306e\u671f\u9593\u3067\u306f\u306a\u3044<\/h3><div class=\"table-wrap\" style=\"overflow-x:auto;margin:18px 0 26px\"><table style=\"width:100%;border-collapse:collapse\"><tr><th scope=\"col\" style=\"padding:12px;border:1px solid #d6ded8;background:#edf2eb;text-align:left\">\u78ba\u8a8d\u3059\u308b\u89b3\u70b9<\/th><th scope=\"col\" style=\"padding:12px;border:1px solid #d6ded8;background:#edf2eb;text-align:left\">\u3053\u306e\u7bc0\u306e\u7d50\u8ad6<\/th><\/tr><tr><td style=\"padding:12px;border:1px solid #d6ded8;\">25\u5e74\u306f\u5e74\u91d1\u958b\u59cb\u306e\u5dee\u3067\u3042\u308a\u7121\u53ce\u5165\u306e\u671f\u9593\u3067\u306f\u306a\u3044<\/td><td style=\"padding:12px;border:1px solid #d6ded8;\">\u592b65\u6b73\u3001\u59bb40\u6b73\u306e\u5e74\u9f62\u5dee\u306f25\u5e74\u3067\u3059\u3002<\/td><\/tr><\/table><\/div><p><strong>\u592b65\u6b73\u3001\u59bb40\u6b73\u306e\u5e74\u9f62\u5dee\u306f25\u5e74\u3067\u3059\u3002<\/strong><\/p><p>\u59bb\u304c\u539f\u5247\u306e65\u6b73\u3067\u8001\u9f62\u5e74\u91d1\u3092\u53d7\u3051\u53d6\u308b\u3068\u4eee\u5b9a\u3059\u308b\u3068\u3001\u305d\u306e\u958b\u59cb\u307e\u306725\u5e74\u3042\u308a\u307e\u3059\u304c\u3001\u59bb\u304c\u305d\u306e\u9593\u50cd\u304f\u306a\u3089\u7d66\u4e0e\u53ce\u5165\u304c\u3042\u308a\u307e\u3059\u3002<\/p><p>\u751f\u6d3b\u8cbb\u306b25\u5e74\u3092\u639b\u3051\u305f\u7dcf\u984d\u3092\u3059\u3079\u3066\u9810\u91d1\u3067\u6e96\u5099\u3059\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u592b\u306e\u5e74\u91d1\u3068\u59bb\u306e\u7d66\u4e0e\u3067\u3069\u3053\u307e\u3067\u6255\u3048\u308b\u304b\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p><p>\u592b\u304c\u50cd\u304f\u5834\u5408\u306b\u306f\u305d\u306e\u53ce\u5165\u3082\u542b\u3081\u3089\u308c\u307e\u3059\u304c\u3001\u5e74\u91d1\u306e\u8abf\u6574\u3084\u624b\u53d6\u308a\u3092\u500b\u5225\u306b\u78ba\u8a8d\u3057\u305f\u3046\u3048\u3067\u5165\u529b\u3057\u307e\u3059\u3002<\/p><p>\u8001\u9f62\u57fa\u790e\u5e74\u91d1\u306b\u306f\u53d7\u7d66\u8cc7\u683c\u671f\u9593\u306a\u3069\u306e\u6761\u4ef6\u304c\u3042\u308a\u300165\u6b73\u306b\u306a\u308b\u3060\u3051\u3067\u8ab0\u3082\u304c\u540c\u3058\u984d\u3092\u53d7\u3051\u53d6\u308b\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p><p>\u592b\u5a66\u305d\u308c\u305e\u308c\u306e\u52a0\u5165\u8a18\u9332\u3068\u898b\u8fbc\u984d\u3092\u78ba\u8a8d\u3057\u3001\u59bb\u304c\u4eca\u306e\u50cd\u304d\u65b9\u3092\u7d9a\u3051\u308b\u6848\u3068\u52e4\u52d9\u3092\u5909\u3048\u308b\u6848\u3092\u6bd4\u3079\u307e\u3059\u3002<\/p><p>\u9577\u3044\u671f\u9593\u306e\u5bb6\u8a08\u3067\u306f\u3001\u59bb\u306e\u53ce\u5165\u3060\u3051\u3092\u5909\u3048\u305a\u306b\u56fa\u5b9a\u3059\u308b\u3053\u3068\u306b\u3082\u9650\u754c\u304c\u3042\u308b\u305f\u3081\u3001\u307e\u305a\u4e00\u5b9a\u6761\u4ef6\u306e\u7c21\u6613\u8a08\u7b97\u3067\u898f\u6a21\u3092\u3064\u304b\u307f\u3001\u5b9f\u969b\u306e\u9000\u8077\u5e74\u9f62\u3084\u652f\u51fa\u306e\u5909\u5316\u306b\u5408\u308f\u305b\u3066\u671f\u9593\u3092\u5206\u3051\u307e\u3059\u3002<\/p><p>\u592b\u306e\u5e74\u91d1\u958b\u59cb\u65e5\u3092\u592b\u5a66\u306e\u8001\u5f8c\u306e\u59cb\u307e\u308a\u3068\u4e00\u62ec\u308a\u306b\u305b\u305a\u3001\u305d\u308c\u305e\u308c\u306e\u53ce\u5165\u306e\u6642\u671f\u3092\u5206\u3051\u308b\u3053\u3068\u304c\u5224\u65ad\u306e\u571f\u53f0\u3067\u3059\u3002<\/p><div class=\"points\" style=\"padding:18px 22px;background:#f1f5ed;border-left:4px solid #315e50;margin:24px 0\"><strong>\u30dd\u30a4\u30f3\u30c8<\/strong><ul><li>\u592b\u5a66\u305d\u308c\u305e\u308c\u306e\u5e74\u91d1\u8a18\u9332\u3092\u78ba\u8a8d\u3059\u308b<\/li><li>\u59bb\u306e\u5c31\u52b4\u4e2d\u3068\u9000\u8077\u5f8c\u3092\u5206\u3051\u308b<\/li><\/ul><\/div><h3>\u52a0\u7d66\u5e74\u91d1\u3092\u5e74\u9f62\u5dee\u3060\u3051\u3067\u81ea\u52d5\u8a08\u4e0a\u3057\u306a\u3044<\/h3><div class=\"table-wrap\" style=\"overflow-x:auto;margin:18px 0 26px\"><table style=\"width:100%;border-collapse:collapse\"><tr><th scope=\"col\" style=\"padding:12px;border:1px solid #d6ded8;background:#edf2eb;text-align:left\">\u78ba\u8a8d\u3059\u308b\u89b3\u70b9<\/th><th scope=\"col\" style=\"padding:12px;border:1px solid #d6ded8;background:#edf2eb;text-align:left\">\u3053\u306e\u7bc0\u306e\u7d50\u8ad6<\/th><\/tr><tr><td style=\"padding:12px;border:1px solid #d6ded8;\">\u52a0\u7d66\u5e74\u91d1\u3092\u5e74\u9f62\u5dee\u3060\u3051\u3067\u81ea\u52d5\u8a08\u4e0a\u3057\u306a\u3044<\/td><td style=\"padding:12px;border:1px solid #d6ded8;\">\u914d\u5076\u8005\u3068\u306e\u5e74\u9f62\u5dee\u304c\u3042\u308b\u3068\u52a0\u7d66\u5e74\u91d1\u3092\u53d7\u3051\u53d6\u308c\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u5e74\u9f62\u5dee\u3060\u3051\u3067\u53d7\u7d66\u304c\u6c7a\u307e\u308b\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/td><\/tr><\/table><\/div><p><strong>\u914d\u5076\u8005\u3068\u306e\u5e74\u9f62\u5dee\u304c\u3042\u308b\u3068\u52a0\u7d66\u5e74\u91d1\u3092\u53d7\u3051\u53d6\u308c\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u5e74\u9f62\u5dee\u3060\u3051\u3067\u53d7\u7d66\u304c\u6c7a\u307e\u308b\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/strong><\/p><p>\u539a\u751f\u5e74\u91d1\u306e\u52a0\u5165\u671f\u9593\u3001\u751f\u8a08\u7dad\u6301\u3001\u914d\u5076\u8005\u306e\u5e74\u91d1\u306e\u53d7\u7d66\u6a29\u306a\u3069\u3001\u78ba\u8a8d\u3059\u3079\u304d\u6761\u4ef6\u304c\u3042\u308a\u307e\u3059\u3002<\/p><p>\u5c06\u6765\u53d7\u3051\u53d6\u308c\u308b\u671f\u9593\u3084\u91d1\u984d\u3082\u3001\u5236\u5ea6\u6539\u6b63\u3084\u672c\u4eba\u306e\u72b6\u6cc1\u3067\u5909\u308f\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p><p>\u53d7\u7d66\u3067\u304d\u308b\u304b\u78ba\u8a8d\u3057\u3066\u3044\u306a\u3044\u6bb5\u968e\u3067\u3001\u6bce\u6708\u306e\u4e0d\u8db3\u3092\u57cb\u3081\u308b\u78ba\u5b9a\u53ce\u5165\u3068\u3057\u3066\u8a08\u753b\u306b\u5165\u308c\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002<\/p><p>\u3053\u306e\u8a18\u4e8b\u306e\u30c4\u30fc\u30eb\u306f\u52a0\u7d66\u5e74\u91d1\u306e\u8cc7\u683c\u3084\u984d\u3092\u81ea\u52d5\u5224\u5b9a\u3057\u307e\u305b\u3093\u3002<\/p><p>\u5e74\u91d1\u4e8b\u52d9\u6240\u306a\u3069\u3067\u5bfe\u8c61\u3068\u671f\u9593\u3092\u78ba\u8a8d\u3067\u304d\u305f\u5834\u5408\u306f\u3001\u305d\u306e\u671f\u9593\u306e\u592b\u306e\u53d7\u53d6\u898b\u8fbc\u307f\u306b\u53cd\u6620\u3057\u3066\u5225\u306b\u8a08\u7b97\u3057\u307e\u3059\u3002<\/p><p>\u59bb\u304c65\u6b73\u306b\u306a\u308b\u524d\u306b\u6761\u4ef6\u304c\u5909\u308f\u308b\u5834\u5408\u3082\u3042\u308b\u305f\u3081\u300125\u5e74\u9593\u305a\u3063\u3068\u4e00\u5b9a\u306e\u52a0\u7b97\u3092\u8db3\u3059\u8a08\u7b97\u306f\u907f\u3051\u307e\u3059\u3002<\/p><p>\u5bfe\u8c61\u5916\u3067\u3082\u6210\u7acb\u3059\u308b\u5bb6\u8a08\u3068\u3001\u78ba\u8a8d\u6e08\u307f\u306e\u52a0\u7b97\u3092\u53d7\u3051\u53d6\u308b\u5bb6\u8a08\u3092\u5206\u3051\u308c\u3070\u3001\u5236\u5ea6\u3060\u3051\u3092\u983c\u308a\u306b\u3057\u305f\u4e0d\u8db3\u306e\u898b\u843d\u3068\u3057\u3092\u9632\u3052\u307e\u3059\u3002<\/p><p>\u53d7\u7d66\u901a\u77e5\u3084\u898b\u8fbc\u307f\u3092\u78ba\u8a8d\u3067\u304d\u305f\u3068\u304d\u306b\u8a08\u753b\u3092\u66f4\u65b0\u3059\u308b\u65b9\u91dd\u306a\u3089\u3001\u4e0d\u660e\u306a\u5236\u5ea6\u3092\u6025\u3044\u3067\u697d\u89b3\u7684\u306b\u898b\u7a4d\u3082\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p><div class=\"points\" style=\"padding:18px 22px;background:#f1f5ed;border-left:4px solid #315e50;margin:24px 0\"><strong>\u30dd\u30a4\u30f3\u30c8<\/strong><ul><li>\u52a0\u7d66\u5e74\u91d1\u306e\u5bfe\u8c61\u3068\u671f\u9593\u3092\u5e74\u91d1\u4e8b\u52d9\u6240\u3067\u78ba\u8a8d\u3059\u308b<\/li><li>\u672a\u78ba\u8a8d\u306e\u52a0\u7b97\u3092\u57fa\u672c\u306e\u53ce\u5165\u306b\u5165\u308c\u306a\u3044<\/li><\/ul><\/div><h2 id=\"b04-section-2\">\u5e74\u306e\u5dee\u5a5a\u3067\u592b65\u6b73\u30fb\u59bb40\u6b73\u306e\u5e74\u91d1\u751f\u6d3b\u306e\u4e0d\u8db3\u3092\u4e8c\u6bb5\u968e\u3067\u8a66\u3059<\/h2><figure class=\"ag-section-image\" style=\"margin:18px 0 26px\"><img src=\"https:\/\/toshinosakon-money.com\/wp-content\/uploads\/2026\/10\/b04-h2-2.webp\" alt=\"\u59bb40\u301c60\u6b73\uff1a\u9ed2\u5b57480\u4e07\u5186\u3002\u59bb60\u301c65\u6b73\uff1a\u4e0d\u8db3600\u4e07\u5186\u3002\u524d\u534a\u306e\u9ed2\u5b57\u3060\u3051\u306a\u3089\u5dee\u984d120\u4e07\u5186\u3002\u67b6\u7a7a\u4f8b\" width=\"1000\" height=\"620\" loading=\"lazy\" decoding=\"async\" style=\"display:block;width:100%;height:auto;aspect-ratio:1000\/620;border-radius:12px\"\/><\/figure><div class=\"table-wrap\" style=\"overflow-x:auto;margin:18px 0 26px\"><table style=\"width:100%;border-collapse:collapse\"><tr><th scope=\"col\" style=\"padding:12px;border:1px solid #d6ded8;background:#edf2eb;text-align:left\">\u67b6\u7a7a\u306e\u6761\u4ef6<\/th><th scope=\"col\" style=\"padding:12px;border:1px solid #d6ded8;background:#edf2eb;text-align:left\">\u4eee\u5b9a<\/th><\/tr><tr><td style=\"padding:12px;border:1px solid #d6ded8;\">\u592b\u306e\u5e74\u91d1\u624b\u53d6\u308a<\/td><td style=\"padding:12px;border:1px solid #d6ded8;\">\u670816\u4e07\u5186<\/td><\/tr><tr><td style=\"padding:12px;border:1px solid #d6ded8;\">\u59bb\u306e\u624b\u53d6\u308a\u30fb\u9000\u8077\u5e74\u9f62<\/td><td style=\"padding:12px;border:1px solid #d6ded8;\">\u670812\u4e07\u5186\u30fb60\u6b73<\/td><\/tr><tr><td style=\"padding:12px;border:1px solid #d6ded8;\">\u6708\u306e\u652f\u51fa<\/td><td style=\"padding:12px;border:1px solid #d6ded8;\">26\u4e07\u5186<\/td><\/tr><tr><td style=\"padding:12px;border:1px solid #d6ded8;\">\u59bb\u306e\u5e74\u91d1\u958b\u59cb<\/td><td style=\"padding:12px;border:1px solid #d6ded8;\">65\u6b73\u3068\u4eee\u5b9a<\/td><\/tr><\/table><\/div><h3>\u59bb\u306e\u9000\u8077\u304b\u3089\u5e74\u91d1\u307e\u3067\u306e5\u5e74\u9593\u3092\u5206\u3051\u308b<\/h3><div class=\"table-wrap\" style=\"overflow-x:auto;margin:18px 0 26px\"><table style=\"width:100%;border-collapse:collapse\"><tr><th scope=\"col\" style=\"padding:12px;border:1px solid #d6ded8;background:#edf2eb;text-align:left\">\u78ba\u8a8d\u3059\u308b\u89b3\u70b9<\/th><th scope=\"col\" style=\"padding:12px;border:1px solid #d6ded8;background:#edf2eb;text-align:left\">\u3053\u306e\u7bc0\u306e\u7d50\u8ad6<\/th><\/tr><tr><td style=\"padding:12px;border:1px solid #d6ded8;\">\u59bb\u306e\u9000\u8077\u304b\u3089\u5e74\u91d1\u307e\u3067\u306e5\u5e74\u9593\u3092\u5206\u3051\u308b<\/td><td style=\"padding:12px;border:1px solid #d6ded8;\">\u3053\u306e\u67b6\u7a7a\u4f8b\u3067\u306f\u59bb\u304c40\u6b73\u304b\u308960\u6b73\u307e\u3067\u50cd\u304f20\u5e74\u9593\u3001\u670828\u4e07\u5186\u306e\u53ce\u5165\u304b\u3089\u670826\u4e07\u5186\u3092\u652f\u51fa\u3059\u308b\u306e\u3067\u3001\u67082\u4e07\u5186\u306e\u9ed2\u5b57\u3067\u3059\u3002<\/td><\/tr><\/table><\/div><p><strong>\u3053\u306e\u67b6\u7a7a\u4f8b\u3067\u306f\u59bb\u304c40\u6b73\u304b\u308960\u6b73\u307e\u3067\u50cd\u304f20\u5e74\u9593\u3001\u670828\u4e07\u5186\u306e\u53ce\u5165\u304b\u3089\u670826\u4e07\u5186\u3092\u652f\u51fa\u3059\u308b\u306e\u3067\u3001\u67082\u4e07\u5186\u306e\u9ed2\u5b57\u3067\u3059\u3002<\/strong><\/p><p>20\u5e74\u5206\u3067\u306f480\u4e07\u5186\u306b\u306a\u308a\u307e\u3059\u3002<\/p><p>\u305d\u306e\u5f8c\u3001\u59bb\u304c60\u6b73\u304b\u308965\u6b73\u307e\u3067\u7d66\u4e0e\u3082\u8001\u9f62\u5e74\u91d1\u3082\u306a\u3044\u3068\u4eee\u5b9a\u3059\u308b\u3068\u3001\u592b\u306e\u5e74\u91d1\u670816\u4e07\u5186\u306b\u5bfe\u3057\u3066\u670810\u4e07\u5186\u4e0d\u8db3\u3057\u30015\u5e74\u3067600\u4e07\u5186\u306e\u88dc\u586b\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p><p>\u524d\u534a\u306b\u8caf\u3081\u305f480\u4e07\u5186\u3060\u3051\u3067\u306f120\u4e07\u5186\u8db3\u308a\u307e\u305b\u3093\u3002<\/p><p>\u904b\u7528\u76ca\u3082\u7269\u4fa1\u5909\u52d5\u3082\u542b\u3081\u306a\u3044\u5358\u7d14\u6bd4\u8f03\u3067\u3059\u3002<\/p><p>\u4e0b\u306e\u8a08\u7b97\u306f\u592b\u304c\u3053\u306e\u671f\u9593\u3092\u901a\u3058\u3066\u540c\u3058\u5e74\u91d1\u3092\u53d7\u3051\u53d6\u308a\u7d9a\u3051\u3001\u652f\u51fa\u304c\u4e00\u5b9a\u3068\u3044\u3046\u4eee\u5b9a\u3067\u3059\u3002<\/p><p>\u9577\u3044\u671f\u9593\u306b\u306f\u751f\u6d3b\u6761\u4ef6\u304c\u5909\u308f\u308b\u305f\u3081\u3001\u7d50\u679c\u306f\u5c06\u6765\u306e\u8cc7\u91d1\u984d\u3092\u4fdd\u8a3c\u3057\u307e\u305b\u3093\u3002<\/p><p>\u4ecb\u8b77\u30fb\u533b\u7642\u8cbb\u3001\u4f4f\u307e\u3044\u306e\u4fee\u7e55\u3001\u592b\u304c\u4ea1\u304f\u306a\u3063\u305f\u5f8c\u306e\u53ce\u5165\u306a\u3069\u3082\u5225\u306b\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p><p>\u59bb\u304c\u9000\u8077\u6642\u671f\u3092\u5909\u3048\u308b\u6848\u3001\u52e4\u52d9\u65e5\u3092\u6e1b\u3089\u3057\u3066\u7d66\u4e0e\u3092\u3064\u306a\u3050\u6848\u3001\u652f\u51fa\u3092\u8abf\u6574\u3059\u308b\u6848\u3092\u6bd4\u8f03\u3059\u308b\u3068\u300125\u5e74\u3068\u3044\u3046\u9577\u3055\u3092\u4e00\u3064\u306e\u4e0d\u5b89\u306b\u305b\u305a\u3001\u8abf\u6574\u304c\u5fc5\u8981\u306a\u6642\u671f\u306b\u5206\u3051\u3066\u8003\u3048\u3089\u308c\u307e\u3059\u3002<\/p><p>\u524d\u534a\u306e\u9ed2\u5b57\u3082\u78ba\u5b9f\u306b\u6b8b\u305b\u308b\u984d\u3060\u3051\u3092\u4f7f\u3063\u3066\u5224\u65ad\u3059\u308b\u3053\u3068\u304c\u5927\u5207\u3067\u3059\u3002<\/p><div class=\"points\" style=\"padding:18px 22px;background:#f1f5ed;border-left:4px solid #315e50;margin:24px 0\"><strong>\u30dd\u30a4\u30f3\u30c8<\/strong><ul><li>\u59bb60\u6b73\u304b\u308965\u6b73\u307e\u3067\u306e\u53ce\u5165\u3092\u5225\u306b\u78ba\u8a8d\u3059\u308b<\/li><li>\u524d\u534a\u306e\u9ed2\u5b57\u3092\u6b8b\u305b\u308b\u304b\u5b9f\u969b\u306e\u5bb6\u8a08\u3067\u78ba\u304b\u3081\u308b<\/li><\/ul><\/div><!-- AG_QUICK_START -->\n<style>.ag-quick{color:#233b34;line-height:1.8;margin:28px 0;padding:24px;background:#f5f7f0;border:1px solid #cbd7ce;border-radius:14px;min-width:0;font-family:inherit}.ag-quick *{box-sizing:border-box}.ag-quick [hidden]{display:none!important}.ag-quick .agq-title{font-size:clamp(21px,3vw,28px);display:block;color:#254c43;line-height:1.5}.ag-quick p{margin:12px 0}.ag-quick .agq-mini{font-size:13px;color:#53645b}.ag-quick fieldset{border:0;padding:0;margin:20px 0;min-width:0}.ag-quick .agq-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ag-quick label{display:block;font-size:14px;font-weight:600}.ag-quick input[type=number]{display:block;width:100%;min-width:0;min-height:48px;margin:5px 0;padding:10px 12px;border:1px solid #91a68f;border-radius:7px;font:inherit;font-size:17px;background:#fff;color:#203e36}.ag-quick button,.ag-quick .agq-cta-link{display:inline-block;min-height:48px;border:1px solid #315e50;border-radius:7px;padding:12px 18px;background:#315e50;color:white;font:inherit;font-weight:bold;line-height:1.6;cursor:pointer;text-decoration:none}.ag-quick button.agq-reset{background:white;color:#315e50}.ag-quick .agq-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.ag-quick .agq-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.ag-quick .agq-card{background:white;border:1px solid #d8dfd4;border-radius:10px;padding:16px;min-width:0;font-size:14px}.ag-quick .agq-card strong{display:block;margin-top:7px;font-size:23px;line-height:1.5;overflow-wrap:anywhere}.ag-quick .agq-card small{display:block}.ag-quick .agq-direction{padding:16px;background:#fff;border-left:4px solid #79936d;margin:18px 0}.ag-quick details{padding:16px;background:white;border:1px solid #d4ddcf;border-radius:9px;margin:18px 0}.ag-quick summary{cursor:pointer;font-weight:bold;color:#254c43}.ag-quick .agq-assumption{font-size:13px}.ag-quick .agq-fp{padding:22px;background:#f7eddb;border:1px solid #e5d0aa;border-radius:10px;margin:20px 0}.ag-quick .agq-fp strong{display:block;font-size:19px}.ag-quick .agq-fp .agq-cta-link{background:#a95225;border-color:#a95225;text-align:center}.ag-quick .agq-pending{font-size:13px;color:#6e5941}.ag-quick .agq-error{color:#a6382e;font-weight:bold}.ag-quick .agq-advanced>summary{font-size:17px}.ag-quick .agq-advanced>.agq-mini{margin-top:12px}.ag-quick .ag-planner{margin:18px -8px}.ag-quick :is(input,button,a,summary,[tabindex]):focus-visible{outline:3px solid #d19036;outline-offset:3px}.agq-chart{margin:20px 0;min-width:0}.agq-chart svg,.agp-chart svg{width:100%;height:auto;display:block;background:#fff;border-radius:8px;touch-action:pan-y}.agq-chart svg text{font-size:14px;fill:#53645b;font-family:inherit}.agq-readout{padding:13px 16px;background:#fff;border:1px solid #cdd9cb;border-radius:8px;min-height:76px;line-height:1.8;font-size:14px}.agq-point-line{stroke:#82967f;stroke-width:1;stroke-dasharray:4 4;pointer-events:none}.agq-point-dot{pointer-events:none}.agq-legend{font-size:13px;display:flex;gap:16px;flex-wrap:wrap;margin:8px 0}.agq-chart-controls{display:flex;align-items:center;gap:10px;margin:10px 0}.agq-chart-controls input[type=range]{flex:1;min-width:0;min-height:36px;accent-color:#315e50}.agq-chart:focus-visible{outline:3px solid #d19036}.agq-detailed-fp{margin:20px 0;padding:18px;background:#f7eddb;border:1px solid #e5d0aa;border-radius:9px}.agq-detailed-fp a{display:inline-block;background:#a95225;color:white!important;padding:12px 18px;border-radius:7px;text-decoration:none!important;font-weight:bold}.agq-detailed-fp p{margin:8px 0}\n.ag-quick .agq-chart-controls{display:flex;align-items:center}.ag-quick .agq-chart-controls input[type=range]{width:auto;flex:1}\n@media(max-width:650px){.ag-quick{padding:18px 14px}.ag-quick .agq-fields{grid-template-columns:1fr}.ag-quick .agq-cards{grid-template-columns:1fr}.ag-quick .agq-actions>*{width:100%;text-align:center}.ag-quick .agq-fp{padding:18px 14px}.ag-quick .agq-cta-link{width:100%}.ag-quick .agq-advanced{padding:14px 8px}.ag-quick .ag-planner{padding:14px 9px;margin:16px -3px}.agq-chart svg text{font-size:20px}.agq-readout{font-size:14px}}\n<\/style><section class=\"ag-quick\" id=\"agq-B04\" data-agq-mode=\"B04\" data-fp-url=\"\" aria-label=\"\u592b\u306e\u5e74\u91d1\u3068\u59bb\u306e\u53ce\u5165\u3067\u3056\u3063\u304f\u308a\u78ba\u8a8d\">\n<strong class=\"agq-title\">\u592b\u306e\u5e74\u91d1\u3068\u59bb\u306e\u53ce\u5165\u3067\u3056\u3063\u304f\u308a\u78ba\u8a8d<\/strong><p>\u307e\u305a\u306f\u6982\u7565\u3068\u3001\u3053\u308c\u304b\u3089\u8003\u3048\u308b\u65b9\u5411\u6027\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<strong>\u3060\u3044\u305f\u3044\u306e\u6570\u5b57\u3067\u5927\u4e08\u592b\u3067\u3059\u3002<\/strong>\u5206\u304b\u3089\u306a\u3044\u9805\u76ee\u306f\u3001\u5165\u529b\u6e08\u307f\u306e\u67b6\u7a7a\u4f8b\u306e\u307e\u307e\u8a66\u305b\u307e\u3059\u3002<\/p>\n<form data-agq-form novalidate><fieldset disabled><legend>\u5206\u304b\u308b\u7bc4\u56f2\u306e\u6570\u5b57\u3060\u3051\u5165\u529b<\/legend><div class=\"agq-fields\"><label>\u59bb\u306e\u5e74\u9f62 <small>\uff08\u6b73\uff09<\/small><input type=\"number\" name=\"wage\" value=\"40\" min=\"0\" max=\"64\" step=\"1\" inputmode=\"decimal\" required><\/label><label>\u592b\u306e\u5e74\u91d1\u306a\u3069\u306e\u624b\u53d6\u308a\uff0f\u6708 <small>\uff08\u4e07\u5186\uff09<\/small><input type=\"number\" name=\"hp\" value=\"16\" min=\"0\" max=\"100000\" step=\"0.1\" inputmode=\"decimal\" required><\/label><label>\u59bb\u306e\u624b\u53d6\u308a\uff0f\u6708 <small>\uff08\u4e07\u5186\uff09<\/small><input type=\"number\" name=\"wi\" value=\"12\" min=\"0\" max=\"100000\" step=\"0.1\" inputmode=\"decimal\" required><\/label><label>\u6bce\u6708\u306e\u652f\u51fa <small>\uff08\u4e07\u5186\uff09<\/small><input type=\"number\" name=\"cost\" value=\"26\" min=\"0\" max=\"100000\" step=\"0.1\" inputmode=\"decimal\" required><\/label><\/div><div class=\"agq-actions\"><button type=\"submit\">\u3056\u3063\u304f\u308a\u78ba\u8a8d\u3059\u308b<\/button><button type=\"reset\" class=\"agq-reset\">\u4f8b\u306e\u6570\u5b57\u306b\u623b\u3059<\/button><\/div><\/fieldset><\/form>\n<p class=\"agq-assumption\">\u7c21\u6613\u7248\u306e\u4eee\u5b9a\uff1a\u59bb\u306e\u9000\u8077\u306f60\u6b73\u3008\u3059\u3067\u306b60\u6b73\u4ee5\u4e0a\u306a\u3089\u73fe\u5728\u3009\u3001\u5e74\u91d1\u958b\u59cb\u306f65\u6b73\u3001\u73fe\u5728\u8cc7\u91d1200\u4e07\u5186\u3092\u4eee\u7f6e\u304d\u3057\u307e\u3059\u3002\u592b\u306e\u53ce\u5165\u306f\u4e00\u5b9a\u3067\u3059\u3002<\/p><p data-agq-error class=\"agq-error\" role=\"alert\"><\/p><div data-agq-result aria-live=\"polite\"><\/div><div data-agq-fp-slot><\/div>\n<details class=\"agq-advanced\"><summary>\u3082\u3063\u3068\u8a73\u3057\u304f\u78ba\u8a8d\u3059\u308b\u3008\u4efb\u610f\u3009<\/summary><p class=\"agq-mini\">\u5fc5\u8981\u306a\u65b9\u3060\u3051\u3001\u7d30\u304b\u3044\u6761\u4ef6\u3092\u5909\u66f4\u3067\u304d\u307e\u3059\u3002\u7c21\u6613\u7248\u306e\u5165\u529b\u3092\u5f15\u304d\u7d99\u304e\u3001\u5206\u304b\u3089\u306a\u3044\u5185\u8a33\u306f\u4eee\u306e\u6570\u5b57\u3092\u4f7f\u3044\u307e\u3059\u3002\u7c21\u6613\u7248\u3068\u306f\u8a08\u7b97\u306e\u4eee\u5b9a\u304c\u7570\u306a\u308b\u305f\u3081\u3001\u5185\u8a33\u3084\u6642\u671f\u3092\u8a2d\u5b9a\u3059\u308b\u3068\u7d50\u679c\u3082\u5909\u308f\u308a\u307e\u3059\u3002\u4f4f\u5b85\u30ed\u30fc\u30f3\u3092\u5225\u8a08\u7b97\u3059\u308b\u5834\u5408\u306f\u3001\u6708\u306e\u652f\u51fa\u3068\u8fd4\u6e08\u306e\u91cd\u8907\u306b\u3054\u6ce8\u610f\u304f\u3060\u3055\u3044\u3002\u8a73\u3057\u304f\u5165\u529b\u3057\u306a\u304f\u3066\u3082FP\u76f8\u8ac7\u306e\u6848\u5185\u3078\u9032\u3081\u307e\u3059\u3002<\/p><section id=\"agb-B04\" data-agb-tool=\"B04\" aria-label=\"\u59bb\u306e\u5c31\u52b4\u4e2d\u3068\u5e74\u91d1\u524d\u306e\u7a7a\u767d\u3092\u6bd4\u8f03\" style=\"background:#f1f5ed;border:1px solid #c9d7c9;border-radius:12px;padding:22px;margin:30px 0\"><p style=\"font-weight:bold;font-size:1.15em;color:#254c43\">\u59bb\u306e\u5c31\u52b4\u4e2d\u3068\u5e74\u91d1\u524d\u306e\u7a7a\u767d\u3092\u6bd4\u8f03<\/p><p>\u521d\u671f\u5024\u306f\u3059\u3079\u3066\u67b6\u7a7a\u306e\u8a08\u7b97\u4f8b\u3067\u3059\u3002\u3054\u81ea\u8eab\u306e\u78ba\u8a8d\u3057\u305f\u624b\u53d6\u308a\u3068\u652f\u51fa\u3078\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u5165\u529b\u306f\u30d6\u30e9\u30a6\u30b6\u30fc\u5185\u3067\u8a08\u7b97\u3057\u3001\u9001\u4fe1\u30fb\u4fdd\u5b58\u3057\u307e\u305b\u3093\u3002<\/p><form><fieldset disabled style=\"border:0;padding:0;min-width:0\"><legend style=\"font-weight:bold\">\u6bd4\u8f03\u3059\u308b\u6761\u4ef6<\/legend><label style=\"display:block;margin:14px 0\">\u59bb\u306e\u73fe\u5728\u5e74\u9f62 <small>\uff08\u6b73\uff09<\/small><input name=\"wage\" type=\"number\" value=\"40\" min=\"0\" max=\"64\" step=\"1\" inputmode=\"decimal\" required style=\"display:block;box-sizing:border-box;width:100%;max-width:400px;padding:12px;border:1px solid #809b8a;border-radius:6px;font-size:16px;background:#fff;color:#203e36\"><\/label><label style=\"display:block;margin:14px 0\">\u59bb\u306e\u9000\u8077\u5e74\u9f62\u306e\u4eee\u5b9a <small>\uff08\u6b73\uff09<\/small><input name=\"retire\" type=\"number\" value=\"60\" min=\"0\" max=\"65\" step=\"1\" inputmode=\"decimal\" required style=\"display:block;box-sizing:border-box;width:100%;max-width:400px;padding:12px;border:1px solid #809b8a;border-radius:6px;font-size:16px;background:#fff;color:#203e36\"><\/label><label style=\"display:block;margin:14px 0\">\u59bb\u306e\u5e74\u91d1\u958b\u59cb\u5e74\u9f62\u306e\u4eee\u5b9a <small>\uff08\u6b73\uff09<\/small><input name=\"start\" type=\"number\" value=\"65\" min=\"0\" max=\"75\" step=\"1\" inputmode=\"decimal\" required style=\"display:block;box-sizing:border-box;width:100%;max-width:400px;padding:12px;border:1px solid #809b8a;border-radius:6px;font-size:16px;background:#fff;color:#203e36\"><\/label><label style=\"display:block;margin:14px 0\">\u592b\u306e\u5e74\u91d1\u624b\u53d6\u308a\uff0f\u6708 <small>\uff08\u4e07\u5186\uff09<\/small><input name=\"hp\" type=\"number\" value=\"16\" min=\"0\" max=\"100000\" step=\"0.01\" inputmode=\"decimal\" required style=\"display:block;box-sizing:border-box;width:100%;max-width:400px;padding:12px;border:1px solid #809b8a;border-radius:6px;font-size:16px;background:#fff;color:#203e36\"><\/label><label style=\"display:block;margin:14px 0\">\u59bb\u306e\u5c31\u52b4\u4e2d\u306e\u624b\u53d6\u308a\uff0f\u6708 <small>\uff08\u4e07\u5186\uff09<\/small><input name=\"wi\" type=\"number\" value=\"12\" min=\"0\" max=\"100000\" step=\"0.01\" inputmode=\"decimal\" required style=\"display:block;box-sizing:border-box;width:100%;max-width:400px;padding:12px;border:1px solid #809b8a;border-radius:6px;font-size:16px;background:#fff;color:#203e36\"><\/label><label style=\"display:block;margin:14px 0\">\u5bb6\u8a08\u306e\u7dcf\u652f\u51fa\uff0f\u6708 <small>\uff08\u4e07\u5186\uff09<\/small><input name=\"cost\" type=\"number\" value=\"26\" min=\"0\" max=\"100000\" step=\"0.01\" inputmode=\"decimal\" required style=\"display:block;box-sizing:border-box;width:100%;max-width:400px;padding:12px;border:1px solid #809b8a;border-radius:6px;font-size:16px;background:#fff;color:#203e36\"><\/label><label style=\"display:block;margin:14px 0\">\u3053\u306e\u671f\u9593\u306b\u4f7f\u3048\u308b\u73fe\u5728\u306e\u8cc7\u91d1 <small>\uff08\u4e07\u5186\uff09<\/small><input name=\"saved\" type=\"number\" value=\"200\" min=\"0\" max=\"100000\" step=\"0.01\" inputmode=\"decimal\" required style=\"display:block;box-sizing:border-box;width:100%;max-width:400px;padding:12px;border:1px solid #809b8a;border-radius:6px;font-size:16px;background:#fff;color:#203e36\"><\/label><button type=\"submit\" style=\"background:#315e50;color:white;padding:14px 20px;border:0;border-radius:6px;min-height:48px;font-size:16px\">\u3053\u306e\u6761\u4ef6\u3067\u6bd4\u8f03\u3059\u308b<\/button> <button type=\"reset\" style=\"padding:12px;background:white;border:1px solid #315e50;border-radius:6px;min-height:48px;font-size:16px\">\u8a08\u7b97\u4f8b\u306b\u623b\u3059<\/button><\/fieldset><\/form><p role=\"alert\" style=\"color:#a6382e\"><\/p><div data-agb-result aria-live=\"polite\" style=\"overflow-wrap:anywhere\"><\/div><details><summary style=\"cursor:pointer;font-weight:bold;margin:18px 0\">\u8a08\u7b97\u65b9\u6cd5\u3068\u542b\u307e\u308c\u306a\u3044\u3082\u306e<\/summary><p>\u5c31\u52b4\u5e74\u6570\uff1d\u59bb\u306e\u9000\u8077\u5e74\u9f62\u2212\u73fe\u5728\u5e74\u9f62\u3002\u7d66\u4e0e\u306e\u306a\u3044\u5e74\u6570\uff1d\u59bb\u306e\u5e74\u91d1\u958b\u59cb\u5e74\u9f62\u2212\u9000\u8077\u5e74\u9f62\u3002\u592b\u306e\u5e74\u91d1\u3092\u4e00\u5b9a\u3068\u3057\u3066\u3001\u5404\u671f\u9593\u306e\u53ce\u5165\u304b\u3089\u652f\u51fa\u3092\u5dee\u3057\u5f15\u3044\u3066\u5408\u8a08\u3057\u307e\u3059\u3002<\/p><p>\u73fe\u5728\u5e74\u9f62\u2266\u9000\u8077\u5e74\u9f62\u2266\u5e74\u91d1\u958b\u59cb\u5e74\u9f62\u3068\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u592b\u5a66\u3068\u3082\u3053\u306e\u671f\u9593\u3092\u901a\u3058\u3066\u751f\u5b58\u3057\u3001\u592b\u306e\u5e74\u91d1\u304c\u4e00\u5b9a\u3068\u3044\u3046\u4eee\u5b9a\u3067\u3059\u3002\u59bb\u306e\u5e74\u91d1\u958b\u59cb\u5f8c\u30fb\u907a\u65cf\u5e74\u91d1\u30fb\u52a0\u7d66\u5e74\u91d1\u30fb\u7269\u4fa1\u30fb\u4ecb\u8b77\u8cbb\u306f\u81ea\u52d5\u53cd\u6620\u3057\u307e\u305b\u3093\u3002<\/p><p>\u7a0e\u30fb\u793e\u4f1a\u4fdd\u967a\u6599\u306e\u81ea\u52d5\u8a08\u7b97\u3001\u904b\u7528\u76ca\u3001\u7269\u4fa1\u4e0a\u6607\u3001\u500b\u5225\u5236\u5ea6\u306e\u53d7\u7d66\u5224\u5b9a\u306f\u884c\u3044\u307e\u305b\u3093\u3002\u5165\u529b\u3057\u305f\u6761\u4ef6\u3092\u6bd4\u3079\u308b\u7c21\u6613\u30e2\u30c7\u30eb\u3067\u3001\u500b\u5225\u306e\u91d1\u878d\u52a9\u8a00\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p><\/details><noscript><p>\u8a08\u7b97\u306b\u306fJavaScript\u304c\u5fc5\u8981\u3067\u3059\u3002\u672c\u6587\u306e\u67b6\u7a7a\u4f8b\u3068\u6bd4\u8f03\u8868\u3067\u3082\u3001\u8a08\u7b97\u306e\u624b\u9806\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p><\/noscript><\/section><\/details>\n<details id=\"agq-B04-fp\" data-agq-fp-guide><summary tabindex=\"-1\">\u3053\u306e\u7d50\u679c\u3092\u3082\u3068\u306bFP\u76f8\u8ac7\u3067\u78ba\u8a8d\u3057\u305f\u3044\u3053\u3068<\/summary><p><strong>\u59bb\u306e\u9000\u8077\u304b\u3089\u5e74\u91d1\u958b\u59cb\u307e\u3067\u306e\u751f\u6d3b\u8cbb<\/strong><\/p><ul><li>\u4eca\u306e\u50cd\u304d\u65b9\u3092\u7d9a\u3051\u308b\u5834\u5408\u3001\u4f55\u304b\u3089\u8abf\u6574\u3059\u308c\u3070\u3088\u3044\u304b<\/li><li>\u3054\u81ea\u8eab\u306e\u5e74\u91d1\u30fb\u7d66\u4ed8\u30fb\u6559\u80b2\u8cbb\u306a\u3069\u3092\u5165\u308c\u308b\u3068\u3001\u6982\u7b97\u304b\u3089\u3069\u306e\u7a0b\u5ea6\u5909\u308f\u308b\u304b<\/li><li>\u5bb6\u65cf\u306e\u5e0c\u671b\u3092\u6b8b\u3059\u305f\u3081\u306b\u3001\u4eca\u304b\u3089\u6e96\u5099\u3067\u304d\u308b\u3053\u3068<\/li><\/ul><p>\u5206\u304b\u308b\u7bc4\u56f2\u306e\u624b\u53d6\u308a\u3001\u6bce\u6708\u306e\u652f\u51fa\u3001\u8caf\u91d1\u3001\u5e0c\u671b\u3059\u308b\u66ae\u3089\u3057\u3092\u6574\u7406\u3057\u3066\u304a\u304f\u3068\u3001\u76f8\u8ac7\u5185\u5bb9\u3092\u4f1d\u3048\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002\u7d30\u304b\u306a\u91d1\u984d\u306f\u76f8\u8ac7\u6642\u306b\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p><p class=\"agq-pending\">\u5f53\u30b5\u30a4\u30c8\u304b\u3089\u3054\u6848\u5185\u3059\u308bFP\u76f8\u8ac7\u7a93\u53e3\u306f\u6e96\u5099\u4e2d\u3067\u3059\u3002\u7533\u8fbc\u5148\u304c\u6c7a\u307e\u308a\u6b21\u7b2c\u3001\u3053\u3061\u3089\u306b\u63b2\u8f09\u3057\u307e\u3059\u3002<\/p><\/details><p class=\"agq-mini\">\u5165\u529b\u306f\u30d6\u30e9\u30a6\u30b6\u30fc\u5185\u3060\u3051\u3067\u8a08\u7b97\u3057\u3001\u9001\u4fe1\u30fb\u81ea\u52d5\u4fdd\u5b58\u3057\u307e\u305b\u3093\u3002\u91d1\u984d\u306f\u4eee\u306e\u6761\u4ef6\u306b\u3088\u308b\u6982\u7b97\u3067\u3001\u5c06\u6765\u4e88\u6e2c\u3084\u500b\u5225\u306e\u91d1\u878d\u52a9\u8a00\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p><noscript><p>\u64cd\u4f5c\u306b\u306fJavaScript\u304c\u5fc5\u8981\u3067\u3059\u3002\u672c\u6587\u306e\u6bd4\u8f03\u4f8b\u3082\u53c2\u8003\u306b\u3001FP\u76f8\u8ac7\u3067\u78ba\u8a8d\u3059\u308b\u6761\u4ef6\u3092\u6574\u7406\u3067\u304d\u307e\u3059\u3002<\/p><\/noscript><\/section>\n<!-- AG_QUICK_END --><h2 id=\"b04-section-3\">\u5e74\u306e\u5dee\u5a5a\u3067\u592b65\u6b73\u30fb\u59bb40\u6b73\u306e\u5e74\u91d1\u751f\u6d3b\u3092\u9577\u671f\u306e\u5909\u5316\u306b\u5099\u3048\u308b<\/h2><figure class=\"ag-section-image\" style=\"margin:18px 0 26px\"><img src=\"https:\/\/toshinosakon-money.com\/wp-content\/uploads\/2026\/10\/b04-h2-3.webp\" alt=\"\u5c31\u52b4\u4e2d\u306e\u5bb6\u8a08\u3002\u5e74\u91d1\u958b\u59cb\u524d\u306e\u5bb6\u8a08\u3002\u4e00\u4eba\u3067\u66ae\u3089\u3059\u5834\u5408\u306e\u5bb6\u8a08\" width=\"1000\" height=\"620\" loading=\"lazy\" decoding=\"async\" style=\"display:block;width:100%;height:auto;aspect-ratio:1000\/620;border-radius:12px\"\/><\/figure><div class=\"table-wrap\" style=\"overflow-x:auto;margin:18px 0 26px\"><table style=\"width:100%;border-collapse:collapse\"><tr><th scope=\"col\" style=\"padding:12px;border:1px solid #d6ded8;background:#edf2eb;text-align:left\">\u5225\u306b\u78ba\u8a8d\u3059\u308b\u9805\u76ee<\/th><th scope=\"col\" style=\"padding:12px;border:1px solid #d6ded8;background:#edf2eb;text-align:left\">\u78ba\u8a8d\u5148\u30fb\u65b9\u6cd5<\/th><\/tr><tr><td style=\"padding:12px;border:1px solid #d6ded8;\">\u5e74\u91d1\u898b\u8fbc\u307f<\/td><td style=\"padding:12px;border:1px solid #d6ded8;\">\u592b\u5a66\u305d\u308c\u305e\u308c\u306e\u306d\u3093\u304d\u3093\u30cd\u30c3\u30c8<\/td><\/tr><tr><td style=\"padding:12px;border:1px solid #d6ded8;\">\u52a0\u7d66\u5e74\u91d1\u7b49<\/td><td style=\"padding:12px;border:1px solid #d6ded8;\">\u5e74\u91d1\u4e8b\u52d9\u6240\u3067\u8cc7\u683c\u3068\u671f\u9593\u3092\u78ba\u8a8d<\/td><\/tr><tr><td style=\"padding:12px;border:1px solid #d6ded8;\">\u751f\u6d3b\u306e\u5909\u5316<\/td><td style=\"padding:12px;border:1px solid #d6ded8;\">\u533b\u7642\u30fb\u4ecb\u8b77\u30fb\u4f4f\u5c45\u8cbb\u3092\u8ffd\u52a0\u8a66\u7b97<\/td><\/tr><\/table><\/div><h3>\u592b\u5a66\u306e\u751f\u6d3b\u3068\u59bb\u4e00\u4eba\u306e\u751f\u6d3b\u306e\u4e21\u65b9\u3092\u8003\u3048\u308b<\/h3><div class=\"table-wrap\" style=\"overflow-x:auto;margin:18px 0 26px\"><table style=\"width:100%;border-collapse:collapse\"><tr><th scope=\"col\" style=\"padding:12px;border:1px solid #d6ded8;background:#edf2eb;text-align:left\">\u78ba\u8a8d\u3059\u308b\u89b3\u70b9<\/th><th scope=\"col\" style=\"padding:12px;border:1px solid #d6ded8;background:#edf2eb;text-align:left\">\u3053\u306e\u7bc0\u306e\u7d50\u8ad6<\/th><\/tr><tr><td style=\"padding:12px;border:1px solid #d6ded8;\">\u592b\u5a66\u306e\u751f\u6d3b\u3068\u59bb\u4e00\u4eba\u306e\u751f\u6d3b\u306e\u4e21\u65b9\u3092\u8003\u3048\u308b<\/td><td style=\"padding:12px;border:1px solid #d6ded8;\">\u592b\u5a66\u306e\u5e74\u9f62\u5dee\u304c\u5927\u304d\u3044\u5834\u5408\u3001\u592b\u5a66\u3067\u66ae\u3089\u3059\u671f\u9593\u306e\u5bb6\u8a08\u3060\u3051\u3092\u6574\u3048\u3066\u3082\u3001\u59bb\u306e\u305d\u306e\u5f8c\u306e\u66ae\u3089\u3057\u3092\u78ba\u8a8d\u3057\u305f\u3053\u3068\u306b\u306f\u306a\u308a\u307e\u305b\u3093\u3002<\/td><\/tr><\/table><\/div><p><strong>\u592b\u5a66\u306e\u5e74\u9f62\u5dee\u304c\u5927\u304d\u3044\u5834\u5408\u3001\u592b\u5a66\u3067\u66ae\u3089\u3059\u671f\u9593\u306e\u5bb6\u8a08\u3060\u3051\u3092\u6574\u3048\u3066\u3082\u3001\u59bb\u306e\u305d\u306e\u5f8c\u306e\u66ae\u3089\u3057\u3092\u78ba\u8a8d\u3057\u305f\u3053\u3068\u306b\u306f\u306a\u308a\u307e\u305b\u3093\u3002<\/strong><\/p><p>\u3069\u3061\u3089\u304b\u304c\u4ea1\u304f\u306a\u3063\u305f\u5f8c\u306f\u53ce\u5165\u3068\u652f\u51fa\u306e\u4e21\u65b9\u304c\u5909\u308f\u308a\u307e\u3059\u3002<\/p><p>\u751f\u6d3b\u8cbb\u304c\u5358\u7d14\u306b\u534a\u5206\u306b\u306a\u308b\u3068\u306f\u9650\u3089\u305a\u3001\u4f4f\u5c45\u8cbb\u306a\u3069\u306f\u7d9a\u304f\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p><p>\u907a\u65cf\u5e74\u91d1\u3084\u4fdd\u967a\u3082\u53d7\u7d66\u8cc7\u683c\u3084\u5951\u7d04\u6761\u4ef6\u3067\u5909\u308f\u308b\u305f\u3081\u3001\u592b\u306e\u5e74\u91d1\u304c\u305d\u306e\u307e\u307e\u59bb\u306b\u5f15\u304d\u7d99\u304c\u308c\u308b\u3068\u7f6e\u304b\u305a\u3001\u5225\u306e\u5bb6\u8a08\u3068\u3057\u3066\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p><p>\u6700\u521d\u304b\u3089\u3059\u3079\u3066\u3092\u7d30\u304b\u304f\u6c7a\u3081\u3088\u3046\u3068\u305b\u305a\u3001\u307e\u305a\u306f\u59bb\u306e\u5c31\u52b4\u4e2d\u3001\u59bb\u306e\u9000\u8077\u304b\u3089\u5e74\u91d1\u307e\u3067\u3001\u592b\u5a66\u53cc\u65b9\u306e\u5e74\u91d1\u958b\u59cb\u5f8c\u306e\u4e09\u3064\u3092\u6574\u7406\u3057\u307e\u3059\u3002<\/p><p>\u6b21\u306b\u3001\u3069\u3061\u3089\u304b\u4e00\u4eba\u3067\u66ae\u3089\u3059\u5834\u5408\u306e\u5fc5\u8981\u652f\u51fa\u3068\u78ba\u8a8d\u3059\u3079\u304d\u53ce\u5165\u3092\u8a18\u9332\u3057\u307e\u3059\u3002<\/p><p>\u9577\u671f\u306e\u7269\u4fa1\u3084\u533b\u7642\u8cbb\u304c\u4e0d\u660e\u306a\u3089\u3001\u652f\u51fa\u3092\u5c11\u3057\u5897\u3084\u3057\u305f\u5834\u5408\u3082\u6bd4\u3079\u3001\u304e\u308a\u304e\u308a\u306e\u6761\u4ef6\u3060\u3051\u3067\u6210\u7acb\u3055\u305b\u306a\u3044\u3053\u3068\u304c\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p><p>\u5bb6\u8a08\u76f8\u8ac7\u3067\u306f\u592b\u5a66\u306e\u5e74\u91d1\u898b\u8fbc\u984d\u3068\u4f4f\u5c45\u8cbb\u3001\u78ba\u8a8d\u6e08\u307f\u306e\u4fdd\u969c\u3092\u6301\u53c2\u3059\u308b\u3068\u3001\u8cc7\u91d1\u306e\u591a\u5be1\u3060\u3051\u3067\u306a\u304f\u3001\u59bb\u304c\u5e0c\u671b\u3059\u308b\u50cd\u304d\u65b9\u3068\u305d\u306e\u5f8c\u306e\u751f\u6d3b\u3092\u3064\u306a\u3050\u9078\u629e\u80a2\u3092\u691c\u8a0e\u3067\u304d\u307e\u3059\u3002<\/p><div class=\"points\" style=\"padding:18px 22px;background:#f1f5ed;border-left:4px solid #315e50;margin:24px 0\"><strong>\u30dd\u30a4\u30f3\u30c8<\/strong><ul><li>\u4e00\u4eba\u3067\u66ae\u3089\u3059\u5834\u5408\u306e\u53ce\u652f\u3082\u5225\u306b\u78ba\u8a8d\u3059\u308b<\/li><li>\u5b9a\u671f\u7684\u306b\u5e74\u91d1\u898b\u8fbc\u307f\u3068\u652f\u51fa\u6761\u4ef6\u3092\u66f4\u65b0\u3059\u308b<\/li><\/ul><\/div><div class=\"summary\" style=\"padding:22px;background:#f4eee5;border-radius:10px;margin:28px 0\"><p><strong>\u3053\u3053\u307e\u3067\u306e\u6574\u7406<\/strong><\/p><p>25\u5e74\u5206\u306e\u751f\u6d3b\u8cbb\u5168\u984d\u3067\u306f\u306a\u304f\u3001\u592b\u306e\u5e74\u91d1\u3068\u59bb\u306e\u53ce\u5165\u3067\u8db3\u308a\u306a\u3044\u671f\u9593\u3092\u63a2\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3068\u304f\u306b\u59bb\u306e\u9000\u8077\u304b\u3089\u5e74\u91d1\u958b\u59cb\u307e\u3067\u3092\u5206\u3051\u308b\u3068\u3001\u6e96\u5099\u3059\u308b\u984d\u3068\u50cd\u304d\u65b9\u306e\u9078\u629e\u80a2\u304c\u5177\u4f53\u7684\u306b\u306a\u308a\u307e\u3059\u3002<\/p><\/div><p><a href=\"#agq-B04\">\u5165\u529b\u6761\u4ef6\u3092\u5909\u3048\u3066\u3001\u3082\u3046\u4e00\u5ea6\u6bd4\u8f03\u3059\u308b<\/a><\/p><p style=\"text-align:center\"><a class=\"cta-button\" href=\"#agq-B04\" style=\"display:inline-block;background:#315e50;color:white;padding:12px 22px;border-radius:6px;text-decoration:none\">\u6761\u4ef6\u3092\u5909\u3048\u3066\u6bd4\u8f03\u3059\u308b<\/a><\/p><p class=\"note\" style=\"font-size:.85em\">\u5b9f\u969b\u306e\u624b\u53d6\u308a\u3001\u652f\u51fa\u3001\u8cc7\u91d1\u3092\u4f7f\u3046\u6642\u671f\u3092\u305d\u308d\u3048\u308b\u3068\u3001\u6bd4\u8f03\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p><p>\u5bb6\u8a08\u306e\u76f8\u8ac7\u3092\u691c\u8a0e\u3059\u308b\u5834\u5408\u306f\u3001\u592b\u5a66\u305d\u308c\u305e\u308c\u306e\u5e74\u91d1\u8a18\u9332\u3068\u9000\u8077\u4e88\u5b9a\u3092\u6574\u7406\u3057\u3066\u6301\u53c2\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u76f8\u8ac7\u5148\u306e\u5bfe\u5fdc\u7bc4\u56f2\u3001\u6599\u91d1\u3084\u7121\u6599\u306e\u6761\u4ef6\u3001\u91d1\u878d\u5546\u54c1\u306e\u63d0\u6848\u306e\u6709\u7121\u3092\u78ba\u8a8d\u3057\u3066\u304b\u3089\u5229\u7528\u3057\u307e\u3059\u3002<\/p><aside aria-label=\"\u53c2\u8003\u8cc7\u6599\" style=\"font-size:.9em;margin-top:32px\"><p><strong>\u53c2\u8003\u8cc7\u6599<\/strong>\uff082026\u5e7410\u670819\u65e5\u78ba\u8a8d\uff09<\/p><ul><li><a href=\"https:\/\/www.nenkin.go.jp\/service\/jukyu\/seido\/roureinenkin\/jukyu-yoken\/20150401-01.html\" target=\"_blank\" rel=\"noopener noreferrer\">\u65e5\u672c\u5e74\u91d1\u6a5f\u69cb\uff5c\u8001\u9f62\u5e74\u91d1<\/a><\/li><li><a href=\"https:\/\/www.nenkin.go.jp\/denshibenri_kojin\/n_net\/introduction\/estimatedamount.html\" target=\"_blank\" rel=\"noopener noreferrer\">\u65e5\u672c\u5e74\u91d1\u6a5f\u69cb\uff5c\u306d\u3093\u304d\u3093\u30cd\u30c3\u30c8\u306b\u3088\u308b\u5e74\u91d1\u898b\u8fbc\u984d\u8a66\u7b97<\/a><\/li><li><a href=\"https:\/\/www.nenkin.go.jp\/service\/jukyu\/seido\/roureinenkin\/kakyu-hurikae\/20150401.html\" target=\"_blank\" rel=\"noopener noreferrer\">\u65e5\u672c\u5e74\u91d1\u6a5f\u69cb\uff5c\u52a0\u7d66\u5e74\u91d1\u984d\u3068\u632f\u66ff\u52a0\u7b97<\/a><\/li><\/ul><\/aside><\/div>\n<script>(function(root,factory){const api=factory();if(typeof module==='object'&&module.exports)module.exports=api;else root.AGBatchModels=api;})(typeof globalThis!=='undefined'?globalThis:this,function(){\n'use strict';\nconst field=(key,label,value,unit='\u4e07\u5186',max=100000,integer=false)=>({key,label,value,unit,max,integer});\nconst defs={\nA04:{title:'\u7d66\u4ed8\u5f85\u3061\u306e\u6e96\u5099\u91d1\u3092\u6708\u5225\u306b\u78ba\u8a8d',fields:[field('h','\u592b\u306e\u624b\u53d6\u308a\uff0f\u6708',18),field('w','\u59bb\u306e\u7d66\u4ed8\u7b49\u306e\u53d7\u53d6\u898b\u8fbc\u307f\uff0f\u6708',12),field('cost','\u5bb6\u8a08\u306e\u7dcf\u652f\u51fa\uff0f\u6708',33),field('delay','\u6700\u521d\u306e\u5165\u91d1\u307e\u3067\u306e\u6708\u6570',4,'\u304b\u6708',24,true),field('months','\u78ba\u8a8d\u3059\u308b\u6708\u6570',12,'\u304b\u6708',60,true),field('savings','\u751f\u6d3b\u8cbb\u306b\u4f7f\u3048\u308b\u6e96\u5099\u91d1',100)],method:'\u6bce\u6708\u306e\u592b\u306e\u53ce\u5165\u3068\u652f\u51fa\u3092\u8a08\u4e0a\u3057\u3001\u7d66\u4ed8\u5165\u91d1\u524d\u306e\u6b8b\u9ad8\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u7d66\u4ed8\u306f\u6307\u5b9a\u6708\u306e\u672b\u306b\u305d\u306e\u6708\u307e\u3067\u306e\u5206\u3092\u4e00\u62ec\u5165\u91d1\u3057\u3001\u4ee5\u5f8c\u306f\u6bce\u6708\u53d7\u53d6\u308b\u5358\u7d14\u306a\u4eee\u5b9a\u3067\u3059\u3002\u5165\u91d1\u76f4\u524d\u306e\u4e0d\u8db3\u3068\u6708\u672b\u6b8b\u9ad8\u3092\u533a\u5225\u3057\u307e\u3059\u3002',limit:'\u5b9f\u969b\u306e\u7d66\u4ed8\u306e\u8cc7\u683c\u30fb\u984d\u30fb\u5165\u91d1\u65e5\u3092\u5224\u5b9a\u3057\u307e\u305b\u3093\u3002\u652f\u6255\u9806\u5e8f\u306f\u4fdd\u5b88\u7684\u306a\u4eee\u5b9a\u3067\u3001\u5b9f\u969b\u306e\u53e3\u5ea7\u306e\u52d5\u304d\u3092\u518d\u73fe\u3057\u307e\u305b\u3093\u3002\u521d\u56de\u307e\u3067\u306e\u6708\u6570\u306f\u78ba\u8a8d\u6708\u6570\u4ee5\u4e0b\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002'},\nA06:{title:'3\u4eba\u76ee\u3068\u6642\u77ed\u306e\u8ffd\u52a0\u8ca0\u62c5\u3092\u6bd4\u8f03',fields:[field('surplus','\u73fe\u5728\u306e\u5e74\u9593\u9ed2\u5b57\u3008\u5b50\u3069\u30822\u4eba\u5206\u3092\u542b\u3080\u3009',120),field('loss','\u6642\u77ed\u3067\u6e1b\u308b\u624b\u53d6\u308a\uff0f\u6708',5),field('daily','3\u4eba\u76ee\u306e\u8ffd\u52a0\u65e5\u5e38\u8cbb\uff0f\u6708',2),field('school','3\u4eba\u76ee\u306e\u8ffd\u52a0\u6559\u80b2\u4fdd\u80b2\u8cbb\uff0f\u5e74',24),field('years','\u540c\u3058\u6761\u4ef6\u304c\u7d9a\u304f\u671f\u9593',3,'\u5e74',30,true),field('once','\u671f\u9593\u4e2d\u306e\u8ffd\u52a0\u4e00\u6642\u652f\u51fa',60)],method:'\u5909\u66f4\u5f8c\u306e\u5e74\u9593\u53ce\u652f\uff1d\u73fe\u5728\u306e\u5e74\u9593\u9ed2\u5b57\u2212\u624b\u53d6\u308a\u6e1b\u00d712\u2212\u8ffd\u52a0\u65e5\u5e38\u8cbb\u00d712\u2212\u8ffd\u52a0\u6559\u80b2\u4fdd\u80b2\u8cbb\u3002\u671f\u9593\u306e\u5408\u8a08\u306f\u5e74\u9593\u53ce\u652f\u00d7\u5e74\u6570\u2212\u4e00\u6642\u652f\u51fa\u3067\u3059\u3002',limit:'\u57fa\u6e96\u5bb6\u8a08\u306b\u4e0a\u306e2\u4eba\u306e\u8cbb\u7528\u3092\u542b\u3081\u307e\u3059\u3002\u592b\u306e\u9000\u8077\u3084\u4e0a\u306e\u5b50\u306e\u9032\u5b66\u3067\u57fa\u6e96\u53ce\u652f\u304c\u5909\u308f\u308b\u3068\u304d\u306f\u3001\u671f\u9593\u3092\u5206\u3051\u3066\u518d\u8a08\u7b97\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u4e00\u6642\u652f\u51fa\u306e\u767a\u751f\u6708\u306f\u518d\u73fe\u3057\u307e\u305b\u3093\u3002'},\nB01:{title:'\u5c0f\u5b66\u6821\u671f\u304b\u3089\u9032\u5b66\u307e\u3067\u306e\u4e0d\u8db3\u3092\u78ba\u8a8d',fields:[field('h','\u592b\u306e\u73fe\u5728\u5e74\u9f62',60,'\u6b73',100,true),field('w','\u59bb\u306e\u73fe\u5728\u5e74\u9f62',40,'\u6b73',100,true),field('child','\u5b50\u4f9b\u306e\u73fe\u5728\u5e74\u9f62',8,'\u6b73',17,true),field('hi','\u3053\u306e\u671f\u9593\u306e\u592b\u306e\u624b\u53d6\u308a\uff0f\u6708',18),field('wi','\u3053\u306e\u671f\u9593\u306e\u59bb\u306e\u624b\u53d6\u308a\uff0f\u6708',10),field('cost','\u4f4f\u5c45\u30fb\u6559\u80b2\u8cbb\u3092\u542b\u3080\u7dcf\u652f\u51fa\uff0f\u6708',32),field('years','\u540c\u3058\u53ce\u5165\u6761\u4ef6\u304c\u7d9a\u304f\u671f\u9593',5,'\u5e74',40,true),field('once','\u6708\u984d\u306b\u542b\u3081\u3066\u3044\u306a\u3044\u671f\u9593\u4e2d\u306e\u4e00\u6642\u652f\u51fa',0)],method:'\u6708\u306e\u53ce\u652f\uff1d\u592b\u306e\u624b\u53d6\u308a\uff0b\u59bb\u306e\u624b\u53d6\u308a\u2212\u7dcf\u652f\u51fa\u3002\u671f\u9593\u4e2d\u306e\u53ce\u652f\u5408\u8a08\uff1d\u6708\u306e\u53ce\u652f\u00d712\u00d7\u5e74\u6570\u2212\u4e00\u6642\u652f\u51fa\u3002\u5b50\u4f9b18\u6b73\u6642\u306e\u5e74\u9f62\uff1d\u73fe\u5728\u306e\u89aa\u306e\u5e74\u9f62\uff0b18\u2212\u5b50\u4f9b\u306e\u73fe\u5728\u5e74\u9f62\u3002',limit:'\u9032\u5b66\u5e74\u306f18\u6b73\u6642\u70b9\u306e\u76ee\u5b89\u3067\u3059\u3002\u9000\u8077\u5f8c\u306e\u7d66\u4e0e\u3084\u5e74\u91d1\u3001\u6559\u80b2\u8cbb\u306e\u5909\u5316\u306f\u81ea\u52d5\u53cd\u6620\u3057\u306a\u3044\u305f\u3081\u3001\u6761\u4ef6\u304c\u5909\u308f\u308b\u305f\u3073\u306b\u671f\u9593\u3092\u5206\u3051\u3066\u8a08\u7b97\u3057\u3066\u304f\u3060\u3055\u3044\u3002'},\nB02:{title:'\u9000\u8077\u91d1\u306a\u3057\u3067\u5fc5\u8981\u306a\u6e96\u5099\u984d\u3092\u9006\u7b97',fields:[field('gap','\u5e74\u91d1\u307e\u3067\u306e\u4e0d\u8db3\uff0f\u6708',5),field('years','\u4e0d\u8db3\u304c\u7d9a\u304f\u671f\u9593',5,'\u5e74',40,true),field('school','\u5225\u306b\u6b8b\u3059\u6559\u80b2\u8cbb',200),field('reserve','\u5225\u306b\u6b8b\u3059\u4e88\u5099\u8cbb',100),field('saved','\u3053\u306e\u76ee\u7684\u306b\u4f7f\u3048\u308b\u73fe\u5728\u306e\u8cc7\u91d1',300),field('until','\u9000\u8077\u307e\u3067\u306e\u671f\u9593',10,'\u5e74',40,true)],method:'\u6e96\u5099\u306e\u5408\u8a08\uff1d\u6708\u306e\u4e0d\u8db3\u00d712\u00d7\u4e0d\u8db3\u671f\u9593\uff0b\u6559\u80b2\u8cbb\uff0b\u4e88\u5099\u8cbb\u3002\u8ffd\u52a0\u6e96\u5099\u984d\uff1d\u5408\u8a08\u2212\u73fe\u5728\u306e\u8cc7\u91d1\u30080\u672a\u6e80\u306f0\u3009\u3002\u6708\u306e\u7a4d\u7acb\uff1d\u8ffd\u52a0\u6e96\u5099\u984d\u00f7\u9000\u8077\u307e\u3067\u306e\u6708\u6570\u3002',limit:'\u9000\u8077\u91d1\u306f0\u3068\u3057\u3066\u8a08\u7b97\u3057\u307e\u3059\u3002\u5e74\u91d1\u958b\u59cb\u5f8c\u3082\u8d64\u5b57\u306b\u306a\u308b\u5834\u5408\u306e\u8cc7\u91d1\u306f\u542b\u307e\u308c\u307e\u305b\u3093\u3002\u6559\u80b2\u8cbb\u3084\u4e88\u5099\u8cbb\u3092\u4e0d\u8db3\u6708\u984d\u306b\u542b\u3081\u3066\u3044\u308b\u5834\u5408\u306f\u5225\u67a0\u3067\u91cd\u306d\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002'},\nB03:{title:'\u518d\u96c7\u7528\u5f8c\u306e\u8d64\u5b57\u3068\u5909\u66f4\u6848\u3092\u6bd4\u8f03',fields:[field('h','\u592b\u306e\u518d\u96c7\u7528\u5f8c\u306e\u624b\u53d6\u308a\uff0f\u6708',18),field('w','\u59bb\u306e\u624b\u53d6\u308a\uff0f\u6708',10),field('cost','\u6708\u306e\u7dcf\u652f\u51fa',32),field('extra','\u6708\u984d\u306b\u542b\u3081\u306a\u3044\u5e74\u6255\u3044\u8cbb\u7528',24),field('increase','\u5909\u66f4\u6848\u3067\u5897\u3048\u308b\u59bb\u306e\u624b\u53d6\u308a\uff0f\u6708',3),field('cut','\u5909\u66f4\u6848\u3067\u6e1b\u3089\u3059\u652f\u51fa\uff0f\u6708',1),field('years','\u540c\u3058\u6761\u4ef6\u304c\u7d9a\u304f\u671f\u9593',5,'\u5e74',40,true)],method:'\u73fe\u5728\u306e\u6708\u306e\u53ce\u652f\uff1d\u592b\u5a66\u306e\u624b\u53d6\u308a\u2212\u6708\u306e\u652f\u51fa\u2212\u5e74\u6255\u3044\u8cbb\u7528\u00f712\u3002\u5909\u66f4\u6848\u306f\u624b\u53d6\u308a\u5897\u3068\u652f\u51fa\u524a\u6e1b\u3092\u52a0\u7b97\u3057\u307e\u3059\u3002',limit:'\u624b\u53d6\u308a\u5897\u306f\u52e4\u52d9\u5909\u66f4\u306b\u4f34\u3046\u8ffd\u52a0\u8cbb\u7528\u3092\u5dee\u3057\u5f15\u3044\u305f\u984d\u3092\u4f7f\u3063\u3066\u304f\u3060\u3055\u3044\u3002\u652f\u51fa\u524a\u6e1b\u306f\u6708\u306e\u7dcf\u652f\u51fa\u4ee5\u4e0b\u3067\u3059\u3002\u518d\u96c7\u7528\u7d42\u4e86\u5f8c\u306e\u7d66\u4e0e\u3084\u5e74\u91d1\u306f\u81ea\u52d5\u5207\u66ff\u3057\u307e\u305b\u3093\u3002'},\nB04:{title:'\u59bb\u306e\u5c31\u52b4\u4e2d\u3068\u5e74\u91d1\u524d\u306e\u7a7a\u767d\u3092\u6bd4\u8f03',fields:[field('wage','\u59bb\u306e\u73fe\u5728\u5e74\u9f62',40,'\u6b73',64,true),field('retire','\u59bb\u306e\u9000\u8077\u5e74\u9f62\u306e\u4eee\u5b9a',60,'\u6b73',65,true),field('start','\u59bb\u306e\u5e74\u91d1\u958b\u59cb\u5e74\u9f62\u306e\u4eee\u5b9a',65,'\u6b73',75,true),field('hp','\u592b\u306e\u5e74\u91d1\u624b\u53d6\u308a\uff0f\u6708',16),field('wi','\u59bb\u306e\u5c31\u52b4\u4e2d\u306e\u624b\u53d6\u308a\uff0f\u6708',12),field('cost','\u5bb6\u8a08\u306e\u7dcf\u652f\u51fa\uff0f\u6708',26),field('saved','\u3053\u306e\u671f\u9593\u306b\u4f7f\u3048\u308b\u73fe\u5728\u306e\u8cc7\u91d1',200)],method:'\u5c31\u52b4\u5e74\u6570\uff1d\u59bb\u306e\u9000\u8077\u5e74\u9f62\u2212\u73fe\u5728\u5e74\u9f62\u3002\u7d66\u4e0e\u306e\u306a\u3044\u5e74\u6570\uff1d\u59bb\u306e\u5e74\u91d1\u958b\u59cb\u5e74\u9f62\u2212\u9000\u8077\u5e74\u9f62\u3002\u592b\u306e\u5e74\u91d1\u3092\u4e00\u5b9a\u3068\u3057\u3066\u3001\u5404\u671f\u9593\u306e\u53ce\u5165\u304b\u3089\u652f\u51fa\u3092\u5dee\u3057\u5f15\u3044\u3066\u5408\u8a08\u3057\u307e\u3059\u3002',limit:'\u73fe\u5728\u5e74\u9f62\u2266\u9000\u8077\u5e74\u9f62\u2266\u5e74\u91d1\u958b\u59cb\u5e74\u9f62\u3068\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u592b\u5a66\u3068\u3082\u3053\u306e\u671f\u9593\u3092\u901a\u3058\u3066\u751f\u5b58\u3057\u3001\u592b\u306e\u5e74\u91d1\u304c\u4e00\u5b9a\u3068\u3044\u3046\u4eee\u5b9a\u3067\u3059\u3002\u59bb\u306e\u5e74\u91d1\u958b\u59cb\u5f8c\u30fb\u907a\u65cf\u5e74\u91d1\u30fb\u52a0\u7d66\u5e74\u91d1\u30fb\u7269\u4fa1\u30fb\u4ecb\u8b77\u8cbb\u306f\u81ea\u52d5\u53cd\u6620\u3057\u307e\u305b\u3093\u3002'},\nB05:{title:'\u4eca\u9000\u8077\u3068\u6570\u5e74\u5f8c\u306e\u9000\u8077\u3092\u540c\u3058\u6642\u70b9\u3067\u6bd4\u8f03',fields:[field('now','\u4eca\u9000\u8077\u3059\u308b\u5834\u5408\u306e\u9000\u8077\u91d1\u624b\u53d6\u308a',1200),field('later','\u6570\u5e74\u5f8c\u306b\u9000\u8077\u3059\u308b\u5834\u5408\u306e\u9000\u8077\u91d1\u624b\u53d6\u308a',800),field('years','\u6bd4\u8f03\u3059\u308b\u671f\u9593',3,'\u5e74',20,true),field('salary','\u50cd\u304d\u7d9a\u3051\u308b\u5834\u5408\u306e\u624b\u53d6\u308a\uff0f\u6708',35),field('after','\u4eca\u9000\u8077\u3057\u305f\u5f8c\u306e\u53ce\u5165\uff0f\u6708',0),field('cost','\u4e21\u6848\u5171\u901a\u306e\u7dcf\u652f\u51fa\uff0f\u6708',30)],method:'\u4eca\u9000\u8077\u6848\uff1d\u4eca\u306e\u9000\u8077\u91d1\uff0b\u3008\u9000\u8077\u5f8c\u53ce\u5165\u2212\u652f\u51fa\u3009\u00d712\u00d7\u5e74\u6570\u3002\u7d99\u7d9a\u6848\uff1d\u5f8c\u306e\u9000\u8077\u91d1\uff0b\u3008\u5728\u8077\u624b\u53d6\u308a\u2212\u652f\u51fa\u3009\u00d712\u00d7\u5e74\u6570\u3002\u3069\u3061\u3089\u3082\u6bd4\u8f03\u671f\u9593\u7d42\u4e86\u6642\u70b9\u306e\u5408\u8a08\u3067\u3059\u3002',limit:'\u73fe\u5728\u306e\u9810\u91d1\u3084\u59bb\u306e\u53ce\u5165\u306a\u3069\u4e21\u6848\u3067\u5171\u901a\u306e\u9805\u76ee\u306f\u7701\u3044\u305f\u5dee\u306e\u6bd4\u8f03\u3067\u3059\u3002\u7a0e\u30fb\u4fdd\u967a\u6599\u7b49\u306f\u5165\u529b\u3059\u308b\u624b\u53d6\u308a\u3084\u7dcf\u652f\u51fa\u306b\u53cd\u6620\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u5c06\u6765\u306e\u5e74\u91d1\u5dee\u30fb\u904b\u7528\u76ca\u30fb\u7269\u4fa1\u30fb\u652f\u51fa\u5dee\u306f\u8a08\u7b97\u3057\u307e\u305b\u3093\u3002'},\nC01:{title:'\u6b8b\u3059\u8caf\u91d1\u3068\u8d64\u5b57\u3092\u88dc\u3048\u308b\u6708\u6570\u3092\u78ba\u8a8d',fields:[field('saved','\u59bb\u306e\u8caf\u91d1',500),field('keep','\u4f7f\u308f\u305a\u6b8b\u3057\u305f\u3044\u8cc7\u91d1',300),field('once','\u4e88\u5b9a\u3059\u308b\u4e00\u6642\u652f\u51fa',150),field('gap','\u6bce\u6708\u306e\u8d64\u5b57',5)],method:'\u4f7f\u3048\u308b\u4f59\u5730\uff1d\u8caf\u91d1\u2212\u6b8b\u3059\u8cc7\u91d1\u2212\u4e00\u6642\u652f\u51fa\u3002\u88dc\u586b\u3067\u304d\u308b\u6708\u6570\uff1d\u4f59\u5730\u00f7\u6bce\u6708\u306e\u8d64\u5b57\u3002\u7aef\u6570\u306f\u5207\u308a\u6368\u3066\u3066\u6e80\u305f\u305b\u308b\u6708\u6570\u3092\u8868\u793a\u3057\u307e\u3059\u3002',limit:'\u4f7f\u7528\u3078\u306e\u672c\u4eba\u306e\u540c\u610f\u3001\u8ca1\u7523\u306e\u5e30\u5c5e\u3001\u8d08\u4e0e\u3084\u8fd4\u6e08\u7fa9\u52d9\u3092\u5224\u5b9a\u3057\u307e\u305b\u3093\u3002\u904b\u7528\u76ca\u3001\u592b\u306e\u672a\u78ba\u8a8d\u306e\u53ce\u5165\u3001\u4eca\u5f8c\u306e\u652f\u51fa\u5909\u5316\u306f\u542b\u307f\u307e\u305b\u3093\u3002'},\nC02:{title:'\u5225\u8ca1\u5e03\u306e\u7a4d\u7acb\u3068\u8ca0\u62c5\u5272\u5408\u3092\u6bd4\u8f03',fields:[field('h','\u592b\u306e\u624b\u53d6\u308a\uff0f\u6708',30),field('w','\u59bb\u306e\u624b\u53d6\u308a\uff0f\u6708',15),field('cost','\u5171\u901a\u306e\u751f\u6d3b\u8cbb\uff0f\u6708',26),field('goal','\u5171\u901a\u76ee\u7684\u306e\u76ee\u6a19\u984d',600),field('saved','\u540c\u3058\u76ee\u7684\u306e\u6e96\u5099\u6e08\u307f\u8cc7\u91d1',120),field('years','\u6e96\u5099\u3059\u308b\u671f\u9593',10,'\u5e74',40,true)],method:'\u6bce\u6708\u306e\u7a4d\u7acb\uff1d\u3008\u76ee\u6a19\u2212\u6e96\u5099\u6e08\u307f\u8cc7\u91d1\u30010\u672a\u6e80\u306f0\u3009\u00f7\u6e96\u5099\u6708\u6570\u3002\u5171\u901a\u751f\u6d3b\u8cbb\u3068\u7a4d\u7acb\u3092\u5408\u8a08\u3057\u3001\u534a\u5206\u305a\u3064\u6255\u3046\u6848\u3068\u624b\u53d6\u308a\u6bd4\u3067\u6255\u3046\u6848\u3092\u6bd4\u8f03\u3057\u307e\u3059\u3002',limit:'\u8cc7\u7523\u306e\u6cd5\u7684\u306a\u5171\u6709\u3084\u7a0e\u52d9\u3092\u5224\u5b9a\u3059\u308b\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u500b\u4eba\u3067\u652f\u6255\u3046\u5fc5\u8981\u8cbb\u306f\u6b8b\u984d\u304b\u3089\u5225\u306b\u5f15\u3044\u3066\u304f\u3060\u3055\u3044\u3002\u6e96\u5099\u671f\u95930\u5e74\u306e\u5834\u5408\u306f\u73fe\u5728\u306e\u4e0d\u8db3\u984d\u3092\u8868\u793a\u3057\u3001\u7a4d\u7acb\u6848\u306f\u8a08\u7b97\u3057\u307e\u305b\u3093\u3002'},\nC03:{title:'\u982d\u91d12\u6848\u306e\u8fd4\u6e08\u3068\u6b8b\u308b\u73fe\u91d1\u3092\u6bd4\u8f03',fields:[field('price','\u4f4f\u5b85\u306e\u8cfc\u5165\u4ee3\u91d1',4000),field('saved','\u59bb\u306e\u8caf\u91d1',800),field('fees','\u59bb\u306e\u8caf\u91d1\u304b\u3089\u5225\u306b\u6255\u3046\u8af8\u8cbb\u7528',200),field('a','\u59bb\u306e\u982d\u91d1A',300),field('b','\u59bb\u306e\u982d\u91d1B',500),field('rate','\u5168\u671f\u9593\u4e00\u5b9a\u306e\u91d1\u5229\u306e\u4eee\u5b9a',1.5,'\uff05\uff0f\u5e74',20),field('years','\u8fd4\u6e08\u671f\u9593',30,'\u5e74',50,true)],method:'\u501f\u5165\u984d\uff1d\u8cfc\u5165\u4ee3\u91d1\u2212\u59bb\u306e\u982d\u91d1\u3002\u59bb\u306e\u6b8b\u308b\u73fe\u91d1\uff1d\u59bb\u306e\u8caf\u91d1\u2212\u982d\u91d1\u2212\u8af8\u8cbb\u7528\u3002\u5143\u5229\u5747\u7b49\u30fb\u6bce\u6708\u672b\u6255\u3044\u30fb\u30dc\u30fc\u30ca\u30b9\u6255\u3044\u306a\u3057\u3002\u6708\u984d\uff1dP\u00d7r\u00f7\u30081\u2212(1+r)^\u2212n\u3009\u3001r\uff1d\u5e74\u5229\u00f71200\u3001n\uff1d\u5e74\u6570\u00d712\u3002\u91d1\u52290\uff05\u306fP\u00f7n\u3002',limit:'\u592b\u306e\u982d\u91d1\u306f0\u3001\u501f\u5165\u306f\u592b\u304c\u5168\u984d\u8ca0\u62c5\u3059\u308b\u5358\u7d14\u6bd4\u8f03\u3067\u3059\u3002\u8af8\u8cbb\u7528\u306e\u878d\u8cc7\u3001\u7a0e\u63a7\u9664\u3001\u56e3\u4fe1\u8cbb\u7528\u3001\u7aef\u6570\u51e6\u7406\u3001\u5909\u52d5\u91d1\u5229\u3092\u53cd\u6620\u3057\u307e\u305b\u3093\u3002\u8cc7\u91d1\u8ca0\u62c5\u6bd4\u7387\u306f\u7b97\u6570\u3067\u3042\u308a\u3001\u767b\u8a18\u3084\u8d08\u4e0e\u7a0e\u3092\u5224\u65ad\u3057\u307e\u305b\u3093\u3002'}\n};\nfunction calculate(mode,p){\n const d=defs[mode];if(!d)throw Error('\u8a08\u7b97\u306e\u7a2e\u985e\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002');\n for(const f of d.fields){const v=p[f.key];if(!Number.isFinite(v)||v<0||v>f.max||(f.integer&&!Number.isInteger(v)))throw Error(f.label+'\u306f0\u301c'+f.max+(f.integer?'\u306e\u6574\u6570':'')+'\u3067\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002');}\n const rows=[];const add=(label,value,unit='\u4e07\u5186')=>rows.push({label,value,unit});\n if(mode==='A04'){\n  if(p.delay>p.months)throw Error('\u521d\u56de\u5165\u91d1\u307e\u3067\u306e\u6708\u6570\u306f\u78ba\u8a8d\u6708\u6570\u4ee5\u4e0b\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002');\n  let balance=0,min=0;const schedule=[];\n  for(let m=1;m<=p.months;m++){balance+=p.h-p.cost;min=Math.min(min,balance);const before=balance;const benefit=p.delay===0?p.w:m===p.delay?p.w*p.delay:m>p.delay?p.w:0;balance+=benefit;schedule.push({month:m,before,benefit,end:balance});}\n  \/\/ Before = income less expenses for the month, immediately before the benefit deposit.\n  add('\u7d66\u4ed8\u304c\u5165\u308b\u76f4\u524d\u307e\u3067\u306e\u6700\u5927\u6301\u3061\u51fa\u3057',Math.max(0,-min));add('\u6e96\u5099\u91d1\u3068\u306e\u5dee\u3008\u30de\u30a4\u30ca\u30b9\u306f\u4e0d\u8db3\u3009',p.savings+min);add('\u78ba\u8a8d\u671f\u9593\u7d42\u4e86\u6642\u306e\u53ce\u652f\u7d2f\u8a08',balance);return{rows,schedule};\n }\n if(mode==='A06'){const annual=p.surplus-p.loss*12-p.daily*12-p.school;add('\u5909\u66f4\u524d\u306e\u5e74\u9593\u53ce\u652f',p.surplus);add('\u5909\u66f4\u5f8c\u306e\u5e74\u9593\u53ce\u652f',annual);add('\u4e00\u6642\u652f\u51fa\u3092\u5f15\u3044\u305f\u671f\u9593\u306e\u53ce\u652f\u5408\u8a08',annual*p.years-p.once);}\n if(mode==='B01'){const net=p.hi+p.wi-p.cost;add('\u6708\u306e\u53ce\u652f',net);add('\u4e00\u6642\u652f\u51fa\u3092\u5f15\u3044\u305f\u671f\u9593\u306e\u53ce\u652f\u5408\u8a08',net*12*p.years-p.once);add('\u5b50\u4f9b18\u6b73\u6642\u306e\u592b\u306e\u5e74\u9f62',p.h+18-p.child,'\u6b73');add('\u5b50\u4f9b18\u6b73\u6642\u306e\u59bb\u306e\u5e74\u9f62',p.w+18-p.child,'\u6b73');}\n if(mode==='B02'){const target=p.gap*12*p.years+p.school+p.reserve,need=Math.max(0,target-p.saved);add('\u751f\u6d3b\u88dc\u586b\u306b\u5fc5\u8981\u306a\u984d',p.gap*12*p.years);add('\u6559\u80b2\u8cbb\u30fb\u4e88\u5099\u8cbb\u3092\u542b\u3080\u6e96\u5099\u984d',target);add('\u8ffd\u52a0\u3067\u5fc5\u8981\u306a\u984d',need);add('\u9000\u8077\u307e\u3067\u306e\u6bce\u6708\u7a4d\u7acb',p.until?need\/(p.until*12):null,p.until?'\u4e07\u5186\uff0f\u6708':'\u9000\u8077\u307e\u30670\u5e74\u306e\u305f\u3081\u73fe\u5728\u306e\u5dee\u984d\u3092\u78ba\u8a8d');}\n if(mode==='B03'){if(p.cut>p.cost)throw Error('\u6e1b\u3089\u3059\u652f\u51fa\u306f\u6708\u306e\u7dcf\u652f\u51fa\u4ee5\u4e0b\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002');const a=p.h+p.w-p.cost-p.extra\/12,b=a+p.increase+p.cut;add('\u73fe\u5728\u6848\u306e\u6708\u306e\u53ce\u652f',a);add('\u5909\u66f4\u6848\u306e\u6708\u306e\u53ce\u652f',b);add('\u73fe\u5728\u6848\u3067\u5fc5\u8981\u306a\u8d64\u5b57\u88dc\u586b',Math.max(0,-a)*12*p.years);add('\u5909\u66f4\u6848\u3067\u5fc5\u8981\u306a\u8d64\u5b57\u88dc\u586b',Math.max(0,-b)*12*p.years);}\n if(mode==='B04'){if(p.retire<p.wage||p.start<p.retire)throw Error('\u73fe\u5728\u5e74\u9f62\u2266\u9000\u8077\u5e74\u9f62\u2266\u5e74\u91d1\u958b\u59cb\u5e74\u9f62\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002');const work=p.retire-p.wage,gap=p.start-p.retire,a=(p.hp+p.wi-p.cost)*12*work,b=(p.hp-p.cost)*12*gap;add('\u59bb\u306e\u5e74\u91d1\u958b\u59cb\u307e\u3067',p.start-p.wage,'\u5e74');add('\u59bb\u306e\u5c31\u52b4\u4e2d\u306e\u53ce\u652f\u5408\u8a08',a);add('\u59bb\u306e\u9000\u8077\u304b\u3089\u5e74\u91d1\u307e\u3067\u306e\u53ce\u652f\u5408\u8a08',b);add('\u73fe\u5728\u8cc7\u91d1\u3092\u542b\u3080\u671f\u9593\u7d42\u4e86\u6642\u306e\u6b8b\u984d',p.saved+a+b);}\n if(mode==='B05'){const a=p.now+(p.after-p.cost)*12*p.years,b=p.later+(p.salary-p.cost)*12*p.years;add('\u4eca\u9000\u8077\u6848\u306e\u6bd4\u8f03\u6642\u70b9\u306e\u8cc7\u91d1',a);add('\u7d99\u7d9a\u6848\u306e\u6bd4\u8f03\u6642\u70b9\u306e\u8cc7\u91d1',b);add('\u7d99\u7d9a\u6848\u2212\u4eca\u9000\u8077\u6848\u306e\u5dee',b-a);}\n if(mode==='C01'){const spare=p.saved-p.keep-p.once;add('\u6b8b\u3059\u8cc7\u91d1\u3068\u652f\u51fa\u3092\u5f15\u3044\u305f\u4f59\u5730',spare);add('\u8d64\u5b57\u3092\u88dc\u3048\u308b\u6e80\u6708\u6570',spare<0?0:p.gap?Math.floor(spare\/p.gap):null,p.gap?'\u304b\u6708':'\u6bce\u6708\u306e\u8d64\u5b570\u306e\u305f\u3081\u88dc\u586b\u671f\u9593\u3092\u8a08\u7b97\u3057\u307e\u305b\u3093');add('\u4e00\u6642\u652f\u51fa\u3092\u6255\u3046\u305f\u3081\u306b\u4e0d\u8db3\u3059\u308b\u984d',Math.max(0,-spare));}\n if(mode==='C02'){const need=Math.max(0,p.goal-p.saved);add('\u76ee\u6a19\u307e\u3067\u306e\u4e0d\u8db3',need);if(!p.years){add('\u73fe\u5728\u306e\u4e0d\u8db3\u3092\u6e96\u5099\u3057\u3066\u304f\u3060\u3055\u3044',null,'\u6e96\u5099\u671f\u95930\u5e74\u306e\u305f\u3081\u7a4d\u7acb\u6848\u306a\u3057');return{rows};}const saving=need\/(p.years*12),total=p.cost+saving;add('\u5fc5\u8981\u306a\u7a4d\u7acb\uff0f\u6708',saving);add('\u751f\u6d3b\u8cbb\u3068\u7a4d\u7acb\u306e\u5408\u8a08\uff0f\u6708',total);add('\u6298\u534a\u306e\u592b\u306e\u8ca0\u62c5\uff0f\u6708',total\/2);add('\u6298\u534a\u306e\u59bb\u306e\u8ca0\u62c5\uff0f\u6708',total\/2);add('\u6298\u534a\u306e\u592b\u306e\u6b8b\u984d\uff0f\u6708',p.h-total\/2);add('\u6298\u534a\u306e\u59bb\u306e\u6b8b\u984d\uff0f\u6708',p.w-total\/2);if(p.h+p.w===0){add('\u53ce\u5165\u6bd4\u4f8b',null,'\u592b\u5a66\u3068\u3082\u53ce\u51650\u306e\u305f\u3081\u6bd4\u7387\u3092\u8a08\u7b97\u3067\u304d\u307e\u305b\u3093');}else{const h=total*p.h\/(p.h+p.w),w=total-h;add('\u53ce\u5165\u6bd4\u4f8b\u306e\u592b\u306e\u8ca0\u62c5\uff0f\u6708',h);add('\u53ce\u5165\u6bd4\u4f8b\u306e\u59bb\u306e\u8ca0\u62c5\uff0f\u6708',w);add('\u53ce\u5165\u6bd4\u4f8b\u306e\u592b\u306e\u6b8b\u984d\uff0f\u6708',p.h-h);add('\u53ce\u5165\u6bd4\u4f8b\u306e\u59bb\u306e\u6b8b\u984d\uff0f\u6708',p.w-w);}}\n if(mode==='C03'){if(!p.years)throw Error('\u8fd4\u6e08\u671f\u9593\u306f1\u5e74\u4ee5\u4e0a\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002');if(!p.price)throw Error('\u4f4f\u5b85\u306e\u8cfc\u5165\u4ee3\u91d1\u306f0\u3088\u308a\u5927\u304d\u304f\u3057\u3066\u304f\u3060\u3055\u3044\u3002');if(p.a>p.price||p.b>p.price)throw Error('\u982d\u91d1\u306f\u8cfc\u5165\u4ee3\u91d1\u4ee5\u4e0b\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002');for(const [name,down]of[['A',p.a],['B',p.b]]){const principal=p.price-down,n=p.years*12,r=p.rate\/1200,monthly=r?principal*r\/(-Math.expm1(-n*Math.log1p(r))):principal\/n;add(name+'\u306e\u501f\u5165\u984d',principal);add(name+'\u306e\u6bce\u6708\u8fd4\u6e08',monthly,'\u4e07\u5186\uff0f\u6708');add(name+'\u306e\u59bb\u306e\u6b8b\u308b\u73fe\u91d1\u3008\u30de\u30a4\u30ca\u30b9\u306f\u4e0d\u8db3\u3009',p.saved-down-p.fees);add(name+'\u306e\u59bb\u306e\u8cc7\u91d1\u8ca0\u62c5\u6bd4\u7387',down\/p.price*100,'\uff05');}}\n return{rows};\n}\nreturn{defs,calculate};\n});\n\n(function(){'use strict';\nfor(const box of document.querySelectorAll('[data-agb-tool]')){\n if(box.dataset.ready)continue;box.dataset.ready='1';\n const mode=box.dataset.agbTool,api=window.AGBatchModels,form=box.querySelector('form'),result=box.querySelector('[data-agb-result]'),error=box.querySelector('[role=alert]');\n if(!api||!form)continue;\n box.querySelector('fieldset').disabled=false;\n const fmt=(v)=>new Intl.NumberFormat('ja-JP',{maximumFractionDigits:2}).format(v);\n function run(){error.textContent='';try{const p={};for(const f of api.defs[mode].fields){const input=form.elements.namedItem(f.key);p[f.key]=input.value.trim()===''?NaN:Number(input.value);}const out=api.calculate(mode,p);result.replaceChildren();const table=document.createElement('table');table.style.cssText='width:100%;border-collapse:collapse;background:#fff;font-size:inherit';const caption=document.createElement('caption');caption.textContent='\u5165\u529b\u3057\u305f\u6761\u4ef6\u306b\u3088\u308b\u7c21\u6613\u8a08\u7b97\u306e\u7d50\u679c';caption.style.cssText='text-align:left;font-weight:bold;padding:12px 0';table.append(caption);const body=document.createElement('tbody');for(const r of out.rows){const tr=document.createElement('tr'),th=document.createElement('th'),td=document.createElement('td');th.scope='row';th.textContent=r.label;td.textContent=(r.value===null?'':fmt(r.value)+' ')+r.unit;th.style.cssText='text-align:left;padding:12px;border-bottom:1px solid #d8dfd9;font-weight:500;width:60%';td.style.cssText='padding:12px;border-bottom:1px solid #d8dfd9;font-weight:bold;overflow-wrap:anywhere';if(r.value!==null&&r.value<0)td.style.color='#a6382e';tr.append(th,td);body.append(tr);}table.append(body);result.append(table);if(out.schedule){const details=document.createElement('details'),summary=document.createElement('summary');summary.textContent='\u6708\u3054\u3068\u306e\u7d66\u4ed8\u5165\u91d1\u3068\u53ce\u652f\u7d2f\u8a08\u3092\u898b\u308b';details.append(summary);for(const r of out.schedule){const p=document.createElement('p');p.textContent=r.month+'\u304b\u6708\u76ee\uff1a\u7d66\u4ed8\u524d '+fmt(r.before)+'\u4e07\u5186 \uff0f \u7d66\u4ed8 '+fmt(r.benefit)+'\u4e07\u5186 \uff0f \u6708\u672b\u7d2f\u8a08 '+fmt(r.end)+'\u4e07\u5186';details.append(p);}result.append(details);}const note=document.createElement('p');note.textContent='\u30de\u30a4\u30ca\u30b9\u306f\u4e0d\u8db3\u30fb\u53d6\u308a\u5d29\u3057\u3092\u8868\u3057\u307e\u3059\u3002\u51fa\u7523\u30fb\u9000\u8077\u30fb\u501f\u5165\u306e\u53ef\u5426\u3092\u5224\u5b9a\u3059\u308b\u7d50\u679c\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002';note.style.fontSize='.85em';result.append(note);}catch(e){error.textContent=e.message;result.replaceChildren();}}\n form.addEventListener('submit',e=>{e.preventDefault();run();});form.addEventListener('reset',()=>setTimeout(run,0));form.addEventListener('input',()=>{result.replaceChildren();const p=document.createElement('p');p.textContent='\u6761\u4ef6\u3092\u5909\u66f4\u3057\u307e\u3057\u305f\u3002\u300c\u3053\u306e\u6761\u4ef6\u3067\u6bd4\u8f03\u3059\u308b\u300d\u3092\u62bc\u3059\u3068\u7d50\u679c\u3092\u66f4\u65b0\u3057\u307e\u3059\u3002';result.append(p);});run();\n}\n})();\n<\/script>\n\n\n<script>(function(root,factory){const api=factory();if(typeof module==='object'&&module.exports)module.exports=api;else root.AGBatchModels=api;})(typeof globalThis!=='undefined'?globalThis:this,function(){\n'use strict';\nconst field=(key,label,value,unit='\u4e07\u5186',max=100000,integer=false)=>({key,label,value,unit,max,integer});\nconst defs={\nA04:{title:'\u7d66\u4ed8\u5f85\u3061\u306e\u6e96\u5099\u91d1\u3092\u6708\u5225\u306b\u78ba\u8a8d',fields:[field('h','\u592b\u306e\u624b\u53d6\u308a\uff0f\u6708',18),field('w','\u59bb\u306e\u7d66\u4ed8\u7b49\u306e\u53d7\u53d6\u898b\u8fbc\u307f\uff0f\u6708',12),field('cost','\u5bb6\u8a08\u306e\u7dcf\u652f\u51fa\uff0f\u6708',33),field('delay','\u6700\u521d\u306e\u5165\u91d1\u307e\u3067\u306e\u6708\u6570',4,'\u304b\u6708',24,true),field('months','\u78ba\u8a8d\u3059\u308b\u6708\u6570',12,'\u304b\u6708',60,true),field('savings','\u751f\u6d3b\u8cbb\u306b\u4f7f\u3048\u308b\u6e96\u5099\u91d1',100)],method:'\u6bce\u6708\u306e\u592b\u306e\u53ce\u5165\u3068\u652f\u51fa\u3092\u8a08\u4e0a\u3057\u3001\u7d66\u4ed8\u5165\u91d1\u524d\u306e\u6b8b\u9ad8\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u7d66\u4ed8\u306f\u6307\u5b9a\u6708\u306e\u672b\u306b\u305d\u306e\u6708\u307e\u3067\u306e\u5206\u3092\u4e00\u62ec\u5165\u91d1\u3057\u3001\u4ee5\u5f8c\u306f\u6bce\u6708\u53d7\u53d6\u308b\u5358\u7d14\u306a\u4eee\u5b9a\u3067\u3059\u3002\u5165\u91d1\u76f4\u524d\u306e\u4e0d\u8db3\u3068\u6708\u672b\u6b8b\u9ad8\u3092\u533a\u5225\u3057\u307e\u3059\u3002',limit:'\u5b9f\u969b\u306e\u7d66\u4ed8\u306e\u8cc7\u683c\u30fb\u984d\u30fb\u5165\u91d1\u65e5\u3092\u5224\u5b9a\u3057\u307e\u305b\u3093\u3002\u652f\u6255\u9806\u5e8f\u306f\u4fdd\u5b88\u7684\u306a\u4eee\u5b9a\u3067\u3001\u5b9f\u969b\u306e\u53e3\u5ea7\u306e\u52d5\u304d\u3092\u518d\u73fe\u3057\u307e\u305b\u3093\u3002\u521d\u56de\u307e\u3067\u306e\u6708\u6570\u306f\u78ba\u8a8d\u6708\u6570\u4ee5\u4e0b\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002'},\nA06:{title:'3\u4eba\u76ee\u3068\u6642\u77ed\u306e\u8ffd\u52a0\u8ca0\u62c5\u3092\u6bd4\u8f03',fields:[field('surplus','\u73fe\u5728\u306e\u5e74\u9593\u9ed2\u5b57\u3008\u5b50\u3069\u30822\u4eba\u5206\u3092\u542b\u3080\u3009',120),field('loss','\u6642\u77ed\u3067\u6e1b\u308b\u624b\u53d6\u308a\uff0f\u6708',5),field('daily','3\u4eba\u76ee\u306e\u8ffd\u52a0\u65e5\u5e38\u8cbb\uff0f\u6708',2),field('school','3\u4eba\u76ee\u306e\u8ffd\u52a0\u6559\u80b2\u4fdd\u80b2\u8cbb\uff0f\u5e74',24),field('years','\u540c\u3058\u6761\u4ef6\u304c\u7d9a\u304f\u671f\u9593',3,'\u5e74',30,true),field('once','\u671f\u9593\u4e2d\u306e\u8ffd\u52a0\u4e00\u6642\u652f\u51fa',60)],method:'\u5909\u66f4\u5f8c\u306e\u5e74\u9593\u53ce\u652f\uff1d\u73fe\u5728\u306e\u5e74\u9593\u9ed2\u5b57\u2212\u624b\u53d6\u308a\u6e1b\u00d712\u2212\u8ffd\u52a0\u65e5\u5e38\u8cbb\u00d712\u2212\u8ffd\u52a0\u6559\u80b2\u4fdd\u80b2\u8cbb\u3002\u671f\u9593\u306e\u5408\u8a08\u306f\u5e74\u9593\u53ce\u652f\u00d7\u5e74\u6570\u2212\u4e00\u6642\u652f\u51fa\u3067\u3059\u3002',limit:'\u57fa\u6e96\u5bb6\u8a08\u306b\u4e0a\u306e2\u4eba\u306e\u8cbb\u7528\u3092\u542b\u3081\u307e\u3059\u3002\u592b\u306e\u9000\u8077\u3084\u4e0a\u306e\u5b50\u306e\u9032\u5b66\u3067\u57fa\u6e96\u53ce\u652f\u304c\u5909\u308f\u308b\u3068\u304d\u306f\u3001\u671f\u9593\u3092\u5206\u3051\u3066\u518d\u8a08\u7b97\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u4e00\u6642\u652f\u51fa\u306e\u767a\u751f\u6708\u306f\u518d\u73fe\u3057\u307e\u305b\u3093\u3002'},\nB01:{title:'\u5c0f\u5b66\u6821\u671f\u304b\u3089\u9032\u5b66\u307e\u3067\u306e\u4e0d\u8db3\u3092\u78ba\u8a8d',fields:[field('h','\u592b\u306e\u73fe\u5728\u5e74\u9f62',60,'\u6b73',100,true),field('w','\u59bb\u306e\u73fe\u5728\u5e74\u9f62',40,'\u6b73',100,true),field('child','\u5b50\u4f9b\u306e\u73fe\u5728\u5e74\u9f62',8,'\u6b73',17,true),field('hi','\u3053\u306e\u671f\u9593\u306e\u592b\u306e\u624b\u53d6\u308a\uff0f\u6708',18),field('wi','\u3053\u306e\u671f\u9593\u306e\u59bb\u306e\u624b\u53d6\u308a\uff0f\u6708',10),field('cost','\u4f4f\u5c45\u30fb\u6559\u80b2\u8cbb\u3092\u542b\u3080\u7dcf\u652f\u51fa\uff0f\u6708',32),field('years','\u540c\u3058\u53ce\u5165\u6761\u4ef6\u304c\u7d9a\u304f\u671f\u9593',5,'\u5e74',40,true),field('once','\u6708\u984d\u306b\u542b\u3081\u3066\u3044\u306a\u3044\u671f\u9593\u4e2d\u306e\u4e00\u6642\u652f\u51fa',0)],method:'\u6708\u306e\u53ce\u652f\uff1d\u592b\u306e\u624b\u53d6\u308a\uff0b\u59bb\u306e\u624b\u53d6\u308a\u2212\u7dcf\u652f\u51fa\u3002\u671f\u9593\u4e2d\u306e\u53ce\u652f\u5408\u8a08\uff1d\u6708\u306e\u53ce\u652f\u00d712\u00d7\u5e74\u6570\u2212\u4e00\u6642\u652f\u51fa\u3002\u5b50\u4f9b18\u6b73\u6642\u306e\u5e74\u9f62\uff1d\u73fe\u5728\u306e\u89aa\u306e\u5e74\u9f62\uff0b18\u2212\u5b50\u4f9b\u306e\u73fe\u5728\u5e74\u9f62\u3002',limit:'\u9032\u5b66\u5e74\u306f18\u6b73\u6642\u70b9\u306e\u76ee\u5b89\u3067\u3059\u3002\u9000\u8077\u5f8c\u306e\u7d66\u4e0e\u3084\u5e74\u91d1\u3001\u6559\u80b2\u8cbb\u306e\u5909\u5316\u306f\u81ea\u52d5\u53cd\u6620\u3057\u306a\u3044\u305f\u3081\u3001\u6761\u4ef6\u304c\u5909\u308f\u308b\u305f\u3073\u306b\u671f\u9593\u3092\u5206\u3051\u3066\u8a08\u7b97\u3057\u3066\u304f\u3060\u3055\u3044\u3002'},\nB02:{title:'\u9000\u8077\u91d1\u306a\u3057\u3067\u5fc5\u8981\u306a\u6e96\u5099\u984d\u3092\u9006\u7b97',fields:[field('gap','\u5e74\u91d1\u307e\u3067\u306e\u4e0d\u8db3\uff0f\u6708',5),field('years','\u4e0d\u8db3\u304c\u7d9a\u304f\u671f\u9593',5,'\u5e74',40,true),field('school','\u5225\u306b\u6b8b\u3059\u6559\u80b2\u8cbb',200),field('reserve','\u5225\u306b\u6b8b\u3059\u4e88\u5099\u8cbb',100),field('saved','\u3053\u306e\u76ee\u7684\u306b\u4f7f\u3048\u308b\u73fe\u5728\u306e\u8cc7\u91d1',300),field('until','\u9000\u8077\u307e\u3067\u306e\u671f\u9593',10,'\u5e74',40,true)],method:'\u6e96\u5099\u306e\u5408\u8a08\uff1d\u6708\u306e\u4e0d\u8db3\u00d712\u00d7\u4e0d\u8db3\u671f\u9593\uff0b\u6559\u80b2\u8cbb\uff0b\u4e88\u5099\u8cbb\u3002\u8ffd\u52a0\u6e96\u5099\u984d\uff1d\u5408\u8a08\u2212\u73fe\u5728\u306e\u8cc7\u91d1\u30080\u672a\u6e80\u306f0\u3009\u3002\u6708\u306e\u7a4d\u7acb\uff1d\u8ffd\u52a0\u6e96\u5099\u984d\u00f7\u9000\u8077\u307e\u3067\u306e\u6708\u6570\u3002',limit:'\u9000\u8077\u91d1\u306f0\u3068\u3057\u3066\u8a08\u7b97\u3057\u307e\u3059\u3002\u5e74\u91d1\u958b\u59cb\u5f8c\u3082\u8d64\u5b57\u306b\u306a\u308b\u5834\u5408\u306e\u8cc7\u91d1\u306f\u542b\u307e\u308c\u307e\u305b\u3093\u3002\u6559\u80b2\u8cbb\u3084\u4e88\u5099\u8cbb\u3092\u4e0d\u8db3\u6708\u984d\u306b\u542b\u3081\u3066\u3044\u308b\u5834\u5408\u306f\u5225\u67a0\u3067\u91cd\u306d\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002'},\nB03:{title:'\u518d\u96c7\u7528\u5f8c\u306e\u8d64\u5b57\u3068\u5909\u66f4\u6848\u3092\u6bd4\u8f03',fields:[field('h','\u592b\u306e\u518d\u96c7\u7528\u5f8c\u306e\u624b\u53d6\u308a\uff0f\u6708',18),field('w','\u59bb\u306e\u624b\u53d6\u308a\uff0f\u6708',10),field('cost','\u6708\u306e\u7dcf\u652f\u51fa',32),field('extra','\u6708\u984d\u306b\u542b\u3081\u306a\u3044\u5e74\u6255\u3044\u8cbb\u7528',24),field('increase','\u5909\u66f4\u6848\u3067\u5897\u3048\u308b\u59bb\u306e\u624b\u53d6\u308a\uff0f\u6708',3),field('cut','\u5909\u66f4\u6848\u3067\u6e1b\u3089\u3059\u652f\u51fa\uff0f\u6708',1),field('years','\u540c\u3058\u6761\u4ef6\u304c\u7d9a\u304f\u671f\u9593',5,'\u5e74',40,true)],method:'\u73fe\u5728\u306e\u6708\u306e\u53ce\u652f\uff1d\u592b\u5a66\u306e\u624b\u53d6\u308a\u2212\u6708\u306e\u652f\u51fa\u2212\u5e74\u6255\u3044\u8cbb\u7528\u00f712\u3002\u5909\u66f4\u6848\u306f\u624b\u53d6\u308a\u5897\u3068\u652f\u51fa\u524a\u6e1b\u3092\u52a0\u7b97\u3057\u307e\u3059\u3002',limit:'\u624b\u53d6\u308a\u5897\u306f\u52e4\u52d9\u5909\u66f4\u306b\u4f34\u3046\u8ffd\u52a0\u8cbb\u7528\u3092\u5dee\u3057\u5f15\u3044\u305f\u984d\u3092\u4f7f\u3063\u3066\u304f\u3060\u3055\u3044\u3002\u652f\u51fa\u524a\u6e1b\u306f\u6708\u306e\u7dcf\u652f\u51fa\u4ee5\u4e0b\u3067\u3059\u3002\u518d\u96c7\u7528\u7d42\u4e86\u5f8c\u306e\u7d66\u4e0e\u3084\u5e74\u91d1\u306f\u81ea\u52d5\u5207\u66ff\u3057\u307e\u305b\u3093\u3002'},\nB04:{title:'\u59bb\u306e\u5c31\u52b4\u4e2d\u3068\u5e74\u91d1\u524d\u306e\u7a7a\u767d\u3092\u6bd4\u8f03',fields:[field('wage','\u59bb\u306e\u73fe\u5728\u5e74\u9f62',40,'\u6b73',64,true),field('retire','\u59bb\u306e\u9000\u8077\u5e74\u9f62\u306e\u4eee\u5b9a',60,'\u6b73',65,true),field('start','\u59bb\u306e\u5e74\u91d1\u958b\u59cb\u5e74\u9f62\u306e\u4eee\u5b9a',65,'\u6b73',75,true),field('hp','\u592b\u306e\u5e74\u91d1\u624b\u53d6\u308a\uff0f\u6708',16),field('wi','\u59bb\u306e\u5c31\u52b4\u4e2d\u306e\u624b\u53d6\u308a\uff0f\u6708',12),field('cost','\u5bb6\u8a08\u306e\u7dcf\u652f\u51fa\uff0f\u6708',26),field('saved','\u3053\u306e\u671f\u9593\u306b\u4f7f\u3048\u308b\u73fe\u5728\u306e\u8cc7\u91d1',200)],method:'\u5c31\u52b4\u5e74\u6570\uff1d\u59bb\u306e\u9000\u8077\u5e74\u9f62\u2212\u73fe\u5728\u5e74\u9f62\u3002\u7d66\u4e0e\u306e\u306a\u3044\u5e74\u6570\uff1d\u59bb\u306e\u5e74\u91d1\u958b\u59cb\u5e74\u9f62\u2212\u9000\u8077\u5e74\u9f62\u3002\u592b\u306e\u5e74\u91d1\u3092\u4e00\u5b9a\u3068\u3057\u3066\u3001\u5404\u671f\u9593\u306e\u53ce\u5165\u304b\u3089\u652f\u51fa\u3092\u5dee\u3057\u5f15\u3044\u3066\u5408\u8a08\u3057\u307e\u3059\u3002',limit:'\u73fe\u5728\u5e74\u9f62\u2266\u9000\u8077\u5e74\u9f62\u2266\u5e74\u91d1\u958b\u59cb\u5e74\u9f62\u3068\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u592b\u5a66\u3068\u3082\u3053\u306e\u671f\u9593\u3092\u901a\u3058\u3066\u751f\u5b58\u3057\u3001\u592b\u306e\u5e74\u91d1\u304c\u4e00\u5b9a\u3068\u3044\u3046\u4eee\u5b9a\u3067\u3059\u3002\u59bb\u306e\u5e74\u91d1\u958b\u59cb\u5f8c\u30fb\u907a\u65cf\u5e74\u91d1\u30fb\u52a0\u7d66\u5e74\u91d1\u30fb\u7269\u4fa1\u30fb\u4ecb\u8b77\u8cbb\u306f\u81ea\u52d5\u53cd\u6620\u3057\u307e\u305b\u3093\u3002'},\nB05:{title:'\u4eca\u9000\u8077\u3068\u6570\u5e74\u5f8c\u306e\u9000\u8077\u3092\u540c\u3058\u6642\u70b9\u3067\u6bd4\u8f03',fields:[field('now','\u4eca\u9000\u8077\u3059\u308b\u5834\u5408\u306e\u9000\u8077\u91d1\u624b\u53d6\u308a',1200),field('later','\u6570\u5e74\u5f8c\u306b\u9000\u8077\u3059\u308b\u5834\u5408\u306e\u9000\u8077\u91d1\u624b\u53d6\u308a',800),field('years','\u6bd4\u8f03\u3059\u308b\u671f\u9593',3,'\u5e74',20,true),field('salary','\u50cd\u304d\u7d9a\u3051\u308b\u5834\u5408\u306e\u624b\u53d6\u308a\uff0f\u6708',35),field('after','\u4eca\u9000\u8077\u3057\u305f\u5f8c\u306e\u53ce\u5165\uff0f\u6708',0),field('cost','\u4e21\u6848\u5171\u901a\u306e\u7dcf\u652f\u51fa\uff0f\u6708',30)],method:'\u4eca\u9000\u8077\u6848\uff1d\u4eca\u306e\u9000\u8077\u91d1\uff0b\u3008\u9000\u8077\u5f8c\u53ce\u5165\u2212\u652f\u51fa\u3009\u00d712\u00d7\u5e74\u6570\u3002\u7d99\u7d9a\u6848\uff1d\u5f8c\u306e\u9000\u8077\u91d1\uff0b\u3008\u5728\u8077\u624b\u53d6\u308a\u2212\u652f\u51fa\u3009\u00d712\u00d7\u5e74\u6570\u3002\u3069\u3061\u3089\u3082\u6bd4\u8f03\u671f\u9593\u7d42\u4e86\u6642\u70b9\u306e\u5408\u8a08\u3067\u3059\u3002',limit:'\u73fe\u5728\u306e\u9810\u91d1\u3084\u59bb\u306e\u53ce\u5165\u306a\u3069\u4e21\u6848\u3067\u5171\u901a\u306e\u9805\u76ee\u306f\u7701\u3044\u305f\u5dee\u306e\u6bd4\u8f03\u3067\u3059\u3002\u7a0e\u30fb\u4fdd\u967a\u6599\u7b49\u306f\u5165\u529b\u3059\u308b\u624b\u53d6\u308a\u3084\u7dcf\u652f\u51fa\u306b\u53cd\u6620\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u5c06\u6765\u306e\u5e74\u91d1\u5dee\u30fb\u904b\u7528\u76ca\u30fb\u7269\u4fa1\u30fb\u652f\u51fa\u5dee\u306f\u8a08\u7b97\u3057\u307e\u305b\u3093\u3002'},\nC01:{title:'\u6b8b\u3059\u8caf\u91d1\u3068\u8d64\u5b57\u3092\u88dc\u3048\u308b\u6708\u6570\u3092\u78ba\u8a8d',fields:[field('saved','\u59bb\u306e\u8caf\u91d1',500),field('keep','\u4f7f\u308f\u305a\u6b8b\u3057\u305f\u3044\u8cc7\u91d1',300),field('once','\u4e88\u5b9a\u3059\u308b\u4e00\u6642\u652f\u51fa',150),field('gap','\u6bce\u6708\u306e\u8d64\u5b57',5)],method:'\u4f7f\u3048\u308b\u4f59\u5730\uff1d\u8caf\u91d1\u2212\u6b8b\u3059\u8cc7\u91d1\u2212\u4e00\u6642\u652f\u51fa\u3002\u88dc\u586b\u3067\u304d\u308b\u6708\u6570\uff1d\u4f59\u5730\u00f7\u6bce\u6708\u306e\u8d64\u5b57\u3002\u7aef\u6570\u306f\u5207\u308a\u6368\u3066\u3066\u6e80\u305f\u305b\u308b\u6708\u6570\u3092\u8868\u793a\u3057\u307e\u3059\u3002',limit:'\u4f7f\u7528\u3078\u306e\u672c\u4eba\u306e\u540c\u610f\u3001\u8ca1\u7523\u306e\u5e30\u5c5e\u3001\u8d08\u4e0e\u3084\u8fd4\u6e08\u7fa9\u52d9\u3092\u5224\u5b9a\u3057\u307e\u305b\u3093\u3002\u904b\u7528\u76ca\u3001\u592b\u306e\u672a\u78ba\u8a8d\u306e\u53ce\u5165\u3001\u4eca\u5f8c\u306e\u652f\u51fa\u5909\u5316\u306f\u542b\u307f\u307e\u305b\u3093\u3002'},\nC02:{title:'\u5225\u8ca1\u5e03\u306e\u7a4d\u7acb\u3068\u8ca0\u62c5\u5272\u5408\u3092\u6bd4\u8f03',fields:[field('h','\u592b\u306e\u624b\u53d6\u308a\uff0f\u6708',30),field('w','\u59bb\u306e\u624b\u53d6\u308a\uff0f\u6708',15),field('cost','\u5171\u901a\u306e\u751f\u6d3b\u8cbb\uff0f\u6708',26),field('goal','\u5171\u901a\u76ee\u7684\u306e\u76ee\u6a19\u984d',600),field('saved','\u540c\u3058\u76ee\u7684\u306e\u6e96\u5099\u6e08\u307f\u8cc7\u91d1',120),field('years','\u6e96\u5099\u3059\u308b\u671f\u9593',10,'\u5e74',40,true)],method:'\u6bce\u6708\u306e\u7a4d\u7acb\uff1d\u3008\u76ee\u6a19\u2212\u6e96\u5099\u6e08\u307f\u8cc7\u91d1\u30010\u672a\u6e80\u306f0\u3009\u00f7\u6e96\u5099\u6708\u6570\u3002\u5171\u901a\u751f\u6d3b\u8cbb\u3068\u7a4d\u7acb\u3092\u5408\u8a08\u3057\u3001\u534a\u5206\u305a\u3064\u6255\u3046\u6848\u3068\u624b\u53d6\u308a\u6bd4\u3067\u6255\u3046\u6848\u3092\u6bd4\u8f03\u3057\u307e\u3059\u3002',limit:'\u8cc7\u7523\u306e\u6cd5\u7684\u306a\u5171\u6709\u3084\u7a0e\u52d9\u3092\u5224\u5b9a\u3059\u308b\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u500b\u4eba\u3067\u652f\u6255\u3046\u5fc5\u8981\u8cbb\u306f\u6b8b\u984d\u304b\u3089\u5225\u306b\u5f15\u3044\u3066\u304f\u3060\u3055\u3044\u3002\u6e96\u5099\u671f\u95930\u5e74\u306e\u5834\u5408\u306f\u73fe\u5728\u306e\u4e0d\u8db3\u984d\u3092\u8868\u793a\u3057\u3001\u7a4d\u7acb\u6848\u306f\u8a08\u7b97\u3057\u307e\u305b\u3093\u3002'},\nC03:{title:'\u982d\u91d12\u6848\u306e\u8fd4\u6e08\u3068\u6b8b\u308b\u73fe\u91d1\u3092\u6bd4\u8f03',fields:[field('price','\u4f4f\u5b85\u306e\u8cfc\u5165\u4ee3\u91d1',4000),field('saved','\u59bb\u306e\u8caf\u91d1',800),field('fees','\u59bb\u306e\u8caf\u91d1\u304b\u3089\u5225\u306b\u6255\u3046\u8af8\u8cbb\u7528',200),field('a','\u59bb\u306e\u982d\u91d1A',300),field('b','\u59bb\u306e\u982d\u91d1B',500),field('rate','\u5168\u671f\u9593\u4e00\u5b9a\u306e\u91d1\u5229\u306e\u4eee\u5b9a',1.5,'\uff05\uff0f\u5e74',20),field('years','\u8fd4\u6e08\u671f\u9593',30,'\u5e74',50,true)],method:'\u501f\u5165\u984d\uff1d\u8cfc\u5165\u4ee3\u91d1\u2212\u59bb\u306e\u982d\u91d1\u3002\u59bb\u306e\u6b8b\u308b\u73fe\u91d1\uff1d\u59bb\u306e\u8caf\u91d1\u2212\u982d\u91d1\u2212\u8af8\u8cbb\u7528\u3002\u5143\u5229\u5747\u7b49\u30fb\u6bce\u6708\u672b\u6255\u3044\u30fb\u30dc\u30fc\u30ca\u30b9\u6255\u3044\u306a\u3057\u3002\u6708\u984d\uff1dP\u00d7r\u00f7\u30081\u2212(1+r)^\u2212n\u3009\u3001r\uff1d\u5e74\u5229\u00f71200\u3001n\uff1d\u5e74\u6570\u00d712\u3002\u91d1\u52290\uff05\u306fP\u00f7n\u3002',limit:'\u592b\u306e\u982d\u91d1\u306f0\u3001\u501f\u5165\u306f\u592b\u304c\u5168\u984d\u8ca0\u62c5\u3059\u308b\u5358\u7d14\u6bd4\u8f03\u3067\u3059\u3002\u8af8\u8cbb\u7528\u306e\u878d\u8cc7\u3001\u7a0e\u63a7\u9664\u3001\u56e3\u4fe1\u8cbb\u7528\u3001\u7aef\u6570\u51e6\u7406\u3001\u5909\u52d5\u91d1\u5229\u3092\u53cd\u6620\u3057\u307e\u305b\u3093\u3002\u8cc7\u91d1\u8ca0\u62c5\u6bd4\u7387\u306f\u7b97\u6570\u3067\u3042\u308a\u3001\u767b\u8a18\u3084\u8d08\u4e0e\u7a0e\u3092\u5224\u65ad\u3057\u307e\u305b\u3093\u3002'}\n};\nfunction calculate(mode,p){\n const d=defs[mode];if(!d)throw Error('\u8a08\u7b97\u306e\u7a2e\u985e\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002');\n for(const f of d.fields){const v=p[f.key];if(!Number.isFinite(v)||v<0||v>f.max||(f.integer&&!Number.isInteger(v)))throw Error(f.label+'\u306f0\u301c'+f.max+(f.integer?'\u306e\u6574\u6570':'')+'\u3067\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002');}\n const rows=[];const add=(label,value,unit='\u4e07\u5186')=>rows.push({label,value,unit});\n if(mode==='A04'){\n  if(p.delay>p.months)throw Error('\u521d\u56de\u5165\u91d1\u307e\u3067\u306e\u6708\u6570\u306f\u78ba\u8a8d\u6708\u6570\u4ee5\u4e0b\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002');\n  let balance=0,min=0;const schedule=[];\n  for(let m=1;m<=p.months;m++){balance+=p.h-p.cost;min=Math.min(min,balance);const before=balance;const benefit=p.delay===0?p.w:m===p.delay?p.w*p.delay:m>p.delay?p.w:0;balance+=benefit;schedule.push({month:m,before,benefit,end:balance});}\n  \/\/ Before = income less expenses for the month, immediately before the benefit deposit.\n  add('\u7d66\u4ed8\u304c\u5165\u308b\u76f4\u524d\u307e\u3067\u306e\u6700\u5927\u6301\u3061\u51fa\u3057',Math.max(0,-min));add('\u6e96\u5099\u91d1\u3068\u306e\u5dee\u3008\u30de\u30a4\u30ca\u30b9\u306f\u4e0d\u8db3\u3009',p.savings+min);add('\u78ba\u8a8d\u671f\u9593\u7d42\u4e86\u6642\u306e\u53ce\u652f\u7d2f\u8a08',balance);return{rows,schedule};\n }\n if(mode==='A06'){const annual=p.surplus-p.loss*12-p.daily*12-p.school;add('\u5909\u66f4\u524d\u306e\u5e74\u9593\u53ce\u652f',p.surplus);add('\u5909\u66f4\u5f8c\u306e\u5e74\u9593\u53ce\u652f',annual);add('\u4e00\u6642\u652f\u51fa\u3092\u5f15\u3044\u305f\u671f\u9593\u306e\u53ce\u652f\u5408\u8a08',annual*p.years-p.once);}\n if(mode==='B01'){const net=p.hi+p.wi-p.cost;add('\u6708\u306e\u53ce\u652f',net);add('\u4e00\u6642\u652f\u51fa\u3092\u5f15\u3044\u305f\u671f\u9593\u306e\u53ce\u652f\u5408\u8a08',net*12*p.years-p.once);add('\u5b50\u4f9b18\u6b73\u6642\u306e\u592b\u306e\u5e74\u9f62',p.h+18-p.child,'\u6b73');add('\u5b50\u4f9b18\u6b73\u6642\u306e\u59bb\u306e\u5e74\u9f62',p.w+18-p.child,'\u6b73');}\n if(mode==='B02'){const target=p.gap*12*p.years+p.school+p.reserve,need=Math.max(0,target-p.saved);add('\u751f\u6d3b\u88dc\u586b\u306b\u5fc5\u8981\u306a\u984d',p.gap*12*p.years);add('\u6559\u80b2\u8cbb\u30fb\u4e88\u5099\u8cbb\u3092\u542b\u3080\u6e96\u5099\u984d',target);add('\u8ffd\u52a0\u3067\u5fc5\u8981\u306a\u984d',need);add('\u9000\u8077\u307e\u3067\u306e\u6bce\u6708\u7a4d\u7acb',p.until?need\/(p.until*12):null,p.until?'\u4e07\u5186\uff0f\u6708':'\u9000\u8077\u307e\u30670\u5e74\u306e\u305f\u3081\u73fe\u5728\u306e\u5dee\u984d\u3092\u78ba\u8a8d');}\n if(mode==='B03'){if(p.cut>p.cost)throw Error('\u6e1b\u3089\u3059\u652f\u51fa\u306f\u6708\u306e\u7dcf\u652f\u51fa\u4ee5\u4e0b\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002');const a=p.h+p.w-p.cost-p.extra\/12,b=a+p.increase+p.cut;add('\u73fe\u5728\u6848\u306e\u6708\u306e\u53ce\u652f',a);add('\u5909\u66f4\u6848\u306e\u6708\u306e\u53ce\u652f',b);add('\u73fe\u5728\u6848\u3067\u5fc5\u8981\u306a\u8d64\u5b57\u88dc\u586b',Math.max(0,-a)*12*p.years);add('\u5909\u66f4\u6848\u3067\u5fc5\u8981\u306a\u8d64\u5b57\u88dc\u586b',Math.max(0,-b)*12*p.years);}\n if(mode==='B04'){if(p.retire<p.wage||p.start<p.retire)throw Error('\u73fe\u5728\u5e74\u9f62\u2266\u9000\u8077\u5e74\u9f62\u2266\u5e74\u91d1\u958b\u59cb\u5e74\u9f62\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002');const work=p.retire-p.wage,gap=p.start-p.retire,a=(p.hp+p.wi-p.cost)*12*work,b=(p.hp-p.cost)*12*gap;add('\u59bb\u306e\u5e74\u91d1\u958b\u59cb\u307e\u3067',p.start-p.wage,'\u5e74');add('\u59bb\u306e\u5c31\u52b4\u4e2d\u306e\u53ce\u652f\u5408\u8a08',a);add('\u59bb\u306e\u9000\u8077\u304b\u3089\u5e74\u91d1\u307e\u3067\u306e\u53ce\u652f\u5408\u8a08',b);add('\u73fe\u5728\u8cc7\u91d1\u3092\u542b\u3080\u671f\u9593\u7d42\u4e86\u6642\u306e\u6b8b\u984d',p.saved+a+b);}\n if(mode==='B05'){const a=p.now+(p.after-p.cost)*12*p.years,b=p.later+(p.salary-p.cost)*12*p.years;add('\u4eca\u9000\u8077\u6848\u306e\u6bd4\u8f03\u6642\u70b9\u306e\u8cc7\u91d1',a);add('\u7d99\u7d9a\u6848\u306e\u6bd4\u8f03\u6642\u70b9\u306e\u8cc7\u91d1',b);add('\u7d99\u7d9a\u6848\u2212\u4eca\u9000\u8077\u6848\u306e\u5dee',b-a);}\n if(mode==='C01'){const spare=p.saved-p.keep-p.once;add('\u6b8b\u3059\u8cc7\u91d1\u3068\u652f\u51fa\u3092\u5f15\u3044\u305f\u4f59\u5730',spare);add('\u8d64\u5b57\u3092\u88dc\u3048\u308b\u6e80\u6708\u6570',spare<0?0:p.gap?Math.floor(spare\/p.gap):null,p.gap?'\u304b\u6708':'\u6bce\u6708\u306e\u8d64\u5b570\u306e\u305f\u3081\u88dc\u586b\u671f\u9593\u3092\u8a08\u7b97\u3057\u307e\u305b\u3093');add('\u4e00\u6642\u652f\u51fa\u3092\u6255\u3046\u305f\u3081\u306b\u4e0d\u8db3\u3059\u308b\u984d',Math.max(0,-spare));}\n if(mode==='C02'){const need=Math.max(0,p.goal-p.saved);add('\u76ee\u6a19\u307e\u3067\u306e\u4e0d\u8db3',need);if(!p.years){add('\u73fe\u5728\u306e\u4e0d\u8db3\u3092\u6e96\u5099\u3057\u3066\u304f\u3060\u3055\u3044',null,'\u6e96\u5099\u671f\u95930\u5e74\u306e\u305f\u3081\u7a4d\u7acb\u6848\u306a\u3057');return{rows};}const saving=need\/(p.years*12),total=p.cost+saving;add('\u5fc5\u8981\u306a\u7a4d\u7acb\uff0f\u6708',saving);add('\u751f\u6d3b\u8cbb\u3068\u7a4d\u7acb\u306e\u5408\u8a08\uff0f\u6708',total);add('\u6298\u534a\u306e\u592b\u306e\u8ca0\u62c5\uff0f\u6708',total\/2);add('\u6298\u534a\u306e\u59bb\u306e\u8ca0\u62c5\uff0f\u6708',total\/2);add('\u6298\u534a\u306e\u592b\u306e\u6b8b\u984d\uff0f\u6708',p.h-total\/2);add('\u6298\u534a\u306e\u59bb\u306e\u6b8b\u984d\uff0f\u6708',p.w-total\/2);if(p.h+p.w===0){add('\u53ce\u5165\u6bd4\u4f8b',null,'\u592b\u5a66\u3068\u3082\u53ce\u51650\u306e\u305f\u3081\u6bd4\u7387\u3092\u8a08\u7b97\u3067\u304d\u307e\u305b\u3093');}else{const h=total*p.h\/(p.h+p.w),w=total-h;add('\u53ce\u5165\u6bd4\u4f8b\u306e\u592b\u306e\u8ca0\u62c5\uff0f\u6708',h);add('\u53ce\u5165\u6bd4\u4f8b\u306e\u59bb\u306e\u8ca0\u62c5\uff0f\u6708',w);add('\u53ce\u5165\u6bd4\u4f8b\u306e\u592b\u306e\u6b8b\u984d\uff0f\u6708',p.h-h);add('\u53ce\u5165\u6bd4\u4f8b\u306e\u59bb\u306e\u6b8b\u984d\uff0f\u6708',p.w-w);}}\n if(mode==='C03'){if(!p.years)throw Error('\u8fd4\u6e08\u671f\u9593\u306f1\u5e74\u4ee5\u4e0a\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002');if(!p.price)throw Error('\u4f4f\u5b85\u306e\u8cfc\u5165\u4ee3\u91d1\u306f0\u3088\u308a\u5927\u304d\u304f\u3057\u3066\u304f\u3060\u3055\u3044\u3002');if(p.a>p.price||p.b>p.price)throw Error('\u982d\u91d1\u306f\u8cfc\u5165\u4ee3\u91d1\u4ee5\u4e0b\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002');for(const [name,down]of[['A',p.a],['B',p.b]]){const principal=p.price-down,n=p.years*12,r=p.rate\/1200,monthly=r?principal*r\/(-Math.expm1(-n*Math.log1p(r))):principal\/n;add(name+'\u306e\u501f\u5165\u984d',principal);add(name+'\u306e\u6bce\u6708\u8fd4\u6e08',monthly,'\u4e07\u5186\uff0f\u6708');add(name+'\u306e\u59bb\u306e\u6b8b\u308b\u73fe\u91d1\u3008\u30de\u30a4\u30ca\u30b9\u306f\u4e0d\u8db3\u3009',p.saved-down-p.fees);add(name+'\u306e\u59bb\u306e\u8cc7\u91d1\u8ca0\u62c5\u6bd4\u7387',down\/p.price*100,'\uff05');}}\n return{rows};\n}\nreturn{defs,calculate};\n});\n\n(function(root,factory){const api=factory(typeof module==='object'&&module.exports?require('.\/batch10-models.js'):root.AGBatchModels);if(typeof module==='object'&&module.exports)module.exports=api;else root.AGQuick=api;})(typeof globalThis!=='undefined'?globalThis:this,function(B){\n'use strict';\nconst f=(key,label,value,unit='\u4e07\u5186',max=100000,integer=false)=>({key,label,value,unit,max,integer});\nconst familyFields=[f('age','\u592b\u306e\u5e74\u9f62',52,'\u6b73',90,true),f('child','\u672b\u5b50\u306e\u5e74\u9f62\u3008\u3053\u308c\u304b\u3089\u751f\u307e\u308c\u308b\u306a\u30890\u3009',3,'\u6b73',21,true),f('income','\u592b\u5a66\u5408\u8a08\u306e\u624b\u53d6\u308a\uff0f\u6708',45),f('cost','\u4f4f\u5b85\u8cbb\u306a\u3069\u3092\u542b\u3080\u652f\u51fa\uff0f\u6708',35),f('saved','\u3044\u307e\u306e\u8caf\u91d1',500)];\nconst defs={\nbudget:{title:'2\u4eba\u76ee\u3092\u8fce\u3048\u308b\u5bb6\u8a08\u3092\u3056\u3063\u304f\u308a\u78ba\u8a8d',fields:familyFields,assumption:'\u8ffd\u52a0\u306e\u5b50\u80b2\u3066\u8cbb\u3092\u67082\u4e07\u5186\u3001\u592b60\u6b73\u4ee5\u964d\u306e\u4e16\u5e2f\u624b\u53d6\u308a\u3092\u73fe\u5728\u3088\u308a3\u5272\u5c11\u306a\u3044\u30b1\u30fc\u30b9\u3068\u3057\u3066\u4eee\u7f6e\u304d\u3057\u307e\u3059\u3002\u3044\u305a\u308c\u3082\u7d71\u8a08\u3084\u4e88\u6e2c\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002',topic:'\u5b50\u3069\u3082\u3092\u8fce\u3048\u308b\u6642\u671f\u3068\u3001\u30d1\u30fc\u30c8\u3092\u7d9a\u3051\u308b\u305f\u3081\u306e\u5bb6\u8a08'},\neducation:{title:'\u9032\u5b66\u3068\u5b9a\u5e74\u306e\u91cd\u306a\u308a\u3092\u3056\u3063\u304f\u308a\u78ba\u8a8d',fields:familyFields,assumption:'\u592b60\u6b73\u4ee5\u964d\u306e\u4e16\u5e2f\u624b\u53d6\u308a\u30923\u5272\u6e1b\u3001\u672b\u5b5018\u301c21\u6b73\u306e\u652f\u51fa\u3092\u67084\u4e07\u5186\u5897\u3068\u3059\u308b\u6bd4\u8f03\u4f8b\u3067\u3059\u3002\u5b9f\u969b\u306e\u5e74\u91d1\u30fb\u6559\u80b2\u8cbb\u306e\u4e88\u6e2c\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002',topic:'\u592b\u306e\u9000\u8077\u3068\u5b50\u3069\u3082\u306e\u9032\u5b66\u304c\u91cd\u306a\u308b\u6642\u671f\u306e\u6e96\u5099'},\nmortgage:{title:'\u4f4f\u307e\u3044\u3068\u5b9a\u5e74\u5f8c\u306e\u5bb6\u8a08\u3092\u3056\u3063\u304f\u308a\u78ba\u8a8d',fields:familyFields.filter(x=>x.key!=='child').concat([f('loan','\u4f4f\u5b85\u30ed\u30fc\u30f3\u306e\u6b8b\u9ad8\u3008\u6982\u7b97\u3009',4000)]),assumption:'\u73fe\u5728\u306e\u652f\u51fa\u306b\u4f4f\u5b85\u30ed\u30fc\u30f3\u8fd4\u6e08\u3092\u542b\u3081\u3066\u5165\u529b\u3057\u307e\u3059\u3002\u592b60\u6b73\u4ee5\u964d\u306e\u4e16\u5e2f\u624b\u53d6\u308a\u304c3\u5272\u6e1b\u308b\u30b1\u30fc\u30b9\u3092\u6bd4\u8f03\u3057\u307e\u3059\u3002\u30ed\u30fc\u30f3\u6b8b\u9ad8\u304b\u3089\u5c06\u6765\u306e\u8fd4\u6e08\u984d\u306f\u63a8\u5b9a\u3057\u307e\u305b\u3093\u3002',topic:'\u4f4f\u5b85\u30ed\u30fc\u30f3\u3068\u3001\u9000\u8077\u5f8c\u3082\u6b8b\u3057\u305f\u3044\u73fe\u91d1\u306e\u914d\u5206'},\noverview:{title:'\u3053\u308c\u304b\u3089\u306e\u5bb6\u8a08\u3092\u3056\u3063\u304f\u308a\u78ba\u8a8d',fields:familyFields,assumption:'\u73fe\u5728\u306e\u53ce\u652f\u3092\u7d9a\u3051\u308b\u5834\u5408\u3068\u3001\u592b60\u6b73\u4ee5\u964d\u306e\u4e16\u5e2f\u624b\u53d6\u308a\u304c3\u5272\u6e1b\u308b\u5834\u5408\u309220\u5e74\u9593\u3067\u6bd4\u3079\u307e\u3059\u3002\u4eee\u306e\u30b1\u30fc\u30b9\u6bd4\u8f03\u3067\u3001\u5c06\u6765\u4e88\u6e2c\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002',topic:'\u5b50\u80b2\u3066\u30fb\u5b9a\u5e74\u30fb\u4f4f\u5c45\u8cbb\u3092\u307e\u3068\u3081\u305f\u5bb6\u8a08\u306e\u65b9\u5411\u6027'},\nA04:{title:'\u80b2\u4f11\u3068\u5b9a\u5e74\u304c\u91cd\u306a\u308b\u6642\u671f\u306e\u6e96\u5099\u91d1',fields:[f('h','\u592b\u306e\u5b9a\u5e74\u5f8c\u306e\u624b\u53d6\u308a\uff0f\u6708',18),f('cost','\u6bce\u6708\u306e\u652f\u51fa',33),f('savings','\u751f\u6d3b\u8cbb\u306b\u4f7f\u3048\u308b\u8caf\u91d1',100)],assumption:'\u59bb\u306e\u7d66\u4ed8\u7b49\u3092\u670812\u4e07\u5186\u3001\u521d\u56de\u5165\u91d1\u30924\u304b\u6708\u5f8c\u3001\u78ba\u8a8d\u671f\u9593\u309212\u304b\u6708\u3068\u3059\u308b\u67b6\u7a7a\u4f8b\u3067\u3059\u3002\u4e0d\u660e\u306a\u3089\u4f8b\u306e\u307e\u307e\u3067\u3001\u898f\u6a21\u611f\u3092\u3064\u304b\u3081\u307e\u3059\u3002',topic:'\u7d66\u4ed8\u304c\u5165\u308b\u524d\u306b\u5fc5\u8981\u306a\u73fe\u91d1\u3068\u3001\u5fa9\u8077\u5f8c\u306e\u5bb6\u8a08'},\nA06:{title:'3\u4eba\u76ee\u3068\u6642\u77ed\u3067\u5bb6\u8a08\u304c\u3069\u3046\u5909\u308f\u308b\u304b',fields:[f('monthly','\u3044\u307e\u6bce\u6708\u3044\u304f\u3089\u4f59\u308b\u304b',10),f('loss','\u6642\u77ed\u3067\u6e1b\u308a\u305d\u3046\u306a\u624b\u53d6\u308a\uff0f\u6708',5),f('once','\u51fa\u7523\u30fb\u8cb7\u3044\u66ff\u3048\u306a\u3069\u306e\u4e00\u6642\u652f\u51fa',60)],assumption:'3\u4eba\u76ee\u3067\u5897\u3048\u308b\u65e5\u5e38\u8cbb\u30fb\u6559\u80b2\u4fdd\u80b2\u8cbb\u3092\u5408\u8a08\u67084\u4e07\u5186\u3001\u540c\u3058\u6761\u4ef6\u30923\u5e74\u9593\u3068\u3059\u308b\u67b6\u7a7a\u4f8b\u3067\u3059\u3002',topic:'\u6642\u77ed\u3092\u7d9a\u3051\u308b\u671f\u9593\u3068\u30013\u4eba\u76ee\u3067\u5897\u3048\u308b\u8cbb\u7528'},\nB01:{title:'\u592b\u306e\u5b9a\u5e74\u304b\u3089\u9032\u5b66\u307e\u3067\u306e\u5bb6\u8a08',fields:[f('h','\u592b\u306e\u5e74\u9f62',60,'\u6b73',100,true),f('child','\u5b50\u4f9b\u306e\u5e74\u9f62',8,'\u6b73',17,true),f('total','\u592b\u5a66\u5408\u8a08\u306e\u624b\u53d6\u308a\uff0f\u6708',28),f('cost','\u6bce\u6708\u306e\u652f\u51fa',32)],assumption:'\u540c\u3058\u53ce\u652f\u304c5\u5e74\u9593\u7d9a\u304f\u30b1\u30fc\u30b9\u3067\u3059\u3002\u59bb\u306e\u5e74\u9f62\u306f40\u6b73\u3001\u4e00\u6642\u652f\u51fa0\u5186\u3092\u4eee\u7f6e\u304d\u3057\u307e\u3059\u3002\u9032\u5b66\u306f18\u6b73\u3092\u76ee\u5b89\u306b\u3057\u307e\u3059\u3002',topic:'\u592b\u306e\u9000\u8077\u5f8c\u3082\u6559\u80b2\u8cbb\u3092\u6b8b\u3059\u305f\u3081\u306e\u6e96\u5099'},\nB02:{title:'\u9000\u8077\u91d1\u306a\u3057\u3067\u6e96\u5099\u3059\u308b\u984d\u306e\u76ee\u5b89',fields:[f('total','\u9000\u8077\u5f8c\u306e\u592b\u5a66\u5408\u8a08\u306e\u624b\u53d6\u308a\uff0f\u6708',28),f('cost','\u6bce\u6708\u306e\u652f\u51fa',33),f('saved','\u6e96\u5099\u306b\u4f7f\u3048\u308b\u8caf\u91d1',300),f('until','\u9000\u8077\u307e\u3067\u4f55\u5e74\u3042\u308b\u304b',10,'\u5e74',40,true)],assumption:'\u6708\u306e\u4e0d\u8db3\u304c5\u5e74\u9593\u7d9a\u304d\u3001\u5225\u306b\u6559\u80b2\u8cbb200\u4e07\u5186\u30fb\u4e88\u5099\u8cbb100\u4e07\u5186\u3092\u6b8b\u3059\u67b6\u7a7a\u4f8b\u3067\u3059\u3002\u5fc5\u8981\u984d\u306e\u63a8\u5968\u5024\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002',topic:'\u9000\u8077\u91d1\u306b\u983c\u3089\u306a\u3044\u751f\u6d3b\u8cbb\u30fb\u6559\u80b2\u8cbb\u30fb\u4e88\u5099\u8cbb\u306e\u914d\u5206'},\nB03:{title:'\u518d\u96c7\u7528\u5f8c\u306e\u5bb6\u8a08\u3068\u898b\u76f4\u3057\u306e\u76ee\u5b89',fields:[f('total','\u518d\u96c7\u7528\u5f8c\u306e\u592b\u5a66\u5408\u8a08\u306e\u624b\u53d6\u308a\uff0f\u6708',28),f('cost','\u5e74\u6255\u3044\u5206\u3082\u542b\u3081\u305f\u652f\u51fa\uff0f\u6708',34),f('cut','\u6bce\u6708\u3044\u304f\u3089\u652f\u51fa\u3092\u898b\u76f4\u305b\u305d\u3046\u304b',1)],assumption:'\u540c\u3058\u6761\u4ef6\u30925\u5e74\u9593\u3001\u53ce\u5165\u306f\u5897\u3084\u3055\u305a\u5165\u529b\u3057\u305f\u652f\u51fa\u3060\u3051\u898b\u76f4\u3059\u6bd4\u8f03\u3067\u3059\u3002\u5e74\u6255\u3044\u5206\u306f\u6bce\u6708\u306e\u652f\u51fa\u306b\u542b\u3081\u307e\u3059\u3002',topic:'\u518d\u96c7\u7528\u5f8c\u306b\u6e1b\u308b\u53ce\u5165\u3068\u3001\u7d9a\u3051\u3089\u308c\u308b\u5bb6\u8a08\u306e\u8abf\u6574'},\nB04:{title:'\u592b\u306e\u5e74\u91d1\u3068\u59bb\u306e\u53ce\u5165\u3067\u3056\u3063\u304f\u308a\u78ba\u8a8d',fields:[f('wage','\u59bb\u306e\u5e74\u9f62',40,'\u6b73',64,true),f('hp','\u592b\u306e\u5e74\u91d1\u306a\u3069\u306e\u624b\u53d6\u308a\uff0f\u6708',16),f('wi','\u59bb\u306e\u624b\u53d6\u308a\uff0f\u6708',12),f('cost','\u6bce\u6708\u306e\u652f\u51fa',26)],assumption:'\u59bb\u306e\u9000\u8077\u306f60\u6b73\u3008\u3059\u3067\u306b60\u6b73\u4ee5\u4e0a\u306a\u3089\u73fe\u5728\u3009\u3001\u5e74\u91d1\u958b\u59cb\u306f65\u6b73\u3001\u73fe\u5728\u8cc7\u91d1200\u4e07\u5186\u3092\u4eee\u7f6e\u304d\u3057\u307e\u3059\u3002\u592b\u306e\u53ce\u5165\u306f\u4e00\u5b9a\u3067\u3059\u3002',topic:'\u59bb\u306e\u9000\u8077\u304b\u3089\u5e74\u91d1\u958b\u59cb\u307e\u3067\u306e\u751f\u6d3b\u8cbb'},\nB05:{title:'\u65e9\u671f\u9000\u8077\u3059\u308b\u6848\u3092\u3056\u3063\u304f\u308a\u6bd4\u3079\u308b',fields:[f('now','\u4eca\u9000\u8077\u3059\u308b\u5834\u5408\u306e\u9000\u8077\u91d1\u3008\u6982\u7b97\u3009',1200),f('salary','\u592b\u306e\u624b\u53d6\u308a\uff0f\u6708',35),f('cost','\u6bce\u6708\u306e\u652f\u51fa',30)],assumption:'3\u5e74\u5f8c\u306e\u9000\u8077\u91d1800\u4e07\u5186\u3001\u4eca\u9000\u8077\u3057\u305f\u5f8c\u306e\u592b\u306e\u53ce\u51650\u5186\u3001\u652f\u51fa\u306f\u4e21\u6848\u5171\u901a\u3068\u3059\u308b\u67b6\u7a7a\u4f8b\u3067\u3059\u3002\u5206\u304b\u3089\u306a\u3044\u91d1\u984d\u306f\u4f8b\u306e\u307e\u307e\u3067\u8a66\u305b\u307e\u3059\u3002',topic:'\u9000\u8077\u91d1\u306e\u984d\u3060\u3051\u3067\u306a\u304f\u3001\u6b21\u306e\u53ce\u5165\u307e\u3067\u542b\u3081\u305f\u5bb6\u8a08'},\nC01:{title:'\u8caf\u91d1\u3092\u6b8b\u3057\u306a\u304c\u3089\u88dc\u3048\u308b\u671f\u9593\u306e\u76ee\u5b89',fields:[f('saved','\u59bb\u306e\u8caf\u91d1',500),f('keep','\u4f7f\u308f\u305a\u6b8b\u3057\u305f\u3044\u984d',300),f('once','\u4eca\u56de\u4f7f\u3046\u4e88\u5b9a\u306e\u984d',150),f('gap','\u6bce\u6708\u306e\u8d64\u5b57\u3008\u306a\u3051\u308c\u30700\u3009',5)],assumption:'\u540c\u3058\u8d64\u5b57\u304c\u7d9a\u304f\u5358\u7d14\u306a\u8a08\u7b97\u3067\u3059\u3002\u8caf\u91d1\u3092\u4f7f\u3046\u3053\u3068\u3078\u306e\u540c\u610f\u3084\u3001\u8ca1\u7523\u306e\u5e30\u5c5e\u3092\u5224\u65ad\u3059\u308b\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002',topic:'\u59bb\u306e\u8caf\u91d1\u3092\u6b8b\u3059\u984d\u3068\u3001\u592b\u5a66\u3067\u5206\u62c5\u3059\u308b\u5bb6\u8a08'},\nC02:{title:'\u5225\u8ca1\u5e03\u306e\u8ca0\u62c5\u3092\u3056\u3063\u304f\u308a\u6bd4\u8f03',fields:[f('h','\u592b\u306e\u624b\u53d6\u308a\uff0f\u6708',30),f('w','\u59bb\u306e\u624b\u53d6\u308a\uff0f\u6708',15),f('cost','\u5171\u901a\u306e\u751f\u6d3b\u8cbb\uff0f\u6708',26),f('monthly','\u8001\u5f8c\u306a\u3069\u306b\u7a4d\u307f\u7acb\u3066\u305f\u3044\u984d\uff0f\u6708',4)],assumption:'\u751f\u6d3b\u8cbb\u3068\u7a4d\u7acb\u3092\u3001\u6298\u534a\u3059\u308b\u6848\u3068\u624b\u53d6\u308a\u306e\u6bd4\u7387\u3067\u6255\u3046\u6848\u3092\u6bd4\u8f03\u3057\u307e\u3059\u3002\u500b\u4eba\u306e\u5fc5\u8981\u652f\u51fa\u306f\u6b8b\u984d\u304b\u3089\u5225\u306b\u78ba\u8a8d\u3057\u307e\u3059\u3002',topic:'\u5225\u8ca1\u5e03\u306e\u307e\u307e\u6e96\u5099\u3059\u308b\u5171\u901a\u8cc7\u91d1\u3068\u3001\u7121\u7406\u306e\u306a\u3044\u8ca0\u62c5\u5272\u5408'},\nC03:{title:'\u982d\u91d1\u3068\u6b8b\u308b\u8caf\u91d1\u3092\u3056\u3063\u304f\u308a\u6bd4\u8f03',fields:[f('price','\u4f4f\u5b85\u306e\u8cfc\u5165\u4e88\u7b97',4000),f('saved','\u59bb\u306e\u8caf\u91d1',800),f('a','\u982d\u91d1\u306b\u4f7f\u3046\u984d',300)],assumption:'\u982d\u91d1\u3092\u5165\u529b\u984d\u3088\u308a200\u4e07\u5186\u5897\u3084\u3059\u6848\u3068\u6bd4\u8f03\u3057\u307e\u3059\u3008\u8cfc\u5165\u4e88\u7b97\u304c\u4e0a\u9650\u3009\u3002\u8af8\u8cbb\u7528200\u4e07\u5186\u30fb\u91d1\u5229\u5e741.5\uff05\u30fb30\u5e74\u8fd4\u6e08\u3092\u4eee\u7f6e\u304d\u3057\u307e\u3059\u3002',topic:'\u982d\u91d1\u3092\u5165\u308c\u305f\u5f8c\u306e\u73fe\u91d1\u3068\u3001\u592b\u306e\u5b9a\u5e74\u5f8c\u306e\u8fd4\u6e08'}\n};\nconst defaults=id=>Object.fromEntries(defs[id].fields.map(f=>[f.key,f.value]));\nfunction calculate(id,p){const d=defs[id];if(!d)throw Error('\u8a08\u7b97\u306e\u7a2e\u985e\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002');for(const f of d.fields){const v=p[f.key];if(!Number.isFinite(v)||v<0||v>f.max||(f.integer&&!Number.isInteger(v)))throw Error(f.label+'\u306f0\u301c'+f.max+(f.integer?'\u306e\u6574\u6570':'')+'\u3067\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002');}let cards=[],series=null,detail={},direction='';\n if(['budget','education','mortgage','overview'].includes(id)){\n  if(p.age<18)throw Error('\u592b\u306e\u5e74\u9f62\u306f18\u6b73\u4ee5\u4e0a\u3067\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002');const add=(label,value,unit='\u4e07\u5186')=>cards.push({label,value,unit});const start=p.saved,rows=[{x:0,a:start,b:start,age:p.age,child:p.child??0}];let a=start,b=start;\n  for(let t=1;t<=20;t++){const ha=p.age+t-1,child=(p.child??0)+t-1,extra=0;let added=extra;if(id==='budget')if(t>=2)added=2;if(id==='education')if(child>=18)if(child<22)added=4;const lower=ha>=60?p.income*.7:p.income;a+=(p.income-p.cost)*12;b+=(lower-p.cost-added)*12;rows.push({x:t,a,b,age:p.age+t,child:(p.child??0)+t});}\n  const extraNow=id==='budget'?2:0,net=p.income-p.cost;add('\u3044\u307e\u306e\u6bce\u6708\u306e\u53ce\u652f',net,'\u4e07\u5186\uff0f\u6708');add('\u53ce\u5165\u304c3\u5272\u6e1b\u308b\u30b1\u30fc\u30b9\u306e\u53ce\u652f',p.income*.7-p.cost-extraNow,'\u4e07\u5186\uff0f\u6708');const first=rows.find(x=>x.b<0);add('\u4eee\u306e\u30b1\u30fc\u30b9\u3067\u8caf\u91d1\u304c\u8ca0\u306b\u306a\u308b\u6642\u671f',first?first.x:null,first?'\u5e74\u5f8c':'20\u5e74\u306e\u7bc4\u56f2\u3067\u306f\u306a\u3057');if(id==='mortgage')add('\u5165\u529b\u3057\u305f\u30ed\u30fc\u30f3\u6b8b\u9ad8',p.loan);\n  direction=first?'\u307e\u305a\u306f\u53ce\u5165\u304c\u5909\u308f\u308b\u6642\u671f\u3068\u3001\u6bce\u6708\u306e\u652f\u51fa\u306e\u8abf\u6574\u5e45\u3092\u78ba\u8a8d\u3059\u308b\u65b9\u5411\u3067\u3059\u3002':'\u3053\u306e\u4eee\u5b9a\u3067\u306f\u671f\u9593\u5185\u306b\u8cc7\u91d1\u4e0d\u8db3\u306f\u51fa\u307e\u305b\u3093\u3002\u9032\u5b66\u30fb\u5b9a\u5e74\u306e\u6761\u4ef6\u3092\u5177\u4f53\u5316\u3057\u3066\u3001\u4f7f\u3048\u308b\u4f59\u88d5\u3092\u78ba\u8a8d\u3059\u308b\u65b9\u5411\u3067\u3059\u3002';series={axis:'\u5e74\u5f8c',names:['\u4eca\u306e\u5bb6\u8a08\u304c\u7d9a\u304f\u5834\u5408','\u53ce\u5165\u6e1b\u306a\u3069\u3092\u4eee\u7f6e\u304d\u3057\u305f\u5834\u5408'],rows};detail={hAge:p.age,cAge:p.child??0,savings:p.saved,hIncome:Math.max(0,p.income-10),wIncome:Math.min(10,p.income),living:Math.max(0,p.cost-10),housing:Math.min(10,p.cost),annualExtra:0,cost0:0,cost6:0,cost12:0,cost15:0,cost18:id==='education'?48:0,babyExtra:id==='budget'?2:0};\n  if(id==='mortgage'){detail.loanBalance=p.loan;detail.useLoan=false;}\n  return{cards,series,direction,detail};\n }\n detail=Object.fromEntries(B.defs[id].fields.map(f=>[f.key,f.value]));for(const k of Object.keys(detail))if(k in p)detail[k]=p[k];\n if(id==='A06')detail.surplus=p.monthly*12;\n if(id==='B01'){detail.hi=Math.max(0,p.total-10);detail.wi=Math.min(10,p.total);}\n if(id==='B02'){detail.gap=Math.max(0,p.cost-p.total);detail.saved=p.saved;}\n if(id==='B03'){detail.h=Math.max(0,p.total-10);detail.w=Math.min(10,p.total);detail.extra=0;detail.increase=0;}\n if(id==='B04')detail.retire=Math.max(60,p.wage);\n if(id==='C02'){detail.goal=detail.saved+p.monthly*detail.years*12;}\n if(id==='C03')detail.b=Math.min(p.price,p.a+200);\n const r=B.calculate(id,detail);cards=r.rows.slice(0,3);if(id==='B01')cards=[r.rows[0],r.rows[1],r.rows[2]];\n if(id==='C02')cards=[r.rows.find(x=>x.label==='\u6298\u534a\u306e\u59bb\u306e\u6b8b\u984d\uff0f\u6708'),r.rows.find(x=>x.label==='\u53ce\u5165\u6bd4\u4f8b\u306e\u59bb\u306e\u6b8b\u984d\uff0f\u6708')??{label:'\u53ce\u5165\u6bd4\u4f8b',value:null,unit:'\u592b\u5a66\u306e\u53ce\u51650\u306e\u305f\u3081\u8a08\u7b97\u3067\u304d\u307e\u305b\u3093'},r.rows.find(x=>x.label==='\u751f\u6d3b\u8cbb\u3068\u7a4d\u7acb\u306e\u5408\u8a08\uff0f\u6708')];\n if(id==='C03')cards=[{...r.rows[2],label:'\u5165\u529b\u984d\u3092\u982d\u91d1\u306b\u3057\u305f\u5f8c\u306e\u73fe\u91d1'},{...r.rows[6],label:'\u982d\u91d1\u3092200\u4e07\u5186\u5897\u3084\u3057\u305f\u5f8c\u306e\u73fe\u91d1'},{...r.rows[1],label:'\u5165\u529b\u984d\u3092\u982d\u91d1\u306b\u3057\u305f\u6bce\u6708\u8fd4\u6e08'}];\n if(id==='A04')series={axis:'\u304b\u6708\u5f8c',names:['\u7d66\u4ed8\u304c\u5165\u308b\u524d','\u7d66\u4ed8\u3092\u53d7\u3051\u53d6\u3063\u305f\u6708\u672b'],rows:[{x:0,a:detail.savings,b:detail.savings},...r.schedule.map(x=>({x:x.month,a:detail.savings+x.before,b:detail.savings+x.end}))]};\n if(id==='B04'){let balance=detail.saved;const rows=[{x:0,a:balance,age:detail.wage}];for(let t=1;t<=detail.start-detail.wage;t++){const salary=detail.wage+t-1<detail.retire?detail.wi:0;balance+=(detail.hp+salary-detail.cost)*12;rows.push({x:t,a:balance,age:detail.wage+t});}series={axis:'\u5e74\u5f8c',names:['\u4eee\u306e\u6761\u4ef6\u3067\u306e\u6b8b\u9ad8'],rows};}\n if(id==='B05'){const rows=[];for(let t=0;t<=detail.years;t++)rows.push({x:t,a:detail.now+(detail.after-detail.cost)*12*t,b:(detail.salary-detail.cost)*12*t+(t===detail.years?detail.later:0)});series={axis:'\u5e74\u5f8c',names:['\u4eca\u9000\u8077\u3059\u308b\u6848','\u50cd\u304d\u7d9a\u3051\u308b\u6848'],rows};}\n if(id==='C01'){const spare=detail.saved-detail.keep-detail.once;series={axis:'\u304b\u6708\u5f8c',names:['\u6b8b\u3059\u8cc7\u91d1\u3092\u9664\u3044\u305f\u4f7f\u3048\u308b\u4f59\u5730'],rows:Array.from({length:25},(_,t)=>({x:t,a:spare-detail.gap*t}))};}\n direction={A04:'\u307e\u305a\u306f\u7d66\u4ed8\u304c\u5165\u308b\u307e\u3067\u306e\u73fe\u91d1\u3092\u6b8b\u3057\u3001\u80b2\u4f11\u3068\u5b9a\u5e74\u304c\u91cd\u306a\u308b\u671f\u9593\u3092\u78ba\u8a8d\u3059\u308b\u65b9\u5411\u3067\u3059\u3002',A06:'\u6642\u77ed\u3092\u7d9a\u3051\u308b\u671f\u9593\u3068\u30013\u4eba\u76ee\u3067\u5897\u3048\u308b\u8cbb\u7528\u3092\u5206\u3051\u3066\u8003\u3048\u308b\u65b9\u5411\u3067\u3059\u3002',B01:'\u6bce\u6708\u306e\u4e0d\u8db3\u3068\u3001\u9032\u5b66\u524d\u306b\u6b8b\u3059\u6559\u80b2\u8cbb\u3092\u5206\u3051\u3066\u6e96\u5099\u3059\u308b\u65b9\u5411\u3067\u3059\u3002',B02:'\u9000\u8077\u307e\u3067\u306e\u7a4d\u7acb\u3068\u3001\u9000\u8077\u5f8c\u306e\u652f\u51fa\u8abf\u6574\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u65b9\u5411\u3067\u3059\u3002',B03:'\u898b\u76f4\u3057\u5f8c\u3082\u6b8b\u308b\u8d64\u5b57\u3092\u78ba\u8a8d\u3057\u3001\u50cd\u304d\u65b9\u3068\u652f\u51fa\u306e\u4e21\u65b9\u3067\u8abf\u6574\u3059\u308b\u65b9\u5411\u3067\u3059\u3002',B04:'\u59bb\u306e\u9000\u8077\u304b\u3089\u5e74\u91d1\u958b\u59cb\u307e\u3067\u306e\u671f\u9593\u3092\u3001\u5225\u306b\u6e96\u5099\u3059\u308b\u65b9\u5411\u3067\u3059\u3002',B05:'\u9000\u8077\u91d1\u3060\u3051\u3067\u6c7a\u3081\u305a\u3001\u6b21\u306e\u53ce\u5165\u307e\u3067\u66ae\u3089\u305b\u308b\u8cc7\u91d1\u3092\u78ba\u8a8d\u3059\u308b\u65b9\u5411\u3067\u3059\u3002',C01:'\u4f7f\u308f\u305a\u6b8b\u3059\u8caf\u91d1\u3092\u5148\u306b\u6c7a\u3081\u3001\u7d9a\u304f\u8d64\u5b57\u3092\u8abf\u6574\u3059\u308b\u65b9\u5411\u3067\u3059\u3002',C02:'\u8ca0\u62c5\u5f8c\u306b\u305d\u308c\u305e\u308c\u304c\u4f7f\u3048\u308b\u984d\u3092\u898b\u3066\u3001\u7d9a\u3051\u3089\u308c\u308b\u5206\u62c5\u3092\u76f8\u8ac7\u3059\u308b\u65b9\u5411\u3067\u3059\u3002',C03:'\u8fd4\u6e08\u3092\u6e1b\u3089\u3059\u52b9\u679c\u3068\u3001\u624b\u5143\u306e\u73fe\u91d1\u3092\u6b8b\u3059\u52b9\u679c\u3092\u6bd4\u3079\u308b\u65b9\u5411\u3067\u3059\u3002'}[id];return{cards,series,direction,detail};\n}\nreturn{defs,defaults,calculate};});\n\n(function(){'use strict';const Q=window.AGQuick;if(!Q)return;const fmt=n=>new Intl.NumberFormat('ja-JP',{maximumFractionDigits:1}).format(Math.abs(n)<1e-7?0:n);const colors=['#315e50','#b65c31'];\nfunction bindGraph(svg,series,geometry){if(svg.dataset.agqBound)return;svg.dataset.agqBound='1';const figure=svg.closest('figure')||svg.parentElement;figure.tabIndex=0;figure.setAttribute('aria-label','\u6298\u308c\u7dda\u30b0\u30e9\u30d5\u3002\u30ab\u30fc\u30bd\u30eb\u30fb\u30bf\u30c3\u30d7\u30fb\u5de6\u53f3\u30ad\u30fc\u3067\u6642\u70b9\u306e\u91d1\u984d\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002');const ns='http:\/\/www.w3.org\/2000\/svg',group=document.createElementNS(ns,'g'),line=document.createElementNS(ns,'line');line.setAttribute('class','agq-point-line');line.setAttribute('y1','25');line.setAttribute('y2','215');group.append(line);const dots=series.names.map((_,i)=>{const c=document.createElementNS(ns,'circle');c.setAttribute('r','5');c.setAttribute('fill',colors[i]);c.setAttribute('stroke','#fff');c.setAttribute('stroke-width','2');c.setAttribute('class','agq-point-dot');group.append(c);return c;});svg.append(group);\n const hint=document.createElement('p');hint.className='agq-mini';hint.textContent='PC\u306f\u30ab\u30fc\u30bd\u30eb\u3001\u30b9\u30de\u30db\u306f\u30bf\u30c3\u30d7\u3067\u91d1\u984d\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002';const read=document.createElement('div');read.className='agq-readout';read.setAttribute('role','status');read.setAttribute('aria-live','polite');const controls=document.createElement('label');controls.className='agq-chart-controls';controls.append(document.createTextNode('\u6642\u70b9\u3092\u9078\u3076'));const range=document.createElement('input');range.type='range';range.min='0';range.max=String(series.rows.length-1);range.step='1';range.setAttribute('aria-label','\u30b0\u30e9\u30d5\u3067\u78ba\u8a8d\u3059\u308b\u6642\u70b9');controls.append(range);figure.append(hint,read,controls);let index=0;\n function show(n){index=Math.max(0,Math.min(series.rows.length-1,n));const row=series.rows[index],parts=[row.x===0?'\u73fe\u5728':row.x+series.axis];if(row.age!==undefined)parts.push((series.ageLabel||'\u592b')+row.age+'\u6b73');if(row.child!==undefined)parts.push('\u5b50\u3069\u3082'+row.child+'\u6b73');for(let k=0;k<series.names.length;k++){const value=row[k===0?'a':'b'];parts.push(series.names[k]+'\uff1a'+fmt(value)+'\u4e07\u5186');const point=geometry.points[k][index];dots[k].setAttribute('cx',point[0]);dots[k].setAttribute('cy',point[1]);}line.setAttribute('x1',geometry.points[0][index][0]);line.setAttribute('x2',geometry.points[0][index][0]);read.textContent=parts.join(' \uff0f ');range.value=String(index);range.setAttribute('aria-valuetext',read.textContent);}\n function pointer(e){const rect=svg.getBoundingClientRect();if(!rect.width)return;const x=(e.clientX-rect.left)\/rect.width*720;show(Math.round((x-geometry.left)\/(geometry.right-geometry.left)*(series.rows.length-1)));}\n svg.addEventListener('pointermove',e=>{if(e.pointerType!=='touch')pointer(e);});svg.addEventListener('pointerdown',pointer);range.addEventListener('input',()=>show(Number(range.value)));figure.addEventListener('keydown',e=>{if(e.target===range)return;if(e.key==='ArrowRight'||e.key==='ArrowLeft'){e.preventDefault();show(index+(e.key==='ArrowRight'?1:-1));}else if(e.key==='Home'||e.key==='End'){e.preventDefault();show(e.key==='Home'?0:series.rows.length-1);}});show(0);\n}\nfunction chart(series){const wrap=document.createElement('figure');wrap.className='agq-chart';const all=series.rows.flatMap(r=>series.names.map((_,i)=>r[i===0?'a':'b']));let lo=Math.min(0,...all),hi=Math.max(0,...all);if(lo===hi){hi+=1;lo-=1;}const pad=(hi-lo)*.1;lo-=pad;hi+=pad;const x=i=>64+i\/Math.max(1,series.rows.length-1)*626,y=v=>210-(v-lo)\/(hi-lo)*180,points=series.names.map((_,k)=>series.rows.map((r,i)=>[x(i),y(r[k===0?'a':'b'])]));wrap.innerHTML='<svg viewBox=\"0 0 720 260\" role=\"img\" aria-label=\"\u5165\u529b\u3057\u305f\u4eee\u306e\u6761\u4ef6\u306b\u3088\u308b\u91d1\u984d\u306e\u63a8\u79fb\"><line x1=\"64\" x2=\"690\" y1=\"'+y(0)+'\" y2=\"'+y(0)+'\" stroke=\"#b5c1b0\" stroke-dasharray=\"4 4\"\/><text x=\"5\" y=\"40\">'+fmt(hi)+'<\/text><text x=\"5\" y=\"214\">'+fmt(lo)+'<\/text><text x=\"64\" y=\"245\">\u73fe\u5728<\/text><text x=\"590\" y=\"245\">'+series.rows.at(-1).x+series.axis+'<\/text>'+points.map((p,i)=>'<polyline points=\"'+p.map(v=>v.join(',')).join(' ')+'\" fill=\"none\" stroke=\"'+colors[i]+'\" stroke-width=\"3\"'+(i?' stroke-dasharray=\"7 4\"':'')+'\/>').join('')+'<\/svg><figcaption class=\"agq-legend\">'+series.names.map((s,i)=>'<span style=\"color:'+colors[i]+'\">'+(i?'\u2504 ':'\u2501 ')+s+'<\/span>').join('')+'<span>\u91d1\u984d\uff1a\u4e07\u5186<\/span><\/figcaption>';bindGraph(wrap.querySelector('svg'),series,{left:64,right:690,points});return wrap;}\nfunction fpBlock(root,detailed=false){const box=document.createElement('div');box.className=detailed?'agq-detailed-fp':'agq-fp';const title=document.createElement('strong');title.textContent='\u6982\u7565\u304c\u898b\u3048\u305f\u3089\u3001\u5177\u4f53\u7b56\u306fFP\u76f8\u8ac7\u3078';const p=document.createElement('p');p.textContent=Q.defs[root.dataset.agqMode].topic+'\u3092\u3001\u3054\u81ea\u8eab\u306e\u6761\u4ef6\u3067\u78ba\u8a8d\u3059\u308b\u6b21\u306e\u4e00\u6b69\u3067\u3059\u3002';const a=document.createElement('a');a.className='agq-cta-link';const url=root.dataset.fpUrl;if(url){a.href=url;a.target='_blank';a.rel='sponsored noopener noreferrer';a.textContent='FP\u76f8\u8ac7\u306e\u8a73\u7d30\u30fb\u7533\u8fbc\u6761\u4ef6\u3092\u78ba\u8a8d\u3059\u308b';}else{a.href='#'+root.id+'-fp';a.dataset.agqConsult='1';a.textContent='\u3053\u306e\u7d50\u679c\u3067FP\u306b\u76f8\u8ac7\u3057\u305f\u3044\u3053\u3068\u3092\u898b\u308b';}box.append(title,p,a);const micro=document.createElement('p');micro.className='agq-pending';micro.textContent=url?'\u76f8\u8ac7\u306e\u7bc4\u56f2\u30fb\u6599\u91d1\u3084\u7121\u6599\u306e\u6761\u4ef6\u3092\u3001\u6848\u5185\u5148\u3067\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002':'\u76f8\u8ac7\u7a93\u53e3\u306e\u3054\u6848\u5185\u306f\u6e96\u5099\u4e2d\u3067\u3059\u3002\u307e\u305a\u306f\u76f8\u8ac7\u3067\u78ba\u8a8d\u3057\u305f\u3044\u3053\u3068\u3092\u6574\u7406\u3067\u304d\u307e\u3059\u3002';box.append(micro);return box;}\nfunction mount(root){if(root.dataset.agqReady)return;root.dataset.agqReady='1';const id=root.dataset.agqMode,spec=Q.defs[id],form=root.querySelector('[data-agq-form]'),out=root.querySelector('[data-agq-result]'),error=root.querySelector('[data-agq-error]'),advanced=root.querySelector('.agq-advanced');let latest=null,synced='';root.querySelector('[data-agq-fp-slot]').append(fpBlock(root));\nfunction handoff(){if(!latest)return;const state=JSON.stringify(latest.detail);if(state===synced)return;const f=advanced.querySelector('form');if(!f)return;for(const[k,v]of Object.entries(latest.detail)){const input=f.elements.namedItem(k);if(input&&input.type==='number')input.value=String(v);if(input&&input.type==='checkbox')input.checked=Boolean(v);}const changed=f.querySelector('input');changed?.dispatchEvent(new Event('input',{bubbles:true}));synced=state;}\nfunction run(){error.textContent='';try{const p={};for(const f of spec.fields){const v=form.elements.namedItem(f.key).value;p[f.key]=v.trim()===''?NaN:Number(v);}latest=Q.calculate(id,p);out.replaceChildren();const cards=document.createElement('div');cards.className='agq-cards';for(const r of latest.cards){const card=document.createElement('div');card.className='agq-card';const label=document.createElement('span');label.textContent=r.label;const value=document.createElement('strong');value.textContent=r.value===null?'\u2014':fmt(r.value);if(r.value!==null&&r.value<0)value.style.color='#a6382e';const unit=document.createElement('small');unit.textContent=r.unit;card.append(label,value,unit);cards.append(card);}out.append(cards);const dir=document.createElement('div');dir.className='agq-direction';const b=document.createElement('strong');b.textContent='\u3053\u3053\u304b\u3089\u306e\u65b9\u5411\u6027';const pnode=document.createElement('p');pnode.textContent=latest.direction;dir.append(b,pnode);out.append(dir);if(latest.series)out.append(chart(latest.series));if(advanced.open)handoff();}catch(e){latest=null;out.replaceChildren();error.textContent=e.message;}}\nform.querySelector('fieldset').disabled=false;form.addEventListener('submit',e=>{e.preventDefault();run();});form.addEventListener('input',()=>{latest=null;out.replaceChildren();const p=document.createElement('p');p.textContent='\u6761\u4ef6\u3092\u5909\u66f4\u3057\u307e\u3057\u305f\u3002\u300c\u3056\u3063\u304f\u308a\u78ba\u8a8d\u3059\u308b\u300d\u3067\u7d50\u679c\u3092\u66f4\u65b0\u3067\u304d\u307e\u3059\u3002';out.append(p);});form.addEventListener('reset',()=>setTimeout(run,0));advanced.addEventListener('toggle',e=>{if(e.target===advanced&&advanced.open)handoff();});root.addEventListener('click',e=>{const a=e.target.closest('[data-agq-consult]');if(!a)return;e.preventDefault();const guide=root.querySelector('[data-agq-fp-guide]');guide.open=true;guide.querySelector('summary').focus({preventScroll:true});guide.scrollIntoView({behavior:'auto',block:'start'});});\nfunction legacyEnhance(el){if(!el.querySelector('table,svg'))return;if(!el.querySelector('.agq-detailed-fp'))el.append(fpBlock(root,true));const svg=el.querySelector('.agp-chart svg');if(svg&&!svg.dataset.agqBound&&window.AGFamilyPlanner){try{const f=advanced.querySelector('[data-ag-planner] form'),p={};for(const k of Object.keys(window.AGFamilyPlanner.defaults)){const input=f.elements.namedItem(k);p[k]=k==='useLoan'?input.checked:Number(input.value);}const r=window.AGFamilyPlanner.calculate(p),series={axis:'\u5e74\u5f8c',names:['A\uff1a\u57fa\u6e96\u306e\u6761\u4ef6','B\uff1a\u5909\u66f4\u3059\u308b\u5834\u5408'],rows:[{x:0,a:p.savings,b:p.savings,age:p.hAge,child:p.cAge},...r.rows.map(x=>({x:x.t+1,a:x.a,b:x.b,age:x.ha+1,child:x.c1+1}))]};const lines=[...svg.querySelectorAll('polyline')];const points=lines.map(l=>l.getAttribute('points').trim().split(\/\\s+\/).map(p=>p.split(',').map(Number)));bindGraph(svg,series,{left:70,right:690,points});}catch(e){\/* Detailed form validation owns its error message. *\/}}}\nfor(const el of advanced.querySelectorAll('.agp-results,[data-agb-result]')){legacyEnhance(el);new MutationObserver(()=>legacyEnhance(el)).observe(el,{childList:true});}run();}\nfunction init(){document.querySelectorAll('[data-agq-mode]').forEach(mount);}if(document.readyState==='loading')document.addEventListener('DOMContentLoaded',init);else init();})();\n<\/script>\n\n","protected":false},"excerpt":{"rendered":"<p>\u592b65\u6b73\u30fb\u59bb40\u6b73\u306e\u592b\u5a66\u3067\u306f\u3001\u59bb\u304c65\u6b73\u306b\u306a\u308b\u307e\u306725\u5e74\u3042\u308a\u307e\u3059\u3002\u592b\u5a662\u4eba\u5206\u306e\u5e74\u91d1\u3092\u6700\u521d\u304b\u3089\u5408\u7b97\u3059\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u592b\u306e\u5e74\u91d1\u3068\u59bb\u306e\u53ce\u5165\u3067\u66ae\u3089\u3059\u6642\u671f\u3001\u59bb\u304c\u9000\u8077\u3057\u3066\u304b\u3089\u5e74\u91d1\u3092\u53d7\u3051\u53d6\u308b\u307e\u3067\u306e\u6642\u671f\u3092\u5206\u3051\u3066\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u300225\u5e74\u5206\u306e\u751f\u6d3b\u8cbb\u3059\u3079\u3066\u3092\u8caf\u84c4\u3067\u7528\u610f\u3059\u308b\u3068\u3044\u3046\u610f\u5473\u3067\u306f\u306a\u304f\u3001\u53ce\u5165\u3067\u8db3\u308a\u306a\u3044\u5206\u3092\u63a2\u3059\u8a08\u7b97\u3067\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":87,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[5],"tags":[],"class_list":["post-112","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-retirement-education"],"_links":{"self":[{"href":"https:\/\/toshinosakon-money.com\/index.php?rest_route=\/wp\/v2\/posts\/112","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/toshinosakon-money.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/toshinosakon-money.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/toshinosakon-money.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/toshinosakon-money.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=112"}],"version-history":[{"count":6,"href":"https:\/\/toshinosakon-money.com\/index.php?rest_route=\/wp\/v2\/posts\/112\/revisions"}],"predecessor-version":[{"id":298,"href":"https:\/\/toshinosakon-money.com\/index.php?rest_route=\/wp\/v2\/posts\/112\/revisions\/298"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/toshinosakon-money.com\/index.php?rest_route=\/wp\/v2\/media\/87"}],"wp:attachment":[{"href":"https:\/\/toshinosakon-money.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=112"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/toshinosakon-money.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=112"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/toshinosakon-money.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}