app/template/default/Block/Sp/lm_global_footer.twig line 1

Open in your IDE?
  1. {% set allowedNewCss = ['/mypage/history/', '/mypage/mhistory/', '/mypage/chistory/', '/mypage/contact/', '/mypage/update/'] %}
  2. {% if app.request.pathinfo in allowedNewCss %}
  3.     <link rel="stylesheet" type="text/css" href="/stylesheets/sp/mypage_new.css?20230302" />
  4. {% endif %}
  5. {% if (isShowGlobalFooter is not defined or isShowGlobalFooter) or not isMobile %}
  6. <div id="ft-shipping">
  7.     <div class="shipping-message">
  8.         <p>送料全国一律770円(税込)</p>
  9.         <p>10,000円(税込)以上<span>送料無料</span></p>
  10.     </div>
  11. </div>
  12. <section id="item-list" class="gray-background">
  13.     <div class="footer-link-wrapper">
  14.         <div class="title-h2">
  15.             <h2>&nbsp;サイトメニュー</h2>
  16.         </div>
  17.         <ul id="footermenu" style="font-size: 11px !important;">
  18.             <li><a href="{{ url('contact') }}"><h3>メール問合せ</h3></a></li>
  19.             <li><a href="/sp/pages/guide/"><h3>初めての方へ</h3></li>
  20.             <li><a href="/sp/pages/order/" data-ajax="false"><h3>ご注文方法</h3></a></li>
  21.             <li><a href="/sp/pages/pay/"><h3>お支払い方法</h3></li>
  22.             <li><a href="/sp/pages/souryou/"><h3>送料</h3></li>
  23.             <li><a href="/sp/pages/nouki/" data-ajax="false"><h3>納期</h3></a></li>
  24.             <li><a href="/sp/pages/sample/" data-ajax="false"><h3>貸出サンプル</h3></a></li>
  25.             <li><a href="/sp/pages/oguchi/" data-ajax="false"><h3>大口割引</h3></a></li>
  26.             <li><a href="/sp/pages/henpin/" data-ajax="false"><h3>返品・交換</h3></a></li>
  27.             <li><a href="/sp/pages/faq/" data-ajax="false"><h3>よくあるご質問</h3></a></li>
  28.             <li><a href="/sp/pages/company_profile/" data-ajax="false"><h3>会社概要</h3></a></li>
  29.             <li><a href="/sp/pages/syozaiti/" data-ajax="false"><h3>会社所在地</h3></a></li>
  30.             <li><a href="/sp/pages/kiyaku/" data-ajax="false"><h3>ご利用規約</h3></a></li>
  31.             <li><a href="/sp/pages/privacy/" data-ajax="false"><h3>個人情報保護方針</h3></a></li>
  32.             <li><a href="/sp/pages/tokutei/" data-ajax="false"><h3>特定商取引表示</h3></a></li>
  33.         </ul>
  34.     </div>
  35. </section>
  36. {% endif %}
  37. <style>
  38. .ec-layoutRole__footer#footer {
  39.     background-color: white;
  40.     font-family: Verdana;
  41. }
  42. .ec-layoutRole__footer#footer ul {
  43.     padding: 0px;
  44. }
  45. .ec-layoutRole__footer#footer #footermenu li {
  46.     border: solid 1px #eee;
  47.     border-right-width: 1px;
  48. }
  49. .ec-layoutRole__footer #ft-shipping {
  50.     color: #000;
  51. }
  52. #to-pc {
  53.     background-color: #f4f4f4;
  54.     border-top: 1px solid #ccc;
  55.     border-bottom: 1px solid #ccc;
  56. }
  57. #to-pc-btn {
  58. background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ddd));
  59. background: -moz-linear-gradient(top, #fff, #ddd);
  60. border: 1px solid #bbb;
  61. padding: 5px 0;
  62. border-radius: 5px;
  63. width: 50%;
  64. font-weight: bold;
  65. margin: 0 auto;
  66. text-align: center;
  67. font-size: 17px;
  68. }
  69. #footer a, #footer a:link, #footer a:visited {
  70.   color: #36c;
  71.   text-decoration: none;
  72. }
  73. #item-list ul li h3, #popularity-item-list ul li h3 {
  74.   line-height: 16px;
  75. }
  76. </style>
  77. <footer class="footer" style="{{ isHiddenOnEstimateMobile is not defined or isHiddenOnEstimateMobile == false ?: 'margin-bottom: 60px;' }}">
  78.     <div id="to-pc" class="gray-background">
  79.         スマホ版|<a id="to-pc-page" href="/">パソコン版</a>
  80.         <script>
  81.             $('#to-pc-page').on('click', function(e){
  82.                 e.preventDefault();
  83.                 var $this = $(this);
  84.                 if( confirm('パソコン版のページへ移動します。') ){
  85.                     location.search='?device_view=full';
  86.                 }
  87.             });
  88.         </script>
  89.     </div>
  90.     {% set allowedNewCss = ['/mypage/history/', '/mypage/mhistory/', '/mypage/chistory/', '/mypage/contact/', '/mypage/update/'] %}
  91.     {% if app.request.pathinfo in allowedNewCss %}
  92.         <div class="gray-background"></div>
  93.     {% endif %}
  94.   <small style="color: #555;"> Copyright &copy; 1991-{{ php_date('Y') }}<br />株式会社ランドマーク. All Rights Reserved.</small>
  95. </footer>
  96. <script type="text/javascript">
  97. $(function() {
  98.     $('.scrollToMe').on('focus', function() {
  99.         var position = $(this).offset().top - 20;
  100.         var duration = 250;
  101.         var easing = 'swing';
  102.         $('body,html').animate({
  103.             scrollTop: position,
  104.             duration: duration,
  105.             easing: easing
  106.         });
  107.     });
  108. });
  109. </script>
  110. <script type="text/javascript">
  111.     (function($, window, document, undefined) {
  112.         $(function() {
  113.             $('input[name=searchtext]').searchpop();
  114.         })
  115.     }(jQuery, window, document));
  116. </script>
  117. <style type="text/css">
  118. #main-category-fixed-header-content{
  119.     width: 100%;
  120.     background-color: #fff;
  121.     z-index: 100000;
  122. }
  123. #main-category-fixed-header-content:after{
  124.     content: '';
  125.     display: block;
  126.     clear: both;
  127. }
  128. #main-category-fixed-header-content.fixed{
  129.     position: fixed;
  130.     top: 0;
  131. }
  132. /* HOMEボタン(1 of 9) */
  133. #main-category-fixed-header-content ul:not(.fixed-acc-children) > li:first-child{
  134.     width: 10.56%;
  135. }
  136. /* HOMEボタン以外(2~9 of 9) */
  137. #main-category-fixed-header-content ul:not(.fixed-acc-children) > li:nth-child(n + 2){
  138.     width: 11.18%;
  139. }
  140. #main-category-fixed-header-content div{
  141.     margin: 0 !important;
  142. }
  143. </style>
  144. <script type="text/javascript">
  145. $(function() {
  146.     var width = $(window).width();
  147.     $('ul:has(.fixed-acc-parent)').css({"overflow":"visible"});
  148.     $('.fixed-acc-parent').on('click', function(e) {
  149.         var left = $(this).offset().left;
  150.         $(this).next('.fixed-acc-children').slideToggle().each(function(i) {
  151.             if (left + 120 > width) {
  152.                 $(this).css({'right':0,'left':'auto'});
  153.             }
  154.         });
  155.         $('.fixed-acc-parent').not(this).next('.fixed-acc-children').slideUp();
  156.     });
  157.     $('.fixed-acc-children').css({"width":"120px"});
  158. });
  159. </script>
  160. {% if isSliderEnabled() == false %}
  161.   {% if current_path != 'top/index' %}
  162.     <style type="text/css">
  163.     ul.bxslider {
  164.       list-style: none;
  165.     }
  166.     ul.bxslider.loading li:nth-child(n + 2) {
  167.       display: none;
  168.     }
  169.     .bx-wrapper, .bx-viewport {
  170.       -webkit-box-shadow: none !important;
  171.       box-shadow: none !important;
  172.     }
  173.     </style>
  174.     <link rel="stylesheet" href="/javascripts/sp/jquery.bxslider/jquery.bxslider.css" />
  175.     <script type="text/javascript" src="/javascripts/jquery.bxslider.min.js"></script>
  176.     <script type="text/javascript">
  177.     $(function() {
  178.         var $bxSlider = $('.bxslider').addClass('loading');
  179.         $(window).on('load', function(e) {
  180.             var scale = $bxSlider.width() / $(window).width();
  181.             $bxSlider.css({transform: 'scale('+scale+', '+scale+')'});
  182.             $bxSlider.removeClass('loading').bxSlider({
  183.                 auto: true
  184.             });
  185.         });
  186.     });
  187.   </script>
  188.   {% endif %}
  189. {% endif %}
  190. <script>
  191.     window.dataLayer = window.dataLayer || [];
  192.     // SP - 電話CV
  193.     function phoneCall () {
  194.         dataLayer.push({
  195.             'event': 'Phone Call'
  196.         });
  197.     }
  198.     // SP - FAX
  199.     function cvFAX () {
  200.         dataLayer.push({
  201.             'event': 'SP - FAX'
  202.         });
  203.     }
  204.     // SP -メール問合せ
  205.     function cvInquiry () {
  206.         dataLayer.push({
  207.             'event': 'SP - Inquiry'
  208.         });
  209.     }
  210.     //
  211.     $(function () {
  212.         // SP - 電話CV
  213.         $('a[href^="tel:"]').on('click', function (event) {
  214.             phoneCall();
  215.         });
  216.         /**
  217.          * FAXは対象PDFのリンククリックでCV発火とする
  218.          * ▼FAX注文用紙
  219.          * ・https://www.l-m.co.jp/fax/fax_base.pdf
  220.          * ・https://www.l-m.co.jp/files/company/fax_base.pdf
  221.          * ▼図柄を記入するFAX用紙
  222.          * ・https://www.l-m.co.jp/files/company/fax_zugara.pdf
  223.          */
  224.         $('a[href$="fax_base.pdf"],a[href$="fax_zugara.pdf"]').on('click', function (event) {
  225.             cvFAX();
  226.         });
  227.     });
  228. </script>
  229. {% if (current_path == 'top/index' or current_path == 'main-category/index' or current_path == 'sub-category/index') %}
  230. <script>
  231.     $(function () {
  232.         var height = window.innerHeight || $(window).height();
  233.         $('img')
  234.             .not('.lazy').not('[data-src]').not('.bxslider *').not('[class^="rollover"]').each(function () {
  235.             var $img = $(this);
  236.             var offset = $img.offset();
  237.             var top = offset.top;
  238.             var src = $img.attr('src');
  239.             // 1stビュー以外の画像ファイル全てに適用
  240.             if (height < top) {
  241.                 $img.attr('data-src', src).removeAttr('src').addClass('lazy');
  242.             }
  243.         });
  244.     });
  245. </script>
  246. <script>
  247.     window.lazySizesConfig = {
  248.         lazyClass: 'lazy'
  249.     };
  250. </script>
  251. <script src="https://unpkg.com/lazysizes@5.1.1/lazysizes.js" async=""></script>
  252. {% endif %}
  253. {% set isYtLazy = false %}
  254. {% if isYtLazy %}
  255. <style>
  256.     .ytlazy {
  257.         position: relative;
  258.         cursor: pointer;
  259.     }
  260.     .movie_frame .ytlazy {
  261.         position: absolute;
  262.         top: 0;
  263.         left: 0;
  264.         width: 100%;
  265.         height: 100%;
  266.     }
  267.     .ytlazy > .ytlazy-btn {
  268.         position: absolute;
  269.         top: calc(100% / 2 - 2em);
  270.         left: calc(100% / 2 - 3em);
  271.         /**/
  272.         padding: 1em 2em;
  273.         border-radius: 20%;
  274.         /**/
  275.         background: rgba(25, 25, 25, .75);
  276.         color: white;
  277.     }
  278.     .ytlazy:hover .ytlazy-btn {
  279.         /**/
  280.         background: red;
  281.         color: white;
  282.     }
  283.     .ytlazy > .ytlazy-btn:after {
  284.         content: '▶';
  285.         font-size: 1.75em;
  286.     }
  287.     .ytlazy > img {
  288.         object-fit: cover;
  289.     }
  290. </style>
  291. <script>
  292.     $(function () {
  293.         // YouTube.Lazy - 元々手動再生の場合、手動遅延読込みで自動再生
  294.         const $ytLazy = $('.ytlazy').on('click', function (e) {
  295.             const $img = $(this).children('img');
  296.             const $iframe = $('<iframe />');
  297.             //
  298.             $img.each(function (i) {
  299.                 $iframe.attr(this.dataset);
  300.             })
  301.             //
  302.             $(this).replaceWith($iframe);
  303.         });
  304.         // YouTube.Lazy - 元々自動再生の場合、自動遅延読込みで自動再生
  305.         $(window).on('load', function (e) {
  306.             setTimeout(function () {
  307.                 $ytLazy.has('[data-auto-play="1"]').click()
  308.             }, 100);
  309.         });
  310.     });
  311. </script>
  312. {% endif %}
  313. {% if isSliderEnabled() %}
  314. <style>
  315. .swiper-slide img {
  316.     display: block;
  317.     max-width: 100%;
  318. }
  319. .swiper-container {
  320.     margin-left: auto;
  321.     margin-right: auto;
  322.     position: relative;
  323.     overflow: hidden;
  324.     list-style: none;
  325.     padding: 0;
  326.     z-index: 1;
  327. }
  328. </style>
  329. <link rel="stylesheet" type="text/css" href="https://unpkg.com/swiper@7.0.7/swiper-bundle.min.css" />
  330. <script async src="https://unpkg.com/swiper@7.0.7/swiper-bundle.min.js"></script>
  331. <script>
  332.     window.addEventListener('load', function () {
  333.         //
  334.         setTimeout(function () {
  335.             //
  336.             for (let e of document.getElementsByClassName('swiper-slide')) {
  337.                 e.style.display = "list-item";
  338.             }
  339.             //
  340.             new Swiper( '.swiper-container', {
  341.                 loop: true,
  342.                 autoplay: {
  343.                     delay: 4000,
  344.                     disableOnInteraction: false,
  345.                 },
  346.                 speed: 400,
  347.                 navigation: {
  348.                     nextEl: '.swiper-button-next',
  349.                     prevEl: '.swiper-button-prev',
  350.                 },
  351.                 pagination: {
  352.                     el: '.swiper-pagination', clickable: true
  353.                 },
  354.                 scrollbar: {
  355.                     el: '.swiper-scrollbar',
  356.                 },
  357.                 slidesPerView: 1
  358.             } );
  359.         }, 250);
  360.     });
  361. </script>
  362. {% endif %}