<?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_2720a8383c3d5a27a4c87d226087f339 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 4
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"));
$__eccube__gblobal = $this->env->getGlobals();
$__eccube__eventDispatcher = $__eccube__gblobal['event_dispatcher'];
$__eccube__source = $this->env->getLoader()->getSourceContext($this->getTemplateName())->getCode();
$__eccube__event = new \Eccube\Event\TemplateEvent($this->getTemplateName(), $__eccube__source, $context);
$__eccube__eventDispatcher->dispatch($__eccube__event, $this->getTemplateName());
$context = $__eccube__event->getParameters();
if ($__eccube__event->getSource() !== $__eccube__source) {
$__eccube__newTemplate = $this->env->createTemplate($__eccube__event->getSource());
$__eccube__newTemplate->display($__eccube__event->getParameters(), $blocks);
return;
}
$__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 6
$context["body_class"] = "front_page";
// line 4
$this->parent = $this->loadTemplate("default_frame.twig", "index.twig", 4);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 8
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 9
echo " <style>
.slick-slider { margin-bottom: 30px; }
.slick-dots { position: absolute; bottom: 24px; display: block; width: 100%; padding: 0; list-style: none; text-align: center; }
.slick-dots li { position: relative; display: inline-block; width: 20px; height: 20px; margin: 0 5px; padding: 0; cursor: pointer; }
.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; }
.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%; }
.slick-dots li.slick-active button:before { opacity: 1; background-color: #000; }
</style>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 19
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"));
// line 20
echo " <script>
\$(function() {
\$('.main_visual').slick({
dots: true,
arrows: false,
autoplay: true,
fade: true,
speed: 1000,
cssEase: 'ease-in-out',
autoplaySpeed: 5000
});
});
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 35
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 36
echo " ";
// line 37
echo " <div class=\"ec-sliderRole temptu-hero\">
<div class=\"main_visual is-pc\">
<div class=\"item slick-slide temptu-hero__slide\">
<a href=\"";
// line 40
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "?category_id=96\" class=\"temptu-hero__link\">
<img src=\"";
// line 41
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/ftrm_01.jpg", "user_data"), "html", null, true);
echo "\" alt=\"\">
</a>
</div>
<div class=\"item slick-slide temptu-hero__slide\">
<a href=\"";
// line 45
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "?category_id=19\" class=\"temptu-hero__link\">
<img src=\"";
// line 46
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/ftrm_02.jpg", "user_data"), "html", null, true);
echo "\" alt=\"\">
</a>
</div>
<div class=\"item slick-slide temptu-hero__slide\">
<a href=\"";
// line 50
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "?category_id=22\" class=\"temptu-hero__link\">
<img src=\"";
// line 51
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/ftrm_03.jpg", "user_data"), "html", null, true);
echo "\" alt=\"\">
</a>
</div>
<div class=\"item slick-slide temptu-hero__slide\">
<a href=\"";
// line 55
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "?category_id=24\" class=\"temptu-hero__link\">
<img src=\"";
// line 56
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/ftrm_04.jpg", "user_data"), "html", null, true);
echo "\" alt=\"\">
</a>
</div>
<div class=\"item slick-slide temptu-hero__slide\">
<a href=\"";
// line 60
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "?category_id=25\" class=\"temptu-hero__link\">
<img src=\"";
// line 61
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/ftrm_05.jpg", "user_data"), "html", null, true);
echo "\" alt=\"\">
</a>
</div>
</div>
<div class=\"main_visual is-sp\">
<div class=\"item slick-slide\"><a href=\"";
// line 66
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "?category_id=96\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/ftrm_01_sp.jpg", "user_data"), "html", null, true);
echo "\" alt=\"\"></a></div>
<div class=\"item slick-slide\"><a href=\"";
// line 67
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "?category_id=19\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/ftrm_02_sp.jpg", "user_data"), "html", null, true);
echo "\" alt=\"\"></a></div>
<div class=\"item slick-slide\"><a href=\"";
// line 68
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "?category_id=22\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/ftrm_03_sp.jpg", "user_data"), "html", null, true);
echo "\" alt=\"\"></a></div>
<div class=\"item slick-slide\"><a href=\"";
// line 69
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "?category_id=24\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/ftrm_04_sp.jpg", "user_data"), "html", null, true);
echo "\" alt=\"\"></a></div>
<div class=\"item slick-slide\"><a href=\"";
// line 70
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "?category_id=25\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/ftrm_05_sp.jpg", "user_data"), "html", null, true);
echo "\" alt=\"\"></a></div>
</div>
</div>
";
// line 75
echo " ";
$context["categoryIds"] = [0 => 7, 1 => 9];
// line 76
echo " ";
$context["CategoryProducts"] = twig_get_attribute($this->env, $this->source, $this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Product"), "getProductsByCategoryIds", [0 => (isset($context["categoryIds"]) || array_key_exists("categoryIds", $context) ? $context["categoryIds"] : (function () { throw new RuntimeError('Variable "categoryIds" does not exist.', 76, $this->source); })()), 1 => 8], "method", false, false, true, 76);
// line 77
echo " ";
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)) {
// line 78
echo " ";
$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", [0 => 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", false, false, true, 78)) : (null));
// line 79
echo " <div class=\"temptu-categoryProducts\">
<div class=\"temptu-categoryProducts__inner\">
<div class=\"temptu-categoryProducts__header\">
<h2 class=\"temptu-sec-en temptu-categoryProducts__title\">
BEST SELLERS
</h2>
</div>
<div class=\"temptu-categoryProducts__wrap\">
<button type=\"button\" class=\"temptu-categoryProducts__arrow temptu-categoryProducts__arrow--prev\" aria-label=\"";
// line 87
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("前へ"), "html", null, true);
echo "\"><i class=\"fas fa-chevron-left\"></i></button>
<button type=\"button\" class=\"temptu-categoryProducts__arrow temptu-categoryProducts__arrow--next\" aria-label=\"";
// line 88
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("次へ"), "html", null, true);
echo "\"><i class=\"fas fa-chevron-right\"></i></button>
<div class=\"temptu-categoryProducts__scroll\" id=\"temptu-categoryProducts-scroll\">
<ul class=\"temptu-categoryProducts__grid ec-shelfGrid\">
";
// line 91
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
// line 92
echo " <li class=\"ec-shelfGrid__item\">
<a href=\"";
// line 93
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, 93)]), "html", null, true);
echo "\">
<p class=\"ec-shelfGrid__item-image\">
<img src=\"";
// line 95
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, 95), 95, $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, 95), 95, $this->source), "html", null, true);
echo "\" loading=\"lazy\">
</p>
<ul class=\"ec-shelfRole__tags\">
";
// line 98
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["Product"], "ProductTag", [], "any", false, false, true, 98));
foreach ($context['_seq'] as $context["_key"] => $context["Tag"]) {
// line 99
echo " ";
if ($context["Tag"]) {
// line 100
echo " <li class=\"ec-shelfRole__tag\">";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Tag"], "Tag", [], "any", false, false, true, 100), 100, $this->source), "html", null, true);
echo "</li>
";
}
// line 102
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Tag'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 103
echo " </ul>
<p class=\"ec-shelfGrid__item-name\">";
// line 104
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "name", [], "any", false, false, true, 104), 104, $this->source), "html", null, true);
echo "</p>
";
// line 105
if (twig_get_attribute($this->env, $this->source, $context["Product"], "description_list", [], "any", false, false, true, 105)) {
// line 106
echo " <p>";
echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "description_list", [], "any", false, false, true, 106), 106, $this->source));
echo "</p>
";
}
// line 108
echo " <p class=\"price02-default\">
";
// line 109
if (twig_get_attribute($this->env, $this->source, $context["Product"], "hasProductClass", [], "any", false, false, true, 109)) {
// line 110
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02Min", [], "any", false, false, true, 110) == twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02Max", [], "any", false, false, true, 110))) {
// line 111
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, 111), 111, $this->source)), "html", null, true);
echo "
";
} else {
// line 113
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, 113), 113, $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, 113), 113, $this->source)), "html", null, true);
echo "
";
}
// line 115
echo " ";
} else {
// line 116
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, 116), 116, $this->source)), "html", null, true);
echo "
";
}
// line 118
echo " </p>
</a>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 122
echo " ";
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
// line 123
echo " <li class=\"ec-shelfGrid__item\">
<a href=\"";
// line 124
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, 124)]), "html", null, true);
echo "\">
<p class=\"ec-shelfGrid__item-image\">
<img src=\"";
// line 126
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, 126), 126, $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, 126), 126, $this->source), "html", null, true);
echo "\" loading=\"lazy\">
</p>
<ul class=\"ec-shelfRole__tags\">
";
// line 129
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["Product"], "ProductTag", [], "any", false, false, true, 129));
foreach ($context['_seq'] as $context["_key"] => $context["Tag"]) {
// line 130
echo " ";
if ($context["Tag"]) {
// line 131
echo " <li class=\"ec-shelfRole__tag\">";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Tag"], "Tag", [], "any", false, false, true, 131), 131, $this->source), "html", null, true);
echo "</li>
";
}
// line 133
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Tag'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 134
echo " </ul>
<p class=\"ec-shelfGrid__item-name\">";
// line 135
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 "</p>
";
// line 136
if (twig_get_attribute($this->env, $this->source, $context["Product"], "description_list", [], "any", false, false, true, 136)) {
// line 137
echo " <p>";
echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "description_list", [], "any", false, false, true, 137), 137, $this->source));
echo "</p>
";
}
// line 139
echo " <p class=\"price02-default\">
";
// line 140
if (twig_get_attribute($this->env, $this->source, $context["Product"], "hasProductClass", [], "any", false, false, true, 140)) {
// line 141
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02Min", [], "any", false, false, true, 141) == twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02Max", [], "any", false, false, true, 141))) {
// 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 "
";
} else {
// line 144
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, 144), 144, $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, 144), 144, $this->source)), "html", null, true);
echo "
";
}
// line 146
echo " ";
} else {
// line 147
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, 147), 147, $this->source)), "html", null, true);
echo "
";
}
// line 149
echo " </p>
</a>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 153
echo " </ul>
</div>
</div>
</div>
</div>
";
}
// line 159
echo "
";
// line 162
echo " ";
$context["NewsList"] = twig_get_attribute($this->env, $this->source, $this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\News"), "getList", [], "method", false, false, true, 162);
// line 163
echo " <div class=\"temptu-information\">
<div class=\"temptu-information__inner\">
<h2 class=\"temptu-sec-en\">INFORMATION</h2>
";
// line 166
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)) {
// line 167
echo " <div class=\"ec-role temptu-news\">
<div class=\"temptu-news__inner\">
<ul class=\"temptu-news__list\">
";
// line 170
$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.', 170, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["News"]) {
// line 171
echo " <li class=\"temptu-news__item\">
<span class=\"temptu-news__date\">";
// line 172
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["News"], "publish_date", [], "any", false, false, true, 172), 172, $this->source), "Y/m/d"), "html", null, true);
echo "</span>
";
// line 173
if (twig_get_attribute($this->env, $this->source, $context["News"], "url", [], "any", false, false, true, 173)) {
// line 174
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["News"], "url", [], "any", false, false, true, 174), 174, $this->source), "html", null, true);
echo "\" class=\"temptu-news__title\" ";
if ((twig_get_attribute($this->env, $this->source, $context["News"], "link_method", [], "any", false, false, true, 174) == 1)) {
echo "target=\"_blank\"";
}
echo ">";
echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["News"], "title", [], "any", false, false, true, 174), 174, $this->source);
echo "</a>
";
} else {
// line 176
echo " <span class=\"temptu-news__title\">";
echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["News"], "title", [], "any", false, false, true, 176), 176, $this->source);
echo "</span>
";
}
// line 178
echo " </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 180
echo " </ul>
</div>
</div>
<a href=\"";
// line 184
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "\" class=\"temptu-btn-viewmore\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("VIEW MORE"), "html", null, true);
echo "</a>
";
}
// line 186
echo " </div>
</div>
";
// line 190
echo " ";
$context["categoryIds2"] = [0 => 20];
// line 191
echo " ";
$context["CategoryProducts2"] = twig_get_attribute($this->env, $this->source, $this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Product"), "getProductsByCategoryIds", [0 => (isset($context["categoryIds2"]) || array_key_exists("categoryIds2", $context) ? $context["categoryIds2"] : (function () { throw new RuntimeError('Variable "categoryIds2" does not exist.', 191, $this->source); })()), 1 => 8], "method", false, false, true, 191);
// line 192
echo " <div class=\"temptu-categoryProducts\">
<div class=\"temptu-categoryProducts__inner\">
<div class=\"temptu-categoryProducts__header\">
<h2 class=\"temptu-sec-en temptu-categoryProducts__title\">NEW ITEMS</h2>
<a href=\"";
// line 196
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "?category_id=20\" class=\"temptu-categoryProducts__viewmore\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("VIEW MORE"), "html", null, true);
echo "</a>
</div>
<div class=\"temptu-categoryProducts__wrap\">
<button type=\"button\" class=\"temptu-categoryProducts__arrow temptu-categoryProducts__arrow--prev\" aria-label=\"";
// line 199
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("前へ"), "html", null, true);
echo "\"><i class=\"fas fa-chevron-left\"></i></button>
<button type=\"button\" class=\"temptu-categoryProducts__arrow temptu-categoryProducts__arrow--next\" aria-label=\"";
// line 200
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("次へ"), "html", null, true);
echo "\"><i class=\"fas fa-chevron-right\"></i></button>
<div class=\"temptu-categoryProducts__scroll\" id=\"temptu-categoryProducts2-scroll\">
<ul class=\"temptu-categoryProducts__grid ec-shelfGrid\">
";
// line 203
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)) {
// line 204
echo " ";
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
// line 205
echo " <li class=\"ec-shelfGrid__item\">
<a href=\"";
// line 206
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, 206)]), "html", null, true);
echo "\">
<p class=\"ec-shelfGrid__item-image\">
<img src=\"";
// line 208
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, 208), 208, $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, 208), 208, $this->source), "html", null, true);
echo "\" loading=\"lazy\">
</p>
<ul class=\"ec-shelfRole__tags\">
";
// line 211
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["Product"], "ProductTag", [], "any", false, false, true, 211));
foreach ($context['_seq'] as $context["_key"] => $context["Tag"]) {
// line 212
echo " ";
if ($context["Tag"]) {
// line 213
echo " <li class=\"ec-shelfRole__tag\">";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Tag"], "Tag", [], "any", false, false, true, 213), 213, $this->source), "html", null, true);
echo "</li>
";
}
// line 215
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Tag'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 216
echo " </ul>
<p class=\"ec-shelfGrid__item-name\">";
// line 217
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "name", [], "any", false, false, true, 217), 217, $this->source), "html", null, true);
echo "</p>
";
// line 218
if (twig_get_attribute($this->env, $this->source, $context["Product"], "description_list", [], "any", false, false, true, 218)) {
// line 219
echo " <p>";
echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "description_list", [], "any", false, false, true, 219), 219, $this->source));
echo "</p>
";
}
// line 221
echo " <p class=\"price02-default\">
";
// line 222
if (twig_get_attribute($this->env, $this->source, $context["Product"], "hasProductClass", [], "any", false, false, true, 222)) {
// line 223
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02Min", [], "any", false, false, true, 223) == twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02Max", [], "any", false, false, true, 223))) {
// line 224
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, 224), 224, $this->source)), "html", null, true);
echo "
";
} else {
// line 226
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, 226), 226, $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, 226), 226, $this->source)), "html", null, true);
echo "
";
}
// line 228
echo " ";
} else {
// line 229
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, 229), 229, $this->source)), "html", null, true);
echo "
";
}
// line 231
echo " </p>
</a>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 235
echo " ";
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
// line 236
echo " <li class=\"ec-shelfGrid__item\">
<a href=\"";
// line 237
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, 237)]), "html", null, true);
echo "\">
<p class=\"ec-shelfGrid__item-image\">
<img src=\"";
// line 239
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, 239), 239, $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, 239), 239, $this->source), "html", null, true);
echo "\" loading=\"lazy\">
</p>
<ul class=\"ec-shelfRole__tags\">
";
// line 242
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["Product"], "ProductTag", [], "any", false, false, true, 242));
foreach ($context['_seq'] as $context["_key"] => $context["Tag"]) {
// line 243
echo " ";
if ($context["Tag"]) {
// line 244
echo " <li class=\"ec-shelfRole__tag\">";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Tag"], "Tag", [], "any", false, false, true, 244), 244, $this->source), "html", null, true);
echo "</li>
";
}
// line 246
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Tag'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 247
echo " </ul>
<p class=\"ec-shelfGrid__item-name\">";
// line 248
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "name", [], "any", false, false, true, 248), 248, $this->source), "html", null, true);
echo "</p>
";
// line 249
if (twig_get_attribute($this->env, $this->source, $context["Product"], "description_list", [], "any", false, false, true, 249)) {
// line 250
echo " <p>";
echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "description_list", [], "any", false, false, true, 250), 250, $this->source));
echo "</p>
";
}
// line 252
echo " <p class=\"price02-default\">
";
// line 253
if (twig_get_attribute($this->env, $this->source, $context["Product"], "hasProductClass", [], "any", false, false, true, 253)) {
// line 254
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02Min", [], "any", false, false, true, 254) == twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02Max", [], "any", false, false, true, 254))) {
// line 255
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, 255), 255, $this->source)), "html", null, true);
echo "
";
} else {
// line 257
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, 257), 257, $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, 257), 257, $this->source)), "html", null, true);
echo "
";
}
// line 259
echo " ";
} else {
// line 260
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, 260), 260, $this->source)), "html", null, true);
echo "
";
}
// line 262
echo " </p>
</a>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 266
echo " ";
} else {
// line 267
echo " <li class=\"ec-shelfGrid__item\" style=\"grid-column: 1 / -1;\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("商品がありません"), "html", null, true);
echo "</li>
";
}
// line 269
echo " </ul>
</div>
</div>
</div>
</div>
";
// line 278
echo " <section class=\"temptu-concept\">
<div class=\"temptu-concept__inner\">
<p class=\"temptu-concept__label temptu-sec-en\">CONCEPT</p>
<div class=\"temptu-concept__images\">
<div class=\"temptu-concept__image\">
<img src=\"/html/user_data/assets/img/new_item/pic01.jpg\" alt=\"\" role=\"presentation\">
</div>
<div class=\"temptu-concept__image\">
<img src=\"/html/user_data/assets/img/new_item/pic02.jpg\" alt=\"\" role=\"presentation\">
</div>
</div>
<div class=\"temptu-concept__text\">
<h2 class=\"temptu-concept__en\">";
// line 290
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("タイトルが入ります"), "html", null, true);
echo "</h2>
<p class=\"temptu-concept__ja\">";
// line 291
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ここにコンセプトの説明文が入ります。ブランドの世界観や想いを伝えるテキストを記載してください。"), "html", null, true);
echo "</p>
<a class=\"temptu-btn-viewmore\" href=\"";
// line 292
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("VIEW MORE"), "html", null, true);
echo "</a>
</div>
</div>
</section>
";
// line 298
echo " <section class=\"temptu-fullBanner\" style=\"background-image: url('";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/banner_bg.jpg", "user_data"), "html", null, true);
echo "');\">
<div class=\"temptu-fullBanner__overlay\"></div>
<div class=\"temptu-fullBanner__content\">
<h2 class=\"temptu-fullBanner__title\">";
// line 301
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ESSENTIAL COMFORT"), "html", null, true);
echo "<br>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("WITH MODERN STYLE"), "html", null, true);
echo "</h2>
<p class=\"temptu-fullBanner__text\">";
// line 302
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("快適さを追求したシンプルなデザイン。"), "html", null, true);
echo "<br>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("プロ仕様の洗練されたアイテム。"), "html", null, true);
echo "</p>
<a href=\"https://shop.temptu.co.jp/contact\" class=\"temptu-fullBanner__btn\">お問い合わせ</a>
</div>
</section>
";
// line 308
echo " <div class=\"temptu-promoRow\">
<div class=\"temptu-promoRow__inner\">
<a href=\"https://shop.temptu.co.jp/products/detail/235\" class=\"temptu-promoRow__item\">
<span class=\"temptu-promoRow__icon\" aria-hidden=\"true\"><i class=\"far fa-id-card\"></i></span>
<h3 class=\"temptu-promoRow__en\">MEMBERSHIP</h3>
<p class=\"temptu-promoRow__ja\">有料会員特別割引</p>
<p class=\"temptu-promoRow__desc\">特別なメンバーシップ特典</p>
</a>
<a href=\"https://shop.temptu.co.jp/products/detail/235\" class=\"temptu-promoRow__item\">
<span class=\"temptu-promoRow__icon\" aria-hidden=\"true\"><i class=\"fas fa-truck\"></i></span>
<h3 class=\"temptu-promoRow__en\">FREE SHIPPING</h3>
<p class=\"temptu-promoRow__ja\">25,000円以上配送料無料</p>
<p class=\"temptu-promoRow__desc\">※有料会員のみ</p>
</a>
<a href=\"";
// line 322
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list", ["category_id" => 24]);
echo "\" class=\"temptu-promoRow__item\">
<span class=\"temptu-promoRow__icon\" aria-hidden=\"true\"><i class=\"fas fa-tag\"></i></span>
<h3 class=\"temptu-promoRow__en\">OUTLET SALE</h3>
<p class=\"temptu-promoRow__ja\">最大60%OFF!</p>
<p class=\"temptu-promoRow__desc\">掘り出し物のアウトレット品</p>
</a>
<a href=\"";
// line 328
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "\" class=\"temptu-promoRow__item\">
<span class=\"temptu-promoRow__icon\" aria-hidden=\"true\"><i class=\"fas fa-paint-brush\"></i></span>
<h3 class=\"temptu-promoRow__en\">PROFESSIONAL</h3>
<p class=\"temptu-promoRow__ja\">特殊メイク専門グッズ</p>
<p class=\"temptu-promoRow__desc\">プロ愛用の厳選アイテム</p>
</a>
<a href=\"";
// line 334
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list", ["category_id" => 96]);
echo "\" class=\"temptu-promoRow__item\">
<span class=\"temptu-promoRow__icon\" aria-hidden=\"true\"><i class=\"far fa-gem\"></i></span>
<h3 class=\"temptu-promoRow__en\">EXCLUSIVE</h3>
<p class=\"temptu-promoRow__ja\">TEMPTUオリジナル</p>
<p class=\"temptu-promoRow__desc\">ここでしか手に入らない専用の逸品</p>
</a>
</div>
</div>
";
// line 344
echo " <section class=\"temptu-pickup\">
<div class=\"temptu-pickup__inner\">
<h2 class=\"temptu-pickup__title temptu-sec-en\">PICKUP</h2>
<div class=\"temptu-pickup__body\">
<div class=\"temptu-pickup__mainWrap\">
<div class=\"temptu-pickup__mainImage\">
<img src=\"/html/user_data/assets/img/top/tatoo1.jpg\" alt=\"\" loading=\"lazy\">
</div>
</div>
<div class=\"temptu-pickup__right\">
<div class=\"temptu-pickup__subWrap\">
<div class=\"temptu-pickup__subImage\">
<img src=\"/html/user_data/assets/img/top/tatoo2.jpg\" alt=\"\" loading=\"lazy\">
</div>
</div>
<div class=\"temptu-pickup__text\">
<h3 class=\"temptu-pickup__heading\">LUMI EARRINGS</h3>
<p class=\"temptu-pickup__desc\">";
// line 361
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("輝きと彩りを耳元に。"), "html", null, true);
echo "</p>
<p class=\"temptu-pickup__desc\">";
// line 362
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("シンプルで洗練されたデザイン。"), "html", null, true);
echo "</p>
<a href=\"";
// line 363
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "\" class=\"temptu-pickup__viewmore\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("VIEW MORE"), "html", null, true);
echo "</a>
</div>
</div>
</div>
<nav class=\"temptu-pickup__nav\" aria-label=\"";
// line 367
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ピックアップ"), "html", null, true);
echo "\">
<button type=\"button\" class=\"temptu-pickup__dot is-current\" aria-current=\"true\" aria-label=\"";
// line 368
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("1枚目"), "html", null, true);
echo "\"></button>
<button type=\"button\" class=\"temptu-pickup__dot\" aria-label=\"";
// line 369
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("2枚目"), "html", null, true);
echo "\"></button>
<button type=\"button\" class=\"temptu-pickup__dot\" aria-label=\"";
// line 370
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("3枚目"), "html", null, true);
echo "\"></button>
<button type=\"button\" class=\"temptu-pickup__arrow\" aria-label=\"";
// line 371
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("次へ"), "html", null, true);
echo "\"><i class=\"fas fa-chevron-right\"></i></button>
</nav>
</div>
</section>
</div>
<script>
(function() {
function initCarousel(el) {
if (!el) return;
var wrap = el.closest('.temptu-categoryProducts__wrap');
var prev = wrap && wrap.querySelector('.temptu-categoryProducts__arrow--prev');
var next = wrap && wrap.querySelector('.temptu-categoryProducts__arrow--next');
function getSingleSetWidth() { return el.scrollWidth / 2; }
function clampInfinite() {
var single = getSingleSetWidth();
if (el.scrollLeft >= el.scrollWidth - el.clientWidth - 20) el.scrollLeft = el.scrollLeft - single;
}
el.addEventListener('scroll', function() {
window.clearTimeout(el._scrollTimer);
el._scrollTimer = window.setTimeout(clampInfinite, 80);
});
if (prev) prev.addEventListener('click', function() {
var single = getSingleSetWidth();
if (el.scrollLeft <= 10) el.scrollLeft = single;
el.scrollBy({ left: -el.clientWidth, behavior: 'smooth' });
});
if (next) next.addEventListener('click', function() {
el.scrollBy({ left: el.clientWidth, behavior: 'smooth' });
});
}
document.querySelectorAll('.temptu-categoryProducts__scroll').forEach(initCarousel);
})();
</script>
";
$__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 ( 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,);
}
public function getSourceContext()
{
return new Source("{#
temptu-style top page: hero with overlay, promo row, information, then MainTop/MainBottom blocks.
#}
{% extends 'default_frame.twig' %}
{% set body_class = 'front_page' %}
{% block stylesheet %}
<style>
.slick-slider { margin-bottom: 30px; }
.slick-dots { position: absolute; bottom: 24px; display: block; width: 100%; padding: 0; list-style: none; text-align: center; }
.slick-dots li { position: relative; display: inline-block; width: 20px; height: 20px; margin: 0 5px; padding: 0; cursor: pointer; }
.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; }
.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%; }
.slick-dots li.slick-active button:before { opacity: 1; background-color: #000; }
</style>
{% endblock %}
{% block javascript %}
<script>
\$(function() {
\$('.main_visual').slick({
dots: true,
arrows: false,
autoplay: true,
fade: true,
speed: 1000,
cssEase: 'ease-in-out',
autoplaySpeed: 5000
});
});
</script>
{% endblock javascript %}
{% block main %}
{# Hero with overlay text + VIEW MORE #}
<div class=\"ec-sliderRole temptu-hero\">
<div class=\"main_visual is-pc\">
<div class=\"item slick-slide temptu-hero__slide\">
<a href=\"{{ url('product_list') }}?category_id=96\" class=\"temptu-hero__link\">
<img src=\"{{ asset('assets/img/top/ftrm_01.jpg','user_data') }}\" alt=\"\">
</a>
</div>
<div class=\"item slick-slide temptu-hero__slide\">
<a href=\"{{ url('product_list') }}?category_id=19\" class=\"temptu-hero__link\">
<img src=\"{{ asset('assets/img/top/ftrm_02.jpg','user_data') }}\" alt=\"\">
</a>
</div>
<div class=\"item slick-slide temptu-hero__slide\">
<a href=\"{{ url('product_list') }}?category_id=22\" class=\"temptu-hero__link\">
<img src=\"{{ asset('assets/img/top/ftrm_03.jpg','user_data') }}\" alt=\"\">
</a>
</div>
<div class=\"item slick-slide temptu-hero__slide\">
<a href=\"{{ url('product_list') }}?category_id=24\" class=\"temptu-hero__link\">
<img src=\"{{ asset('assets/img/top/ftrm_04.jpg','user_data') }}\" alt=\"\">
</a>
</div>
<div class=\"item slick-slide temptu-hero__slide\">
<a href=\"{{ url('product_list') }}?category_id=25\" class=\"temptu-hero__link\">
<img src=\"{{ asset('assets/img/top/ftrm_05.jpg','user_data') }}\" alt=\"\">
</a>
</div>
</div>
<div class=\"main_visual is-sp\">
<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>
<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>
<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>
<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>
<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>
</div>
</div>
{# 複数カテゴリの商品一覧ブロック(いずれかのカテゴリに属する商品を表示) #}
{% set categoryIds = [7,9] %}
{% set CategoryProducts = repository('Eccube\\\\Entity\\\\Product').getProductsByCategoryIds(categoryIds, 8) %}
{% if CategoryProducts|length > 0 %}
{% set firstCategory = categoryIds|length > 0 ? repository('Eccube\\\\Entity\\\\Category').find(categoryIds|first) : null %}
<div class=\"temptu-categoryProducts\">
<div class=\"temptu-categoryProducts__inner\">
<div class=\"temptu-categoryProducts__header\">
<h2 class=\"temptu-sec-en temptu-categoryProducts__title\">
BEST SELLERS
</h2>
</div>
<div class=\"temptu-categoryProducts__wrap\">
<button type=\"button\" class=\"temptu-categoryProducts__arrow temptu-categoryProducts__arrow--prev\" aria-label=\"{{ '前へ'|trans }}\"><i class=\"fas fa-chevron-left\"></i></button>
<button type=\"button\" class=\"temptu-categoryProducts__arrow temptu-categoryProducts__arrow--next\" aria-label=\"{{ '次へ'|trans }}\"><i class=\"fas fa-chevron-right\"></i></button>
<div class=\"temptu-categoryProducts__scroll\" id=\"temptu-categoryProducts-scroll\">
<ul class=\"temptu-categoryProducts__grid ec-shelfGrid\">
{% for Product in CategoryProducts %}
<li class=\"ec-shelfGrid__item\">
<a href=\"{{ url('product_detail', {'id': Product.id}) }}\">
<p class=\"ec-shelfGrid__item-image\">
<img src=\"{{ asset(Product.main_list_image|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\" loading=\"lazy\">
</p>
<ul class=\"ec-shelfRole__tags\">
{% for Tag in Product.ProductTag %}
{% if Tag %}
<li class=\"ec-shelfRole__tag\">{{ Tag.Tag }}</li>
{% endif %}
{% endfor %}
</ul>
<p class=\"ec-shelfGrid__item-name\">{{ Product.name }}</p>
{% if Product.description_list %}
<p>{{ Product.description_list|raw|nl2br }}</p>
{% endif %}
<p class=\"price02-default\">
{% if Product.hasProductClass %}
{% if Product.getPrice02Min == Product.getPrice02Max %}
{{ Product.getPrice02IncTaxMin|price }}
{% else %}
{{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}
{% endif %}
{% else %}
{{ Product.getPrice02IncTaxMin|price }}
{% endif %}
</p>
</a>
</li>
{% endfor %}
{% for Product in CategoryProducts %}
<li class=\"ec-shelfGrid__item\">
<a href=\"{{ url('product_detail', {'id': Product.id}) }}\">
<p class=\"ec-shelfGrid__item-image\">
<img src=\"{{ asset(Product.main_list_image|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\" loading=\"lazy\">
</p>
<ul class=\"ec-shelfRole__tags\">
{% for Tag in Product.ProductTag %}
{% if Tag %}
<li class=\"ec-shelfRole__tag\">{{ Tag.Tag }}</li>
{% endif %}
{% endfor %}
</ul>
<p class=\"ec-shelfGrid__item-name\">{{ Product.name }}</p>
{% if Product.description_list %}
<p>{{ Product.description_list|raw|nl2br }}</p>
{% endif %}
<p class=\"price02-default\">
{% if Product.hasProductClass %}
{% if Product.getPrice02Min == Product.getPrice02Max %}
{{ Product.getPrice02IncTaxMin|price }}
{% else %}
{{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}
{% endif %}
{% else %}
{{ Product.getPrice02IncTaxMin|price }}
{% endif %}
</p>
</a>
</li>
{% endfor %}
</ul>
</div>
</div>
</div>
</div>
{% endif %}
{# INFORMATION - first news + VIEW MORE #}
{% set NewsList = repository('Eccube\\\\Entity\\\\News').getList() %}
<div class=\"temptu-information\">
<div class=\"temptu-information__inner\">
<h2 class=\"temptu-sec-en\">INFORMATION</h2>
{% if NewsList|length > 0 %}
<div class=\"ec-role temptu-news\">
<div class=\"temptu-news__inner\">
<ul class=\"temptu-news__list\">
{% for News in NewsList %}
<li class=\"temptu-news__item\">
<span class=\"temptu-news__date\">{{ News.publish_date|date('Y/m/d') }}</span>
{% if News.url %}
<a href=\"{{ News.url }}\" class=\"temptu-news__title\" {% if News.link_method == 1 %}target=\"_blank\"{% endif %}>{{ News.title|raw }}</a>
{% else %}
<span class=\"temptu-news__title\">{{ News.title|raw }}</span>
{% endif %}
</li>
{% endfor %}
</ul>
</div>
</div>
<a href=\"{{ url('homepage') }}\" class=\"temptu-btn-viewmore\">{{ 'VIEW MORE'|trans }}</a>
{% endif %}
</div>
</div>
{# カテゴリID=20 NEW ITEMS(全幅バナーの下) #}
{% set categoryIds2 = [20] %}
{% set CategoryProducts2 = repository('Eccube\\\\Entity\\\\Product').getProductsByCategoryIds(categoryIds2, 8) %}
<div class=\"temptu-categoryProducts\">
<div class=\"temptu-categoryProducts__inner\">
<div class=\"temptu-categoryProducts__header\">
<h2 class=\"temptu-sec-en temptu-categoryProducts__title\">NEW ITEMS</h2>
<a href=\"{{ url('product_list') }}?category_id=20\" class=\"temptu-categoryProducts__viewmore\">{{ 'VIEW MORE'|trans }}</a>
</div>
<div class=\"temptu-categoryProducts__wrap\">
<button type=\"button\" class=\"temptu-categoryProducts__arrow temptu-categoryProducts__arrow--prev\" aria-label=\"{{ '前へ'|trans }}\"><i class=\"fas fa-chevron-left\"></i></button>
<button type=\"button\" class=\"temptu-categoryProducts__arrow temptu-categoryProducts__arrow--next\" aria-label=\"{{ '次へ'|trans }}\"><i class=\"fas fa-chevron-right\"></i></button>
<div class=\"temptu-categoryProducts__scroll\" id=\"temptu-categoryProducts2-scroll\">
<ul class=\"temptu-categoryProducts__grid ec-shelfGrid\">
{% if CategoryProducts2|length > 0 %}
{% for Product in CategoryProducts2 %}
<li class=\"ec-shelfGrid__item\">
<a href=\"{{ url('product_detail', {'id': Product.id}) }}\">
<p class=\"ec-shelfGrid__item-image\">
<img src=\"{{ asset(Product.main_list_image|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\" loading=\"lazy\">
</p>
<ul class=\"ec-shelfRole__tags\">
{% for Tag in Product.ProductTag %}
{% if Tag %}
<li class=\"ec-shelfRole__tag\">{{ Tag.Tag }}</li>
{% endif %}
{% endfor %}
</ul>
<p class=\"ec-shelfGrid__item-name\">{{ Product.name }}</p>
{% if Product.description_list %}
<p>{{ Product.description_list|raw|nl2br }}</p>
{% endif %}
<p class=\"price02-default\">
{% if Product.hasProductClass %}
{% if Product.getPrice02Min == Product.getPrice02Max %}
{{ Product.getPrice02IncTaxMin|price }}
{% else %}
{{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}
{% endif %}
{% else %}
{{ Product.getPrice02IncTaxMin|price }}
{% endif %}
</p>
</a>
</li>
{% endfor %}
{% for Product in CategoryProducts2 %}
<li class=\"ec-shelfGrid__item\">
<a href=\"{{ url('product_detail', {'id': Product.id}) }}\">
<p class=\"ec-shelfGrid__item-image\">
<img src=\"{{ asset(Product.main_list_image|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\" loading=\"lazy\">
</p>
<ul class=\"ec-shelfRole__tags\">
{% for Tag in Product.ProductTag %}
{% if Tag %}
<li class=\"ec-shelfRole__tag\">{{ Tag.Tag }}</li>
{% endif %}
{% endfor %}
</ul>
<p class=\"ec-shelfGrid__item-name\">{{ Product.name }}</p>
{% if Product.description_list %}
<p>{{ Product.description_list|raw|nl2br }}</p>
{% endif %}
<p class=\"price02-default\">
{% if Product.hasProductClass %}
{% if Product.getPrice02Min == Product.getPrice02Max %}
{{ Product.getPrice02IncTaxMin|price }}
{% else %}
{{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}
{% endif %}
{% else %}
{{ Product.getPrice02IncTaxMin|price }}
{% endif %}
</p>
</a>
</li>
{% endfor %}
{% else %}
<li class=\"ec-shelfGrid__item\" style=\"grid-column: 1 / -1;\">{{ '商品がありません'|trans }}</li>
{% endif %}
</ul>
</div>
</div>
</div>
</div>
{# CONCEPT エリア(PC: 左=タイトル・文章・VIEW MORE / 右=写真 | SP: CONCEPT→画像→タイトル) #}
<section class=\"temptu-concept\">
<div class=\"temptu-concept__inner\">
<p class=\"temptu-concept__label temptu-sec-en\">CONCEPT</p>
<div class=\"temptu-concept__images\">
<div class=\"temptu-concept__image\">
<img src=\"/html/user_data/assets/img/new_item/pic01.jpg\" alt=\"\" role=\"presentation\">
</div>
<div class=\"temptu-concept__image\">
<img src=\"/html/user_data/assets/img/new_item/pic02.jpg\" alt=\"\" role=\"presentation\">
</div>
</div>
<div class=\"temptu-concept__text\">
<h2 class=\"temptu-concept__en\">{{ 'タイトルが入ります'|trans }}</h2>
<p class=\"temptu-concept__ja\">{{ 'ここにコンセプトの説明文が入ります。ブランドの世界観や想いを伝えるテキストを記載してください。'|trans }}</p>
<a class=\"temptu-btn-viewmore\" href=\"{{ url('product_list') }}\">{{ 'VIEW MORE'|trans }}</a>
</div>
</div>
</section>
{# 全幅バナー(背景画像+中央テキスト・VIEW MORE) #}
<section class=\"temptu-fullBanner\" style=\"background-image: url('{{ asset('assets/img/top/banner_bg.jpg', 'user_data') }}');\">
<div class=\"temptu-fullBanner__overlay\"></div>
<div class=\"temptu-fullBanner__content\">
<h2 class=\"temptu-fullBanner__title\">{{ 'ESSENTIAL COMFORT'|trans }}<br>{{ 'WITH MODERN STYLE'|trans }}</h2>
<p class=\"temptu-fullBanner__text\">{{ '快適さを追求したシンプルなデザイン。'|trans }}<br>{{ 'プロ仕様の洗練されたアイテム。'|trans }}</p>
<a href=\"https://shop.temptu.co.jp/contact\" class=\"temptu-fullBanner__btn\">お問い合わせ</a>
</div>
</section>
{# Promo block 5 - temptu style(各項目はリンク可能) #}
<div class=\"temptu-promoRow\">
<div class=\"temptu-promoRow__inner\">
<a href=\"https://shop.temptu.co.jp/products/detail/235\" class=\"temptu-promoRow__item\">
<span class=\"temptu-promoRow__icon\" aria-hidden=\"true\"><i class=\"far fa-id-card\"></i></span>
<h3 class=\"temptu-promoRow__en\">MEMBERSHIP</h3>
<p class=\"temptu-promoRow__ja\">有料会員特別割引</p>
<p class=\"temptu-promoRow__desc\">特別なメンバーシップ特典</p>
</a>
<a href=\"https://shop.temptu.co.jp/products/detail/235\" class=\"temptu-promoRow__item\">
<span class=\"temptu-promoRow__icon\" aria-hidden=\"true\"><i class=\"fas fa-truck\"></i></span>
<h3 class=\"temptu-promoRow__en\">FREE SHIPPING</h3>
<p class=\"temptu-promoRow__ja\">25,000円以上配送料無料</p>
<p class=\"temptu-promoRow__desc\">※有料会員のみ</p>
</a>
<a href=\"{{ url('product_list', { 'category_id': 24 }) }}\" class=\"temptu-promoRow__item\">
<span class=\"temptu-promoRow__icon\" aria-hidden=\"true\"><i class=\"fas fa-tag\"></i></span>
<h3 class=\"temptu-promoRow__en\">OUTLET SALE</h3>
<p class=\"temptu-promoRow__ja\">最大60%OFF!</p>
<p class=\"temptu-promoRow__desc\">掘り出し物のアウトレット品</p>
</a>
<a href=\"{{ url('product_list') }}\" class=\"temptu-promoRow__item\">
<span class=\"temptu-promoRow__icon\" aria-hidden=\"true\"><i class=\"fas fa-paint-brush\"></i></span>
<h3 class=\"temptu-promoRow__en\">PROFESSIONAL</h3>
<p class=\"temptu-promoRow__ja\">特殊メイク専門グッズ</p>
<p class=\"temptu-promoRow__desc\">プロ愛用の厳選アイテム</p>
</a>
<a href=\"{{ url('product_list', { 'category_id': 96 }) }}\" class=\"temptu-promoRow__item\">
<span class=\"temptu-promoRow__icon\" aria-hidden=\"true\"><i class=\"far fa-gem\"></i></span>
<h3 class=\"temptu-promoRow__en\">EXCLUSIVE</h3>
<p class=\"temptu-promoRow__ja\">TEMPTUオリジナル</p>
<p class=\"temptu-promoRow__desc\">ここでしか手に入らない専用の逸品</p>
</a>
</div>
</div>
{# PICK UP エリア(左: 大画像 / 右: 小画像・タイトル・文章・VIEW MORE) #}
<section class=\"temptu-pickup\">
<div class=\"temptu-pickup__inner\">
<h2 class=\"temptu-pickup__title temptu-sec-en\">PICKUP</h2>
<div class=\"temptu-pickup__body\">
<div class=\"temptu-pickup__mainWrap\">
<div class=\"temptu-pickup__mainImage\">
<img src=\"/html/user_data/assets/img/top/tatoo1.jpg\" alt=\"\" loading=\"lazy\">
</div>
</div>
<div class=\"temptu-pickup__right\">
<div class=\"temptu-pickup__subWrap\">
<div class=\"temptu-pickup__subImage\">
<img src=\"/html/user_data/assets/img/top/tatoo2.jpg\" alt=\"\" loading=\"lazy\">
</div>
</div>
<div class=\"temptu-pickup__text\">
<h3 class=\"temptu-pickup__heading\">LUMI EARRINGS</h3>
<p class=\"temptu-pickup__desc\">{{ '輝きと彩りを耳元に。'|trans }}</p>
<p class=\"temptu-pickup__desc\">{{ 'シンプルで洗練されたデザイン。'|trans }}</p>
<a href=\"{{ url('product_list') }}\" class=\"temptu-pickup__viewmore\">{{ 'VIEW MORE'|trans }}</a>
</div>
</div>
</div>
<nav class=\"temptu-pickup__nav\" aria-label=\"{{ 'ピックアップ'|trans }}\">
<button type=\"button\" class=\"temptu-pickup__dot is-current\" aria-current=\"true\" aria-label=\"{{ '1枚目'|trans }}\"></button>
<button type=\"button\" class=\"temptu-pickup__dot\" aria-label=\"{{ '2枚目'|trans }}\"></button>
<button type=\"button\" class=\"temptu-pickup__dot\" aria-label=\"{{ '3枚目'|trans }}\"></button>
<button type=\"button\" class=\"temptu-pickup__arrow\" aria-label=\"{{ '次へ'|trans }}\"><i class=\"fas fa-chevron-right\"></i></button>
</nav>
</div>
</section>
</div>
<script>
(function() {
function initCarousel(el) {
if (!el) return;
var wrap = el.closest('.temptu-categoryProducts__wrap');
var prev = wrap && wrap.querySelector('.temptu-categoryProducts__arrow--prev');
var next = wrap && wrap.querySelector('.temptu-categoryProducts__arrow--next');
function getSingleSetWidth() { return el.scrollWidth / 2; }
function clampInfinite() {
var single = getSingleSetWidth();
if (el.scrollLeft >= el.scrollWidth - el.clientWidth - 20) el.scrollLeft = el.scrollLeft - single;
}
el.addEventListener('scroll', function() {
window.clearTimeout(el._scrollTimer);
el._scrollTimer = window.setTimeout(clampInfinite, 80);
});
if (prev) prev.addEventListener('click', function() {
var single = getSingleSetWidth();
if (el.scrollLeft <= 10) el.scrollLeft = single;
el.scrollBy({ left: -el.clientWidth, behavior: 'smooth' });
});
if (next) next.addEventListener('click', function() {
el.scrollBy({ left: el.clientWidth, behavior: 'smooth' });
});
}
document.querySelectorAll('.temptu-categoryProducts__scroll').forEach(initCarousel);
})();
</script>
{% endblock %}
", "index.twig", "/var/www/shop.temptu.co.jp/public_html/app/template/temptu/index.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 6, "if" => 77, "for" => 91);
static $filters = array("escape" => 41, "length" => 77, "first" => 78, "trans" => 87, "no_image_product" => 95, "nl2br" => 106, "raw" => 106, "price" => 111, "date" => 172);
static $functions = array("url" => 40, "asset" => 41, "repository" => 76);
try {
$this->sandbox->checkSecurity(
['set', 'if', 'for'],
['escape', 'length', 'first', 'trans', 'no_image_product', 'nl2br', 'raw', 'price', 'date'],
['url', 'asset', '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;
}
}
}