var/cache/dev/twig/d2/d2b60d5f6c185e3a756659ed59d0fedd.php line 42

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_2720a8383c3d5a27a4c87d226087f339 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.             'javascript' => [$this'block_javascript'],
  25.             'main' => [$this'block_main'],
  26.         ];
  27.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  28.         $this->checkSecurity();
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 4
  33.         return "default_frame.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""index.twig"));
  40.         $__eccube__gblobal $this->env->getGlobals();
  41.         $__eccube__eventDispatcher $__eccube__gblobal['event_dispatcher'];
  42.         $__eccube__source $this->env->getLoader()->getSourceContext($this->getTemplateName())->getCode();
  43.         $__eccube__event = new \Eccube\Event\TemplateEvent($this->getTemplateName(), $__eccube__source$context);
  44.         $__eccube__eventDispatcher->dispatch($__eccube__event$this->getTemplateName());
  45.         $context $__eccube__event->getParameters();
  46.         if ($__eccube__event->getSource() !== $__eccube__source) {
  47.             $__eccube__newTemplate $this->env->createTemplate($__eccube__event->getSource());
  48.             $__eccube__newTemplate->display($__eccube__event->getParameters(), $blocks);
  49.             return;
  50.         }
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""index.twig"));
  53.         // line 6
  54.         $context["body_class"] = "front_page";
  55.         // line 4
  56.         $this->parent $this->loadTemplate("default_frame.twig""index.twig"4);
  57.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  58.         
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  60.         
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  62.     }
  63.     // line 8
  64.     public function block_stylesheet($context, array $blocks = [])
  65.     {
  66.         $macros $this->macros;
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  68.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  70.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  71.         // line 9
  72.         echo "    <style>
  73.         .slick-slider { margin-bottom: 30px; }
  74.         .slick-dots { position: absolute; bottom: 24px; display: block; width: 100%; padding: 0; list-style: none; text-align: center; }
  75.         .slick-dots li { position: relative; display: inline-block; width: 20px; height: 20px; margin: 0 5px; padding: 0; cursor: pointer; }
  76.         .slick-dots li button { font-size: 0; line-height: 0; display: block; width: 20px; height: 20px; padding: 5px; cursor: pointer; color: transparent; border: 0; outline: none; background: transparent; }
  77.         .slick-dots li button:before { content: \" \"; line-height: 20px; position: absolute; top: 0; left: 0; width: 12px; height: 12px; text-align: center; opacity: 1; background-color: #fff; border-radius: 50%; }
  78.         .slick-dots li.slick-active button:before { opacity: 1; background-color: #000; }
  79.     </style>
  80. ";
  81.         
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  83.         
  84.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  85.     }
  86.     // line 19
  87.     public function block_javascript($context, array $blocks = [])
  88.     {
  89.         $macros $this->macros;
  90.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  91.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  92.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  93.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  94.         // line 20
  95.         echo "    <script>
  96.         \$(function() {
  97.             \$('.main_visual').slick({
  98.                 dots: true,
  99.                 arrows: false,
  100.                 autoplay: true,
  101.                 fade: true,
  102.                 speed: 1000,
  103.                 cssEase: 'ease-in-out',
  104.                 autoplaySpeed: 5000
  105.             });
  106.         });
  107.     </script>
  108. ";
  109.         
  110.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  111.         
  112.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  113.     }
  114.     // line 35
  115.     public function block_main($context, array $blocks = [])
  116.     {
  117.         $macros $this->macros;
  118.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  119.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  120.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  121.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  122.         // line 36
  123.         echo "    ";
  124.         // line 37
  125.         echo "    <div class=\"ec-sliderRole temptu-hero\">
  126.         <div class=\"main_visual is-pc\">
  127.             <div class=\"item slick-slide temptu-hero__slide\">
  128.                 <a href=\"";
  129.         // line 40
  130.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  131.         echo "?category_id=96\" class=\"temptu-hero__link\">
  132.                     <img src=\"";
  133.         // line 41
  134.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/ftrm_01.jpg""user_data"), "html"nulltrue);
  135.         echo "\" alt=\"\">
  136.                 </a>
  137.             </div>
  138.             <div class=\"item slick-slide temptu-hero__slide\">
  139.                 <a href=\"";
  140.         // line 45
  141.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  142.         echo "?category_id=19\" class=\"temptu-hero__link\">
  143.                     <img src=\"";
  144.         // line 46
  145.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/ftrm_02.jpg""user_data"), "html"nulltrue);
  146.         echo "\" alt=\"\">
  147.                 </a>
  148.             </div>
  149.             <div class=\"item slick-slide temptu-hero__slide\">
  150.                 <a href=\"";
  151.         // line 50
  152.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  153.         echo "?category_id=22\" class=\"temptu-hero__link\">
  154.                     <img src=\"";
  155.         // line 51
  156.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/ftrm_03.jpg""user_data"), "html"nulltrue);
  157.         echo "\" alt=\"\">
  158.                 </a>
  159.             </div>
  160.             <div class=\"item slick-slide temptu-hero__slide\">
  161.                 <a href=\"";
  162.         // line 55
  163.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  164.         echo "?category_id=24\" class=\"temptu-hero__link\">
  165.                     <img src=\"";
  166.         // line 56
  167.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/ftrm_04.jpg""user_data"), "html"nulltrue);
  168.         echo "\" alt=\"\">
  169.                 </a>
  170.             </div>
  171.             <div class=\"item slick-slide temptu-hero__slide\">
  172.                 <a href=\"";
  173.         // line 60
  174.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  175.         echo "?category_id=25\" class=\"temptu-hero__link\">
  176.                     <img src=\"";
  177.         // line 61
  178.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/ftrm_05.jpg""user_data"), "html"nulltrue);
  179.         echo "\" alt=\"\">
  180.                 </a>
  181.             </div>
  182.         </div>
  183.         <div class=\"main_visual is-sp\">
  184.             <div class=\"item slick-slide\"><a href=\"";
  185.         // line 66
  186.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  187.         echo "?category_id=96\"><img src=\"";
  188.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/ftrm_01_sp.jpg""user_data"), "html"nulltrue);
  189.         echo "\" alt=\"\"></a></div>
  190.             <div class=\"item slick-slide\"><a href=\"";
  191.         // line 67
  192.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  193.         echo "?category_id=19\"><img src=\"";
  194.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/ftrm_02_sp.jpg""user_data"), "html"nulltrue);
  195.         echo "\" alt=\"\"></a></div>
  196.             <div class=\"item slick-slide\"><a href=\"";
  197.         // line 68
  198.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  199.         echo "?category_id=22\"><img src=\"";
  200.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/ftrm_03_sp.jpg""user_data"), "html"nulltrue);
  201.         echo "\" alt=\"\"></a></div>
  202.             <div class=\"item slick-slide\"><a href=\"";
  203.         // line 69
  204.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  205.         echo "?category_id=24\"><img src=\"";
  206.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/ftrm_04_sp.jpg""user_data"), "html"nulltrue);
  207.         echo "\" alt=\"\"></a></div>
  208.             <div class=\"item slick-slide\"><a href=\"";
  209.         // line 70
  210.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  211.         echo "?category_id=25\"><img src=\"";
  212.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/ftrm_05_sp.jpg""user_data"), "html"nulltrue);
  213.         echo "\" alt=\"\"></a></div>
  214.         </div>
  215.     </div>
  216.     ";
  217.         // line 75
  218.         echo "    ";
  219.         $context["categoryIds"] = [=> 7=> 9];
  220.         // line 76
  221.         echo "    ";
  222.         $context["CategoryProducts"] = twig_get_attribute($this->env$this->source$this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Product"), "getProductsByCategoryIds", [=> (isset($context["categoryIds"]) || array_key_exists("categoryIds"$context) ? $context["categoryIds"] : (function () { throw new RuntimeError('Variable "categoryIds" does not exist.'76$this->source); })()), => 8], "method"falsefalsetrue76);
  223.         // line 77
  224.         echo "    ";
  225.         if ((twig_length_filter($this->env, (isset($context["CategoryProducts"]) || array_key_exists("CategoryProducts"$context) ? $context["CategoryProducts"] : (function () { throw new RuntimeError('Variable "CategoryProducts" does not exist.'77$this->source); })())) > 0)) {
  226.             // line 78
  227.             echo "    ";
  228.             $context["firstCategory"] = (((twig_length_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["categoryIds"]) || array_key_exists("categoryIds"$context) ? $context["categoryIds"] : (function () { throw new RuntimeError('Variable "categoryIds" does not exist.'78$this->source); })()), 78$this->source)) > 0)) ? (twig_get_attribute($this->env$this->source$this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Category"), "find", [=> twig_first($this->env$this->sandbox->ensureToStringAllowed((isset($context["categoryIds"]) || array_key_exists("categoryIds"$context) ? $context["categoryIds"] : (function () { throw new RuntimeError('Variable "categoryIds" does not exist.'78$this->source); })()), 78$this->source))], "method"falsefalsetrue78)) : (null));
  229.             // line 79
  230.             echo "    <div class=\"temptu-categoryProducts\">
  231.         <div class=\"temptu-categoryProducts__inner\">
  232.             <div class=\"temptu-categoryProducts__header\">
  233.                 <h2 class=\"temptu-sec-en temptu-categoryProducts__title\">
  234.                     BEST SELLERS
  235.                 </h2>
  236.             </div>
  237.             <div class=\"temptu-categoryProducts__wrap\">
  238.                 <button type=\"button\" class=\"temptu-categoryProducts__arrow temptu-categoryProducts__arrow--prev\" aria-label=\"";
  239.             // line 87
  240.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("前へ"), "html"nulltrue);
  241.             echo "\"><i class=\"fas fa-chevron-left\"></i></button>
  242.                 <button type=\"button\" class=\"temptu-categoryProducts__arrow temptu-categoryProducts__arrow--next\" aria-label=\"";
  243.             // line 88
  244.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("次へ"), "html"nulltrue);
  245.             echo "\"><i class=\"fas fa-chevron-right\"></i></button>
  246.                 <div class=\"temptu-categoryProducts__scroll\" id=\"temptu-categoryProducts-scroll\">
  247.                 <ul class=\"temptu-categoryProducts__grid ec-shelfGrid\">
  248.                     ";
  249.             // line 91
  250.             $context['_parent'] = $context;
  251.             $context['_seq'] = twig_ensure_traversable((isset($context["CategoryProducts"]) || array_key_exists("CategoryProducts"$context) ? $context["CategoryProducts"] : (function () { throw new RuntimeError('Variable "CategoryProducts" does not exist.'91$this->source); })()));
  252.             foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
  253.                 // line 92
  254.                 echo "                    <li class=\"ec-shelfGrid__item\">
  255.                         <a href=\"";
  256.                 // line 93
  257.                 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"falsefalsetrue93)]), "html"nulltrue);
  258.                 echo "\">
  259.                             <p class=\"ec-shelfGrid__item-image\">
  260.                                 <img src=\"";
  261.                 // line 95
  262.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "main_list_image", [], "any"falsefalsetrue95), 95$this->source)), "save_image"), "html"nulltrue);
  263.                 echo "\" alt=\"";
  264.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "name", [], "any"falsefalsetrue95), 95$this->source), "html"nulltrue);
  265.                 echo "\" loading=\"lazy\">
  266.                             </p>
  267.                             <ul class=\"ec-shelfRole__tags\">
  268.                                 ";
  269.                 // line 98
  270.                 $context['_parent'] = $context;
  271.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["Product"], "ProductTag", [], "any"falsefalsetrue98));
  272.                 foreach ($context['_seq'] as $context["_key"] => $context["Tag"]) {
  273.                     // line 99
  274.                     echo "                                    ";
  275.                     if ($context["Tag"]) {
  276.                         // line 100
  277.                         echo "                                        <li class=\"ec-shelfRole__tag\">";
  278.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Tag"], "Tag", [], "any"falsefalsetrue100), 100$this->source), "html"nulltrue);
  279.                         echo "</li>
  280.                                     ";
  281.                     }
  282.                     // line 102
  283.                     echo "                                ";
  284.                 }
  285.                 $_parent $context['_parent'];
  286.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Tag'], $context['_parent'], $context['loop']);
  287.                 $context array_intersect_key($context$_parent) + $_parent;
  288.                 // line 103
  289.                 echo "                            </ul>
  290.                             <p class=\"ec-shelfGrid__item-name\">";
  291.                 // line 104
  292.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "name", [], "any"falsefalsetrue104), 104$this->source), "html"nulltrue);
  293.                 echo "</p>
  294.                             ";
  295.                 // line 105
  296.                 if (twig_get_attribute($this->env$this->source$context["Product"], "description_list", [], "any"falsefalsetrue105)) {
  297.                     // line 106
  298.                     echo "                                <p>";
  299.                     echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "description_list", [], "any"falsefalsetrue106), 106$this->source));
  300.                     echo "</p>
  301.                             ";
  302.                 }
  303.                 // line 108
  304.                 echo "                            <p class=\"price02-default\">
  305.                                 ";
  306.                 // line 109
  307.                 if (twig_get_attribute($this->env$this->source$context["Product"], "hasProductClass", [], "any"falsefalsetrue109)) {
  308.                     // line 110
  309.                     echo "                                    ";
  310.                     if ((twig_get_attribute($this->env$this->source$context["Product"], "getPrice02Min", [], "any"falsefalsetrue110) == twig_get_attribute($this->env$this->source$context["Product"], "getPrice02Max", [], "any"falsefalsetrue110))) {
  311.                         // line 111
  312.                         echo "                                        ";
  313.                         echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsetrue111), 111$this->source)), "html"nulltrue);
  314.                         echo "
  315.                                     ";
  316.                     } else {
  317.                         // line 113
  318.                         echo "                                        ";
  319.                         echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsetrue113), 113$this->source)), "html"nulltrue);
  320.                         echo " ~ ";
  321.                         echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMax", [], "any"falsefalsetrue113), 113$this->source)), "html"nulltrue);
  322.                         echo "
  323.                                     ";
  324.                     }
  325.                     // line 115
  326.                     echo "                                ";
  327.                 } else {
  328.                     // line 116
  329.                     echo "                                    ";
  330.                     echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsetrue116), 116$this->source)), "html"nulltrue);
  331.                     echo "
  332.                                 ";
  333.                 }
  334.                 // line 118
  335.                 echo "                            </p>
  336.                         </a>
  337.                     </li>
  338.                     ";
  339.             }
  340.             $_parent $context['_parent'];
  341.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
  342.             $context array_intersect_key($context$_parent) + $_parent;
  343.             // line 122
  344.             echo "                    ";
  345.             $context['_parent'] = $context;
  346.             $context['_seq'] = twig_ensure_traversable((isset($context["CategoryProducts"]) || array_key_exists("CategoryProducts"$context) ? $context["CategoryProducts"] : (function () { throw new RuntimeError('Variable "CategoryProducts" does not exist.'122$this->source); })()));
  347.             foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
  348.                 // line 123
  349.                 echo "                    <li class=\"ec-shelfGrid__item\">
  350.                         <a href=\"";
  351.                 // line 124
  352.                 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"falsefalsetrue124)]), "html"nulltrue);
  353.                 echo "\">
  354.                             <p class=\"ec-shelfGrid__item-image\">
  355.                                 <img src=\"";
  356.                 // line 126
  357.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "main_list_image", [], "any"falsefalsetrue126), 126$this->source)), "save_image"), "html"nulltrue);
  358.                 echo "\" alt=\"";
  359.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "name", [], "any"falsefalsetrue126), 126$this->source), "html"nulltrue);
  360.                 echo "\" loading=\"lazy\">
  361.                             </p>
  362.                             <ul class=\"ec-shelfRole__tags\">
  363.                                 ";
  364.                 // line 129
  365.                 $context['_parent'] = $context;
  366.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["Product"], "ProductTag", [], "any"falsefalsetrue129));
  367.                 foreach ($context['_seq'] as $context["_key"] => $context["Tag"]) {
  368.                     // line 130
  369.                     echo "                                    ";
  370.                     if ($context["Tag"]) {
  371.                         // line 131
  372.                         echo "                                        <li class=\"ec-shelfRole__tag\">";
  373.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Tag"], "Tag", [], "any"falsefalsetrue131), 131$this->source), "html"nulltrue);
  374.                         echo "</li>
  375.                                     ";
  376.                     }
  377.                     // line 133
  378.                     echo "                                ";
  379.                 }
  380.                 $_parent $context['_parent'];
  381.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Tag'], $context['_parent'], $context['loop']);
  382.                 $context array_intersect_key($context$_parent) + $_parent;
  383.                 // line 134
  384.                 echo "                            </ul>
  385.                             <p class=\"ec-shelfGrid__item-name\">";
  386.                 // line 135
  387.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "name", [], "any"falsefalsetrue135), 135$this->source), "html"nulltrue);
  388.                 echo "</p>
  389.                             ";
  390.                 // line 136
  391.                 if (twig_get_attribute($this->env$this->source$context["Product"], "description_list", [], "any"falsefalsetrue136)) {
  392.                     // line 137
  393.                     echo "                                <p>";
  394.                     echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "description_list", [], "any"falsefalsetrue137), 137$this->source));
  395.                     echo "</p>
  396.                             ";
  397.                 }
  398.                 // line 139
  399.                 echo "                            <p class=\"price02-default\">
  400.                                 ";
  401.                 // line 140
  402.                 if (twig_get_attribute($this->env$this->source$context["Product"], "hasProductClass", [], "any"falsefalsetrue140)) {
  403.                     // line 141
  404.                     echo "                                    ";
  405.                     if ((twig_get_attribute($this->env$this->source$context["Product"], "getPrice02Min", [], "any"falsefalsetrue141) == twig_get_attribute($this->env$this->source$context["Product"], "getPrice02Max", [], "any"falsefalsetrue141))) {
  406.                         // line 142
  407.                         echo "                                        ";
  408.                         echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsetrue142), 142$this->source)), "html"nulltrue);
  409.                         echo "
  410.                                     ";
  411.                     } else {
  412.                         // line 144
  413.                         echo "                                        ";
  414.                         echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsetrue144), 144$this->source)), "html"nulltrue);
  415.                         echo " ~ ";
  416.                         echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMax", [], "any"falsefalsetrue144), 144$this->source)), "html"nulltrue);
  417.                         echo "
  418.                                     ";
  419.                     }
  420.                     // line 146
  421.                     echo "                                ";
  422.                 } else {
  423.                     // line 147
  424.                     echo "                                    ";
  425.                     echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsetrue147), 147$this->source)), "html"nulltrue);
  426.                     echo "
  427.                                 ";
  428.                 }
  429.                 // line 149
  430.                 echo "                            </p>
  431.                         </a>
  432.                     </li>
  433.                     ";
  434.             }
  435.             $_parent $context['_parent'];
  436.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
  437.             $context array_intersect_key($context$_parent) + $_parent;
  438.             // line 153
  439.             echo "                </ul>
  440.                 </div>
  441.             </div>
  442.             </div>
  443.         </div>
  444.     ";
  445.         }
  446.         // line 159
  447.         echo "
  448.     ";
  449.         // line 162
  450.         echo "    ";
  451.         $context["NewsList"] = twig_get_attribute($this->env$this->source$this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\News"), "getList", [], "method"falsefalsetrue162);
  452.         // line 163
  453.         echo "    <div class=\"temptu-information\">
  454.         <div class=\"temptu-information__inner\">
  455.             <h2 class=\"temptu-sec-en\">INFORMATION</h2>
  456.             ";
  457.         // line 166
  458.         if ((twig_length_filter($this->env, (isset($context["NewsList"]) || array_key_exists("NewsList"$context) ? $context["NewsList"] : (function () { throw new RuntimeError('Variable "NewsList" does not exist.'166$this->source); })())) > 0)) {
  459.             // line 167
  460.             echo "            <div class=\"ec-role temptu-news\">
  461.                 <div class=\"temptu-news__inner\">
  462.                     <ul class=\"temptu-news__list\">
  463.                         ";
  464.             // line 170
  465.             $context['_parent'] = $context;
  466.             $context['_seq'] = twig_ensure_traversable((isset($context["NewsList"]) || array_key_exists("NewsList"$context) ? $context["NewsList"] : (function () { throw new RuntimeError('Variable "NewsList" does not exist.'170$this->source); })()));
  467.             foreach ($context['_seq'] as $context["_key"] => $context["News"]) {
  468.                 // line 171
  469.                 echo "                        <li class=\"temptu-news__item\">
  470.                             <span class=\"temptu-news__date\">";
  471.                 // line 172
  472.                 echo twig_escape_filter($this->envtwig_date_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["News"], "publish_date", [], "any"falsefalsetrue172), 172$this->source), "Y/m/d"), "html"nulltrue);
  473.                 echo "</span>
  474.                             ";
  475.                 // line 173
  476.                 if (twig_get_attribute($this->env$this->source$context["News"], "url", [], "any"falsefalsetrue173)) {
  477.                     // line 174
  478.                     echo "                            <a href=\"";
  479.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["News"], "url", [], "any"falsefalsetrue174), 174$this->source), "html"nulltrue);
  480.                     echo "\" class=\"temptu-news__title\" ";
  481.                     if ((twig_get_attribute($this->env$this->source$context["News"], "link_method", [], "any"falsefalsetrue174) == 1)) {
  482.                         echo "target=\"_blank\"";
  483.                     }
  484.                     echo ">";
  485.                     echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["News"], "title", [], "any"falsefalsetrue174), 174$this->source);
  486.                     echo "</a>
  487.                             ";
  488.                 } else {
  489.                     // line 176
  490.                     echo "                            <span class=\"temptu-news__title\">";
  491.                     echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["News"], "title", [], "any"falsefalsetrue176), 176$this->source);
  492.                     echo "</span>
  493.                             ";
  494.                 }
  495.                 // line 178
  496.                 echo "                        </li>
  497.                         ";
  498.             }
  499.             $_parent $context['_parent'];
  500.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['News'], $context['_parent'], $context['loop']);
  501.             $context array_intersect_key($context$_parent) + $_parent;
  502.             // line 180
  503.             echo "                    </ul>
  504.                  </div>
  505.             </div>
  506.             <a href=\"";
  507.             // line 184
  508.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  509.             echo "\" class=\"temptu-btn-viewmore\">";
  510.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("VIEW MORE"), "html"nulltrue);
  511.             echo "</a>
  512.             ";
  513.         }
  514.         // line 186
  515.         echo "        </div>
  516.     </div>
  517.         ";
  518.         // line 190
  519.         echo "        ";
  520.         $context["categoryIds2"] = [=> 20];
  521.         // line 191
  522.         echo "        ";
  523.         $context["CategoryProducts2"] = twig_get_attribute($this->env$this->source$this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Product"), "getProductsByCategoryIds", [=> (isset($context["categoryIds2"]) || array_key_exists("categoryIds2"$context) ? $context["categoryIds2"] : (function () { throw new RuntimeError('Variable "categoryIds2" does not exist.'191$this->source); })()), => 8], "method"falsefalsetrue191);
  524.         // line 192
  525.         echo "        <div class=\"temptu-categoryProducts\">
  526.             <div class=\"temptu-categoryProducts__inner\">
  527.                 <div class=\"temptu-categoryProducts__header\">
  528.                     <h2 class=\"temptu-sec-en temptu-categoryProducts__title\">NEW ITEMS</h2>
  529.                     <a href=\"";
  530.         // line 196
  531.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  532.         echo "?category_id=20\" class=\"temptu-categoryProducts__viewmore\">";
  533.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("VIEW MORE"), "html"nulltrue);
  534.         echo "</a>
  535.                 </div>
  536.                 <div class=\"temptu-categoryProducts__wrap\">
  537.                     <button type=\"button\" class=\"temptu-categoryProducts__arrow temptu-categoryProducts__arrow--prev\" aria-label=\"";
  538.         // line 199
  539.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("前へ"), "html"nulltrue);
  540.         echo "\"><i class=\"fas fa-chevron-left\"></i></button>
  541.                     <button type=\"button\" class=\"temptu-categoryProducts__arrow temptu-categoryProducts__arrow--next\" aria-label=\"";
  542.         // line 200
  543.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("次へ"), "html"nulltrue);
  544.         echo "\"><i class=\"fas fa-chevron-right\"></i></button>
  545.                     <div class=\"temptu-categoryProducts__scroll\" id=\"temptu-categoryProducts2-scroll\">
  546.                     <ul class=\"temptu-categoryProducts__grid ec-shelfGrid\">
  547.                         ";
  548.         // line 203
  549.         if ((twig_length_filter($this->env, (isset($context["CategoryProducts2"]) || array_key_exists("CategoryProducts2"$context) ? $context["CategoryProducts2"] : (function () { throw new RuntimeError('Variable "CategoryProducts2" does not exist.'203$this->source); })())) > 0)) {
  550.             // line 204
  551.             echo "                        ";
  552.             $context['_parent'] = $context;
  553.             $context['_seq'] = twig_ensure_traversable((isset($context["CategoryProducts2"]) || array_key_exists("CategoryProducts2"$context) ? $context["CategoryProducts2"] : (function () { throw new RuntimeError('Variable "CategoryProducts2" does not exist.'204$this->source); })()));
  554.             foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
  555.                 // line 205
  556.                 echo "                        <li class=\"ec-shelfGrid__item\">
  557.                             <a href=\"";
  558.                 // line 206
  559.                 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"falsefalsetrue206)]), "html"nulltrue);
  560.                 echo "\">
  561.                                 <p class=\"ec-shelfGrid__item-image\">
  562.                                     <img src=\"";
  563.                 // line 208
  564.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "main_list_image", [], "any"falsefalsetrue208), 208$this->source)), "save_image"), "html"nulltrue);
  565.                 echo "\" alt=\"";
  566.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "name", [], "any"falsefalsetrue208), 208$this->source), "html"nulltrue);
  567.                 echo "\" loading=\"lazy\">
  568.                                 </p>
  569.                                 <ul class=\"ec-shelfRole__tags\">
  570.                                     ";
  571.                 // line 211
  572.                 $context['_parent'] = $context;
  573.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["Product"], "ProductTag", [], "any"falsefalsetrue211));
  574.                 foreach ($context['_seq'] as $context["_key"] => $context["Tag"]) {
  575.                     // line 212
  576.                     echo "                                        ";
  577.                     if ($context["Tag"]) {
  578.                         // line 213
  579.                         echo "                                            <li class=\"ec-shelfRole__tag\">";
  580.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Tag"], "Tag", [], "any"falsefalsetrue213), 213$this->source), "html"nulltrue);
  581.                         echo "</li>
  582.                                         ";
  583.                     }
  584.                     // line 215
  585.                     echo "                                    ";
  586.                 }
  587.                 $_parent $context['_parent'];
  588.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Tag'], $context['_parent'], $context['loop']);
  589.                 $context array_intersect_key($context$_parent) + $_parent;
  590.                 // line 216
  591.                 echo "                                </ul>
  592.                                 <p class=\"ec-shelfGrid__item-name\">";
  593.                 // line 217
  594.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "name", [], "any"falsefalsetrue217), 217$this->source), "html"nulltrue);
  595.                 echo "</p>
  596.                                 ";
  597.                 // line 218
  598.                 if (twig_get_attribute($this->env$this->source$context["Product"], "description_list", [], "any"falsefalsetrue218)) {
  599.                     // line 219
  600.                     echo "                                    <p>";
  601.                     echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "description_list", [], "any"falsefalsetrue219), 219$this->source));
  602.                     echo "</p>
  603.                                 ";
  604.                 }
  605.                 // line 221
  606.                 echo "                                <p class=\"price02-default\">
  607.                                     ";
  608.                 // line 222
  609.                 if (twig_get_attribute($this->env$this->source$context["Product"], "hasProductClass", [], "any"falsefalsetrue222)) {
  610.                     // line 223
  611.                     echo "                                        ";
  612.                     if ((twig_get_attribute($this->env$this->source$context["Product"], "getPrice02Min", [], "any"falsefalsetrue223) == twig_get_attribute($this->env$this->source$context["Product"], "getPrice02Max", [], "any"falsefalsetrue223))) {
  613.                         // line 224
  614.                         echo "                                            ";
  615.                         echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsetrue224), 224$this->source)), "html"nulltrue);
  616.                         echo "
  617.                                         ";
  618.                     } else {
  619.                         // line 226
  620.                         echo "                                            ";
  621.                         echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsetrue226), 226$this->source)), "html"nulltrue);
  622.                         echo " ~ ";
  623.                         echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMax", [], "any"falsefalsetrue226), 226$this->source)), "html"nulltrue);
  624.                         echo "
  625.                                         ";
  626.                     }
  627.                     // line 228
  628.                     echo "                                    ";
  629.                 } else {
  630.                     // line 229
  631.                     echo "                                        ";
  632.                     echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsetrue229), 229$this->source)), "html"nulltrue);
  633.                     echo "
  634.                                     ";
  635.                 }
  636.                 // line 231
  637.                 echo "                                </p>
  638.                             </a>
  639.                         </li>
  640.                         ";
  641.             }
  642.             $_parent $context['_parent'];
  643.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
  644.             $context array_intersect_key($context$_parent) + $_parent;
  645.             // line 235
  646.             echo "                        ";
  647.             $context['_parent'] = $context;
  648.             $context['_seq'] = twig_ensure_traversable((isset($context["CategoryProducts2"]) || array_key_exists("CategoryProducts2"$context) ? $context["CategoryProducts2"] : (function () { throw new RuntimeError('Variable "CategoryProducts2" does not exist.'235$this->source); })()));
  649.             foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
  650.                 // line 236
  651.                 echo "                        <li class=\"ec-shelfGrid__item\">
  652.                             <a href=\"";
  653.                 // line 237
  654.                 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"falsefalsetrue237)]), "html"nulltrue);
  655.                 echo "\">
  656.                                 <p class=\"ec-shelfGrid__item-image\">
  657.                                     <img src=\"";
  658.                 // line 239
  659.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "main_list_image", [], "any"falsefalsetrue239), 239$this->source)), "save_image"), "html"nulltrue);
  660.                 echo "\" alt=\"";
  661.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "name", [], "any"falsefalsetrue239), 239$this->source), "html"nulltrue);
  662.                 echo "\" loading=\"lazy\">
  663.                                 </p>
  664.                                 <ul class=\"ec-shelfRole__tags\">
  665.                                     ";
  666.                 // line 242
  667.                 $context['_parent'] = $context;
  668.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["Product"], "ProductTag", [], "any"falsefalsetrue242));
  669.                 foreach ($context['_seq'] as $context["_key"] => $context["Tag"]) {
  670.                     // line 243
  671.                     echo "                                        ";
  672.                     if ($context["Tag"]) {
  673.                         // line 244
  674.                         echo "                                            <li class=\"ec-shelfRole__tag\">";
  675.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Tag"], "Tag", [], "any"falsefalsetrue244), 244$this->source), "html"nulltrue);
  676.                         echo "</li>
  677.                                         ";
  678.                     }
  679.                     // line 246
  680.                     echo "                                    ";
  681.                 }
  682.                 $_parent $context['_parent'];
  683.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Tag'], $context['_parent'], $context['loop']);
  684.                 $context array_intersect_key($context$_parent) + $_parent;
  685.                 // line 247
  686.                 echo "                                </ul>
  687.                                 <p class=\"ec-shelfGrid__item-name\">";
  688.                 // line 248
  689.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "name", [], "any"falsefalsetrue248), 248$this->source), "html"nulltrue);
  690.                 echo "</p>
  691.                                 ";
  692.                 // line 249
  693.                 if (twig_get_attribute($this->env$this->source$context["Product"], "description_list", [], "any"falsefalsetrue249)) {
  694.                     // line 250
  695.                     echo "                                    <p>";
  696.                     echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "description_list", [], "any"falsefalsetrue250), 250$this->source));
  697.                     echo "</p>
  698.                                 ";
  699.                 }
  700.                 // line 252
  701.                 echo "                                <p class=\"price02-default\">
  702.                                     ";
  703.                 // line 253
  704.                 if (twig_get_attribute($this->env$this->source$context["Product"], "hasProductClass", [], "any"falsefalsetrue253)) {
  705.                     // line 254
  706.                     echo "                                        ";
  707.                     if ((twig_get_attribute($this->env$this->source$context["Product"], "getPrice02Min", [], "any"falsefalsetrue254) == twig_get_attribute($this->env$this->source$context["Product"], "getPrice02Max", [], "any"falsefalsetrue254))) {
  708.                         // line 255
  709.                         echo "                                            ";
  710.                         echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsetrue255), 255$this->source)), "html"nulltrue);
  711.                         echo "
  712.                                         ";
  713.                     } else {
  714.                         // line 257
  715.                         echo "                                            ";
  716.                         echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsetrue257), 257$this->source)), "html"nulltrue);
  717.                         echo " ~ ";
  718.                         echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMax", [], "any"falsefalsetrue257), 257$this->source)), "html"nulltrue);
  719.                         echo "
  720.                                         ";
  721.                     }
  722.                     // line 259
  723.                     echo "                                    ";
  724.                 } else {
  725.                     // line 260
  726.                     echo "                                        ";
  727.                     echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsetrue260), 260$this->source)), "html"nulltrue);
  728.                     echo "
  729.                                     ";
  730.                 }
  731.                 // line 262
  732.                 echo "                                </p>
  733.                             </a>
  734.                         </li>
  735.                         ";
  736.             }
  737.             $_parent $context['_parent'];
  738.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
  739.             $context array_intersect_key($context$_parent) + $_parent;
  740.             // line 266
  741.             echo "                        ";
  742.         } else {
  743.             // line 267
  744.             echo "                        <li class=\"ec-shelfGrid__item\" style=\"grid-column: 1 / -1;\">";
  745.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("商品がありません"), "html"nulltrue);
  746.             echo "</li>
  747.                         ";
  748.         }
  749.         // line 269
  750.         echo "                    </ul>
  751.                     </div>
  752.                 </div>
  753.                 </div>
  754.             </div>
  755.         ";
  756.         // line 278
  757.         echo "        <section class=\"temptu-concept\">
  758.             <div class=\"temptu-concept__inner\">
  759.                 <p class=\"temptu-concept__label temptu-sec-en\">CONCEPT</p>
  760.                 <div class=\"temptu-concept__images\">
  761.                     <div class=\"temptu-concept__image\">
  762.                         <img src=\"/html/user_data/assets/img/new_item/pic01.jpg\" alt=\"\" role=\"presentation\">
  763.                     </div>
  764.                     <div class=\"temptu-concept__image\">
  765.                         <img src=\"/html/user_data/assets/img/new_item/pic02.jpg\" alt=\"\" role=\"presentation\">
  766.                     </div>
  767.                 </div>
  768.                 <div class=\"temptu-concept__text\">
  769.                     <h2 class=\"temptu-concept__en\">";
  770.         // line 290
  771.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("タイトルが入ります"), "html"nulltrue);
  772.         echo "</h2>
  773.                     <p class=\"temptu-concept__ja\">";
  774.         // line 291
  775.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ここにコンセプトの説明文が入ります。ブランドの世界観や想いを伝えるテキストを記載してください。"), "html"nulltrue);
  776.         echo "</p>
  777.                     <a class=\"temptu-btn-viewmore\" href=\"";
  778.         // line 292
  779.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  780.         echo "\">";
  781.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("VIEW MORE"), "html"nulltrue);
  782.         echo "</a>
  783.                 </div>
  784.             </div>
  785.         </section>
  786.         ";
  787.         // line 298
  788.         echo "        <section class=\"temptu-fullBanner\" style=\"background-image: url('";
  789.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/banner_bg.jpg""user_data"), "html"nulltrue);
  790.         echo "');\">
  791.             <div class=\"temptu-fullBanner__overlay\"></div>
  792.             <div class=\"temptu-fullBanner__content\">
  793.                 <h2 class=\"temptu-fullBanner__title\">";
  794.         // line 301
  795.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ESSENTIAL COMFORT"), "html"nulltrue);
  796.         echo "<br>";
  797.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("WITH MODERN STYLE"), "html"nulltrue);
  798.         echo "</h2>
  799.                 <p class=\"temptu-fullBanner__text\">";
  800.         // line 302
  801.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("快適さを追求したシンプルなデザイン。"), "html"nulltrue);
  802.         echo "<br>";
  803.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("プロ仕様の洗練されたアイテム。"), "html"nulltrue);
  804.         echo "</p>
  805.                 <a href=\"https://shop.temptu.co.jp/contact\" class=\"temptu-fullBanner__btn\">お問い合わせ</a>
  806.             </div>
  807.         </section>
  808.     ";
  809.         // line 308
  810.         echo "    <div class=\"temptu-promoRow\">
  811.         <div class=\"temptu-promoRow__inner\">
  812.             <a href=\"https://shop.temptu.co.jp/products/detail/235\" class=\"temptu-promoRow__item\">
  813.                 <span class=\"temptu-promoRow__icon\" aria-hidden=\"true\"><i class=\"far fa-id-card\"></i></span>
  814.                 <h3 class=\"temptu-promoRow__en\">MEMBERSHIP</h3>
  815.                 <p class=\"temptu-promoRow__ja\">有料会員特別割引</p>
  816.                 <p class=\"temptu-promoRow__desc\">特別なメンバーシップ特典</p>
  817.             </a>
  818.             <a href=\"https://shop.temptu.co.jp/products/detail/235\" class=\"temptu-promoRow__item\">
  819.                 <span class=\"temptu-promoRow__icon\" aria-hidden=\"true\"><i class=\"fas fa-truck\"></i></span>
  820.                 <h3 class=\"temptu-promoRow__en\">FREE SHIPPING</h3>
  821.                 <p class=\"temptu-promoRow__ja\">25,000円以上配送料無料</p>
  822.                 <p class=\"temptu-promoRow__desc\">※有料会員のみ</p>
  823.             </a>
  824.             <a href=\"";
  825.         // line 322
  826.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list", ["category_id" => 24]);
  827.         echo "\" class=\"temptu-promoRow__item\">
  828.                 <span class=\"temptu-promoRow__icon\" aria-hidden=\"true\"><i class=\"fas fa-tag\"></i></span>
  829.                 <h3 class=\"temptu-promoRow__en\">OUTLET SALE</h3>
  830.                 <p class=\"temptu-promoRow__ja\">最大60%OFF!</p>
  831.                 <p class=\"temptu-promoRow__desc\">掘り出し物のアウトレット品</p>
  832.             </a>
  833.             <a href=\"";
  834.         // line 328
  835.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  836.         echo "\" class=\"temptu-promoRow__item\">
  837.                 <span class=\"temptu-promoRow__icon\" aria-hidden=\"true\"><i class=\"fas fa-paint-brush\"></i></span>
  838.                 <h3 class=\"temptu-promoRow__en\">PROFESSIONAL</h3>
  839.                 <p class=\"temptu-promoRow__ja\">特殊メイク専門グッズ</p>
  840.                 <p class=\"temptu-promoRow__desc\">プロ愛用の厳選アイテム</p>
  841.             </a>
  842.             <a href=\"";
  843.         // line 334
  844.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list", ["category_id" => 96]);
  845.         echo "\" class=\"temptu-promoRow__item\">
  846.                 <span class=\"temptu-promoRow__icon\" aria-hidden=\"true\"><i class=\"far fa-gem\"></i></span>
  847.                 <h3 class=\"temptu-promoRow__en\">EXCLUSIVE</h3>
  848.                 <p class=\"temptu-promoRow__ja\">TEMPTUオリジナル</p>
  849.                 <p class=\"temptu-promoRow__desc\">ここでしか手に入らない専用の逸品</p>
  850.             </a>
  851.         </div>
  852.     </div>
  853.         ";
  854.         // line 344
  855.         echo "        <section class=\"temptu-pickup\">
  856.             <div class=\"temptu-pickup__inner\">
  857.                 <h2 class=\"temptu-pickup__title temptu-sec-en\">PICKUP</h2>
  858.                 <div class=\"temptu-pickup__body\">
  859.                     <div class=\"temptu-pickup__mainWrap\">
  860.                         <div class=\"temptu-pickup__mainImage\">
  861.                             <img src=\"/html/user_data/assets/img/top/tatoo1.jpg\" alt=\"\" loading=\"lazy\">
  862.                         </div>
  863.                     </div>
  864.                     <div class=\"temptu-pickup__right\">
  865.                         <div class=\"temptu-pickup__subWrap\">
  866.                             <div class=\"temptu-pickup__subImage\">
  867.                                 <img src=\"/html/user_data/assets/img/top/tatoo2.jpg\" alt=\"\" loading=\"lazy\">
  868.                             </div>
  869.                         </div>
  870.                         <div class=\"temptu-pickup__text\">
  871.                             <h3 class=\"temptu-pickup__heading\">LUMI EARRINGS</h3>
  872.                             <p class=\"temptu-pickup__desc\">";
  873.         // line 361
  874.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("輝きと彩りを耳元に。"), "html"nulltrue);
  875.         echo "</p>
  876.                             <p class=\"temptu-pickup__desc\">";
  877.         // line 362
  878.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("シンプルで洗練されたデザイン。"), "html"nulltrue);
  879.         echo "</p>
  880.                             <a href=\"";
  881.         // line 363
  882.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  883.         echo "\" class=\"temptu-pickup__viewmore\">";
  884.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("VIEW MORE"), "html"nulltrue);
  885.         echo "</a>
  886.                         </div>
  887.                     </div>
  888.                 </div>
  889.                 <nav class=\"temptu-pickup__nav\" aria-label=\"";
  890.         // line 367
  891.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ピックアップ"), "html"nulltrue);
  892.         echo "\">
  893.                     <button type=\"button\" class=\"temptu-pickup__dot is-current\" aria-current=\"true\" aria-label=\"";
  894.         // line 368
  895.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("1枚目"), "html"nulltrue);
  896.         echo "\"></button>
  897.                     <button type=\"button\" class=\"temptu-pickup__dot\" aria-label=\"";
  898.         // line 369
  899.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("2枚目"), "html"nulltrue);
  900.         echo "\"></button>
  901.                     <button type=\"button\" class=\"temptu-pickup__dot\" aria-label=\"";
  902.         // line 370
  903.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("3枚目"), "html"nulltrue);
  904.         echo "\"></button>
  905.                     <button type=\"button\" class=\"temptu-pickup__arrow\" aria-label=\"";
  906.         // line 371
  907.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("次へ"), "html"nulltrue);
  908.         echo "\"><i class=\"fas fa-chevron-right\"></i></button>
  909.                 </nav>
  910.             </div>
  911.         </section>
  912.     </div>
  913.     <script>
  914.     (function() {
  915.         function initCarousel(el) {
  916.             if (!el) return;
  917.             var wrap = el.closest('.temptu-categoryProducts__wrap');
  918.             var prev = wrap && wrap.querySelector('.temptu-categoryProducts__arrow--prev');
  919.             var next = wrap && wrap.querySelector('.temptu-categoryProducts__arrow--next');
  920.             function getSingleSetWidth() { return el.scrollWidth / 2; }
  921.             function clampInfinite() {
  922.                 var single = getSingleSetWidth();
  923.                 if (el.scrollLeft >= el.scrollWidth - el.clientWidth - 20) el.scrollLeft = el.scrollLeft - single;
  924.             }
  925.             el.addEventListener('scroll', function() {
  926.                 window.clearTimeout(el._scrollTimer);
  927.                 el._scrollTimer = window.setTimeout(clampInfinite, 80);
  928.             });
  929.             if (prev) prev.addEventListener('click', function() {
  930.                 var single = getSingleSetWidth();
  931.                 if (el.scrollLeft <= 10) el.scrollLeft = single;
  932.                 el.scrollBy({ left: -el.clientWidth, behavior: 'smooth' });
  933.             });
  934.             if (next) next.addEventListener('click', function() {
  935.                 el.scrollBy({ left: el.clientWidth, behavior: 'smooth' });
  936.             });
  937.         }
  938.         document.querySelectorAll('.temptu-categoryProducts__scroll').forEach(initCarousel);
  939.     })();
  940.     </script>
  941. ";
  942.         
  943.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  944.         
  945.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  946.     }
  947.     public function getTemplateName()
  948.     {
  949.         return "index.twig";
  950.     }
  951.     public function isTraitable()
  952.     {
  953.         return false;
  954.     }
  955.     public function getDebugInfo()
  956.     {
  957.         return array (  942 => 371,  938 => 370,  934 => 369,  930 => 368,  926 => 367,  917 => 363,  913 => 362,  909 => 361,  890 => 344,  878 => 334,  869 => 328,  860 => 322,  844 => 308,  834 => 302,  828 => 301,  821 => 298,  811 => 292,  807 => 291,  803 => 290,  789 => 278,  779 => 269,  773 => 267,  770 => 266,  761 => 262,  755 => 260,  752 => 259,  744 => 257,  738 => 255,  735 => 254,  733 => 253,  730 => 252,  724 => 250,  722 => 249,  718 => 248,  715 => 247,  709 => 246,  703 => 244,  700 => 243,  696 => 242,  688 => 239,  683 => 237,  680 => 236,  675 => 235,  666 => 231,  660 => 229,  657 => 228,  649 => 226,  643 => 224,  640 => 223,  638 => 222,  635 => 221,  629 => 219,  627 => 218,  623 => 217,  620 => 216,  614 => 215,  608 => 213,  605 => 212,  601 => 211,  593 => 208,  588 => 206,  585 => 205,  580 => 204,  578 => 203,  572 => 200,  568 => 199,  560 => 196,  554 => 192,  551 => 191,  548 => 190,  543 => 186,  536 => 184,  530 => 180,  523 => 178,  517 => 176,  505 => 174,  503 => 173,  499 => 172,  496 => 171,  492 => 170,  487 => 167,  485 => 166,  480 => 163,  477 => 162,  473 => 159,  465 => 153,  456 => 149,  450 => 147,  447 => 146,  439 => 144,  433 => 142,  430 => 141,  428 => 140,  425 => 139,  419 => 137,  417 => 136,  413 => 135,  410 => 134,  404 => 133,  398 => 131,  395 => 130,  391 => 129,  383 => 126,  378 => 124,  375 => 123,  370 => 122,  361 => 118,  355 => 116,  352 => 115,  344 => 113,  338 => 111,  335 => 110,  333 => 109,  330 => 108,  324 => 106,  322 => 105,  318 => 104,  315 => 103,  309 => 102,  303 => 100,  300 => 99,  296 => 98,  288 => 95,  283 => 93,  280 => 92,  276 => 91,  270 => 88,  266 => 87,  256 => 79,  253 => 78,  250 => 77,  247 => 76,  244 => 75,  235 => 70,  229 => 69,  223 => 68,  217 => 67,  211 => 66,  203 => 61,  199 => 60,  192 => 56,  188 => 55,  181 => 51,  177 => 50,  170 => 46,  166 => 45,  159 => 41,  155 => 40,  150 => 37,  148 => 36,  138 => 35,  115 => 20,  105 => 19,  87 => 9,  77 => 8,  66 => 4,  64 => 6,  39 => 4,);
  958.     }
  959.     public function getSourceContext()
  960.     {
  961.         return new Source("{#
  962. temptu-style top page: hero with overlay, promo row, information, then MainTop/MainBottom blocks.
  963. #}
  964. {% extends 'default_frame.twig' %}
  965. {% set body_class = 'front_page' %}
  966. {% block stylesheet %}
  967.     <style>
  968.         .slick-slider { margin-bottom: 30px; }
  969.         .slick-dots { position: absolute; bottom: 24px; display: block; width: 100%; padding: 0; list-style: none; text-align: center; }
  970.         .slick-dots li { position: relative; display: inline-block; width: 20px; height: 20px; margin: 0 5px; padding: 0; cursor: pointer; }
  971.         .slick-dots li button { font-size: 0; line-height: 0; display: block; width: 20px; height: 20px; padding: 5px; cursor: pointer; color: transparent; border: 0; outline: none; background: transparent; }
  972.         .slick-dots li button:before { content: \" \"; line-height: 20px; position: absolute; top: 0; left: 0; width: 12px; height: 12px; text-align: center; opacity: 1; background-color: #fff; border-radius: 50%; }
  973.         .slick-dots li.slick-active button:before { opacity: 1; background-color: #000; }
  974.     </style>
  975. {% endblock %}
  976. {% block javascript %}
  977.     <script>
  978.         \$(function() {
  979.             \$('.main_visual').slick({
  980.                 dots: true,
  981.                 arrows: false,
  982.                 autoplay: true,
  983.                 fade: true,
  984.                 speed: 1000,
  985.                 cssEase: 'ease-in-out',
  986.                 autoplaySpeed: 5000
  987.             });
  988.         });
  989.     </script>
  990. {% endblock javascript %}
  991. {% block main %}
  992.     {# Hero with overlay text + VIEW MORE #}
  993.     <div class=\"ec-sliderRole temptu-hero\">
  994.         <div class=\"main_visual is-pc\">
  995.             <div class=\"item slick-slide temptu-hero__slide\">
  996.                 <a href=\"{{ url('product_list') }}?category_id=96\" class=\"temptu-hero__link\">
  997.                     <img src=\"{{ asset('assets/img/top/ftrm_01.jpg','user_data') }}\" alt=\"\">
  998.                 </a>
  999.             </div>
  1000.             <div class=\"item slick-slide temptu-hero__slide\">
  1001.                 <a href=\"{{ url('product_list') }}?category_id=19\" class=\"temptu-hero__link\">
  1002.                     <img src=\"{{ asset('assets/img/top/ftrm_02.jpg','user_data') }}\" alt=\"\">
  1003.                 </a>
  1004.             </div>
  1005.             <div class=\"item slick-slide temptu-hero__slide\">
  1006.                 <a href=\"{{ url('product_list') }}?category_id=22\" class=\"temptu-hero__link\">
  1007.                     <img src=\"{{ asset('assets/img/top/ftrm_03.jpg','user_data') }}\" alt=\"\">
  1008.                 </a>
  1009.             </div>
  1010.             <div class=\"item slick-slide temptu-hero__slide\">
  1011.                 <a href=\"{{ url('product_list') }}?category_id=24\" class=\"temptu-hero__link\">
  1012.                     <img src=\"{{ asset('assets/img/top/ftrm_04.jpg','user_data') }}\" alt=\"\">
  1013.                 </a>
  1014.             </div>
  1015.             <div class=\"item slick-slide temptu-hero__slide\">
  1016.                 <a href=\"{{ url('product_list') }}?category_id=25\" class=\"temptu-hero__link\">
  1017.                     <img src=\"{{ asset('assets/img/top/ftrm_05.jpg','user_data') }}\" alt=\"\">
  1018.                 </a>
  1019.             </div>
  1020.         </div>
  1021.         <div class=\"main_visual is-sp\">
  1022.             <div class=\"item slick-slide\"><a href=\"{{ url('product_list') }}?category_id=96\"><img src=\"{{ asset('assets/img/top/ftrm_01_sp.jpg','user_data') }}\" alt=\"\"></a></div>
  1023.             <div class=\"item slick-slide\"><a href=\"{{ url('product_list') }}?category_id=19\"><img src=\"{{ asset('assets/img/top/ftrm_02_sp.jpg','user_data') }}\" alt=\"\"></a></div>
  1024.             <div class=\"item slick-slide\"><a href=\"{{ url('product_list') }}?category_id=22\"><img src=\"{{ asset('assets/img/top/ftrm_03_sp.jpg','user_data') }}\" alt=\"\"></a></div>
  1025.             <div class=\"item slick-slide\"><a href=\"{{ url('product_list') }}?category_id=24\"><img src=\"{{ asset('assets/img/top/ftrm_04_sp.jpg','user_data') }}\" alt=\"\"></a></div>
  1026.             <div class=\"item slick-slide\"><a href=\"{{ url('product_list') }}?category_id=25\"><img src=\"{{ asset('assets/img/top/ftrm_05_sp.jpg','user_data') }}\" alt=\"\"></a></div>
  1027.         </div>
  1028.     </div>
  1029.     {# 複数カテゴリの商品一覧ブロック(いずれかのカテゴリに属する商品を表示) #}
  1030.     {% set categoryIds = [7,9] %}
  1031.     {% set CategoryProducts = repository('Eccube\\\\Entity\\\\Product').getProductsByCategoryIds(categoryIds, 8) %}
  1032.     {% if CategoryProducts|length > 0 %}
  1033.     {% set firstCategory = categoryIds|length > 0 ? repository('Eccube\\\\Entity\\\\Category').find(categoryIds|first) : null %}
  1034.     <div class=\"temptu-categoryProducts\">
  1035.         <div class=\"temptu-categoryProducts__inner\">
  1036.             <div class=\"temptu-categoryProducts__header\">
  1037.                 <h2 class=\"temptu-sec-en temptu-categoryProducts__title\">
  1038.                     BEST SELLERS
  1039.                 </h2>
  1040.             </div>
  1041.             <div class=\"temptu-categoryProducts__wrap\">
  1042.                 <button type=\"button\" class=\"temptu-categoryProducts__arrow temptu-categoryProducts__arrow--prev\" aria-label=\"{{ '前へ'|trans }}\"><i class=\"fas fa-chevron-left\"></i></button>
  1043.                 <button type=\"button\" class=\"temptu-categoryProducts__arrow temptu-categoryProducts__arrow--next\" aria-label=\"{{ '次へ'|trans }}\"><i class=\"fas fa-chevron-right\"></i></button>
  1044.                 <div class=\"temptu-categoryProducts__scroll\" id=\"temptu-categoryProducts-scroll\">
  1045.                 <ul class=\"temptu-categoryProducts__grid ec-shelfGrid\">
  1046.                     {% for Product in CategoryProducts %}
  1047.                     <li class=\"ec-shelfGrid__item\">
  1048.                         <a href=\"{{ url('product_detail', {'id': Product.id}) }}\">
  1049.                             <p class=\"ec-shelfGrid__item-image\">
  1050.                                 <img src=\"{{ asset(Product.main_list_image|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\" loading=\"lazy\">
  1051.                             </p>
  1052.                             <ul class=\"ec-shelfRole__tags\">
  1053.                                 {% for Tag in Product.ProductTag %}
  1054.                                     {% if Tag %}
  1055.                                         <li class=\"ec-shelfRole__tag\">{{ Tag.Tag }}</li>
  1056.                                     {% endif %}
  1057.                                 {% endfor %}
  1058.                             </ul>
  1059.                             <p class=\"ec-shelfGrid__item-name\">{{ Product.name }}</p>
  1060.                             {% if Product.description_list %}
  1061.                                 <p>{{ Product.description_list|raw|nl2br }}</p>
  1062.                             {% endif %}
  1063.                             <p class=\"price02-default\">
  1064.                                 {% if Product.hasProductClass %}
  1065.                                     {% if Product.getPrice02Min == Product.getPrice02Max %}
  1066.                                         {{ Product.getPrice02IncTaxMin|price }}
  1067.                                     {% else %}
  1068.                                         {{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}
  1069.                                     {% endif %}
  1070.                                 {% else %}
  1071.                                     {{ Product.getPrice02IncTaxMin|price }}
  1072.                                 {% endif %}
  1073.                             </p>
  1074.                         </a>
  1075.                     </li>
  1076.                     {% endfor %}
  1077.                     {% for Product in CategoryProducts %}
  1078.                     <li class=\"ec-shelfGrid__item\">
  1079.                         <a href=\"{{ url('product_detail', {'id': Product.id}) }}\">
  1080.                             <p class=\"ec-shelfGrid__item-image\">
  1081.                                 <img src=\"{{ asset(Product.main_list_image|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\" loading=\"lazy\">
  1082.                             </p>
  1083.                             <ul class=\"ec-shelfRole__tags\">
  1084.                                 {% for Tag in Product.ProductTag %}
  1085.                                     {% if Tag %}
  1086.                                         <li class=\"ec-shelfRole__tag\">{{ Tag.Tag }}</li>
  1087.                                     {% endif %}
  1088.                                 {% endfor %}
  1089.                             </ul>
  1090.                             <p class=\"ec-shelfGrid__item-name\">{{ Product.name }}</p>
  1091.                             {% if Product.description_list %}
  1092.                                 <p>{{ Product.description_list|raw|nl2br }}</p>
  1093.                             {% endif %}
  1094.                             <p class=\"price02-default\">
  1095.                                 {% if Product.hasProductClass %}
  1096.                                     {% if Product.getPrice02Min == Product.getPrice02Max %}
  1097.                                         {{ Product.getPrice02IncTaxMin|price }}
  1098.                                     {% else %}
  1099.                                         {{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}
  1100.                                     {% endif %}
  1101.                                 {% else %}
  1102.                                     {{ Product.getPrice02IncTaxMin|price }}
  1103.                                 {% endif %}
  1104.                             </p>
  1105.                         </a>
  1106.                     </li>
  1107.                     {% endfor %}
  1108.                 </ul>
  1109.                 </div>
  1110.             </div>
  1111.             </div>
  1112.         </div>
  1113.     {% endif %}
  1114.     {# INFORMATION - first news + VIEW MORE #}
  1115.     {% set NewsList = repository('Eccube\\\\Entity\\\\News').getList() %}
  1116.     <div class=\"temptu-information\">
  1117.         <div class=\"temptu-information__inner\">
  1118.             <h2 class=\"temptu-sec-en\">INFORMATION</h2>
  1119.             {% if NewsList|length > 0 %}
  1120.             <div class=\"ec-role temptu-news\">
  1121.                 <div class=\"temptu-news__inner\">
  1122.                     <ul class=\"temptu-news__list\">
  1123.                         {% for News in NewsList %}
  1124.                         <li class=\"temptu-news__item\">
  1125.                             <span class=\"temptu-news__date\">{{ News.publish_date|date('Y/m/d') }}</span>
  1126.                             {% if News.url %}
  1127.                             <a href=\"{{ News.url }}\" class=\"temptu-news__title\" {% if News.link_method == 1 %}target=\"_blank\"{% endif %}>{{ News.title|raw }}</a>
  1128.                             {% else %}
  1129.                             <span class=\"temptu-news__title\">{{ News.title|raw }}</span>
  1130.                             {% endif %}
  1131.                         </li>
  1132.                         {% endfor %}
  1133.                     </ul>
  1134.                  </div>
  1135.             </div>
  1136.             <a href=\"{{ url('homepage') }}\" class=\"temptu-btn-viewmore\">{{ 'VIEW MORE'|trans }}</a>
  1137.             {% endif %}
  1138.         </div>
  1139.     </div>
  1140.         {# カテゴリID=20 NEW ITEMS(全幅バナーの下) #}
  1141.         {% set categoryIds2 = [20] %}
  1142.         {% set CategoryProducts2 = repository('Eccube\\\\Entity\\\\Product').getProductsByCategoryIds(categoryIds2, 8) %}
  1143.         <div class=\"temptu-categoryProducts\">
  1144.             <div class=\"temptu-categoryProducts__inner\">
  1145.                 <div class=\"temptu-categoryProducts__header\">
  1146.                     <h2 class=\"temptu-sec-en temptu-categoryProducts__title\">NEW ITEMS</h2>
  1147.                     <a href=\"{{ url('product_list') }}?category_id=20\" class=\"temptu-categoryProducts__viewmore\">{{ 'VIEW MORE'|trans }}</a>
  1148.                 </div>
  1149.                 <div class=\"temptu-categoryProducts__wrap\">
  1150.                     <button type=\"button\" class=\"temptu-categoryProducts__arrow temptu-categoryProducts__arrow--prev\" aria-label=\"{{ '前へ'|trans }}\"><i class=\"fas fa-chevron-left\"></i></button>
  1151.                     <button type=\"button\" class=\"temptu-categoryProducts__arrow temptu-categoryProducts__arrow--next\" aria-label=\"{{ '次へ'|trans }}\"><i class=\"fas fa-chevron-right\"></i></button>
  1152.                     <div class=\"temptu-categoryProducts__scroll\" id=\"temptu-categoryProducts2-scroll\">
  1153.                     <ul class=\"temptu-categoryProducts__grid ec-shelfGrid\">
  1154.                         {% if CategoryProducts2|length > 0 %}
  1155.                         {% for Product in CategoryProducts2 %}
  1156.                         <li class=\"ec-shelfGrid__item\">
  1157.                             <a href=\"{{ url('product_detail', {'id': Product.id}) }}\">
  1158.                                 <p class=\"ec-shelfGrid__item-image\">
  1159.                                     <img src=\"{{ asset(Product.main_list_image|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\" loading=\"lazy\">
  1160.                                 </p>
  1161.                                 <ul class=\"ec-shelfRole__tags\">
  1162.                                     {% for Tag in Product.ProductTag %}
  1163.                                         {% if Tag %}
  1164.                                             <li class=\"ec-shelfRole__tag\">{{ Tag.Tag }}</li>
  1165.                                         {% endif %}
  1166.                                     {% endfor %}
  1167.                                 </ul>
  1168.                                 <p class=\"ec-shelfGrid__item-name\">{{ Product.name }}</p>
  1169.                                 {% if Product.description_list %}
  1170.                                     <p>{{ Product.description_list|raw|nl2br }}</p>
  1171.                                 {% endif %}
  1172.                                 <p class=\"price02-default\">
  1173.                                     {% if Product.hasProductClass %}
  1174.                                         {% if Product.getPrice02Min == Product.getPrice02Max %}
  1175.                                             {{ Product.getPrice02IncTaxMin|price }}
  1176.                                         {% else %}
  1177.                                             {{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}
  1178.                                         {% endif %}
  1179.                                     {% else %}
  1180.                                         {{ Product.getPrice02IncTaxMin|price }}
  1181.                                     {% endif %}
  1182.                                 </p>
  1183.                             </a>
  1184.                         </li>
  1185.                         {% endfor %}
  1186.                         {% for Product in CategoryProducts2 %}
  1187.                         <li class=\"ec-shelfGrid__item\">
  1188.                             <a href=\"{{ url('product_detail', {'id': Product.id}) }}\">
  1189.                                 <p class=\"ec-shelfGrid__item-image\">
  1190.                                     <img src=\"{{ asset(Product.main_list_image|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\" loading=\"lazy\">
  1191.                                 </p>
  1192.                                 <ul class=\"ec-shelfRole__tags\">
  1193.                                     {% for Tag in Product.ProductTag %}
  1194.                                         {% if Tag %}
  1195.                                             <li class=\"ec-shelfRole__tag\">{{ Tag.Tag }}</li>
  1196.                                         {% endif %}
  1197.                                     {% endfor %}
  1198.                                 </ul>
  1199.                                 <p class=\"ec-shelfGrid__item-name\">{{ Product.name }}</p>
  1200.                                 {% if Product.description_list %}
  1201.                                     <p>{{ Product.description_list|raw|nl2br }}</p>
  1202.                                 {% endif %}
  1203.                                 <p class=\"price02-default\">
  1204.                                     {% if Product.hasProductClass %}
  1205.                                         {% if Product.getPrice02Min == Product.getPrice02Max %}
  1206.                                             {{ Product.getPrice02IncTaxMin|price }}
  1207.                                         {% else %}
  1208.                                             {{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}
  1209.                                         {% endif %}
  1210.                                     {% else %}
  1211.                                         {{ Product.getPrice02IncTaxMin|price }}
  1212.                                     {% endif %}
  1213.                                 </p>
  1214.                             </a>
  1215.                         </li>
  1216.                         {% endfor %}
  1217.                         {% else %}
  1218.                         <li class=\"ec-shelfGrid__item\" style=\"grid-column: 1 / -1;\">{{ '商品がありません'|trans }}</li>
  1219.                         {% endif %}
  1220.                     </ul>
  1221.                     </div>
  1222.                 </div>
  1223.                 </div>
  1224.             </div>
  1225.         {# CONCEPT エリア(PC: 左=タイトル・文章・VIEW MORE / 右=写真 | SP: CONCEPT→画像→タイトル) #}
  1226.         <section class=\"temptu-concept\">
  1227.             <div class=\"temptu-concept__inner\">
  1228.                 <p class=\"temptu-concept__label temptu-sec-en\">CONCEPT</p>
  1229.                 <div class=\"temptu-concept__images\">
  1230.                     <div class=\"temptu-concept__image\">
  1231.                         <img src=\"/html/user_data/assets/img/new_item/pic01.jpg\" alt=\"\" role=\"presentation\">
  1232.                     </div>
  1233.                     <div class=\"temptu-concept__image\">
  1234.                         <img src=\"/html/user_data/assets/img/new_item/pic02.jpg\" alt=\"\" role=\"presentation\">
  1235.                     </div>
  1236.                 </div>
  1237.                 <div class=\"temptu-concept__text\">
  1238.                     <h2 class=\"temptu-concept__en\">{{ 'タイトルが入ります'|trans }}</h2>
  1239.                     <p class=\"temptu-concept__ja\">{{ 'ここにコンセプトの説明文が入ります。ブランドの世界観や想いを伝えるテキストを記載してください。'|trans }}</p>
  1240.                     <a class=\"temptu-btn-viewmore\" href=\"{{ url('product_list') }}\">{{ 'VIEW MORE'|trans }}</a>
  1241.                 </div>
  1242.             </div>
  1243.         </section>
  1244.         {# 全幅バナー(背景画像+中央テキスト・VIEW MORE) #}
  1245.         <section class=\"temptu-fullBanner\" style=\"background-image: url('{{ asset('assets/img/top/banner_bg.jpg', 'user_data') }}');\">
  1246.             <div class=\"temptu-fullBanner__overlay\"></div>
  1247.             <div class=\"temptu-fullBanner__content\">
  1248.                 <h2 class=\"temptu-fullBanner__title\">{{ 'ESSENTIAL COMFORT'|trans }}<br>{{ 'WITH MODERN STYLE'|trans }}</h2>
  1249.                 <p class=\"temptu-fullBanner__text\">{{ '快適さを追求したシンプルなデザイン。'|trans }}<br>{{ 'プロ仕様の洗練されたアイテム。'|trans }}</p>
  1250.                 <a href=\"https://shop.temptu.co.jp/contact\" class=\"temptu-fullBanner__btn\">お問い合わせ</a>
  1251.             </div>
  1252.         </section>
  1253.     {# Promo block 5 - temptu style(各項目はリンク可能) #}
  1254.     <div class=\"temptu-promoRow\">
  1255.         <div class=\"temptu-promoRow__inner\">
  1256.             <a href=\"https://shop.temptu.co.jp/products/detail/235\" class=\"temptu-promoRow__item\">
  1257.                 <span class=\"temptu-promoRow__icon\" aria-hidden=\"true\"><i class=\"far fa-id-card\"></i></span>
  1258.                 <h3 class=\"temptu-promoRow__en\">MEMBERSHIP</h3>
  1259.                 <p class=\"temptu-promoRow__ja\">有料会員特別割引</p>
  1260.                 <p class=\"temptu-promoRow__desc\">特別なメンバーシップ特典</p>
  1261.             </a>
  1262.             <a href=\"https://shop.temptu.co.jp/products/detail/235\" class=\"temptu-promoRow__item\">
  1263.                 <span class=\"temptu-promoRow__icon\" aria-hidden=\"true\"><i class=\"fas fa-truck\"></i></span>
  1264.                 <h3 class=\"temptu-promoRow__en\">FREE SHIPPING</h3>
  1265.                 <p class=\"temptu-promoRow__ja\">25,000円以上配送料無料</p>
  1266.                 <p class=\"temptu-promoRow__desc\">※有料会員のみ</p>
  1267.             </a>
  1268.             <a href=\"{{ url('product_list', { 'category_id': 24 }) }}\" class=\"temptu-promoRow__item\">
  1269.                 <span class=\"temptu-promoRow__icon\" aria-hidden=\"true\"><i class=\"fas fa-tag\"></i></span>
  1270.                 <h3 class=\"temptu-promoRow__en\">OUTLET SALE</h3>
  1271.                 <p class=\"temptu-promoRow__ja\">最大60%OFF!</p>
  1272.                 <p class=\"temptu-promoRow__desc\">掘り出し物のアウトレット品</p>
  1273.             </a>
  1274.             <a href=\"{{ url('product_list') }}\" class=\"temptu-promoRow__item\">
  1275.                 <span class=\"temptu-promoRow__icon\" aria-hidden=\"true\"><i class=\"fas fa-paint-brush\"></i></span>
  1276.                 <h3 class=\"temptu-promoRow__en\">PROFESSIONAL</h3>
  1277.                 <p class=\"temptu-promoRow__ja\">特殊メイク専門グッズ</p>
  1278.                 <p class=\"temptu-promoRow__desc\">プロ愛用の厳選アイテム</p>
  1279.             </a>
  1280.             <a href=\"{{ url('product_list', { 'category_id': 96 }) }}\" class=\"temptu-promoRow__item\">
  1281.                 <span class=\"temptu-promoRow__icon\" aria-hidden=\"true\"><i class=\"far fa-gem\"></i></span>
  1282.                 <h3 class=\"temptu-promoRow__en\">EXCLUSIVE</h3>
  1283.                 <p class=\"temptu-promoRow__ja\">TEMPTUオリジナル</p>
  1284.                 <p class=\"temptu-promoRow__desc\">ここでしか手に入らない専用の逸品</p>
  1285.             </a>
  1286.         </div>
  1287.     </div>
  1288.         {# PICK UP エリア(左: 大画像 / 右: 小画像・タイトル・文章・VIEW MORE) #}
  1289.         <section class=\"temptu-pickup\">
  1290.             <div class=\"temptu-pickup__inner\">
  1291.                 <h2 class=\"temptu-pickup__title temptu-sec-en\">PICKUP</h2>
  1292.                 <div class=\"temptu-pickup__body\">
  1293.                     <div class=\"temptu-pickup__mainWrap\">
  1294.                         <div class=\"temptu-pickup__mainImage\">
  1295.                             <img src=\"/html/user_data/assets/img/top/tatoo1.jpg\" alt=\"\" loading=\"lazy\">
  1296.                         </div>
  1297.                     </div>
  1298.                     <div class=\"temptu-pickup__right\">
  1299.                         <div class=\"temptu-pickup__subWrap\">
  1300.                             <div class=\"temptu-pickup__subImage\">
  1301.                                 <img src=\"/html/user_data/assets/img/top/tatoo2.jpg\" alt=\"\" loading=\"lazy\">
  1302.                             </div>
  1303.                         </div>
  1304.                         <div class=\"temptu-pickup__text\">
  1305.                             <h3 class=\"temptu-pickup__heading\">LUMI EARRINGS</h3>
  1306.                             <p class=\"temptu-pickup__desc\">{{ '輝きと彩りを耳元に。'|trans }}</p>
  1307.                             <p class=\"temptu-pickup__desc\">{{ 'シンプルで洗練されたデザイン。'|trans }}</p>
  1308.                             <a href=\"{{ url('product_list') }}\" class=\"temptu-pickup__viewmore\">{{ 'VIEW MORE'|trans }}</a>
  1309.                         </div>
  1310.                     </div>
  1311.                 </div>
  1312.                 <nav class=\"temptu-pickup__nav\" aria-label=\"{{ 'ピックアップ'|trans }}\">
  1313.                     <button type=\"button\" class=\"temptu-pickup__dot is-current\" aria-current=\"true\" aria-label=\"{{ '1枚目'|trans }}\"></button>
  1314.                     <button type=\"button\" class=\"temptu-pickup__dot\" aria-label=\"{{ '2枚目'|trans }}\"></button>
  1315.                     <button type=\"button\" class=\"temptu-pickup__dot\" aria-label=\"{{ '3枚目'|trans }}\"></button>
  1316.                     <button type=\"button\" class=\"temptu-pickup__arrow\" aria-label=\"{{ '次へ'|trans }}\"><i class=\"fas fa-chevron-right\"></i></button>
  1317.                 </nav>
  1318.             </div>
  1319.         </section>
  1320.     </div>
  1321.     <script>
  1322.     (function() {
  1323.         function initCarousel(el) {
  1324.             if (!el) return;
  1325.             var wrap = el.closest('.temptu-categoryProducts__wrap');
  1326.             var prev = wrap && wrap.querySelector('.temptu-categoryProducts__arrow--prev');
  1327.             var next = wrap && wrap.querySelector('.temptu-categoryProducts__arrow--next');
  1328.             function getSingleSetWidth() { return el.scrollWidth / 2; }
  1329.             function clampInfinite() {
  1330.                 var single = getSingleSetWidth();
  1331.                 if (el.scrollLeft >= el.scrollWidth - el.clientWidth - 20) el.scrollLeft = el.scrollLeft - single;
  1332.             }
  1333.             el.addEventListener('scroll', function() {
  1334.                 window.clearTimeout(el._scrollTimer);
  1335.                 el._scrollTimer = window.setTimeout(clampInfinite, 80);
  1336.             });
  1337.             if (prev) prev.addEventListener('click', function() {
  1338.                 var single = getSingleSetWidth();
  1339.                 if (el.scrollLeft <= 10) el.scrollLeft = single;
  1340.                 el.scrollBy({ left: -el.clientWidth, behavior: 'smooth' });
  1341.             });
  1342.             if (next) next.addEventListener('click', function() {
  1343.                 el.scrollBy({ left: el.clientWidth, behavior: 'smooth' });
  1344.             });
  1345.         }
  1346.         document.querySelectorAll('.temptu-categoryProducts__scroll').forEach(initCarousel);
  1347.     })();
  1348.     </script>
  1349. {% endblock %}
  1350. ""index.twig""/var/www/shop.temptu.co.jp/public_html/app/template/temptu/index.twig");
  1351.     }
  1352.     
  1353.     public function checkSecurity()
  1354.     {
  1355.         static $tags = array("set" => 6"if" => 77"for" => 91);
  1356.         static $filters = array("escape" => 41"length" => 77"first" => 78"trans" => 87"no_image_product" => 95"nl2br" => 106"raw" => 106"price" => 111"date" => 172);
  1357.         static $functions = array("url" => 40"asset" => 41"repository" => 76);
  1358.         try {
  1359.             $this->sandbox->checkSecurity(
  1360.                 ['set''if''for'],
  1361.                 ['escape''length''first''trans''no_image_product''nl2br''raw''price''date'],
  1362.                 ['url''asset''repository']
  1363.             );
  1364.         } catch (SecurityError $e) {
  1365.             $e->setSourceContext($this->source);
  1366.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  1367.                 $e->setTemplateLine($tags[$e->getTagName()]);
  1368.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  1369.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  1370.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  1371.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  1372.             }
  1373.             throw $e;
  1374.         }
  1375.     }
  1376. }