<aside class="searchSide">
<div class="sideBox sort">
<form name="page_navi_top" id="page_navi_top" action="?">
<div id="result_info_box__menu_box" class="no-padding ec-searchnavRole__actions">
<ul id="result_info_box__menu" class="pagenumberarea clearfix ec-select">
<li id="result_info_box__disp_menu">
{{ form_widget(disp_number_form_in_sbox, {'id': '', 'attr': {'class': 'disp-number'}}) }}
</li>
<li id="result_info_box__order_menu">
{{ form_widget(order_by_form_in_sbox, {'id': '', 'attr': {'class': 'order-by'}}) }}
</li>
</ul>
</div>
</form>
</div>
<div class="spNavOption">
<h2 class="blockTtl03">絞り込み検索</h2>
<p id="btn_menu"><a class="nav-trigger nav-trigger02 active">Menu<span></span></a></p>
</div>
<form method="get" action="/products/list" id="searchForm01">
<div class="sideBox keyword">
<h2 class="blockTtl02">キーワード</h2>
<div class="toolBox01">
<input type="text" name="name" placeholder="キーワードを入力" value="{% if Params.name is defined %}{{ Params.name }}{% endif %}">
</div>
</div>
<div class="sideBox itemCategory">
<h2 class="blockTtl02">アイテムカテゴリ</h2>
<ul>
{% for Category in SearchCategories['item'] %}
<li {% if Category.getChildren is not empty %}class="hasChild"{% endif %}>
<label for="cate_{{ Category.id }}">
<input type="checkbox" id="cate_{{ Category.id }}" value="{{ Category.id }}" name="multi_category[{{ Category.id }}]" {% if Params['multi_category'][Category.id] is defined %}checked{% endif %}>
{{ Category.name }}
</label>
{% if Category.getChildren is not empty and Category.id != 10 %}
<img src="/html/template/raspia/img/common/ico_b_black_new.webp" alt="開閉矢印" class="afterImg">
<ul class="childList">
{% for ChildCategory in Category.Children %}
<li>
<label for="cate_{{ ChildCategory.id }}">
<input type="checkbox" id="cate_{{ ChildCategory.id }}" value="{{ ChildCategory.id }}" name="multi_category[{{ ChildCategory.id }}]" {% if Params['multi_category'][ChildCategory.id] is defined %}checked{% endif %}>
{{ ChildCategory.name }}
</label>
</li>
{% endfor %}
</ul>
{% endif %}
</li>
{% endfor %}
</ul>
</div>
<div class="sideBox jewelry">
<h2 class="blockTtl02">宝石・天然石</h2>
<ul>
{% for Category in SearchCategories['jewely'] %}
{% if Category.getChildren is not empty %}
{% for key,Category in Category.Children %}
<li>
<label for="cate_{{ Category.id }}">
<input type="checkbox" id="cate_{{ Category.id }}" value="{{ Category.id }}" name="multi_category[{{ Category.id }}]" {% if Params['multi_category'][Category.id] is defined %}checked{% endif %}>
{{ Category.name }}
</label>
</li>
{% if key == 11 %}
</ul><ul class='hiddenList' style="display:none;">
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
</ul>
<div class="txtBtn01 openTrigger01"><span class="bold">+</span> もっと見る</div>
</div>
<div class="sideBox bitrhStone">
<h2 class="blockTtl02">誕生石</h2>
<ul>
{% for Category in SearchCategories['birthStone'] %}
{% if Category.getChildren is not empty %}
{% for Category in Category.Children %}
<li>
<label for="cate_{{ Category.id }}">
<input type="checkbox" id="cate_{{ Category.id }}" value="{{ Category.id }}" name="multi_category[{{ Category.id }}]" {% if Params['multi_category'][Category.id] is defined %}checked{% endif %}>
{{ Category.name }}
</label>
</li>
{% endfor %}
{% endif %}
{% endfor %}
</ul>
</div>
<div class="sideBox color">
<h2 class="blockTtl02">色</h2>
<ul>
{% for Category in SearchCategories['color'] %}
{% if Category.getChildren is not empty %}
{% for Category in Category.Children %}
<li>
<label for="cate_{{ Category.id }}">
<input type="checkbox" id="cate_{{ Category.id }}" value="{{ Category.id }}" name="multi_category[{{ Category.id }}]" {% if Params['multi_category'][Category.id] is defined %}checked{% endif %}>
{{ Category.name }}
</label>
</li>
{% endfor %}
{% endif %}
{% endfor %}
</ul>
</div>
<div class="sideBox series">
<h2 class="blockTtl02">商品シリーズ</h2>
<ul>
{% for Category in SearchCategories['series'] %}
{% if Category.getChildren is not empty %}
{% for Category in Category.Children %}
<li {% if Category.getChildren is not empty %}class="hasChild"{% endif %}>
<label for="cate_{{ Category.id }}">
<input type="checkbox" id="cate_{{ Category.id }}" value="{{ Category.id }}" name="multi_category[{{ Category.id }}]" {% if Params.multi_category[Category.id] is defined %}checked{% endif %}>
<!--<img src="/html/template/raspia/img/common/side/img_series_{{ Category.id }}.webp" alt="画像" class="thumbImg">-->
{{ Category.name }}
</label>
{% if Category.Children %}
<ul class="childList type02">
{% for Category in Category.Children %}
<li>
<label for="cate_{{ Category.id }}">
<input type="checkbox" id="cate_{{ Category.id }}" value="{{ Category.id }}" name="multi_category[{{ Category.id }}]" {% if Params.multi_category[Category.id] is defined %}checked{% endif %}>
<!--<img src="/html/template/raspia/img/common/side/img_category_child_{{ Category.id }}.webp" alt="画像" class="thumbImg">-->
{{ Category.name }}
</label>
</li>
{% endfor %}
</ul>
{% endif %}
</li>
{% endfor %}
{% endif %}
{% endfor %}
</ul>
</div>
<div class="sideBox price">
<h2 class="blockTtl02">価格</h2>
<ul>
<li><label for="pricerange_1"><input type="checkbox" name="pricerange[0]" id="pricerange_1" value="0-20000" {% if Params.pricerange[0] is defined %}checked{% endif %}><span>下限無し 〜 20,000円</span></label></li>
<li><label for="pricerange_2"><input type="checkbox" name="pricerange[1]" id="pricerange_2" value="20001-40000" {% if Params.pricerange[1] is defined %}checked{% endif %}><span>20,001円 〜 40,000円</span></label></label></li>
<li><label for="pricerange_3"><input type="checkbox" name="pricerange[2]" id="pricerange_3" value="40001-60000" {% if Params.pricerange[2] is defined %}checked{% endif %}><span>40,001円 〜 60,000円</span></label></li>
<li><label for="pricerange_4"><input type="checkbox" name="pricerange[3]" id="pricerange_4" value="60001-80000" {% if Params.pricerange[3] is defined %}checked{% endif %}><span>60,001円 〜 80,000円</span></label></li>
<li><label for="pricerange_5"><input type="checkbox" name="pricerange[4]" id="pricerange_5" value="80001-100000" {% if Params.pricerange[4] is defined %}checked{% endif %}><span>80,001円 〜 100,000円</span></label></li>
<li><label for="pricerange_6"><input type="checkbox" name="pricerange[5]" id="pricerange_6" value="100001-0" {% if Params.pricerange[5] is defined %}checked{% endif %}><span>100,001円 〜 上限無し</span></label></li>
</ul>
<div class="boxFlex01">
{# <input type="number" name="price_min" placeholder="下限なし" value="{% if Params.price_min is defined %}{{ Params.price_min }}{% endif %}">
<input type="number" name="price_max" placeholder="上限なし" value="{% if Params.price_max is defined %}{{ Params.price_max }}{% endif %}"> #}
</div>
</div>
<div class="sideBox material">
<h2 class="blockTtl02">素材</h2>
<ul>
{% for Category in SearchCategories['material'] %}
{% if Category.getChildren is not empty %}
{% for Category in Category.Children %}
<li>
<label for="cate_{{ Category.id }}">
<input type="checkbox" id="cate_{{ Category.id }}" value="{{ Category.id }}" name="multi_category[{{ Category.id }}]" {% if Params.multi_category[Category.id] is defined %}checked{% endif %}>
{{ Category.name }}
</label>
</li>
{% endfor %}
{% endif %}
{% endfor %}
</ul>
</div>
<div class="sideBox submit">
<button type="button" class="resetBtn box01">クリア</button>
<button type="submit" class="searchBtn">検索</button>
</div>
</form>
</aside>