{"id":2246,"date":"2025-08-30T13:52:35","date_gmt":"2025-08-30T04:52:35","guid":{"rendered":"https:\/\/azul.daa.jp\/diary\/?p=2246"},"modified":"2025-11-19T11:03:25","modified_gmt":"2025-11-19T02:03:25","slug":"2246","status":"publish","type":"post","link":"https:\/\/azul.daa.jp\/diary\/2025\/08\/30\/2246\/","title":{"rendered":"\u65e5\u8a18\u4e00\u670d\u3000\u3042\u306a\u305f\u306e\u9069\u6b63\u4f53\u91cd\u306f\uff1f"},"content":{"rendered":"\n<!DOCTYPE html>\n<html lang=\"ja\">\n<head>\n  <meta charset=\"UTF-8\">\n  <title>\u9069\u6b63\u4f53\u91cd\u8a08\u7b97\u30c4\u30fc\u30eb<\/title>\n  <style>\n    body {\n      font-family: sans-serif;\n      background-color: #f0f8ff;\n      padding: 30px;\n      text-align: center;\n    }\n    input, button {\n      padding: 10px;\n      font-size: 16px;\n      margin: 10px;\n    }\n    #result {\n      margin-top: 20px;\n      font-size: 18px;\n      color: #333;\n    }\n  <\/style>\n<\/head>\n<body>\n  <h1>\u9069\u6b63\u4f53\u91cd\u8a08\u7b97\u30c4\u30fc\u30eb<\/h1>\n  <p>\u3042\u306a\u305f\u306e\u8eab\u9577\uff08cm\uff09\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\uff1a<\/p>\n  <input type=\"number\" id=\"heightInput\" placeholder=\"\u4f8b\uff1a170\">\n  <button onclick=\"calculateIdealWeight()\">\u8a08\u7b97\u3059\u308b<\/button>\n  <div id=\"result\"><\/div>\n\n  <script>\n    function calculateIdealWeight() {\n      const heightCm = parseFloat(document.getElementById(\"heightInput\").value);\n      if (isNaN(heightCm) || heightCm <= 0) {\n        document.getElementById(\"result\").innerText = \"\u6b63\u3057\u3044\u8eab\u9577\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\";\n        return;\n      }\n      const heightM = heightCm \/ 100;\n      const idealWeight = (22 * heightM * heightM).toFixed(1);\n      document.getElementById(\"result\").innerText = `\u3042\u306a\u305f\u306e\u9069\u6b63\u4f53\u91cd\u306f\u7d04 ${idealWeight} kg \u3067\u3059\u3002`;\n    }\n  <\/script>\n<\/body>\n<\/html>\n","protected":false},"excerpt":{"rendered":"<p>\u9069\u6b63\u4f53\u91cd\u8a08\u7b97\u30c4\u30fc\u30eb \u9069\u6b63\u4f53\u91cd\u8a08\u7b97\u30c4\u30fc\u30eb \u3042\u306a\u305f\u306e\u8eab\u9577\uff08cm\uff09\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\uff1a \u8a08\u7b97\u3059\u308b<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"vkexunit_cta_each_option":"","footnotes":""},"categories":[7],"tags":[],"class_list":["post-2246","post","type-post","status-publish","format-standard","hentry","category-tokkitokki"],"_links":{"self":[{"href":"https:\/\/azul.daa.jp\/diary\/wp-json\/wp\/v2\/posts\/2246","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/azul.daa.jp\/diary\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/azul.daa.jp\/diary\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/azul.daa.jp\/diary\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/azul.daa.jp\/diary\/wp-json\/wp\/v2\/comments?post=2246"}],"version-history":[{"count":2,"href":"https:\/\/azul.daa.jp\/diary\/wp-json\/wp\/v2\/posts\/2246\/revisions"}],"predecessor-version":[{"id":2248,"href":"https:\/\/azul.daa.jp\/diary\/wp-json\/wp\/v2\/posts\/2246\/revisions\/2248"}],"wp:attachment":[{"href":"https:\/\/azul.daa.jp\/diary\/wp-json\/wp\/v2\/media?parent=2246"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/azul.daa.jp\/diary\/wp-json\/wp\/v2\/categories?post=2246"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/azul.daa.jp\/diary\/wp-json\/wp\/v2\/tags?post=2246"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}