{% set cache = 'now'|date('U') %}
{% set cache = "?#{cache}" %}
{# {% set cache = "" %} #}
{% set url = app.request.query.get('page') %}
<!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.
#}
<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">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="eccube-csrf-token" content="{{ csrf_token(constant('Eccube\\Common\\Constant::TOKEN_NAME')) }}">
{% if Page.url is same as('homepage') %}
<title>{{ BaseInfo.shop_name }}|{{ subtitle }}</title>
{% else %}
<title>{% if subtitle is defined and subtitle is not empty %}{{ subtitle }}|{% elseif title is defined and title is not empty %} {{ title }}|{% endif %}{{ BaseInfo.shop_name }}</title>
{% endif %}
{% if Page.author is not empty %}
<meta name="author" content="{{ Page.author }}">
{% endif %}
{% if Page.description is not empty %}
<meta name="description" content="{{ Page.description }}">
{% endif %}
{% if Page.keyword is not empty %}
<meta name="keywords" content="{{ Page.keyword }}">
{% endif %}
{% if Page.meta_robots is not empty %}
<meta name="robots" content="{{ Page.meta_robots }}">
{% endif %}
{% if Page.meta_tags is not empty %}
{{ include(template_from_string(Page.meta_tags)) }}
{% endif %}
{# <link rel="icon" href="{{ asset('assets/img/common/favicon.ico', 'user_data') }}"> #}
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
<link rel="stylesheet" href="//cdn.jsdelivr.net/jquery.slick/1.6.0/slick.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link rel="stylesheet" href="{{ asset('assets/css/style.css') }}">
<link rel="stylesheet" href="{{ asset('assets/css/customize.css', 'user_data') }}">
{{ include_dispatch('Block/heading.twig') }}
{% block stylesheet %}{% endblock %}
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" 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 %}
<meta name="google-site-verification" content="_KE2Cs_60EnqwBMe_c0_xGYfSEu7-WsjGbky2M7kSfo" />
</head>
{% if Page.url is same as('homepage') %}
{% set bodyClass = '' %}
{% else %}
{% set bodyClass = 'sub_page' %}
{% endif %}
<body id="page_{{ app.request.get('_route') }}" class="{{ body_class|default('other_page') }} {{ bodyClass }}">
<div class="ec-layoutRole">
<div class="ec-layoutRole__header">
{% if (url == 'test') %}
{{ include_dispatch('Block/test_header.twig') }}
{% else %}
{{ include_dispatch('Block/header.twig') }}
{% endif %}
</div>
<div class="ec-layoutRole__contents">
{% set layoutRoleMain = 'ec-layoutRole__main' %}
<div class="{{ layoutRoleMain }}">
<main>
{% if Page.url is not same as('homepage') %}
{{ include_dispatch('Block/mainimg.twig') }}
{% endif %}
{% block main %}{% endblock %}
</main>
</div>
</div>
<div class="ec-layoutRole__footer">
{% if (url == 'test') %}
{{ include_dispatch('Block/test_footer.twig') }}
{% else %}
{{ include_dispatch('Block/footer.twig') }}
{% endif %}
</div>
</div><!-- ec-layoutRole -->
<div class="ec-overlayRole"></div>
<div class="ec-drawerRoleClose"><i class="fas fa-times"></i></div>
<div class="ec-drawerRole">
{{ include_dispatch('Block/login_sp.twig') }}
{{ include_dispatch('Block/category_nav_sp.twig') }}
{# {% if Layout.Drawer %}
{{ include('block.twig', {'Blocks': Layout.Drawer}) }}
{% endif %} #}
</div>
<div class="ec-blockTopBtn pagetop">{{'ページトップへ'|trans}}</div>
<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 src="{{ asset('assets/js/function.js') }}"></script>
<script src="{{ asset('assets/js/eccube.js') }}"></script>
{% block javascript %}{% endblock %}
{# プラグイン用Snippet #}
{% if plugin_snippets is defined %}
{{ include('snippet.twig', { snippets: plugin_snippets }) }}
{% endif %}
<script src="{{ asset('assets/js/customize.js', 'user_data') }}"></script>
<script type="text/javascript" src="{{ asset('assets/js/vue.js') }}{{ cache }}"></script>
{% if (url == 'test') %}
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
<script type="text/javascript" src="{{ asset('assets/js/instagram.js') }}{{ cache }}"></script>
{% endif %}
<script>
$(function() {
// smoothScroll()
// naviMenu1();//ハンバーガーメニュー
retinaSrcset()//retina対応
// anchorLinkToOtherPage()//アンカーリンクのスムーズスクロール(アンカーリンク)
// smoothScroll()//スムーズスクロール
// GoToTop();
// if (window.matchMedia( "(min-width: 769px)" ).matches) {
//テスト用ページ
// forTestPage()
fixedHeader()
// }
// windowsSizeSrcset()
// mobileSizeSrcset()
});
</script>
<script>
</script>
<script src="//cdnjs.cloudflare.com/ajax/libs/picturefill/3.0.3/picturefill.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/object-fit-images/3.2.4/ofi.min.js"></script>
<script>objectFitImages();</script>
</body>
</html>