{#
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 stylesheet %}
<style>
.slider {
display: none;
}
.slider.slick-initialized {
display: block;
}
.slick-slide {
margin: 0 8px;
}
.slick-slider {
margin-bottom: 30px;
}
.slick-dots {
position: absolute;
bottom: -45px;
display: block;
width: 100%;
padding: 0;
list-style: none;
text-align: center;
}
.slick-dots li {
position: relative;
display: inline-block;
width: 20px;
height: 20px;
margin: 0 5px;
padding: 0;
cursor: pointer;
}
.slick-dots li button {
font-size: 0;
line-height: 0;
display: block;
width: 20px;
height: 20px;
padding: 5px;
cursor: pointer;
color: transparent;
border: 0;
outline: none;
background: transparent;
}
.slick-dots li button:hover,
.slick-dots li button:focus {
outline: none;
}
.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
opacity: 1;
}
.slick-dots li button:before {
content: " ";
line-height: 20px;
position: absolute;
top: 0;
left: 0;
width: 12px;
height: 12px;
text-align: center;
opacity: .25;
background-color: black;
border-radius: 50%;
}
.slick-dots li.slick-active button:before {
opacity: .75;
background-color: black;
}
.slick-dots li button.thumbnail img {
width: 0;
height: 0;
}
.slick-wrapper {
overflow-x: hidden;
padding-bottom: 30px;
}
@media (min-width: 768px) {
.slick-wrapper {
height: 378px;
}
}
.main_visual {
margin-top: 18px;
}
.featured {
padding: 0 20px;
}
.featured-divider {
background: var(--border-gray);
margin: 12px 0;
}
.featured-item {
display: flex;
align-items: center;
gap: 16px;
padding: 0 20px;
}
.featured-item__label {
font-size: 16px;
font-weight: 500;
line-height: 1.2;
}
.featured-item__text {
color: var(--primary-red);
font-size: 26px;
font-weight: 700;
line-height: 1.2;
margin-top: 8px;
}
</style>
{% endblock %}
{% block main %}
<div class="page-content-root">
{{ include('Block/recommend_list.twig', {label: '当店のイチオシ!', category_id: 32}) }}
<div class="d-block d-sm-none">
<div class="featured">
<div class="featured-item">
<svg width="86" height="86" viewBox="0 0 86 86" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="43" cy="43" r="41.925" stroke="#CF0800" stroke-width="2.15"/>
<path d="M61 52.2437V33.7562C60.9986 33.4892 60.9267 33.2272 60.7918 32.9968C60.6568 32.7664 60.4635 32.5756 60.2312 32.4437L43.7312 23.1625C43.5089 23.0341 43.2567 22.9666 43 22.9666C42.7433 22.9666 42.4911 23.0341 42.2687 23.1625L25.7687 32.4437C25.5365 32.5756 25.3432 32.7664 25.2082 32.9968C25.0733 33.2272 25.0014 33.4892 25 33.7562V52.2437C25.0014 52.5108 25.0733 52.7727 25.2082 53.0032C25.3432 53.2336 25.5365 53.4244 25.7687 53.5562L42.2687 62.8375C42.4911 62.9659 42.7433 63.0334 43 63.0334C43.2567 63.0334 43.5089 62.9659 43.7312 62.8375L60.2312 53.5562C60.4635 53.4244 60.6568 53.2336 60.7918 53.0032C60.9267 52.7727 60.9986 52.5108 61 52.2437Z" stroke="#CF0800" stroke-width="2.48276" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M52.1875 47.5938V37.8438L34 27.8125" stroke="#CF0800" stroke-width="2.48276" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M60.7936 32.9874L43.1686 42.9999L25.2061 32.9874" stroke="#CF0800" stroke-width="2.48276" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M43.1687 43L43 63.025" stroke="#CF0800" stroke-width="2.48276" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<div>
<p class="featured-item__label">9,800円以上のご購入で</p>
<p class="featured-item__text">送料無料!</p>
</div>
</div>
<hr class="featured-divider">
<div class="featured-item">
<svg width="86" height="86" viewBox="0 0 86 86" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="43" cy="43" r="41.925" stroke="#CF0800" stroke-width="2.15"/>
<g clip-path="url(#clip0_535_8111)">
<path d="M52 34H59.9875C60.2864 33.9981 60.5788 34.0866 60.8264 34.2539C61.0741 34.4212 61.2653 34.6595 61.375 34.9375L64 41.5" stroke="#CF0800" stroke-width="2.48276" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M22 46H52" stroke="#CF0800" stroke-width="2.48276" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M54.25 59.5C56.7353 59.5 58.75 57.4853 58.75 55C58.75 52.5147 56.7353 50.5 54.25 50.5C51.7647 50.5 49.75 52.5147 49.75 55C49.75 57.4853 51.7647 59.5 54.25 59.5Z" stroke="#CF0800" stroke-width="2.48276" stroke-miterlimit="10"/>
<path d="M31.75 59.5C34.2353 59.5 36.25 57.4853 36.25 55C36.25 52.5147 34.2353 50.5 31.75 50.5C29.2647 50.5 27.25 52.5147 27.25 55C27.25 57.4853 29.2647 59.5 31.75 59.5Z" stroke="#CF0800" stroke-width="2.48276" stroke-miterlimit="10"/>
<path d="M49.75 55H36.25" stroke="#CF0800" stroke-width="2.48276" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M27.25 55H23.5C23.1022 55 22.7206 54.842 22.4393 54.5607C22.158 54.2794 22 53.8978 22 53.5V32.5C22 32.1022 22.158 31.7206 22.4393 31.4393C22.7206 31.158 23.1022 31 23.5 31H52V51.1" stroke="#CF0800" stroke-width="2.48276" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M52 41.5H64V53.5C64 53.8978 63.842 54.2794 63.5607 54.5607C63.2794 54.842 62.8978 55 62.5 55H58.75" stroke="#CF0800" stroke-width="2.48276" stroke-linecap="round" stroke-linejoin="round"/>
</g>
<defs>
<clipPath id="clip0_535_8111">
<rect width="48" height="48" fill="white" transform="translate(19 19)"/>
</clipPath>
</defs>
</svg>
<div>
<p class="featured-item__label">12時までのご購入で</p>
<p class="featured-item__text">最短翌日お届け!</p>
</div>
</div>
</div>
</div>
<div class="campaign-banner">
<a href ="https://denzai-bluewood.com/products/list?name=%E6%B3%95%E4%BA%BA%E9%99%90%E5%AE%9A%E3%80%80%E6%9C%9F%E9%96%93%E9%99%90%E5%AE%9A%E3%80%80%E3%83%91%E3%83%8A%E3%82%BD%E3%83%8B%E3%83%83%E3%82%AF">
<picture>
<source
srcset="{{ asset('assets/img/large-banners/large-banner-panasonic-md.png', 'user_data') }}"
media="(min-width: 768px)"
width="900"
height="184"
/>
<source
srcset="{{ asset('assets/img/large-banners/large-banner-panasonic.png', 'user_data') }}"
media="(min-width: 320px)"
width="350"
height="153"
/>
<img src="{{ asset('assets/img/large-banners/large-banner-panasonic-md.png', 'user_data') }}" alt="法人限定期間限定パナソニック照明器具が特価" style="width:100%; height:auto;" width="900" height="184" />
</picture>
</a>
</div>
<div class="large-banners">
{% if app.request.getPathInfo() == '/' %}
<a href ="{{ url('faq_index') }}">
<picture>
<source
srcset="{{ asset('assets/img/large-banners/large-banner-contact-md.png', 'user_data') }}"
media="(min-width: 768px)"
width="440"
height="184"
/>
<source
srcset="{{ asset('assets/img/large-banners/large-banner-contact.png', 'user_data') }}"
media="(min-width: 320px)"
width="350"
height="153"
/>
<img src="{{ asset('assets/img/large-banners/large-banner-contact-md.png', 'user_data') }}" alt="お問い合わせはこちら" style="width:100%; height:auto;" width="440" height="184" />
</picture>
</a>
{% else %}
<picture>
<source
srcset="{{ asset('assets/img/large-banners/large-banner-red-md.png', 'user_data') }}"
media="(min-width: 768px)"
width="440"
height="184"
/>
<source
srcset="{{ asset('assets/img/large-banners/large-banner-red.png', 'user_data') }}"
media="(min-width: 320px)"
width="350"
height="153"
/>
<img src="{{ asset('assets/img/large-banners/large-banner-red-md.png', 'user_data') }}" alt="" class="w-100" width="440" height="184" />
</picture>
{% endif %}
<picture>
<source
srcset="{{ asset('assets/img/large-banners/large-banner-blue-md.png', 'user_data') }}"
media="(min-width: 768px)"
width="440"
height="184"
/>
<source
srcset="{{ asset('assets/img/large-banners/large-banner-blue.png', 'user_data') }}"
media="(min-width: 320px)"
width="350"
height="153"
/>
<img src="{{ asset('assets/img/large-banners/large-banner-blue-md.png', 'user_data') }}" alt="" class="w-100" width="440" height="184" />
</picture>
</div>
{{ include('Block/recommend_list.twig', {label: '照明機器おすすめ商品', category_id: 58}) }}
{{ include('Block/populer_search_word.twig') }}
{{ include('Block/recommend_list.twig', {label: 'ブレーカおすすめ商品', category_id: 259}) }}
{{ include('Block/category_list.twig', {
label: null, href_label: 'カテゴリ一覧から探す'
}) }}
{{ include('Block/banners.twig') }}
{{ include('Block/makers.twig') }}
{{ include('Block/news.twig') }}
<div class="d-md-none">
{{ include('Block/large-banners.twig') }}
</div>
</div>
{% endblock %}