{"id":2,"date":"2025-06-15T02:13:18","date_gmt":"2025-06-15T02:13:18","guid":{"rendered":"http:\/\/recall.name\/?page_id=2"},"modified":"2025-06-15T19:26:03","modified_gmt":"2025-06-15T10:26:03","slug":"top","status":"publish","type":"page","link":"https:\/\/recall.name\/","title":{"rendered":"\u30ea\u30b3\u30fc\u30eb\u306b\u5fc5\u8981\u306a\u7f72\u540d\u6570"},"content":{"rendered":"\n<p class=\"has-small-font-size wp-block-paragraph\">\u30ea\u30b3\u30fc\u30eb\u306b\u5fc5\u8981\u306a\u7f72\u540d\u6570\u3092\u8a08\u7b97\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u90fd\u9053\u5e9c\u770c\u77e5\u4e8b<\/h2>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\"><b><a href=\"https:\/\/www.e-stat.go.jp\/stat-search\/files?page=1&amp;layout=datalist&amp;toukei=00200232&amp;tstat=000001226563&amp;cycle=0&amp;stat_infid=000040254566&amp;tclass1val=0\" data-type=\"link\" data-id=\"https:\/\/www.e-stat.go.jp\/stat-search\/files?page=1&amp;layout=datalist&amp;toukei=00200232&amp;tstat=000001226563&amp;cycle=0&amp;stat_infid=000040254566&amp;tclass1val=0\">\u9078\u6319\u4eba\u540d\u7c3f\u53ca\u3073\u5728\u5916\u9078\u6319\u4eba\u540d\u7c3f\u767b\u9332\u8005\u6570 \/ \u4ee4\u548c\uff16\u5e74\uff19\u6708\u767b\u9332\u65e5\u73fe\u5728\u9078\u6319\u4eba\u540d\u7c3f\u53ca\u3073\u5728\u5916\u9078\u6319\u4eba\u540d\u7c3f\u767b\u9332\u8005\u6570<\/a><\/b>\u3000\u3088\u308a\u30c7\u30fc\u30bf\u3092\u53c2\u7167\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">\u76f4\u8fd1\u306e\u6b63\u78ba\u306a\u6570\u5024\u307e\u305f\u306f\u3001\u5e02\u533a\u753a\u6751\u5225\u306e\u30c7\u30fc\u30bf\u306b\u3064\u304d\u307e\u3057\u3066\u306f\u3001\u7dcf\u52d9\u7701\u3000<a href=\"https:\/\/www.soumu.go.jp\/senkyo\/senkyo_s\/links\/senkan\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u90fd\u9053\u5e9c\u770c\u9078\u6319\u7ba1\u7406\u59d4\u54e1\u4f1a\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u4e00\u89a7<\/a>\u304b\u3089\u3001\u5404\u90fd\u9053\u5e9c\u770c\u9078\u6319\u7ba1\u7406\u59d4\u54e1\u4f1a\u306e\u516c\u8868\u3059\u308b\u30c7\u30fc\u30bf\u3092\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<div style=\"max-width:700px;margin:auto;padding:1em;border:1px solid #ccc;border-radius:8px;\">\n  <h3>\ud83d\udcca \u90fd\u9053\u5e9c\u770c\u3054\u3068\u306e\u6709\u6a29\u8005\u6570\u3068\u5fc5\u8981\u306a\u7f72\u540d\u6570<\/h3>\n  <p class=\"has-small-font-size\">\u6570\u5024\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n  \n  <h4 style=\"margin-top:1em;\">\u90fd\u9053\u5e9c\u770c\u5225 \u6709\u6a29\u8005\u6570\u4e00\u89a7 R6-09<\/h4>\n  <table border=\"1\" cellpadding=\"5\" style=\"width:100%;border-collapse:collapse;\">\n    <thead>\n      <tr><th>\u90fd\u9053\u5e9c\u770c<\/th><th>\u9078\u6319\u4eba\u540d\u7c3f\u767b\u9332\u8005\u6570<\/th><th>\u5728\u5916\u9078\u6319\u4eba\u540d\u7c3f\u767b\u9332\u8005\u6570<\/th><th>\u5408\u8a08<\/th><\/tr>\n    <\/thead>\n    <tbody id=\"prefTable\"><\/tbody>\n  <\/table>\n\n  <hr style=\"margin:2em 0;\">\n\n  <label for=\"voterCount\">\ud83e\uddee \u8a08\u7b97\u306b\u4f7f\u3046\u300c\u6709\u6a29\u8005\u6570\u300d\u3092\u8abf\u6574\uff1a<\/label><br>\n<p class=\"has-small-font-size\">\u76f4\u8fd1\u306e\u6b63\u78ba\u306a\u6570\u5024\u307e\u305f\u306f\u3001\u5e02\u533a\u753a\u6751\u5225\u306e\u30c7\u30fc\u30bf\u306b\u3064\u304d\u307e\u3057\u3066\u306f\u3001\u7dcf\u52d9\u7701\u3000<a href=\"https:\/\/www.soumu.go.jp\/senkyo\/senkyo_s\/links\/senkan\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u90fd\u9053\u5e9c\u770c\u9078\u6319\u7ba1\u7406\u59d4\u54e1\u4f1a\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u4e00\u89a7<\/a>\u304b\u3089\u3001\u5404\u90fd\u9053\u5e9c\u770c\u9078\u6319\u7ba1\u7406\u59d4\u54e1\u4f1a\u306e\u516c\u8868\u3059\u308b\u30c7\u30fc\u30bf\u3092\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<\/p>\n  <input type=\"number\" id=\"voterCount\" placeholder=\"\u4f8b\uff1a6135555\" style=\"width:100%;padding:0.5em;margin-top:5px;\"><br><br>\n\n  <button onclick=\"calculateSignatures()\" style=\"padding:0.5em 1em;\">\u518d\u8a08\u7b97<\/button><br><br>\n\n  <!-- \u7d50\u679c\u8868\u793a\u306e\u90e8\u5206 -->\n  <div id=\"resultSection\">\n    <div id=\"result\" style=\"font-weight:bold;\"><\/div>\n    <div id=\"plusVariants\" style=\"margin-top:1em;\"><\/div>\n  <\/div>\n<\/div>\n\n<script>\nlet selectedPref = \"\";\n\nfetch(\"https:\/\/recall.name\/data\/R060901-tdfkdata.json\")\n  .then(res => res.json())\n  .then(data => {\n    const tbody = document.getElementById(\"prefTable\");\n    data.filter(row => row[\"\u90fd\u9053\u5e9c\u770c\"]).forEach(row => {\n      const tr = document.createElement(\"tr\");\n      [\"\u90fd\u9053\u5e9c\u770c\", \"\u9078\u6319\u4eba\u540d\u7c3f\u767b\u9332\u8005\u6570\", \"\u5728\u5916\u9078\u6319\u4eba\u540d\u7c3f\u767b\u9332\u8005\u6570\", \"\u8a08\"].forEach(key => {\n        const td = document.createElement(\"td\");\n        td.textContent = row[key];\n        if (key !== \"\u90fd\u9053\u5e9c\u770c\") {\n          td.style.cursor = \"pointer\";\n          td.onclick = () => {\n            document.getElementById(\"voterCount\").value = Number(row[key].replace(\/,\/g, \"\"));\n            selectedPref = row[\"\u90fd\u9053\u5e9c\u770c\"];\n            calculateSignatures();\n            document.getElementById(\"resultSection\").scrollIntoView({ behavior: \"smooth\" });\n          };\n        }\n        tr.appendChild(td);\n      });\n      tbody.appendChild(tr);\n    });\n  });\n\nfunction calculateSignatures() {\n  const x = parseInt(document.getElementById(\"voterCount\").value);\n  let required;\n\n  if (isNaN(x) || x <= 0) {\n    document.getElementById(\"result\").innerHTML = \"\u6709\u52b9\u306a\u6570\u5024\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\";\n    document.getElementById(\"plusVariants\").innerHTML = \"\";\n    return;\n  }\n\n  if (x <= 400000) {\n    required = x * (1 \/ 3);\n  } else if (x <= 800000) {\n    required = 400000 * (1 \/ 3) + (x - 400000) * (1 \/ 6);\n  } else {\n    required = 400000 * (1 \/ 3) + 400000 * (1 \/ 6) + (x - 800000) * (1 \/ 8);\n  }\n\n  const rounded = Math.ceil(required);\n  const resultText = selectedPref\n    ? `\u2705 <strong>${selectedPref}\u77e5\u4e8b<\/strong>\u306e\u30ea\u30b3\u30fc\u30eb\u306e\u305f\u3081\u306e\u6cd5\u5b9a\u5fc5\u8981\u6570\uff08\u6709\u52b9\u7f72\u540d\u6570\uff09\u306f <strong>${rounded.toLocaleString()}<\/strong> \u4eba\u3067\u3059\u3002`\n    : `\u2705 \u6cd5\u5b9a\u5fc5\u8981\u6570\uff08\u6709\u52b9\u7f72\u540d\u6570\uff09\u306f <strong>${rounded.toLocaleString()}<\/strong> \u4eba\u3067\u3059\u3002`;\n\n  document.getElementById(\"result\").innerHTML = resultText;\n\n  let variantsHtml = \"<h4>\ud83e\uddee \u7121\u52b9\u7968\u3092\u898b\u8fbc\u3093\u3060\u5834\u5408\u306e\u63a8\u5968\u7f72\u540d\u6570\uff1a<\/h4><ul>\";\n  [10, 20, 30, 40, 50].forEach(percent => {\n    const adjusted = Math.ceil(rounded \/ (1 - percent \/ 100));\n    variantsHtml += `<li>${percent}% \u7121\u52b9\u3092\u60f3\u5b9a\uff1a<strong>${adjusted.toLocaleString()}<\/strong> \u4eba<\/li>`;\n  });\n  variantsHtml += \"<\/ul>\";\n  document.getElementById(\"plusVariants\").innerHTML = variantsHtml;\n}\n<\/script>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30ea\u30b3\u30fc\u30eb\u306b\u5fc5\u8981\u306a\u7f72\u540d\u6570\u3092\u8a08\u7b97\u3057\u307e\u3059\u3002 \u90fd\u9053\u5e9c\u770c\u77e5\u4e8b \u9078\u6319\u4eba\u540d\u7c3f\u53ca\u3073\u5728\u5916\u9078\u6319\u4eba\u540d\u7c3f\u767b\u9332\u8005\u6570 \/ \u4ee4\u548c\uff16\u5e74\uff19\u6708\u767b\u9332\u65e5\u73fe\u5728\u9078\u6319\u4eba\u540d\u7c3f\u53ca\u3073\u5728\u5916\u9078\u6319\u4eba\u540d\u7c3f\u767b\u9332\u8005\u6570\u3000\u3088\u308a\u30c7\u30fc\u30bf\u3092\u53c2\u7167\u3057\u3066\u3044\u307e\u3059\u3002 \u76f4\u8fd1\u306e\u6b63\u78ba\u306a\u6570\u5024\u307e\u305f\u306f\u3001\u5e02\u533a\u753a\u6751\u5225\u306e [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/recall.name\/index.php\/wp-json\/wp\/v2\/pages\/2","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/recall.name\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/recall.name\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/recall.name\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/recall.name\/index.php\/wp-json\/wp\/v2\/comments?post=2"}],"version-history":[{"count":60,"href":"https:\/\/recall.name\/index.php\/wp-json\/wp\/v2\/pages\/2\/revisions"}],"predecessor-version":[{"id":84,"href":"https:\/\/recall.name\/index.php\/wp-json\/wp\/v2\/pages\/2\/revisions\/84"}],"wp:attachment":[{"href":"https:\/\/recall.name\/index.php\/wp-json\/wp\/v2\/media?parent=2"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}