<!doctype html>
{#
This file is part of EC-CUBE
Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
http://www.ec-cube.co.jp/
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
{% set current_path = app.request.get('_route') %}
{# パンクズの一括管理 #}
{% if BreadCrumbs is not defined %}
{% set BreadCrumbs = ['none'] %}
{% endif %}
<html lang="{{ eccube_config.locale }}">
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# product: http://ogp.me/ns/product#">
<meta charset="utf-8">
{% if wannaSeePc() %}
<meta name="viewport" content="width=990, initial-scale=1, shrink-to-fit=no">
{% else %}
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
{% endif %}
<meta name="eccube-csrf-token" content="{{ csrf_token(constant('Eccube\\Common\\Constant::TOKEN_NAME')) }}">
{% include 'Common/canonical.twig' %}
{% if MetaTags is not defined %}
{% set MetaTags = [] %}
{% endif %}
{{ SetMetaTags(MetaTags)|raw}}
<meta name="sentry-trace" content="{{ getToTraceParent() }}" />
<meta name="baggage" content="sentry-trace_id={{ getTrackId() }}" />
{#% if Page.meta_tags is not empty %}
{{ include(template_from_string(Page.meta_tags)) }}
{% if Page.description is not empty %}
<meta name="description" content="{{ Page.description }}">
{% endif %}
{% else %}
{{ include('meta.twig') }}
{% endif %#}
{# 全ページ共通メタタグ #}
<link rel="shortcut icon" href="https://img0.land-mark.biz/ut_img/public_images/favicon.ico">
<link rel="apple-touch-icon" href="https://img0.land-mark.biz/ut_img/public_images/apple-touch-icon.png">
<link rel="icon" type="image/png" href="https://img0.land-mark.biz/ut_img/public_images/android-chrome-256x256.png">
<link rel="stylesheet" rel="dns-prefetch" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
<link rel="stylesheet" rel="dns-prefetch" href="https://use.fontawesome.com/releases/v5.6.1/css/all.css">
<link rel="stylesheet" href="{{ asset('assets/css/style.min.css') }}?v=20240313">
{{ LmCssList()|raw }}
{% include 'init/stylesheet.twig' %}
{% block stylesheet %}{% endblock %}
<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
<script>
$(function() {
$.ajaxSetup({
'headers': {
'ECCUBE-CSRF-TOKEN': $('meta[name="eccube-csrf-token"]').attr('content')
}
});
});
</script>
{# Layout: HEAD #}
{% if Layout.Head %}
{{ include('block.twig', {'Blocks': Layout.Head}) }}
{% endif %}
{# プラグイン用styleseetやmetatagなど #}
{% if plugin_assets is defined %}{{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}{% endif %}
{# <link rel="stylesheet" href="{{ asset('assets/css/customize.css', 'user_data') }}"> #}
{% include 'Common/dataLayer.twig' %}
{% if php_env('APP_ENV') == 'prod' %}
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-5259DT');</script>
<!-- End Google Tag Manager -->
{% else %}
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-TJ2GNKW');</script>
<!-- End Google Tag Manager -->
{% endif %}
</head>
<body id="page_{{ app.request.get('_route') }}" class="{{ body_class|default('other_page') }}">
{% spaceless %}
{% if php_env('APP_ENV') == 'prod' %}
<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-5259DT"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager -->
{% else %}
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TJ2GNKW"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
{% endif %}
{% if wannaSeePc() %}
<div>
<a id="to-sp-page" href="/?device_view=mobile">
<img alt="スマートフォンサイトを表示" src="https://img0.land-mark.biz/ut_img/public_images/sp/to_sp.jpg">
</a>
</div>
{% endif %}
{# Layout: BODY_AFTER #}
{% if Layout.BodyAfter %}
{{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
{% endif %}
<div class="ec-layoutRole">
<div id="header">
{# Layout: HEADER #}
{% if Layout.Header %}
<div class="ec-layoutRole__header">
{{ include('block.twig', {'Blocks': Layout.Header}) }}
</div>
{% endif %}
{# Layout: CONTENTS_TOP #}
{% if Layout.ContentsTop %}
<div class="ec-layoutRole__contentTop" id="header-4">
{{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
</div>
{% endif %}
{# LM: After contents_top. #}
{% block lm_after_contents_top %}{% endblock %}
</div>
<div id="contents_wrapper">
<div class="ec-layoutRole__contents">
{# Layout: SIDE_LEFT #}
{% if Layout.SideLeft %}
<div class="ec-layoutRole__left" id="lmenu" data-layout="calendar_layout">
{{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
</div>
{% endif %}
{% set layoutRoleMain = 'ec-layoutRole__main' %}
{% if Layout.ColumnNum == 2 %}
{% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
{% elseif Layout.ColumnNum == 3 %}
{% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
{% endif %}
<div class="{{ layoutRoleMain }}" id="contents">
{# Layout: MAIN_TOP #}
{% if Layout.MainTop %}
<div class="ec-layoutRole__mainTop">
{{ include('block.twig', {'Blocks': Layout.MainTop}) }}
</div>
{% endif %}
{# MAIN AREA #}
{% set current_path = app.request.get('_route') %}
{% set paths_use_custom_breadcrumb = ['estimate', 'estimate_with_id', 'cart', 'shopping_login'] %}
{% if (current_path == 'item/detail' and isMobile is defined and isMobile) or current_path in paths_use_custom_breadcrumb %}
{% else %}
{{ SetBreadCrumb(BreadCrumbs)|raw}}
{% endif %}
{% block main %}{% endblock %}
{# Layout: MAIN_Bottom #}
{% if Layout.MainBottom %}
<div class="ec-layoutRole__mainBottom">
{{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
</div>
{% endif %}
</div>
{# Layout: SIDE_RIGHT #}
{% if Layout.SideRight %}
<div class="ec-layoutRole__right">
{{ include('block.twig', {'Blocks': Layout.SideRight}) }}
</div>
{% endif %}
</div>
<div class="ec-layoutRole__contentBottom">
{# LM: Before contents_bottom. #}
{% block lm_before_contents_bottom %}{% endblock %}
{# Layout: CONTENTS_BOTTOM #}
{% if Layout.ContentsBottom %}
{{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
{% endif %}
</div>
</div>
{# Layout: CONTENTS_FOOTER #}
{% if Layout.Footer and (isHiddenOnEstimateMobile is not defined or isHiddenOnEstimateMobile == false) %}
<div class="ec-layoutRole__footer" id="footer">
{{ include('block.twig', {'Blocks': Layout.Footer}) }}
</div>
{% endif %}
{% block lm_estimate_footer %}{% endblock %}
</div><!-- ec-layoutRole -->
<div class="ec-overlayRole"></div>
<div class="ec-drawerRoleClose"><i class="fas fa-times"></i></div>
<div class="ec-drawerRole">
{# Layout: DRAWER #}
{% if Layout.Drawer %}
{{ include('block.twig', {'Blocks': Layout.Drawer}) }}
{% endif %}
</div>
{#<div class="ec-blockTopBtn pagetop">{{'common.pagetop'|trans}}</div>#}
<script async defer type="text/javascript" src="/javascripts/item.js?20230228_01"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/jquery.slick/1.6.0/slick.min.js"></script>
{% include('@common/lang.twig') %}
<script async src="{{ asset('assets/js/function.js') }}"></script>
<script async src="{{ asset('assets/js/eccube.js') }}"></script>
{% include 'init/javascript.twig' %}
{% block javascript %}{% endblock %}
{# Layout: CLOSE_BODY_BEFORE #}
{% if Layout.CloseBodyBefore %}
{{ include('block.twig', {'Blocks': Layout.CloseBodyBefore}) }}
{% endif %}
{# プラグイン用Snippet #}
{% if plugin_snippets is defined %}
{{ include('snippet.twig', { snippets: plugin_snippets }) }}
{% endif %}
{# <script src="{{ asset('assets/js/customize.js', 'user_data') }}"></script> #}
<script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', function() {
navigator.serviceWorker.register('/javascripts/workers/service-worker.js?20240129').then(function(registration) {
console.log('ServiceWorker registration successful with scope: ', registration.scope);
}, function(err) {
console.log('ServiceWorker registration failed: ', err);
});
});
}
$('a[href^="tel:"]').on('click', function (e) {
var fromUrl = window.location.href;
$.ajax({
type: "POST",
url: "{{ url('ajax_karte_tel_inquiry') }}",
data: {
fromUrl: fromUrl
},
dataType: 'json'
}).done(function(response) {
if (response && response.data && response.data.script) {
var script = JSON.parse(response.data.script);
script = script.replace(/\\\//g, "/");
$('body').append(script);
}
});
});
</script>
{% endspaceless %}
</body>
</html>