{#This file is part of EC-CUBECopyright(c) EC-CUBE CO.,LTD. All Rights Reserved.http://www.ec-cube.co.jp/For the full copyright and license information, please view the LICENSEfile that was distributed with this source code.#}{% set totalQuantity = get_carts_total_quantity() %}<div class=""> <div class="header"> <div class="header__inner"> <div class="header__title">木こりがいない時代だからこそ、テクノロジーで森を守る。植林が未来の町を守り、地域を豊かにする。</div> <button class="header__action" onclick="window.location.href='{{ url('help_about') }}'" aria-label="運営について"> <span class="header__action-text">運営について</span> <img class="header__action-icon" src="{{ asset('assets/img/default/icons/icon-header-action.svg') }}" alt="" width="24" height="24" /> </button> </div> </div> <!-- menu --> <div class="header__menu header__menu-only"> <div class="header__menu-inner"> <div class="header__brand"> <a href="{{ url('homepage') }}"> <img class="header__brand-logo" src="{{ asset('assets/img/default/icons/logo.svg') }}" alt="WoodTech" width="209" height="32" /> </a> <span class="header__brand-caption">炭から始まる明るい未来</span> <div class="header__brand-caption-line"> </div> </div> <div class="header__utility"> <nav class="header__nav" aria-label="グローバルナビ"> <ul class="header__nav-list"> <li class="header__nav-item"><a class="header__nav-link {% if app.request.uri == url('homepage') %}is-active{% endif %}" href="{{ url('homepage') }}">トップ</a></li> <li class="header__nav-item"><a class="header__nav-link {% if app.request.uri == url('product_list') %}is-active{% endif %}" href="{{ url('product_list') }}">備長炭一覧</a></li> <li class="header__nav-item"><a class="header__nav-link {% if app.request.uri == url('news_list') %}is-active{% endif %}" href="{{ url('news_list') }}">お知らせ</a></li> <li class="header__nav-item"><a class="header__nav-link {% if app.request.uri == url('contact') %}is-active{% endif %}" href="{{ url('contact') }}">お問い合わせ</a></li> </ul> </nav> <a class="header__utility-item" href="{{ url('mypage') }}"> <img class="header__utility-icon" src="{{ asset('assets/img/default/icons/icon-user.svg') }}" alt="" width="32" height="32" /> <span class="header__utility-label">マイページ</span> </a> <span class="header__utility-sep" aria-hidden="true"></span> <a class="header__utility-item relative" href="{{ url('cart') }}"> <div class="cart-badge"> <span class="cart-badge-text">{{ totalQuantity }}</span> </div> <img class="header__utility-icon" src="{{ asset('assets/img/default/icons/icon-cart.svg') }}" alt="" width="32" height="32" /> <span class="header__utility-label">カート</span> </a> <a class="header__utility-item header__utility-item-menu" href="#" onclick="javascript:void(0);" id="mobile-menu-button"> <img class="header__utility-icon header__utility-icon-menu" src="{{ asset('assets/img/default/icons/icon-menu.svg') }}" alt="" width="32" height="32" /> <svg class="header__utility-icon header__utility-icon-close" width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" style="display: none;"> <path d="M8 8L24 24M24 8L8 24" stroke="#FFFFFF" stroke-width="2" stroke-linecap="round"/> </svg> <span class="header__utility-label text-white">メニュー</span> </a> </div> </div> </div> <!-- menu mobile only --> <div class="mobile-only-1200"> <div class="header__menu-mobile" id="mobile-menu"> <div class="header__menu-mobile-inner"> <div class="header__menu-mobile-nav"> <a class="header__menu-mobile-item" href="{{ url('homepage') }}"> <span class="header__menu-mobile-text">ホーム</span> <img class="header__menu-mobile-arrow" src="{{ asset('assets/img/default/icons/icon-arrow-nav.svg') }}" alt="" width="24" height="24" /> </a> <a class="header__menu-mobile-item" href="{{ url('product_list') }}"> <span class="header__menu-mobile-text">備長炭一覧</span> <img class="header__menu-mobile-arrow" src="{{ asset('assets/img/default/icons/icon-arrow-nav.svg') }}" alt="" width="24" height="24" /> </a> <a class="header__menu-mobile-item" href="{{ url('news_list') }}"> <span class="header__menu-mobile-text">お知らせ</span> <img class="header__menu-mobile-arrow" src="{{ asset('assets/img/default/icons/icon-arrow-nav.svg') }}" alt="" width="24" height="24" /> </a> <a class="header__menu-mobile-item" href="{{ url('contact') }}"> <span class="header__menu-mobile-text">お問い合わせ</span> <img class="header__menu-mobile-arrow" src="{{ asset('assets/img/default/icons/icon-arrow-nav.svg') }}" alt="" width="24" height="24" /> </a> <a class="header__menu-mobile-item" href="{{ url('help_faq') }}"> <span class="header__menu-mobile-text">よくある質問</span> <img class="header__menu-mobile-arrow" src="{{ asset('assets/img/default/icons/icon-arrow-nav.svg') }}" alt="" width="24" height="24" /> </a> <a class="header__menu-mobile-item" href="{{ url('help_guide') }}"> <span class="header__menu-mobile-text">ご利用ガイド</span> <img class="header__menu-mobile-arrow" src="{{ asset('assets/img/default/icons/icon-arrow-nav.svg') }}" alt="" width="24" height="24" /> </a> {% if is_granted('ROLE_USER') %} <a class="header__menu-mobile-item" href="{{ url('mypage') }}"> <span class="header__menu-mobile-text">ご注文履歴</span> <img class="header__menu-mobile-arrow" src="{{ asset('assets/img/default/icons/icon-arrow-nav.svg') }}" alt="" width="24" height="24" /> </a> <a class="header__menu-mobile-item" href="{{ url('logout') }}"> <span class="header__menu-mobile-text">ログアウト</span> <img class="header__menu-mobile-arrow" src="{{ asset('assets/img/default/icons/icon-arrow-nav.svg') }}" alt="" width="24" height="24" /> </a> {% else %} <a class="header__menu-mobile-item" href="{{ url('entry') }}"> <span class="header__menu-mobile-text">会員登録</span> <img class="header__menu-mobile-arrow" src="{{ asset('assets/img/default/icons/icon-arrow-nav.svg') }}" alt="" width="24" height="24" /> </a> <a class="header__menu-mobile-item" href="{{ url('mypage_login') }}"> <span class="header__menu-mobile-text">ログイン</span> <img class="header__menu-mobile-arrow" src="{{ asset('assets/img/default/icons/icon-arrow-nav.svg') }}" alt="" width="24" height="24" /> </a> {% endif %} </div> <div class="header__menu-mobile-legal"> <a class="header__menu-mobile-legal-item" href="{{ url('help_about') }}"> <img class="header__menu-mobile-legal-icon" src="{{ asset('assets/img/default/icons/icon-arrow-legal.svg') }}" alt="" width="12" height="12" /> <span class="header__menu-mobile-legal-text">利用規約</span> </a> <a class="header__menu-mobile-legal-item" href="{{ url('help_privacy') }}"> <img class="header__menu-mobile-legal-icon" src="{{ asset('assets/img/default/icons/icon-arrow-legal.svg') }}" alt="" width="12" height="12" /> <span class="header__menu-mobile-legal-text">プライバシーポリシー</span> </a> <a class="header__menu-mobile-legal-item" href="{{ url('help_tradelaw') }}"> <img class="header__menu-mobile-legal-icon" src="{{ asset('assets/img/default/icons/icon-arrow-legal.svg') }}" alt="" width="12" height="12" /> <span class="header__menu-mobile-legal-text">特定商取引法に基づく表記</span> </a> </div> </div> </div> </div> <!-- button floating --> <div class="button-floating button-floating-desktop"> <a class="button-floating__item button-floating__item--reorder" href="{{ url('product_list') }}"> <img class="button-floating__icon" src="{{ asset('assets/img/default/icons/icon-box-filled.svg') }}" alt="" width="32" height="32" /> <span class="button-floating__text">らくらく再注文</span> </a> <a class="button-floating__item button-floating__item--contact" href="{{ url('contact') }}"> <img class="button-floating__icon" src="{{ asset('assets/img/default/icons/icon-mail-outline.svg') }}" alt="" width="32" height="32" /> <span class="button-floating__text">お問い合わせ</span> </a> </div> <div class="button-floating-mobile"> <a class="button-floating-mobile__reorder" href="{{ url('product_list') }}"> <img class="button-floating-mobile__icon" src="{{ asset('assets/img/default/icons/icon-box-filled.svg') }}" alt="" width="24" height="24" /> <span class="button-floating-mobile__text">らくらく再注文</span> </a> <a class="button-floating-mobile__contact" href="{{ url('contact') }}" aria-label="お問い合わせ"> <img class="button-floating-mobile__icon" src="{{ asset('assets/img/default/icons/icon-mail-outline.svg') }}" alt="" width="24" height="24" /> </a> </div></div>