var/cache/dev/twig/4a/4ae3f299055fa8154ac2a0e596660b2a60db5f46354787031079cbee5fac8b82.php line 39

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* index.twig */
  14. class __TwigTemplate_66be22223a8d9ddee8b9991395de03e4e0b06af0800e2812e7996903c9bf9327 extends \Eccube\Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'stylesheet' => [$this'block_stylesheet'],
  24.             'main' => [$this'block_main'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 11
  30.         return "fullwidth_frame.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""index.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""index.twig"));
  39.         // line 13
  40.         $context["body_class"] = "front_page";
  41.         // line 11
  42.         $this->parent $this->loadTemplate("fullwidth_frame.twig""index.twig"11);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  46.         
  47.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  48.     }
  49.     // line 15
  50.     public function block_stylesheet($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  57.         
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  59.         
  60.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  61.     }
  62.     // line 18
  63.     public function block_main($context, array $blocks = [])
  64.     {
  65.         $macros $this->macros;
  66.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  67.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  68.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  69.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  70.         // line 19
  71.         echo "
  72.     <section id=\"home_category\">
  73.         <div class=\"home_title__inner\">
  74.             <h2 class=\"home_en_title \"><span class=\"en\">Category</span><small>カテゴリーから探す</small></h2>
  75.             <a class=\"base_link_brn\" href=\"";
  76.         // line 23
  77.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  78.         echo "category\">
  79.                 <span>カテゴリー一覧</span>
  80.                 <span>カテゴリー一覧</span>
  81.             </a>
  82.         </div><!--/.home_title__inner-->
  83.         <div class=\"home_category__inner\">
  84.             <div class=\"home_category__list\">
  85.                 ";
  86.         // line 30
  87.         $context['_parent'] = $context;
  88.         $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); })()));
  89.         foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
  90.             // line 31
  91.             echo "                    <a class=\"home_category__list_block\" href=\"";
  92.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  93.             echo "products/list?category_id=";
  94.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "id", [], "any"falsefalsefalse31), "html"nulltrue);
  95.             echo "\">
  96.                         <span class=\"thumb\">
  97.                             <img src=\"";
  98.             // line 33
  99.             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"falsefalsefalse33)), "save_image"), "html"nulltrue);
  100.             echo "\">
  101.                             </span>
  102.                         <span class=\"cat_ttl\">";
  103.             // line 35
  104.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["category"], "name", [], "any"falsefalsefalse35), "html"nulltrue);
  105.             echo "</span>
  106.                     </a>
  107.                 ";
  108.         }
  109.         $_parent $context['_parent'];
  110.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['category'], $context['_parent'], $context['loop']);
  111.         $context array_intersect_key($context$_parent) + $_parent;
  112.         // line 38
  113.         echo "            </div><!--/.home_category__list-->
  114.         </div><!--/.home_title__inner-->
  115.         <div class=\"sp_center_link_btn\">
  116.             <a class=\"base_link_brn\" href=\"";
  117.         // line 42
  118.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  119.         echo "category\">
  120.                 <span>カテゴリー一覧</span>
  121.                 <span>カテゴリー一覧</span>
  122.             </a>
  123.         </div><!--/.sp_center_link_btn-->
  124.     </section>
  125.     <section id=\"home_brand\">
  126.         <div class=\"home_title__inner\">
  127.             <h2 class=\"home_en_title \"><span class=\"en\">Brand</span><small>ブランドから探す</small></h2>
  128.             <a class=\"base_link_brn\" href=\"";
  129.         // line 52
  130.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  131.         echo "brand\">
  132.                 <span>ブランド一覧</span>
  133.                 <span>ブランド一覧</span>
  134.             </a>
  135.         </div><!--/.home_title__inner-->
  136.         <div class=\"home_brand__inner\">
  137.             <div class=\"home_brand_container\">
  138.                 <div class=\"left_column\">
  139.                     <ul class=\"brand_logo_list\">
  140.                         <li class=\"current\">
  141.                             <a href=\"";
  142.         // line 63
  143.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  144.         echo "products/list?category_id=35\">
  145.                                 <img src=\"";
  146.         // line 64
  147.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/about/brand_01_logo.png"), "html"nulltrue);
  148.         echo "\" width=\"145\" height=\"40\" loading=\"lazy\" alt=\"\">
  149.                             </a>
  150.                         </li>
  151.                         <li>
  152.                             <a href=\"";
  153.         // line 68
  154.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  155.         echo "products/list?category_id=36\">
  156.                                 <img src=\"";
  157.         // line 69
  158.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/about/brand_02_logo.png"), "html"nulltrue);
  159.         echo "\" width=\"145\" height=\"40\" loading=\"lazy\" alt=\"\">
  160.                             </a>
  161.                         </li>
  162.                         <li>
  163.                             <a href=\"";
  164.         // line 73
  165.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  166.         echo "products/list?category_id=39\">
  167.                                 <img src=\"";
  168.         // line 74
  169.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/about/brand_03_logo.png"), "html"nulltrue);
  170.         echo "\" width=\"145\" height=\"40\" loading=\"lazy\" alt=\"\">
  171.                             </a>
  172.                         </li>
  173.                         <li>
  174.                             <a href=\"";
  175.         // line 78
  176.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  177.         echo "products/list?category_id=40\">
  178.                                 <img src=\"";
  179.         // line 79
  180.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/about/brand_04_logo.png"), "html"nulltrue);
  181.         echo "\" width=\"145\" height=\"40\" loading=\"lazy\" alt=\"\">
  182.                             </a>
  183.                         </li>
  184.                         <li>
  185.                             <a href=\"";
  186.         // line 83
  187.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  188.         echo "products/list?category_id=70\">
  189.                                 <img src=\"";
  190.         // line 84
  191.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/about/brand_05_logo.png"), "html"nulltrue);
  192.         echo "\" width=\"145\" height=\"40\" loading=\"lazy\" alt=\"\">
  193.                             </a>
  194.                         </li>
  195.                     </ul>
  196.                     <div class=\"pc_link_btn\">
  197.                         <a class=\"base_link_brn\" href=\"";
  198.         // line 90
  199.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  200.         echo "brand\">
  201.                             <span>and more...</span>
  202.                             <span>and more...</span>
  203.                         </a>
  204.                     </div><!--/.sp_center_link_btn-->
  205.                 </div>
  206.             </div><!--/.container-->
  207.             <div class=\"right_column\">
  208.                 <ul class=\"brand_image_list\">
  209.                     <li class=\"is-show\">
  210.                         <div class=\"list_brand_title\">
  211.                             <span class=\"ja\">マスターウォール</span>
  212.                             <span class=\"en\">MASTERWAL</span>
  213.                             <span class=\"ja sp_ja\">マスターウォール</span>
  214.                         </div><!--/.list_brand_title-->
  215.                         <img src=\"";
  216.         // line 107
  217.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/brand/home_image/brand_01.jpg"), "html"nulltrue);
  218.         echo "\">
  219.                     </li>
  220.                     <li>
  221.                         <div class=\"list_brand_title\">
  222.                             <span class=\"ja\">カリモク ニュウスタンダード</span>
  223.                             <span class=\"en\">Karimoku</span>
  224.                             <span class=\"ja sp_ja\">カリモク ニュウスタンダード</span>
  225.                         </div><!--/.list_brand_title-->
  226.                         <img src=\"";
  227.         // line 115
  228.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/brand/home_image/brand_02.jpg"), "html"nulltrue);
  229.         echo "\">
  230.                     </li>
  231.                     <li>
  232.                         <div class=\"list_brand_title\">
  233.                             <span class=\"ja\">ブリッジ</span>
  234.                             <span class=\"en\">BRIDGE</span>
  235.                             <span class=\"ja sp_ja\">ブリッジ</span>
  236.                         </div><!--/.list_brand_title-->
  237.                         <img src=\"";
  238.         // line 123
  239.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/brand/home_image/brand_03.jpg"), "html"nulltrue);
  240.         echo "\">
  241.                     </li>
  242.                     <li>
  243.                         <div class=\"list_brand_title\">
  244.                             <span class=\"ja\">ニホンベッド</span>
  245.                             <span class=\"en\">NIHON BED</span>
  246.                             <span class=\"ja sp_ja\">ニホンベッド</span>
  247.                         </div><!--/.list_brand_title-->
  248.                         <img src=\"";
  249.         // line 131
  250.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/brand/home_image/brand_04.jpg"), "html"nulltrue);
  251.         echo "\">
  252.                     </li>
  253.                     <li>
  254.                         <div class=\"list_brand_title\">
  255.                             <span class=\"ja\">ヘイ</span>
  256.                             <span class=\"en\">HAY</span>
  257.                             <span class=\"ja sp_ja\">ヘイ</span>
  258.                         </div><!--/.list_brand_title-->
  259.                         <img src=\"";
  260.         // line 139
  261.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/brand/home_image/brand_05.jpg"), "html"nulltrue);
  262.         echo "\">
  263.                     </li>
  264.                 </ul>
  265.             </div>
  266.         </div><!--/.home_brand__inner-->
  267.         <div class=\"sp_center_link_btn\">
  268.             <a class=\"base_link_brn\" href=\"";
  269.         // line 145
  270.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  271.         echo "brand\">
  272.                 <span>ブランド一覧</span>
  273.                 <span>ブランド一覧</span>
  274.             </a>
  275.         </div><!--/.sp_center_link_btn-->
  276.     </section>
  277.     ";
  278.         // line 211
  279.         echo "
  280.     <section id=\"home_about\">
  281.         <div class=\"home_about__inner\">
  282.             <div class=\"home_about_container\">
  283.                 <div class=\"home_about_txt_block\">
  284.                     <h3 class=\"home_about_h3\">自分の</br>好きなものと、</br>出会う。</h3>
  285.                     <p class=\"home_about_ttl__en\">Kind your likes</p>
  286.                     <a class=\"base_link_brn\" href=\"";
  287.         // line 218
  288.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  289.         echo "about\">
  290.                         <span>IKUSについて</span>
  291.                         <span>IKUSについて</span>
  292.                     </a>
  293.                 </div><!--/.home_about_txt_block-->
  294.             </div><!--/.container-->
  295.             <div class=\"left_column\">
  296.                 <img src=\"";
  297.         // line 225
  298.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/home/home_about_img.jpg"), "html"nulltrue);
  299.         echo "\">
  300.             </div><!--/.left_column-->
  301.         </div>
  302.         <div class=\"sp_center_link_btn\">
  303.             <a class=\"base_link_brn\" href=\"";
  304.         // line 229
  305.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  306.         echo "about\">
  307.                 <span>IKUSについて</span>
  308.                 <span>IKUSについて</span>
  309.             </a>
  310.         </div><!--/.sp_center_link_btn-->
  311.     </section>
  312.     <section id=\"home_pickup\">
  313.         <div class=\"home_title__inner\">
  314.             <h2 class=\"home_en_title \"><span class=\"en\">Pick up</span><small>ピックアップ</small></h2>
  315.         </div><!--/.home_title__inner-->
  316.         <div class=\"home_pickup__inner\">
  317.             <ul class=\"pickup_list\">
  318.             ";
  319.         // line 244
  320.         $context['_parent'] = $context;
  321.         $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); })()));
  322.         $context['loop'] = [
  323.           'parent' => $context['_parent'],
  324.           'index0' => 0,
  325.           'index'  => 1,
  326.           'first'  => true,
  327.         ];
  328.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  329.             $length count($context['_seq']);
  330.             $context['loop']['revindex0'] = $length 1;
  331.             $context['loop']['revindex'] = $length;
  332.             $context['loop']['length'] = $length;
  333.             $context['loop']['last'] = === $length;
  334.         }
  335.         foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
  336.             // line 245
  337.             echo "                <li class=\"pickup_list_block\">
  338.                     <a href=\"";
  339.             // line 246
  340.             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"falsefalsefalse246)]), "html"nulltrue);
  341.             echo "\">
  342.                         <div class=\"thumb\">
  343.                             <img src=\"";
  344.             // line 248
  345.             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"falsefalsefalse248)), "save_image"), "html"nulltrue);
  346.             echo "\" alt=\"";
  347.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["product"], "name", [], "any"falsefalsefalse248), "html"nulltrue);
  348.             echo "\" ";
  349.             if ((twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse248) > 5)) {
  350.                 echo " loading=\"lazy\"";
  351.             }
  352.             echo ">
  353.                         </div><!--/.thumb-->
  354.                         ";
  355.             // line 251
  356.             echo "                        ";
  357.             $context["targetParentCategoryId"] = 34;
  358.             echo " ";
  359.             // line 252
  360.             echo "                        ";
  361.             $context["relatedSubcategories"] = [];
  362.             // line 253
  363.             echo "                        ";
  364.             $context['_parent'] = $context;
  365.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["product"], "ProductCategories", [], "any"falsefalsefalse253));
  366.             foreach ($context['_seq'] as $context["_key"] => $context["productCategory"]) {
  367.                 // line 254
  368.                 echo "                            ";
  369.                 $context["category"] = twig_get_attribute($this->env$this->source$context["productCategory"], "Category", [], "any"falsefalsefalse254);
  370.                 // line 255
  371.                 echo "                            ";
  372.                 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"falsefalsefalse255) && (twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse255), "id", [], "any"falsefalsefalse255) == (isset($context["targetParentCategoryId"]) || array_key_exists("targetParentCategoryId"$context) ? $context["targetParentCategoryId"] : (function () { throw new RuntimeError('Variable "targetParentCategoryId" does not exist.'255$this->source); })())))) {
  373.                     // line 256
  374.                     echo "                                ";
  375.                     $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); })()), [=> (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'256$this->source); })())]);
  376.                     // line 257
  377.                     echo "                            ";
  378.                 }
  379.                 // line 258
  380.                 echo "                        ";
  381.             }
  382.             $_parent $context['_parent'];
  383.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['productCategory'], $context['_parent'], $context['loop']);
  384.             $context array_intersect_key($context$_parent) + $_parent;
  385.             // line 259
  386.             echo "
  387.                         <div class=\"pickup_list_block__txt\">
  388.                             ";
  389.             // line 262
  390.             echo "                            ";
  391.             $context['_parent'] = $context;
  392.             $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); })()));
  393.             foreach ($context['_seq'] as $context["_key"] => $context["subcategory"]) {
  394.                 // line 263
  395.                 echo "                             <object>
  396.                                  <a class=\"brand_name\" href=\"";
  397.                 // line 264
  398.                 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"falsefalsefalse264)]), "html"nulltrue);
  399.                 echo "\">
  400.                                      ";
  401.                 // line 265
  402.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["subcategory"], "name", [], "any"falsefalsefalse265), "html"nulltrue);
  403.                 echo "
  404.                                  </a>
  405.                              </object>
  406.                             ";
  407.             }
  408.             $_parent $context['_parent'];
  409.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['subcategory'], $context['_parent'], $context['loop']);
  410.             $context array_intersect_key($context$_parent) + $_parent;
  411.             // line 269
  412.             echo "
  413.                             <span class=\"product_ttl\">";
  414.             // line 270
  415.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["product"], "name", [], "any"falsefalsefalse270), "html"nulltrue);
  416.             echo "</span>
  417.                             <span class=\"product_price\">
  418.                                     <span class=\"product_price__num\">
  419.                                     ";
  420.             // line 273
  421.             if (twig_get_attribute($this->env$this->source$context["product"], "hasProductClass", [], "any"falsefalsefalse273)) {
  422.                 // line 274
  423.                 echo "                                        ";
  424.                 if ((twig_get_attribute($this->env$this->source$context["product"], "getPrice02Min", [], "any"falsefalsefalse274) == twig_get_attribute($this->env$this->source$context["product"], "getPrice02Max", [], "any"falsefalsefalse274))) {
  425.                     // line 275
  426.                     echo "                                            ";
  427.                     echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["product"], "getPrice02IncTaxMin", [], "any"falsefalsefalse275)), "html"nulltrue);
  428.                     echo "
  429.                                         ";
  430.                 } else {
  431.                     // line 277
  432.                     echo "                                            ";
  433.                     echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["product"], "getPrice02IncTaxMin", [], "any"falsefalsefalse277)), "html"nulltrue);
  434.                     echo " ~ ";
  435.                     echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["product"], "getPrice02IncTaxMax", [], "any"falsefalsefalse277)), "html"nulltrue);
  436.                     echo "
  437.                                         ";
  438.                 }
  439.                 // line 279
  440.                 echo "                                    ";
  441.             } else {
  442.                 // line 280
  443.                 echo "                                        ";
  444.                 echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["product"], "getPrice02IncTaxMin", [], "any"falsefalsefalse280)), "html"nulltrue);
  445.                 echo "
  446.                                     ";
  447.             }
  448.             // line 282
  449.             echo "                                    </span><!--/.product_price__num-->
  450.                                     <span class=\"zeikomi\">(税込)</span>
  451.                                 </span>
  452.                         </div><!--/.pickup_list_block__txt-->
  453.                     </a>
  454.                 </li>
  455.             ";
  456.             ++$context['loop']['index0'];
  457.             ++$context['loop']['index'];
  458.             $context['loop']['first'] = false;
  459.             if (isset($context['loop']['length'])) {
  460.                 --$context['loop']['revindex0'];
  461.                 --$context['loop']['revindex'];
  462.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  463.             }
  464.         }
  465.         $_parent $context['_parent'];
  466.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']);
  467.         $context array_intersect_key($context$_parent) + $_parent;
  468.         // line 289
  469.         echo "            </ul><!--/.pickup_list-->
  470.         </div><!--/.home_pickup__inner-->
  471.     </section>
  472.     <section id=\"home_ranking\">
  473.         <div class=\"home_title__inner\">
  474.             <h2 class=\"home_en_title \"><span class=\"en\">Ranking</span><small>ランキング</small></h2>
  475.         </div><!--/.home_title__inner-->
  476.         <div class=\"home_ranking__inner\">
  477.             <ul class=\"products_list\">
  478.             ";
  479.         // line 301
  480.         $context['_parent'] = $context;
  481.         $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); })()));
  482.         $context['loop'] = [
  483.           'parent' => $context['_parent'],
  484.           'index0' => 0,
  485.           'index'  => 1,
  486.           'first'  => true,
  487.         ];
  488.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  489.             $length count($context['_seq']);
  490.             $context['loop']['revindex0'] = $length 1;
  491.             $context['loop']['revindex'] = $length;
  492.             $context['loop']['length'] = $length;
  493.             $context['loop']['last'] = === $length;
  494.         }
  495.         foreach ($context['_seq'] as $context["subcategory_id"] => $context["products"]) {
  496.             // line 302
  497.             echo "
  498.                 ";
  499.             // line 303
  500.             $context["loop_index"] = twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse303);
  501.             // line 304
  502.             echo "
  503.                 <li class=\"products_list_block\">
  504.                     ";
  505.             // line 306
  506.             $context['_parent'] = $context;
  507.             $context['_seq'] = twig_ensure_traversable($context["products"]);
  508.             $context['loop'] = [
  509.               'parent' => $context['_parent'],
  510.               'index0' => 0,
  511.               'index'  => 1,
  512.               'first'  => true,
  513.             ];
  514.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  515.                 $length count($context['_seq']);
  516.                 $context['loop']['revindex0'] = $length 1;
  517.                 $context['loop']['revindex'] = $length;
  518.                 $context['loop']['length'] = $length;
  519.                 $context['loop']['last'] = === $length;
  520.             }
  521.             foreach ($context['_seq'] as $context["_key"] => $context["product"]) {
  522.                 // line 307
  523.                 echo "                    <a href=\"";
  524.                 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"falsefalsefalse307)]), "html"nulltrue);
  525.                 echo "\">
  526.                         <span class=\"rank_num rank_num_";
  527.                 // line 308
  528.                 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"nulltrue);
  529.                 echo "\"><span class=\"num_txt\">";
  530.                 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"nulltrue);
  531.                 echo "</span></span>
  532.                         <div class=\"thumb\">
  533.                             <img src=\"";
  534.                 // line 310
  535.                 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"falsefalsefalse310)), "save_image"), "html"nulltrue);
  536.                 echo "\" alt=\"";
  537.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["product"], "name", [], "any"falsefalsefalse310), "html"nulltrue);
  538.                 echo "\" ";
  539.                 if ((twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse310) > 5)) {
  540.                     echo " loading=\"lazy\"";
  541.                 }
  542.                 echo ">
  543.                         </div><!--/.thumb-->
  544.                         ";
  545.                 // line 313
  546.                 echo "                        ";
  547.                 $context["targetParentCategoryId"] = 34;
  548.                 echo " ";
  549.                 // line 314
  550.                 echo "                        ";
  551.                 $context["relatedSubcategories"] = [];
  552.                 // line 315
  553.                 echo "                        ";
  554.                 $context['_parent'] = $context;
  555.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["product"], "ProductCategories", [], "any"falsefalsefalse315));
  556.                 foreach ($context['_seq'] as $context["_key"] => $context["productCategory"]) {
  557.                     // line 316
  558.                     echo "                            ";
  559.                     $context["category"] = twig_get_attribute($this->env$this->source$context["productCategory"], "Category", [], "any"falsefalsefalse316);
  560.                     // line 317
  561.                     echo "                            ";
  562.                     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"falsefalsefalse317) && (twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse317), "id", [], "any"falsefalsefalse317) == (isset($context["targetParentCategoryId"]) || array_key_exists("targetParentCategoryId"$context) ? $context["targetParentCategoryId"] : (function () { throw new RuntimeError('Variable "targetParentCategoryId" does not exist.'317$this->source); })())))) {
  563.                         // line 318
  564.                         echo "                                ";
  565.                         $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); })()), [=> (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'318$this->source); })())]);
  566.                         // line 319
  567.                         echo "                            ";
  568.                     }
  569.                     // line 320
  570.                     echo "                        ";
  571.                 }
  572.                 $_parent $context['_parent'];
  573.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['productCategory'], $context['_parent'], $context['loop']);
  574.                 $context array_intersect_key($context$_parent) + $_parent;
  575.                 // line 321
  576.                 echo "
  577.                         <div class=\"pickup_list_block__txt\">
  578.                             ";
  579.                 // line 324
  580.                 echo "                            ";
  581.                 $context['_parent'] = $context;
  582.                 $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); })()));
  583.                 foreach ($context['_seq'] as $context["_key"] => $context["subcategory"]) {
  584.                     // line 325
  585.                     echo "                                <object>
  586.                                     <a class=\"brand_name\" href=\"";
  587.                     // line 326
  588.                     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"falsefalsefalse326)]), "html"nulltrue);
  589.                     echo "\">
  590.                                         ";
  591.                     // line 327
  592.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["subcategory"], "name", [], "any"falsefalsefalse327), "html"nulltrue);
  593.                     echo "
  594.                                     </a>
  595.                                 </object>
  596.                             ";
  597.                 }
  598.                 $_parent $context['_parent'];
  599.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['subcategory'], $context['_parent'], $context['loop']);
  600.                 $context array_intersect_key($context$_parent) + $_parent;
  601.                 // line 331
  602.                 echo "
  603.                             <span class=\"product_ttl\">";
  604.                 // line 332
  605.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["product"], "name", [], "any"falsefalsefalse332), "html"nulltrue);
  606.                 echo "</span>
  607.                             <span class=\"product_price\">
  608.                                     <span class=\"product_price__num\">
  609.                                     ";
  610.                 // line 335
  611.                 if (twig_get_attribute($this->env$this->source$context["product"], "hasProductClass", [], "any"falsefalsefalse335)) {
  612.                     // line 336
  613.                     echo "                                        ";
  614.                     if ((twig_get_attribute($this->env$this->source$context["product"], "getPrice02Min", [], "any"falsefalsefalse336) == twig_get_attribute($this->env$this->source$context["product"], "getPrice02Max", [], "any"falsefalsefalse336))) {
  615.                         // line 337
  616.                         echo "                                            ";
  617.                         echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["product"], "getPrice02IncTaxMin", [], "any"falsefalsefalse337)), "html"nulltrue);
  618.                         echo "
  619.                                         ";
  620.                     } else {
  621.                         // line 339
  622.                         echo "                                            ";
  623.                         echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["product"], "getPrice02IncTaxMin", [], "any"falsefalsefalse339)), "html"nulltrue);
  624.                         echo " ~ ";
  625.                         echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["product"], "getPrice02IncTaxMax", [], "any"falsefalsefalse339)), "html"nulltrue);
  626.                         echo "
  627.                                         ";
  628.                     }
  629.                     // line 341
  630.                     echo "                                    ";
  631.                 } else {
  632.                     // line 342
  633.                     echo "                                        ";
  634.                     echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["product"], "getPrice02IncTaxMin", [], "any"falsefalsefalse342)), "html"nulltrue);
  635.                     echo "
  636.                                     ";
  637.                 }
  638.                 // line 344
  639.                 echo "                                    </span><!--/.product_price__num-->
  640.                                     <span class=\"zeikomi\">(税込)</span>
  641.                                 </span>
  642.                         </div><!--/.pickup_list_block__txt-->
  643.                     </a>
  644.                     ";
  645.                 ++$context['loop']['index0'];
  646.                 ++$context['loop']['index'];
  647.                 $context['loop']['first'] = false;
  648.                 if (isset($context['loop']['length'])) {
  649.                     --$context['loop']['revindex0'];
  650.                     --$context['loop']['revindex'];
  651.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  652.                 }
  653.             }
  654.             $_parent $context['_parent'];
  655.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['product'], $context['_parent'], $context['loop']);
  656.             $context array_intersect_key($context$_parent) + $_parent;
  657.             // line 350
  658.             echo "                </li>
  659.             ";
  660.             ++$context['loop']['index0'];
  661.             ++$context['loop']['index'];
  662.             $context['loop']['first'] = false;
  663.             if (isset($context['loop']['length'])) {
  664.                 --$context['loop']['revindex0'];
  665.                 --$context['loop']['revindex'];
  666.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  667.             }
  668.         }
  669.         $_parent $context['_parent'];
  670.         unset($context['_seq'], $context['_iterated'], $context['subcategory_id'], $context['products'], $context['_parent'], $context['loop']);
  671.         $context array_intersect_key($context$_parent) + $_parent;
  672.         // line 352
  673.         echo "
  674.             </ul>
  675.         </div><!--/.home_pickup__inner-->
  676.     </section>
  677.     ";
  678.         // line 438
  679.         echo "
  680. ";
  681.         
  682.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  683.         
  684.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  685.     }
  686.     public function getTemplateName()
  687.     {
  688.         return "index.twig";
  689.     }
  690.     public function isTraitable()
  691.     {
  692.         return false;
  693.     }
  694.     public function getDebugInfo()
  695.     {
  696.         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,);
  697.     }
  698.     public function getSourceContext()
  699.     {
  700.         return new Source("{#
  701. This file is part of EC-CUBE
  702. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  703. http://www.ec-cube.co.jp/
  704. For the full copyright and license information, please view the LICENSE
  705. file that was distributed with this source code.
  706. #}
  707. {% extends 'fullwidth_frame.twig' %}
  708. {% set body_class = 'front_page' %}
  709. {% block stylesheet %}
  710. {% endblock %}
  711. {% block main %}
  712.     <section id=\"home_category\">
  713.         <div class=\"home_title__inner\">
  714.             <h2 class=\"home_en_title \"><span class=\"en\">Category</span><small>カテゴリーから探す</small></h2>
  715.             <a class=\"base_link_brn\" href=\"{{ url('homepage') }}category\">
  716.                 <span>カテゴリー一覧</span>
  717.                 <span>カテゴリー一覧</span>
  718.             </a>
  719.         </div><!--/.home_title__inner-->
  720.         <div class=\"home_category__inner\">
  721.             <div class=\"home_category__list\">
  722.                 {% for category in childCategories %}
  723.                     <a class=\"home_category__list_block\" href=\"{{ url('homepage') }}products/list?category_id={{ category.id }}\">
  724.                         <span class=\"thumb\">
  725.                             <img src=\"{{ asset('rich_category/'~category.logo_file_name,'save_image') }}\">
  726.                             </span>
  727.                         <span class=\"cat_ttl\">{{ category.name }}</span>
  728.                     </a>
  729.                 {% endfor %}
  730.             </div><!--/.home_category__list-->
  731.         </div><!--/.home_title__inner-->
  732.         <div class=\"sp_center_link_btn\">
  733.             <a class=\"base_link_brn\" href=\"{{ url('homepage') }}category\">
  734.                 <span>カテゴリー一覧</span>
  735.                 <span>カテゴリー一覧</span>
  736.             </a>
  737.         </div><!--/.sp_center_link_btn-->
  738.     </section>
  739.     <section id=\"home_brand\">
  740.         <div class=\"home_title__inner\">
  741.             <h2 class=\"home_en_title \"><span class=\"en\">Brand</span><small>ブランドから探す</small></h2>
  742.             <a class=\"base_link_brn\" href=\"{{ url('homepage') }}brand\">
  743.                 <span>ブランド一覧</span>
  744.                 <span>ブランド一覧</span>
  745.             </a>
  746.         </div><!--/.home_title__inner-->
  747.         <div class=\"home_brand__inner\">
  748.             <div class=\"home_brand_container\">
  749.                 <div class=\"left_column\">
  750.                     <ul class=\"brand_logo_list\">
  751.                         <li class=\"current\">
  752.                             <a href=\"{{ url('homepage') }}products/list?category_id=35\">
  753.                                 <img src=\"{{ asset('assets/img/about/brand_01_logo.png') }}\" width=\"145\" height=\"40\" loading=\"lazy\" alt=\"\">
  754.                             </a>
  755.                         </li>
  756.                         <li>
  757.                             <a href=\"{{ url('homepage') }}products/list?category_id=36\">
  758.                                 <img src=\"{{ asset('assets/img/about/brand_02_logo.png') }}\" width=\"145\" height=\"40\" loading=\"lazy\" alt=\"\">
  759.                             </a>
  760.                         </li>
  761.                         <li>
  762.                             <a href=\"{{ url('homepage') }}products/list?category_id=39\">
  763.                                 <img src=\"{{ asset('assets/img/about/brand_03_logo.png') }}\" width=\"145\" height=\"40\" loading=\"lazy\" alt=\"\">
  764.                             </a>
  765.                         </li>
  766.                         <li>
  767.                             <a href=\"{{ url('homepage') }}products/list?category_id=40\">
  768.                                 <img src=\"{{ asset('assets/img/about/brand_04_logo.png') }}\" width=\"145\" height=\"40\" loading=\"lazy\" alt=\"\">
  769.                             </a>
  770.                         </li>
  771.                         <li>
  772.                             <a href=\"{{ url('homepage') }}products/list?category_id=70\">
  773.                                 <img src=\"{{ asset('assets/img/about/brand_05_logo.png') }}\" width=\"145\" height=\"40\" loading=\"lazy\" alt=\"\">
  774.                             </a>
  775.                         </li>
  776.                     </ul>
  777.                     <div class=\"pc_link_btn\">
  778.                         <a class=\"base_link_brn\" href=\"{{ url('homepage') }}brand\">
  779.                             <span>and more...</span>
  780.                             <span>and more...</span>
  781.                         </a>
  782.                     </div><!--/.sp_center_link_btn-->
  783.                 </div>
  784.             </div><!--/.container-->
  785.             <div class=\"right_column\">
  786.                 <ul class=\"brand_image_list\">
  787.                     <li class=\"is-show\">
  788.                         <div class=\"list_brand_title\">
  789.                             <span class=\"ja\">マスターウォール</span>
  790.                             <span class=\"en\">MASTERWAL</span>
  791.                             <span class=\"ja sp_ja\">マスターウォール</span>
  792.                         </div><!--/.list_brand_title-->
  793.                         <img src=\"{{ asset('assets/img/brand/home_image/brand_01.jpg') }}\">
  794.                     </li>
  795.                     <li>
  796.                         <div class=\"list_brand_title\">
  797.                             <span class=\"ja\">カリモク ニュウスタンダード</span>
  798.                             <span class=\"en\">Karimoku</span>
  799.                             <span class=\"ja sp_ja\">カリモク ニュウスタンダード</span>
  800.                         </div><!--/.list_brand_title-->
  801.                         <img src=\"{{ asset('assets/img/brand/home_image/brand_02.jpg') }}\">
  802.                     </li>
  803.                     <li>
  804.                         <div class=\"list_brand_title\">
  805.                             <span class=\"ja\">ブリッジ</span>
  806.                             <span class=\"en\">BRIDGE</span>
  807.                             <span class=\"ja sp_ja\">ブリッジ</span>
  808.                         </div><!--/.list_brand_title-->
  809.                         <img src=\"{{ asset('assets/img/brand/home_image/brand_03.jpg') }}\">
  810.                     </li>
  811.                     <li>
  812.                         <div class=\"list_brand_title\">
  813.                             <span class=\"ja\">ニホンベッド</span>
  814.                             <span class=\"en\">NIHON BED</span>
  815.                             <span class=\"ja sp_ja\">ニホンベッド</span>
  816.                         </div><!--/.list_brand_title-->
  817.                         <img src=\"{{ asset('assets/img/brand/home_image/brand_04.jpg') }}\">
  818.                     </li>
  819.                     <li>
  820.                         <div class=\"list_brand_title\">
  821.                             <span class=\"ja\">ヘイ</span>
  822.                             <span class=\"en\">HAY</span>
  823.                             <span class=\"ja sp_ja\">ヘイ</span>
  824.                         </div><!--/.list_brand_title-->
  825.                         <img src=\"{{ asset('assets/img/brand/home_image/brand_05.jpg') }}\">
  826.                     </li>
  827.                 </ul>
  828.             </div>
  829.         </div><!--/.home_brand__inner-->
  830.         <div class=\"sp_center_link_btn\">
  831.             <a class=\"base_link_brn\" href=\"{{ url('homepage') }}brand\">
  832.                 <span>ブランド一覧</span>
  833.                 <span>ブランド一覧</span>
  834.             </a>
  835.         </div><!--/.sp_center_link_btn-->
  836.     </section>
  837.     {#
  838.     <section id=\"home_special\">
  839.         <div class=\"home_title__inner home_title__inner_no_line\">
  840.             <h2 class=\"home_en_title \"><span class=\"en\">Special</span><small>特集</small></h2>
  841.             <a class=\"base_link_brn\" href=\"{{ url('homepage') }}\">
  842.                 <span>特集一覧</span>
  843.                 <span>特集一覧</span>
  844.             </a>
  845.         </div><!--/.home_title__inner-->
  846.         <div class=\"home_special__inner\">
  847.             <div class=\"progress\" role=\"progressbar\" aria-valuemin=\"0\" aria-valuemax=\"100\">
  848.                 <span class=\"slider__label sr-only\"></span>
  849.             </div><!--/.progress-->
  850.             <div class=\"special_slider_wrap\">
  851.                 <div class=\"special_slider\">
  852.                     <div class=\"item\">
  853.                         <a class=\"special_slide_block\" href=\"{{ url('homepage') }}products/list?category_id=36\">
  854.                             <div class=\"new_icon\"><span class=\"txt\">New</span></div>
  855.                             <img src=\"{{ asset('assets/img/home/special_slide01.jpg') }}\">
  856.                             <div class=\"special_ttl\">統一感のあるリビングに<br>洗練されたデザインが特徴の<br>Karimoku New Standardを</div>
  857.                         </a>
  858.                     </div><!--/.slick-slide-->
  859.                     <div class=\"item\">
  860.                         <a class=\"special_slide_block\" href=\"{{ url('homepage') }}products/list?category_id=17\">
  861.                             <img src=\"{{ asset('assets/img/home/special_slide02.jpg') }}\">
  862.                             <div class=\"special_ttl\">食卓に彩りを<br>IKUSが提案するダイニングテーブル</div>
  863.                         </a>
  864.                     </div><!--/.slick-slide-->
  865.                     <div class=\"item\">
  866.                         <a class=\"special_slide_block\" href=\"{{ url('homepage') }}products/list?category_id=35\">
  867.                             <img src=\"{{ asset('assets/img/home/special_slide03.jpg') }}\">
  868.                             <div class=\"special_ttl\">100年後のアンティーク家具へ<br>厳選されたウォールナットを使用した<br>高品質のファニチャーブランド。</div>
  869.                         </a>
  870.                     </div><!--/.slick-slide-->
  871.                     <div class=\"item\">
  872.                         <a class=\"special_slide_block\" href=\"{{ url('homepage') }}products/list?category_id=10\">
  873.                             <div class=\"new_icon\"><span class=\"txt\">New</span></div>
  874.                             <img src=\"{{ asset('assets/img/home/special_slide04.jpg') }}\">
  875.                             <div class=\"special_ttl\">リビングの顔<br>家族が集まる団らんのリビングに<br>IKUSがおすすめするソファ</div>
  876.                         </a>
  877.                     </div><!--/.slick-slide-->
  878.                     <div class=\"item\">
  879.                         <a class=\"special_slide_block\" href=\"{{ url('homepage') }}products/list?category_id=39\">
  880.                             <img src=\"{{ asset('assets/img/home/special_slide05.jpg') }}\">
  881.                             <div class=\"special_ttl\">デンマークの家具デザイナー、<br>ハンス・S・ヤコブセンとのコラボレーションブランド</div>
  882.                         </a>
  883.                     </div><!--/.slick-slide-->
  884.                 </div><!--/.special_slider-->
  885.             </div><!--/.special_slider_wrap-->
  886.             <img class=\"home_special__logp\" src=\"{{ asset('assets/icon/logo_type02.svg') }}\">
  887.         </div><!--/.home_special__inner-->
  888.     </section>
  889.     #}
  890.     <section id=\"home_about\">
  891.         <div class=\"home_about__inner\">
  892.             <div class=\"home_about_container\">
  893.                 <div class=\"home_about_txt_block\">
  894.                     <h3 class=\"home_about_h3\">自分の</br>好きなものと、</br>出会う。</h3>
  895.                     <p class=\"home_about_ttl__en\">Kind your likes</p>
  896.                     <a class=\"base_link_brn\" href=\"{{ url('homepage') }}about\">
  897.                         <span>IKUSについて</span>
  898.                         <span>IKUSについて</span>
  899.                     </a>
  900.                 </div><!--/.home_about_txt_block-->
  901.             </div><!--/.container-->
  902.             <div class=\"left_column\">
  903.                 <img src=\"{{ asset('assets/img/home/home_about_img.jpg') }}\">
  904.             </div><!--/.left_column-->
  905.         </div>
  906.         <div class=\"sp_center_link_btn\">
  907.             <a class=\"base_link_brn\" href=\"{{ url('homepage') }}about\">
  908.                 <span>IKUSについて</span>
  909.                 <span>IKUSについて</span>
  910.             </a>
  911.         </div><!--/.sp_center_link_btn-->
  912.     </section>
  913.     <section id=\"home_pickup\">
  914.         <div class=\"home_title__inner\">
  915.             <h2 class=\"home_en_title \"><span class=\"en\">Pick up</span><small>ピックアップ</small></h2>
  916.         </div><!--/.home_title__inner-->
  917.         <div class=\"home_pickup__inner\">
  918.             <ul class=\"pickup_list\">
  919.             {% for product in pickup_products %}
  920.                 <li class=\"pickup_list_block\">
  921.                     <a href=\"{{ url('product_detail', {'id': product.id}) }}\">
  922.                         <div class=\"thumb\">
  923.                             <img src=\"{{ asset(product.main_list_image|no_image_product, 'save_image') }}\" alt=\"{{ product.name }}\" {% if loop.index > 5 %} loading=\"lazy\"{% endif %}>
  924.                         </div><!--/.thumb-->
  925.                         {# 商品が所属する特定の親カテゴリの子カテゴリを取得します #}
  926.                         {% set targetParentCategoryId = 34 %} {# 親カテゴリのIDを指定 #}
  927.                         {% set relatedSubcategories = [] %}
  928.                         {% for productCategory in product.ProductCategories %}
  929.                             {% set category = productCategory.Category %}
  930.                             {% if category.Parent and category.Parent.id == targetParentCategoryId %}
  931.                                 {% set relatedSubcategories = relatedSubcategories|merge([category]) %}
  932.                             {% endif %}
  933.                         {% endfor %}
  934.                         <div class=\"pickup_list_block__txt\">
  935.                             {# 商品が所属する特定の親カテゴリの子カテゴリを表示します #}
  936.                             {% for subcategory in relatedSubcategories %}
  937.                              <object>
  938.                                  <a class=\"brand_name\" href=\"{{ url('product_list', {'category_id': subcategory.id}) }}\">
  939.                                      {{ subcategory.name }}
  940.                                  </a>
  941.                              </object>
  942.                             {% endfor %}
  943.                             <span class=\"product_ttl\">{{ product.name }}</span>
  944.                             <span class=\"product_price\">
  945.                                     <span class=\"product_price__num\">
  946.                                     {% if product.hasProductClass %}
  947.                                         {% if product.getPrice02Min == product.getPrice02Max %}
  948.                                             {{ product.getPrice02IncTaxMin|price }}
  949.                                         {% else %}
  950.                                             {{ product.getPrice02IncTaxMin|price }} ~ {{ product.getPrice02IncTaxMax|price }}
  951.                                         {% endif %}
  952.                                     {% else %}
  953.                                         {{ product.getPrice02IncTaxMin|price }}
  954.                                     {% endif %}
  955.                                     </span><!--/.product_price__num-->
  956.                                     <span class=\"zeikomi\">(税込)</span>
  957.                                 </span>
  958.                         </div><!--/.pickup_list_block__txt-->
  959.                     </a>
  960.                 </li>
  961.             {% endfor %}
  962.             </ul><!--/.pickup_list-->
  963.         </div><!--/.home_pickup__inner-->
  964.     </section>
  965.     <section id=\"home_ranking\">
  966.         <div class=\"home_title__inner\">
  967.             <h2 class=\"home_en_title \"><span class=\"en\">Ranking</span><small>ランキング</small></h2>
  968.         </div><!--/.home_title__inner-->
  969.         <div class=\"home_ranking__inner\">
  970.             <ul class=\"products_list\">
  971.             {% for subcategory_id, products in products_by_subcategory %}
  972.                 {% set loop_index = loop.index %}
  973.                 <li class=\"products_list_block\">
  974.                     {% for product in products %}
  975.                     <a href=\"{{ url('product_detail', {'id': product.id}) }}\">
  976.                         <span class=\"rank_num rank_num_{{ loop_index }}\"><span class=\"num_txt\">{{ loop_index }}</span></span>
  977.                         <div class=\"thumb\">
  978.                             <img src=\"{{ asset(product.main_list_image|no_image_product, 'save_image') }}\" alt=\"{{ product.name }}\" {% if loop.index > 5 %} loading=\"lazy\"{% endif %}>
  979.                         </div><!--/.thumb-->
  980.                         {# 商品が所属する特定の親カテゴリの子カテゴリを取得します #}
  981.                         {% set targetParentCategoryId = 34 %} {# 親カテゴリのIDを指定 #}
  982.                         {% set relatedSubcategories = [] %}
  983.                         {% for productCategory in product.ProductCategories %}
  984.                             {% set category = productCategory.Category %}
  985.                             {% if category.Parent and category.Parent.id == targetParentCategoryId %}
  986.                                 {% set relatedSubcategories = relatedSubcategories|merge([category]) %}
  987.                             {% endif %}
  988.                         {% endfor %}
  989.                         <div class=\"pickup_list_block__txt\">
  990.                             {# 商品が所属する特定の親カテゴリの子カテゴリを表示します #}
  991.                             {% for subcategory in relatedSubcategories %}
  992.                                 <object>
  993.                                     <a class=\"brand_name\" href=\"{{ url('product_list', {'category_id': subcategory.id}) }}\">
  994.                                         {{ subcategory.name }}
  995.                                     </a>
  996.                                 </object>
  997.                             {% endfor %}
  998.                             <span class=\"product_ttl\">{{ product.name }}</span>
  999.                             <span class=\"product_price\">
  1000.                                     <span class=\"product_price__num\">
  1001.                                     {% if product.hasProductClass %}
  1002.                                         {% if product.getPrice02Min == product.getPrice02Max %}
  1003.                                             {{ product.getPrice02IncTaxMin|price }}
  1004.                                         {% else %}
  1005.                                             {{ product.getPrice02IncTaxMin|price }} ~ {{ product.getPrice02IncTaxMax|price }}
  1006.                                         {% endif %}
  1007.                                     {% else %}
  1008.                                         {{ product.getPrice02IncTaxMin|price }}
  1009.                                     {% endif %}
  1010.                                     </span><!--/.product_price__num-->
  1011.                                     <span class=\"zeikomi\">(税込)</span>
  1012.                                 </span>
  1013.                         </div><!--/.pickup_list_block__txt-->
  1014.                     </a>
  1015.                     {% endfor %}
  1016.                 </li>
  1017.             {% endfor %}
  1018.             </ul>
  1019.         </div><!--/.home_pickup__inner-->
  1020.     </section>
  1021.     {#
  1022.     <section id=\"home_coordinate\">
  1023.         <div class=\"home_title__inner home_title__inner_no_line home_title__inner_sp_line\">
  1024.             <h2 class=\"home_en_title \"><span class=\"en\">Coordinate Services</span><small>コーディネートサービス</small></h2>
  1025.         </div><!--/.home_title__inner-->
  1026.         <div class=\"coordinate_h3__sp_wrap\">
  1027.             <h3>好きと出会う、<br>コーディネートの<br>お手伝い。</h3>
  1028.         </div><!--/.coordinate_h3__sp_wrap-->
  1029.         <div class=\"coordinate_wrap\">
  1030.             <div class=\"coordinate_wrap__inner\">
  1031.                 <div class=\"swiper slider_coordinate\">
  1032.                     <div class=\"swiper-wrapper\">
  1033.                         <div class=\"swiper-slide\">
  1034.                             <div data-swiper-parallax-x=\"100%\" data-swiper-parallax-scale=\"1\" class=\"swiper_img\">
  1035.                                 <img src=\"{{ asset('assets/img/home/coordinate_bg01.jpg') }}\">
  1036.                             </div>
  1037.                          </div>
  1038.                         <div class=\"swiper-slide\">
  1039.                             <div data-swiper-parallax-x=\"100%\" data-swiper-parallax-scale=\"1\" class=\"swiper_img\">
  1040.                                 <img src=\"{{ asset('assets/img/home/coordinate_bg02.jpg') }}\">
  1041.                             </div>
  1042.                         </div>
  1043.                         <div class=\"swiper-slide\">
  1044.                             <div data-swiper-parallax-x=\"100%\" data-swiper-parallax-scale=\"1\" class=\"swiper_img\">
  1045.                                 <img src=\"{{ asset('assets/img/home/coordinate_bg03.jpg') }}\">
  1046.                             </div>
  1047.                         </div>
  1048.                         <div class=\"swiper-slide\">
  1049.                             <div data-swiper-parallax-x=\"100%\" data-swiper-parallax-scale=\"1\" class=\"swiper_img\">
  1050.                                 <img src=\"{{ asset('assets/img/home/coordinate_bg01.jpg') }}\">
  1051.                             </div>
  1052.                         </div>
  1053.                     </div>
  1054.                 </div>
  1055.                 <div class=\"slider_thumbnail__wrap\">
  1056.                     <div class=\"swiper slider_thumbnail\">
  1057.                         <div class=\"swiper-wrapper\">
  1058.                             <div class=\"swiper-slide\">
  1059.                                 <img src=\"{{ asset('assets/img/home/coordinate_bg01.jpg') }}\">
  1060.                             </div>
  1061.                             <div class=\"swiper-slide\">
  1062.                                 <img src=\"{{ asset('assets/img/home/coordinate_bg02.jpg') }}\">
  1063.                             </div>
  1064.                             <div class=\"swiper-slide\">
  1065.                                 <img src=\"{{ asset('assets/img/home/coordinate_bg03.jpg') }}\">
  1066.                             </div>
  1067.                             <div class=\"swiper-slide\">
  1068.                                 <img src=\"{{ asset('assets/img/home/coordinate_bg01.jpg') }}\">
  1069.                             </div>
  1070.                         </div>
  1071.                     </div>
  1072.                 </div><!--/.slider_thumbnail__wrap-->
  1073.                 <div class=\"coordinate_inner_block\">
  1074.                     <div class=\"coordinate_inner_block__left\">
  1075.                         <h3>好きと出会う、<br>コーディネートの<br>お手伝い。</h3>
  1076.                     </div><!--/.coordinate_inner_block__left-->
  1077.                     <div class=\"coordinate_inner_block__right\">
  1078.                         <a class=\"base_link_brn base_link_brn__white\" href=\"{{ url('homepage') }}coordinate/\">
  1079.                             <span>コーディネートサービスを見る</span>
  1080.                             <span>コーディネートサービスを見る</span>
  1081.                         </a>
  1082.                     </div><!--/.coordinate_inner_block__right-->
  1083.                 </div><!--/.coordinate_inner_block-->
  1084.             </div><!--/.coordinate_wrap__inner-->
  1085.         </div><!--/.coordinate_wrap-->
  1086.         <div class=\"sp_center_link_btn\">
  1087.             <a class=\"base_link_brn\" href=\"{{ url('homepage') }}coordinate/\">
  1088.                 <span>コーディネートサービスを見る</span>
  1089.                 <span>コーディネートサービスを見る</span>
  1090.             </a>
  1091.         </div><!--/.sp_center_link_btn-->
  1092.     </section>
  1093.     #}
  1094. {% endblock %}
  1095. ""index.twig""/home/xs626321/ikus.furniture/public_html/dev/app/template/default/index.twig");
  1096.     }
  1097. }