{% set allowedNewCss = ['/mypage/history/', '/mypage/mhistory/', '/mypage/chistory/', '/mypage/contact/', '/mypage/update/'] %}
{% if app.request.pathinfo in allowedNewCss %}
<link rel="stylesheet" type="text/css" href="/stylesheets/sp/mypage_new.css?20230302" />
{% endif %}
{% if (isShowGlobalFooter is not defined or isShowGlobalFooter) or not isMobile %}
<div id="ft-shipping">
<div class="shipping-message">
<p>送料全国一律770円(税込)</p>
<p>10,000円(税込)以上<span>送料無料</span></p>
</div>
</div>
<section id="item-list" class="gray-background">
<div class="footer-link-wrapper">
<div class="title-h2">
<h2> サイトメニュー</h2>
</div>
<ul id="footermenu" style="font-size: 11px !important;">
<li><a href="{{ url('contact') }}"><h3>メール問合せ</h3></a></li>
<li><a href="/sp/pages/guide/"><h3>初めての方へ</h3></li>
<li><a href="/sp/pages/order/" data-ajax="false"><h3>ご注文方法</h3></a></li>
<li><a href="/sp/pages/pay/"><h3>お支払い方法</h3></li>
<li><a href="/sp/pages/souryou/"><h3>送料</h3></li>
<li><a href="/sp/pages/nouki/" data-ajax="false"><h3>納期</h3></a></li>
<li><a href="/sp/pages/sample/" data-ajax="false"><h3>貸出サンプル</h3></a></li>
<li><a href="/sp/pages/oguchi/" data-ajax="false"><h3>大口割引</h3></a></li>
<li><a href="/sp/pages/henpin/" data-ajax="false"><h3>返品・交換</h3></a></li>
<li><a href="/sp/pages/faq/" data-ajax="false"><h3>よくあるご質問</h3></a></li>
<li><a href="/sp/pages/company_profile/" data-ajax="false"><h3>会社概要</h3></a></li>
<li><a href="/sp/pages/syozaiti/" data-ajax="false"><h3>会社所在地</h3></a></li>
<li><a href="/sp/pages/kiyaku/" data-ajax="false"><h3>ご利用規約</h3></a></li>
<li><a href="/sp/pages/privacy/" data-ajax="false"><h3>個人情報保護方針</h3></a></li>
<li><a href="/sp/pages/tokutei/" data-ajax="false"><h3>特定商取引表示</h3></a></li>
</ul>
</div>
</section>
{% endif %}
<style>
.ec-layoutRole__footer#footer {
background-color: white;
font-family: Verdana;
}
.ec-layoutRole__footer#footer ul {
padding: 0px;
}
.ec-layoutRole__footer#footer #footermenu li {
border: solid 1px #eee;
border-right-width: 1px;
}
.ec-layoutRole__footer #ft-shipping {
color: #000;
}
#to-pc {
background-color: #f4f4f4;
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
}
#to-pc-btn {
background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ddd));
background: -moz-linear-gradient(top, #fff, #ddd);
border: 1px solid #bbb;
padding: 5px 0;
border-radius: 5px;
width: 50%;
font-weight: bold;
margin: 0 auto;
text-align: center;
font-size: 17px;
}
#footer a, #footer a:link, #footer a:visited {
color: #36c;
text-decoration: none;
}
#item-list ul li h3, #popularity-item-list ul li h3 {
line-height: 16px;
}
</style>
<footer class="footer" style="{{ isHiddenOnEstimateMobile is not defined or isHiddenOnEstimateMobile == false ?: 'margin-bottom: 60px;' }}">
<div id="to-pc" class="gray-background">
スマホ版|<a id="to-pc-page" href="/">パソコン版</a>
<script>
$('#to-pc-page').on('click', function(e){
e.preventDefault();
var $this = $(this);
if( confirm('パソコン版のページへ移動します。') ){
location.search='?device_view=full';
}
});
</script>
</div>
{% set allowedNewCss = ['/mypage/history/', '/mypage/mhistory/', '/mypage/chistory/', '/mypage/contact/', '/mypage/update/'] %}
{% if app.request.pathinfo in allowedNewCss %}
<div class="gray-background"></div>
{% endif %}
<small style="color: #555;"> Copyright © 1991-{{ php_date('Y') }}<br />株式会社ランドマーク. All Rights Reserved.</small>
</footer>
<script type="text/javascript">
$(function() {
$('.scrollToMe').on('focus', function() {
var position = $(this).offset().top - 20;
var duration = 250;
var easing = 'swing';
$('body,html').animate({
scrollTop: position,
duration: duration,
easing: easing
});
});
});
</script>
<script type="text/javascript">
(function($, window, document, undefined) {
$(function() {
$('input[name=searchtext]').searchpop();
})
}(jQuery, window, document));
</script>
<style type="text/css">
#main-category-fixed-header-content{
width: 100%;
background-color: #fff;
z-index: 100000;
}
#main-category-fixed-header-content:after{
content: '';
display: block;
clear: both;
}
#main-category-fixed-header-content.fixed{
position: fixed;
top: 0;
}
/* HOMEボタン(1 of 9) */
#main-category-fixed-header-content ul:not(.fixed-acc-children) > li:first-child{
width: 10.56%;
}
/* HOMEボタン以外(2~9 of 9) */
#main-category-fixed-header-content ul:not(.fixed-acc-children) > li:nth-child(n + 2){
width: 11.18%;
}
#main-category-fixed-header-content div{
margin: 0 !important;
}
</style>
<script type="text/javascript">
$(function() {
var width = $(window).width();
$('ul:has(.fixed-acc-parent)').css({"overflow":"visible"});
$('.fixed-acc-parent').on('click', function(e) {
var left = $(this).offset().left;
$(this).next('.fixed-acc-children').slideToggle().each(function(i) {
if (left + 120 > width) {
$(this).css({'right':0,'left':'auto'});
}
});
$('.fixed-acc-parent').not(this).next('.fixed-acc-children').slideUp();
});
$('.fixed-acc-children').css({"width":"120px"});
});
</script>
{% if isSliderEnabled() == false %}
{% if current_path != 'top/index' %}
<style type="text/css">
ul.bxslider {
list-style: none;
}
ul.bxslider.loading li:nth-child(n + 2) {
display: none;
}
.bx-wrapper, .bx-viewport {
-webkit-box-shadow: none !important;
box-shadow: none !important;
}
</style>
<link rel="stylesheet" href="/javascripts/sp/jquery.bxslider/jquery.bxslider.css" />
<script type="text/javascript" src="/javascripts/jquery.bxslider.min.js"></script>
<script type="text/javascript">
$(function() {
var $bxSlider = $('.bxslider').addClass('loading');
$(window).on('load', function(e) {
var scale = $bxSlider.width() / $(window).width();
$bxSlider.css({transform: 'scale('+scale+', '+scale+')'});
$bxSlider.removeClass('loading').bxSlider({
auto: true
});
});
});
</script>
{% endif %}
{% endif %}
<script>
window.dataLayer = window.dataLayer || [];
// SP - 電話CV
function phoneCall () {
dataLayer.push({
'event': 'Phone Call'
});
}
// SP - FAX
function cvFAX () {
dataLayer.push({
'event': 'SP - FAX'
});
}
// SP -メール問合せ
function cvInquiry () {
dataLayer.push({
'event': 'SP - Inquiry'
});
}
//
$(function () {
// SP - 電話CV
$('a[href^="tel:"]').on('click', function (event) {
phoneCall();
});
/**
* FAXは対象PDFのリンククリックでCV発火とする
* ▼FAX注文用紙
* ・https://www.l-m.co.jp/fax/fax_base.pdf
* ・https://www.l-m.co.jp/files/company/fax_base.pdf
* ▼図柄を記入するFAX用紙
* ・https://www.l-m.co.jp/files/company/fax_zugara.pdf
*/
$('a[href$="fax_base.pdf"],a[href$="fax_zugara.pdf"]').on('click', function (event) {
cvFAX();
});
});
</script>
{% if (current_path == 'top/index' or current_path == 'main-category/index' or current_path == 'sub-category/index') %}
<script>
$(function () {
var height = window.innerHeight || $(window).height();
$('img')
.not('.lazy').not('[data-src]').not('.bxslider *').not('[class^="rollover"]').each(function () {
var $img = $(this);
var offset = $img.offset();
var top = offset.top;
var src = $img.attr('src');
// 1stビュー以外の画像ファイル全てに適用
if (height < top) {
$img.attr('data-src', src).removeAttr('src').addClass('lazy');
}
});
});
</script>
<script>
window.lazySizesConfig = {
lazyClass: 'lazy'
};
</script>
<script src="https://unpkg.com/lazysizes@5.1.1/lazysizes.js" async=""></script>
{% endif %}
{% set isYtLazy = false %}
{% if isYtLazy %}
<style>
.ytlazy {
position: relative;
cursor: pointer;
}
.movie_frame .ytlazy {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.ytlazy > .ytlazy-btn {
position: absolute;
top: calc(100% / 2 - 2em);
left: calc(100% / 2 - 3em);
/**/
padding: 1em 2em;
border-radius: 20%;
/**/
background: rgba(25, 25, 25, .75);
color: white;
}
.ytlazy:hover .ytlazy-btn {
/**/
background: red;
color: white;
}
.ytlazy > .ytlazy-btn:after {
content: '▶';
font-size: 1.75em;
}
.ytlazy > img {
object-fit: cover;
}
</style>
<script>
$(function () {
// YouTube.Lazy - 元々手動再生の場合、手動遅延読込みで自動再生
const $ytLazy = $('.ytlazy').on('click', function (e) {
const $img = $(this).children('img');
const $iframe = $('<iframe />');
//
$img.each(function (i) {
$iframe.attr(this.dataset);
})
//
$(this).replaceWith($iframe);
});
// YouTube.Lazy - 元々自動再生の場合、自動遅延読込みで自動再生
$(window).on('load', function (e) {
setTimeout(function () {
$ytLazy.has('[data-auto-play="1"]').click()
}, 100);
});
});
</script>
{% endif %}
{% if isSliderEnabled() %}
<style>
.swiper-slide img {
display: block;
max-width: 100%;
}
.swiper-container {
margin-left: auto;
margin-right: auto;
position: relative;
overflow: hidden;
list-style: none;
padding: 0;
z-index: 1;
}
</style>
<link rel="stylesheet" type="text/css" href="https://unpkg.com/swiper@7.0.7/swiper-bundle.min.css" />
<script async src="https://unpkg.com/swiper@7.0.7/swiper-bundle.min.js"></script>
<script>
window.addEventListener('load', function () {
//
setTimeout(function () {
//
for (let e of document.getElementsByClassName('swiper-slide')) {
e.style.display = "list-item";
}
//
new Swiper( '.swiper-container', {
loop: true,
autoplay: {
delay: 4000,
disableOnInteraction: false,
},
speed: 400,
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
pagination: {
el: '.swiper-pagination', clickable: true
},
scrollbar: {
el: '.swiper-scrollbar',
},
slidesPerView: 1
} );
}, 250);
});
</script>
{% endif %}