<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* index.twig */
class __TwigTemplate_66be22223a8d9ddee8b9991395de03e4e0b06af0800e2812e7996903c9bf9327 extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'stylesheet' => [$this, 'block_stylesheet'],
'main' => [$this, 'block_main'],
];
}
protected function doGetParent(array $context)
{
// line 11
return "fullwidth_frame.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "index.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "index.twig"));
// line 13
$context["body_class"] = "front_page";
// line 11
$this->parent = $this->loadTemplate("fullwidth_frame.twig", "index.twig", 11);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 15
public function block_stylesheet($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 18
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 19
echo "
<section id=\"home_category\">
<div class=\"home_title__inner\">
<h2 class=\"home_en_title \"><span class=\"en\">Category</span><small>カテゴリーから探す</small></h2>
<a class=\"base_link_brn\" href=\"";
// line 23
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "category\">
<span>カテゴリー一覧</span>
<span>カテゴリー一覧</span>
</a>
</div><!--/.home_title__inner-->
<div class=\"home_category__inner\">
<div class=\"home_category__list\">
";
// line 30
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["childCategories"]) || array_key_exists("childCategories", $context) ? $context["childCategories"] : (function () { throw new RuntimeError('Variable "childCategories" does not exist.', 30, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
// line 31
echo " <a class=\"home_category__list_block\" href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "products/list?category_id=";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["category"], "id", [], "any", false, false, false, 31), "html", null, true);
echo "\">
<span class=\"thumb\">
<img src=\"";
// line 33
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("rich_category/" . twig_get_attribute($this->env, $this->source, $context["category"], "logo_file_name", [], "any", false, false, false, 33)), "save_image"), "html", null, true);
echo "\">
</span>
<span class=\"cat_ttl\">";
// line 35
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 35), "html", null, true);
echo "</span>
</a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 38
echo " </div><!--/.home_category__list-->
</div><!--/.home_title__inner-->
<div class=\"sp_center_link_btn\">
<a class=\"base_link_brn\" href=\"";
// line 42
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "category\">
<span>カテゴリー一覧</span>
<span>カテゴリー一覧</span>
</a>
</div><!--/.sp_center_link_btn-->
</section>
<section id=\"home_brand\">
<div class=\"home_title__inner\">
<h2 class=\"home_en_title \"><span class=\"en\">Brand</span><small>ブランドから探す</small></h2>
<a class=\"base_link_brn\" href=\"";
// line 52
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "brand\">
<span>ブランド一覧</span>
<span>ブランド一覧</span>
</a>
</div><!--/.home_title__inner-->
<div class=\"home_brand__inner\">
<div class=\"home_brand_container\">
<div class=\"left_column\">
<ul class=\"brand_logo_list\">
<li class=\"current\">
<a href=\"";
// line 63
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "products/list?category_id=35\">
<img src=\"";
// line 64
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/about/brand_01_logo.png"), "html", null, true);
echo "\" width=\"145\" height=\"40\" loading=\"lazy\" alt=\"\">
</a>
</li>
<li>
<a href=\"";
// line 68
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "products/list?category_id=36\">
<img src=\"";
// line 69
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/about/brand_02_logo.png"), "html", null, true);
echo "\" width=\"145\" height=\"40\" loading=\"lazy\" alt=\"\">
</a>
</li>
<li>
<a href=\"";
// line 73
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "products/list?category_id=39\">
<img src=\"";
// line 74
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/about/brand_03_logo.png"), "html", null, true);
echo "\" width=\"145\" height=\"40\" loading=\"lazy\" alt=\"\">
</a>
</li>
<li>
<a href=\"";
// line 78
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "products/list?category_id=40\">
<img src=\"";
// line 79
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/about/brand_04_logo.png"), "html", null, true);
echo "\" width=\"145\" height=\"40\" loading=\"lazy\" alt=\"\">
</a>
</li>
<li>
<a href=\"";
// line 83
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "products/list?category_id=70\">
<img src=\"";
// line 84
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/about/brand_05_logo.png"), "html", null, true);
echo "\" width=\"145\" height=\"40\" loading=\"lazy\" alt=\"\">
</a>
</li>
</ul>
<div class=\"pc_link_btn\">
<a class=\"base_link_brn\" href=\"";
// line 90
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "brand\">
<span>and more...</span>
<span>and more...</span>
</a>
</div><!--/.sp_center_link_btn-->
</div>
</div><!--/.container-->
<div class=\"right_column\">
<ul class=\"brand_image_list\">
<li class=\"is-show\">
<div class=\"list_brand_title\">
<span class=\"ja\">マスターウォール</span>
<span class=\"en\">MASTERWAL</span>
<span class=\"ja sp_ja\">マスターウォール</span>
</div><!--/.list_brand_title-->
<img src=\"";
// line 107
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/brand/home_image/brand_01.jpg"), "html", null, true);
echo "\">
</li>
<li>
<div class=\"list_brand_title\">
<span class=\"ja\">カリモク ニュウスタンダード</span>
<span class=\"en\">Karimoku</span>
<span class=\"ja sp_ja\">カリモク ニュウスタンダード</span>
</div><!--/.list_brand_title-->
<img src=\"";
// line 115
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/brand/home_image/brand_02.jpg"), "html", null, true);
echo "\">
</li>
<li>
<div class=\"list_brand_title\">
<span class=\"ja\">ブリッジ</span>
<span class=\"en\">BRIDGE</span>
<span class=\"ja sp_ja\">ブリッジ</span>
</div><!--/.list_brand_title-->
<img src=\"";
// line 123
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/brand/home_image/brand_03.jpg"), "html", null, true);
echo "\">
</li>
<li>
<div class=\"list_brand_title\">
<span class=\"ja\">ニホンベッド</span>
<span class=\"en\">NIHON BED</span>
<span class=\"ja sp_ja\">ニホンベッド</span>
</div><!--/.list_brand_title-->
<img src=\"";
// line 131
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/brand/home_image/brand_04.jpg"), "html", null, true);
echo "\">
</li>
<li>
<div class=\"list_brand_title\">
<span class=\"ja\">ヘイ</span>
<span class=\"en\">HAY</span>
<span class=\"ja sp_ja\">ヘイ</span>
</div><!--/.list_brand_title-->
<img src=\"";
// line 139
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/brand/home_image/brand_05.jpg"), "html", null, true);
echo "\">
</li>
</ul>
</div>
</div><!--/.home_brand__inner-->
<div class=\"sp_center_link_btn\">
<a class=\"base_link_brn\" href=\"";
// line 145
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "brand\">
<span>ブランド一覧</span>
<span>ブランド一覧</span>
</a>
</div><!--/.sp_center_link_btn-->
</section>
";
// line 211
echo "
<section id=\"home_about\">
<div class=\"home_about__inner\">
<div class=\"home_about_container\">
<div class=\"home_about_txt_block\">
<h3 class=\"home_about_h3\">自分の</br>好きなものと、</br>出会う。</h3>
<p class=\"home_about_ttl__en\">Kind your likes</p>
<a class=\"base_link_brn\" href=\"";
// line 218
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "about\">
<span>IKUSについて</span>
<span>IKUSについて</span>
</a>
</div><!--/.home_about_txt_block-->
</div><!--/.container-->
<div class=\"left_column\">
<img src=\"";
// line 225
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/home/home_about_img.jpg"), "html", null, true);
echo "\">
</div><!--/.left_column-->
</div>
<div class=\"sp_center_link_btn\">
<a class=\"base_link_brn\" href=\"";
// line 229
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "about\">
<span>IKUSについて</span>
<span>IKUSについて</span>
</a>
</div><!--/.sp_center_link_btn-->
</section>
<section id=\"home_pickup\">
<div class=\"home_title__inner\">
<h2 class=\"home_en_title \"><span class=\"en\">Pick up</span><small>ピックアップ</small></h2>
</div><!--/.home_title__inner-->
<div class=\"home_pickup__inner\">
<ul class=\"pickup_list\">
";
// line 244
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["pickup_products"]) || array_key_exists("pickup_products", $context) ? $context["pickup_products"] : (function () { throw new RuntimeError('Variable "pickup_products" does not exist.', 244, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
// line 245
echo " <li class=\"pickup_list_block\">
<a href=\"";
// line 246
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env, $this->source, $context["product"], "id", [], "any", false, false, false, 246)]), "html", null, true);
echo "\">
<div class=\"thumb\">
<img src=\"";
// line 248
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["product"], "main_list_image", [], "any", false, false, false, 248)), "save_image"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 248), "html", null, true);
echo "\" ";
if ((twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 248) > 5)) {
echo " loading=\"lazy\"";
}
echo ">
</div><!--/.thumb-->
";
// line 251
echo " ";
$context["targetParentCategoryId"] = 34;
echo " ";
// line 252
echo " ";
$context["relatedSubcategories"] = [];
// line 253
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["product"], "ProductCategories", [], "any", false, false, false, 253));
foreach ($context['_seq'] as $context["_key"] => $context["productCategory"]) {
// line 254
echo " ";
$context["category"] = twig_get_attribute($this->env, $this->source, $context["productCategory"], "Category", [], "any", false, false, false, 254);
// line 255
echo " ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 255, $this->source); })()), "Parent", [], "any", false, false, false, 255) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 255, $this->source); })()), "Parent", [], "any", false, false, false, 255), "id", [], "any", false, false, false, 255) == (isset($context["targetParentCategoryId"]) || array_key_exists("targetParentCategoryId", $context) ? $context["targetParentCategoryId"] : (function () { throw new RuntimeError('Variable "targetParentCategoryId" does not exist.', 255, $this->source); })())))) {
// line 256
echo " ";
$context["relatedSubcategories"] = twig_array_merge((isset($context["relatedSubcategories"]) || array_key_exists("relatedSubcategories", $context) ? $context["relatedSubcategories"] : (function () { throw new RuntimeError('Variable "relatedSubcategories" does not exist.', 256, $this->source); })()), [0 => (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 256, $this->source); })())]);
// line 257
echo " ";
}
// line 258
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['productCategory'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 259
echo "
<div class=\"pickup_list_block__txt\">
";
// line 262
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["relatedSubcategories"]) || array_key_exists("relatedSubcategories", $context) ? $context["relatedSubcategories"] : (function () { throw new RuntimeError('Variable "relatedSubcategories" does not exist.', 262, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["subcategory"]) {
// line 263
echo " <object>
<a class=\"brand_name\" href=\"";
// line 264
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list", ["category_id" => twig_get_attribute($this->env, $this->source, $context["subcategory"], "id", [], "any", false, false, false, 264)]), "html", null, true);
echo "\">
";
// line 265
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["subcategory"], "name", [], "any", false, false, false, 265), "html", null, true);
echo "
</a>
</object>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['subcategory'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 269
echo "
<span class=\"product_ttl\">";
// line 270
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 270), "html", null, true);
echo "</span>
<span class=\"product_price\">
<span class=\"product_price__num\">
";
// line 273
if (twig_get_attribute($this->env, $this->source, $context["product"], "hasProductClass", [], "any", false, false, false, 273)) {
// line 274
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["product"], "getPrice02Min", [], "any", false, false, false, 274) == twig_get_attribute($this->env, $this->source, $context["product"], "getPrice02Max", [], "any", false, false, false, 274))) {
// line 275
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, $context["product"], "getPrice02IncTaxMin", [], "any", false, false, false, 275)), "html", null, true);
echo "
";
} else {
// line 277
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, $context["product"], "getPrice02IncTaxMin", [], "any", false, false, false, 277)), "html", null, true);
echo " ~ ";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, $context["product"], "getPrice02IncTaxMax", [], "any", false, false, false, 277)), "html", null, true);
echo "
";
}
// line 279
echo " ";
} else {
// line 280
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, $context["product"], "getPrice02IncTaxMin", [], "any", false, false, false, 280)), "html", null, true);
echo "
";
}
// line 282
echo " </span><!--/.product_price__num-->
<span class=\"zeikomi\">(税込)</span>
</span>
</div><!--/.pickup_list_block__txt-->
</a>
</li>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 289
echo " </ul><!--/.pickup_list-->
</div><!--/.home_pickup__inner-->
</section>
<section id=\"home_ranking\">
<div class=\"home_title__inner\">
<h2 class=\"home_en_title \"><span class=\"en\">Ranking</span><small>ランキング</small></h2>
</div><!--/.home_title__inner-->
<div class=\"home_ranking__inner\">
<ul class=\"products_list\">
";
// line 301
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["products_by_subcategory"]) || array_key_exists("products_by_subcategory", $context) ? $context["products_by_subcategory"] : (function () { throw new RuntimeError('Variable "products_by_subcategory" does not exist.', 301, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["subcategory_id"] => $context["products"]) {
// line 302
echo "
";
// line 303
$context["loop_index"] = twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 303);
// line 304
echo "
<li class=\"products_list_block\">
";
// line 306
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["products"]);
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
// line 307
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env, $this->source, $context["product"], "id", [], "any", false, false, false, 307)]), "html", null, true);
echo "\">
<span class=\"rank_num rank_num_";
// line 308
echo twig_escape_filter($this->env, (isset($context["loop_index"]) || array_key_exists("loop_index", $context) ? $context["loop_index"] : (function () { throw new RuntimeError('Variable "loop_index" does not exist.', 308, $this->source); })()), "html", null, true);
echo "\"><span class=\"num_txt\">";
echo twig_escape_filter($this->env, (isset($context["loop_index"]) || array_key_exists("loop_index", $context) ? $context["loop_index"] : (function () { throw new RuntimeError('Variable "loop_index" does not exist.', 308, $this->source); })()), "html", null, true);
echo "</span></span>
<div class=\"thumb\">
<img src=\"";
// line 310
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["product"], "main_list_image", [], "any", false, false, false, 310)), "save_image"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 310), "html", null, true);
echo "\" ";
if ((twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 310) > 5)) {
echo " loading=\"lazy\"";
}
echo ">
</div><!--/.thumb-->
";
// line 313
echo " ";
$context["targetParentCategoryId"] = 34;
echo " ";
// line 314
echo " ";
$context["relatedSubcategories"] = [];
// line 315
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["product"], "ProductCategories", [], "any", false, false, false, 315));
foreach ($context['_seq'] as $context["_key"] => $context["productCategory"]) {
// line 316
echo " ";
$context["category"] = twig_get_attribute($this->env, $this->source, $context["productCategory"], "Category", [], "any", false, false, false, 316);
// line 317
echo " ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 317, $this->source); })()), "Parent", [], "any", false, false, false, 317) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 317, $this->source); })()), "Parent", [], "any", false, false, false, 317), "id", [], "any", false, false, false, 317) == (isset($context["targetParentCategoryId"]) || array_key_exists("targetParentCategoryId", $context) ? $context["targetParentCategoryId"] : (function () { throw new RuntimeError('Variable "targetParentCategoryId" does not exist.', 317, $this->source); })())))) {
// line 318
echo " ";
$context["relatedSubcategories"] = twig_array_merge((isset($context["relatedSubcategories"]) || array_key_exists("relatedSubcategories", $context) ? $context["relatedSubcategories"] : (function () { throw new RuntimeError('Variable "relatedSubcategories" does not exist.', 318, $this->source); })()), [0 => (isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 318, $this->source); })())]);
// line 319
echo " ";
}
// line 320
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['productCategory'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 321
echo "
<div class=\"pickup_list_block__txt\">
";
// line 324
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["relatedSubcategories"]) || array_key_exists("relatedSubcategories", $context) ? $context["relatedSubcategories"] : (function () { throw new RuntimeError('Variable "relatedSubcategories" does not exist.', 324, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["subcategory"]) {
// line 325
echo " <object>
<a class=\"brand_name\" href=\"";
// line 326
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list", ["category_id" => twig_get_attribute($this->env, $this->source, $context["subcategory"], "id", [], "any", false, false, false, 326)]), "html", null, true);
echo "\">
";
// line 327
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["subcategory"], "name", [], "any", false, false, false, 327), "html", null, true);
echo "
</a>
</object>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['subcategory'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 331
echo "
<span class=\"product_ttl\">";
// line 332
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["product"], "name", [], "any", false, false, false, 332), "html", null, true);
echo "</span>
<span class=\"product_price\">
<span class=\"product_price__num\">
";
// line 335
if (twig_get_attribute($this->env, $this->source, $context["product"], "hasProductClass", [], "any", false, false, false, 335)) {
// line 336
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["product"], "getPrice02Min", [], "any", false, false, false, 336) == twig_get_attribute($this->env, $this->source, $context["product"], "getPrice02Max", [], "any", false, false, false, 336))) {
// line 337
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, $context["product"], "getPrice02IncTaxMin", [], "any", false, false, false, 337)), "html", null, true);
echo "
";
} else {
// line 339
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, $context["product"], "getPrice02IncTaxMin", [], "any", false, false, false, 339)), "html", null, true);
echo " ~ ";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, $context["product"], "getPrice02IncTaxMax", [], "any", false, false, false, 339)), "html", null, true);
echo "
";
}
// line 341
echo " ";
} else {
// line 342
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, $context["product"], "getPrice02IncTaxMin", [], "any", false, false, false, 342)), "html", null, true);
echo "
";
}
// line 344
echo " </span><!--/.product_price__num-->
<span class=\"zeikomi\">(税込)</span>
</span>
</div><!--/.pickup_list_block__txt-->
</a>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 350
echo " </li>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['subcategory_id'], $context['products'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 352
echo "
</ul>
</div><!--/.home_pickup__inner-->
</section>
";
// line 438
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "index.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 713 => 438, 705 => 352, 690 => 350, 671 => 344, 665 => 342, 662 => 341, 654 => 339, 648 => 337, 645 => 336, 643 => 335, 637 => 332, 634 => 331, 624 => 327, 620 => 326, 617 => 325, 612 => 324, 608 => 321, 602 => 320, 599 => 319, 596 => 318, 593 => 317, 590 => 316, 585 => 315, 582 => 314, 578 => 313, 567 => 310, 560 => 308, 555 => 307, 538 => 306, 534 => 304, 532 => 303, 529 => 302, 512 => 301, 498 => 289, 478 => 282, 472 => 280, 469 => 279, 461 => 277, 455 => 275, 452 => 274, 450 => 273, 444 => 270, 441 => 269, 431 => 265, 427 => 264, 424 => 263, 419 => 262, 415 => 259, 409 => 258, 406 => 257, 403 => 256, 400 => 255, 397 => 254, 392 => 253, 389 => 252, 385 => 251, 374 => 248, 369 => 246, 366 => 245, 349 => 244, 331 => 229, 324 => 225, 314 => 218, 305 => 211, 295 => 145, 286 => 139, 275 => 131, 264 => 123, 253 => 115, 242 => 107, 222 => 90, 213 => 84, 209 => 83, 202 => 79, 198 => 78, 191 => 74, 187 => 73, 180 => 69, 176 => 68, 169 => 64, 165 => 63, 151 => 52, 138 => 42, 132 => 38, 123 => 35, 118 => 33, 110 => 31, 106 => 30, 96 => 23, 90 => 19, 80 => 18, 62 => 15, 51 => 11, 49 => 13, 36 => 11,);
}
public function getSourceContext()
{
return new Source("{#
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 'fullwidth_frame.twig' %}
{% set body_class = 'front_page' %}
{% block stylesheet %}
{% endblock %}
{% block main %}
<section id=\"home_category\">
<div class=\"home_title__inner\">
<h2 class=\"home_en_title \"><span class=\"en\">Category</span><small>カテゴリーから探す</small></h2>
<a class=\"base_link_brn\" href=\"{{ url('homepage') }}category\">
<span>カテゴリー一覧</span>
<span>カテゴリー一覧</span>
</a>
</div><!--/.home_title__inner-->
<div class=\"home_category__inner\">
<div class=\"home_category__list\">
{% for category in childCategories %}
<a class=\"home_category__list_block\" href=\"{{ url('homepage') }}products/list?category_id={{ category.id }}\">
<span class=\"thumb\">
<img src=\"{{ asset('rich_category/'~category.logo_file_name,'save_image') }}\">
</span>
<span class=\"cat_ttl\">{{ category.name }}</span>
</a>
{% endfor %}
</div><!--/.home_category__list-->
</div><!--/.home_title__inner-->
<div class=\"sp_center_link_btn\">
<a class=\"base_link_brn\" href=\"{{ url('homepage') }}category\">
<span>カテゴリー一覧</span>
<span>カテゴリー一覧</span>
</a>
</div><!--/.sp_center_link_btn-->
</section>
<section id=\"home_brand\">
<div class=\"home_title__inner\">
<h2 class=\"home_en_title \"><span class=\"en\">Brand</span><small>ブランドから探す</small></h2>
<a class=\"base_link_brn\" href=\"{{ url('homepage') }}brand\">
<span>ブランド一覧</span>
<span>ブランド一覧</span>
</a>
</div><!--/.home_title__inner-->
<div class=\"home_brand__inner\">
<div class=\"home_brand_container\">
<div class=\"left_column\">
<ul class=\"brand_logo_list\">
<li class=\"current\">
<a href=\"{{ url('homepage') }}products/list?category_id=35\">
<img src=\"{{ asset('assets/img/about/brand_01_logo.png') }}\" width=\"145\" height=\"40\" loading=\"lazy\" alt=\"\">
</a>
</li>
<li>
<a href=\"{{ url('homepage') }}products/list?category_id=36\">
<img src=\"{{ asset('assets/img/about/brand_02_logo.png') }}\" width=\"145\" height=\"40\" loading=\"lazy\" alt=\"\">
</a>
</li>
<li>
<a href=\"{{ url('homepage') }}products/list?category_id=39\">
<img src=\"{{ asset('assets/img/about/brand_03_logo.png') }}\" width=\"145\" height=\"40\" loading=\"lazy\" alt=\"\">
</a>
</li>
<li>
<a href=\"{{ url('homepage') }}products/list?category_id=40\">
<img src=\"{{ asset('assets/img/about/brand_04_logo.png') }}\" width=\"145\" height=\"40\" loading=\"lazy\" alt=\"\">
</a>
</li>
<li>
<a href=\"{{ url('homepage') }}products/list?category_id=70\">
<img src=\"{{ asset('assets/img/about/brand_05_logo.png') }}\" width=\"145\" height=\"40\" loading=\"lazy\" alt=\"\">
</a>
</li>
</ul>
<div class=\"pc_link_btn\">
<a class=\"base_link_brn\" href=\"{{ url('homepage') }}brand\">
<span>and more...</span>
<span>and more...</span>
</a>
</div><!--/.sp_center_link_btn-->
</div>
</div><!--/.container-->
<div class=\"right_column\">
<ul class=\"brand_image_list\">
<li class=\"is-show\">
<div class=\"list_brand_title\">
<span class=\"ja\">マスターウォール</span>
<span class=\"en\">MASTERWAL</span>
<span class=\"ja sp_ja\">マスターウォール</span>
</div><!--/.list_brand_title-->
<img src=\"{{ asset('assets/img/brand/home_image/brand_01.jpg') }}\">
</li>
<li>
<div class=\"list_brand_title\">
<span class=\"ja\">カリモク ニュウスタンダード</span>
<span class=\"en\">Karimoku</span>
<span class=\"ja sp_ja\">カリモク ニュウスタンダード</span>
</div><!--/.list_brand_title-->
<img src=\"{{ asset('assets/img/brand/home_image/brand_02.jpg') }}\">
</li>
<li>
<div class=\"list_brand_title\">
<span class=\"ja\">ブリッジ</span>
<span class=\"en\">BRIDGE</span>
<span class=\"ja sp_ja\">ブリッジ</span>
</div><!--/.list_brand_title-->
<img src=\"{{ asset('assets/img/brand/home_image/brand_03.jpg') }}\">
</li>
<li>
<div class=\"list_brand_title\">
<span class=\"ja\">ニホンベッド</span>
<span class=\"en\">NIHON BED</span>
<span class=\"ja sp_ja\">ニホンベッド</span>
</div><!--/.list_brand_title-->
<img src=\"{{ asset('assets/img/brand/home_image/brand_04.jpg') }}\">
</li>
<li>
<div class=\"list_brand_title\">
<span class=\"ja\">ヘイ</span>
<span class=\"en\">HAY</span>
<span class=\"ja sp_ja\">ヘイ</span>
</div><!--/.list_brand_title-->
<img src=\"{{ asset('assets/img/brand/home_image/brand_05.jpg') }}\">
</li>
</ul>
</div>
</div><!--/.home_brand__inner-->
<div class=\"sp_center_link_btn\">
<a class=\"base_link_brn\" href=\"{{ url('homepage') }}brand\">
<span>ブランド一覧</span>
<span>ブランド一覧</span>
</a>
</div><!--/.sp_center_link_btn-->
</section>
{#
<section id=\"home_special\">
<div class=\"home_title__inner home_title__inner_no_line\">
<h2 class=\"home_en_title \"><span class=\"en\">Special</span><small>特集</small></h2>
<a class=\"base_link_brn\" href=\"{{ url('homepage') }}\">
<span>特集一覧</span>
<span>特集一覧</span>
</a>
</div><!--/.home_title__inner-->
<div class=\"home_special__inner\">
<div class=\"progress\" role=\"progressbar\" aria-valuemin=\"0\" aria-valuemax=\"100\">
<span class=\"slider__label sr-only\"></span>
</div><!--/.progress-->
<div class=\"special_slider_wrap\">
<div class=\"special_slider\">
<div class=\"item\">
<a class=\"special_slide_block\" href=\"{{ url('homepage') }}products/list?category_id=36\">
<div class=\"new_icon\"><span class=\"txt\">New</span></div>
<img src=\"{{ asset('assets/img/home/special_slide01.jpg') }}\">
<div class=\"special_ttl\">統一感のあるリビングに<br>洗練されたデザインが特徴の<br>Karimoku New Standardを</div>
</a>
</div><!--/.slick-slide-->
<div class=\"item\">
<a class=\"special_slide_block\" href=\"{{ url('homepage') }}products/list?category_id=17\">
<img src=\"{{ asset('assets/img/home/special_slide02.jpg') }}\">
<div class=\"special_ttl\">食卓に彩りを<br>IKUSが提案するダイニングテーブル</div>
</a>
</div><!--/.slick-slide-->
<div class=\"item\">
<a class=\"special_slide_block\" href=\"{{ url('homepage') }}products/list?category_id=35\">
<img src=\"{{ asset('assets/img/home/special_slide03.jpg') }}\">
<div class=\"special_ttl\">100年後のアンティーク家具へ<br>厳選されたウォールナットを使用した<br>高品質のファニチャーブランド。</div>
</a>
</div><!--/.slick-slide-->
<div class=\"item\">
<a class=\"special_slide_block\" href=\"{{ url('homepage') }}products/list?category_id=10\">
<div class=\"new_icon\"><span class=\"txt\">New</span></div>
<img src=\"{{ asset('assets/img/home/special_slide04.jpg') }}\">
<div class=\"special_ttl\">リビングの顔<br>家族が集まる団らんのリビングに<br>IKUSがおすすめするソファ</div>
</a>
</div><!--/.slick-slide-->
<div class=\"item\">
<a class=\"special_slide_block\" href=\"{{ url('homepage') }}products/list?category_id=39\">
<img src=\"{{ asset('assets/img/home/special_slide05.jpg') }}\">
<div class=\"special_ttl\">デンマークの家具デザイナー、<br>ハンス・S・ヤコブセンとのコラボレーションブランド</div>
</a>
</div><!--/.slick-slide-->
</div><!--/.special_slider-->
</div><!--/.special_slider_wrap-->
<img class=\"home_special__logp\" src=\"{{ asset('assets/icon/logo_type02.svg') }}\">
</div><!--/.home_special__inner-->
</section>
#}
<section id=\"home_about\">
<div class=\"home_about__inner\">
<div class=\"home_about_container\">
<div class=\"home_about_txt_block\">
<h3 class=\"home_about_h3\">自分の</br>好きなものと、</br>出会う。</h3>
<p class=\"home_about_ttl__en\">Kind your likes</p>
<a class=\"base_link_brn\" href=\"{{ url('homepage') }}about\">
<span>IKUSについて</span>
<span>IKUSについて</span>
</a>
</div><!--/.home_about_txt_block-->
</div><!--/.container-->
<div class=\"left_column\">
<img src=\"{{ asset('assets/img/home/home_about_img.jpg') }}\">
</div><!--/.left_column-->
</div>
<div class=\"sp_center_link_btn\">
<a class=\"base_link_brn\" href=\"{{ url('homepage') }}about\">
<span>IKUSについて</span>
<span>IKUSについて</span>
</a>
</div><!--/.sp_center_link_btn-->
</section>
<section id=\"home_pickup\">
<div class=\"home_title__inner\">
<h2 class=\"home_en_title \"><span class=\"en\">Pick up</span><small>ピックアップ</small></h2>
</div><!--/.home_title__inner-->
<div class=\"home_pickup__inner\">
<ul class=\"pickup_list\">
{% for product in pickup_products %}
<li class=\"pickup_list_block\">
<a href=\"{{ url('product_detail', {'id': product.id}) }}\">
<div class=\"thumb\">
<img src=\"{{ asset(product.main_list_image|no_image_product, 'save_image') }}\" alt=\"{{ product.name }}\" {% if loop.index > 5 %} loading=\"lazy\"{% endif %}>
</div><!--/.thumb-->
{# 商品が所属する特定の親カテゴリの子カテゴリを取得します #}
{% set targetParentCategoryId = 34 %} {# 親カテゴリのIDを指定 #}
{% set relatedSubcategories = [] %}
{% for productCategory in product.ProductCategories %}
{% set category = productCategory.Category %}
{% if category.Parent and category.Parent.id == targetParentCategoryId %}
{% set relatedSubcategories = relatedSubcategories|merge([category]) %}
{% endif %}
{% endfor %}
<div class=\"pickup_list_block__txt\">
{# 商品が所属する特定の親カテゴリの子カテゴリを表示します #}
{% for subcategory in relatedSubcategories %}
<object>
<a class=\"brand_name\" href=\"{{ url('product_list', {'category_id': subcategory.id}) }}\">
{{ subcategory.name }}
</a>
</object>
{% endfor %}
<span class=\"product_ttl\">{{ product.name }}</span>
<span class=\"product_price\">
<span class=\"product_price__num\">
{% if product.hasProductClass %}
{% if product.getPrice02Min == product.getPrice02Max %}
{{ product.getPrice02IncTaxMin|price }}
{% else %}
{{ product.getPrice02IncTaxMin|price }} ~ {{ product.getPrice02IncTaxMax|price }}
{% endif %}
{% else %}
{{ product.getPrice02IncTaxMin|price }}
{% endif %}
</span><!--/.product_price__num-->
<span class=\"zeikomi\">(税込)</span>
</span>
</div><!--/.pickup_list_block__txt-->
</a>
</li>
{% endfor %}
</ul><!--/.pickup_list-->
</div><!--/.home_pickup__inner-->
</section>
<section id=\"home_ranking\">
<div class=\"home_title__inner\">
<h2 class=\"home_en_title \"><span class=\"en\">Ranking</span><small>ランキング</small></h2>
</div><!--/.home_title__inner-->
<div class=\"home_ranking__inner\">
<ul class=\"products_list\">
{% for subcategory_id, products in products_by_subcategory %}
{% set loop_index = loop.index %}
<li class=\"products_list_block\">
{% for product in products %}
<a href=\"{{ url('product_detail', {'id': product.id}) }}\">
<span class=\"rank_num rank_num_{{ loop_index }}\"><span class=\"num_txt\">{{ loop_index }}</span></span>
<div class=\"thumb\">
<img src=\"{{ asset(product.main_list_image|no_image_product, 'save_image') }}\" alt=\"{{ product.name }}\" {% if loop.index > 5 %} loading=\"lazy\"{% endif %}>
</div><!--/.thumb-->
{# 商品が所属する特定の親カテゴリの子カテゴリを取得します #}
{% set targetParentCategoryId = 34 %} {# 親カテゴリのIDを指定 #}
{% set relatedSubcategories = [] %}
{% for productCategory in product.ProductCategories %}
{% set category = productCategory.Category %}
{% if category.Parent and category.Parent.id == targetParentCategoryId %}
{% set relatedSubcategories = relatedSubcategories|merge([category]) %}
{% endif %}
{% endfor %}
<div class=\"pickup_list_block__txt\">
{# 商品が所属する特定の親カテゴリの子カテゴリを表示します #}
{% for subcategory in relatedSubcategories %}
<object>
<a class=\"brand_name\" href=\"{{ url('product_list', {'category_id': subcategory.id}) }}\">
{{ subcategory.name }}
</a>
</object>
{% endfor %}
<span class=\"product_ttl\">{{ product.name }}</span>
<span class=\"product_price\">
<span class=\"product_price__num\">
{% if product.hasProductClass %}
{% if product.getPrice02Min == product.getPrice02Max %}
{{ product.getPrice02IncTaxMin|price }}
{% else %}
{{ product.getPrice02IncTaxMin|price }} ~ {{ product.getPrice02IncTaxMax|price }}
{% endif %}
{% else %}
{{ product.getPrice02IncTaxMin|price }}
{% endif %}
</span><!--/.product_price__num-->
<span class=\"zeikomi\">(税込)</span>
</span>
</div><!--/.pickup_list_block__txt-->
</a>
{% endfor %}
</li>
{% endfor %}
</ul>
</div><!--/.home_pickup__inner-->
</section>
{#
<section id=\"home_coordinate\">
<div class=\"home_title__inner home_title__inner_no_line home_title__inner_sp_line\">
<h2 class=\"home_en_title \"><span class=\"en\">Coordinate Services</span><small>コーディネートサービス</small></h2>
</div><!--/.home_title__inner-->
<div class=\"coordinate_h3__sp_wrap\">
<h3>好きと出会う、<br>コーディネートの<br>お手伝い。</h3>
</div><!--/.coordinate_h3__sp_wrap-->
<div class=\"coordinate_wrap\">
<div class=\"coordinate_wrap__inner\">
<div class=\"swiper slider_coordinate\">
<div class=\"swiper-wrapper\">
<div class=\"swiper-slide\">
<div data-swiper-parallax-x=\"100%\" data-swiper-parallax-scale=\"1\" class=\"swiper_img\">
<img src=\"{{ asset('assets/img/home/coordinate_bg01.jpg') }}\">
</div>
</div>
<div class=\"swiper-slide\">
<div data-swiper-parallax-x=\"100%\" data-swiper-parallax-scale=\"1\" class=\"swiper_img\">
<img src=\"{{ asset('assets/img/home/coordinate_bg02.jpg') }}\">
</div>
</div>
<div class=\"swiper-slide\">
<div data-swiper-parallax-x=\"100%\" data-swiper-parallax-scale=\"1\" class=\"swiper_img\">
<img src=\"{{ asset('assets/img/home/coordinate_bg03.jpg') }}\">
</div>
</div>
<div class=\"swiper-slide\">
<div data-swiper-parallax-x=\"100%\" data-swiper-parallax-scale=\"1\" class=\"swiper_img\">
<img src=\"{{ asset('assets/img/home/coordinate_bg01.jpg') }}\">
</div>
</div>
</div>
</div>
<div class=\"slider_thumbnail__wrap\">
<div class=\"swiper slider_thumbnail\">
<div class=\"swiper-wrapper\">
<div class=\"swiper-slide\">
<img src=\"{{ asset('assets/img/home/coordinate_bg01.jpg') }}\">
</div>
<div class=\"swiper-slide\">
<img src=\"{{ asset('assets/img/home/coordinate_bg02.jpg') }}\">
</div>
<div class=\"swiper-slide\">
<img src=\"{{ asset('assets/img/home/coordinate_bg03.jpg') }}\">
</div>
<div class=\"swiper-slide\">
<img src=\"{{ asset('assets/img/home/coordinate_bg01.jpg') }}\">
</div>
</div>
</div>
</div><!--/.slider_thumbnail__wrap-->
<div class=\"coordinate_inner_block\">
<div class=\"coordinate_inner_block__left\">
<h3>好きと出会う、<br>コーディネートの<br>お手伝い。</h3>
</div><!--/.coordinate_inner_block__left-->
<div class=\"coordinate_inner_block__right\">
<a class=\"base_link_brn base_link_brn__white\" href=\"{{ url('homepage') }}coordinate/\">
<span>コーディネートサービスを見る</span>
<span>コーディネートサービスを見る</span>
</a>
</div><!--/.coordinate_inner_block__right-->
</div><!--/.coordinate_inner_block-->
</div><!--/.coordinate_wrap__inner-->
</div><!--/.coordinate_wrap-->
<div class=\"sp_center_link_btn\">
<a class=\"base_link_brn\" href=\"{{ url('homepage') }}coordinate/\">
<span>コーディネートサービスを見る</span>
<span>コーディネートサービスを見る</span>
</a>
</div><!--/.sp_center_link_btn-->
</section>
#}
{% endblock %}
", "index.twig", "/home/xs626321/ikus.furniture/public_html/dev/app/template/default/index.twig");
}
}