{"id":19,"date":"2026-08-29T17:54:33","date_gmt":"2026-08-29T08:54:33","guid":{"rendered":"https:\/\/202308160136339301132.onamaeweb.jp\/test\/?page_id=19"},"modified":"2026-09-06T23:13:35","modified_gmt":"2026-09-06T14:13:35","slug":"30381e0a396e99a48d64b729f5c0e8ad6c210d46064b23f92885a65edcdba934e830381e0a396e99a48d64b729f5c0e8ad6c210d46064b23f92885a65edcdba934a630381e0a396e99a48d64b729f5c0e8ad6c210d46064b23f92885a65edcdba93","status":"publish","type":"page","link":"https:\/\/bousaiya-fcs.co.jp\/?page_id=19","title":{"rendered":"\u898b\u7a4d\u30d5\u30a9\u30fc\u30e0"},"content":{"rendered":"\n<!--\n  \u898b\u7a4d\u30d5\u30a9\u30fc\u30e0 \u4eee\u5b9f\u88c5\n\n  \u30ed\u30b8\u30c3\u30af\u306e\u8003\u3048\u65b9:\n    \u30fb\u9805\u76eeA(\u30d7\u30eb\u30c0\u30a6\u30f3\u9078\u629e) \u2026 \u9078\u629e\u80a2\u3054\u3068\u306b\u300c\u57fa\u672c\u6599\u91d1\u300d\u3092\u6301\u3064\n    \u30fb\u9805\u76eeB(\u30d7\u30eb\u30c0\u30a6\u30f3\u9078\u629e) \u2026 \u9078\u629e\u80a2\u3054\u3068\u306b\u300c\u8ffd\u52a0\u6599\u91d1\u300d\u3092\u6301\u3064\n       \u203bA\u00d7B\u306e\u7d44\u307f\u5408\u308f\u305b\u3067\u4f8b\u5916\u7684\u306a\u91d1\u984d\u306b\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u4e0b\u90e8\u306e\n         COMBO_TABLE \u306b\u500b\u5225\u306e\u91d1\u984d\u3092\u767b\u9332\u3059\u308c\u3070\u3001\u305d\u306e\u7d44\u307f\u5408\u308f\u305b\u3060\u3051\n         \u4e0a\u66f8\u304d\u3055\u308c\u307e\u3059(\u56fa\u5b9a\u8868\u65b9\u5f0f)\n    \u30fb\u9805\u76eeC(\u6570\u5024\u5165\u529b)     \u2026 \u5165\u529b\u5024 \u00d7 \u5358\u4fa1 \u3067\u8a08\u7b97(\u8a08\u7b97\u5f0f\u65b9\u5f0f)\n    \u30fb\u5408\u8a08 = (A\u00d7B\u306e\u91d1\u984d) + (C \u00d7 \u5358\u4fa1)\n\n  \u5b9f\u969b\u306b\u304a\u4f7f\u3044\u306b\u306a\u308b\u969b\u306f\u3001\u4e0b\u8a18\u300c\u25bc\u3053\u3053\u304b\u3089\u8a2d\u5b9a\u5024\u300d\u306e\u90e8\u5206\u3060\u3051\u3092\n  \u5b9f\u969b\u306e\u9805\u76ee\u540d\u30fb\u9078\u629e\u80a2\u30fb\u91d1\u984d\u306b\u66f8\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002\n-->\n\n<div class=\"estimate-form\">\n  <h3 class=\"estimate-form__title\">\u304a\u898b\u7a4d\u308a\u30b7\u30df\u30e5\u30ec\u30fc\u30bf\u30fc<\/h3>\n\n  <div class=\"estimate-form__row\">\n    <label for=\"item-a\">\u9805\u76eeA<\/label>\n    <select id=\"item-a\">\n      <option value=\"a1\" data-price=\"10000\">A\u30bf\u30a4\u30d71(10,000\u5186)<\/option>\n      <option value=\"a2\" data-price=\"20000\">A\u30bf\u30a4\u30d72(20,000\u5186)<\/option>\n      <option value=\"a3\" data-price=\"35000\">A\u30bf\u30a4\u30d73(35,000\u5186)<\/option>\n    <\/select>\n  <\/div>\n\n  <div class=\"estimate-form__row\">\n    <label for=\"item-b\">\u9805\u76eeB<\/label>\n    <select id=\"item-b\">\n      <option value=\"b1\" data-price=\"0\">B\u30aa\u30d7\u30b7\u30e7\u30f31(\u8ffd\u52a0\u306a\u3057)<\/option>\n      <option value=\"b2\" data-price=\"5000\">B\u30aa\u30d7\u30b7\u30e7\u30f32(+5,000\u5186)<\/option>\n      <option value=\"b3\" data-price=\"12000\">B\u30aa\u30d7\u30b7\u30e7\u30f33(+12,000\u5186)<\/option>\n    <\/select>\n  <\/div>\n\n  <div class=\"estimate-form__row\">\n    <label for=\"item-c\">\u9805\u76eeC(\u6570\u91cf)<\/label>\n    <input type=\"number\" id=\"item-c\" min=\"0\" step=\"1\" value=\"1\">\n    <span class=\"estimate-form__unit\">\u500b \u00d7 3,000\u5186<\/span>\n  <\/div>\n\n  <div class=\"estimate-form__result\">\n    <span class=\"estimate-form__result-label\">\u6982\u7b97\u91d1\u984d(\u7a0e\u629c)<\/span>\n    <span class=\"estimate-form__result-price\" id=\"result-price\">\u00a50<\/span>\n  <\/div>\n\n  <p class=\"estimate-form__note\">\n    \u203b\u4e0a\u8a18\u306f\u6982\u7b97\u91d1\u984d\u3067\u3059\u3002\u6b63\u5f0f\u306a\u304a\u898b\u7a4d\u308a\u306f\u5225\u9014\u3054\u4f9d\u983c\u304f\u3060\u3055\u3044\u3002\n  <\/p>\n<\/div>\n\n<style>\n.estimate-form {\n  max-width: 520px;\n  margin: 0 auto;\n  padding: 28px;\n  background: #ffffff;\n  border: 1px solid #dcdfe2;\n  border-radius: 4px;\n  font-family: \"Hiragino Kaku Gothic ProN\", \"Yu Gothic\", sans-serif;\n}\n.estimate-form__title {\n  margin: 0 0 20px;\n  font-size: 18px;\n  font-weight: 700;\n  color: #1a2b23;\n}\n.estimate-form__row {\n  margin-bottom: 18px;\n}\n.estimate-form__row label {\n  display: block;\n  font-weight: 600;\n  font-size: 14px;\n  color: #1a2b23;\n  margin-bottom: 6px;\n}\n.estimate-form__row select,\n.estimate-form__row input[type=\"number\"] {\n  width: 100{30381e0a396e99a48d64b729f5c0e8ad6c210d46064b23f92885a65edcdba934};\n  box-sizing: border-box;\n  padding: 10px 12px;\n  border: 1px solid #c4cbc7;\n  border-radius: 3px;\n  font-size: 15px;\n  background: #fafbfa;\n}\n.estimate-form__unit {\n  display: inline-block;\n  margin-top: 6px;\n  font-size: 13px;\n  color: #666;\n}\n.estimate-form__result {\n  display: flex;\n  justify-content: space-between;\n  align-items: baseline;\n  padding: 18px;\n  margin-top: 8px;\n  background: #eef6ef;\n  border: 1px solid #cfe4d2;\n  border-radius: 3px;\n}\n.estimate-form__result-label {\n  font-size: 14px;\n  color: #1a2b23;\n}\n.estimate-form__result-price {\n  font-size: 26px;\n  font-weight: 700;\n  color: #2e7d32;\n}\n.estimate-form__note {\n  margin-top: 12px;\n  font-size: 12px;\n  color: #888;\n}\n<\/style>\n\n<script>\n(function () {\n  \/\/ \u25bc\u3053\u3053\u304b\u3089\u8a2d\u5b9a\u5024 ------------------------------------------------\n\n  \/\/ \u9805\u76eeC\u306e\u5358\u4fa1(1\u500b\u3042\u305f\u308a\u306e\u91d1\u984d)\n  var UNIT_PRICE_C = 3000;\n\n  \/\/ A\u00d7B\u306e\u7d44\u307f\u5408\u308f\u305b\u3067\u91d1\u984d\u3092\u300c\u4e0a\u66f8\u304d\u300d\u3057\u305f\u3044\u5834\u5408\u306f\u3053\u3053\u306b\u8ffd\u52a0\n  \/\/ (\u767b\u9332\u304c\u306a\u3044\u7d44\u307f\u5408\u308f\u305b\u306f\u3001A\u5358\u4f53\u306e\u91d1\u984d + B\u5358\u4f53\u306e\u91d1\u984d \u3067\u8a08\u7b97\u3055\u308c\u307e\u3059)\n  var COMBO_TABLE = {\n    \/\/ \u4f8b: \"a3_b3\": 40000  \u2190 A\u30bf\u30a4\u30d73\u00d7B\u30aa\u30d7\u30b7\u30e7\u30f33\u306e\u3068\u304d\u3060\u3051 40,000\u5186\u306b\u3059\u308b\u5834\u5408\n  };\n\n  \/\/ \u25b2\u3053\u3053\u307e\u3067\u8a2d\u5b9a\u5024 ------------------------------------------------\n\n  var selectA = document.getElementById(\"item-a\");\n  var selectB = document.getElementById(\"item-b\");\n  var inputC = document.getElementById(\"item-c\");\n  var resultEl = document.getElementById(\"result-price\");\n\n  function formatYen(num) {\n    return \"\u00a5\" + num.toLocaleString(\"ja-JP\");\n  }\n\n  function calculate() {\n    var optA = selectA.options[selectA.selectedIndex];\n    var optB = selectB.options[selectB.selectedIndex];\n    var priceA = Number(optA.dataset.price) || 0;\n    var priceB = Number(optB.dataset.price) || 0;\n\n    var comboKey = optA.value + \"_\" + optB.value;\n    var abTotal;\n    if (Object.prototype.hasOwnProperty.call(COMBO_TABLE, comboKey)) {\n      abTotal = COMBO_TABLE[comboKey]; \/\/ \u56fa\u5b9a\u8868\u3092\u512a\u5148\n    } else {\n      abTotal = priceA + priceB; \/\/ \u901a\u5e38\u306f\u5358\u7d14\u5408\u7b97\n    }\n\n    var qtyC = Math.max(0, Number(inputC.value) || 0);\n    var cTotal = qtyC * UNIT_PRICE_C;\n\n    var total = abTotal + cTotal;\n    resultEl.textContent = formatYen(total);\n  }\n\n  selectA.addEventListener(\"change\", calculate);\n  selectB.addEventListener(\"change\", calculate);\n  inputC.addEventListener(\"input\", calculate);\n\n  calculate(); \/\/ \u521d\u671f\u8868\u793a\n})();\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>\u304a\u898b\u7a4d\u308a\u30b7\u30df\u30e5\u30ec\u30fc\u30bf\u30fc \u9805\u76eeA A\u30bf\u30a4\u30d71(10,000\u5186)A\u30bf\u30a4\u30d72(20,000\u5186)A\u30bf\u30a4\u30d73(35,000\u5186) \u9805\u76eeB B\u30aa\u30d7\u30b7\u30e7\u30f31(\u8ffd\u52a0\u306a\u3057)B\u30aa\u30d7\u30b7\u30e7\u30f32(+5,000\u5186)B\u30aa\u30d7\u30b7\u30e7\u30f33(+12,000\u5186)  [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-19","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/bousaiya-fcs.co.jp\/index.php?rest_route=\/wp\/v2\/pages\/19","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bousaiya-fcs.co.jp\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/bousaiya-fcs.co.jp\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/bousaiya-fcs.co.jp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bousaiya-fcs.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=19"}],"version-history":[{"count":2,"href":"https:\/\/bousaiya-fcs.co.jp\/index.php?rest_route=\/wp\/v2\/pages\/19\/revisions"}],"predecessor-version":[{"id":57,"href":"https:\/\/bousaiya-fcs.co.jp\/index.php?rest_route=\/wp\/v2\/pages\/19\/revisions\/57"}],"wp:attachment":[{"href":"https:\/\/bousaiya-fcs.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=19"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}