{#
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.
#}
{% extends 'default_frame.twig' %}
{% set body_class = 'front_page' %}
{% block javascript %}
<script>
const categories = ["お仏壇・ステージ","お位牌","仏壇・仏具セット","仏具・日用品","手元供養"];
$(document).ready(function () {
categories.forEach((category, index) => {
$("." + category + "_list").hide();
$(function () {
$('.'+ category ).on('click', function () {
$("." + category + "_list").slideToggle(400)
$("." + category + "_arrow").toggleClass('-rotate-[180deg]')
});
});
})
});
</script>
<script>
$(document).ready(function () {
$('.service_list, .guide_list').hide();
$(function () {
$('.service').on('click', function () {
$('.service_list').slideToggle(400)
$('.service_arrow').toggleClass('-rotate-[180deg]')
});
});
$(function () {
$('.guide').on('click', function () {
$('.guide_list').slideToggle(400)
$('.guide_arrow').toggleClass('-rotate-[180deg]')
});
});
});
</script>
{% endblock javascript %}
{% set services = [
{ 'name':'まなかの商品選びサポートサービス',
'route':'service',
'url':'user_data'
},
{ 'name':'カタログお届けサービス',
'route':'catalog',
'url':'user_data'
},
{ 'name':'コーディネート撮影サービス',
'route':'photo_services',
'url':'user_data'
},
{ 'name':'お仏壇引き取りサービス',
'route':'pick_up_altar',
'url':'user_data'
},
] %}
{% set guides = [
{
'name':'ご注文手順',
'id':'#sec01',
'route':'guide_detail'
},
{
'name':'送料・配送方法',
'id':'#sec02',
'route':'guide_detail'
},
{
'name':'お支払い方法',
'id':'#sec03',
'route':'guide_detail'
},
{ 'name':'会員登録について',
'id':'#sec04',
'route':'guide_detail'
},
{
'name':'お仏壇の引き取りについて',
'id':'#sec05',
'route':'guide_detail'
},
{
'name':'お位牌への名入れサービス',
'id':'#sec06',
'route':'guide_detail'
},
{
'name':'返品・交換・キャンセル・追加',
'id':'#sec07',
'route':'guide_detail'
},
{
'name':'領収書の発行',
'id':'#sec08',
'route':'guide_detail'
},
{
'name':'運営会社について',
'id':'#sec09',
'route':'guide_detail'
},
{ 'name':'よくあるご質問',
'id':null,
'route':'qa'
},
{ 'name':'お位牌への名入れについて',
'id':null,
'route':'naire'
},
] %}
{% block main %}
<div class="mx-auto w-full max-w-[max(58.3vw,1024px)] lg:max-w-none lg:mx-0 flex flex-col items-center justify-center animate-slideIn">
<div class="w-[max(45.8vw,880px)] flex flex-col gap-y-[184px] lg:w-full lg:px-[max(1.25vw,24px)] md:gap-y-[72px]">
<h2 class="text-[40px] text-center mt-20 md:mt-10 md:text-xl font-extralight">サイトマップ</h2>
<div class="w-full flex flex-col gap-y-24 md:gap-y-16 font-extralight">
{% for key, categoryProduct in Products %}
<div class="w-full">
<div class="{{key}} py-6 px-[28px] border-y-[1px] border-[#DFDFDF] mb-[-1px] flex justify-between items-center md:py-3 md:px-[10px] cursor-pointer hover">
<h3 class="text-xl md:text-base">{{key}}</h3>
<img src="{{ asset('assets/icon/ChevronDownOutline.svg') }}" alt="" class="{{key}}_arrow md:w-5 md:h-5">
</div>
<ul class="{{key}}_list grid grid-cols-2 gap-x-[18px] w-full md:text-xs">
{% for Product in categoryProduct %}
<li class="py-[20px] px-[28px] mb-[-1px] border-y-[1px] border-[#DFDFDF] md:py-3 md:px-[10px] hover">
<a href="{{ url('product_detail', {'id': Product.id}) }}" class="visited:text-black hover">
<p class="hover:underline ">{{Product.name}}</p>
</a>
</li>
{% endfor %}
</ul>
</div>
{% endfor %}
</div>
<div
class="">
{# 祈りの道具屋まなかについて #}
<a href="{{url('help_about')}}" class="py-5 px-[28px] border-y-[1px] border-[#DFDFDF] mb-[-1px] flex justify-between items-center md:py-3 md:px-[10px] cursor-pointer">
<h3 class="text-xl md:text-base">祈りの道具屋まなかについて</h3>
</a>
{# 祈りの特集 #}
<a href="{{url('special_posts')}}" class="py-5 px-[28px] border-y-[1px] border-[#DFDFDF] mb-[-1px] flex justify-between items-center md:py-3 md:px-[10px] cursor-pointer">
<h3 class="text-xl md:text-base">祈りの特集</h3>
</a>
{# お知らせ #}
<a href="{{url('user_data',{route:'reading'})}}" class="py-5 px-[28px] border-y-[1px] border-[#DFDFDF] mb-[-1px] flex justify-between items-center md:py-3 md:px-[10px] cursor-pointer">
<h3 class="text-xl md:text-base">お知らせ</h3>
</a>
{# 銀座・横浜元町ショールーム #}
<a href="{{url('user_data',{route:'showroom'})}}" class="py-5 px-[28px] border-y-[1px] border-[#DFDFDF] mb-[-1px] flex justify-between items-center md:py-3 md:px-[10px] cursor-pointer">
<h3 class="text-xl md:text-base">銀座・横浜元町ショールーム</h3>
</a>
</div>
{# まなかの商品選びサポートサービス #}
<div class="w-full">
<div class="hover py-6 px-[28px] border-y-[1px] border-[#DFDFDF] mb-[-1px] flex justify-between items-center md:py-3 md:px-[10px] service cursor-pointer">
<h3 class="text-xl md:text-base">まなかの商品選びサポートサービス
</h3>
<img src="{{ asset('assets/icon/ChevronDownOutline.svg') }}" alt="" class="service_arrow md:w-5 md:h-5 ">
</div>
<ul class="service_list grid grid-cols-2 gap-x-[18px] md:text-xs">
{% for service in services %}
<li class="py-5 px-[28px] mb-[-1px] border-y-[1px] border-[#DFDFDF] md:py-3 md:px-[10px] ">
<a href="{{url(service.url,{'route':service.route})}}" class="visited:text-black hover">
<p class="hover:underline leading-loose">{{service.name}}</p>
</a>
</li>
{% endfor %}
</ul>
</div>
{# ご利用ガイド #}
<div class="w-full">
<div class="guide hover py-6 px-[28px] border-y-[1px] border-[#DFDFDF] mb-[-1px] flex justify-between items-center md:py-3 md:px-[10px] cursor-pointer">
<h3 class="text-xl md:text-base">ご利用ガイド</h3>
<img src="{{ asset('assets/icon/ChevronDownOutline.svg') }}" alt="" class="guide_arrow md:w-5 md:h-5 ">
</div>
<ul class="guide_list grid grid-cols-2 gap-x-[18px] md:text-xs">
{% for guide in guides %}
<li class="py-5 px-[28px] mb-[-1px] border-y-[1px] border-[#DFDFDF] md:py-3 md:px-[10px] ">
<a href="{{url('user_data',{route:guide.route})}}{{guide.id}}" class="visited:text-black hover">
<p class="hover:underline leading-loose">{{guide.name}}</p>
</a>
</li>
{% endfor %}
</ul>
</div>
</div>
</div>
{% set breadcrumbs = [
{
'name':'サイトマップ',
}
] %}
{{ include("Block/breadcrumbs.twig") }}
</div>
{% endblock %}