app/template/user_data/loan_examination.twig line 1

Open in your IDE?
  1. {% extends 'default_frame.twig' %}
  2. {% form_theme form 'Form/form_div_layout.twig' %}
  3. {% block stylesheet %}
  4.     <style type="text/css">
  5.         p.required{
  6.             display: flex;
  7.             align-items: flex-start;
  8.             flex-wrap: wrap;
  9.             justify-content: flex-start;
  10.             gap: 0 1rem;
  11.         }
  12.         p.required:after{
  13.             content: "【必須】";
  14.             font-size: 1.2rem;
  15.             color: #db0000;
  16.             margin-top: 0.5rem;
  17.         }
  18.         .horizontal{
  19.             display: flex;
  20.             justify-content: flex-start;
  21.             align-items: center;
  22.             flex-wrap: wrap;
  23.         }
  24.         .address .error-empty{
  25.             position: relative!important;
  26.             top: unset!important;
  27.         }
  28.         .horizontal .form-check{
  29.             padding-left: 0;
  30.             margin-right: 2rem;
  31.         }
  32.         .ec-form-inquiry__group .table table tr td:nth-child(2) .fill.horizontal label input{
  33.             margin-left: 0;
  34.         }
  35.         .ec-form-inquiry__group .table table tr td:nth-child(2) .fill.horizontal label input[type="text"]{
  36.             max-width: 100px;
  37.         }
  38.         .ec-form-inquiry__group .table table tr td:nth-child(2) .fill.horizontal label span{
  39.             margin-right: 2rem;
  40.         }
  41.         {# .ec-form-inquiry__group .step-content {
  42.             display: block; /*Debug*/
  43.         } #}
  44.     </style>
  45. {% endblock stylesheet %}
  46. {% block javascript %}
  47.     <script src="https://ajaxzip3.github.io/ajaxzip3.js" charset="UTF-8"></script>
  48.     <script type="text/javascript">
  49.         $(function() {
  50.             $('.postal_code').click(function(event) {
  51.                 AjaxZip3.zip2addr('loan[postal_code]', '', 'loan[address][pref]', 'loan[address][addr01]');
  52.                 return false;
  53.             });
  54.             $('.employed_postal_code').click(function(event) {
  55.                 AjaxZip3.zip2addr('loan[employed_postal_code]', '', 'loan[employed_address_pref]', 'loan[employed_address_addr01]');
  56.                 return false;
  57.             });
  58.             $('.guarantor_postal_code').click(function(event) {
  59.                 AjaxZip3.zip2addr('loan[guarantor_postal_code]', '', 'loan[guarantor_address_pref]', 'loan[guarantor_address_addr01]');
  60.                 return false;
  61.             });
  62.             $('.guarantor_company_postal_code').click(function(event) {
  63.                 AjaxZip3.zip2addr('loan[guarantor_company_postal_code]', '', 'loan[guarantor_company_address_pref]', 'loan[guarantor_company_address_addr01]');
  64.                 return false;
  65.             });
  66.         })
  67.     </script>
  68.     <script>
  69.         $(document).ready(function() {
  70.             $('form, input, select').attr('autocomplete', "off");
  71.             $('input[name="loan[spouse]"]').change(function() {
  72.                 var selectedValue = $('input[name="loan[spouse]"]:checked').val();
  73.                 if (selectedValue == "有り") {
  74.                     $('select[name="loan[spouse_job]"]').attr('required', 'required');
  75.                 } 
  76.                 else {
  77.                     $('select[name="loan[spouse_job]"]').removeAttr('required');
  78.                     $('select[name="loan[spouse_job]"]').closest('td').find('.error-empty').remove();
  79.                 }
  80.             });
  81.             $('input[name="loan[household_paying]"]').change(function() {
  82.                 var selectedValue = $('input[name="loan[household_paying]"]:checked').val();
  83.                 if (selectedValue == "有り") {
  84.                     $('input[name="loan[household_paying_amount]"]').attr('required', 'required');
  85.                 } 
  86.                 else {
  87.                     $('input[name="loan[household_paying_amount]"]').removeAttr('required');
  88.                     $('input[name="loan[household_paying_amount]"]').closest('td').find('.error-empty').remove();
  89.                 }
  90.             });
  91.             //Chỉ check phần trên hoặc phần dưới của お勤め先・ご収入について
  92.             $('#employed input, #employed select, #employed textarea').change(function(event) {
  93.                 $('#pensioner td').find('.error-empty').remove();
  94.             });
  95.             $('#pensioner input, #pensioner select, #pensioner textarea').change(function(event) {
  96.                 $('#employed td').find('.error-empty').remove();
  97.             });
  98.             var step_number = Number($('.ec-form-inquiry__group__step__item.active').data('step'));
  99.             $('#btn-back').click(function(event) {
  100.                 $("span.error-empty").remove();
  101.                 if (step_number > 1) {
  102.                     step_number--;                    
  103.                     stepActive(step_number);
  104.                 }
  105.                 $('body,html').animate({
  106.                     scrollTop: 250
  107.                 }, 300, 'swing');
  108.             });
  109.             $("#btn-confirm").click(function(event) {
  110.                 $("span.error-empty").remove();
  111.                 var employed_has_error = false;
  112.                 var pensioner_has_error = false;
  113.                 var has_error = false;
  114.                 if (step_number == 2) {
  115.                     // お勤め先・ご収入について chi check 1 phan
  116.                     $('#employed select[required], #employed input[required], #employed textarea[required]').each(function() {
  117.                         var input = $(this);
  118.                         if (input.attr('type') == 'radio' || input.attr('type') == 'checkbox') {
  119.                             var radio_name = input.attr('name');
  120.                             if ($('input[name="' + radio_name + '"]:checked').length == 0) {
  121.                                 employed_has_error = true;
  122.                             }
  123.                         }
  124.                         else if (input.val() == ""){
  125.                             employed_has_error = true;
  126.                         }
  127.                     });
  128.                     $('#pensioner select[required], #pensioner input[required], #pensioner textarea[required]').each(function() {
  129.                         var input = $(this);
  130.                         if (input.attr('type') == 'radio' || input.attr('type') == 'checkbox') {
  131.                             var radio_name = input.attr('name');
  132.                             if ($('input[name="' + radio_name + '"]:checked').length == 0) {
  133.                                 pensioner_has_error = true;
  134.                             }
  135.                         }
  136.                         else if (input.val() == ""){
  137.                             pensioner_has_error = true;
  138.                         }
  139.                     });
  140.                 }
  141.                 if (step_number != 2 || (employed_has_error == true && pensioner_has_error == true)) {
  142.                     $('.step-content.step-' + step_number + ' .table select[required], .step-content.step-' + step_number + ' .table input[required], .step-content.step-' + step_number + ' .table textarea[required]').each(function() {
  143.                         var input = $(this);
  144.                         var input_empty = $("<span>").addClass("error-empty").text("※この項目は必須項目です");                
  145.                         if (input.attr('type') == 'radio' || input.attr('type') == 'checkbox') {
  146.                             var radio_name = input.attr('name');
  147.                             if ($('input[name="' + radio_name + '"]:checked').length == 0) {
  148.                                 input.before(input_empty);
  149.                                 has_error = true;
  150.                             }
  151.                         }
  152.                         else if (input.attr('type') == 'email' && validateEmail(input.val()) === false) {
  153.                             input.before($("<span>").addClass("error-empty").text("※正しくメールアドレスを入力してください"));
  154.                         }
  155.                         else if (input.val() == ""){
  156.                             input.before(input_empty);
  157.                             has_error = true;
  158.                         }
  159.                         else {
  160.                             input_empty.remove();
  161.                         }
  162.                         input.on("change", function() {
  163.                             if (input.attr('type') == 'radio' || input.attr('type') == 'checkbox') {
  164.                                 input.closest('td').find('.error-empty').remove();
  165.                             }
  166.                             else {
  167.                                 input_empty.remove();
  168.                             }
  169.                         });
  170.                     });
  171.                 }
  172.                 if (has_error) {
  173.                     var position = $(".error-empty").eq(0).offset().top - 250;
  174.                     $('body,html').animate({
  175.                         scrollTop: position
  176.                     }, 300, 'swing');
  177.                     return false;
  178.                 }
  179.                 // chi xu ly tab, khong submit form
  180.                 if (step_number != 4) {
  181.                     step_number++;
  182.                     stepActive(step_number);
  183.                     $('body,html').animate({
  184.                         scrollTop: 250
  185.                     }, 300, 'swing');
  186.                     return false;
  187.                 }
  188.                 if (employed_has_error == false) {
  189.                     $('#pensioner select[required], #pensioner input[required], #pensioner textarea[required]').removeAttr('required');
  190.                 }
  191.                 if (pensioner_has_error == false) {
  192.                     $('#employed select[required], #employed input[required], #employed textarea[required]').removeAttr('required');
  193.                 }
  194.             });
  195.         });
  196.         /**
  197.          * Xu ly Tab
  198.          */
  199.         function stepActive(step_number) {
  200.             $('.ec-form-inquiry__group__step__item').removeClass('active');
  201.             $('.step-content').removeClass('active');
  202.             $('.ec-form-inquiry__group__step__item.step-' + step_number).addClass('active');
  203.             $('.step-content.step-' + step_number).addClass('active');
  204.             if (step_number > 1) {
  205.                 $('#btn-back').addClass('active');
  206.             }
  207.             else {
  208.                 $('#btn-back').removeClass('active');
  209.             }
  210.         }
  211.         /**
  212.          * Check mail
  213.          */
  214.         function validateEmail(email) {
  215.             var re = /\S+@\S+\.\S+/;
  216.             return re.test(email);
  217.         }
  218.     </script>
  219.     <script src="https://cdnjs.cloudflare.com/ajax/libs/numeral.js/2.0.6/numeral.min.js"></script>
  220.     <script>
  221.         var CountTatami = {
  222.             countType1: 0, //6-14
  223.             countType2: 0, //16-20
  224.             countType3: 0, //23-
  225.         };
  226.         var CountTatamiAll = {
  227.             countType1: 0, //6-14
  228.             countType2: 0, //16-20
  229.             countType3: 0, //23-
  230.         };
  231.         var CountTatamiLoan = {
  232.             countType1: 0, //6-14
  233.             countType2: 0, //16-20
  234.             countType3: 0, //23-
  235.         };
  236.         $(function() {
  237.             //khi load page, nếu không chọn thì check tất cả product
  238.             if ($('.construction_air:checked').length <= 0) {
  239.                 $('.construction_air').prop('checked', true);
  240.             }
  241.             SetRequiredContent();
  242.             SetRequiredContent1();
  243.             SetRequiredContent2("construction_type_07", "交換", ".construction_type_07_02_v1");
  244.             SetRequiredContent2("construction_type_07", "新設工事に加えて移設工事も希望", ".construction_type_07_02_v2");
  245.             SetRequiredContent2("construction_type_07_02_v2", "分解洗浄を希望する", ".construction_type_07_03_v1");
  246.             SetRequiredContent2("construction_type_07_02_v2", "分解洗浄を希望しない", ".construction_type_07_03_v2");
  247.             SetRequiredContent2("construction_type_07_03_v1", "移設6~14畳(取外し含む)", ".construction_type_07_04_v1");
  248.             SetRequiredContent2("construction_type_07_03_v1", "移設16~20畳(取外し含む)", ".construction_type_07_04_v2");
  249.             SetRequiredContent2("construction_type_07_03_v1", "移設23畳~(取外し含む)", ".construction_type_07_04_v3");
  250.             SetRequiredContent2("electrical_outlet_07", "あり", ".electrical_outlet_07_02");
  251.             SetRequiredContent2("room_size_07", "なし", ".room_size_07_02");
  252.             SetRequiredContent2("room_size_07_02", "建物が2009年6月以降に着工した証明書あり", ".room_size_07_03_v1");
  253.             SetRequiredContent2("room_size_07_02", "建物が2009年6月以降に着工した証明書なし", ".room_size_07_03_v2");
  254.             SetRequiredContent2("piping_status_07", "隠蔽配管", ".piping_status_07_02");
  255.             SetRequiredContent2("outdoor_cover", "必要", ".outdoor_cover_02");
  256.             SetRequiredContent2("setting_install_method", "新規取付", ".construction_method_07_v1");
  257.             SetRequiredContent2("setting_install_method", "交換", ".construction_method_07_v2");
  258.             
  259.             $("input[name='loan[desired_construction_work]']").change(function() {
  260.                 SetRequiredContent();
  261.             });
  262.             $("input[name='loan[desired_construction_work_02]']").change(function() {
  263.                 SetRequiredContent1();
  264.                 CalcConstructionNumber();
  265.             });
  266.             $("input[name='loan[construction_type_07]']").change(function() {
  267.                 SetRequiredContent2("construction_type_07", "交換", ".construction_type_07_02_v1");
  268.                 SetRequiredContent2("construction_type_07", "新設工事に加えて移設工事も希望", ".construction_type_07_02_v2");
  269.                 SetRequiredContent2("construction_type_07_02_v2", "分解洗浄を希望する", ".construction_type_07_03_v1");
  270.                 SetRequiredContent2("construction_type_07_02_v2", "分解洗浄を希望しない", ".construction_type_07_03_v2");
  271.                 SetRequiredContent2("construction_type_07_03_v1", "移設6~14畳(取外し含む)", ".construction_type_07_04_v1");
  272.                 SetRequiredContent2("construction_type_07_03_v1", "移設16~20畳(取外し含む)", ".construction_type_07_04_v2");
  273.                 SetRequiredContent2("construction_type_07_03_v1", "移設23畳~(取外し含む)", ".construction_type_07_04_v3");
  274.             });
  275.             $("input[name='loan[construction_type_07_02_v2]']").change(function() {
  276.                 SetRequiredContent2("construction_type_07_02_v2", "分解洗浄を希望する", ".construction_type_07_03_v1");
  277.                 SetRequiredContent2("construction_type_07_02_v2", "分解洗浄を希望しない", ".construction_type_07_03_v2");
  278.                 SetRequiredContent2("construction_type_07_03_v1", "移設6~14畳(取外し含む)", ".construction_type_07_04_v1");
  279.                 SetRequiredContent2("construction_type_07_03_v1", "移設16~20畳(取外し含む)", ".construction_type_07_04_v2");
  280.                 SetRequiredContent2("construction_type_07_03_v1", "移設23畳~(取外し含む)", ".construction_type_07_04_v3");
  281.             });
  282.             $("input[name='loan[construction_type_07_03_v1]']").change(function() {
  283.                 SetRequiredContent2("construction_type_07_03_v1", "移設6~14畳(取外し含む)", ".construction_type_07_04_v1");
  284.                 SetRequiredContent2("construction_type_07_03_v1", "移設16~20畳(取外し含む)", ".construction_type_07_04_v2");
  285.                 SetRequiredContent2("construction_type_07_03_v1", "移設23畳~(取外し含む)", ".construction_type_07_04_v3");
  286.             });
  287.             $("input[name='loan[electrical_outlet_07]']").change(function() {
  288.                 SetRequiredContent2("electrical_outlet_07", "あり", ".electrical_outlet_07_02");
  289.             });
  290.             $("input[name='loan[room_size_07]']").change(function() {
  291.                 SetRequiredContent2("room_size_07", "なし", ".room_size_07_02"); 
  292.                 SetRequiredContent2("room_size_07_02", "建物が2009年6月以降に着工した証明書あり", ".room_size_07_03_v1");
  293.                 SetRequiredContent2("room_size_07_02", "建物が2009年6月以降に着工した証明書なし", ".room_size_07_03_v2");
  294.             });
  295.             $("input[name='loan[room_size_07_02]']").change(function() {
  296.                 SetRequiredContent2("room_size_07_02", "建物が2009年6月以降に着工した証明書あり", ".room_size_07_03_v1");
  297.                 SetRequiredContent2("room_size_07_02", "建物が2009年6月以降に着工した証明書なし", ".room_size_07_03_v2");
  298.             });
  299.             $("input[name='loan[piping_status_07]']").change(function() {
  300.                 SetRequiredContent2("piping_status_07", "隠蔽配管", ".piping_status_07_02");
  301.             });
  302.             $("input[name='loan[outdoor_cover]']").change(function() {
  303.                 SetRequiredContent2("outdoor_cover", "必要", ".outdoor_cover_02");
  304.             });
  305.             $("input[name='loan[setting_install_method]']").change(function() {
  306.                 SetRequiredContent2("setting_install_method", "新規取付", ".construction_method_07_v1");
  307.                 SetRequiredContent2("setting_install_method", "交換", ".construction_method_07_v2");
  308.             });
  309.             CalcConstructionNumber();
  310.             $('.construction_air').on('change', function() {
  311.                 if ($('.construction_air:checked').length > 0) {
  312.                     $('.construction_air').removeAttr('required');
  313.                 }
  314.                 else {
  315.                     $('.construction_air').attr('required', 'required');
  316.                 }
  317.                 CalcConstructionNumber();
  318.                 CalcPrice();
  319.             });
  320.             
  321.             CalcPrice();
  322.             $('input[type="radio"]').on('change', function() {
  323.                 CalcPrice();
  324.             });
  325.         });
  326.         function SetRequiredContent() {
  327.             $("input[name='loan[desired_construction_work]'][value='エアコン本体と設置工事をご希望の方']").prop('checked', true);
  328.             {% if (checkCategory == 1) %}
  329.                 // Trường hợp loan thì mặc định 最終金額算出
  330.                 $(".ec-form-inquiry__group .table .list-item .item.active>table:first-child()").css('display', 'none');
  331.                 $("input[name='loan[desired_construction_work_02]'][value='最終金額算出']").prop('checked', true);
  332.             {% endif %}
  333.             
  334.             var selectedValue = $("input[name='loan[desired_construction_work]']:checked").val();
  335.             if (selectedValue === "エアコン本体と設置工事をご希望の方") {
  336.                 $("#tableUnderTop").css("display", "table");
  337.                 $("#tableUnderTop input, #tableThree input").each(function(index, el) {
  338.                     if ($(this).attr('type') != 'hidden') {
  339.                         $(this).attr('required', 'required');
  340.                     }
  341.                 });
  342.                 $("#tableThree").css("display", "none");
  343.                 $("#tableThree input").each(function(index, el) {
  344.                     $(this).prop('checked', false).removeAttr('required');
  345.                 });
  346.             } 
  347.             else {
  348.                 $("#tableUnderTop").css("display", "none");
  349.                 $("#tableSecond").css("display", "none");
  350.                 $("#tableThree").css("display", "none");
  351.                 $("#tableUnderTop input, #tableSecond input, #tableThree input").each(function(index, el) {
  352.                     $(this).prop('checked', false).removeAttr('required');
  353.                 });
  354.             }
  355.             SetUnrequired();
  356.         }
  357.         function SetRequiredContent1() {
  358.             var selectedValue = $("input[name='loan[desired_construction_work_02]']:checked").val();
  359.             if (selectedValue === "最終金額算出") {
  360.                 $("#tableThree").css("display", "none");
  361.                 $("#tableThree input").each(function(index, el) {
  362.                     $(this).prop('checked', false).removeAttr('required');
  363.                 });
  364.                 $("#tableSecond").css("display", "table");
  365.                 $("#tableSecond .content-1 input").each(function(index, el) {
  366.                     if ($(this).attr('name') != 'construction_date_2' && $(this).attr('name') != 'construction_date_3' &&  $(this).attr('type') != 'hidden') {
  367.                         $(this).attr('required', 'required');
  368.                     }
  369.                 });
  370.             } 
  371.             else if (selectedValue === "新居等への引越しのため設置場所の詳細確認不可") {
  372.                 $("#tableSecond").css("display", "none");
  373.                 $("#tableSecond .content-1 input").each(function(index, el) {
  374.                     $(this).prop('checked', false).removeAttr('required');
  375.                 });
  376.                 $("#tableThree").css("display", "table");
  377.                 $("#tableThree input").each(function(index, el) {
  378.                     if ($(this).attr('type') != 'hidden') {
  379.                         $(this).attr('required', 'required');
  380.                     }
  381.                 });
  382.             }
  383.             else {
  384.                 $("#tableSecond").css("display", "none");
  385.                 $("#tableThree").css("display", "none");
  386.                 $("#tableSecond .content-1 input, #tableThree input").each(function(index, el) {
  387.                     $(this).prop('checked', false).removeAttr('required');
  388.                 });
  389.             }
  390.             SetUnrequired();
  391.         }
  392.         function SetRequiredContent2(nameInput, condition , classCheck) {
  393.             var selectedValue = $("input[name='loan["+ nameInput +"]']:checked").val();
  394.             if (selectedValue === condition) {
  395.                 $(classCheck).css("display", "flex");
  396.                 $("#tableSecond " + classCheck + " input").each(function(index, el) {
  397.                     if ($(this).attr('type') != 'hidden') {
  398.                         $(this).attr('required', 'required');
  399.                     }
  400.                 });
  401.             } else {
  402.                 $(classCheck).css("display", "none");
  403.                 $("#tableSecond " + classCheck + " input").each(function(index, el) {
  404.                     $(this).prop('checked', false).removeAttr('required');
  405.                 });
  406.             }
  407.             SetUnrequired();
  408.         }
  409.         function SetUnrequired() {
  410.             $('input[name="loan[address][addr02]"]').removeAttr('required');
  411.             $('input[name="loan[tel_number_type]"]').removeAttr('required');
  412.             $('input[name="loan[tel_number]"]').removeAttr('required');
  413.             $('input[name="loan[electrical_outlet_07_02]"]').removeAttr('required');
  414.             $('input[name="loan[outlet_earth]"]').removeAttr('required');
  415.             $('input[name="loan[image_3]"]').removeAttr('required');
  416.             $('input[name="loan[floor]"]').removeAttr('required');
  417.             $('.custom-file img').each(function(index, el) {
  418.                 if ($(this).attr('src') != "") {
  419.                     $(this).closest('.custom-file').find('input').removeAttr('required');
  420.                 }
  421.             });
  422.         }
  423.         /**
  424.          * Tính giá tiền
  425.          */
  426.         function CalcPrice() {
  427.             var product_total_price = Number($('#product_total_price').val());
  428.             $('#construction_base_price_1').val(0);
  429.             $('#construction_base_price_2').val(0);
  430.             $('#construction_base_price_3').val(0);
  431.             $('#construction_total_price').val(0);
  432.             $('#construction_discount').val(0);
  433.             $('#total-price').text(numeral(product_total_price).format('0,0') + "円");
  434.             // $('.product_price').text(numeral(product_total_price).format('0,0'));
  435.             $('.product_base_price').text(numeral(product_total_price + 0).format('0,0'));
  436.             $('.base_price').text(0);
  437.             $('.add_price').text(0);
  438.         }
  439.         /**
  440.          * Đếm số lượng cần thi công
  441.          */
  442.         function CalcConstructionNumber() {            
  443.             CountTatami.countType1 = 0;
  444.             CountTatami.countType2 = 0;
  445.             CountTatami.countType3 = 0;
  446.             CountTatamiAll.countType1 = 0;
  447.             CountTatamiAll.countType2 = 0;
  448.             CountTatamiAll.countType3 = 0;
  449.             CountTatamiLoan.countType1 = 0;
  450.             CountTatamiLoan.countType2 = 0;
  451.             CountTatamiLoan.countType3 = 0;
  452.             var construction_air = []
  453.             var product_total_price = 0;
  454.             $('.construction_air').each(function(index, el) {
  455.                 let quantity = $(this).data('quantity');
  456.                 let price = $(this).data('price');
  457.                 let tatami = $(this).data('tatami');
  458.                 let loan = $(this).data('loan');
  459.                 if (tatami >= 6 && tatami <= 14) {
  460.                     CountTatamiAll.countType1 += quantity;
  461.                     if (loan == 1) {
  462.                         CountTatamiLoan.countType1 += quantity;
  463.                     }
  464.                 } else if (tatami >= 16 && tatami <= 20) {
  465.                     CountTatamiAll.countType2 += quantity;
  466.                     if (loan == 1) {
  467.                         CountTatamiLoan.countType2 += quantity;
  468.                     }
  469.                 } else if (tatami >= 23) {
  470.                     CountTatamiAll.countType3 += quantity;
  471.                     if (loan == 1) {
  472.                         CountTatamiLoan.countType3 += quantity;
  473.                     }
  474.                 }
  475.                 if ($(this).is(':checked')) {
  476.                     product_total_price += price;
  477.                     if (tatami >= 6 && tatami <= 14) {
  478.                         CountTatami.countType1 += quantity;
  479.                     } else if (tatami >= 16 && tatami <= 20) {
  480.                         CountTatami.countType2 += quantity;
  481.                         
  482.                     } else if (tatami >= 23) {
  483.                         CountTatami.countType3 += quantity;
  484.                     }
  485.                     construction_air.push($(this).val());
  486.                 }                
  487.             });
  488.             $('#loan_construction_air').val(construction_air.toString());
  489.             $('#loan_number_install').val(CountTatami.countType1 + CountTatami.countType2 + CountTatami.countType3);
  490.             $('#product_total_price').val(product_total_price);
  491.         }
  492.         $(document).ready(function(){
  493.             $(".custom-file input[type='file']").change(function(){
  494.                 var filePath = $(this).val();
  495.                 var fileName = filePath.split('\\').pop();
  496.                 var label = $(this).parent().find("label");
  497.                 label.text(fileName);
  498.                 var hiddenInputId = $(this).attr("id") + "-filename";
  499.                 $("#" + hiddenInputId).val(fileName);
  500.                 $(this).parent().find("label").css("color", "rgba(0, 0, 0, 1)");
  501.             });
  502.         });
  503.     </script>
  504. {% endblock javascript %}
  505. {% block main %}
  506.     <div class="ec-inquiry-page">
  507.         <div class="ec-banner">
  508.             <div class="ec-banner__inner">
  509.                 <div class="inner">
  510.                     <h2>
  511.                         エアココ自社ローン審査フォーム
  512.                     </h2>
  513.                 </div>
  514.             </div>
  515.             <div class="ec-breadcrumb">
  516.                 <ul class="ec-breadcrumb__menu">
  517.                     <li class="ec-breadcrumb__item"><a href="{{ url('homepage') }}">TOP</a></li>
  518.                     <li class="ec-breadcrumb__item"><span>></span></li>
  519.                     <li class="ec-breadcrumb__item"><p>エアココ自社ローン審査フォーム</p></li>
  520.                 </ul>
  521.             </div>
  522.         </div>
  523.         <div class="ec-form-inquiry-main">
  524.             <div class="ec-form-inquiry__inner">
  525.                 <div class="inner">
  526.                     <div class="ec-form-inquiry__group">
  527.                         <div class="ec-form-inquiry__group__step">
  528.                             <ul class="ec-form-inquiry__group__step__items">
  529.                                 <li class="ec-form-inquiry__group__step__item step-1 active" data-step="1">
  530.                                     <span>STEP1</span>
  531.                                     <span>ご本人様について</span>
  532.                                 </li>
  533.                                 <li class="ec-form-inquiry__group__step__item step-2" data-step="2">
  534.                                     <span>STEP2</span>
  535.                                     <span>お勤め先・ご収入</span>
  536.                                 </li>
  537.                                 <li class="ec-form-inquiry__group__step__item step-3" data-step="3">
  538.                                     <span>STEP3</span>
  539.                                     <span>連帯保証人の方</span>
  540.                                 </li>
  541.                                 <li class="ec-form-inquiry__group__step__item step-4" data-step="4">
  542.                                     <span>STEP4</span>
  543.                                     <span>工事内容の最終確認</span>
  544.                                 </li>
  545.                                 <li class="ec-form-inquiry__group__step__item step-5" data-step="5">
  546.                                     <span>STEP5</span>
  547.                                     <span>ご確認</span>
  548.                                 </li>
  549.                                 <li class="ec-form-inquiry__group__step__item step-6" data-step="6">
  550.                                     <span>STEP6</span>
  551.                                     <span>完了</span>
  552.                                 </li>
  553.                             </ul>
  554.                         </div>
  555.                         <form id="loan_examination_form" method="post" action="{{ url('loan_examination') }}" class="h-adr" enctype="multipart/form-data">
  556.                             <span class="p-country-name" style="display:none;">Japan</span>
  557.                             {{ form_widget(form._token) }}
  558.                             <div class="step-content step-1 active">
  559.                                 <div class="step-content__title">ご本人様について</div>
  560.                                 <div class="table">
  561.                                     {# <p class="text top">必須項目 <span>※</span></p> #}
  562.                                     <div class="list-item">
  563.                                         <div class="item">
  564.                                             <table>
  565.                                                 <tr>
  566.                                                     <td><p class="required">お名前</p></td>
  567.                                                     <td>
  568.                                                         <div class="fill">
  569.                                                             <label>
  570.                                                                 姓
  571.                                                                 {{ form_widget(form.name.name01, {'attr': { 'placeholder': '姓' }}) }}
  572.                                                             </label>
  573.                                                         </div>
  574.                                                         <div class="fill">
  575.                                                             <label>
  576.                                                                 名
  577.                                                                 {{ form_widget(form.name.name02, {'attr': { 'placeholder': '名' }}) }}
  578.                                                             </label>
  579.                                                         </div>
  580.                                                         {{ form_errors(form.name.name01) }}
  581.                                                         {{ form_errors(form.name.name02) }}
  582.                                                     </td>
  583.                                                 </tr>
  584.                                                 <tr>
  585.                                                     <td><p class="required">フリガナ</p></td>
  586.                                                     <td>
  587.                                                         <div class="fill">
  588.                                                             <label>
  589.                                                                 セイ
  590.                                                                 {{ form_widget(form.kana.kana01, {'attr': { 'placeholder': 'セイ' }}) }}
  591.                                                             </label>
  592.                                                         </div>
  593.                                                         <div class="fill">
  594.                                                             <label>
  595.                                                                 メイ
  596.                                                                 {{ form_widget(form.kana.kana02, {'attr': { 'placeholder': 'メイ' }}) }}
  597.                                                             </label>
  598.                                                         </div>
  599.                                                         {{ form_errors(form.kana.kana01) }}
  600.                                                         {{ form_errors(form.kana.kana02) }}
  601.                                                     </td>
  602.                                                 </tr>
  603.                                                 <tr>
  604.                                                     <td><p class="required">性別</p></td>
  605.                                                     <td>
  606.                                                         <div class="fill horizontal">
  607.                                                             {% for key,val in form.sex.vars.choices %}
  608.                                                                 <label class="form-check">
  609.                                                                     <input type="radio" name="{{ form.sex.vars.full_name }}" value="{{ val.value }}" {% if form.sex.vars.data == val.value %}checked{% endif %} required="required" />
  610.                                                                     {{ val.label | trans }} 
  611.                                                                 </label>
  612.                                                             {% endfor %}                    
  613.                                                         </div>
  614.                                                         {{ form_errors(form.sex) }}
  615.                                                     </td>
  616.                                                 </tr>
  617.                                                 <tr>
  618.                                                     <td><p class="required">生年月日</p></td>
  619.                                                     <td>
  620.                                                         <div class="fill v2">
  621.                                                             <label class="group_select">
  622.                                                                 <div class="select vip">
  623.                                                                     {{ form_widget(form.birth.year) }}<span>年</span>
  624.                                                                 </div>
  625.                                                                 <div class="select vip">
  626.                                                                     {{ form_widget(form.birth.month) }}<span>月</span>
  627.                                                                 </div>
  628.                                                                 <div class="select vip">
  629.                                                                     {{ form_widget(form.birth.day) }}<span>日</span>
  630.                                                                 </div>
  631.                                                             </label>
  632.                                                         </div>
  633.                                                         {{ form_errors(form.birth) }}
  634.                                                     </td>
  635.                                                 </tr>
  636.                                                 <tr>
  637.                                                     <td><p class="required">住所</p></td>
  638.                                                     <td>
  639.                                                         <div class="fill v3">
  640.                                                             <label class="label v2">
  641.                                                                 郵便番号
  642.                                                                 {{ form_widget(form.postal_code) }}
  643.                                                                 <a class="btn-post postal_code" href="https://www.post.japanpost.jp/zipcode/" target="_blank"><span>{{ '住所検索'|trans }}</span></a>
  644.                                                             </label>
  645.                                                             {{ form_errors(form.postal_code) }}
  646.                                                             <label class="label v3 address">
  647.                                                                 都道府県
  648.                                                                 <div class="select">
  649.                                                                     {{ form_widget(form.address.pref) }}   
  650.                                                                 </div>                     
  651.                                                             </label>
  652.                                                             {{ form_errors(form.address.pref) }}
  653.                                                             <label class="label v4 address">
  654.                                                                 市区町村・番地 
  655.                                                                 {{ form_widget(form.address.addr01, { 'attr': { 'placeholder': '市区町村名(例:大阪市北区)' }}) }}
  656.                                                             </label>
  657.                                                             {{ form_errors(form.address.addr01) }}
  658.                                                             <label class="label v4 address">
  659.                                                                 マンション・ビル名
  660.                                                                 {{ form_widget(form.address.addr02,  { 'attr': { 'placeholder': '番地・ビル名(例:西梅田1丁目6-8)' }}) }}
  661.                                                             </label>
  662.                                                             {{ form_errors(form.address.addr02) }}
  663.                                                         </div>
  664.                                                     </td>
  665.                                                 </tr>
  666.                                                 <tr>
  667.                                                     <td><p>電話番号(ご自宅)</p></td>
  668.                                                     <td>
  669.                                                         <div class="fill horizontal">
  670.                                                             {% for key,val in form.tel_number_type.vars.choices %}
  671.                                                                 <label class="form-check">
  672.                                                                     <input type="radio" name="{{ form.tel_number_type.vars.full_name }}" value="{{ val.value }}" {% if form.tel_number_type.vars.data == val.value %}checked{% endif %} required="required" />
  673.                                                                     {{ val.label | trans }} 
  674.                                                                 </label>
  675.                                                             {% endfor %}                    
  676.                                                         </div>
  677.                                                         {{ form_errors(form.tel_number_type) }}
  678.                                                         <div class="fill v2">
  679.                                                             <label>
  680.                                                                 {{ form_widget(form.tel_number, {'attr': { 'placeholder': '000-0000-0000' }}) }}
  681.                                                             </label>
  682.                                                         </div>
  683.                                                         {{ form_errors(form.tel_number) }}
  684.                                                     </td>
  685.                                                 </tr>
  686.                                                 <tr>
  687.                                                     <td><p class="required">電話番号(携帯)</p></td>
  688.                                                     <td>
  689.                                                         <div class="fill v2">
  690.                                                             <label>
  691.                                                                 {{ form_widget(form.phone_number, {'attr': { 'placeholder': '000-0000-0000' }}) }}
  692.                                                             </label>
  693.                                                         </div>
  694.                                                         {{ form_errors(form.phone_number) }}
  695.                                                     </td>
  696.                                                 </tr>
  697.                                                 <tr>
  698.                                                     <td><p class="required">メールアドレス</p></td>
  699.                                                     <td>
  700.                                                         <div class="fill v2">
  701.                                                             <label>
  702.                                                                 {{ form_widget(form.email, {'attr': { 'placeholder': 'example@example.com' }}) }}
  703.                                                             </label>
  704.                                                         </div>
  705.                                                         {{ form_errors(form.email) }}          
  706.                                                     </td>
  707.                                                 </tr> 
  708.                                                 <tr>
  709.                                                     <td><p class="required">配偶者</p></td>
  710.                                                     <td>
  711.                                                         <div class="fill horizontal">
  712.                                                             {% for key,val in form.spouse.vars.choices %}
  713.                                                                 <label class="form-check">
  714.                                                                     <input type="radio" name="{{ form.spouse.vars.full_name }}" value="{{ val.value }}" {% if form.spouse.vars.data == val.value %}checked{% endif %} required="required" />
  715.                                                                     {{ val.label | trans }} 
  716.                                                                 </label>
  717.                                                             {% endfor %}                    
  718.                                                         </div>
  719.                                                         {{ form_errors(form.spouse) }}
  720.                                                     </td>
  721.                                                 </tr>
  722.                                                 <tr>
  723.                                                     <td><p class="required">配偶者の職業</p></td>
  724.                                                     <td>
  725.                                                         <div class="fill v4">
  726.                                                             <div class="select">
  727.                                                                 {{ form_widget(form.spouse_job) }}
  728.                                                             </div>
  729.                                                         </div>
  730.                                                         {{ form_errors(form.spouse_job) }}
  731.                                                     </td>
  732.                                                 </tr>
  733.                                                 {# <tr>
  734.                                                     <td><p class="required">世帯主とのご関係</p></td>
  735.                                                     <td>
  736.                                                         <div class="fill horizontal">
  737.                                                             {% for key,val in form.relationship.vars.choices %}
  738.                                                                 <label class="form-check">
  739.                                                                     <input type="radio" name="{{ form.relationship.vars.full_name }}" value="{{ val.value }}" {% if form.relationship.vars.data == val.value %}checked{% endif %} required="required" />
  740.                                                                     {{ val.label | trans }} 
  741.                                                                 </label>
  742.                                                             {% endfor %}
  743.                                                             <label>
  744.                                                                 {{ form_widget(form.relationship_other, {'attr': { 'style': 'width: 120px;' }}) }}
  745.                                                             </label>        
  746.                                                         </div>
  747.                                                         {{ form_errors(form.relationship) }}
  748.                                                         {{ form_errors(form.relationship_other) }}
  749.                                                     </td>
  750.                                                 </tr> #}
  751.                                                 <tr>
  752.                                                     <td><p class="required">世帯人数</p></td>
  753.                                                     <td>
  754.                                                         <div class="fill v2">
  755.                                                             <label>
  756.                                                                 {{ form_widget(form.people_cnt, {'attr': { 'style': 'width: 120px;' }}) }} <span>人</span>
  757.                                                             </label>
  758.                                                         </div>
  759.                                                         {{ form_errors(form.people_cnt) }}
  760.                                                     </td>
  761.                                                 </tr>
  762.                                                 <tr>
  763.                                                     <td><p class="required">住宅ローン/家賃支払い</p></td>
  764.                                                     <td>
  765.                                                         <div class="fill horizontal">
  766.                                                             {% for key,val in form.housing_loan.vars.choices %}
  767.                                                                 <label class="form-check">
  768.                                                                     <input type="radio" name="{{ form.housing_loan.vars.full_name }}" value="{{ val.value }}" {% if form.housing_loan.vars.data == val.value %}checked{% endif %} required="required" />
  769.                                                                     {{ val.label | trans }} 
  770.                                                                 </label>
  771.                                                             {% endfor %}                    
  772.                                                         </div>
  773.                                                         {{ form_errors(form.housing_loan) }}
  774.                                                         <p class="noice">※お申込者ご自身またはお申込者と同一世帯の方の住宅ローン・家賃のお支払有無をご選択ください。「世帯」とは、お申込者と生計を共にする家族のことをいいます(同居・別居を問わず)。</p>
  775.                                                     </td>
  776.                                                 </tr>
  777.                                                 <tr>
  778.                                                     <td><p class="required">住居区分</p></td>
  779.                                                     <td>
  780.                                                         <div class="fill v4">
  781.                                                             <div class="select">
  782.                                                                 {{ form_widget(form.housing_type) }}  
  783.                                                             </div>            
  784.                                                         </div>
  785.                                                         {{ form_errors(form.housing_type) }}
  786.                                                     </td>
  787.                                                 </tr>
  788.                                                 <tr>
  789.                                                     <td><p class="required">居住年数</p></td>
  790.                                                     <td>
  791.                                                         <div class="fill horizontal">
  792.                                                             <label>
  793.                                                                 {{ form_widget(form.residence_year, {'attr': { 'style': 'width: 120px;' }}) }} <span>年</span>
  794.                                                             </label>
  795.                                                         </div>
  796.                                                         <div class="fill horizontal">
  797.                                                             <label>
  798.                                                                 {{ form_widget(form.residence_month, {'attr': { 'style': 'width: 120px;' }}) }} <span>ヶ月</span>
  799.                                                             </label>
  800.                                                         </div>
  801.                                                         {{ form_errors(form.residence_year) }}
  802.                                                         {{ form_errors(form.residence_month) }}
  803.                                                     </td>
  804.                                                 </tr>
  805.                                                 <tr>
  806.                                                     <td><p class="required">職業</p></td>
  807.                                                     <td>
  808.                                                         <div class="fill v4">
  809.                                                             <div class="select">
  810.                                                                 {{ form_widget(form.job) }}
  811.                                                             </div>              
  812.                                                         </div>
  813.                                                         {{ form_errors(form.job) }}
  814.                                                     </td>
  815.                                                 </tr>
  816.                                                 <tr>
  817.                                                     <td><p class="required">世帯主との居住状況</p></td>
  818.                                                     <td>
  819.                                                         <div class="fill horizontal">
  820.                                                             {% for key,val in form.head_of_household.vars.choices %}
  821.                                                                 <label class="form-check">
  822.                                                                     <input type="radio" name="{{ form.head_of_household.vars.full_name }}" value="{{ val.value }}" {% if form.head_of_household.vars.data == val.value %}checked{% endif %} required="required" />
  823.                                                                     {{ val.label | trans }} 
  824.                                                                 </label>
  825.                                                             {% endfor %}                    
  826.                                                         </div>
  827.                                                         {{ form_errors(form.head_of_household) }}
  828.                                                     </td>
  829.                                                 </tr>
  830.                                             </table>
  831.                                         </div>
  832.                                     </div>
  833.                                 </div>
  834.                             </div>
  835.                             <div class="step-content step-2">
  836.                                 <div class="step-content__title">お勤め先・ご収入について</div>
  837.                                 <div class="table" id="employed">
  838.                                     <div class="table__title">
  839.                                         <p class="step-content__subtitle">【有職者の方】パート・アルバイト含む</p>
  840.                                         {# <p class="text top">必須項目 <span>※</span></p> #}
  841.                                     </div>
  842.                                     <div class="list-item">
  843.                                         <div class="item">
  844.                                             <table>
  845.                                                 <tr>
  846.                                                     <td><p class="required">職業</p></td>
  847.                                                     <td>
  848.                                                         <div class="fill v4">
  849.                                                             <div class="select">
  850.                                                                 {{ form_widget(form.employed_job) }}   
  851.                                                             </div>           
  852.                                                         </div>
  853.                                                         {{ form_errors(form.employed_job) }}
  854.                                                     </td>
  855.                                                 </tr>
  856.                                                 <tr>
  857.                                                     <td><p class="required">業種</p></td>
  858.                                                     <td>
  859.                                                         <div class="fill v4">
  860.                                                             <div class="select">
  861.                                                                 {{ form_widget(form.employed_industry) }}   
  862.                                                             </div>           
  863.                                                         </div>
  864.                                                         {{ form_errors(form.employed_industry) }}
  865.                                                     </td>
  866.                                                 </tr>
  867.                                                 <tr>
  868.                                                     <td><p class="required">お勤め先(派遣元)</p></td>
  869.                                                     <td>
  870.                                                         <div class="fill v2">
  871.                                                             <label>
  872.                                                                 {{ form_widget(form.employed_company) }}
  873.                                                             </label>
  874.                                                         </div>
  875.                                                         {{ form_errors(form.employed_company) }}
  876.                                                     </td>
  877.                                                 </tr>
  878.                                                 <tr>
  879.                                                     <td><p class="required">お勤め先フリガナ</p></td>
  880.                                                     <td>
  881.                                                         <div class="fill v2">
  882.                                                             <label>
  883.                                                                 {{ form_widget(form.employed_company_kana) }}
  884.                                                             </label>
  885.                                                         </div>
  886.                                                         {{ form_errors(form.employed_company_kana) }}
  887.                                                     </td>
  888.                                                 </tr>
  889.                                                 <tr>
  890.                                                     <td><p class="required">お勤め先住所</p></td>
  891.                                                     <td>
  892.                                                         <div class="fill v3">
  893.                                                             <label class="label v2">
  894.                                                                 郵便番号
  895.                                                                 {{ form_widget(form.employed_postal_code) }}
  896.                                                                 <a class="btn-post employed_postal_code" href="https://www.post.japanpost.jp/zipcode/" target="_blank"><span>{{ '住所検索'|trans }}</span></a>
  897.                                                             </label>
  898.                                                             {{ form_errors(form.employed_postal_code) }}
  899.                                                             <label class="label v3 address">
  900.                                                                 都道府県
  901.                                                                 <div class="select">
  902.                                                                     {{ form_widget(form.employed_address_pref) }}   
  903.                                                                 </div>                     
  904.                                                             </label>
  905.                                                             {{ form_errors(form.employed_address_pref) }}
  906.                                                             <label class="label v4 address">
  907.                                                                 市区町村・番地 
  908.                                                                 {{ form_widget(form.employed_address_addr01, { 'attr': { 'placeholder': '市区町村名(例:大阪市北区)' }}) }}
  909.                                                             </label>
  910.                                                             {{ form_errors(form.employed_address_addr01) }}
  911.                                                             <label class="label v4 address">
  912.                                                                 マンション・ビル名
  913.                                                                 {{ form_widget(form.employed_address_addr02,  { 'attr': { 'placeholder': '番地・ビル名(例:西梅田1丁目6-8)' }}) }}
  914.                                                             </label>
  915.                                                             {{ form_errors(form.employed_address_addr02) }}
  916.                                                         </div>
  917.                                                     </td>
  918.                                                 </tr>
  919.                                                 <tr>
  920.                                                     <td><p class="required">お勤め先電話番号</p></td>
  921.                                                     <td>
  922.                                                         <div class="fill v2">
  923.                                                             <label>
  924.                                                                 {{ form_widget(form.employed_phone_number, {'attr': { 'placeholder': '000-0000-0000' }}) }}
  925.                                                             </label>
  926.                                                         </div>
  927.                                                         {{ form_errors(form.employed_phone_number) }}
  928.                                                     </td>
  929.                                                 </tr>
  930.                                                 <tr>
  931.                                                     <td><p class="required">勤続年数</p></td>
  932.                                                     <td>
  933.                                                         <div class="fill horizontal">
  934.                                                             <label>
  935.                                                                 {{ form_widget(form.employed_year, {'attr': { 'style': 'width: 120px;' }}) }} <span>年</span>
  936.                                                             </label>
  937.                                                         </div>
  938.                                                         <div class="fill horizontal">
  939.                                                             <label>
  940.                                                                 {{ form_widget(form.employed_month, {'attr': { 'style': 'width: 120px;' }}) }} <span>ヶ月</span>
  941.                                                             </label>
  942.                                                         </div>
  943.                                                         {{ form_errors(form.employed_year) }}
  944.                                                         {{ form_errors(form.employed_month) }}
  945.                                                     </td>
  946.                                                 </tr>
  947.                                                 <tr>
  948.                                                     <td><p class="required">税込年収</p></td>
  949.                                                     <td>
  950.                                                         <div class="fill v2">
  951.                                                             <label>
  952.                                                                 {{ form_widget(form.employed_income, {'attr': { 'style': 'width: 120px;' }}) }} <span>万円</span>
  953.                                                             </label>
  954.                                                         </div>
  955.                                                         {{ form_errors(form.employed_income) }}
  956.                                                     </td>
  957.                                                 </tr>
  958.                                                 <tr>
  959.                                                     <td><p class="required">従業員数</p></td>
  960.                                                     <td>
  961.                                                         <div class="fill v2">
  962.                                                             <div class="select">
  963.                                                                 {{ form_widget(form.employed_cnt) }}
  964.                                                             </div>
  965.                                                         </div>
  966.                                                         {{ form_errors(form.employed_cnt) }}
  967.                                                     </td>
  968.                                                 </tr>
  969.                                                 <tr>
  970.                                                     <td><p class="required">出向先・派遣先電話番号</p></td>
  971.                                                     <td>
  972.                                                         <div class="fill v2">
  973.                                                             <label>
  974.                                                                 {{ form_widget(form.employed_company_phone_number, {'attr': { 'placeholder': '000-0000-0000' }}) }}
  975.                                                             </label>
  976.                                                         </div>
  977.                                                         {{ form_errors(form.employed_company_phone_number) }}
  978.                                                     </td>
  979.                                                 </tr>
  980.                                             </table>
  981.                                         </div>
  982.                                     </div>
  983.                                 </div>
  984.                                 <div class="table" id="pensioner">
  985.                                     <div class="table__title">
  986.                                         <p class="step-content__subtitle">【主婦・年金受給者の方】</p>
  987.                                         {# <p class="text top">必須項目 <span>※</span></p> #}
  988.                                     </div>
  989.                                     <div class="list-item">
  990.                                         <div class="item">
  991.                                             <table>
  992.                                                 <tr>
  993.                                                     <td><p class="required">世帯主お名前</p></td>
  994.                                                     <td>
  995.                                                         <div class="fill">
  996.                                                             <label>
  997.                                                                 姓
  998.                                                                 {{ form_widget(form.pensioner_name.pensioner_name01, {'attr': { 'placeholder': '姓' }}) }}
  999.                                                             </label>
  1000.                                                         </div>
  1001.                                                         <div class="fill">
  1002.                                                             <label>
  1003.                                                                 名
  1004.                                                                 {{ form_widget(form.pensioner_name.pensioner_name02, {'attr': { 'placeholder': '名' }}) }}
  1005.                                                             </label>
  1006.                                                         </div>
  1007.                                                         {{ form_errors(form.pensioner_name.pensioner_name01) }}
  1008.                                                         {{ form_errors(form.pensioner_name.pensioner_name02) }}
  1009.                                                     </td>
  1010.                                                 </tr>
  1011.                                                 <tr>
  1012.                                                     <td><p class="required">フリガナ</p></td>
  1013.                                                     <td>
  1014.                                                         <div class="fill">
  1015.                                                             <label>
  1016.                                                                 セイ
  1017.                                                                 {{ form_widget(form.pensioner_kana.pensioner_kana01, {'attr': { 'placeholder': 'セイ' }}) }}
  1018.                                                             </label>
  1019.                                                         </div>
  1020.                                                         <div class="fill">
  1021.                                                             <label>
  1022.                                                                 メイ
  1023.                                                                 {{ form_widget(form.pensioner_kana.pensioner_kana02, {'attr': { 'placeholder': 'メイ' }}) }}
  1024.                                                             </label>
  1025.                                                         </div>
  1026.                                                         {{ form_errors(form.pensioner_kana.pensioner_kana01) }}
  1027.                                                         {{ form_errors(form.pensioner_kana.pensioner_kana02) }}
  1028.                                                     </td>
  1029.                                                 </tr>
  1030.                                                 <tr>
  1031.                                                     <td><p class="required">世帯主税込年収</p></td>
  1032.                                                     <td>
  1033.                                                         <div class="fill v2">
  1034.                                                             <label>
  1035.                                                                 {{ form_widget(form.pensioner_income, {'attr': { 'style': 'width: 120px;' }}) }} <span>万円</span>
  1036.                                                             </label>
  1037.                                                         </div>
  1038.                                                         {{ form_errors(form.pensioner_income) }}
  1039.                                                     </td>
  1040.                                                 </tr>
  1041.                                                 <tr>
  1042.                                                     <td><p class="required">世帯主のお支払中の<br>クレジット返済額</p></td>
  1043.                                                     <td>
  1044.                                                         <div>
  1045.                                                             <div class="fill horizontal">
  1046.                                                                 {% for key,val in form.household_paying.vars.choices %}
  1047.                                                                     <label class="form-check">
  1048.                                                                         <input type="radio" name="{{ form.household_paying.vars.full_name }}" value="{{ val.value }}" {% if form.household_paying.vars.data == val.value %}checked{% endif %} required="required" />
  1049.                                                                         {{ val.label | trans }} 
  1050.                                                                     </label>
  1051.                                                                 {% endfor %}                    
  1052.                                                             </div>
  1053.                                                             {{ form_errors(form.household_paying) }}
  1054.                                                             <div class="fill horizontal">
  1055.                                                                 <div style="margin-right: 2rem;">
  1056.                                                                     <p>有りとご回答された方 毎月の支払額</p>
  1057.                                                                     <p class="noice">※住宅ローン・無担保ローンを除く</p>
  1058.                                                                 </div>
  1059.                                                                 <label>
  1060.                                                                     {{ form_widget(form.household_paying_amount, {'attr': { 'style': 'width: 120px;' }}) }} <span>万円</span>
  1061.                                                                 </label>
  1062.                                                             </div>
  1063.                                                             {{ form_errors(form.household_paying_amount) }}
  1064.                                                         </div>
  1065.                                                     </td>
  1066.                                                 </tr>
  1067.                                                 <tr>
  1068.                                                     <td><p class="required">年金の種類</p></td>
  1069.                                                     <td>
  1070.                                                         <div class="fill horizontal">
  1071.                                                             {{ form_widget(form.pensioner_type) }}
  1072.                                                             <label>
  1073.                                                                 {{ form_widget(form.pensioner_type_other, {'attr': { 'style': 'width: 120px;' }}) }}
  1074.                                                             </label>
  1075.                                                         </div>
  1076.                                                         {{ form_errors(form.pensioner_type) }}
  1077.                                                         {{ form_errors(form.pensioner_type_other) }}
  1078.                                                     </td>
  1079.                                                 </tr>
  1080.                                                 <tr>
  1081.                                                     <td><p class="required">年金以外の収入</p></td>
  1082.                                                     <td>
  1083.                                                         <div class="fill horizontal">
  1084.                                                             {% for key,val in form.pensioner_income_other.vars.choices %}
  1085.                                                                 <label class="form-check">
  1086.                                                                     <input type="radio" name="{{ form.pensioner_income_other.vars.full_name }}" value="{{ val.value }}" {% if form.pensioner_income_other.vars.data == val.value %}checked{% endif %} required="required" />
  1087.                                                                     {{ val.label | trans }} 
  1088.                                                                 </label>
  1089.                                                             {% endfor %}                    
  1090.                                                         </div>
  1091.                                                         {{ form_errors(form.pensioner_income_other) }}
  1092.                                                     </td>
  1093.                                                 </tr>
  1094.                                                 <tr>
  1095.                                                     <td><p class="required">今回のお支払い</p></td>
  1096.                                                     <td>
  1097.                                                         <div class="fill horizontal">
  1098.                                                             {{ form_widget(form.pensioner_payment) }}
  1099.                                                             <label>
  1100.                                                                 {{ form_widget(form.pensioner_payment_other, {'attr': { 'style': 'width: 120px;' }}) }}
  1101.                                                             </label>                    
  1102.                                                         </div>
  1103.                                                         {{ form_errors(form.pensioner_payment) }}
  1104.                                                         {{ form_errors(form.pensioner_payment_other) }}
  1105.                                                     </td>
  1106.                                                 </tr>
  1107.                                                 <tr>
  1108.                                                     <td><p class="required">お勤め先電話番号</p></td>
  1109.                                                     <td>
  1110.                                                         <div class="fill v2">
  1111.                                                             <label>
  1112.                                                                 {{ form_widget(form.pensioner_company_phone_number, {'attr': { 'placeholder': '000-0000-0000' }}) }}
  1113.                                                             </label>
  1114.                                                         </div>
  1115.                                                         {{ form_errors(form.pensioner_company_phone_number) }}
  1116.                                                     </td>
  1117.                                                 </tr>
  1118.                                                 <tr>
  1119.                                                     <td><p class="required">年金受給者の税込年収</p></td>
  1120.                                                     <td>
  1121.                                                         <div class="fill v2">
  1122.                                                             <label>
  1123.                                                                 {{ form_widget(form.pensioner_income2, {'attr': { 'style': 'width: 120px;' }}) }} <span>万円</span>
  1124.                                                             </label>
  1125.                                                         </div>
  1126.                                                         {{ form_errors(form.pensioner_income2) }}
  1127.                                                     </td>
  1128.                                                 </tr>
  1129.                                                 <tr>
  1130.                                                     <td><p class="required">口座名義人</p></td>
  1131.                                                     <td>
  1132.                                                         <div>
  1133.                                                             <div class="fill horizontal">
  1134.                                                                 {% for key,val in form.pensioner_acount.vars.choices %}
  1135.                                                                     <label class="form-check">
  1136.                                                                         <input type="radio" name="{{ form.pensioner_acount.vars.full_name }}" value="{{ val.value }}" {% if form.pensioner_acount.vars.data == val.value %}checked{% endif %} required="required" />
  1137.                                                                         {{ val.label | trans }} 
  1138.                                                                     </label>
  1139.                                                                 {% endfor %}                    
  1140.                                                             </div>
  1141.                                                             {{ form_errors(form.pensioner_acount) }}
  1142.                                                             <p class="noice">※口座名義人が申込者の場合、連帯保証人が必要となる場合があります。</p>
  1143.                                                         </div>
  1144.                                                     </td>
  1145.                                                 </tr>
  1146.                                             </table>
  1147.                                         </div>
  1148.                                     </div>
  1149.                                 </div>
  1150.                             </div>
  1151.                             <div class="step-content step-3">
  1152.                                 <div class="step-content__title">連帯保証人の方</div>
  1153.                                 <div class="table">
  1154.                                     {# <p class="text top">必須項目 <span>※</span></p> #}
  1155.                                     <div class="list-item">
  1156.                                         <div class="item">
  1157.                                             <table>
  1158.                                                 <tr>
  1159.                                                     <td><p class="required">お名前</p></td>
  1160.                                                     <td>
  1161.                                                         <div class="fill">
  1162.                                                             <label>
  1163.                                                                 姓
  1164.                                                                 {{ form_widget(form.guarantor_name.guarantor_name01, {'attr': { 'placeholder': '姓' }}) }}
  1165.                                                             </label>
  1166.                                                         </div>
  1167.                                                         <div class="fill">
  1168.                                                             <label>
  1169.                                                                 名
  1170.                                                                 {{ form_widget(form.guarantor_name.guarantor_name02, {'attr': { 'placeholder': '名' }}) }}
  1171.                                                             </label>
  1172.                                                         </div>
  1173.                                                         {{ form_errors(form.guarantor_name.guarantor_name01) }}
  1174.                                                         {{ form_errors(form.guarantor_name.guarantor_name02) }}
  1175.                                                     </td>
  1176.                                                 </tr>
  1177.                                                 <tr>
  1178.                                                     <td><p class="required">フリガナ</p></td>
  1179.                                                     <td>
  1180.                                                         <div class="fill">
  1181.                                                             <label>
  1182.                                                                 セイ
  1183.                                                                 {{ form_widget(form.guarantor_kana.guarantor_kana01, {'attr': { 'placeholder': 'セイ' }}) }}
  1184.                                                             </label>
  1185.                                                         </div>
  1186.                                                         <div class="fill">
  1187.                                                             <label>
  1188.                                                                 メイ
  1189.                                                                 {{ form_widget(form.guarantor_kana.guarantor_kana02, {'attr': { 'placeholder': 'メイ' }}) }}
  1190.                                                             </label>
  1191.                                                         </div>
  1192.                                                         {{ form_errors(form.guarantor_kana.guarantor_kana01) }}
  1193.                                                         {{ form_errors(form.guarantor_kana.guarantor_kana02) }}
  1194.                                                     </td>
  1195.                                                 </tr>
  1196.                                                 <tr>
  1197.                                                     <td><p class="required">性別</p></td>
  1198.                                                     <td>
  1199.                                                         <div class="fill horizontal">
  1200.                                                             {% for key,val in form.guarantor_sex.vars.choices %}
  1201.                                                                 <label class="form-check">
  1202.                                                                     <input type="radio" name="{{ form.guarantor_sex.vars.full_name }}" value="{{ val.value }}" {% if form.guarantor_sex.vars.data == val.value %}checked{% endif %} required="required" />
  1203.                                                                     {{ val.label | trans }} 
  1204.                                                                 </label>
  1205.                                                             {% endfor %}                    
  1206.                                                         </div>
  1207.                                                         {{ form_errors(form.guarantor_sex) }}
  1208.                                                     </td>
  1209.                                                 </tr>
  1210.                                                 <tr>
  1211.                                                     <td><p class="required">生年月日</p></td>
  1212.                                                     <td>
  1213.                                                         <div class="fill v2">
  1214.                                                             <label class="group_select">
  1215.                                                                 <div class="select vip">
  1216.                                                                     {{ form_widget(form.guarantor_birth.year) }}<span>年</span>
  1217.                                                                 </div>
  1218.                                                                 <div class="select vip">
  1219.                                                                     {{ form_widget(form.guarantor_birth.month) }}<span>月</span>
  1220.                                                                 </div>
  1221.                                                                 <div class="select vip">
  1222.                                                                     {{ form_widget(form.guarantor_birth.day) }}<span>日</span>
  1223.                                                                 </div>
  1224.                                                             </label>
  1225.                                                         </div>
  1226.                                                         {{ form_errors(form.guarantor_birth) }}
  1227.                                                     </td>
  1228.                                                 </tr>
  1229.                                                 <tr>
  1230.                                                     <td><p class="required">住所</p></td>
  1231.                                                     <td>
  1232.                                                         <div class="fill v3">
  1233.                                                             <label class="label v2">
  1234.                                                                 郵便番号
  1235.                                                                 {{ form_widget(form.guarantor_postal_code) }}
  1236.                                                                 <a class="btn-post guarantor_postal_code" href="https://www.post.japanpost.jp/zipcode/" target="_blank"><span>{{ '住所検索'|trans }}</span></a>
  1237.                                                             </label>
  1238.                                                             {{ form_errors(form.guarantor_postal_code) }}
  1239.                                                             <label class="label v3 address">
  1240.                                                                 都道府県
  1241.                                                                 <div class="select">
  1242.                                                                     {{ form_widget(form.guarantor_address_pref) }}    
  1243.                                                                 </div>                    
  1244.                                                             </label>
  1245.                                                             {{ form_errors(form.guarantor_address_pref) }}
  1246.                                                             <label class="label v4 address">
  1247.                                                                 市区町村・番地 
  1248.                                                                 {{ form_widget(form.guarantor_address_addr01, { 'attr': { 'placeholder': '市区町村名(例:大阪市北区)' }}) }}
  1249.                                                             </label>
  1250.                                                             {{ form_errors(form.guarantor_address_addr01) }}
  1251.                                                             <label class="label v4 address">
  1252.                                                                 マンション・ビル名
  1253.                                                                 {{ form_widget(form.guarantor_address_addr02,  { 'attr': { 'placeholder': '番地・ビル名(例:西梅田1丁目6-8)' }}) }}
  1254.                                                             </label>
  1255.                                                             {{ form_errors(form.guarantor_address_addr02) }}
  1256.                                                         </div>
  1257.                                                     </td>
  1258.                                                 </tr>
  1259.                                                 {# <tr>
  1260.                                                     <td><p class="required">電話番号(ご自宅)</p></td>
  1261.                                                     <td>
  1262.                                                         <div class="fill horizontal">
  1263.                                                             {% for key,val in form.guarantor_tel_number_type.vars.choices %}
  1264.                                                                 <label class="form-check">
  1265.                                                                     <input type="radio" name="{{ form.guarantor_tel_number_type.vars.full_name }}" value="{{ val.value }}" {% if form.guarantor_tel_number_type.vars.data == val.value %}checked{% endif %} required="required" />
  1266.                                                                     {{ val.label | trans }} 
  1267.                                                                 </label>
  1268.                                                             {% endfor %}                    
  1269.                                                         </div>
  1270.                                                         {{ form_errors(form.guarantor_tel_number_type) }}
  1271.                                                         <div class="fill v2">
  1272.                                                             <label>
  1273.                                                                 {{ form_widget(form.guarantor_tel_number, {'attr': { 'placeholder': '000-0000-0000' }}) }}
  1274.                                                             </label>
  1275.                                                         </div>
  1276.                                                         {{ form_errors(form.guarantor_tel_number) }}
  1277.                                                     </td>
  1278.                                                 </tr> #}
  1279.                                                 <tr>
  1280.                                                     <td><p class="required">電話番号</p></td>
  1281.                                                     <td>
  1282.                                                         <div class="fill v2">
  1283.                                                             <label>
  1284.                                                                 {{ form_widget(form.guarantor_phone_number, {'attr': { 'placeholder': '000-0000-0000' }}) }}
  1285.                                                             </label>
  1286.                                                         </div>
  1287.                                                         {{ form_errors(form.guarantor_phone_number) }}
  1288.                                                     </td>
  1289.                                                 </tr>
  1290.                                                 <tr>
  1291.                                                     <td><p class="required">メールアドレス<br>(半角英数字)</p></td>
  1292.                                                     <td>
  1293.                                                         <div class="fill v2">
  1294.                                                             <label>
  1295.                                                                 {{ form_widget(form.guarantor_email, {'attr': { 'placeholder': 'example@example.com' }}) }}
  1296.                                                             </label>
  1297.                                                         </div>
  1298.                                                         {{ form_errors(form.guarantor_email) }}          
  1299.                                                     </td>
  1300.                                                 </tr> 
  1301.                                                 <tr>
  1302.                                                     <td><p class="required">メールアドレス確認用<br>(半角英数字)</p></td>
  1303.                                                     <td>
  1304.                                                         <div class="fill v2">
  1305.                                                             <label>
  1306.                                                                 {{ form_widget(form.guarantor_email_confirm, {'attr': { 'placeholder': 'example@example.com' }}) }}
  1307.                                                             </label>
  1308.                                                         </div>
  1309.                                                         {{ form_errors(form.guarantor_email_confirm) }}
  1310.                                                     </td>
  1311.                                                 </tr> 
  1312.                                                 <tr>
  1313.                                                     <td><p class="required">契約者との続柄</p></td>
  1314.                                                     <td>
  1315.                                                         <div class="fill v2">
  1316.                                                             <label>
  1317.                                                                 {{ form_widget(form.guarantor_relation) }}
  1318.                                                             </label>
  1319.                                                         </div>
  1320.                                                         {{ form_errors(form.guarantor_relation) }}
  1321.                                                     </td>
  1322.                                                 </tr>
  1323.                                                 <tr>
  1324.                                                     <td><p class="required">職業</p></td>
  1325.                                                     <td>
  1326.                                                         <div class="fill v4">
  1327.                                                             <div class="select">
  1328.                                                                 {{ form_widget(form.guarantor_job) }}
  1329.                                                             </div>
  1330.                                                         </div>
  1331.                                                         {{ form_errors(form.guarantor_job) }}
  1332.                                                     </td>
  1333.                                                 </tr>
  1334.                                                 <tr>
  1335.                                                     <td><p class="required">業種</p></td>
  1336.                                                     <td>
  1337.                                                         <div class="fill v4">
  1338.                                                             <div class="select">
  1339.                                                                 {{ form_widget(form.guarantor_industry) }}
  1340.                                                             </div>
  1341.                                                         </div>
  1342.                                                         {{ form_errors(form.guarantor_industry) }}
  1343.                                                     </td>
  1344.                                                 </tr>
  1345.                                                 <tr>
  1346.                                                     <td><p class="required">お勤め先(派遣元)</p></td>
  1347.                                                     <td>
  1348.                                                         <div class="fill v2">
  1349.                                                             <label>
  1350.                                                                 {{ form_widget(form.guarantor_company) }}
  1351.                                                             </label>
  1352.                                                         </div>
  1353.                                                         {{ form_errors(form.guarantor_company) }}
  1354.                                                     </td>
  1355.                                                 </tr>
  1356.                                                 <tr>
  1357.                                                     <td><p class="required">お勤め先フリガナ</p></td>
  1358.                                                     <td>
  1359.                                                         <div class="fill v2">
  1360.                                                             <label>
  1361.                                                                 {{ form_widget(form.guarantor_company_kana) }}
  1362.                                                             </label>
  1363.                                                         </div>
  1364.                                                         {{ form_errors(form.guarantor_company_kana) }}
  1365.                                                     </td>
  1366.                                                 </tr>
  1367.                                                 <tr>
  1368.                                                     <td><p class="required">お勤め先住所</p></td>
  1369.                                                     <td>
  1370.                                                         <div class="fill v3">
  1371.                                                             <label class="label v2">
  1372.                                                                 郵便番号
  1373.                                                                 {{ form_widget(form.guarantor_company_postal_code) }}
  1374.                                                                 <a class="btn-post guarantor_company_postal_code" href="https://www.post.japanpost.jp/zipcode/" target="_blank"><span>{{ '住所検索'|trans }}</span></a>
  1375.                                                             </label>
  1376.                                                             {{ form_errors(form.guarantor_company_postal_code) }}
  1377.                                                             <label class="label v3 address">
  1378.                                                                 都道府県
  1379.                                                                 <div class="select">
  1380.                                                                     {{ form_widget(form.guarantor_company_address_pref) }}
  1381.                                                                 </div>                        
  1382.                                                             </label>
  1383.                                                             {{ form_errors(form.guarantor_company_address_pref) }}
  1384.                                                             <label class="label v4 address">
  1385.                                                                 市区町村・番地 
  1386.                                                                 {{ form_widget(form.guarantor_company_address_addr01, { 'attr': { 'placeholder': '市区町村名(例:大阪市北区)' }}) }}
  1387.                                                             </label>
  1388.                                                             {{ form_errors(form.guarantor_company_address_addr01) }}
  1389.                                                             <label class="label v4 address">
  1390.                                                                 マンション・ビル名
  1391.                                                                 {{ form_widget(form.guarantor_company_address_addr02,  { 'attr': { 'placeholder': '番地・ビル名(例:西梅田1丁目6-8)' }}) }}
  1392.                                                             </label>
  1393.                                                             {{ form_errors(form.guarantor_company_address_addr02) }}
  1394.                                                         </div>
  1395.                                                     </td>
  1396.                                                 </tr>
  1397.                                                 <tr>
  1398.                                                     <td><p class="required">お勤め先電話番号</p></td>
  1399.                                                     <td>
  1400.                                                         <div class="fill v2">
  1401.                                                             <label>
  1402.                                                                 {{ form_widget(form.guarantor_company_phone_number, {'attr': { 'placeholder': '000-0000-0000' }}) }}
  1403.                                                             </label>
  1404.                                                         </div>
  1405.                                                         {{ form_errors(form.guarantor_company_phone_number) }}
  1406.                                                     </td>
  1407.                                                 </tr>
  1408.                                                 <tr>
  1409.                                                     <td><p class="required">勤続年数</p></td>
  1410.                                                     <td>
  1411.                                                         <div class="fill horizontal">
  1412.                                                             <label>
  1413.                                                                 {{ form_widget(form.guarantor_year, {'attr': { 'style': 'width: 120px;' }}) }} <span>年</span>
  1414.                                                             </label>
  1415.                                                         </div>
  1416.                                                         <div class="fill horizontal">
  1417.                                                             <label>
  1418.                                                                 {{ form_widget(form.guarantor_month, {'attr': { 'style': 'width: 120px;' }}) }} <span>ヶ月</span>
  1419.                                                             </label>
  1420.                                                         </div>
  1421.                                                         {{ form_errors(form.guarantor_year) }}
  1422.                                                         {{ form_errors(form.guarantor_month) }}
  1423.                                                     </td>
  1424.                                                 </tr>
  1425.                                                 <tr>
  1426.                                                     <td><p class="required">税込年収</p></td>
  1427.                                                     <td>
  1428.                                                         <div class="fill v2">
  1429.                                                             <label>
  1430.                                                                 {{ form_widget(form.guarantor_income, {'attr': { 'style': 'width: 120px;' }}) }} <span>万円</span>
  1431.                                                             </label>
  1432.                                                         </div>
  1433.                                                         {{ form_errors(form.guarantor_income) }}
  1434.                                                     </td>
  1435.                                                 </tr>
  1436.                                                 <tr>
  1437.                                                     <td><p class="required">従業員数</p></td>
  1438.                                                     <td>
  1439.                                                         <div class="fill v2">
  1440.                                                             <div class="select">
  1441.                                                                 {{ form_widget(form.guarantor_cnt) }}
  1442.                                                             </div>
  1443.                                                         </div>
  1444.                                                         {{ form_errors(form.guarantor_cnt) }}
  1445.                                                     </td>
  1446.                                                 </tr>
  1447.                                                 <tr>
  1448.                                                     <td><p class="required">出向先・派遣先電話番号</p></td>
  1449.                                                     <td>
  1450.                                                         <div class="fill v2">
  1451.                                                             <label>
  1452.                                                                 {{ form_widget(form.guarantor_company_phone_number2, {'attr': { 'placeholder': '000-0000-0000' }}) }}
  1453.                                                             </label>
  1454.                                                         </div>
  1455.                                                         {{ form_errors(form.guarantor_company_phone_number2) }}
  1456.                                                     </td>
  1457.                                                 </tr>
  1458.                                             </table>
  1459.                                         </div>
  1460.                                     </div>
  1461.                                 </div>
  1462.                             </div>
  1463.                             <div class="step-content step-4">
  1464.                                 <div class="step-content__title">工事内容の最終確認</div>
  1465.                                 <div class="table">
  1466.                                     {# <p class="text top">必須項目 <span>※</span></p> #}
  1467.                                     <div class="list-item">
  1468.                                         <div class="item">
  1469.                                             <input type="hidden" id="product_total_price" name="{{ form.product_total_price.vars.full_name }}" value="{{ productTotalPrice }}">
  1470.                                             <div class="table">
  1471.                                                 <div class="list-item">
  1472.                                                     <div class="item active">
  1473.                                                         <table>
  1474.                                                             <tr>
  1475.                                                                 <td><p class="required">希望する工事</p></td>
  1476.                                                                 <td>
  1477.                                                                     <div class="fill v4">
  1478.                                                                         {% for key,val in form.desired_construction_work.vars.choices %}
  1479.                                                                             <div>
  1480.                                                                                 <label class="form-check">
  1481.                                                                                     <input type="radio" name="{{ form.desired_construction_work.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.desired_construction_work.vars.data == val.value %}checked{% endif %} required /> 
  1482.                                                                                     {{ val.label | trans }} 
  1483.                                                                                 </label>
  1484.                                                                             </div>
  1485.                                                                         {% endfor %}
  1486.                                                                     </div>
  1487.                                                                     {{ form_errors(form.desired_construction_work) }}
  1488.                                                                 </td>
  1489.                                                             </tr> 
  1490.                                                         </table>
  1491.                                                         <table id="tableUnderTop" style="padding: 0;">
  1492.                                                             <tr class="desired_construction_work_02">
  1493.                                                                 <td>
  1494.                                                                     <p class="required">工事内容の最終確認</p>
  1495.                                                                     {# <small>2段階目</small> #}
  1496.                                                                 </td>
  1497.                                                                 <td>
  1498.                                                                     <div class="fill v4">
  1499.                                                                         {% for key,val in form.desired_construction_work_02.vars.choices %}
  1500.                                                                             <label class="form-check flex">
  1501.                                                                                 <input type="radio" name="{{ form.desired_construction_work_02.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.desired_construction_work_02.vars.data == val.value %}checked{% endif %} />
  1502.                                                                                 {{ val.label | trans }} 
  1503.                                                                                 {% if val.value == "新居等への引越しのため設置場所の詳細確認不可" %}
  1504.                                                                                     <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.3; flex: 1;">※工事当日に追加費用が発生する場合があります。</p>
  1505.                                                                                 {% endif %}
  1506.                                                                             </label>
  1507.                                                                         {% endfor %}                    
  1508.                                                                     </div>
  1509.                                                                     {{ form_errors(form.desired_construction_work_02) }}
  1510.                                                                 </td>
  1511.                                                             </tr> 
  1512.                                                         </table>
  1513.                                                         <table id="tableSecond" style="padding: 0;">
  1514.                                                             {% if (countProductBasic != 0)  %}
  1515.                                                             <tr class="content-1">
  1516.                                                                 <td><p class="required">特急券の購入</p></td>
  1517.                                                                 <td>
  1518.                                                                     <div class="fill v4">
  1519.                                                                         {% for key,val in form.express_tickets.vars.choices %}
  1520.                                                                             <label class="form-check">
  1521.                                                                                 <input type="radio" name="{{ form.express_tickets.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.express_tickets.vars.data == val.value %}checked{% endif %} />
  1522.                                                                                 {{ val.label | trans }} 
  1523.                                                                             </label>
  1524.                                                                         {% endfor %}     
  1525.                                                                         {{ form_widget(form.express_tickets_price) }}               
  1526.                                                                     </div>
  1527.                                                                     {{ form_errors(form.express_tickets) }}                                                    
  1528.                                                                 </td>
  1529.                                                             </tr> 
  1530.                                                             {% endif %}
  1531.                                                             <tr class="content-1">
  1532.                                                                 <td><p class="required">お住まい</p></td>
  1533.                                                                 <td>
  1534.                                                                     <div class="fill v4">
  1535.                                                                         {% for key,val in form.osumai.vars.choices %}
  1536.                                                                             <label class="form-check">
  1537.                                                                                 <input type="radio" name="{{ form.osumai.vars.full_name }}" data-percent="{{ val.attr['percent'] | default(0) }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.osumai.vars.data == val.value %}checked{% endif %} />
  1538.                                                                                 {{ val.label | trans }} 
  1539.                                                                             </label>
  1540.                                                                         {% endfor %}
  1541.                                                                     </div>
  1542.                                                                     {{ form_errors(form.osumai) }}
  1543.                                                                 </td>
  1544.                                                             </tr>
  1545.                                                             <tr class="content-1">
  1546.                                                                 <td><p class="required">建物の所有</p></td>
  1547.                                                                 <td>
  1548.                                                                     <div class="fill v4">
  1549.                                                                         {% for key,val in form.building_ownership.vars.choices %}
  1550.                                                                             <label class="form-check flex">
  1551.                                                                                 <input type="radio" name="{{ form.building_ownership.vars.full_name }}" data-percent="{{ val.attr['percent'] | default(0) }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.building_ownership.vars.data == val.value %}checked{% endif %} />
  1552.                                                                                 {{ val.label | trans }} 
  1553.                                                                                 {% if val.value == "賃貸" %}
  1554.                                                                                     <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.3; flex: 1;">※工事内容によっては受付出来ない可能性もございます。</p>
  1555.                                                                                 {% endif %}
  1556.                                                                             </label>
  1557.                                                                         {% endfor %}
  1558.                                                                     </div>
  1559.                                                                     {{ form_errors(form.building_ownership) }}
  1560.                                                                 </td>
  1561.                                                             </tr>
  1562.                                                             <tr class="content-1">
  1563.                                                                 <td><p class="required">構造</p></td>
  1564.                                                                 <td>
  1565.                                                                     <div class="fill v4">
  1566.                                                                         {% for key,val in form.structure.vars.choices %}
  1567.                                                                             <label class="form-check">
  1568.                                                                                 <input type="radio" name="{{ form.structure.vars.full_name }}" data-percent="{{ val.attr['percent'] | default(0) }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.structure.vars.data == val.value %}checked{% endif %} />
  1569.                                                                                 {{ val.label | trans }} 
  1570.                                                                             </label>
  1571.                                                                         {% endfor %}
  1572.                                                                     </div>
  1573.                                                                     {{ form_errors(form.structure) }}
  1574.                                                                 </td>
  1575.                                                             </tr>
  1576.                                                             <tr class="content-1">
  1577.                                                                 <td><p class="required">設置台数</p></td>
  1578.                                                                 <td>
  1579.                                                                     <div class="fill v4">
  1580.                                                                         {% for key,val in form.construction_airs.vars.choices %}
  1581.                                                                             {% set has_checked = false %}
  1582.                                                                             {% for key2,val2 in form.construction_airs.vars.data %}
  1583.                                                                                 {% if val.value == val2 %}
  1584.                                                                                     {% set has_checked = true %}
  1585.                                                                                     <label class="form-check">
  1586.                                                                                         <input type="checkbox" 
  1587.                                                                                         name="{{ form.construction_airs.vars.full_name }}" 
  1588.                                                                                         class="construction_air" 
  1589.                                                                                         data-tatami="{{ val.attr['data-tatami'] | default(0) }}" data-quantity="{{ val.attr['data-quantity'] | default(0) }}" 
  1590.                                                                                         data-price="{{ val.attr['data-price'] | default(0) }}" 
  1591.                                                                                         data-loan="{{ val.attr['data-loan'] | default(0) }}" 
  1592.                                                                                         value="{{ val.value }}" checked />
  1593.                                                                                         {{ val.data | trans }} 
  1594.                                                                                     </label>
  1595.                                                                                 {% endif %}
  1596.                                                                             {% endfor %}
  1597.                                                                             {% if has_checked == false %}
  1598.                                                                                 <label class="form-check">
  1599.                                                                                     <input type="checkbox" 
  1600.                                                                                     name="{{ form.construction_airs.vars.full_name }}" 
  1601.                                                                                     class="construction_air" 
  1602.                                                                                     data-tatami="{{ val.attr['data-tatami'] | default(0) }}" 
  1603.                                                                                     data-quantity="{{ val.attr['data-quantity'] | default(0) }}" 
  1604.                                                                                     data-price="{{ val.attr['data-price'] | default(0) }}" 
  1605.                                                                                     data-loan="{{ val.attr['data-loan'] | default(0) }}" 
  1606.                                                                                     value="{{ val.value }}"/>
  1607.                                                                                     {{ val.data | trans }} 
  1608.                                                                                 </label>
  1609.                                                                             {% endif %}
  1610.                                                                         {% endfor %}
  1611.                                                                         {{ form_widget(form.construction_air) }}
  1612.                                                                         {{ form_widget(form.number_install) }}
  1613.                                                                         {{ form_widget(form.number_install_price) }}
  1614.                                                                     </div>
  1615.                                                                     {{ form_errors(form.construction_airs) }}
  1616.                                                                 </td>
  1617.                                                             </tr>
  1618.                                                             <tr class="content-1">
  1619.                                                                 <td><p class="required">設置工事希望日</p></td>
  1620.                                                                 <td>
  1621.                                                                     <div class="fill v3">
  1622.                                                                         <label class="label v3 date vip">
  1623.                                                                             第一希望日  
  1624.                                                                             {{ form_widget(form.construction_date_1) }}
  1625.                                                                             {{ form_errors(form.construction_date_1) }}
  1626.                                                                             <span class="pc"> </span>希望時間帯 
  1627.                                                                             <select name="{{ form.time_slot_1.vars.full_name }}" id="time_slot_1">
  1628.                                                                                 {% for key,val in form.time_slot_1.vars.choices %}
  1629.                                                                                     <option value="{{ val.value }}">{{ val.label | trans }} </option>
  1630.                                                                                 {% endfor %}
  1631.                                                                             </select>
  1632.                                                                         </label>
  1633.                                                                         <label class="label v3 date">
  1634.                                                                             第二希望日  
  1635.                                                                             {{ form_widget(form.construction_date_2) }}
  1636.                                                                             {{ form_errors(form.construction_date_2) }}
  1637.                                                                             <span class="pc"> </span>希望時間帯 
  1638.                                                                             <select name="{{ form.time_slot_2.vars.full_name }}" id="time_slot_2">
  1639.                                                                                 {% for key,val in form.time_slot_2.vars.choices %}
  1640.                                                                                     <option value="{{ val.value }}">{{ val.label | trans }} </option>
  1641.                                                                                 {% endfor %}
  1642.                                                                             </select>
  1643.                                                                         </label>
  1644.                                                                         <label class="label v3 date">
  1645.                                                                             第三希望日  
  1646.                                                                             {{ form_widget(form.construction_date_3) }}
  1647.                                                                             {{ form_errors(form.construction_date_3) }}
  1648.                                                                             <span class="pc"> </span>希望時間帯 
  1649.                                                                             <select name="{{ form.time_slot_3.vars.full_name }}" id="time_slot_3">
  1650.                                                                                 {% for key,val in form.time_slot_3.vars.choices %}
  1651.                                                                                     <option value="{{ val.value }}">{{ val.label | trans }} </option>
  1652.                                                                                 {% endfor %}
  1653.                                                                             </select>
  1654.                                                                         </label>
  1655.                                                                         {{ form_widget(form.contents, {'attr': { 'placeholder': 'その他希望等あればご記入ください。' }}) }}
  1656.                                                                         {{ form_errors(form.contents) }}
  1657.                                                                     </div>
  1658.                                                                 </td>
  1659.                                                             </tr>
  1660.                                                             <tr class="content-1">
  1661.                                                                 <td><p class="required">工事内訳</p></td>
  1662.                                                                 <td>
  1663.                                                                     <div class="fill v4">
  1664.                                                                         {% for key,val in form.construction_type_07.vars.choices %}
  1665.                                                                             <label class="form-check">
  1666.                                                                                 <input type="radio" name="{{ form.construction_type_07.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.construction_type_07.vars.data == val.value %}checked{% endif %} />
  1667.                                                                                 {{ val.label | trans }} 
  1668.                                                                                 {% if val.value == "新設工事に加えて移設工事も希望" %}
  1669.                                                                                     <p style="padding-left: 2rem;font-size: 0.8em;margin-bottom: 0.5rem;line-height: 1.2;">※エアコン本体の移動はお客様ご自身でお願いいたします。</p>
  1670.                                                                                 {% endif %}
  1671.                                                                             </label>
  1672.                                                                         {% endfor %}                    
  1673.                                                                     </div>
  1674.                                                                     {{ form_errors(form.construction_type_07) }}
  1675.                                                                 </td>
  1676.                                                             </tr> 
  1677.                                                             <tr class="construction_type_07_02_v1">
  1678.                                                                 <td><p class="required">工事内訳</p><small>2段階目</small></td>
  1679.                                                                 <td>
  1680.                                                                     <div class="fill v4">
  1681.                                                                         {% for key,val in form.construction_type_07_02_v1.vars.choices %}
  1682.                                                                             <label class="form-check">
  1683.                                                                                 <input type="radio" name="{{ form.construction_type_07_02_v1.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.construction_type_07_02_v1.vars.data == val.value %}checked{% endif %} />
  1684.                                                                                 {{ val.label | trans }} 
  1685.                                                                             </label>
  1686.                                                                         {% endfor %}   
  1687.                                                                         {{ form_widget(form.construction_type_07_02_v1_price) }}                 
  1688.                                                                     </div>
  1689.                                                                     {{ form_errors(form.construction_type_07_02_v1) }}
  1690.                                                                 </td>
  1691.                                                             </tr> 
  1692.                                                             <tr class="construction_type_07_02_v2">
  1693.                                                                 <td><p class="required">工事内訳</p><small>2段階目</small></td>
  1694.                                                                 <td>
  1695.                                                                     <div class="fill v4">
  1696.                                                                         {% for key,val in form.construction_type_07_02_v2.vars.choices %}
  1697.                                                                             <label class="form-check">
  1698.                                                                                 <input type="radio" name="{{ form.construction_type_07_02_v2.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.construction_type_07_02_v2.vars.data == val.value %}checked{% endif %} />
  1699.                                                                                 {{ val.label | trans }}
  1700.                                                                             </label>
  1701.                                                                         {% endfor %}                    
  1702.                                                                     </div>
  1703.                                                                     {{ form_errors(form.construction_type_07_02_v2) }}
  1704.                                                                 </td>
  1705.                                                             </tr> 
  1706.                                                             <tr class="construction_type_07_03_v1">
  1707.                                                                 <td><p class="required">工事内訳</p><small>3段階目</small></td>
  1708.                                                                 <td>
  1709.                                                                     <div class="fill v4">
  1710.                                                                         {% for key,val in form.construction_type_07_03_v1.vars.choices %}
  1711.                                                                             <label class="form-check">
  1712.                                                                                 <input type="radio" name="{{ form.construction_type_07_03_v1.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.construction_type_07_03_v1.vars.data == val.value %}checked{% endif %} />
  1713.                                                                                 {{ val.label | trans }} 
  1714.                                                                             </label>
  1715.                                                                         {% endfor %}                    
  1716.                                                                     </div>
  1717.                                                                     {{ form_errors(form.construction_type_07_03_v1) }}
  1718.                                                                 </td>
  1719.                                                             </tr> 
  1720.                                                             <tr class="construction_type_07_03_v2">
  1721.                                                                 <td><p class="required">工事内訳</p><small>3段階目</small></td>
  1722.                                                                 <td>
  1723.                                                                     <div class="fill v4">
  1724.                                                                         {% for key,val in form.construction_type_07_03_v2.vars.choices %}
  1725.                                                                             <label class="form-check">
  1726.                                                                                 <input type="radio" name="{{ form.construction_type_07_03_v2.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.construction_type_07_03_v2.vars.data == val.value %}checked{% endif %} />
  1727.                                                                                 {{ val.label | trans }} 
  1728.                                                                             </label>
  1729.                                                                         {% endfor %}         
  1730.                                                                         {{ form_widget(form.construction_type_07_03_v2_price) }}           
  1731.                                                                     </div>
  1732.                                                                     {{ form_errors(form.construction_type_07_03_v2) }}
  1733.                                                                 </td>
  1734.                                                             </tr> 
  1735.                                                             <tr class="construction_type_07_04_v1">
  1736.                                                                 <td><p class="required">工事内訳</p><small>4段階目</small></td>
  1737.                                                                 <td>
  1738.                                                                     <div class="fill v4">
  1739.                                                                         {% for key,val in form.construction_type_07_04_v1.vars.choices %}
  1740.                                                                             <label class="form-check">
  1741.                                                                                 <input type="radio" name="{{ form.construction_type_07_04_v1.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.construction_type_07_04_v1.vars.data == val.value %}checked{% endif %} />
  1742.                                                                                 {{ val.label | trans }} 
  1743.                                                                             </label>
  1744.                                                                         {% endfor %}            
  1745.                                                                         {{ form_widget(form.construction_type_07_04_v1_price) }}        
  1746.                                                                     </div>
  1747.                                                                     {{ form_errors(form.construction_type_07_04_v1) }}
  1748.                                                                 </td>
  1749.                                                             </tr> 
  1750.                                                             <tr class="construction_type_07_04_v2">
  1751.                                                                 <td><p class="required">工事内訳</p><small>4段階目</small></td>
  1752.                                                                 <td>
  1753.                                                                     <div class="fill v4">
  1754.                                                                         {% for key,val in form.construction_type_07_04_v2.vars.choices %}
  1755.                                                                             <label class="form-check">
  1756.                                                                                 <input type="radio" name="{{ form.construction_type_07_04_v2.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.construction_type_07_04_v2.vars.data == val.value %}checked{% endif %} />
  1757.                                                                                 {{ val.label | trans }} 
  1758.                                                                             </label>
  1759.                                                                         {% endfor %}     
  1760.                                                                         {{ form_widget(form.construction_type_07_04_v2_price) }}               
  1761.                                                                     </div>
  1762.                                                                     {{ form_errors(form.construction_type_07_04_v2) }}
  1763.                                                                 </td>
  1764.                                                             </tr> 
  1765.                                                             <tr class="construction_type_07_04_v3">
  1766.                                                                 <td><p class="required">工事内訳</p><small>4段階目</small></td>
  1767.                                                                 <td>
  1768.                                                                     <div class="fill v4">
  1769.                                                                         {% for key,val in form.construction_type_07_04_v3.vars.choices %}
  1770.                                                                             <label class="form-check">
  1771.                                                                                 <input type="radio" name="{{ form.construction_type_07_04_v3.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.construction_type_07_04_v3.vars.data == val.value %}checked{% endif %} />
  1772.                                                                                 {{ val.label | trans }} 
  1773.                                                                             </label>
  1774.                                                                         {% endfor %}
  1775.                                                                         {{ form_widget(form.construction_type_07_04_v3_price) }}
  1776.                                                                     </div>
  1777.                                                                     {{ form_errors(form.construction_type_07_04_v3) }}
  1778.                                                                 </td>
  1779.                                                             </tr> 
  1780.                                                             <tr class="content-1">
  1781.                                                                 <td><p class="required">エアコン設置場所</p></td>
  1782.                                                                  <td>
  1783.                                                                     <div class="fill v4">
  1784.                                                                         {% for key,val in form.construction_floor_07.vars.choices %}
  1785.                                                                             <label class="form-check">
  1786.                                                                                 <input type="radio" name="{{ form.construction_floor_07.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.construction_floor_07.vars.data == val.value %}checked{% endif %} />
  1787.                                                                                 {{ val.label | trans }} 
  1788.                                                                             </label>
  1789.                                                                         {% endfor %}
  1790.                                                                     </div>
  1791.                                                                     {{ form_errors(form.construction_floor_07) }}
  1792.                                                                 </td>
  1793.                                                             </tr> 
  1794.                                                             <tr class="content-1">
  1795.                                                                 <td><p class="required">エレベーターの有無</p><small>※3階以上の場合</small></td>
  1796.                                                                 <td>
  1797.                                                                     <div class="fill v4">
  1798.                                                                         {% for key,val in form.elevator_07.vars.choices %}
  1799.                                                                             <label class="form-check">
  1800.                                                                                 <input type="radio" name="{{ form.elevator_07.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.elevator_07.vars.data == val.value %}checked{% endif %} />
  1801.                                                                                 {{ val.label | trans }} 
  1802.                                                                             </label>
  1803.                                                                         {% endfor %}
  1804.                                                                         {{ form_errors(form.elevator_07) }}
  1805.                                                                         {{ form_widget(form.elevator_07_price) }}
  1806.                                                                     </div>
  1807.                                                                 </td>
  1808.                                                             </tr> 
  1809.                                                             <tr class="content-1">
  1810.                                                                 <td><p class="required">コンセントの有無</p></td>
  1811.                                                                 <td>
  1812.                                                                     <div class="fill v4">
  1813.                                                                         {% for key,val in form.electrical_outlet_07.vars.choices %}
  1814.                                                                             <label class="form-check flex" style="display: flex; align-items: center;flex-wrap: wrap; gap: 0.5rem;">
  1815.                                                                                 <input type="radio" name="{{ form.electrical_outlet_07.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.electrical_outlet_07.vars.data == val.value %}checked{% endif %} />
  1816.                                                                                 {{ val.label | trans }} 
  1817.                                                                                 {% if val.value == "なし(別途工事が必要になります)" %}
  1818.                                                                                     <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.2;">※10m以上の方は別途お見積りさせていただきます。</p>
  1819.                                                                                 {% endif %}
  1820.                                                                                 {% if val.value == "不明" %}
  1821.                                                                                     <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.2;">※工事当日に追加費用が発生する場合があります。</p>
  1822.                                                                                 {% endif %}
  1823.                                                                             </label>
  1824.                                                                         {% endfor %}
  1825.                                                                         {{ form_errors(form.electrical_outlet_07) }}
  1826.                                                                         {{ form_widget(form.electrical_outlet_07_price) }}
  1827.                                                                     </div>
  1828.                                                                 </td>
  1829.                                                             </tr> 
  1830.                                                             <tr class="electrical_outlet_07_02">
  1831.                                                                 <td>
  1832.                                                                     <p>既存コンセントの延長の有無</p>
  1833.                                                                     {# <small>2段階目</small> #}
  1834.                                                                 </td>
  1835.                                                                 <td>
  1836.                                                                     <div class="fill v4">
  1837.                                                                         {% for key,val in form.electrical_outlet_07_02.vars.choices %}
  1838.                                                                             <label class="form-check flex" style="display: flex; align-items: center;flex-wrap: wrap; gap: 0.5rem;">
  1839.                                                                                 <input type="radio" name="{{ form.electrical_outlet_07_02.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.electrical_outlet_07_02.vars.data == val.value %}checked{% endif %} />
  1840.                                                                                 {{ val.label | trans }} 
  1841.                                                                             </label>
  1842.                                                                         {% endfor %}
  1843.                                                                         {{ form_errors(form.electrical_outlet_07_02) }}
  1844.                                                                         {{ form_widget(form.electrical_outlet_07_02_price) }}
  1845.                                                                     </div>
  1846.                                                                 </td>
  1847.                                                             </tr>    
  1848.                                                             <tr class="content-1">
  1849.                                                                 <td><p class="required">建物の契約アンペア</p></td>
  1850.                                                                 <td>
  1851.                                                                     <div class="fill v4">
  1852.                                                                         {% for key,val in form.contract_amp.vars.choices %}
  1853.                                                                             <label class="form-check flex">
  1854.                                                                                 <input type="radio" name="{{ form.contract_amp.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.contract_amp.vars.data == val.value %}checked{% endif %}/>
  1855.                                                                                 {{ val.label | trans }} 
  1856.                                                                             </label>
  1857.                                                                         {% endfor %}
  1858.                                                                     </div>
  1859.                                                                     {{ form_errors(form.contract_amp) }}
  1860.                                                                 </td>
  1861.                                                             </tr> 
  1862.                                                             <tr class="content-1">
  1863.                                                                 <td><p>コンセントアース端子</p></td>
  1864.                                                                 <td>
  1865.                                                                     <div class="fill v4">
  1866.                                                                         {% for key,val in form.outlet_earth.vars.choices %}
  1867.                                                                             <label class="form-check flex">
  1868.                                                                                 <input type="radio" name="{{ form.outlet_earth.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.outlet_earth.vars.data == val.value %}checked{% endif %}/>
  1869.                                                                                 {{ val.label | trans }} 
  1870.                                                                                 {% if val.value == "なし" %}
  1871.                                                                                     <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.3; flex: 1;">*工事当日に追加費用がかかる場合があります。</p>
  1872.                                                                                 {% endif %}
  1873.                                                                                 {% if val.value == "不明" %}
  1874.                                                                                     <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.3; flex: 1;">*工事当日に追加費用がかかる場合があります。</p>
  1875.                                                                                 {% endif %}
  1876.                                                                             </label>
  1877.                                                                         {% endfor %}
  1878.                                                                     </div>
  1879.                                                                     {{ form_errors(form.outlet_earth) }}
  1880.                                                                 </td>
  1881.                                                             </tr>  
  1882.                                                             <tr class="content-1">
  1883.                                                                 <td><p class="required">配管穴の有無</p></td>
  1884.                                                                 <td>
  1885.                                                                     <div class="fill v4 vip">
  1886.                                                                         {% for key,val in form.room_size_07.vars.choices %}
  1887.                                                                             <label class="form-check flex">
  1888.                                                                                 <input type="radio" name="{{ form.room_size_07.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.room_size_07.vars.data == val.value %}checked{% endif %}/>
  1889.                                                                                 {{ val.label | trans }} 
  1890.                                                                                 {% if val.value == "不明" %}
  1891.                                                                                     <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.3; flex: 1;">※工事当日に追加費用が発生する場合があります。別途エアココからご連絡させていただきます。</p>
  1892.                                                                                 {% endif %}
  1893.                                                                             </label>
  1894.                                                                         {% endfor %}
  1895.                                                                     </div>
  1896.                                                                     {{ form_errors(form.room_size_07) }}
  1897.                                                                     <img style="margin-left: auto;" src="{{ asset('assets/img/contact/') }}hole-sample.jpg" alt="配管穴の有無">
  1898.                                                                 </td>
  1899.                                                             </tr> 
  1900.                                                             
  1901.                                                             {% if (countProductBasic != 0)  %}
  1902.                                                             <tr class="room_size_07_02">
  1903.                                                                 <td><p class="required">配管穴の有無</p><small>2段階目</small></td>
  1904.                                                                 <td>
  1905.                                                                     <div class="fill v4">
  1906.                                                                         {% for key,val in form.room_size_07_02.vars.choices %}
  1907.                                                                             <label class="form-check flex">
  1908.                                                                                 <input type="radio" name="{{ form.room_size_07_02.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.room_size_07_02.vars.data == val.value %}checked{% endif %}/>
  1909.                                                                                 {{ val.label | trans }} 
  1910.                                                                             </label>
  1911.                                                                         {% endfor %}
  1912.                                                                     </div>
  1913.                                                                     {{ form_errors(form.room_size_07_02) }}
  1914.                                                                 </td>
  1915.                                                             </tr> 
  1916.                                                             {% endif %}
  1917.                                                             <tr class="room_size_07_03_v1">
  1918.                                                                 <td><p class="required">建物の材質</p><small>(穴あけ&貫通スリーブ費)</small></td>
  1919.                                                                 <td>
  1920.                                                                     <div class="fill v4">
  1921.                                                                         {% for key,val in form.room_size_07_03_v1.vars.choices %}
  1922.                                                                             <label class="form-check flex">
  1923.                                                                                 <input type="radio" name="{{ form.room_size_07_03_v1.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.room_size_07_03_v1.vars.data == val.value %}checked{% endif %}/>
  1924.                                                                                 {{ val.label | trans }} 
  1925.                                                                                 {% if val.value == "その他" %}
  1926.                                                                                     <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.3; flex: 1;">※工事当日に追加費用が発生する場合があります。</p>
  1927.                                                                                 {% endif %}
  1928.                                                                                 {% if val.value == "不明" %}
  1929.                                                                                     <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.3; flex: 1;">※工事当日に追加費用が発生する場合があります。</p>
  1930.                                                                                 {% endif %}
  1931.                                                                             </label>
  1932.                                                                         {% endfor %}
  1933.                                                                         {{ form_widget(form.room_size_07_03_v1_price) }}
  1934.                                                                     </div>
  1935.                                                                     {{ form_errors(form.room_size_07_03_v1) }}                                                    
  1936.                                                                 </td>
  1937.                                                             </tr> 
  1938.                                                             <tr class="room_size_07_03_v2">
  1939.                                                                 <td><p class="required">建物の材質</p><small>(穴あけ&貫通スリーブ&アスベストみなし工事、対策費と調査報告書作成費)</small></td>
  1940.                                                                 <td>
  1941.                                                                     <div class="fill v4">
  1942.                                                                         {% for key,val in form.room_size_07_03_v2.vars.choices %}
  1943.                                                                             <label class="form-check flex">
  1944.                                                                                 <input type="radio" name="{{ form.room_size_07_03_v2.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.room_size_07_03_v2.vars.data == val.value %}checked{% endif %}/>
  1945.                                                                                 {{ val.label | trans }} 
  1946.                                                                                 {% if val.value == "その他" %}
  1947.                                                                                     <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.3; flex: 1;">※工事当日に追加費用が発生する場合があります。</p>
  1948.                                                                                 {% endif %}
  1949.                                                                                 {% if val.value == "不明" %}
  1950.                                                                                     <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.3; flex: 1;">※工事当日に追加費用が発生する場合があります。</p>
  1951.                                                                                 {% endif %}
  1952.                                                                             </label>
  1953.                                                                         {% endfor %}
  1954.                                                                         {{ form_widget(form.room_size_07_03_v2_price) }}
  1955.                                                                     </div>
  1956.                                                                     {{ form_errors(form.room_size_07_03_v2) }}                                                    
  1957.                                                                 </td>
  1958.                                                             </tr> 
  1959.                                                             <tr class="content-1">
  1960.                                                                 <td><p class="required">設置予定場所の<br class="pc" />配管の状態</p></td>
  1961.                                                                 <td style="flex-direction: column;">
  1962.                                                                     <div class="fill v5 up">
  1963.                                                                         {% set idx = 0 %}
  1964.                                                                         {% for key,val in form.piping_status_07.vars.choices %}
  1965.                                                                             {% set idx = idx + 1 %}
  1966.                                                                             {% if idx <= 2 %}
  1967.                                                                                 <div class="group">
  1968.                                                                                     <label class="form-check v2">
  1969.                                                                                         <input type="radio" name="{{ form.piping_status_07.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.piping_status_07.vars.data == val.value %}checked{% endif %} />
  1970.                                                                                         {{ val.label | trans }} 
  1971.                                                                                     </label>
  1972.                                                                                     <img src="{{ asset('assets/img/form-0y/') }}line-option-0{{ idx }}.jpg" alt="">
  1973.                                                                                 </div>
  1974.                                                                             {% endif %}
  1975.                                                                         {% endfor %}
  1976.                                                                     </div>
  1977.                                                                     <div class="fill v5">
  1978.                                                                         {% set idx = 0 %}
  1979.                                                                         {% for key,val in form.piping_status_07.vars.choices %}
  1980.                                                                             {% set idx = idx + 1 %}
  1981.                                                                             {% if idx > 2 %}
  1982.                                                                                 <label class="form-check">
  1983.                                                                                     <input type="radio" name="{{ form.piping_status_07.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.piping_status_07.vars.data == val.value %}checked{% endif %} />
  1984.                                                                                     {{ val.label | trans }} 
  1985.                                                                                 </label>
  1986.                                                                             {% endif %}
  1987.                                                                         {% endfor %}
  1988.                                                                     </div>
  1989.                                                                     {{ form_errors(form.piping_status_07) }}
  1990.                                                                 </td>
  1991.                                                             </tr>
  1992.                                                             <tr class="piping_status_07_02">
  1993.                                                                 <td><p class="required">設置予定場所の<br class="pc" />配管の状態</p><small>2段階目</small></td>
  1994.                                                                 <td>
  1995.                                                                     <div class="fill v4">
  1996.                                                                         {% for key,val in form.piping_status_07_02.vars.choices %}
  1997.                                                                             <label class="form-check flex">
  1998.                                                                                 <input type="radio" name="{{ form.piping_status_07_02.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.piping_status_07_02.vars.data == val.value %}checked{% endif %}/>
  1999.                                                                                 {{ val.label | trans }} 
  2000.                                                                             </label>
  2001.                                                                         {% endfor %}
  2002.                                                                         {{ form_widget(form.piping_status_07_02_price) }}
  2003.                                                                     </div>
  2004.                                                                     {{ form_errors(form.piping_status_07_02) }}
  2005.                                                                 </td>
  2006.                                                             </tr> 
  2007.                                                             {% if (countProductBasic != 0)  %}
  2008.                                                             <tr class="content-1">
  2009.                                                                 <td><p class="required">室内化粧カバーの<br class="pc" />希望の有無</p></td>
  2010.                                                                 <td>
  2011.                                                                     <div class="fill v4" style="order: 2;">
  2012.                                                                         {% for key,val in form.indoor_cover_07.vars.choices %}
  2013.                                                                             <label class="form-check flex">
  2014.                                                                                 <input type="radio" name="{{ form.indoor_cover_07.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.indoor_cover_07.vars.data == val.value %}checked{% endif %} />
  2015.                                                                                 {{ val.label | trans }} 
  2016.                                                                                 {% if val.value == "必要(2m以内)" %}
  2017.                                                                                     <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.3; flex: 1;">※2mを超える場合は追加費用がかかります。</p>
  2018.                                                                                 {% endif %}
  2019.                                                                                 {% if val.value == "未定" %}
  2020.                                                                                     <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.3; flex: 1;">※化粧カバーが必要になった場合は追加費用がかかります。</p>
  2021.                                                                                 {% endif %}
  2022.                                                                             </label>
  2023.                                                                         {% endfor %}                    
  2024.                                                                         {{ form_widget(form.indoor_cover_07_price) }}
  2025.                                                                     </div>
  2026.                                                                     {{ form_errors(form.indoor_cover_07) }}
  2027.                                                                     <img style="margin-left: auto; order: 3;" src="{{ asset('assets/img/contact/') }}item-1.jpg" alt="室内化粧カバー">
  2028.                                                                 </td>
  2029.                                                             </tr> 
  2030.                                                             <tr class="content-1">
  2031.                                                                 <td><p class="required">室外化粧カバーの<br class="pc" />希望の有無</p></td>
  2032.                                                                 <td>                
  2033.                                                                     <div class="fill v4">
  2034.                                                                         {% for key,val in form.outdoor_cover.vars.choices %}
  2035.                                                                             <label class="form-check flex">
  2036.                                                                                 <input type="radio" name="{{ form.outdoor_cover.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.outdoor_cover.vars.data == val.value %}checked{% endif %} />
  2037.                                                                                 {{ val.label | trans }} 
  2038.                                                                                 {% if val.value == "その他" %}
  2039.                                                                                     <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.3; flex: 1;">※工事当日に必要になった場合、追加費用が発生する場合があります。</p>
  2040.                                                                                 {% endif %}
  2041.                                                                             </label>
  2042.                                                                         {% endfor %}                    
  2043.                                                                     </div>
  2044.                                                                     {{ form_errors(form.outdoor_cover) }}
  2045.                                                                     <img style="margin-left: auto;" src="{{ asset('assets/img/contact/') }}item-2.jpg" alt="室外化粧カバー">
  2046.                                                                 </td>
  2047.                                                             </tr> 
  2048.                                                             <tr class="outdoor_cover_02">
  2049.                                                                 <td><p class="required">室外化粧カバーの<br class="pc" />希望の有無</p><small>2段階目</small></td>
  2050.                                                                 <td>                
  2051.                                                                     <div class="fill v4">
  2052.                                                                         {% for key,val in form.outdoor_cover_02.vars.choices %}
  2053.                                                                             <label class="form-check" >
  2054.                                                                                 <input type="radio" name="{{ form.outdoor_cover_02.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.outdoor_cover_02.vars.data == val.value %}checked{% endif %} />
  2055.                                                                                 {{ val.label | trans }} 
  2056.                                                                                 {% if val.value == "再使用(交換)同階" %}
  2057.                                                                                     <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.3; flex: 1;">※交換にはすでにスリムダクトが付いている方も含みます。</p>
  2058.                                                                                 {% endif %}
  2059.                                                                                 {% if val.value == "再使用(交換)異階" %}
  2060.                                                                                     <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.3; flex: 1;">※交換にはすでにスリムダクトが付いている方も含みます。</p>
  2061.                                                                                 {% endif %}
  2062.                                                                             </label>
  2063.                                                                         {% endfor %}                    
  2064.                                                                         {{ form_widget(form.outdoor_cover_02_price) }}
  2065.                                                                     </div>
  2066.                                                                     {{ form_errors(form.outdoor_cover_02) }}
  2067.                                                                 </td>
  2068.                                                             </tr>
  2069.                                                             <tr class="content-1">
  2070.                                                                 <td><p class="required">室外機の設置場所(既設場所・希望設置場所)</p></td>
  2071.                                                                 <td>                
  2072.                                                                     <div class="fill v4">
  2073.                                                                         {% for key,val in form.construction_outdoor_07.vars.choices %}
  2074.                                                                             <label class="form-check flex">
  2075.                                                                                 <input type="radio" name="{{ form.construction_outdoor_07.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.construction_outdoor_07.vars.data == val.value %}checked{% endif %} />
  2076.                                                                                 {{ val.label | trans }} 
  2077.                                                                                 {% if val.value == "その他" %}
  2078.                                                                                     <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.3; flex: 1;">※工事当日に必要になった場合、追加費用が発生する場合があります。</p>
  2079.                                                                                 {% endif %}
  2080.                                                                             </label>
  2081.                                                                         {% endfor %}
  2082.                                                                         {{ form_widget(form.construction_outdoor_07_price) }}
  2083.                                                                     </div>
  2084.                                                                     {{ form_errors(form.construction_outdoor_07) }}
  2085.                                                                 </td>
  2086.                                                             </tr>
  2087.                                                             {% endif %}
  2088.                                                             <tr class="content-1">
  2089.                                                                 <td><p class="required">室外機の設置方法(既設方法・希望設置方法)</p></td>
  2090.                                                                 <td>
  2091.                                                                     <div class="fill v4">
  2092.                                                                         {% for key,val in form.setting_install_method.vars.choices %}
  2093.                                                                             <label class="form-check">
  2094.                                                                                 <input type="radio" name="{{ form.setting_install_method.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.setting_install_method.vars.data == val.value %}checked{% endif %} />
  2095.                                                                                 {{ val.label | trans }} 
  2096.                                                                             </label>
  2097.                                                                         {% endfor %}
  2098.                                                                     </div>
  2099.                                                                     {{ form_errors(form.setting_install_method) }}
  2100.                                                                     <div class="fill v4 construction_method_07_v1" style="margin-left: 2rem; flex-direction: column;">
  2101.                                                                         {% for key,val in form.construction_method_07_v1.vars.choices %}
  2102.                                                                             <label class="form-check flex">
  2103.                                                                                 <input type="radio" name="{{ form.construction_method_07_v1.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.construction_method_07_v1.vars.data == val.value %}checked{% endif %} />
  2104.                                                                                 {{ val.label | trans }} 
  2105.                                                                                 {% if val.value == "⑧不明(記載)" %}
  2106.                                                                                     <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.3; flex: 1;">※工事当日に必要になった場合、追加費用が発生する場合があります。</p>
  2107.                                                                                 {% endif %}
  2108.                                                                             </label>
  2109.                                                                         {% endfor %}
  2110.                                                                         <img style="margin-top: 3rem;" src="{{ asset('assets/img/form-0y/install-option.jpg') }}" alt="">
  2111.                                                                         {{ form_widget(form.construction_method_07_v1_price) }}            
  2112.                                                                     </div>
  2113.                                                                     {{ form_errors(form.construction_method_07_v1) }}
  2114.                                                                     <div class="fill v4 construction_method_07_v2" style="margin-left: 2rem; flex-direction: column;">
  2115.                                                                         {% for key,val in form.construction_method_07_v2.vars.choices %}
  2116.                                                                             <label class="form-check flex">
  2117.                                                                                 <input type="radio" name="{{ form.construction_method_07_v2.vars.full_name }}" data-price="{{ val.attr['price'] | default(0) }}" value="{{ val.value }}" {% if form.construction_method_07_v2.vars.data == val.value %}checked{% endif %} />
  2118.                                                                                 {{ val.label | trans }} 
  2119.                                                                                 {% if val.value == "⑧不明(記載)" %}
  2120.                                                                                     <p style="padding-left: 2rem;font-size: 0.8em;line-height: 1.3; flex: 1;">※工事当日に必要になった場合、追加費用が発生する場合があります。</p>
  2121.                                                                                 {% endif %}
  2122.                                                                             </label>
  2123.                                                                         {% endfor %}
  2124.                                                                         <img style="margin-top: 3rem;" src="{{ asset('assets/img/form-0y/install-option.jpg') }}" alt="">     
  2125.                                                                         {{ form_widget(form.construction_method_07_v2_price) }}               
  2126.                                                                     </div>
  2127.                                                                     {{ form_errors(form.construction_method_07_v2) }}                                                    
  2128.                                                                 </td>
  2129.                                                             </tr>
  2130.                                                             <tr class="content-1">
  2131.                                                                 <td><p class="required">ファイル添付</p></td>
  2132.                                                                 <td>
  2133.                                                                     <div class="fill v6">
  2134.                                                                         <div class="group">
  2135.                                                                             <p>詳細お見積りに際し、下記の写真を撮影し添付してください。<br>※夜間に撮影する際はフラッシュを使用してください。</p>
  2136.                                                                         </div>
  2137.                                                                         <div class="group add">
  2138.                                                                             <div class="group-content">
  2139.                                                                                 <label for=""><p>①室内機設置場所(屋内) <span style="color: #2881c3;">※</span></p></label>
  2140.                                                                                 <div class="custom-file">
  2141.                                                                                     {% if form.filename_image_1.vars.data != '' %}
  2142.                                                                                     {{ form_widget(form.image_1) }}
  2143.                                                                                     <label for="contact_image_1">選択してください</label>
  2144.                                                                                     <img src="{{ asset(form.filename_image_1.vars.data, 'save_image') }}" style="width: 150px !important;" />
  2145.                                                                                     {% else %}
  2146.                                                                                         {{ form_widget(form.image_1, {'attr': { 'required': 'required' }}) }}
  2147.                                                                                         <label for="contact_image_1">選択してください</label>
  2148.                                                                                         <img src="" style="width: 150px !important;" />
  2149.                                                                                     {% endif %}
  2150.                                                                                     {{ form_errors(form.image_1) }}
  2151.                                                                                     {{ form_widget(form.filename_image_1) }}
  2152.                                                                                 </div>
  2153.                                                                             </div>
  2154.                                                                             <div class="image">
  2155.                                                                                 <div class="gr">
  2156.                                                                                     <img src="{{ asset('assets/img/construction/') }}item-3.jpg" alt="">     
  2157.                                                                                     <span>撮影例</span>  
  2158.                                                                                 </div>             
  2159.                                                                             </div>
  2160.                                                                         </div>
  2161.                                                                         <div class="group add">
  2162.                                                                             <div class="group-content">
  2163.                                                                                 <label for=""><p>②室外機・配管・配管穴が分かる全体写真 <span style="color: #2881c3;">※</span></p></label>
  2164.                                                                                 <div class="custom-file">
  2165.                                                                                     {% if form.filename_image_2.vars.data != '' %}
  2166.                                                                                     {{ form_widget(form.image_2) }}
  2167.                                                                                     <label for="contact_image_2">選択してください</label>
  2168.                                                                                     <img src="{{ asset(form.filename_image_2.vars.data, 'save_image') }}" style="width: 150px !important;" />
  2169.                                                                                     {% else %}
  2170.                                                                                         {{ form_widget(form.image_2, {'attr': { 'required': 'required' }}) }}
  2171.                                                                                         <label for="contact_image_2">選択してください</label>
  2172.                                                                                         <img src="" style="width: 150px !important;" />
  2173.                                                                                     {% endif %}
  2174.                                                                                     {{ form_errors(form.image_2) }}
  2175.                                                                                     {{ form_widget(form.filename_image_2) }}
  2176.                                                                                 </div>
  2177.                                                                             </div>
  2178.                                                                             <div class="image">
  2179.                                                                                 <div class="gr">
  2180.                                                                                     <img src="{{ asset('assets/img/construction/') }}contact-00-attach-02.jpg" alt="">     
  2181.                                                                                     <span>撮影例</span>  
  2182.                                                                                 </div>             
  2183.                                                                             </div>
  2184.                                                                         </div>
  2185.                                                                         <div class="group add">
  2186.                                                                             <div class="group-content">
  2187.                                                                                 <label for=""><p>③室外機設置場所<br>(②の写真で室外機設置場所が分かる方は不要)</p></label>
  2188.                                                                                 <div class="custom-file">
  2189.                                                                                     {% if form.filename_image_3.vars.data != '' %}
  2190.                                                                                     {{ form_widget(form.image_3) }}
  2191.                                                                                     <label for="contact_image_3">選択してください</label>
  2192.                                                                                     <img src="{{ asset(form.filename_image_3.vars.data, 'save_image') }}" style="width: 150px !important;" />
  2193.                                                                                     {% else %}
  2194.                                                                                         {{ form_widget(form.image_3) }}
  2195.                                                                                         <label for="contact_image_3">選択してください</label>
  2196.                                                                                         <img src="" style="width: 150px !important;" />
  2197.                                                                                     {% endif %}
  2198.                                                                                     {{ form_errors(form.image_3) }}
  2199.                                                                                     {{ form_widget(form.filename_image_3) }}
  2200.                                                                                 </div>
  2201.                                                                             </div>
  2202.                                                                             <div class="image">
  2203.                                                                                 <div class="gr">
  2204.                                                                                     <img src="{{ asset('assets/img/construction/') }}item-5-1.jpg" alt="">     
  2205.                                                                                     <span>1階撮影例</span>  
  2206.                                                                                 </div>
  2207.                                                                                 <div class="gr">
  2208.                                                                                     <img src="{{ asset('assets/img/construction/') }}item-5-2.jpg" alt="">     
  2209.                                                                                     <span>2階撮影例</span>  
  2210.                                                                                 </div>                
  2211.                                                                             </div>
  2212.                                                                         </div>
  2213.                                                                     </div>
  2214.                                                                 </td>
  2215.                                                             </tr>
  2216.                                                         </table>
  2217.                                                         <table id="tableThree" style="padding: 0;">
  2218.                                                             <tr>
  2219.                                                                 <td>
  2220.                                                                     <p class="required">新居の所在地</p>
  2221.                                                                 </td>
  2222.                                                                 <td>
  2223.                                                                     <div class="fill v2">
  2224.                                                                         <label>
  2225.                                                                             {{ form_widget(form.location, {'attr': { 'style': '' }}) }}
  2226.                                                                             {{ form_errors(form.location) }}
  2227.                                                                         </label>
  2228.                                                                     </div>
  2229.                                                                 </td>
  2230.                                                             </tr> 
  2231.                                                             <tr>
  2232.                                                                 <td>
  2233.                                                                     <p>新居の情報</p>
  2234.                                                                 </td>
  2235.                                                                 <td>
  2236.                                                                     <div class="fill v6" style="width: 100%;">
  2237.                                                                         <div class="group add" style="width: 100%; max-width: 100%;">
  2238.                                                                             <div class="group-content" style="max-width: 100%;">
  2239.                                                                                 <div class="custom-file" style="margin-top: 0; margin-bottom: 0.5rem;">
  2240.                                                                                     {% if form.filename_floor.vars.data != '' %}
  2241.                                                                                     {{ form_widget(form.floor) }}
  2242.                                                                                     <label for="contact_floor" style="width: 500px;max-width: 100%;">選択してください</label>
  2243.                                                                                     <img src="{{ asset(form.filename_floor.vars.data, 'save_image') }}" style="width: 150px !important;" />
  2244.                                                                                     {% else %}
  2245.                                                                                         {{ form_widget(form.floor) }}
  2246.                                                                                         <label for="contact_floor" style="width: 500px;max-width: 100%;">選択してください</label>
  2247.                                                                                         <img src="" style="width: 150px !important;" />
  2248.                                                                                     {% endif %}
  2249.                                                                                     {{ form_errors(form.floor) }}
  2250.                                                                                     {{ form_widget(form.filename_floor) }}
  2251.                                                                                 </div>
  2252.                                                                             </div>
  2253.                                                                         </div>
  2254.                                                                     </div>
  2255.                                                                 </td>
  2256.                                                             </tr> 
  2257.                                                         </table>
  2258.                                                         <div class="result">
  2259.                                                             <p>概算合計金額</p>
  2260.                                                             <p id="total-price">00,000円</p>
  2261.                                                             {{ form_widget(form.construction_base_price_1) }}
  2262.                                                             {{ form_widget(form.construction_base_price_2) }}
  2263.                                                             {{ form_widget(form.construction_base_price_3) }}
  2264.                                                             {{ form_widget(form.construction_total_price) }}
  2265.                                                             {{ form_widget(form.construction_discount) }}
  2266.                                                         </div>
  2267.                                                         <div style="text-align: right;" class="pc">
  2268.                                                             「
  2269.                                                             {# 本体価格 <span class="product_price"></span>円、 #}
  2270.                                                             {# 標準工事 <span class="base_price"></span>円、 #}
  2271.                                                             本体価格+標準工事費 <span class="product_base_price"></span>円、
  2272.                                                             追加工事 <span class="add_price"></span>円
  2273.                                                             」
  2274.                                                         </div>
  2275.                                                         <div style="text-align: right;" class="sp">
  2276.                                                             {# 本体価格 <span class="product_price" style="display: inline-block; width: 100px; text-align: right;"></span>円<br> #}
  2277.                                                             {# 標準工事 <span class="base_price" style="display: inline-block; width: 100px; text-align: right;"></span>円<br> #}
  2278.                                                             本体価格+標準工事費 <span class="product_base_price" style="display: inline-block; width: 100px; text-align: right;"></span>円<br>
  2279.                                                             追加工事 <span class="add_price" style="display: inline-block; width: 100px; text-align: right;"></span>円
  2280.                                                         </div> 
  2281.                                                     </div>
  2282.                                                 </div>                            
  2283.                                             </div>
  2284.                                         </div>
  2285.                                     </div>
  2286.                                 </div>
  2287.                                 <div class="check">
  2288.                                     <input type="checkbox" name="" id="" required="true">
  2289.                                     <label for=""><a href="{{ url('help_privacy') }}" target="_blank">「プライバシーポリシー」</a>に同意する</label>
  2290.                                 </div>
  2291.                             </div>
  2292.                             <div class="list-btn">
  2293.                                 <button type="button" class="btn btn-sd btn-back" id="btn-back">
  2294.                                     <span>戻る</span>
  2295.                                 </button>
  2296.                                 <button type="submit" class="btn btn-sd" id="btn-confirm" name="mode" value="confirm">
  2297.                                     <span>次へ</span>
  2298.                                 </button>
  2299.                             </div>
  2300.                         </form>
  2301.                     </div>
  2302.                 </div>
  2303.             </div>
  2304.         </div>
  2305.     </div>
  2306. {% endblock %}