app/template/default/Block/region.twig line 1

Open in your IDE?
  1. {% block stylesheet %}
  2.     <style>
  3.         .map-img img {
  4.             display: block;
  5.             margin-left: auto;
  6.             margin-right: auto;
  7.             width: 1300px;
  8.         }
  9.         .map-mix {
  10.             position: relative;
  11.         }
  12.         .serviceMap__li {
  13.             width: 30%;
  14.             margin-right: 5%;
  15.             margin-bottom: 5%;
  16.             float: left;
  17.             display: block;
  18.         }
  19.         .serviceMap__ul {
  20.             padding: 0;
  21.             display: block;
  22.             width: 100%;
  23.             min-height: 200px;
  24.             list-style: none;
  25.         }
  26.         .region-category {
  27.             display: inline-block;
  28.             margin: 8px;
  29.         }
  30.         #searchCategoryModalList ul {
  31.             padding: unset;
  32.         }
  33.         .category-group {
  34.             display: inline-block;
  35.             width: 100%;
  36.         }
  37.         .category-rhyme {
  38.             display: inline-block;
  39.             float: left;
  40.             width: 5%;
  41.             font-weight: 600;
  42.             margin: 8px 0;
  43.             font-size: 15px;
  44.             font-family: "Roboto", "ヒラギノ角ゴ ProN", "メイリオ", "sans-serif";
  45.             color: #333333;
  46.         }
  47.         .category-rhyme-content {
  48.             display: inline-block;
  49.             float: right;
  50.             width: 95%;
  51.         }
  52.         .mix-cate {
  53.             padding: 2rem;
  54.         }
  55.         .category-first {
  56.             color: #333333;
  57.             text-decoration: underline;
  58.             font-size: 15px;
  59.             font-family: "Roboto", "ヒラギノ角ゴ ProN", "メイリオ", "sans-serif";
  60.             font-style: normal;
  61.             font-weight: 300;
  62.             line-height: 24px;
  63.         }
  64.         .cate-close {
  65.             margin: auto;
  66.             border: unset;
  67.             background: unset;
  68.             font-family: "Roboto", "ヒラギノ角ゴ ProN", "メイリオ", "sans-serif";
  69.             font-style: normal;
  70.             font-weight: 300;
  71.             font-size: 15px;
  72.             line-height: 24px;
  73.             text-align: center;
  74.             color: #333333;
  75.         }
  76.         .pinc {
  77.             width: 13px !important;
  78.             height: 17px;
  79.             margin-top: -3px;
  80.             flex: none;
  81.             order: 0;
  82.             flex-grow: 0;
  83.         }
  84.         .fx-17 {
  85.             font-family: "Roboto", "ヒラギノ角ゴ ProN", "メイリオ", "sans-serif";
  86.             font-size: 17px;
  87.             line-height: 24px;
  88.             font-weight: 600;
  89.             color: #333333;
  90.         }
  91.         .modal-dialog,
  92.         .modal-content {
  93.             height: 320px;
  94.             width: 748px;
  95.             padding: 48px 48px 24px 48px;
  96.             border-radius: unset;
  97.             border: unset;
  98.         }
  99.         .modal-header {
  100.             padding: 5px;
  101.             height: 35px;
  102.         }
  103.         .modal-body {
  104.             overflow-y: auto;
  105.             font-family: "Roboto", "ヒラギノ角ゴ ProN", "メイリオ", "sans-serif";
  106.             color: #333333;
  107.         }
  108.         .modal-footer {
  109.             padding: 5px;
  110.             border: unset;
  111.             font-family: "Roboto", "ヒラギノ角ゴ ProN", "メイリオ", "sans-serif";
  112.             color: #333333;
  113.         }
  114.         .modal-header .btn-close-img {
  115.             padding: unset;
  116.             margin: -11rem -3rem -0rem auto;
  117.             color: white;
  118.             width: 32px;
  119.             height: 32px;
  120.             flex: none;
  121.             order: 0;
  122.             flex-grow: 0;
  123.             border: none;
  124.             background: none;
  125.         }
  126.         .color-unset {
  127.             color: unset;
  128.         }
  129.         @media (max-width: 768px) {
  130.             .serviceMap__btn {
  131.                 display: block;
  132.                 width: 100%;
  133.                 vertical-align: top;
  134.                 padding: 6px 2px;
  135.                 font-family: "Roboto", "ヒラギノ角ゴ ProN", "メイリオ", "sans-serif";
  136.                 font-weight: 600;
  137.                 line-height: 25px;
  138.                 font-size: 15px;
  139.                 color: #333333;
  140.                 cursor: pointer;
  141.             }
  142.             .serviceMap__btn.-top {
  143.                 background: #2379E7;
  144.                 color: #FFFFFF;
  145.                 border: none;
  146.                 border-top-left-radius: 8px;
  147.                 border-top-right-radius: 8px;
  148.             }
  149.             .serviceMap__li {
  150.                 width: 90%;
  151.                 display: block;
  152.                 background: #8FC0FF;
  153.                 border-radius: 8px;
  154.                 margin: 3% 5%;
  155.             }
  156.             .serviceMap__inner {
  157.                 background: url(../../../../html/template/default/assets/img/common/map_sp.svg);
  158.                 background-image: url(../../../../html/template/default/assets/img/common/map_sp.svg);
  159.                 background-position-x: 50%;
  160.                 background-position-y: 10%;
  161.                 background-size: 335.4px;
  162.                 background-repeat: no-repeat;
  163.                 background-attachment: initial;
  164.                 background-origin: initial;
  165.                 background-clip: initial;
  166.                 position: relative;
  167.             }
  168.             .serviceMap__ul {
  169.                 padding: 0;
  170.                 display: block;
  171.                 width: 100%;
  172.                 min-height: 500px;
  173.                 list-style: none;
  174.             }
  175.             .serviceMap__li.-p0 {
  176.                 margin: 335px 5% 3%;
  177.             }
  178.             .serviceMap__ul.-mid {
  179.                 opacity: 1;
  180.                 display: block;
  181.                 position: static;
  182.                 min-height: 50px;
  183.             }
  184.             .serviceMap__li.-mid {
  185.                 width: 22.5%;
  186.                 text-align: center;
  187.                 margin: 2% 1%;
  188.                 background: #fff;
  189.                 border-radius: 4px;
  190.             }
  191.             .map-title {
  192.                 text-align: center;
  193.                 font-family: "Roboto", "ヒラギノ角ゴ ProN", "メイリオ", "sans-serif";
  194.                 font-weight: 600;
  195.                 font-size: 22px;
  196.                 line-height: 0;
  197.                 color: #333333;
  198.                 position: absolute;
  199.                 left: 0;
  200.                 right: 0;
  201.                 top: -25px;
  202.             }
  203.             .map-line {
  204.                 border-top: 3px solid #2379E7;
  205.                 position: absolute;
  206.                 top: 20px;
  207.                 width: 40px;
  208.                 left: 0;
  209.                 right: 0;
  210.                 margin: auto;
  211.                 border-radius: 8px;
  212.             }
  213.             .mix-cate {
  214.                 padding: 1rem;
  215.             }
  216.             .modal-dialog,
  217.             .modal-content {
  218.                 height: 298px;
  219.                 width: 383px;
  220.                 padding: 24px 24px 12px 24px;
  221.                 border-radius: unset;
  222.                 border: unset;
  223.                 margin: auto;
  224.             }
  225.             .modal-header .btn-close-img {
  226.                 padding: unset;
  227.                 margin: -8rem -1.5rem -0rem auto;
  228.                 color: #FFFFFF;
  229.             }
  230.             .serviceMap__li.-mid:nth-child(1), .serviceMap__li.-mid:nth-child(5) {
  231.                 margin-left: 2%;
  232.             }
  233.             .serviceMap__li.-mid:nth-child(4), .serviceMap__li.-mid:nth-child(8) {
  234.                 margin-right: 2%;
  235.             }
  236.             .serviceMap__li.-mid:nth-child(5), .serviceMap__li.-mid:nth-child(6), .serviceMap__li.-mid:nth-child(7), .serviceMap__li.-mid:nth-child(8) {
  237.                 margin-top: 0;
  238.             }
  239.             .map-invisible {
  240.                 position: relative;
  241.                 width: 335.4px;
  242.                 height: 320px;
  243.                 left: 50%;
  244.                 margin-right: -50%;
  245.                 transform: translate(-50%, 0%);
  246.             }
  247.             .light-flip {
  248.                 position: absolute;
  249.             }
  250.             .light-invisible-0 {
  251.                 width: 69px;
  252.                 height: 46px;
  253.                 right: 2px;
  254.                 top: 109px;
  255.             }
  256.             .light-invisible-1 {
  257.                 width: 56px;
  258.                 height: 28px;
  259.                 right: 26px;
  260.                 top: 206px;
  261.             }
  262.             .light-invisible-2 {
  263.                 width: 69px;
  264.                 height: 46px;
  265.                 right: 140px;
  266.                 top: 101px;
  267.             }
  268.             .light-invisible-3 {
  269.                 width: 57px;
  270.                 height: 28px;
  271.                 right: 108px;
  272.                 top: 268px;
  273.             }
  274.             .light-invisible-4 {
  275.                 width: 57px;
  276.                 height: 28px;
  277.                 right: 179px;
  278.                 top: 268px;
  279.             }
  280.             .light-invisible-5 {
  281.                 width: 57px;
  282.                 height: 28px;
  283.                 right: 196px;
  284.                 top: 161px;
  285.             }
  286.             .light-invisible-6 {
  287.                 width: 57px;
  288.                 height: 28px;
  289.                 right: 249px;
  290.                 top: 268px;
  291.             }
  292.             .light-invisible-7 {
  293.                 width: 69px;
  294.                 height: 46px;
  295.                 right: 266px;
  296.                 top: 145px;
  297.             }
  298.         }
  299.         @media (min-width: 768px) {
  300.             #region {
  301.                 margin-top: 80px;
  302.             }
  303.             .serviceMap__btn {
  304.                 display: block;
  305.                 width: 100%;
  306.                 vertical-align: top;
  307.             }
  308.             .serviceMap__li {
  309.                 width: 30%;
  310.                 margin-right: 5%;
  311.                 margin-bottom: 5%;
  312.                 float: left;
  313.                 display: block;
  314.             }
  315.             .serviceMap__inner {
  316.                 background: url(../../../../html/template/default/assets/img/common/map.svg);
  317.                 background-image: url(../../../../html/template/default/assets/img/common/map.svg);
  318.                 background-position-x: 40%;
  319.                 background-position-y: 0%;
  320.                 background-size: 80%;
  321.                 background-repeat: no-repeat;
  322.                 background-attachment: initial;
  323.                 background-origin: initial;
  324.                 background-clip: initial;
  325.                 position: relative;
  326.             }
  327.             .serviceMap__ul {
  328.                 padding: 0;
  329.                 display: block;
  330.                 width: 100%;
  331.                 min-height: 200px;
  332.                 list-style: none;
  333.             }
  334.             .serviceMap {
  335.                 width: 768px;
  336.                 margin: auto;
  337.             }
  338.             .serviceMap__ul.-top {
  339.                 position: static;
  340.                 background: none;
  341.                 height: 460px;
  342.                 margin: 0 auto;
  343.             }
  344.             .serviceMap__li.-top {
  345.                 width: 110px;
  346.                 border-radius: 5px;
  347.                 float: none;
  348.                 margin: 0 auto;
  349.                 padding: 2px 2px 1px;
  350.             }
  351.             .serviceMap__btn.-top {
  352.                 display: none;
  353.             }
  354.             .serviceMap__ul.-mid {
  355.                 opacity: 1;
  356.                 display: block;
  357.                 position: static;
  358.                 min-height: 50px;
  359.             }
  360.             .serviceMap__li.-mid {
  361.                 width: 38.5%;
  362.                 margin-right: 1%;
  363.             }
  364.             .serviceMap__li.-mid:nth-of-type(2n) {
  365.                 margin-right: 0;
  366.             }
  367.             .serviceMap__btn.-mid {
  368.                 color: #333333;
  369.                 font-size: 10px;
  370.                 padding: 3px 0;
  371.                 text-align: center;
  372.                 font-family: "Roboto", "ヒラギノ角ゴ ProN", "メイリオ", "sans-serif";
  373.                 font-weight: 600;
  374.                 line-height: 12px;
  375.                 height: auto;
  376.                 cursor: pointer;
  377.             }
  378.             .serviceMap__li.-p0 {
  379.                 position: absolute;
  380.                 bottom: 209px;
  381.                 right: 70px;
  382.             }
  383.             .serviceMap__li.-p1 {
  384.                 position: absolute;
  385.                 right: 100px;
  386.                 bottom: 75px;
  387.             }
  388.             .serviceMap__li.-p2 {
  389.                 position: absolute;
  390.                 bottom: 251px;
  391.                 left: 317px;
  392.             }
  393.             .serviceMap__li.-p3 {
  394.                 position: absolute;
  395.                 right: 435px;
  396.                 bottom: 30px;
  397.             }
  398.             .serviceMap__li.-p4 {
  399.                 position: absolute;
  400.                 right: 336px;
  401.                 bottom: 10px;
  402.             }
  403.             .serviceMap__li.-p5 {
  404.                 position: absolute;
  405.                 bottom: 251PX;
  406.                 left: 218PX;
  407.             }
  408.             .serviceMap__li.-p6 {
  409.                 position: absolute;
  410.                 bottom: 30px;
  411.                 left: 421px;
  412.             }
  413.             .serviceMap__li.-p7 {
  414.                 position: absolute;
  415.                 bottom: 95px;
  416.                 left: 60px;
  417.             }
  418.             .map-title {
  419.                 text-align: center;
  420.                 font-family: "Roboto", "ヒラギノ角ゴ ProN", "メイリオ", "sans-serif";
  421.                 font-weight: 600;
  422.                 font-size: 24px;
  423.                 line-height: 0;
  424.                 color: #333333;
  425.                 position: absolute;
  426.                 left: 0;
  427.                 right: 0;
  428.                 top: 20px;
  429.             }
  430.             .map-line {
  431.                 border-top: 3px solid #2379E7;
  432.                 position: absolute;
  433.                 top: 70px;
  434.                 width: 40px;
  435.                 left: 0;
  436.                 right: 0;
  437.                 margin: auto;
  438.                 border-radius: 8px;
  439.             }
  440.         }
  441.         @media (min-width: 1300px) {
  442.             .serviceMap__btn {
  443.                 display: block;
  444.                 width: 100%;
  445.                 vertical-align: top;
  446.             }
  447.             .serviceMap__li {
  448.                 width: 30%;
  449.                 margin-right: 5%;
  450.                 margin-bottom: 5%;
  451.                 float: left;
  452.                 display: block;
  453.             }
  454.             .serviceMap__inner {
  455.                 background: url(../../../../html/template/default/assets/img/common/map.svg);
  456.                 background-image: url(../../../../html/template/default/assets/img/common/map.svg);
  457.                 background-position-x: 40%;
  458.                 background-position-y: 0%;
  459.                 background-size: 80%;
  460.                 background-repeat: no-repeat;
  461.                 background-attachment: initial;
  462.                 background-origin: initial;
  463.                 background-clip: initial;
  464.                 position: relative;
  465.             }
  466.             .serviceMap__ul {
  467.                 padding: 0;
  468.                 display: block;
  469.                 width: 100%;
  470.                 min-height: 200px;
  471.                 list-style: none;
  472.             }
  473.             .serviceMap {
  474.                 width: 1300px;
  475.                 margin: auto;
  476.             }
  477.             .serviceMap__ul.-top {
  478.                 position: static;
  479.                 background: none;
  480.                 height: 800px;
  481.                 margin: 0 auto;
  482.             }
  483.             .serviceMap__li.-p0 {
  484.                 position: absolute;
  485.                 bottom: 376px;
  486.                 right: 150px;
  487.             }
  488.             .serviceMap__li.-top {
  489.                 width: 154px;
  490.                 border-radius: 5px;
  491.                 float: none;
  492.                 margin: 0 auto;
  493.                 padding: 7px 7px 1px;
  494.             }
  495.             .serviceMap__btn.-top {
  496.                 display: none;
  497.             }
  498.             .serviceMap__ul.-mid {
  499.                 opacity: 1;
  500.                 display: block;
  501.                 position: static;
  502.                 min-height: 50px;
  503.             }
  504.             .serviceMap__li.-mid {
  505.                 width: 47.5%;
  506.                 margin-right: 3%;
  507.             }
  508.             .serviceMap__li.-mid:nth-of-type(2n) {
  509.                 margin-right: 0;
  510.             }
  511.             .serviceMap__btn.-mid {
  512.                 color: #333333;
  513.                 padding: 6px 0;
  514.                 text-align: center;
  515.                 font-family: "Roboto", "ヒラギノ角ゴ ProN", "メイリオ", "sans-serif";
  516.                 font-weight: 600;
  517.                 font-size: 15px;
  518.                 line-height: 21px;
  519.                 height: auto;
  520.                 cursor: pointer;
  521.             }
  522.             .serviceMap__li.-p1 {
  523.                 position: absolute;
  524.                 right: 202px;
  525.                 bottom: 150px;
  526.             }
  527.             .serviceMap__li.-p2 {
  528.                 position: absolute;
  529.                 bottom: 448px;
  530.                 left: 536px;
  531.             }
  532.             .serviceMap__li.-p3 {
  533.                 position: absolute;
  534.                 right: 435px;
  535.                 bottom: 80px;
  536.             }
  537.             .serviceMap__li.-p4 {
  538.                 position: absolute;
  539.                 right: 601px;
  540.                 bottom: 40px;
  541.             }
  542.             .serviceMap__li.-p5 {
  543.                 position: absolute;
  544.                 bottom: 448px;
  545.                 left: 368px;
  546.             }
  547.             .serviceMap__li.-p6 {
  548.                 position: absolute;
  549.                 bottom: 80px;
  550.                 left: 378px;
  551.             }
  552.             .serviceMap__li.-p7 {
  553.                 position: absolute;
  554.                 top: auto;
  555.                 right: auto;
  556.                 bottom: 183px;
  557.                 left: 101px;
  558.                 background: unset;
  559.             }
  560.             .map-title {
  561.                 text-align: center;
  562.                 font-family: "Roboto", "ヒラギノ角ゴ ProN", "メイリオ", "sans-serif";
  563.                 font-weight: 600;
  564.                 font-size: 24px;
  565.                 line-height: 0;
  566.                 color: #333333;
  567.                 position: absolute;
  568.                 left: 0;
  569.                 right: 0;
  570.                 top: 40px;
  571.             }
  572.             .map-line {
  573.                 border-top: 3px solid #2379E7;
  574.                 position: absolute;
  575.                 top: 90px;
  576.                 width: 40px;
  577.                 left: 0;
  578.                 right: 0;
  579.                 margin: auto;
  580.                 border-radius: 8px;
  581.             }
  582.         }
  583.     </style>
  584. {% endblock %}
  585. {% block javascript %}
  586. <script>
  587.     $(document).on("click",".serviceMap__btn.-mid",function() {
  588.     var region = $(this).data('region');
  589.     var name = $(this).data('name');
  590.     $('#searchCategoryModalLabel').empty();
  591.     $('.pinc').hide();
  592.     $('#searchCategoryModalList').empty().html('<div class="text-center">読み込み中...</div>');
  593.     $('.cate-close').hide();
  594.     $.ajax({
  595.     type: 'POST',
  596.     dataType: 'html',
  597.     data: {
  598.     'category_id': region
  599. },
  600.     url: '{{ url('search_category') }}',
  601.         success: function(data) {
  602.             data = JSON.parse(data);
  603.             var group_to_values = data.reduce(function (obj, item) {
  604.                 obj[item.rhyme] = obj[item.rhyme] || [];
  605.                 obj[item.rhyme].push(item);
  606.                 return obj;
  607.             }, {});
  608.             var groups = Object.keys(group_to_values).map(function (key) {
  609.                 return {rhyme: key, data: group_to_values[key]};
  610.             });
  611.             groups.sort((a, b) => a.rhyme.localeCompare(b.rhyme));
  612.             $('.pinc').show();
  613.             $('#searchCategoryModalLabel').html(name);
  614.             $html='';
  615.             groups.forEach(function(item, value) {
  616.                 var group_to_values_child = item.data.reduce(function (obj, item_child) {
  617.                     obj[item_child.rhyme_child] = obj[item_child.rhyme_child] || [];
  618.                     obj[item_child.rhyme_child].push(item_child);
  619.                     return obj;
  620.                 }, {});
  621.                 var groups_child = Object.keys(group_to_values_child).map(function (key) {
  622.                     return {rhyme_child: key, item: group_to_values_child[key]};
  623.                 });
  624.                 groups_child.sort((a, b) => a.rhyme_child.localeCompare(b.rhyme_child));
  625.                 $html+='<div class="category-group">';
  626.                 $html+='<div class="category-rhyme">'+item.rhyme+'</div>';
  627.                 $html+='<div class="category-rhyme-content">';
  628.                 $html+='<ul>';
  629.                 groups_child.forEach(function(cate) {
  630.                     cate.item.forEach(function(flex) {
  631.                         $html+='<li class="region-category">';
  632.                         $html+='<div class="region-category-mix">';
  633.                         $html+='<a class="ec-secHeading__mix category-first" href="{{ url('product_list') }}?category_id='+flex.id+'">'+flex.name+'</a>';
  634.                         $html+='</div>';
  635.                         $html+='</li>';
  636.                     });
  637.                 });
  638.                 $html+='</ul>';
  639.                 $html+='</div>';
  640.                 $html+='</div>';
  641.             });
  642.             $('#searchCategoryModalList').html($html);
  643.             $('.cate-close').show();
  644.         },
  645.         error: function() {
  646.             alert('search region failed.');
  647.         }
  648.     });
  649. });
  650. </script>
  651. {% endblock javascript %}
  652. {% block main %}
  653.     <div class="ec-sliderRole" id="region">
  654.         <div class="serviceMap j-serviceMap" data-cls="serviceMap">
  655.             <div class="serviceMap__inner">
  656.                 <h2 class="map-title">遺品整理業者を探す</h2>
  657.                 <div class="map-line"></div>
  658.                 <ul class="serviceMap__ul -top">
  659.                     <li class="serviceMap__li -top -p0">
  660.                         <button class="serviceMap__btn -top" id="region0">
  661.                             <img class="pinc" src="{{ asset('assets/img/common/pinc.svg') }}" alt="Ocomari">
  662.                             <p class="mt-1 d-inline-block">北海道・東北</p>
  663.                         </button>
  664.                         <ul class="serviceMap__ul -mid">
  665.                             <li class="serviceMap__li -mid">
  666.                                 <a class="serviceMap__btn -mid" data-region="1100" data-name="北海道"
  667.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">北海道</a>
  668.                             </li>
  669.                             <li class="serviceMap__li -mid">
  670.                                 <a class="serviceMap__btn -mid" data-region="2200" data-name="青森"
  671.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">青森</a>
  672.                             </li>
  673.                             <li class="serviceMap__li -mid">
  674.                                 <a class="serviceMap__btn -mid" data-region="5200" data-name="秋田"
  675.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">秋田</a>
  676.                             </li>
  677.                             <li class="serviceMap__li -mid">
  678.                                 <a class="serviceMap__btn -mid" data-region="3200" data-name="岩手"
  679.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">岩手</a>
  680.                             </li>
  681.                             <li class="serviceMap__li -mid">
  682.                                 <a class="serviceMap__btn -mid" data-region="6200" data-name="山形"
  683.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">山形</a>
  684.                             </li>
  685.                             <li class="serviceMap__li -mid">
  686.                                 <a class="serviceMap__btn -mid" data-region="4100" data-name="宮城"
  687.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">宮城</a>
  688.                             </li>
  689.                             <li class="serviceMap__li -mid">
  690.                                 <a class="serviceMap__btn -mid" data-region="7200" data-name="福島"
  691.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">福島</a>
  692.                             </li>
  693.                         </ul>
  694.                     </li>
  695.                     <li class="serviceMap__li -top -p1">
  696.                         <button class="serviceMap__btn -top" id="region1">
  697.                             <img class="pinc" src="{{ asset('assets/img/common/pinc.svg') }}" alt="Ocomari">
  698.                             <p class="mt-1 d-inline-block">関東</p>
  699.                         </button>
  700.                         <ul class="serviceMap__ul -mid">
  701.                             <li class="serviceMap__li -mid">
  702.                                 <a class="serviceMap__btn -mid" data-region="13100" data-name="東京"
  703.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">東京</a>
  704.                             </li>
  705.                             <li class="serviceMap__li -mid">
  706.                                 <a class="serviceMap__btn -mid" data-region="14100" data-name="神奈川"
  707.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">神奈川</a>
  708.                             </li>
  709.                             <li class="serviceMap__li -mid">
  710.                                 <a class="serviceMap__btn -mid" data-region="11100" data-name="埼玉"
  711.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">埼玉</a>
  712.                             </li>
  713.                             <li class="serviceMap__li -mid">
  714.                                 <a class="serviceMap__btn -mid" data-region="12100" data-name="千葉"
  715.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">千葉</a>
  716.                             </li>
  717.                             <li class="serviceMap__li -mid">
  718.                                 <a class="serviceMap__btn -mid" data-region="8200" data-name="茨城"
  719.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">茨城</a>
  720.                             </li>
  721.                             <li class="serviceMap__li -mid">
  722.                                 <a class="serviceMap__btn -mid" data-region="9200" data-name="栃木"
  723.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">栃木</a>
  724.                             </li>
  725.                             <li class="serviceMap__li -mid">
  726.                                 <a class="serviceMap__btn -mid" data-region="10200" data-name="群馬"
  727.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">群馬</a>
  728.                             </li>
  729.                         </ul>
  730.                     </li>
  731.                     <li class="serviceMap__li -top -p2">
  732.                         <button class="serviceMap__btn -top" id="region2">
  733.                             <img class="pinc" src="{{ asset('assets/img/common/pinc.svg') }}" alt="Ocomari">
  734.                             <p class="mt-1 d-inline-block">北陸・甲信越</p>
  735.                         </button>
  736.                         <ul class="serviceMap__ul -mid">
  737.                             <li class="serviceMap__li -mid">
  738.                                 <a class="serviceMap__btn -mid" data-region="17200" data-name="石川"
  739.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">石川</a>
  740.                             </li>
  741.                             <li class="serviceMap__li -mid">
  742.                                 <a class="serviceMap__btn -mid" data-region="16200" data-name="富山"
  743.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">富山</a>
  744.                             </li>
  745.                             <li class="serviceMap__li -mid">
  746.                                 <a class="serviceMap__btn -mid" data-region="18200" data-name="福井"
  747.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">福井</a>
  748.                             </li>
  749.                             <li class="serviceMap__li -mid">
  750.                                 <a class="serviceMap__btn -mid" data-region="15100" data-name="新潟"
  751.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">新潟</a>
  752.                             </li>
  753.                             <li class="serviceMap__li -mid">
  754.                                 <a class="serviceMap__btn -mid" data-region="20200" data-name="長野"
  755.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">長野</a>
  756.                             </li>
  757.                             <li class="serviceMap__li -mid">
  758.                                 <a class="serviceMap__btn -mid" data-region="19200" data-name="山梨"
  759.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">山梨</a>
  760.                             </li>
  761.                         </ul>
  762.                     </li>
  763.                     <li class="serviceMap__li -top -p3">
  764.                         <button class="serviceMap__btn -top" id="region3">
  765.                             <img class="pinc" src="{{ asset('assets/img/common/pinc.svg') }}" alt="Ocomari">
  766.                             <p class="mt-1 d-inline-block">東海</p>
  767.                         </button>
  768.                         <ul class="serviceMap__ul -mid">
  769.                             <li class="serviceMap__li -mid">
  770.                                 <a class="serviceMap__btn -mid" data-region="23100" data-name="愛知"
  771.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">愛知</a>
  772.                             </li>
  773.                             <li class="serviceMap__li -mid">
  774.                                 <a class="serviceMap__btn -mid" data-region="22100" data-name="静岡"
  775.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">静岡</a>
  776.                             </li>
  777.                             <li class="serviceMap__li -mid">
  778.                                 <a class="serviceMap__btn -mid" data-region="21200" data-name="岐阜"
  779.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">岐阜</a>
  780.                             </li>
  781.                             <li class="serviceMap__li -mid">
  782.                                 <a class="serviceMap__btn -mid" data-region="24200" data-name="三重"
  783.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">三重</a>
  784.                             </li>
  785.                         </ul>
  786.                     </li>
  787.                     <li class="serviceMap__li -top -p4">
  788.                         <button class="serviceMap__btn -top" id="region4">
  789.                             <img class="pinc" src="{{ asset('assets/img/common/pinc.svg') }}" alt="Ocomari">
  790.                             <p class="mt-1 d-inline-block">関西</p>
  791.                         </button>
  792.                         <ul class="serviceMap__ul -mid">
  793.                             <li class="serviceMap__li -mid">
  794.                                 <a class="serviceMap__btn -mid" data-region="27100" data-name="大阪"
  795.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">大阪</a>
  796.                             </li>
  797.                             <li class="serviceMap__li -mid">
  798.                                 <a class="serviceMap__btn -mid" data-region="28100" data-name="兵庫"
  799.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">兵庫</a>
  800.                             </li>
  801.                             <li class="serviceMap__li -mid">
  802.                                 <a class="serviceMap__btn -mid" data-region="26100" data-name="京都"
  803.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">京都</a>
  804.                             </li>
  805.                             <li class="serviceMap__li -mid">
  806.                                 <a class="serviceMap__btn -mid" data-region="25200" data-name="滋賀"
  807.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">滋賀</a>
  808.                             </li>
  809.                             <li class="serviceMap__li -mid">
  810.                                 <a class="serviceMap__btn -mid" data-region="29200" data-name="奈良"
  811.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">奈良</a>
  812.                             </li>
  813.                             <li class="serviceMap__li -mid">
  814.                                 <a class="serviceMap__btn -mid" data-region="30200" data-name="和歌山"
  815.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">和歌山</a>
  816.                             </li>
  817.                         </ul>
  818.                     </li>
  819.                     <li class="serviceMap__li -top -p5">
  820.                         <button class="serviceMap__btn -top" id="region5">
  821.                             <img class="pinc" src="{{ asset('assets/img/common/pinc.svg') }}" alt="Ocomari">
  822.                             <p class="mt-1 d-inline-block">中国</p>
  823.                         </button>
  824.                         <ul class="serviceMap__ul -mid">
  825.                             <li class="serviceMap__li -mid">
  826.                                 <a class="serviceMap__btn -mid" data-region="34100" data-name="広島"
  827.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">広島</a>
  828.                             </li>
  829.                             <li class="serviceMap__li -mid">
  830.                                 <a class="serviceMap__btn -mid" data-region="33100" data-name="岡山"
  831.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">岡山</a>
  832.                             </li>
  833.                             <li class="serviceMap__li -mid">
  834.                                 <a class="serviceMap__btn -mid" data-region="32200" data-name="島根"
  835.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">島根</a>
  836.                             </li>
  837.                             <li class="serviceMap__li -mid">
  838.                                 <a class="serviceMap__btn -mid" data-region="31200" data-name="鳥取"
  839.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">鳥取</a>
  840.                             </li>
  841.                             <li class="serviceMap__li -mid">
  842.                                 <a class="serviceMap__btn -mid" data-region="35200" data-name="山口"
  843.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">山口</a>
  844.                             </li>
  845.                         </ul>
  846.                     </li>
  847.                     <li class="serviceMap__li -top -p6">
  848.                         <button class="serviceMap__btn -top" id="region6">
  849.                             <img class="pinc" src="{{ asset('assets/img/common/pinc.svg') }}" alt="Ocomari">
  850.                             <p class="mt-1 d-inline-block">四国</p>
  851.                         </button>
  852.                         <ul class="serviceMap__ul -mid">
  853.                             <li class="serviceMap__li -mid">
  854.                                 <a class="serviceMap__btn -mid" data-region="38200" data-name="愛媛"
  855.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">愛媛</a>
  856.                             </li>
  857.                             <li class="serviceMap__li -mid">
  858.                                 <a class="serviceMap__btn -mid" data-region="37200" data-name="香川"
  859.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">香川</a>
  860.                             </li>
  861.                             <li class="serviceMap__li -mid">
  862.                                 <a class="serviceMap__btn -mid" data-region="39200" data-name="高知"
  863.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">高知</a>
  864.                             </li>
  865.                             <li class="serviceMap__li -mid">
  866.                                 <a class="serviceMap__btn -mid" data-region="36200" data-name="徳島"
  867.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">徳島</a>
  868.                             </li>
  869.                         </ul>
  870.                     </li>
  871.                     <li class="serviceMap__li -top -p7">
  872.                         <button class="serviceMap__btn -top" id="region7">
  873.                             <img class="pinc" src="{{ asset('assets/img/common/pinc.svg') }}" alt="Ocomari">
  874.                             <p class="mt-1 d-inline-block">九州・沖縄</p>
  875.                         </button>
  876.                         <ul class="serviceMap__ul -mid">
  877.                             <li class="serviceMap__li -mid">
  878.                                 <a class="serviceMap__btn -mid" data-region="40100" data-name="福岡"
  879.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">福岡</a>
  880.                             </li>
  881.                             <li class="serviceMap__li -mid">
  882.                                 <a class="serviceMap__btn -mid" data-region="43100" data-name="熊本"
  883.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">熊本</a>
  884.                             </li>
  885.                             <li class="serviceMap__li -mid">
  886.                                 <a class="serviceMap__btn -mid" data-region="42200" data-name="長崎"
  887.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">長崎</a>
  888.                             </li>
  889.                             <li class="serviceMap__li -mid">
  890.                                 <a class="serviceMap__btn -mid" data-region="46200" data-name="鹿児島"
  891.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">鹿児島</a>
  892.                             </li>
  893.                             <li class="serviceMap__li -mid">
  894.                                 <a class="serviceMap__btn -mid" data-region="44200" data-name="大分"
  895.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">大分</a>
  896.                             </li>
  897.                             <li class="serviceMap__li -mid">
  898.                                 <a class="serviceMap__btn -mid" data-region="45200" data-name="宮崎"
  899.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">宮崎</a>
  900.                             </li>
  901.                             <li class="serviceMap__li -mid">
  902.                                 <a class="serviceMap__btn -mid" data-region="41200" data-name="佐賀"
  903.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">佐賀</a>
  904.                             </li>
  905.                             <li class="serviceMap__li -mid">
  906.                                 <a class="serviceMap__btn -mid" data-region="47200" data-name="沖縄"
  907.                                    data-bs-toggle="modal" data-bs-target="#searchCategoryModal">沖縄</a>
  908.                             </li>
  909.                         </ul>
  910.                     </li>
  911.                     <div class="map-invisible">
  912.                         <a class="light-flip light-invisible-0" href="{{ path('homepage') }}#region0"></a>
  913.                         <a class="light-flip light-invisible-1" href="{{ path('homepage') }}#region1"></a>
  914.                         <a class="light-flip light-invisible-2" href="{{ path('homepage') }}#region2"></a>
  915.                         <a class="light-flip light-invisible-3" href="{{ path('homepage') }}#region3"></a>
  916.                         <a class="light-flip light-invisible-4" href="{{ path('homepage') }}#region4"></a>
  917.                         <a class="light-flip light-invisible-5" href="{{ path('homepage') }}#region5"></a>
  918.                         <a class="light-flip light-invisible-6" href="{{ path('homepage') }}#region6"></a>
  919.                         <a class="light-flip light-invisible-7" href="{{ path('homepage') }}#region7"></a>
  920.                     </div>
  921.                 </ul>
  922.             </div>
  923.         </div>
  924.     </div>
  925.     <div class="modal" id="searchCategoryModal" tabindex="-1" role="dialog" aria-labelledby="searchCategoryModal"
  926.          aria-hidden="true">
  927.         <div class="modal-dialog modal-dialog-centered modal-lg">
  928.             <div class="modal-content mix-cate">
  929.                 <div class="modal-header px-0">
  930.                     <img class="pinc" src="{{ asset('assets/img/common/pinc_modal.svg') }}" alt="Ocomari">
  931.                     <h4 class="modal-title mx-2 fx-17" id="searchCategoryModalLabel"></h4>
  932.                     <button class="btn-close-img" type="button" data-bs-dismiss="modal" aria-label="Close">
  933.                         <img src="{{ asset('assets/img/common/close.svg') }}" alt="Ocomari">
  934.                     </button>
  935.                 </div>
  936.                 <div class="modal-body px-0">
  937.                     <div class="mb-3">
  938.                         <div id="searchCategoryModalList">
  939.                         </div>
  940.                     </div>
  941.                 </div>
  942.                 <div class="modal-footer px-0">
  943.                     <div class="w-100 d-flex">
  944.                         <button class="cate-close" type="button" data-bs-dismiss="modal" aria-label="Close">閉じる
  945.                         </button>
  946.                     </div>
  947.                 </div>
  948.             </div>
  949.         </div>
  950.     </div>
  951. {% endblock %}