{#
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.
#}
{% block stylesheet %}
<style>
{# li ul li div:nth-child(1) {
display:none;
} #}
</style>
{% endblock %}
{% set Categories = repository('Eccube\\Entity\\Category').getList() %}
{% macro tree(Category) %}
{% from _self import tree %}
<a href="{{ url('product_list') }}?category_id={{ Category.id }}" class="l-categorynav_list_pc brandIconImg fs18">
<span id="category_icon_pc_{{ Category.id }}" class="l-categorynav_title fs18">{{ Category.name }}</span>
</a>
{% if Category.children|length > 0 %}
<ul>
<li>
{% for ChildCategory in Category.children %}
{% if ChildCategory.id is not same as(149) %}
<div>
{{ tree(ChildCategory) }}
</div>
{% endif %}
{% endfor %}
</li>
</ul>
{% endif %}
{% endmacro %}
{# @see https://github.com/bolt/bolt/pull/2388 #}
{% from _self import tree %}
<div class="ec-itemNav displayPc">
<ul class="ec-itemNav__nav">
{% for Category in Categories %}
<li class="categoryList">
{{ tree(Category) }}
</li>
{% endfor %}
{# <li>
<a href="#" class="fs14 piNone">ガイド</a>
<ul>
<li>
<a href="https://frontlines.jp/about-frontline/" class="fs14">フロントラインについて</a>
</li>
<li>
<a href="https://frontlines.jp/guide/" class="fs14">ご利用ガイド</a>
</li>
</ul>
</li> #}
<li>
<a href="https://shichiyo.co.jp/contact/?source=1" class="fs18">お問い合わせ</a>
</li>
<li>
<a href="{{url('faq')}}" class="fs18">FAQ</a>
</li>
<li>
<a href="https://fix.customer-support.shop/" class="fs18">修理受付</a>
</li>
<li>
<a href="https://shichiyo.co.jp/newtransaction/" class="fs18">新規お取引</a>
</li>
</ul>
</div>
{{ include('JoolenCategoryIcon4/Resource/template/default/category_icon_pc.twig', ignore_missing = true) }}