{"id":154,"date":"2021-04-11T22:15:34","date_gmt":"2021-04-11T13:15:34","guid":{"rendered":"https:\/\/k-shunoushien-k.com\/?page_id=154"},"modified":"2025-06-25T12:22:17","modified_gmt":"2025-06-25T03:22:17","slug":"inquiry","status":"publish","type":"page","link":"https:\/\/k-shunoushien-k.com\/?page_id=154","title":{"rendered":"\u304a\u554f\u3044\u5408\u308f\u305b"},"content":{"rendered":"\n<p>\u30ac\u30a4\u30c9\u30d6\u30c3\u30af\u6ce8\u6587\u3001\u8b1b\u6f14\u4f1a\u4f9d\u983c\u3001\u5404\u7a2e\u554f\u3044\u5408\u308f\u305b\u53d7\u4ed8\u3051\u307e\u3059\uff01<\/p>\n\n\n\n<p>\u203b\u304a\u898b\u7a4d\u66f8\u3092\u3054\u5e0c\u671b\u306e\u65b9\u306f\u3001\u30c1\u30a7\u30c3\u30af\u3092\u304a\u9858\u3044\u3057\u307e\u3059\u3002\u3053\u3061\u3089\u304b\u3089\u66f8\u985e\u3092\u9001\u3089\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3059\u306e\u3067\u3001\u5fc5\u8981\u4e8b\u9805\u3092\u3054\u8a18\u5165\u306e\u4e0a\u3001\u8fd4\u4fe1\u3088\u308d\u3057\u304f\u304a\u9858\u3044\u81f4\u3057\u307e\u3059\u3002<\/p>\n\n\n\r\n  <style>\r\n    \r\n    .tcd-submit-button{\r\n      display:inline-block;\r\n      width:auto;\r\n      font-weight:700;\r\n      text-align:center;\r\n      vertical-align:middle;\r\n      -webkit-transition:all .25s ease-in-out;\r\n      -moz-transition:all .25s ease-in-out;\r\n      -o-transition:all .25s ease-in-out;\r\n      -ms-transition:all .25s ease-in-out;\r\n      transition:all .25s ease-in-out;\r\n\r\n              width:300px; max-width:100%; padding:.9em 1.3em .8em; font-size:150%;     \r\n      \r\n      background-color:#3FA5FA;            border-radius:0px;    }\r\n    .tcd-submit-button:hover{\r\n      background-color:#2C73AB;    }\r\n\r\n    .workflow_left_td{\r\n      background-color:#EBF6FE!important;    }\r\n\r\n    .workflow_right_td{\r\n      background-color:#FFFFFF!important;    }\r\n\r\n    .workflow_top_th{\r\n      background-color:#3FA5FA!important;    }    \r\n  <\/style>\r\n  <script type=\"text\/javascript\">\r\n      var app = angular.module('app163055', [])\r\n      app.controller('MainCtrl163055', function($scope, $http, $httpParamSerializerJQLike) {\r\n        $scope.data = {\"name\":\"\\u554f\\u3044\\u5408\\u308f\\u305b\\u30d5\\u30a9\\u30fc\\u30e0\",\"title\":\"\\u554f\\u3044\\u5408\\u308f\\u305b\",\"mainbgcol\":\"FFFFFF\",\"textboxcol\":\"F7F7F7\",\"col1\":\"3FA5FA\",\"textcol1\":\"FFFFFF\",\"col2\":\"EBF6FE\",\"textcol2\":\"333333\",\"col3\":\"FFFFFF\",\"textcol3\":\"000000\",\"bordercol\":\"DDDDDD\",\"type\":\"form\",\"tablewidth\":\"100%\",\"colwidth\":\"30%\",\"border\":true,\"steps\":[{\"label1\":\"\\u6240\\u5c5e\\u540d\",\"label2\":\"\",\"cols\":[],\"required\":true,\"answer\":\"\",\"type\":\"text\",\"options\":null},{\"label1\":\"\\u304a\\u540d\\u524d\",\"label2\":null,\"cols\":[],\"required\":true,\"answer\":\"\",\"type\":\"text\",\"options\":null},{\"label1\":\"\\u30d5\\u30ea\\u30ac\\u30ca\",\"label2\":null,\"cols\":[],\"required\":true,\"answer\":\"\",\"type\":\"text\",\"options\":null},{\"label1\":\"\\u30e1\\u30fc\\u30eb\\u30a2\\u30c9\\u30ec\\u30b9\",\"label2\":null,\"cols\":[],\"required\":true,\"answer\":\"\",\"type\":\"email\",\"options\":null},{\"label1\":\"\\u96fb\\u8a71\\u756a\\u53f7\",\"label2\":null,\"cols\":[],\"required\":true,\"answer\":\"\",\"type\":\"text\",\"options\":null},{\"label1\":\"\\u304a\\u898b\\u7a4d\\u66f8\\u306e\\u8981\\u30fb\\u4e0d\\u8981\",\"label2\":null,\"cols\":[],\"required\":false,\"answer\":\"\",\"type\":\"radio\",\"options\":\"\\u8981\\n\\u4e0d\\u8981\"},{\"label1\":\"\\u304a\\u554f\\u3044\\u5408\\u308f\\u305b\\u5185\\u5bb9\",\"label2\":null,\"cols\":[],\"required\":false,\"answer\":\"\",\"type\":\"textarea\",\"options\":null}],\"columnpadding\":\"10\",\"layoutstyle\":null,\"column1\":null,\"column1head\":null,\"column1img\":null,\"column2\":null,\"column2head\":null,\"column2img\":null,\"column3\":null,\"column3img\":null,\"column4\":null,\"column4img\":null,\"submit\":\"\\u78ba\\u8a8d\\u753b\\u9762\\u3078\\u9032\\u3080\",\"submitcol\":\"3FA5FA\",\"submithovercol\":\"2C73AB\",\"submitborderradius\":0,\"submitsize\":\"m\",\"submitalign\":\"center\",\"completed\":\"\\u30d5\\u30a9\\u30fc\\u30e0\\u306f\\u7121\\u4e8b\\u9001\\u4fe1\\u3055\\u308c\\u307e\\u3057\\u305f\\u3002\",\"redirect\":\"https:\\\/\\\/k-shunoushien-k.com\\\/?page_id=154\",\"mailto\":\"k-shunoushien-k@ninus.ocn.ne.jp\",\"mailsubj\":\"\\u30d5\\u30a9\\u30fc\\u30e0\\u304b\\u3089\\u9001\\u4fe1\\u3055\\u308c\\u305f\\u30e1\\u30fc\\u30eb\",\"mailnotif\":true,\"customcss\":\"\",\"id\":\"2\",\"mail\":null};\r\n        $scope.data.steps.forEach(function(step, i){\r\n          if( $scope.data.steps[i].options ){\r\n            $scope.data.steps[i].options = step.options.split(\"\\n\")\r\n          }\r\n        })\r\n        $scope.confirmForm = function(){\r\n          $scope.confirm = true\r\n        }\r\n        $scope.sendForm = function(){\r\n          var str = \"\";\r\n          var mail = \"\";\r\n          $scope.data.steps.forEach(function(row){\r\n            str = str + row.label1 + ': ' + row.answer\r\n            str = str + '\\r\\n----------\\r\\n'\r\n            if( row.type == 'email' ){\r\n              mail = row.answer\r\n            }\r\n          })\r\n          var obj = { action: \"tcd_submit_form\", data: str, steps: angular.toJson($scope.data.steps), mail:mail, id: 2 }\r\n          $http({\r\n            url: \"https:\/\/k-shunoushien-k.com\/wp-admin\/admin-ajax.php\",\r\n            method: \"POST\",\r\n            data: obj,\r\n            headers: { 'Content-Type' : 'application\/x-www-form-urlencoded' },\r\n            transformRequest: $httpParamSerializerJQLike\r\n          }).then(function(res){\r\n                          window.location.href = 'https:\/\/k-shunoushien-k.com\/?page_id=154';\r\n                      })\r\n        }\r\n      })\r\n  <\/script>\r\n  <div ng-app=\"app163055\" ng-controller=\"MainCtrl163055\">\r\n\r\n    <h2 class=\"text-center\" ng-show=\"completed\">\r\n      \u30d5\u30a9\u30fc\u30e0\u306f\u7121\u4e8b\u9001\u4fe1\u3055\u308c\u307e\u3057\u305f\u3002    <\/h2>\r\n\r\n    <form ng-submit=\"confirmForm()\" ng-hide=\"completed\">\r\n      <table class=\"workflow_form table table-bordered tcd-workflow wf-form\" style=\"table-layout:auto; background:#{{data.mainbgcol}}\">\r\n        <tr class=\"workflow_form_headline\" style=\"color:#{{data.textcol1}}\">\r\n          <th class=\"text-center workflow_top_th\" colspan=\"2\">\r\n            <b>{{data.title}}<\/b>\r\n              <span ng-if=\"data.subtitle\"><br\/>{{data.subtitle}}<\/span>\r\n          <\/th>\r\n        <\/tr>\r\n        <tr ng-repeat=\"row in data.steps\">\r\n          <td style=\"width:30%; vertical-align:middle\" class=\"text-center workflow_left_td\">\r\n            <span style=\"color:#{{data.textcol2}};\">{{row.label1}}<span ng-if=\" row.required == '1' \" style=\"color:firebrick\">&nbsp;*<\/span><\/span>\r\n          <\/td>\r\n\r\n          <td class=\"workflow_right_td\" ng-hide=\"confirm\">\r\n            <input style=\"background:#{{data.textboxcol}}\" class=\"form-control\" type=\"text\" ng-if=\" row.type == 'text' \" ng-model=\"row.answer\" ng-required=\" row.required == '1' \" \/>\r\n            <input style=\"background:#{{data.textboxcol}}\" class=\"form-control\" type=\"email\" ng-if=\" row.type == 'email' \" ng-model=\"row.answer\" ng-required=\" row.required == '1' \" \/>\r\n            <textarea style=\"background:#{{data.textboxcol}}\" class=\"form-control\" ng-if=\" row.type == 'textarea' \" ng-model=\"row.answer\" ng-required=\" row.required == '1' \"><\/textarea>\r\n            <fieldset ng-if=\" row.type == 'radio' \">\r\n              <div style=\"display:inline-block\" ng-repeat=\"option in row.options track by $index\">\r\n                <input name=\"{{row.label1}}\" type=\"radio\" id=\"{{option}}\" value=\"{{option}}\" ng-model=\"row.answer\" ng-required=\" row.required == '1' \" \/>&nbsp;&nbsp;<label for=\"{{option}}\">{{option}}<\/label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n              <\/div>\r\n            <\/fieldset>\r\n            <fieldset ng-if=\" row.type == 'select' \">\r\n              <select ng-required=\" row.required == '1' \" ng-model=\"row.answer\">\r\n                <option ng-if=\" row.required == '1' \" value=\"\">Please select<\/option>\r\n                <option ng-repeat=\"option in row.options track by $index\" value=\"{{option}}\">{{option}}<\/option>\r\n              <\/select>\r\n            <\/fieldset>\r\n          <\/td>\r\n          <td ng-show=\"confirm\">{{ row.answer }}<\/td>\r\n        <\/tr>\r\n      <\/table>\r\n      <div class=\"text-center\" colspan=\"2\" ng-hide=\"confirm\">\r\n        <input type=\"submit\" class=\"tcd-submit-button\" value=\"{{ data.submit ? data.submit : 'Confirm' }}\" \/>\r\n      <\/div>\r\n\r\n      <div class=\"text-center\" colspan=\"2\" ng-show=\"confirm\">\r\n        <button type=\"button\" class=\"tcd-submit-button\" ng-click=\"confirm = false\">\u30ad\u30e3\u30f3\u30bb\u30eb<\/button>\r\n        <button type=\"button\" class=\"tcd-submit-button\" ng-click=\"sendForm()\">\u9001\u4fe1<\/button>\r\n      <\/div>\r\n    <\/form>\r\n<\/div>\n\n\n\n<p><br><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"\u30ac\u30a4\u30c9\u30d6\u30c3\u30af\u6ce8\u6587\u3001\u8b1b\u6f14\u4f1a\u4f9d\u983c\u3001\u5404\u7a2e\u554f\u3044\u5408\u308f\u305b\u53d7\u4ed8\u3051\u307e\u3059\uff01 \u203b\u304a\u898b\u7a4d\u66f8\u3092\u3054\u5e0c\u671b\u306e\u65b9\u306f\u3001\u30c1\u30a7\u30c3\u30af\u3092\u304a\u9858\u3044\u3057\u307e\u3059\u3002\u3053\u3061\u3089\u304b\u3089\u66f8\u985e\u3092\u9001\u3089\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3059\u306e\u3067\u3001\u5fc5\u8981\u4e8b\u9805\u3092\u3054\u8a18\u5165\u306e\u4e0a\u3001\u8fd4\u4fe1\u3088\u308d\u3057\u304f\u304a\u9858\u3044\u81f4\u3057\u307e\u3059\u3002","protected":false},"author":1,"featured_media":0,"parent":29,"menu_order":8,"comment_status":"open","ping_status":"closed","template":"page-nosidebar.php","meta":{"cybocfi_hide_featured_image":"","footnotes":""},"class_list":["post-154","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/k-shunoushien-k.com\/index.php?rest_route=\/wp\/v2\/pages\/154","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/k-shunoushien-k.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/k-shunoushien-k.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/k-shunoushien-k.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/k-shunoushien-k.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=154"}],"version-history":[{"count":20,"href":"https:\/\/k-shunoushien-k.com\/index.php?rest_route=\/wp\/v2\/pages\/154\/revisions"}],"predecessor-version":[{"id":722,"href":"https:\/\/k-shunoushien-k.com\/index.php?rest_route=\/wp\/v2\/pages\/154\/revisions\/722"}],"up":[{"embeddable":true,"href":"https:\/\/k-shunoushien-k.com\/index.php?rest_route=\/wp\/v2\/pages\/29"}],"wp:attachment":[{"href":"https:\/\/k-shunoushien-k.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}