<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* index.twig */
class __TwigTemplate_f6d3783690f508442e0ff54f3ecbc991 extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'stylesheet' => [$this, 'block_stylesheet'],
'javascript' => [$this, 'block_javascript'],
'main' => [$this, 'block_main'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 1
return "default_frame.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "index.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "index.twig"));
// line 3
$context["body_class"] = "preload";
// line 1
$this->parent = $this->loadTemplate("default_frame.twig", "index.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 5
public function block_stylesheet($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
// line 6
echo " <link rel=\"stylesheet\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/top.css", "user_data"), "html", null, true);
echo "\">
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 9
public function block_javascript($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 12
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 13
echo " <div class=\"common-bg\">
<div class=\"content__wrapper\">
<section class=\"content01\">
<div class=\"h__ttl\">What’s bichiku Onigiri</div>
<div class=\"content01__ttl__under\">特許出願中</div>
<h2 class=\"h__ttl02\">保存料不使用の備蓄おにぎり</h2>
<p class=\"content__txt\">
震災が多いここ日本で、<br class=\"br__sp\">
安心安全な商品を届けたい。<br>
そんな想いから5年の常温保存を可能にした<br>備蓄おにぎりは誕生しました。
</p>
<img src=\"";
// line 24
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/content01__img.png", "user_data"), "html", null, true);
echo "\" alt=\"\" class=\"content01__img01\">
<div class=\"content01__content__wrap content01__content__wrap-sp\">
<ul class=\"content01__content\" id=\"top__content01__slider\">
<li class=\"content01__content-item\">
<div class=\"tr\">
<img src=\"";
// line 29
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/tr.svg", "user_data"), "html", null, true);
echo "\" alt=\"\">
<div class=\"tr__txt\">水不要<br>調理不要で<br>食べられます</div>
</div>
<div class=\"content01__content-item__txt\">加熱などの調理や水が不要のため緊急時にも困りません。開封後すぐお召し上がりいただけます。</div>
</li>
<li class=\"content01__content-item\">
<div class=\"tr\">
<img src=\"";
// line 36
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/tr.svg", "user_data"), "html", null, true);
echo "\" alt=\"\">
<div class=\"tr__txt\">保存料<br>不使用</div>
</div>
<div class=\"content01__content-item__txt\">保存料は一切使用しておりません。安心してお召し上がりになれます。</div>
</li>
<li class=\"content01__content-item\">
<div class=\"tr\">
<img src=\"";
// line 43
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/tr.svg", "user_data"), "html", null, true);
echo "\" alt=\"\">
<div class=\"tr__txt\">5年<br>保存可能</div>
</div>
<div class=\"content01__content-item__txt\">直射日光・高温多湿の場所を避ければ、常温での保存も可能です。</div>
</li>
<li class=\"content01__content-item\">
<div class=\"tr\">
<img src=\"";
// line 50
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/tr.svg", "user_data"), "html", null, true);
echo "\" alt=\"\">
<div class=\"tr__txt\">常温で<br>保存可能</div>
</div>
<div class=\"content01__content-item__txt\">加熱などの調理や水が不要のため緊急時にも困りません。開封後すぐお召し上がりいただけます。</div>
</li>
</ul>
<div class=\"slide-arrow__wrap\">
<div class=\"mv__arrow-l\"><img src=\"";
// line 57
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/allow-l.svg", "user_data"), "html", null, true);
echo "\" alt=\"\"></div>
<div class=\"mv__arrow-r\"><img src=\"";
// line 58
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/allow-r.svg", "user_data"), "html", null, true);
echo "\" alt=\"\"></div>
</div>
</div>
<div class=\"content01__content__wrap content01__content__wrap-pc\">
<ul class=\"content01__content\">
<li class=\"content01__content-item\">
<div class=\"tr\">
<img src=\"";
// line 65
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/tr.svg", "user_data"), "html", null, true);
echo "\" alt=\"\">
<div class=\"tr__txt\">5年<br>保存可能</div>
</div>
<div class=\"content01__content-item__txt\">直射日光・高温多湿の場所を避ければ、常温での保存も可能です。</div>
</li>
<li class=\"content01__content-item\">
<div class=\"tr\">
<img src=\"";
// line 72
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/tr.svg", "user_data"), "html", null, true);
echo "\" alt=\"\">
<div class=\"tr__txt\">常温で<br>保存可能</div>
</div>
<div class=\"content01__content-item__txt\">加熱などの調理や水が不要のため緊急時にも困りません。開封後すぐお召し上がりいただけます。</div>
</li>
<li class=\"content01__content-item\">
<div class=\"tr\">
<img src=\"";
// line 79
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/tr.svg", "user_data"), "html", null, true);
echo "\" alt=\"\">
<div class=\"tr__txt\">水不要<br>調理不要で<br>食べられます</div>
</div>
<div class=\"content01__content-item__txt\">加熱などの調理や水が不要のため緊急時にも困りません。開封後すぐお召し上がりいただけます。</div>
</li>
<li class=\"content01__content-item\">
<div class=\"tr\">
<img src=\"";
// line 86
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/tr.svg", "user_data"), "html", null, true);
echo "\" alt=\"\">
<div class=\"tr__txt\">保存料<br>不使用</div>
</div>
<div class=\"content01__content-item__txt\">保存料は一切使用しておりません。安心してお召し上がりになれます。</div>
</li>
</ul>
</div>
<div class=\"common__btn\"><a href=\"";
// line 93
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_about");
echo "\">商品について詳しく見る</a></div>
</section>
<section class=\"content02\">
<div class=\"content02__inner\">
";
// line 112
echo " <h3 class=\"content02__ttl02\">特殊製法で<br class=\"br__sp\">保存料不使用なのに<br class=\"br__sp\">長期保存可能!</h3>
<div class=\"video__wrap\"><video src=\"";
// line 113
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/video01.mp4", "user_data"), "html", null, true);
echo "\" muted playsinline controls></video></div>
<div class=\"content02__txt02\">動画はイメージです。<br>
開封後は賞味期限にかかわらず、<br class=\"br__sp\">お早めにお召し上がりください。</div>
<div class=\"common__btn\"><a href=\"";
// line 116
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "\">全ての商品を見る</a></div>
<div class=\"content02__under__box\">
<h3 class=\"content02__under__ttl\">大規模施設などの<br class=\"br__sp\">大型発注について</h3>
<p class=\"content02__under__txt\">弊社では、大型施設や行政などの大型発注も承っております。<br>
100箱以上の発注に関しては別途お問い合わせください。</p>
<div class=\"common__btn\"><a href=\"";
// line 121
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("contact");
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お問い合わせ"), "html", null, true);
echo "</a></div>
</div>
</div>
</section>
<section class=\"content03\">
<div class=\"content03__inner\">
";
// line 127
$context["Products"] = twig_get_attribute($this->env, $this->source, $this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Product"), "findBy", [0 => ["Status" => 1], 1 => ["create_date" => "desc"], 2 => 5], "method", false, false, true, 127);
// line 128
echo " <div class=\"h__ttl\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("New Item"), "html", null, true);
echo "</div>
<h2 class=\"h__ttl02\">";
// line 129
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("新商品"), "html", null, true);
echo "</h2>
<div class=\"content03__slider__wrap\">
<ul class=\"content03__slider\" id=\"top__content03__slider\">
";
// line 132
$context['_parent'] = $context;
$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); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
// line 133
echo " <li class=\"content03__slider-item\">
<a href=\"";
// line 134
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, true, 134)]), "html", null, true);
echo "\">
<img src=\"";
// line 135
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", false, false, true, 135), 135, $this->source)), "save_image"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "name", [], "any", false, false, true, 135), 135, $this->source), "html", null, true);
echo "\" ";
if ((twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, true, 135) > 5)) {
echo " loading=\"lazy\"";
}
echo ">
<div class=\"content03__slider__name\">";
// line 136
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "name", [], "any", false, false, true, 136), 136, $this->source), "html", null, true);
echo "</div>
<div class=\"content03__slider__price\">
";
// line 138
if (twig_get_attribute($this->env, $this->source, $context["Product"], "hasProductClass", [], "any", false, false, true, 138)) {
// line 139
if ((twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02IncTaxMin", [], "any", false, false, true, 139) == twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02IncTaxMax", [], "any", false, false, true, 139))) {
// line 140
echo " ";
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", false, false, true, 140), 140, $this->source)), "html", null, true);
echo "
";
} else {
// line 142
echo " ";
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", false, false, true, 142), 142, $this->source)), "html", null, true);
echo " ~ ";
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", false, false, true, 142), 142, $this->source)), "html", null, true);
echo "
";
}
// line 144
echo " ";
} else {
// line 145
echo " ";
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", false, false, true, 145), 145, $this->source)), "html", null, true);
echo "
";
}
// line 147
echo " (税込)
</div>
</a>
</li>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 152
echo " </ul>
</div>
<div class=\"common__btn\"><a href=\"";
// line 154
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "\">商品一覧を見る</a></div>
</div>
</section>
";
// line 157
$context["NewsList"] = twig_get_attribute($this->env, $this->source, $this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\News"), "getList", [], "method", false, false, true, 157);
// line 158
echo " <section class=\"content04\">
<div class=\"h__ttl\">";
// line 159
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("News"), "html", null, true);
echo "</div>
<h2 class=\"h__ttl02\">";
// line 160
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("新着情報"), "html", null, true);
echo "</h2>
<ul class=\"content04__list\">
";
// line 162
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["News"]) {
// line 163
echo " <li>
<div class=\"content04__list__ttl__wrap\">
<time datetime=\"\" class=\"content04__list__time\">";
// line 165
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", false, false, true, 165), 165, $this->source)), "html", null, true);
echo "</time>
<div class=\"content04__list__ttl\">";
// line 166
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["News"], "title", [], "any", false, false, true, 166), 166, $this->source), "html", null, true);
echo "</div>
</div>
<div class=\"content04__list__info\">
";
// line 169
echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["News"], "description", [], "any", false, false, true, 169), 169, $this->source));
echo "
";
// line 170
if (twig_get_attribute($this->env, $this->source, $context["News"], "url", [], "any", false, false, true, 170)) {
// line 171
echo " <br>
<a href=\"";
// line 172
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["News"], "url", [], "any", false, false, true, 172), 172, $this->source), "html", null, true);
echo "\" ";
if ((twig_get_attribute($this->env, $this->source, $context["News"], "link_method", [], "any", false, false, true, 172) == "1")) {
echo "target=\"_blank\"";
}
echo ">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("詳しくはこちら"), "html", null, true);
echo "</a>
";
}
// line 174
echo " </div>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['News'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 177
echo " </ul>
</section>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "index.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends 'default_frame.twig' %}
{% set body_class = 'preload' %}
{% block stylesheet %}
<link rel=\"stylesheet\" href=\"{{ asset('assets/css/top.css', 'user_data') }}\">
{% endblock %}
{% block javascript %}
{% endblock javascript %}
{% block main %}
<div class=\"common-bg\">
<div class=\"content__wrapper\">
<section class=\"content01\">
<div class=\"h__ttl\">What’s bichiku Onigiri</div>
<div class=\"content01__ttl__under\">特許出願中</div>
<h2 class=\"h__ttl02\">保存料不使用の備蓄おにぎり</h2>
<p class=\"content__txt\">
震災が多いここ日本で、<br class=\"br__sp\">
安心安全な商品を届けたい。<br>
そんな想いから5年の常温保存を可能にした<br>備蓄おにぎりは誕生しました。
</p>
<img src=\"{{ asset('assets/img/top/content01__img.png', 'user_data') }}\" alt=\"\" class=\"content01__img01\">
<div class=\"content01__content__wrap content01__content__wrap-sp\">
<ul class=\"content01__content\" id=\"top__content01__slider\">
<li class=\"content01__content-item\">
<div class=\"tr\">
<img src=\"{{ asset('assets/img/top/tr.svg', 'user_data') }}\" alt=\"\">
<div class=\"tr__txt\">水不要<br>調理不要で<br>食べられます</div>
</div>
<div class=\"content01__content-item__txt\">加熱などの調理や水が不要のため緊急時にも困りません。開封後すぐお召し上がりいただけます。</div>
</li>
<li class=\"content01__content-item\">
<div class=\"tr\">
<img src=\"{{ asset('assets/img/top/tr.svg', 'user_data') }}\" alt=\"\">
<div class=\"tr__txt\">保存料<br>不使用</div>
</div>
<div class=\"content01__content-item__txt\">保存料は一切使用しておりません。安心してお召し上がりになれます。</div>
</li>
<li class=\"content01__content-item\">
<div class=\"tr\">
<img src=\"{{ asset('assets/img/top/tr.svg', 'user_data') }}\" alt=\"\">
<div class=\"tr__txt\">5年<br>保存可能</div>
</div>
<div class=\"content01__content-item__txt\">直射日光・高温多湿の場所を避ければ、常温での保存も可能です。</div>
</li>
<li class=\"content01__content-item\">
<div class=\"tr\">
<img src=\"{{ asset('assets/img/top/tr.svg', 'user_data') }}\" alt=\"\">
<div class=\"tr__txt\">常温で<br>保存可能</div>
</div>
<div class=\"content01__content-item__txt\">加熱などの調理や水が不要のため緊急時にも困りません。開封後すぐお召し上がりいただけます。</div>
</li>
</ul>
<div class=\"slide-arrow__wrap\">
<div class=\"mv__arrow-l\"><img src=\"{{ asset('assets/img/allow-l.svg', 'user_data') }}\" alt=\"\"></div>
<div class=\"mv__arrow-r\"><img src=\"{{ asset('assets/img/allow-r.svg', 'user_data') }}\" alt=\"\"></div>
</div>
</div>
<div class=\"content01__content__wrap content01__content__wrap-pc\">
<ul class=\"content01__content\">
<li class=\"content01__content-item\">
<div class=\"tr\">
<img src=\"{{ asset('assets/img/top/tr.svg', 'user_data') }}\" alt=\"\">
<div class=\"tr__txt\">5年<br>保存可能</div>
</div>
<div class=\"content01__content-item__txt\">直射日光・高温多湿の場所を避ければ、常温での保存も可能です。</div>
</li>
<li class=\"content01__content-item\">
<div class=\"tr\">
<img src=\"{{ asset('assets/img/top/tr.svg', 'user_data') }}\" alt=\"\">
<div class=\"tr__txt\">常温で<br>保存可能</div>
</div>
<div class=\"content01__content-item__txt\">加熱などの調理や水が不要のため緊急時にも困りません。開封後すぐお召し上がりいただけます。</div>
</li>
<li class=\"content01__content-item\">
<div class=\"tr\">
<img src=\"{{ asset('assets/img/top/tr.svg', 'user_data') }}\" alt=\"\">
<div class=\"tr__txt\">水不要<br>調理不要で<br>食べられます</div>
</div>
<div class=\"content01__content-item__txt\">加熱などの調理や水が不要のため緊急時にも困りません。開封後すぐお召し上がりいただけます。</div>
</li>
<li class=\"content01__content-item\">
<div class=\"tr\">
<img src=\"{{ asset('assets/img/top/tr.svg', 'user_data') }}\" alt=\"\">
<div class=\"tr__txt\">保存料<br>不使用</div>
</div>
<div class=\"content01__content-item__txt\">保存料は一切使用しておりません。安心してお召し上がりになれます。</div>
</li>
</ul>
</div>
<div class=\"common__btn\"><a href=\"{{ url('product_about') }}\">商品について詳しく見る</a></div>
</section>
<section class=\"content02\">
<div class=\"content02__inner\">
{#
<div class=\"h__ttl\">{{ 'Category'|trans }}</div>
<h2 class=\"h__ttl02\">{{ '商品カテゴリー'|trans }}</h2>
<div class=\"content02__img__wrap\">
{% set Categories = repository('Eccube\\\\Entity\\\\Category').getList() %}
{% for Category in Categories %}
<div class=\"content02__img {% if loop.index > 1 %}content02__img02{% endif %}\">
<a href=\"{{ url('product_list') }}?category_id={{ Category.id }}\">
<img src=\"{{ asset('assets/img/top/content02__img01.png', 'user_data') }}\" alt=\"\">
<div class=\"content02__img__txt\">{{ Category.name }}</div>
</a>
</div>
{% endfor %}
</div>
#}
<h3 class=\"content02__ttl02\">特殊製法で<br class=\"br__sp\">保存料不使用なのに<br class=\"br__sp\">長期保存可能!</h3>
<div class=\"video__wrap\"><video src=\"{{ asset('assets/img/top/video01.mp4', 'user_data') }}\" muted playsinline controls></video></div>
<div class=\"content02__txt02\">動画はイメージです。<br>
開封後は賞味期限にかかわらず、<br class=\"br__sp\">お早めにお召し上がりください。</div>
<div class=\"common__btn\"><a href=\"{{ url('product_list') }}\">全ての商品を見る</a></div>
<div class=\"content02__under__box\">
<h3 class=\"content02__under__ttl\">大規模施設などの<br class=\"br__sp\">大型発注について</h3>
<p class=\"content02__under__txt\">弊社では、大型施設や行政などの大型発注も承っております。<br>
100箱以上の発注に関しては別途お問い合わせください。</p>
<div class=\"common__btn\"><a href=\"{{ url('contact') }}\">{{ 'お問い合わせ'|trans }}</a></div>
</div>
</div>
</section>
<section class=\"content03\">
<div class=\"content03__inner\">
{% set Products = repository('Eccube\\\\Entity\\\\Product').findBy({ Status: 1 }, { create_date: 'desc' }, 5) %}
<div class=\"h__ttl\">{{ 'New Item'|trans }}</div>
<h2 class=\"h__ttl02\">{{ '新商品'|trans }}</h2>
<div class=\"content03__slider__wrap\">
<ul class=\"content03__slider\" id=\"top__content03__slider\">
{% for Product in Products %}
<li class=\"content03__slider-item\">
<a href=\"{{ url('product_detail', {'id': Product.id}) }}\">
<img src=\"{{ asset(Product.main_list_image|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\" {% if loop.index > 5 %} loading=\"lazy\"{% endif %}>
<div class=\"content03__slider__name\">{{ Product.name }}</div>
<div class=\"content03__slider__price\">
{% if Product.hasProductClass -%}
{% if Product.getPrice02IncTaxMin == Product.getPrice02IncTaxMax %}
{{ Product.getPrice02IncTaxMin|price }}
{% else %}
{{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}
{% endif %}
{% else %}
{{ Product.getPrice02IncTaxMin|price }}
{% endif %}
(税込)
</div>
</a>
</li>
{% endfor %}
</ul>
</div>
<div class=\"common__btn\"><a href=\"{{ url('product_list') }}\">商品一覧を見る</a></div>
</div>
</section>
{% set NewsList = repository('Eccube\\\\Entity\\\\News').getList() %}
<section class=\"content04\">
<div class=\"h__ttl\">{{ 'News'|trans }}</div>
<h2 class=\"h__ttl02\">{{ '新着情報'|trans }}</h2>
<ul class=\"content04__list\">
{% for News in NewsList %}
<li>
<div class=\"content04__list__ttl__wrap\">
<time datetime=\"\" class=\"content04__list__time\">{{ News.publish_date|date_day }}</time>
<div class=\"content04__list__ttl\">{{ News.title }}</div>
</div>
<div class=\"content04__list__info\">
{{ News.description|raw|nl2br }}
{% if News.url %}
<br>
<a href=\"{{ News.url }}\" {% if News.link_method == '1' %}target=\"_blank\"{% endif %}>{{ '詳しくはこちら'|trans }}</a>
{% endif %}
</div>
</li>
{% endfor %}
</ul>
</section>
</div>
</div>
{% endblock %}", "index.twig", "/home/c0038597/public_html/vita-corporation.com/app/template/default/index.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 3, "for" => 132, "if" => 135);
static $filters = array("escape" => 6, "trans" => 121, "no_image_product" => 135, "price" => 140, "date_day" => 165, "nl2br" => 169, "raw" => 169);
static $functions = array("asset" => 6, "url" => 93, "repository" => 127);
try {
$this->sandbox->checkSecurity(
['set', 'for', 'if'],
['escape', 'trans', 'no_image_product', 'price', 'date_day', 'nl2br', 'raw'],
['asset', 'url', 'repository']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}