var/cache/dev/twig/ab/abe1f33eca678e0550ae5fb52f77c7a1.php line 106

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_f6d3783690f508442e0ff54f3ecbc991 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 1
  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.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""index.twig"));
  42.         // line 3
  43.         $context["body_class"] = "preload";
  44.         // line 1
  45.         $this->parent $this->loadTemplate("default_frame.twig""index.twig"1);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  49.         
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  51.     }
  52.     // line 5
  53.     public function block_stylesheet($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  60.         // line 6
  61.         echo "    <link rel=\"stylesheet\" href=\"";
  62.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/top.css""user_data"), "html"nulltrue);
  63.         echo "\">
  64. ";
  65.         
  66.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  67.         
  68.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  69.     }
  70.     // line 9
  71.     public function block_javascript($context, array $blocks = [])
  72.     {
  73.         $macros $this->macros;
  74.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  75.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  76.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  77.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  78.         
  79.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  80.         
  81.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  82.     }
  83.     // line 12
  84.     public function block_main($context, array $blocks = [])
  85.     {
  86.         $macros $this->macros;
  87.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  88.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  89.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  90.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  91.         // line 13
  92.         echo "    <div class=\"common-bg\">
  93.         <div class=\"content__wrapper\">
  94.             <section class=\"content01\">
  95.                 <div class=\"h__ttl\">What’s bichiku Onigiri</div>
  96.                 <div class=\"content01__ttl__under\">特許出願中</div>
  97.                 <h2 class=\"h__ttl02\">保存料不使用の備蓄おにぎり</h2>
  98.                 <p class=\"content__txt\">
  99.                     震災が多いここ日本で、<br class=\"br__sp\">
  100.                     安心安全な商品を届けたい。<br>
  101.                     そんな想いから5年の常温保存を可能にした<br>備蓄おにぎりは誕生しました。
  102.                 </p>
  103.                 <img src=\"";
  104.         // line 24
  105.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/content01__img.png""user_data"), "html"nulltrue);
  106.         echo "\" alt=\"\" class=\"content01__img01\">
  107.                 <div class=\"content01__content__wrap content01__content__wrap-sp\">
  108.                     <ul class=\"content01__content\" id=\"top__content01__slider\">
  109.                         <li class=\"content01__content-item\">
  110.                             <div class=\"tr\">
  111.                                 <img src=\"";
  112.         // line 29
  113.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/tr.svg""user_data"), "html"nulltrue);
  114.         echo "\" alt=\"\">
  115.                                 <div class=\"tr__txt\">水不要<br>調理不要で<br>食べられます</div>
  116.                             </div>
  117.                             <div class=\"content01__content-item__txt\">加熱などの調理や水が不要のため緊急時にも困りません。開封後すぐお召し上がりいただけます。</div>
  118.                         </li>
  119.                         <li class=\"content01__content-item\">
  120.                             <div class=\"tr\">
  121.                                 <img src=\"";
  122.         // line 36
  123.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/tr.svg""user_data"), "html"nulltrue);
  124.         echo "\" alt=\"\">
  125.                                 <div class=\"tr__txt\">保存料<br>不使用</div>
  126.                             </div>
  127.                             <div class=\"content01__content-item__txt\">保存料は一切使用しておりません。安心してお召し上がりになれます。</div>
  128.                         </li>
  129.                         <li class=\"content01__content-item\">
  130.                             <div class=\"tr\">
  131.                                 <img src=\"";
  132.         // line 43
  133.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/tr.svg""user_data"), "html"nulltrue);
  134.         echo "\" alt=\"\">
  135.                                 <div class=\"tr__txt\">5年<br>保存可能</div>
  136.                             </div>
  137.                             <div class=\"content01__content-item__txt\">直射日光・高温多湿の場所を避ければ、常温での保存も可能です。</div>
  138.                         </li>
  139.                         <li class=\"content01__content-item\">
  140.                             <div class=\"tr\">
  141.                                 <img src=\"";
  142.         // line 50
  143.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/tr.svg""user_data"), "html"nulltrue);
  144.         echo "\" alt=\"\">
  145.                                 <div class=\"tr__txt\">常温で<br>保存可能</div>
  146.                             </div>
  147.                             <div class=\"content01__content-item__txt\">加熱などの調理や水が不要のため緊急時にも困りません。開封後すぐお召し上がりいただけます。</div>
  148.                         </li>
  149.                     </ul>
  150.                     <div class=\"slide-arrow__wrap\">
  151.                         <div class=\"mv__arrow-l\"><img src=\"";
  152.         // line 57
  153.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/allow-l.svg""user_data"), "html"nulltrue);
  154.         echo "\" alt=\"\"></div>
  155.                         <div class=\"mv__arrow-r\"><img src=\"";
  156.         // line 58
  157.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/allow-r.svg""user_data"), "html"nulltrue);
  158.         echo "\" alt=\"\"></div>
  159.                     </div>
  160.                 </div>
  161.                 <div class=\"content01__content__wrap content01__content__wrap-pc\">
  162.                     <ul class=\"content01__content\">
  163.                         <li class=\"content01__content-item\">
  164.                             <div class=\"tr\">
  165.                                 <img src=\"";
  166.         // line 65
  167.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/tr.svg""user_data"), "html"nulltrue);
  168.         echo "\" alt=\"\">
  169.                                 <div class=\"tr__txt\">5年<br>保存可能</div>
  170.                             </div>
  171.                             <div class=\"content01__content-item__txt\">直射日光・高温多湿の場所を避ければ、常温での保存も可能です。</div>
  172.                         </li>
  173.                         <li class=\"content01__content-item\">
  174.                             <div class=\"tr\">
  175.                                 <img src=\"";
  176.         // line 72
  177.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/tr.svg""user_data"), "html"nulltrue);
  178.         echo "\" alt=\"\">
  179.                                 <div class=\"tr__txt\">常温で<br>保存可能</div>
  180.                             </div>
  181.                             <div class=\"content01__content-item__txt\">加熱などの調理や水が不要のため緊急時にも困りません。開封後すぐお召し上がりいただけます。</div>
  182.                         </li>
  183.                         <li class=\"content01__content-item\">
  184.                             <div class=\"tr\">
  185.                                 <img src=\"";
  186.         // line 79
  187.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/tr.svg""user_data"), "html"nulltrue);
  188.         echo "\" alt=\"\">
  189.                                 <div class=\"tr__txt\">水不要<br>調理不要で<br>食べられます</div>
  190.                             </div>
  191.                             <div class=\"content01__content-item__txt\">加熱などの調理や水が不要のため緊急時にも困りません。開封後すぐお召し上がりいただけます。</div>
  192.                         </li>
  193.                         <li class=\"content01__content-item\">
  194.                             <div class=\"tr\">
  195.                                 <img src=\"";
  196.         // line 86
  197.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/tr.svg""user_data"), "html"nulltrue);
  198.         echo "\" alt=\"\">
  199.                                 <div class=\"tr__txt\">保存料<br>不使用</div>
  200.                             </div>
  201.                             <div class=\"content01__content-item__txt\">保存料は一切使用しておりません。安心してお召し上がりになれます。</div>
  202.                         </li>
  203.                     </ul>
  204.                 </div>
  205.                 <div class=\"common__btn\"><a href=\"";
  206.         // line 93
  207.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_about");
  208.         echo "\">商品について詳しく見る</a></div>
  209.             </section>
  210.             <section class=\"content02\">
  211.                 <div class=\"content02__inner\">
  212.                     ";
  213.         // line 112
  214.         echo "                    <h3 class=\"content02__ttl02\">特殊製法で<br class=\"br__sp\">保存料不使用なのに<br class=\"br__sp\">長期保存可能!</h3>
  215.                     <div class=\"video__wrap\"><video src=\"";
  216.         // line 113
  217.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/video01.mp4""user_data"), "html"nulltrue);
  218.         echo "\" muted playsinline controls></video></div>
  219.                     <div class=\"content02__txt02\">動画はイメージです。<br>
  220.                         開封後は賞味期限にかかわらず、<br class=\"br__sp\">お早めにお召し上がりください。</div>
  221.                     <div class=\"common__btn\"><a href=\"";
  222.         // line 116
  223.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  224.         echo "\">全ての商品を見る</a></div>
  225.                     <div class=\"content02__under__box\">
  226.                         <h3 class=\"content02__under__ttl\">大規模施設などの<br class=\"br__sp\">大型発注について</h3>
  227.                         <p class=\"content02__under__txt\">弊社では、大型施設や行政などの大型発注も承っております。<br>
  228.                             100箱以上の発注に関しては別途お問い合わせください。</p>
  229.                         <div class=\"common__btn\"><a href=\"";
  230.         // line 121
  231.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("contact");
  232.         echo "\">";
  233.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お問い合わせ"), "html"nulltrue);
  234.         echo "</a></div>
  235.                     </div>
  236.                 </div>
  237.             </section>
  238.             <section class=\"content03\">
  239.                 <div class=\"content03__inner\">
  240.                     ";
  241.         // line 127
  242.         $context["Products"] = twig_get_attribute($this->env$this->source$this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Product"), "findBy", [=> ["Status" => 1], => ["create_date" => "desc"], => 5], "method"falsefalsetrue127);
  243.         // line 128
  244.         echo "                    <div class=\"h__ttl\">";
  245.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("New Item"), "html"nulltrue);
  246.         echo "</div>
  247.                     <h2 class=\"h__ttl02\">";
  248.         // line 129
  249.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("新商品"), "html"nulltrue);
  250.         echo "</h2>
  251.                     <div class=\"content03__slider__wrap\">
  252.                         <ul class=\"content03__slider\" id=\"top__content03__slider\">
  253.                             ";
  254.         // line 132
  255.         $context['_parent'] = $context;
  256.         $context['_seq'] = twig_ensure_traversable((isset($context["Products"]) || array_key_exists("Products"$context) ? $context["Products"] : (function () { throw new RuntimeError('Variable "Products" does not exist.'132$this->source); })()));
  257.         $context['loop'] = [
  258.           'parent' => $context['_parent'],
  259.           'index0' => 0,
  260.           'index'  => 1,
  261.           'first'  => true,
  262.         ];
  263.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  264.             $length count($context['_seq']);
  265.             $context['loop']['revindex0'] = $length 1;
  266.             $context['loop']['revindex'] = $length;
  267.             $context['loop']['length'] = $length;
  268.             $context['loop']['last'] = === $length;
  269.         }
  270.         foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
  271.             // line 133
  272.             echo "                                <li class=\"content03__slider-item\">
  273.                                     <a href=\"";
  274.             // line 134
  275.             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"falsefalsetrue134)]), "html"nulltrue);
  276.             echo "\">
  277.                                         <img src=\"";
  278.             // line 135
  279.             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"falsefalsetrue135), 135$this->source)), "save_image"), "html"nulltrue);
  280.             echo "\" alt=\"";
  281.             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);
  282.             echo "\" ";
  283.             if ((twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsetrue135) > 5)) {
  284.                 echo " loading=\"lazy\"";
  285.             }
  286.             echo ">
  287.                                         <div class=\"content03__slider__name\">";
  288.             // line 136
  289.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "name", [], "any"falsefalsetrue136), 136$this->source), "html"nulltrue);
  290.             echo "</div>
  291.                                         <div class=\"content03__slider__price\">
  292.                                             ";
  293.             // line 138
  294.             if (twig_get_attribute($this->env$this->source$context["Product"], "hasProductClass", [], "any"falsefalsetrue138)) {
  295.                 // line 139
  296.                 if ((twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsetrue139) == twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMax", [], "any"falsefalsetrue139))) {
  297.                     // line 140
  298.                     echo "                                                    ";
  299.                     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"falsefalsetrue140), 140$this->source)), "html"nulltrue);
  300.                     echo "
  301.                                                 ";
  302.                 } else {
  303.                     // line 142
  304.                     echo "                                                    ";
  305.                     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);
  306.                     echo " ~ ";
  307.                     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"falsefalsetrue142), 142$this->source)), "html"nulltrue);
  308.                     echo "
  309.                                                 ";
  310.                 }
  311.                 // line 144
  312.                 echo "                                            ";
  313.             } else {
  314.                 // line 145
  315.                 echo "                                                ";
  316.                 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"falsefalsetrue145), 145$this->source)), "html"nulltrue);
  317.                 echo "
  318.                                             ";
  319.             }
  320.             // line 147
  321.             echo "                                            (税込)
  322.                                         </div>
  323.                                     </a>
  324.                                 </li>
  325.                             ";
  326.             ++$context['loop']['index0'];
  327.             ++$context['loop']['index'];
  328.             $context['loop']['first'] = false;
  329.             if (isset($context['loop']['length'])) {
  330.                 --$context['loop']['revindex0'];
  331.                 --$context['loop']['revindex'];
  332.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  333.             }
  334.         }
  335.         $_parent $context['_parent'];
  336.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
  337.         $context array_intersect_key($context$_parent) + $_parent;
  338.         // line 152
  339.         echo "                        </ul>
  340.                     </div>
  341.                     <div class=\"common__btn\"><a href=\"";
  342.         // line 154
  343.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  344.         echo "\">商品一覧を見る</a></div>
  345.                 </div>
  346.             </section>
  347.             ";
  348.         // line 157
  349.         $context["NewsList"] = twig_get_attribute($this->env$this->source$this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\News"), "getList", [], "method"falsefalsetrue157);
  350.         // line 158
  351.         echo "            <section class=\"content04\">
  352.                 <div class=\"h__ttl\">";
  353.         // line 159
  354.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("News"), "html"nulltrue);
  355.         echo "</div>
  356.                 <h2 class=\"h__ttl02\">";
  357.         // line 160
  358.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("新着情報"), "html"nulltrue);
  359.         echo "</h2>
  360.                 <ul class=\"content04__list\">
  361.                     ";
  362.         // line 162
  363.         $context['_parent'] = $context;
  364.         $context['_seq'] = twig_ensure_traversable((isset($context["NewsList"]) || array_key_exists("NewsList"$context) ? $context["NewsList"] : (function () { throw new RuntimeError('Variable "NewsList" does not exist.'162$this->source); })()));
  365.         foreach ($context['_seq'] as $context["_key"] => $context["News"]) {
  366.             // line 163
  367.             echo "                        <li>
  368.                             <div class=\"content04__list__ttl__wrap\">
  369.                                 <time datetime=\"\" class=\"content04__list__time\">";
  370.             // line 165
  371.             echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\IntlExtension']->date_day($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["News"], "publish_date", [], "any"falsefalsetrue165), 165$this->source)), "html"nulltrue);
  372.             echo "</time>
  373.                                 <div class=\"content04__list__ttl\">";
  374.             // line 166
  375.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["News"], "title", [], "any"falsefalsetrue166), 166$this->source), "html"nulltrue);
  376.             echo "</div>
  377.                             </div>
  378.                             <div class=\"content04__list__info\">
  379.                                 ";
  380.             // line 169
  381.             echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["News"], "description", [], "any"falsefalsetrue169), 169$this->source));
  382.             echo "
  383.                                 ";
  384.             // line 170
  385.             if (twig_get_attribute($this->env$this->source$context["News"], "url", [], "any"falsefalsetrue170)) {
  386.                 // line 171
  387.                 echo "                                    <br>
  388.                                     <a href=\"";
  389.                 // line 172
  390.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["News"], "url", [], "any"falsefalsetrue172), 172$this->source), "html"nulltrue);
  391.                 echo "\" ";
  392.                 if ((twig_get_attribute($this->env$this->source$context["News"], "link_method", [], "any"falsefalsetrue172) == "1")) {
  393.                     echo "target=\"_blank\"";
  394.                 }
  395.                 echo ">";
  396.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("詳しくはこちら"), "html"nulltrue);
  397.                 echo "</a>
  398.                                 ";
  399.             }
  400.             // line 174
  401.             echo "                            </div>
  402.                         </li>
  403.                     ";
  404.         }
  405.         $_parent $context['_parent'];
  406.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['News'], $context['_parent'], $context['loop']);
  407.         $context array_intersect_key($context$_parent) + $_parent;
  408.         // line 177
  409.         echo "                </ul>
  410.             </section>
  411.         </div>
  412.     </div>
  413. ";
  414.         
  415.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  416.         
  417.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  418.     }
  419.     public function getTemplateName()
  420.     {
  421.         return "index.twig";
  422.     }
  423.     public function isTraitable()
  424.     {
  425.         return false;
  426.     }
  427.     public function getDebugInfo()
  428.     {
  429.         return array (  433 => 177,  425 => 174,  414 => 172,  411 => 171,  409 => 170,  405 => 169,  399 => 166,  395 => 165,  391 => 163,  387 => 162,  382 => 160,  378 => 159,  375 => 158,  373 => 157,  367 => 154,  363 => 152,  345 => 147,  339 => 145,  336 => 144,  328 => 142,  322 => 140,  320 => 139,  318 => 138,  313 => 136,  303 => 135,  299 => 134,  296 => 133,  279 => 132,  273 => 129,  268 => 128,  266 => 127,  255 => 121,  247 => 116,  241 => 113,  238 => 112,  231 => 93,  221 => 86,  211 => 79,  201 => 72,  191 => 65,  181 => 58,  177 => 57,  167 => 50,  157 => 43,  147 => 36,  137 => 29,  129 => 24,  116 => 13,  106 => 12,  88 => 9,  75 => 6,  65 => 5,  54 => 1,  52 => 3,  39 => 1,);
  430.     }
  431.     public function getSourceContext()
  432.     {
  433.         return new Source("{% extends 'default_frame.twig' %}
  434. {% set body_class = 'preload' %}
  435. {% block stylesheet %}
  436.     <link rel=\"stylesheet\" href=\"{{ asset('assets/css/top.css', 'user_data') }}\">
  437. {% endblock %}
  438. {% block javascript %}
  439. {% endblock javascript %}
  440. {% block main %}
  441.     <div class=\"common-bg\">
  442.         <div class=\"content__wrapper\">
  443.             <section class=\"content01\">
  444.                 <div class=\"h__ttl\">What’s bichiku Onigiri</div>
  445.                 <div class=\"content01__ttl__under\">特許出願中</div>
  446.                 <h2 class=\"h__ttl02\">保存料不使用の備蓄おにぎり</h2>
  447.                 <p class=\"content__txt\">
  448.                     震災が多いここ日本で、<br class=\"br__sp\">
  449.                     安心安全な商品を届けたい。<br>
  450.                     そんな想いから5年の常温保存を可能にした<br>備蓄おにぎりは誕生しました。
  451.                 </p>
  452.                 <img src=\"{{ asset('assets/img/top/content01__img.png', 'user_data') }}\" alt=\"\" class=\"content01__img01\">
  453.                 <div class=\"content01__content__wrap content01__content__wrap-sp\">
  454.                     <ul class=\"content01__content\" id=\"top__content01__slider\">
  455.                         <li class=\"content01__content-item\">
  456.                             <div class=\"tr\">
  457.                                 <img src=\"{{ asset('assets/img/top/tr.svg', 'user_data') }}\" alt=\"\">
  458.                                 <div class=\"tr__txt\">水不要<br>調理不要で<br>食べられます</div>
  459.                             </div>
  460.                             <div class=\"content01__content-item__txt\">加熱などの調理や水が不要のため緊急時にも困りません。開封後すぐお召し上がりいただけます。</div>
  461.                         </li>
  462.                         <li class=\"content01__content-item\">
  463.                             <div class=\"tr\">
  464.                                 <img src=\"{{ asset('assets/img/top/tr.svg', 'user_data') }}\" alt=\"\">
  465.                                 <div class=\"tr__txt\">保存料<br>不使用</div>
  466.                             </div>
  467.                             <div class=\"content01__content-item__txt\">保存料は一切使用しておりません。安心してお召し上がりになれます。</div>
  468.                         </li>
  469.                         <li class=\"content01__content-item\">
  470.                             <div class=\"tr\">
  471.                                 <img src=\"{{ asset('assets/img/top/tr.svg', 'user_data') }}\" alt=\"\">
  472.                                 <div class=\"tr__txt\">5年<br>保存可能</div>
  473.                             </div>
  474.                             <div class=\"content01__content-item__txt\">直射日光・高温多湿の場所を避ければ、常温での保存も可能です。</div>
  475.                         </li>
  476.                         <li class=\"content01__content-item\">
  477.                             <div class=\"tr\">
  478.                                 <img src=\"{{ asset('assets/img/top/tr.svg', 'user_data') }}\" alt=\"\">
  479.                                 <div class=\"tr__txt\">常温で<br>保存可能</div>
  480.                             </div>
  481.                             <div class=\"content01__content-item__txt\">加熱などの調理や水が不要のため緊急時にも困りません。開封後すぐお召し上がりいただけます。</div>
  482.                         </li>
  483.                     </ul>
  484.                     <div class=\"slide-arrow__wrap\">
  485.                         <div class=\"mv__arrow-l\"><img src=\"{{ asset('assets/img/allow-l.svg', 'user_data') }}\" alt=\"\"></div>
  486.                         <div class=\"mv__arrow-r\"><img src=\"{{ asset('assets/img/allow-r.svg', 'user_data') }}\" alt=\"\"></div>
  487.                     </div>
  488.                 </div>
  489.                 <div class=\"content01__content__wrap content01__content__wrap-pc\">
  490.                     <ul class=\"content01__content\">
  491.                         <li class=\"content01__content-item\">
  492.                             <div class=\"tr\">
  493.                                 <img src=\"{{ asset('assets/img/top/tr.svg', 'user_data') }}\" alt=\"\">
  494.                                 <div class=\"tr__txt\">5年<br>保存可能</div>
  495.                             </div>
  496.                             <div class=\"content01__content-item__txt\">直射日光・高温多湿の場所を避ければ、常温での保存も可能です。</div>
  497.                         </li>
  498.                         <li class=\"content01__content-item\">
  499.                             <div class=\"tr\">
  500.                                 <img src=\"{{ asset('assets/img/top/tr.svg', 'user_data') }}\" alt=\"\">
  501.                                 <div class=\"tr__txt\">常温で<br>保存可能</div>
  502.                             </div>
  503.                             <div class=\"content01__content-item__txt\">加熱などの調理や水が不要のため緊急時にも困りません。開封後すぐお召し上がりいただけます。</div>
  504.                         </li>
  505.                         <li class=\"content01__content-item\">
  506.                             <div class=\"tr\">
  507.                                 <img src=\"{{ asset('assets/img/top/tr.svg', 'user_data') }}\" alt=\"\">
  508.                                 <div class=\"tr__txt\">水不要<br>調理不要で<br>食べられます</div>
  509.                             </div>
  510.                             <div class=\"content01__content-item__txt\">加熱などの調理や水が不要のため緊急時にも困りません。開封後すぐお召し上がりいただけます。</div>
  511.                         </li>
  512.                         <li class=\"content01__content-item\">
  513.                             <div class=\"tr\">
  514.                                 <img src=\"{{ asset('assets/img/top/tr.svg', 'user_data') }}\" alt=\"\">
  515.                                 <div class=\"tr__txt\">保存料<br>不使用</div>
  516.                             </div>
  517.                             <div class=\"content01__content-item__txt\">保存料は一切使用しておりません。安心してお召し上がりになれます。</div>
  518.                         </li>
  519.                     </ul>
  520.                 </div>
  521.                 <div class=\"common__btn\"><a href=\"{{ url('product_about') }}\">商品について詳しく見る</a></div>
  522.             </section>
  523.             <section class=\"content02\">
  524.                 <div class=\"content02__inner\">
  525.                     {#
  526.                     <div class=\"h__ttl\">{{ 'Category'|trans }}</div>
  527.                     <h2 class=\"h__ttl02\">{{ '商品カテゴリー'|trans }}</h2>
  528.                     <div class=\"content02__img__wrap\">
  529.                         {% set Categories = repository('Eccube\\\\Entity\\\\Category').getList() %}
  530.                         {% for Category in Categories %}
  531.                             <div class=\"content02__img {% if loop.index > 1 %}content02__img02{% endif %}\">
  532.                                 <a href=\"{{ url('product_list') }}?category_id={{ Category.id }}\">
  533.                                     <img src=\"{{ asset('assets/img/top/content02__img01.png', 'user_data') }}\" alt=\"\">
  534.                                     <div class=\"content02__img__txt\">{{ Category.name }}</div>
  535.                                 </a>
  536.                             </div>
  537.                         {% endfor %}
  538.                     </div>
  539.                     #}
  540.                     <h3 class=\"content02__ttl02\">特殊製法で<br class=\"br__sp\">保存料不使用なのに<br class=\"br__sp\">長期保存可能!</h3>
  541.                     <div class=\"video__wrap\"><video src=\"{{ asset('assets/img/top/video01.mp4', 'user_data') }}\" muted playsinline controls></video></div>
  542.                     <div class=\"content02__txt02\">動画はイメージです。<br>
  543.                         開封後は賞味期限にかかわらず、<br class=\"br__sp\">お早めにお召し上がりください。</div>
  544.                     <div class=\"common__btn\"><a href=\"{{ url('product_list') }}\">全ての商品を見る</a></div>
  545.                     <div class=\"content02__under__box\">
  546.                         <h3 class=\"content02__under__ttl\">大規模施設などの<br class=\"br__sp\">大型発注について</h3>
  547.                         <p class=\"content02__under__txt\">弊社では、大型施設や行政などの大型発注も承っております。<br>
  548.                             100箱以上の発注に関しては別途お問い合わせください。</p>
  549.                         <div class=\"common__btn\"><a href=\"{{ url('contact') }}\">{{ 'お問い合わせ'|trans }}</a></div>
  550.                     </div>
  551.                 </div>
  552.             </section>
  553.             <section class=\"content03\">
  554.                 <div class=\"content03__inner\">
  555.                     {% set Products = repository('Eccube\\\\Entity\\\\Product').findBy({ Status: 1 }, { create_date: 'desc' }, 5) %}
  556.                     <div class=\"h__ttl\">{{ 'New Item'|trans }}</div>
  557.                     <h2 class=\"h__ttl02\">{{ '新商品'|trans }}</h2>
  558.                     <div class=\"content03__slider__wrap\">
  559.                         <ul class=\"content03__slider\" id=\"top__content03__slider\">
  560.                             {% for Product in Products %}
  561.                                 <li class=\"content03__slider-item\">
  562.                                     <a href=\"{{ url('product_detail', {'id': Product.id}) }}\">
  563.                                         <img src=\"{{ asset(Product.main_list_image|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\" {% if loop.index > 5 %} loading=\"lazy\"{% endif %}>
  564.                                         <div class=\"content03__slider__name\">{{ Product.name }}</div>
  565.                                         <div class=\"content03__slider__price\">
  566.                                             {% if Product.hasProductClass -%}
  567.                                                 {% if Product.getPrice02IncTaxMin == Product.getPrice02IncTaxMax %}
  568.                                                     {{ Product.getPrice02IncTaxMin|price }}
  569.                                                 {% else %}
  570.                                                     {{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}
  571.                                                 {% endif %}
  572.                                             {% else %}
  573.                                                 {{ Product.getPrice02IncTaxMin|price }}
  574.                                             {% endif %}
  575.                                             (税込)
  576.                                         </div>
  577.                                     </a>
  578.                                 </li>
  579.                             {% endfor %}
  580.                         </ul>
  581.                     </div>
  582.                     <div class=\"common__btn\"><a href=\"{{ url('product_list') }}\">商品一覧を見る</a></div>
  583.                 </div>
  584.             </section>
  585.             {% set NewsList = repository('Eccube\\\\Entity\\\\News').getList() %}
  586.             <section class=\"content04\">
  587.                 <div class=\"h__ttl\">{{ 'News'|trans }}</div>
  588.                 <h2 class=\"h__ttl02\">{{ '新着情報'|trans }}</h2>
  589.                 <ul class=\"content04__list\">
  590.                     {% for News in NewsList %}
  591.                         <li>
  592.                             <div class=\"content04__list__ttl__wrap\">
  593.                                 <time datetime=\"\" class=\"content04__list__time\">{{ News.publish_date|date_day }}</time>
  594.                                 <div class=\"content04__list__ttl\">{{ News.title }}</div>
  595.                             </div>
  596.                             <div class=\"content04__list__info\">
  597.                                 {{ News.description|raw|nl2br }}
  598.                                 {% if News.url %}
  599.                                     <br>
  600.                                     <a href=\"{{ News.url }}\" {% if News.link_method == '1' %}target=\"_blank\"{% endif %}>{{ '詳しくはこちら'|trans }}</a>
  601.                                 {% endif %}
  602.                             </div>
  603.                         </li>
  604.                     {% endfor %}
  605.                 </ul>
  606.             </section>
  607.         </div>
  608.     </div>
  609. {% endblock %}""index.twig""/home/c0038597/public_html/vita-corporation.com/app/template/default/index.twig");
  610.     }
  611.     
  612.     public function checkSecurity()
  613.     {
  614.         static $tags = array("set" => 3"for" => 132"if" => 135);
  615.         static $filters = array("escape" => 6"trans" => 121"no_image_product" => 135"price" => 140"date_day" => 165"nl2br" => 169"raw" => 169);
  616.         static $functions = array("asset" => 6"url" => 93"repository" => 127);
  617.         try {
  618.             $this->sandbox->checkSecurity(
  619.                 ['set''for''if'],
  620.                 ['escape''trans''no_image_product''price''date_day''nl2br''raw'],
  621.                 ['asset''url''repository']
  622.             );
  623.         } catch (SecurityError $e) {
  624.             $e->setSourceContext($this->source);
  625.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  626.                 $e->setTemplateLine($tags[$e->getTagName()]);
  627.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  628.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  629.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  630.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  631.             }
  632.             throw $e;
  633.         }
  634.     }
  635. }