<div class="ec-drawer_hamburger flex-adjustment">
<div class="ec-drawer_hamburger__top">
{% if is_granted('ROLE_USER') %}
<a href="{{ url('mypage') }}" class="ec-drawer_hamburger__login">
<span class="">{{ 'マイページ'|trans }}</span>
</a>
{% else %}
<a href="{{ url('mypage_login') }}" class="ec-drawer_hamburger__login">
<span class="">{{ 'ログイン'|trans }}</span>
</a>
{% endif %}
<div class="ec-drawer_hamburger__search">
{{ render(path('block_search_product')) }}
</div>
{{ include('Block/category_menu_sp.twig') }}
<div class="ec-drawer_hamburger__sns">
{{ include('Block/sns.twig') }}
</div>
</div>
<div class="ec-drawer_hamburger__menus">
<a class="ec-drawer_hamburger__menus__link" href="{{ url('cart') }}">
<div class="ec-drawer_hamburger__menus__link__img">
<img src="{{ asset('assets/img/common/drawer/cart.svg') }}" alt="カートみる" width="24" height="24" loading="lazy">
</div>
<span>{{ 'カートを見る'|trans }}</span>
</a>
<a href="{{ url('history_product_list') }}" class="ec-drawer_hamburger__menus__link">
<div class="ec-drawer_hamburger__menus__link__img">
<img src="{{ asset('assets/img/common/drawer/purchase.svg') }}" alt="お気に入り" width="24" height="24" loading="lazy">
</div>
<span>購入履歴</span>
</a>
<a class="ec-drawer_hamburger__menus__link" href="{{ url('mypage_favorite') }}">
<div class="ec-drawer_hamburger__menus__link__img">
<img src="{{ asset('assets/img/common/drawer/favorite.svg') }}" alt="お気に入り" width="24" height="24" loading="lazy">
</div>
<span>{{ 'お気に入り'|trans }}</span>
</a>
<a href="{{ url('contact') }}" class="ec-drawer_hamburger__menus__link">
<div class="ec-drawer_hamburger__menus__link__img">
<img src="{{ asset('assets/img/common/drawer/help.svg') }}" alt="ヘルプ" width="24" height="24" loading="lazy">
</div>
<span>ヘルプ</span>
</a>
</div>
<button class="sp-hamburger_close"><i class="fas fa-times"></i></button>
</div>