{"id":50,"date":"2021-12-20T10:40:43","date_gmt":"2021-12-20T01:40:43","guid":{"rendered":"http:\/\/sv05.kurumebp.jp\/iscrtkm\/?page_id=50"},"modified":"2026-04-10T11:53:57","modified_gmt":"2026-04-10T02:53:57","slug":"application","status":"publish","type":"page","link":"https:\/\/www.kurumebp.jp\/?page_id=50","title":{"rendered":"\u65bd\u8a2d\u5229\u7528\u7533\u8fbc\u307f"},"content":{"rendered":"\n<p class=\"is-style-notice\"><strong>\u304a\u7533\u8fbc\u307f\u524d\u306b\u300c<a href=\"https:\/\/www.kurumebp.jp\/?page_id=33\" target=\"_blank\" rel=\"noreferrer noopener\">\u65bd\u8a2d\u5229\u7528\u898f\u7a0b<\/a>\u300d\u3092\u3054\u4e00\u8aad\u3044\u305f\u3060\u304d\u5185\u5bb9\u3092\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044<\/strong>\u3000<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2><strong>\u30db\u30fc\u30eb\u30fb\u4f1a\u8b70\u5ba4 \u3054\u5229\u7528\u6642\u306e\u6ce8\u610f\u4e8b\u9805<\/strong><\/h2>\n\n\n\n<p>\u30db\u30fc\u30eb\u30fb\u4f1a\u8b70\u5ba4\u306e\u3054\u5229\u7528\u306b\u3042\u305f\u3063\u3066\u306f\u3001\u53c2\u52a0\u8005\u306e\u4f53\u8abf\u7ba1\u7406\u3084\u5ba4\u5185\u306e\u63db\u6c17\u306b\u5341\u5206\u3054\u914d\u616e\u304f\u3060\u3055\u3044\u307e\u3059\u3088\u3046\u304a\u9858\u3044\u3044\u305f\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-group has-background\" style=\"background-color:#f4f4f4\"><div class=\"wp-block-group__inner-container\">\n<p><strong>\u25c7\u5165\u5834\u6642\u306e\u4f53\u8abf\u30c1\u30a7\u30c3\u30af<\/strong><\/p>\n\n\n\n<p><strong>\u25c7\u3053\u307e\u3081\u306a\u624b\u6d17\u3044\u3001\u624b\u6307\u6d88\u6bd2<\/strong><\/p>\n\n\n\n<p><strong>\u25c7\u983b\u7e41\u306a\u63db\u6c17\uff08\u7a93\u958b\u3051\uff09<\/strong><\/p>\n<\/div><\/div>\n\n\n\n<h2><strong>\u30db\u30fc\u30eb\u30fb\u4f1a\u8b70\u5ba4 \u5229\u7528\u7533\u8fbc\u307f\u30d5\u30a9\u30fc\u30e0<\/strong><\/h2>\n\n\n\n<p>\u300c<a data-type=\"URL\" rel=\"noreferrer noopener\" href=\"https:\/\/www.kurumebp.jp\/?page_id=33\" target=\"_blank\">\u65bd\u8a2d\u5229\u7528\u898f\u7a0b<\/a>\u300d\u3092\u627f\u8afe\u306e\u3046\u3048\u3001\u4e0b\u8a18\u306e\u3068\u304a\u308a\u65bd\u8a2d\u306e\u5229\u7528\u3092\u7533\u8fbc\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5229\u7528\u7533\u3057\u8fbc\u307f\u3055\u308c\u308b\u524d\u306b\u30db\u30fc\u30eb\u30fb\u4f1a\u8b70\u5ba4\u306e\u7a7a\u304d\u72b6\u6cc1\u306e\u78ba\u8a8d\u30fb\u4e8b\u524d\u4e88\u7d04\u3092\u304a\u96fb\u8a71\u306b\u3066\u304a\u9858\u3044\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-buttons\">\n<div class=\"wp-block-button has-custom-width wp-block-button__width-100 has-custom-font-size is-style-outline has-medium-font-size\"><a class=\"wp-block-button__link\" href=\"tel:0942313104\" target=\"_blank\" rel=\"noreferrer noopener\">0942-31-3104<br>\u5e73\u65e59\uff1a00-17\uff1a00<\/a><\/div>\n<\/div>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<p>[mwform_formkey key=&#8221;1737&#8243;]<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"608\" height=\"158\" src=\"https:\/\/www.kurumebp.jp\/wp-content\/uploads\/2022\/12\/KPP_mailtui-2.jpg\" alt=\"\u9001\u4fe1\u5f8c\u3001\u5229\u7528\u7533\u8fbc\u53d7\u4ed8\u30e1\u30fc\u30eb\u3092\u8fd4\u4fe1\u3057\u307e\u3059\u3002\u30d1\u30bd\u30b3\u30f3\u30e1\u30fc\u30eb\u304c\u53d7\u4fe1\u3067\u304d\u308b\u3088\u3046\u304a\u9858\u3044\u3057\u307e\u3059\u3002\" class=\"wp-image-2340\" srcset=\"https:\/\/www.kurumebp.jp\/wp-content\/uploads\/2022\/12\/KPP_mailtui-2.jpg 608w, https:\/\/www.kurumebp.jp\/wp-content\/uploads\/2022\/12\/KPP_mailtui-2-300x78.jpg 300w, https:\/\/www.kurumebp.jp\/wp-content\/uploads\/2022\/12\/KPP_mailtui-2-150x39.jpg 150w\" sizes=\"(max-width: 608px) 100vw, 608px\" \/><\/figure><\/div>\n\n\n\n<script>\n'use strict';\n\nclass Yoyaku {\n  constructor(){\n    this.sections = [...document.querySelectorAll('div.yoyaku-section')];\n  }\n  \n  \/**\n   * \u5165\u529b\u753b\u9762\u3067change\u30a4\u30d9\u30f3\u30c8\u304c\u767a\u706b\u3057\u305f\u3089\n   * @param {Event} target\n   *\/\n  handleEvent({target}){\n    if (target.name === 'yoyaku-length') {\n      const num = target.value | 0;\n      if (typeof num === 'number') {\n        this.show_sections(num);\n        this.clear_sections(num);\n      }\n    }else if (\/institution.\/.test(target.name)) {\n      this.show_setsubi(\n        target.value.slice(1, target.value.length), \n        target.closest('table')\n      );\n    }\n  }\n\n  \/**\n   * \u5165\u529b\u753b\u9762\u306e\u521d\u671f\u5316\u51e6\u7406\n   *\/\n  input_init(){\n    const num = (document.getElementsByName('yoyaku-length'))\n      ? document.getElementsByName('yoyaku-length')[0].value | 0\n      : 1;\n    this.show_sections(num);\n    this.clear_sections(num);\n\n    this.sections.forEach(section => {\n      const checkedSetsubi = [...section.querySelectorAll('input.institution')].filter(input => input.checked);\n      if(checkedSetsubi.length === 0) {\n        this.show_setsubi('', section.querySelector('table'));\n      } else if(checkedSetsubi.length === 1) {\n        const room = checkedSetsubi[0].value.slice(1, checkedSetsubi[0].value.length);\n        this.show_setsubi(room, section.querySelector('table'));\n      }else {\n        console.log('show_setsubi error');\n      };\n    });\n  }\n  \n  \/**\n   * \u78ba\u8a8d\u753b\u9762\u306e\u521d\u671f\u5316\u51e6\u7406\n   *\/\n  confirm_init(){\n    const num = (document.getElementsByName('yoyaku-length'))\n      ? document.getElementsByName('yoyaku-length')[0].value | 0\n      : 1;\n    this.show_sections(num);\n  }\n\n  \/**\n   * sections\u306e\u3046\u3061\u3001num\u756a\u76ee\u307e\u3067\u3092\u8868\u793a\n   * @param {number} num 1,2,3...\n   *\/\n  show_sections(num){\n    \/\/ \u3054\u5229\u7528\u5185\u5bb9\u5165\u529b\u306e\u3042\u3068\u306b\u300cn\u4ef6\u76ee\u300d\u3092\u5165\u308c\u308b\u304b\u3069\u3046\u304b\n    if(num === 1) {\n      document.querySelectorAll('span.yoyaku-count').forEach(span => {\n        span.style.display = 'none';\n      });\n    } else {\n      document.querySelectorAll('span.yoyaku-count').forEach(span => {\n        span.style.display = 'inline';\n      });\n    }\n    \/\/ \u5165\u529b\u6b04\u306ediv\u305d\u306e\u3082\u306e\u3092\u8868\u793a\u3059\u308b\u304b\u975e\u8868\u793a\u3059\u308b\u304b\n    this.sections.forEach((section, idx) => {\n      section.style.display = (num > idx) ? 'block' : 'none';\n    });\n  }\n  \n  \/**\n   * sections\u306e\u3046\u3061\u3001n+1\u756a\u76ee\u4ee5\u964d\u306einput\u3092\u30af\u30ea\u30a2\n   * @param {number} num 1,2,3...\n   *\/\n  clear_sections(num){\n    this.sections.forEach((section, idx) => {\n      if (idx > num) {  \/\/ num\u4ee5\u4e0a\u306e\u5834\u5408\u306f\u3001\u5165\u529b\u5024\u30ea\u30bb\u30c3\u30c8\n        section.querySelectorAll('input[type=text]').forEach(input => {\n          input.value = '';\n        });\n        section.querySelectorAll('input[type=radio]').forEach(input => {\n          input.checked = false;\n        });\n        section.querySelectorAll('input[type=checkbox]').forEach(input => {\n          input.checked = false;\n        });\n        section.querySelectorAll('input[type=number]').forEach(input => {\n          input.value = '';\n        });\n        section.querySelectorAll('select').forEach(select => {\n          select.value = '0:00';        \n        });  \n      }\n    });\n  }\n  \n  \/**\n   * \u4f7f\u7528\u5ba4\u3054\u3068\u306b\u4e88\u5b9a\u5668\u5177\u3092\u8868\u793a\u30fb\u975e\u8868\u793a\n   * @param {string} room \n   * @param {object} table\n   *\/\n  show_setsubi(room, table){\n    const hall = table.querySelector('p.hall-setsubi');\n    const kaigi = table.querySelector('p.kaigi-setsubi');\n\n    if (room === '\u4f1a\u8b70\u5ba4') {\n      hall.querySelectorAll('input[type=checkbox]').forEach(input => {\n        input.checked = false;\n        input.disabled = true;\n      });\n      kaigi.querySelectorAll('input[type=checkbox]').forEach(input => {\n        input.disabled = false;\n      });\n    } else if (room === '\u30db\u30fc\u30eb') {\n      kaigi.querySelectorAll('input[type=checkbox]').forEach(input => {\n        input.checked = false;\n        input.disabled = true;\n      });\n      hall.querySelectorAll('input[type=checkbox]').forEach(input => {\n        input.disabled = false;\n      });\n    } else {\n      hall.querySelectorAll('input[type=checkbox]').forEach(input => {\n        input.checked = false;\n        input.disabled = true;\n      });\n      kaigi.querySelectorAll('input[type=checkbox]').forEach(input => {\n        input.checked = false;\n        input.disabled = true;\n      });\n    }\n  }\n}\n\nclass Zip {\n  constructor(){\n    this.zip1 = document.getElementsByName('zip[data][0]')[0];\n    this.zip2 = document.getElementsByName('zip[data][1]')[0];\n    this.addr1 = document.getElementsByName('address1')[0];\n\n    this.parent = this.zip1.parentElement;\n    this.is_fetchError = false;\n  }\n  \/**\n   * input\u3055\u308c\u305f\u3068\u304d\u767a\u706b\n   * @returns void\n   *\/\n  handleEvent(){\n    if( this.is_fetchError ) return;\n    if( !window.sessionStorage.getItem('zip') ) return;  \/\/ \u30c7\u30fc\u30bf\u304c\u5165\u3063\u3066\u3044\u308b\u304b\n    if(this.zip1.value === '' || this.zip2.value === '') return;  \/\/ \u672a\u5165\u529b\n    if( isNaN(this.zip1.value) || isNaN(this.zip2.value)) return;  \/\/ \u6570\u5b57\u304b\n    if( this.zip1.value.length !== 3 || this.zip2.value.length !== 4) return;  \/\/ 3\u6841\u30684\u6841\u304b\n\n    const data = JSON.parse( window.sessionStorage.getItem('zip') );\n    const num = [this.zip1.value, this.zip2.value].join('');\n    if( !data[num] ) return;\n    this.addr1.value = data[num];\n  }\n  \/**\n   * \u521d\u671f\u5316\u51e6\u7406\n   * @returns void\n   *\/\n  init(){\n    if( !!window.sessionStorage.getItem('zip') )  return;\n    fetch('https:\/\/www.kurumebp.jp\/wp-content\/themes\/kbpbasetheme\/js\/zip.json')\n    .then(res => {\n      if( !res.ok ) {\n        console.error(res.status);\n        throw new Error(res.statusText);\n      }\n      return res.text();\n    })\n    .then(text => window.sessionStorage.setItem('zip', text))\n    .catch(err => {\n      console.error(err);\n      this.is_fetchError = true;\n    });\n  }\n}\n\n\n\/\/ \u5b9f\u884c\n\ndocument.addEventListener('DOMContentLoaded', ()=>{\n  if( !!document.querySelector('div.mw_wp_form_input') ) {  \/\/ \u5165\u529b\u753b\u9762\n    const y = new Yoyaku();\n    const z = new Zip();\n\n    y.input_init();\n    z.init();\n\n    document.addEventListener('change', y, false);\n    z.parent.addEventListener('input', z, false);\n  } else if ( !!document.querySelector('div.mw_wp_form_confirm') ) {  \/\/ \u78ba\u8a8d\u753b\u9762\n    const y = new Yoyaku();\n    y.confirm_init();\n  } else {  \/\/ \u5b8c\u4e86\u753b\u9762, \u30a8\u30e9\u30fc\u753b\u9762\n\n  }\n}, false);\n\n<\/script>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u304a\u7533\u8fbc\u307f\u524d\u306b\u300c\u65bd\u8a2d\u5229\u7528\u898f\u7a0b\u300d\u3092\u3054\u4e00\u8aad\u3044\u305f\u3060\u304d\u5185\u5bb9\u3092\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3000 \u30db\u30fc\u30eb\u30fb\u4f1a\u8b70\u5ba4 \u3054\u5229\u7528\u6642\u306e\u6ce8\u610f\u4e8b\u9805 \u30db\u30fc\u30eb\u30fb\u4f1a\u8b70\u5ba4\u306e\u3054\u5229\u7528\u306b\u3042\u305f\u3063\u3066\u306f\u3001\u53c2\u52a0\u8005\u306e\u4f53\u8abf\u7ba1\u7406\u3084\u5ba4\u5185\u306e\u63db\u6c17\u306b\u5341\u5206\u3054\u914d\u616e\u304f\u3060\u3055\u3044\u307e\u3059\u3088\u3046\u304a\u9858 &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":12,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.kurumebp.jp\/index.php?rest_route=\/wp\/v2\/pages\/50"}],"collection":[{"href":"https:\/\/www.kurumebp.jp\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.kurumebp.jp\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.kurumebp.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kurumebp.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=50"}],"version-history":[{"count":25,"href":"https:\/\/www.kurumebp.jp\/index.php?rest_route=\/wp\/v2\/pages\/50\/revisions"}],"predecessor-version":[{"id":7242,"href":"https:\/\/www.kurumebp.jp\/index.php?rest_route=\/wp\/v2\/pages\/50\/revisions\/7242"}],"up":[{"embeddable":true,"href":"https:\/\/www.kurumebp.jp\/index.php?rest_route=\/wp\/v2\/pages\/12"}],"wp:attachment":[{"href":"https:\/\/www.kurumebp.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=50"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}