{% extends 'default_frame.twig' %}
{% block javascript %}
<script>
</script>
{% endblock %}
{% block stylesheet %}
<style>
.fcolbox .subtxt1 p:nth-child(odd){
max-width: 10em;
}
</style>
{% endblock %}
{% block main %}
<div class="comuni"><h1 class="title_bar nikke">店舗情報</h1>
<!--内容ここから-->
<div class="fcolbox shopinfo">
{% for Store in Stores %}
{% if Store.visible %}
<div class="col2">
<h5>{{Store.store_name}}</h5>
<div class="subtxt1">
<p>所在地</p>
<p>〒{{Store.zip01}}-{{Store.zip02}}<br>
{% if Store.Pref is not null %}{{Store.Pref.name}}{% endif %}
{% if Store.addr01 is not null %}{{Store.addr01}}{% endif %}
{% if Store.addr02 is not null %}{{Store.addr02}}{% endif %}
</p>
{% if Store.phone_number is not null %}
<p>電話番号</p>
<p>{{Store.phone_number}}</p>
{% endif %}
{% if Store.staff_name is not null %}
<p>担当者名</p>
<p>{{Store.staff_name}}</p>
{% endif %}
<p>営業時間</p>
<p>
{% if Store.business_start_time is not null %}{{Store.business_start_time|date('H:i')}}{% endif %}〜
{% if Store.business_end_time is not null %}{{Store.business_end_time|date('H:i')}}{% endif %}
</p>
{% if Store.email01 is not null %}
<p>メールアドレス1</p>
<p>
{{Store.email01}}
</p>
{% endif %}
{% if Store.email02 is not null %}
<p>メールアドレス2</p>
<p>
{{Store.email02}}
</p>
{% endif %}
{% if Store.fax_number is not null %}
<p>FAX番号</p>
<p>
{{Store.fax_number}}
</p>
{% endif %}
{% if Address[Store.store_id] is not null and Address[Store.store_id] is not empty %}
<iframe class="gmap_frame" id="gmap_frame1" src="https://maps.google.com/maps?q={{ Address[Store.store_id] }}&ie=UTF8&iwloc=&output=embed" width="100%" height="100%" frameborder="0" style="border:0" allowfullscreen=""></iframe>
{% endif %}
</div>
</div>
{% endif %}
{% endfor %}
</div>
<!--内容ここまで-->
</div>
{% endblock %}