var/cache/dev/twig/05/05c222179732cf481c54c691ba6bc4f9fe1aa7277040602d7a6dcc5ff207ffa9.php line 40

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* Product/detail.twig */
  14. class __TwigTemplate_243d165eb8cbec6e3c9d99a3cf331cceb8abee9a31b853554a4ce0465a72269d extends \Eccube\Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'stylesheet' => [$this'block_stylesheet'],
  24.             'javascript' => [$this'block_javascript'],
  25.             'main' => [$this'block_main'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 11
  31.         return "default_frame.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Product/detail.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Product/detail.twig"));
  40.         // line 13
  41.         $context["body_class"] = "product_page";
  42.         // line 11
  43.         $this->parent $this->loadTemplate("default_frame.twig""Product/detail.twig"11);
  44.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  47.         
  48.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  49.     }
  50.     // line 15
  51.     public function block_stylesheet($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  58.         // line 16
  59.         echo "    <style>
  60.         .slick-slider {
  61.             margin-bottom: 30px;
  62.         }
  63.         .slick-dots {
  64.             position: absolute;
  65.             bottom: -45px;
  66.             display: block;
  67.             width: 100%;
  68.             padding: 0;
  69.             list-style: none;
  70.             text-align: center;
  71.         }
  72.         .slick-dots li {
  73.             position: relative;
  74.             display: inline-block;
  75.             width: 20px;
  76.             height: 20px;
  77.             margin: 0 5px;
  78.             padding: 0;
  79.             cursor: pointer;
  80.         }
  81.         .slick-dots li button {
  82.             font-size: 0;
  83.             line-height: 0;
  84.             display: block;
  85.             width: 20px;
  86.             height: 20px;
  87.             padding: 5px;
  88.             cursor: pointer;
  89.             color: transparent;
  90.             border: 0;
  91.             outline: none;
  92.             background: transparent;
  93.         }
  94.         .slick-dots li button:hover,
  95.         .slick-dots li button:focus {
  96.             outline: none;
  97.         }
  98.         .slick-dots li button:hover:before,
  99.         .slick-dots li button:focus:before {
  100.             opacity: 1;
  101.         }
  102.         .slick-dots li button:before {
  103.             content: \" \";
  104.             line-height: 20px;
  105.             position: absolute;
  106.             top: 0;
  107.             left: 0;
  108.             width: 12px;
  109.             height: 12px;
  110.             text-align: center;
  111.             opacity: .25;
  112.             background-color: black;
  113.             border-radius: 50%;
  114.         }
  115.         .slick-dots li.slick-active button:before {
  116.             opacity: .75;
  117.             background-color: black;
  118.         }
  119.         .slick-dots li button.thumbnail img {
  120.             width: 0;
  121.             height: 0;
  122.         }
  123.     </style>
  124. ";
  125.         
  126.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  127.         
  128.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  129.     }
  130.     // line 95
  131.     public function block_javascript($context, array $blocks = [])
  132.     {
  133.         $macros $this->macros;
  134.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  135.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  136.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  137.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  138.         // line 96
  139.         echo "    <script>
  140.         eccube.classCategories = ";
  141.         // line 97
  142.         echo $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getClassCategoriesAsJson((isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'97$this->source); })()));
  143.         echo ";
  144.         // 規格2に選択肢を割り当てる。
  145.         function fnSetClassCategories(form, classcat_id2_selected) {
  146.             var \$form = \$(form);
  147.             var product_id = \$form.find('input[name=product_id]').val();
  148.             var \$sele1 = \$form.find('select[name=classcategory_id1]');
  149.             var \$sele2 = \$form.find('select[name=classcategory_id2]');
  150.             eccube.setClassCategories(\$form, product_id, \$sele1, \$sele2, classcat_id2_selected);
  151.         }
  152.         ";
  153.         // line 108
  154.         if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id2", [], "any"truetruefalse108)) {
  155.             // line 109
  156.             echo "        fnSetClassCategories(
  157.             \$('#form1'), ";
  158.             // line 110
  159.             echo json_encode(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'110$this->source); })()), "classcategory_id2", [], "any"falsefalsefalse110), "vars", [], "any"falsefalsefalse110), "value", [], "any"falsefalsefalse110));
  160.             echo "
  161.         );
  162.         ";
  163.         } elseif (twig_get_attribute($this->env$this->source,         // line 112
  164. ($context["form"] ?? null), "classcategory_id1", [], "any"truetruefalse112)) {
  165.             // line 113
  166.             echo "        eccube.checkStock(\$('#form1'), ";
  167.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'113$this->source); })()), "id", [], "any"falsefalsefalse113), "html"nulltrue);
  168.             echo ", ";
  169.             echo json_encode(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'113$this->source); })()), "classcategory_id1", [], "any"falsefalsefalse113), "vars", [], "any"falsefalsefalse113), "value", [], "any"falsefalsefalse113));
  170.             echo ", null);
  171.         ";
  172.         }
  173.         // line 115
  174.         echo "    </script>
  175.     <script>
  176.         \$(function() {
  177.             // bfcache無効化
  178.             \$(window).bind('pageshow', function(event) {
  179.                 if (event.originalEvent.persisted) {
  180.                     location.reload(true);
  181.                 }
  182.             });
  183.             // Core Web Vital の Cumulative Layout Shift(CLS)対策のため
  184.             // img タグに width, height が付与されている.
  185.             // 630px 未満の画面サイズでは縦横比が壊れるための対策
  186.             // see https://github.com/EC-CUBE/ec-cube/pull/5023
  187.             \$('.ec-grid2__cell').hide();
  188.             var removeSize = function () {
  189.                 \$('.slide-item').height('');
  190.                 \$('.slide-item img')
  191.                     .removeAttr('width')
  192.                     .removeAttr('height')
  193.                     .removeAttr('style');
  194.             };
  195.             var slickInitial = function(slick) {
  196.                 \$('.ec-grid2__cell').fadeIn(1500);
  197.                 var baseHeight = \$(slick.target).height();
  198.                 var baseWidth = \$(slick.target).width();
  199.                 var rate = baseWidth / baseHeight;
  200.                 \$('.slide-item').height(baseHeight * rate); // 余白を削除する
  201.                 // transform を使用することでCLSの影響を受けないようにする
  202.                 \$('.slide-item img')
  203.                     .css(
  204.                         {
  205.                             'transform-origin': 'top left',
  206.                             'transform': 'scaleY(' + rate + ')',
  207.                             'transition': 'transform .1s'
  208.                         }
  209.                     );
  210.                 // 正しいサイズに近くなったら属性を解除する
  211.                 setTimeout(removeSize, 500);
  212.             };
  213.             \$('.item_visual').on('init', slickInitial);
  214.             // リサイズ時は CLS の影響を受けないため属性を解除する
  215.             \$(window).resize(removeSize);
  216.             \$('.item_visual').slick({
  217.                 dots: false,
  218.                 arrows: false,
  219.                 responsive: [{
  220.                     breakpoint: 768,
  221.                     settings: {
  222.                         dots: true
  223.                     }
  224.                 }]
  225.             });
  226.             \$('.slideThumb').on('click', function() {
  227.                 var index = \$(this).attr('data-index');
  228.                 \$('.item_visual').slick('slickGoTo', index, false);
  229.             })
  230.         });
  231.     </script>
  232.     <script>
  233.         \$(function() {
  234.             \$('.add-cart').on('click', function(event) {
  235.                 ";
  236.         // line 179
  237.         if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id1", [], "any"truetruefalse179)) {
  238.             // line 180
  239.             echo "                // 規格1フォームの必須チェック
  240.                 if (\$('#classcategory_id1').val() == '__unselected' || \$('#classcategory_id1').val() == '') {
  241.                     \$('#classcategory_id1')[0].setCustomValidity('";
  242.             // line 182
  243.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("項目が選択されていません"), "html"nulltrue);
  244.             echo "');
  245.                     return true;
  246.                 } else {
  247.                     \$('#classcategory_id1')[0].setCustomValidity('');
  248.                 }
  249.                 ";
  250.         }
  251.         // line 188
  252.         echo "
  253.                 ";
  254.         // line 189
  255.         if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id2", [], "any"truetruefalse189)) {
  256.             // line 190
  257.             echo "                // 規格2フォームの必須チェック
  258.                 if (\$('#classcategory_id2').val() == '__unselected' || \$('#classcategory_id2').val() == '') {
  259.                     \$('#classcategory_id2')[0].setCustomValidity('";
  260.             // line 192
  261.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("項目が選択されていません"), "html"nulltrue);
  262.             echo "');
  263.                     return true;
  264.                 } else {
  265.                     \$('#classcategory_id2')[0].setCustomValidity('');
  266.                 }
  267.                 ";
  268.         }
  269.         // line 198
  270.         echo "
  271.                 // 個数フォームのチェック
  272.                 if (\$('#quantity').val() < 1) {
  273.                     \$('#quantity')[0].setCustomValidity('";
  274.         // line 201
  275.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("1以上で入力してください。"), "html"nulltrue);
  276.         echo "');
  277.                     return true;
  278.                 } else {
  279.                     \$('#quantity')[0].setCustomValidity('');
  280.                 }
  281.                 event.preventDefault();
  282.                 \$form = \$('#form1');
  283.                 \$.ajax({
  284.                     url: \$form.attr('action'),
  285.                     type: \$form.attr('method'),
  286.                     data: \$form.serialize(),
  287.                     dataType: 'json',
  288.                     beforeSend: function(xhr, settings) {
  289.                         // Buttonを無効にする
  290.                         \$('.add-cart').prop('disabled', true);
  291.                     }
  292.                 }).done(function(data) {
  293.                     // レスポンス内のメッセージをalertで表示
  294.                     \$.each(data.messages, function() {
  295.                         \$('#ec-modal-header').text(this);
  296.                     });
  297.                     \$('.ec-modal').show()
  298.                     // カートブロックを更新する
  299.                     \$.ajax({
  300.                         url: \"";
  301.         // line 228
  302.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("block_cart");
  303.         echo "\",
  304.                         type: 'GET',
  305.                         dataType: 'html'
  306.                     }).done(function(html) {
  307.                         \$('.ec-headerRole__cart').html(html);
  308.                     });
  309.                 }).fail(function(data) {
  310.                     alert('";
  311.         // line 235
  312.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへの追加に失敗しました。"), "html"nulltrue);
  313.         echo "');
  314.                 }).always(function(data) {
  315.                     // Buttonを有効にする
  316.                     \$('.add-cart').prop('disabled', false);
  317.                 });
  318.             });
  319.         });
  320.         \$('.ec-modal-wrap').on('click', function(e) {
  321.             // モーダル内の処理は外側にバブリングさせない
  322.             e.stopPropagation();
  323.         });
  324.         \$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
  325.             \$('.ec-modal').hide()
  326.         });
  327.     </script>
  328.     <script type=\"application/ld+json\">
  329.     {
  330.         \"@context\": \"https://schema.org/\",
  331.         \"@type\": \"Product\",
  332.         \"name\": \"";
  333.         // line 255
  334.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'255$this->source); })()), "name", [], "any"falsefalsefalse255), "html"nulltrue);
  335.         echo "\",
  336.         \"image\": [
  337.             ";
  338.         // line 257
  339.         $context['_parent'] = $context;
  340.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'257$this->source); })()), "ProductImage", [], "any"falsefalsefalse257));
  341.         $context['_iterated'] = false;
  342.         $context['loop'] = [
  343.           'parent' => $context['_parent'],
  344.           'index0' => 0,
  345.           'index'  => 1,
  346.           'first'  => true,
  347.         ];
  348.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  349.             $length count($context['_seq']);
  350.             $context['loop']['revindex0'] = $length 1;
  351.             $context['loop']['revindex'] = $length;
  352.             $context['loop']['length'] = $length;
  353.             $context['loop']['last'] = === $length;
  354.         }
  355.         foreach ($context['_seq'] as $context["_key"] => $context["img"]) {
  356.             // line 258
  357.             echo "                \"";
  358.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'258$this->source); })()), "request", [], "any"falsefalsefalse258), "schemeAndHttpHost", [], "any"falsefalsefalse258), "html"nulltrue);
  359.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["img"], "save_image"), "html"nulltrue);
  360.             echo "\"";
  361.             if ( !twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse258)) {
  362.                 echo ",";
  363.             }
  364.             // line 259
  365.             echo "
  366.             ";
  367.             $context['_iterated'] = true;
  368.             ++$context['loop']['index0'];
  369.             ++$context['loop']['index'];
  370.             $context['loop']['first'] = false;
  371.             if (isset($context['loop']['length'])) {
  372.                 --$context['loop']['revindex0'];
  373.                 --$context['loop']['revindex'];
  374.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  375.             }
  376.         }
  377.         if (!$context['_iterated']) {
  378.             // line 261
  379.             echo "                \"";
  380.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'261$this->source); })()), "request", [], "any"falsefalsefalse261), "schemeAndHttpHost", [], "any"falsefalsefalse261), "html"nulltrue);
  381.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(""), "save_image"), "html"nulltrue);
  382.             echo "\"
  383.             ";
  384.         }
  385.         $_parent $context['_parent'];
  386.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['img'], $context['_parent'], $context['loop']);
  387.         $context array_intersect_key($context$_parent) + $_parent;
  388.         // line 263
  389.         echo "        ],
  390.         \"description\": \"";
  391.         // line 264
  392.         echo twig_escape_filter($this->envtwig_slice($this->envtwig_replace_filter(((twig_get_attribute($this->env$this->source, ($context["Product"] ?? null), "description_list", [], "any"truetruefalse264)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["Product"] ?? null), "description_list", [], "any"falsefalsefalse264), twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'264$this->source); })()), "description_detail", [], "any"falsefalsefalse264))) : (twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'264$this->source); })()), "description_detail", [], "any"falsefalsefalse264))), ["
  393. => """ " => ""]), 0300), "html"nulltrue);
  394.         echo "\",
  395.         ";
  396.         // line 265
  397.         if (twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'265$this->source); })()), "code_min", [], "any"falsefalsefalse265)) {
  398.             // line 266
  399.             echo "        \"sku\": \"";
  400.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'266$this->source); })()), "code_min", [], "any"falsefalsefalse266), "html"nulltrue);
  401.             echo "\",
  402.         ";
  403.         }
  404.         // line 268
  405.         echo "        \"offers\": {
  406.             \"@type\": \"Offer\",
  407.             \"url\": \"";
  408.         // line 270
  409.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'270$this->source); })()), "id", [], "any"falsefalsefalse270)]), "html"nulltrue);
  410.         echo "\",
  411.             \"priceCurrency\": \"";
  412.         // line 271
  413.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["eccube_config"]) || array_key_exists("eccube_config"$context) ? $context["eccube_config"] : (function () { throw new RuntimeError('Variable "eccube_config" does not exist.'271$this->source); })()), "currency", [], "any"falsefalsefalse271), "html"nulltrue);
  414.         echo "\",
  415.             \"price\": ";
  416.         // line 272
  417.         ((twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'272$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsefalse272)) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'272$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsefalse272), "html"nulltrue))) : (print (0)));
  418.         echo ",
  419.             \"availability\": \"";
  420.         // line 273
  421.         echo ((twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'273$this->source); })()), "stock_find", [], "any"falsefalsefalse273)) ? ("InStock") : ("OutOfStock"));
  422.         echo "\"
  423.         }
  424.     }
  425.     </script>
  426. ";
  427.         
  428.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  429.         
  430.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  431.     }
  432.     // line 279
  433.     public function block_main($context, array $blocks = [])
  434.     {
  435.         $macros $this->macros;
  436.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  437.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  438.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  439.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  440.         // line 280
  441.         echo "    <div class=\"ec-productRole\">
  442.         <div class=\"ec-grid2\">
  443.             <div class=\"ec-grid2__cell\">
  444.                 <div class=\"ec-sliderItemRole\">
  445.                     <div class=\"item_visual\">
  446.                         ";
  447.         // line 286
  448.         $context['_parent'] = $context;
  449.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'286$this->source); })()), "ProductImage", [], "any"falsefalsefalse286));
  450.         $context['_iterated'] = false;
  451.         $context['loop'] = [
  452.           'parent' => $context['_parent'],
  453.           'index0' => 0,
  454.           'index'  => 1,
  455.           'first'  => true,
  456.         ];
  457.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  458.             $length count($context['_seq']);
  459.             $context['loop']['revindex0'] = $length 1;
  460.             $context['loop']['revindex'] = $length;
  461.             $context['loop']['length'] = $length;
  462.             $context['loop']['last'] = === $length;
  463.         }
  464.         foreach ($context['_seq'] as $context["_key"] => $context["ProductImage"]) {
  465.             // line 287
  466.             echo "                            <div class=\"slide-item\"><img src=\"";
  467.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["ProductImage"], "save_image"), "html"nulltrue);
  468.             echo "\" alt=\"";
  469.             ((twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse287)) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'287$this->source); })()), "name", [], "any"falsefalsefalse287), "html"nulltrue))) : (print ("")));
  470.             echo "\" width=\"550\" height=\"550\"";
  471.             if ((twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse287) > 1)) {
  472.                 echo " loading=\"lazy\"";
  473.             }
  474.             echo "></div>
  475.                         ";
  476.             $context['_iterated'] = true;
  477.             ++$context['loop']['index0'];
  478.             ++$context['loop']['index'];
  479.             $context['loop']['first'] = false;
  480.             if (isset($context['loop']['length'])) {
  481.                 --$context['loop']['revindex0'];
  482.                 --$context['loop']['revindex'];
  483.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  484.             }
  485.         }
  486.         if (!$context['_iterated']) {
  487.             // line 289
  488.             echo "                            <div class=\"slide-item\"><img src=\"";
  489.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(""), "save_image"), "html"nulltrue);
  490.             echo "\" alt=\"";
  491.             ((twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse289)) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'289$this->source); })()), "name", [], "any"falsefalsefalse289), "html"nulltrue))) : (print ("")));
  492.             echo "\" width=\"550\" height=\"550\"></div>
  493.                         ";
  494.         }
  495.         $_parent $context['_parent'];
  496.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductImage'], $context['_parent'], $context['loop']);
  497.         $context array_intersect_key($context$_parent) + $_parent;
  498.         // line 291
  499.         echo "                    </div>
  500.                     <div class=\"item_nav\">
  501.                         ";
  502.         // line 293
  503.         $context['_parent'] = $context;
  504.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'293$this->source); })()), "ProductImage", [], "any"falsefalsefalse293));
  505.         $context['loop'] = [
  506.           'parent' => $context['_parent'],
  507.           'index0' => 0,
  508.           'index'  => 1,
  509.           'first'  => true,
  510.         ];
  511.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  512.             $length count($context['_seq']);
  513.             $context['loop']['revindex0'] = $length 1;
  514.             $context['loop']['revindex'] = $length;
  515.             $context['loop']['length'] = $length;
  516.             $context['loop']['last'] = === $length;
  517.         }
  518.         foreach ($context['_seq'] as $context["_key"] => $context["ProductImage"]) {
  519.             // line 294
  520.             echo "                            <div class=\"slideThumb\" data-index=\"";
  521.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsefalse294), "html"nulltrue);
  522.             echo "\"><img src=\"";
  523.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["ProductImage"], "save_image"), "html"nulltrue);
  524.             echo "\" alt=\"\" width=\"133\" height=\"133\" loading=\"lazy\"></div>
  525.                         ";
  526.             ++$context['loop']['index0'];
  527.             ++$context['loop']['index'];
  528.             $context['loop']['first'] = false;
  529.             if (isset($context['loop']['length'])) {
  530.                 --$context['loop']['revindex0'];
  531.                 --$context['loop']['revindex'];
  532.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  533.             }
  534.         }
  535.         $_parent $context['_parent'];
  536.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductImage'], $context['_parent'], $context['loop']);
  537.         $context array_intersect_key($context$_parent) + $_parent;
  538.         // line 296
  539.         echo "                    </div>
  540.                 </div>
  541.             </div>
  542.             <div class=\"ec-grid2__cell\">
  543.                 <div class=\"ec-productRole__profile\">
  544.                     ";
  545.         // line 302
  546.         echo "                    <div class=\"ec-productRole__title\">
  547.                         <h2 class=\"ec-headingTitle\">";
  548.         // line 303
  549.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'303$this->source); })()), "name", [], "any"falsefalsefalse303), "html"nulltrue);
  550.         echo "</h2>
  551.                     </div>
  552.                     ";
  553.         // line 306
  554.         echo "                    <ul class=\"ec-productRole__tags\">
  555.                         ";
  556.         // line 307
  557.         $context['_parent'] = $context;
  558.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'307$this->source); })()), "Tags", [], "any"falsefalsefalse307));
  559.         foreach ($context['_seq'] as $context["_key"] => $context["Tag"]) {
  560.             // line 308
  561.             echo "                            <li class=\"ec-productRole__tag tag_";
  562.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Tag"], "id", [], "any"falsefalsefalse308), "html"nulltrue);
  563.             echo "\">";
  564.             echo twig_escape_filter($this->env$context["Tag"], "html"nulltrue);
  565.             echo "</li>
  566.                         ";
  567.         }
  568.         $_parent $context['_parent'];
  569.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Tag'], $context['_parent'], $context['loop']);
  570.         $context array_intersect_key($context$_parent) + $_parent;
  571.         // line 310
  572.         echo "                    </ul>
  573.                     ";
  574.         // line 312
  575.         echo "                    ";
  576.         if (twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'312$this->source); })()), "hasProductClass", [], "any"falsefalsefalse312)) {
  577.             // line 313
  578.             echo "<div class=\"ec-productRole__priceRegular\">
  579.                             ";
  580.             // line 314
  581.             if (( !(null === twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'314$this->source); })()), "getPrice01Min", [], "any"falsefalsefalse314)) && (twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'314$this->source); })()), "getPrice01IncTaxMin", [], "any"falsefalsefalse314) == twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'314$this->source); })()), "getPrice01IncTaxMax", [], "any"falsefalsefalse314)))) {
  582.                 // line 315
  583.                 echo "                                <span class=\"ec-productRole__priceRegularPrice\">";
  584.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("通常価格"), "html"nulltrue);
  585.                 echo ":<span class=\"price01-default\">";
  586.                 echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'315$this->source); })()), "getPrice01IncTaxMin", [], "any"falsefalsefalse315)), "html"nulltrue);
  587.                 echo "</span></span>
  588.                                 <span class=\"ec-productRole__priceRegularTax\">";
  589.                 // line 316
  590.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  591.                 echo "</span>
  592.                             ";
  593.             } elseif (( !(null === twig_get_attribute($this->env$this->source,             // line 317
  594. (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'317$this->source); })()), "getPrice01Min", [], "any"falsefalsefalse317)) &&  !(null === twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'317$this->source); })()), "getPrice01Max", [], "any"falsefalsefalse317)))) {
  595.                 // line 318
  596.                 echo "                                <span class=\"ec-productRole__priceRegularPrice\">";
  597.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("通常価格"), "html"nulltrue);
  598.                 echo ":<span class=\"price01-default\">";
  599.                 echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'318$this->source); })()), "getPrice01IncTaxMin", [], "any"falsefalsefalse318)), "html"nulltrue);
  600.                 echo "~ ";
  601.                 echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'318$this->source); })()), "getPrice01IncTaxMax", [], "any"falsefalsefalse318)), "html"nulltrue);
  602.                 echo "</span></span>
  603.                                 <span class=\"ec-productRole__priceRegularTax\">";
  604.                 // line 319
  605.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  606.                 echo "</span>
  607.                             ";
  608.             }
  609.             // line 321
  610.             echo "                        </div>
  611.                     ";
  612.         } else {
  613.             // line 323
  614.             echo "                        ";
  615.             if ( !(null === twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'323$this->source); })()), "getPrice01Max", [], "any"falsefalsefalse323))) {
  616.                 // line 324
  617.                 echo "                            <span class=\"ec-productRole__priceRegularPrice\">";
  618.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("通常価格"), "html"nulltrue);
  619.                 echo ":";
  620.                 echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'324$this->source); })()), "getPrice01IncTaxMin", [], "any"falsefalsefalse324)), "html"nulltrue);
  621.                 echo "</span>
  622.                             <span class=\"ec-productRole__priceRegularTax\">";
  623.                 // line 325
  624.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  625.                 echo "</span>
  626.                         ";
  627.             }
  628.             // line 327
  629.             echo "                    ";
  630.         }
  631.         // line 328
  632.         echo "                    ";
  633.         // line 329
  634.         echo "                    <div class=\"ec-productRole__price\">
  635.                         ";
  636.         // line 330
  637.         if (twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'330$this->source); })()), "hasProductClass", [], "any"falsefalsefalse330)) {
  638.             // line 331
  639.             if ((twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'331$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsefalse331) == twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'331$this->source); })()), "getPrice02IncTaxMax", [], "any"falsefalsefalse331))) {
  640.                 // line 332
  641.                 echo "                                <div class=\"ec-price\">
  642.                                     <span class=\"ec-price__price price02-default\">";
  643.                 // line 333
  644.                 echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'333$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsefalse333)), "html"nulltrue);
  645.                 echo "</span>
  646.                                     <span class=\"ec-price__tax\">";
  647.                 // line 334
  648.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  649.                 echo "</span>
  650.                                 </div>
  651.                             ";
  652.             } else {
  653.                 // line 337
  654.                 echo "                                <div class=\"ec-price\">
  655.                                     <span class=\"ec-price__price price02-default\">";
  656.                 // line 338
  657.                 echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'338$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsefalse338)), "html"nulltrue);
  658.                 echo " ~ ";
  659.                 echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'338$this->source); })()), "getPrice02IncTaxMax", [], "any"falsefalsefalse338)), "html"nulltrue);
  660.                 echo "</span>
  661.                                     <span class=\"ec-price__tax\">";
  662.                 // line 339
  663.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  664.                 echo "</span>
  665.                                 </div>
  666.                             ";
  667.             }
  668.             // line 342
  669.             echo "                        ";
  670.         } else {
  671.             // line 343
  672.             echo "                            <div class=\"ec-price\">
  673.                                 <span class=\"ec-price__price\">";
  674.             // line 344
  675.             echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'344$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsefalse344)), "html"nulltrue);
  676.             echo "</span>
  677.                                 <span class=\"ec-price__tax\">";
  678.             // line 345
  679.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  680.             echo "</span>
  681.                             </div>
  682.                         ";
  683.         }
  684.         // line 348
  685.         echo "                    </div>
  686.                     ";
  687.         // line 350
  688.         echo "                    ";
  689.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'350$this->source); })()), "code_min", [], "any"falsefalsefalse350))) {
  690.             // line 351
  691.             echo "                        <div class=\"ec-productRole__code\">
  692.                             ";
  693.             // line 352
  694.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("商品コード"), "html"nulltrue);
  695.             echo ": <span class=\"product-code-default\">";
  696.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'352$this->source); })()), "code_min", [], "any"falsefalsefalse352), "html"nulltrue);
  697.             if ((twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'352$this->source); })()), "code_min", [], "any"falsefalsefalse352) != twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'352$this->source); })()), "code_max", [], "any"falsefalsefalse352))) {
  698.                 echo " ~ ";
  699.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'352$this->source); })()), "code_max", [], "any"falsefalsefalse352), "html"nulltrue);
  700.             }
  701.             echo "</span>
  702.                         </div>
  703.                     ";
  704.         }
  705.         // line 355
  706.         echo "                    ";
  707.         // line 356
  708.         echo "                    ";
  709.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'356$this->source); })()), "ProductCategories", [], "any"falsefalsefalse356))) {
  710.             // line 357
  711.             echo "                        <div class=\"ec-productRole__category\">
  712.                             <div>";
  713.             // line 358
  714.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("関連カテゴリ"), "html"nulltrue);
  715.             echo "</div>
  716.                             ";
  717.             // line 359
  718.             $context['_parent'] = $context;
  719.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'359$this->source); })()), "ProductCategories", [], "any"falsefalsefalse359));
  720.             foreach ($context['_seq'] as $context["_key"] => $context["ProductCategory"]) {
  721.                 // line 360
  722.                 echo "                                <ul>
  723.                                     <li>
  724.                                         ";
  725.                 // line 362
  726.                 $context['_parent'] = $context;
  727.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["ProductCategory"], "Category", [], "any"falsefalsefalse362), "path", [], "any"falsefalsefalse362));
  728.                 $context['loop'] = [
  729.                   'parent' => $context['_parent'],
  730.                   'index0' => 0,
  731.                   'index'  => 1,
  732.                   'first'  => true,
  733.                 ];
  734.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  735.                     $length count($context['_seq']);
  736.                     $context['loop']['revindex0'] = $length 1;
  737.                     $context['loop']['revindex'] = $length;
  738.                     $context['loop']['length'] = $length;
  739.                     $context['loop']['last'] = === $length;
  740.                 }
  741.                 foreach ($context['_seq'] as $context["_key"] => $context["Category"]) {
  742.                     // line 363
  743.                     echo "                                            <a href=\"";
  744.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  745.                     echo "?category_id=";
  746.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Category"], "id", [], "any"falsefalsefalse363), "html"nulltrue);
  747.                     echo "\">";
  748.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Category"], "name", [], "any"falsefalsefalse363), "html"nulltrue);
  749.                     echo "</a>";
  750.                     if ((twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse363) == false)) {
  751.                         // line 364
  752.                         echo "                                            <span>></span>";
  753.                     }
  754.                     ++$context['loop']['index0'];
  755.                     ++$context['loop']['index'];
  756.                     $context['loop']['first'] = false;
  757.                     if (isset($context['loop']['length'])) {
  758.                         --$context['loop']['revindex0'];
  759.                         --$context['loop']['revindex'];
  760.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  761.                     }
  762.                 }
  763.                 $_parent $context['_parent'];
  764.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Category'], $context['_parent'], $context['loop']);
  765.                 $context array_intersect_key($context$_parent) + $_parent;
  766.                 // line 366
  767.                 echo "                                    </li>
  768.                                 </ul>
  769.                             ";
  770.             }
  771.             $_parent $context['_parent'];
  772.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductCategory'], $context['_parent'], $context['loop']);
  773.             $context array_intersect_key($context$_parent) + $_parent;
  774.             // line 369
  775.             echo "                        </div>
  776.                     ";
  777.         }
  778.         // line 371
  779.         echo "                    <form action=\"";
  780.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_add_cart", ["id" => twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'371$this->source); })()), "id", [], "any"falsefalsefalse371)]), "html"nulltrue);
  781.         echo "\" method=\"post\" id=\"form1\" name=\"form1\">
  782.                         ";
  783.         // line 372
  784.         if (twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'372$this->source); })()), "stock_find", [], "any"falsefalsefalse372)) {
  785.             // line 373
  786.             echo "                            <div class=\"ec-productRole__actions\">
  787.                                 ";
  788.             // line 374
  789.             if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id1", [], "any"truetruefalse374)) {
  790.                 // line 375
  791.                 echo "                                    <div class=\"ec-select\">
  792.                                         ";
  793.                 // line 376
  794.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'376$this->source); })()), "classcategory_id1", [], "any"falsefalsefalse376), 'row');
  795.                 echo "
  796.                                         ";
  797.                 // line 377
  798.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'377$this->source); })()), "classcategory_id1", [], "any"falsefalsefalse377), 'errors');
  799.                 echo "
  800.                                     </div>
  801.                                     ";
  802.                 // line 379
  803.                 if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id2", [], "any"truetruefalse379)) {
  804.                     // line 380
  805.                     echo "                                        <div class=\"ec-select\">
  806.                                             ";
  807.                     // line 381
  808.                     echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'381$this->source); })()), "classcategory_id2", [], "any"falsefalsefalse381), 'row');
  809.                     echo "
  810.                                             ";
  811.                     // line 382
  812.                     echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'382$this->source); })()), "classcategory_id2", [], "any"falsefalsefalse382), 'errors');
  813.                     echo "
  814.                                         </div>
  815.                                     ";
  816.                 }
  817.                 // line 385
  818.                 echo "                                ";
  819.             }
  820.             // line 386
  821.             echo "                                <div class=\"ec-numberInput\"><span>";
  822.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("数量"), "html"nulltrue);
  823.             echo "</span>
  824.                                     ";
  825.             // line 387
  826.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'387$this->source); })()), "quantity", [], "any"falsefalsefalse387), 'widget');
  827.             echo "
  828.                                     ";
  829.             // line 388
  830.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'388$this->source); })()), "quantity", [], "any"falsefalsefalse388), 'errors');
  831.             echo "
  832.                                 </div>
  833.                             </div>
  834.                             <div class=\"ec-productRole__btn\">
  835.                                 <button type=\"submit\" class=\"ec-blockBtn--action add-cart\">
  836.                                     ";
  837.             // line 393
  838.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに入れる"), "html"nulltrue);
  839.             echo "
  840.                                 </button>
  841.                             </div>
  842.                         ";
  843.         } else {
  844.             // line 397
  845.             echo "                            <div class=\"ec-productRole__btn\">
  846.                                 <button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
  847.                                     ";
  848.             // line 399
  849.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ただいま品切れ中です。"), "html"nulltrue);
  850.             echo "
  851.                                 </button>
  852.                             </div>
  853.                         ";
  854.         }
  855.         // line 403
  856.         echo "
  857.                         ";
  858.         // line 404
  859.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'404$this->source); })()), 'rest');
  860.         echo "
  861.                     </form>
  862.                     <div class=\"ec-modal\">
  863.                         <div class=\"ec-modal-overlay\">
  864.                             <div class=\"ec-modal-wrap\">
  865.                                 <span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"";
  866.         // line 409
  867.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/cross-dark.svg"), "html"nulltrue);
  868.         echo "\" alt=\"\"/></span></span>
  869.                                 <div id=\"ec-modal-header\" class=\"text-center\">";
  870.         // line 410
  871.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに追加しました。"), "html"nulltrue);
  872.         echo "</div>
  873.                                 <div class=\"ec-modal-box\">
  874.                                     <div class=\"ec-role\">
  875.                                         <span class=\"ec-inlineBtn--cancel\">";
  876.         // line 413
  877.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お買い物を続ける"), "html"nulltrue);
  878.         echo "</span>
  879.                                         <a href=\"";
  880.         // line 414
  881.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
  882.         echo "\" class=\"ec-inlineBtn--action\">";
  883.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへ進む"), "html"nulltrue);
  884.         echo "</a>
  885.                                     </div>
  886.                                 </div>
  887.                             </div>
  888.                         </div>
  889.                     </div>
  890.                     ";
  891.         // line 420
  892.         if (twig_get_attribute($this->env$this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo"$context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.'420$this->source); })()), "option_favorite_product", [], "any"falsefalsefalse420)) {
  893.             // line 421
  894.             echo "                        <form action=\"";
  895.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_add_favorite", ["id" => twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'421$this->source); })()), "id", [], "any"falsefalsefalse421)]), "html"nulltrue);
  896.             echo "\" method=\"post\">
  897.                             <div class=\"ec-productRole__btn\">
  898.                                 ";
  899.             // line 423
  900.             if (((isset($context["is_favorite"]) || array_key_exists("is_favorite"$context) ? $context["is_favorite"] : (function () { throw new RuntimeError('Variable "is_favorite" does not exist.'423$this->source); })()) == false)) {
  901.                 // line 424
  902.                 echo "                                    <button type=\"submit\" id=\"favorite\" class=\"ec-blockBtn--cancel\">
  903.                                         ";
  904.                 // line 425
  905.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お気に入りに追加"), "html"nulltrue);
  906.                 echo "
  907.                                     </button>
  908.                                 ";
  909.             } else {
  910.                 // line 428
  911.                 echo "                                    <button type=\"submit\" id=\"favorite\" class=\"ec-blockBtn--cancel\"
  912.                                             disabled=\"disabled\">";
  913.                 // line 429
  914.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お気に入りに追加済です。"), "html"nulltrue);
  915.                 echo "
  916.                                     </button>
  917.                                 ";
  918.             }
  919.             // line 432
  920.             echo "                            </div>
  921.                         </form>
  922.                     ";
  923.         }
  924.         // line 435
  925.         echo "                    <div class=\"ec-productRole__description\">";
  926.         echo twig_nl2br(twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'435$this->source); })()), "description_detail", [], "any"falsefalsefalse435));
  927.         echo "
  928.                     </div>
  929.                 </div>
  930.             </div>
  931.         </div>
  932.         ";
  933.         // line 440
  934.         if (twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'440$this->source); })()), "freearea", [], "any"falsefalsefalse440)) {
  935.             // line 441
  936.             echo "             <div class=\"ec-productRole__description\">
  937.                  ";
  938.             // line 442
  939.             echo twig_include($this->env$contexttwig_template_from_string($this->envtwig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'442$this->source); })()), "freearea", [], "any"falsefalsefalse442)));
  940.             echo "
  941.             </div>
  942.         ";
  943.         }
  944.         // line 445
  945.         echo "    </div>
  946.     
  947.     
  948. <div class=\"od-links\">
  949.   <a href=\"https://www.facebook.com/SHIMAOmoi\" target=\"_blank\" rel=\"noopener\">
  950.     <picture>
  951.       <source media=\"(max-width:767px)\" srcset=\"/html/user_data/img/detail_sns_01_sp.svg\">
  952.       <img src=\"/html/user_data/img/detail_sns_01.svg\" alt=\"\" loading=\"lazy\">
  953.     </picture>
  954.   </a>
  955.   <a href=\"https://twitter.com/SHIMA_Omoi\" target=\"_blank\" rel=\"noopener\">
  956.     <picture>
  957.       <source media=\"(max-width:767px)\" srcset=\"/html/user_data/img/detail_sns_02_sp.svg\">
  958.       <img src=\"/html/user_data/img/detail_sns_02.svg\" alt=\"\" loading=\"lazy\">
  959.     </picture>
  960.   </a>
  961.   <a href=\"https://page.line.me/?accountId=069ntivg\" target=\"_blank\" rel=\"noopener\">
  962.     <picture>
  963.       <source media=\"(max-width:767px)\" srcset=\"/html/user_data/img/detail_sns_03_sp.svg\">
  964.       <img src=\"/html/user_data/img/detail_sns_03.svg\" alt=\"\" loading=\"lazy\">
  965.     </picture>
  966.   </a>
  967.   <a href=\"javascript:void(0);\" data-url=\"";
  968.         // line 467
  969.         echo twig_escape_filter($this->env, (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'467$this->source); })()), "request", [], "any"falsefalsefalse467), "scheme", [], "any"falsefalsefalse467) . "://") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'467$this->source); })()), "request", [], "any"falsefalsefalse467), "server", [], "any"falsefalsefalse467), "get", [=> "HTTP_HOST"], "method"falsefalsefalse467)) . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'467$this->source); })()), "request", [], "any"falsefalsefalse467), "server", [], "any"falsefalsefalse467), "get", [=> "REQUEST_URI"], "method"falsefalsefalse467)), "html"nulltrue);
  970.         echo "\" class=\"js-copy\">
  971.     <picture>
  972.       <source media=\"(max-width:767px)\" srcset=\"/html/user_data/img/detail_sns_04_sp.svg\">
  973.       <img src=\"/html/user_data/img/detail_sns_04.svg\" alt=\"\" loading=\"lazy\">
  974.     </picture>
  975.   </a>
  976. </div>
  977. ";
  978.         // line 476
  979.         if ((twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'476$this->source); })()), "id", [], "any"falsefalsefalse476) == 3)) {
  980.             // line 477
  981.             echo "<div class=\"od-cont od-cont-blue\">
  982.   <picture>
  983.     <source media=\"(max-width:767px)\" srcset=\"/html/user_data/img/detail03_cont01_sp.png\">
  984.     <img src=\"/html/user_data/img/detail03_cont01_pc.png\" alt=\"\" loading=\"lazy\">
  985.   </picture>
  986. </div>
  987. <div class=\"od-cont\">
  988.   <picture>
  989.     <source media=\"(max-width:767px)\" srcset=\"/html/user_data/img/detail03_cont02_sp.png\">
  990.     <img src=\"/html/user_data/img/detail03_cont02_pc.png\" alt=\"\" loading=\"lazy\">
  991.   </picture>
  992. </div>
  993. <div class=\"od-cont od-cont-blue\">
  994.   <picture>
  995.     <source media=\"(max-width:767px)\" srcset=\"/html/user_data/img/detail03_cont03_sp.png\">
  996.     <img src=\"/html/user_data/img/detail03_cont03_pc.png\" alt=\"\" loading=\"lazy\">
  997.   </picture>
  998. </div>
  999. ";
  1000.         } elseif ((twig_get_attribute($this->env$this->source,         // line 498
  1001. (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'498$this->source); })()), "id", [], "any"falsefalsefalse498) == 4)) {
  1002.             // line 499
  1003.             echo "
  1004. <div class=\"od-cont od-cont-blue\">
  1005.   <picture>
  1006.     <source media=\"(max-width:767px)\" srcset=\"/html/user_data/img/detail04_cont01_sp.png\">
  1007.     <img src=\"/html/user_data/img/detail04_cont01_pc.png\" alt=\"\" loading=\"lazy\">
  1008.   </picture>
  1009. </div>
  1010. <div class=\"od-cont\">
  1011.   <picture>
  1012.     <source media=\"(max-width:767px)\" srcset=\"/html/user_data/img/detail04_cont02_sp.png\">
  1013.     <img src=\"/html/user_data/img/detail04_cont02_pc.png\" alt=\"\" loading=\"lazy\">
  1014.   </picture>
  1015. </div>
  1016. <div class=\"od-cont od-cont-blue\">
  1017.   <picture>
  1018.     <source media=\"(max-width:767px)\" srcset=\"/html/user_data/img/detail04_cont03_sp.png\">
  1019.     <img src=\"/html/user_data/img/detail04_cont03_pc.png\" alt=\"\" loading=\"lazy\">
  1020.   </picture>
  1021. </div>
  1022. ";
  1023.         } elseif ((twig_get_attribute($this->env$this->source,         // line 521
  1024. (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'521$this->source); })()), "id", [], "any"falsefalsefalse521) == 5)) {
  1025.             // line 522
  1026.             echo "
  1027. <div class=\"od-cont od-cont-blue\">
  1028.   <picture>
  1029.     <source media=\"(max-width:767px)\" srcset=\"/html/user_data/img/detail05_cont01_sp.png\">
  1030.     <img src=\"/html/user_data/img/detail05_cont01_pc.png\" alt=\"\" loading=\"lazy\">
  1031.   </picture>
  1032. </div>
  1033. <div class=\"od-cont\">
  1034.   <picture>
  1035.     <source media=\"(max-width:767px)\" srcset=\"/html/user_data/img/detail05_cont02_sp.png\">
  1036.     <img src=\"/html/user_data/img/detail05_cont02_pc.png\" alt=\"\" loading=\"lazy\">
  1037.   </picture>
  1038. </div>
  1039. <div class=\"od-cont od-cont-blue\">
  1040.   <picture>
  1041.     <source media=\"(max-width:767px)\" srcset=\"/html/user_data/img/detail05_cont03_sp.png\">
  1042.     <img src=\"/html/user_data/img/detail05_cont03_pc.png\" alt=\"\" loading=\"lazy\">
  1043.   </picture>
  1044. </div>
  1045. ";
  1046.         } elseif ((twig_get_attribute($this->env$this->source,         // line 544
  1047. (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'544$this->source); })()), "id", [], "any"falsefalsefalse544) == 6)) {
  1048.             // line 545
  1049.             echo "
  1050. <div class=\"od-cont od-cont-blue\">
  1051.   <picture>
  1052.     <source media=\"(max-width:767px)\" srcset=\"/html/user_data/img/detail06_cont01_sp.png\">
  1053.     <img src=\"/html/user_data/img/detail06_cont01_pc.png\" alt=\"\" loading=\"lazy\">
  1054.   </picture>
  1055. </div>
  1056. <div class=\"od-cont\">
  1057.   <picture>
  1058.     <source media=\"(max-width:767px)\" srcset=\"/html/user_data/img/detail06_cont02_sp.png\">
  1059.     <img src=\"/html/user_data/img/detail06_cont02_pc.png\" alt=\"\" loading=\"lazy\">
  1060.   </picture>
  1061. </div>
  1062. <div class=\"od-cont od-cont-blue\">
  1063.   <picture>
  1064.     <source media=\"(max-width:767px)\" srcset=\"/html/user_data/img/detail06_cont03_sp.png\">
  1065.     <img src=\"/html/user_data/img/detail06_cont03_pc.png\" alt=\"\" loading=\"lazy\">
  1066.   </picture>
  1067. </div>
  1068. ";
  1069.         }
  1070.         // line 568
  1071.         echo "
  1072. <div class=\"od-listBack\"><a href=\"/products/list\">一覧に戻る</a></div>
  1073. ";
  1074.         
  1075.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1076.         
  1077.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1078.     }
  1079.     public function getTemplateName()
  1080.     {
  1081.         return "Product/detail.twig";
  1082.     }
  1083.     public function isTraitable()
  1084.     {
  1085.         return false;
  1086.     }
  1087.     public function getDebugInfo()
  1088.     {
  1089.         return array (  1131 => 568,  1106 => 545,  1104 => 544,  1080 => 522,  1078 => 521,  1054 => 499,  1052 => 498,  1029 => 477,  1027 => 476,  1015 => 467,  991 => 445,  985 => 442,  982 => 441,  980 => 440,  971 => 435,  966 => 432,  960 => 429,  957 => 428,  951 => 425,  948 => 424,  946 => 423,  940 => 421,  938 => 420,  927 => 414,  923 => 413,  917 => 410,  913 => 409,  905 => 404,  902 => 403,  895 => 399,  891 => 397,  884 => 393,  876 => 388,  872 => 387,  867 => 386,  864 => 385,  858 => 382,  854 => 381,  851 => 380,  849 => 379,  844 => 377,  840 => 376,  837 => 375,  835 => 374,  832 => 373,  830 => 372,  825 => 371,  821 => 369,  813 => 366,  798 => 364,  789 => 363,  772 => 362,  768 => 360,  764 => 359,  760 => 358,  757 => 357,  754 => 356,  752 => 355,  740 => 352,  737 => 351,  734 => 350,  731 => 348,  725 => 345,  721 => 344,  718 => 343,  715 => 342,  709 => 339,  703 => 338,  700 => 337,  694 => 334,  690 => 333,  687 => 332,  685 => 331,  683 => 330,  680 => 329,  678 => 328,  675 => 327,  670 => 325,  663 => 324,  660 => 323,  656 => 321,  651 => 319,  642 => 318,  640 => 317,  636 => 316,  629 => 315,  627 => 314,  624 => 313,  621 => 312,  618 => 310,  607 => 308,  603 => 307,  600 => 306,  595 => 303,  592 => 302,  585 => 296,  566 => 294,  549 => 293,  545 => 291,  534 => 289,  512 => 287,  494 => 286,  486 => 280,  476 => 279,  461 => 273,  457 => 272,  453 => 271,  449 => 270,  445 => 268,  439 => 266,  437 => 265,  432 => 264,  429 => 263,  419 => 261,  405 => 259,  397 => 258,  379 => 257,  374 => 255,  351 => 235,  341 => 228,  311 => 201,  306 => 198,  297 => 192,  293 => 190,  291 => 189,  288 => 188,  279 => 182,  275 => 180,  273 => 179,  207 => 115,  199 => 113,  197 => 112,  192 => 110,  189 => 109,  187 => 108,  173 => 97,  170 => 96,  160 => 95,  73 => 16,  63 => 15,  52 => 11,  50 => 13,  37 => 11,);
  1090.     }
  1091.     public function getSourceContext()
  1092.     {
  1093.         return new Source("{#
  1094. This file is part of EC-CUBE
  1095. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  1096. http://www.ec-cube.co.jp/
  1097. For the full copyright and license information, please view the LICENSE
  1098. file that was distributed with this source code.
  1099. #}
  1100. {% extends 'default_frame.twig' %}
  1101. {% set body_class = 'product_page' %}
  1102. {% block stylesheet %}
  1103.     <style>
  1104.         .slick-slider {
  1105.             margin-bottom: 30px;
  1106.         }
  1107.         .slick-dots {
  1108.             position: absolute;
  1109.             bottom: -45px;
  1110.             display: block;
  1111.             width: 100%;
  1112.             padding: 0;
  1113.             list-style: none;
  1114.             text-align: center;
  1115.         }
  1116.         .slick-dots li {
  1117.             position: relative;
  1118.             display: inline-block;
  1119.             width: 20px;
  1120.             height: 20px;
  1121.             margin: 0 5px;
  1122.             padding: 0;
  1123.             cursor: pointer;
  1124.         }
  1125.         .slick-dots li button {
  1126.             font-size: 0;
  1127.             line-height: 0;
  1128.             display: block;
  1129.             width: 20px;
  1130.             height: 20px;
  1131.             padding: 5px;
  1132.             cursor: pointer;
  1133.             color: transparent;
  1134.             border: 0;
  1135.             outline: none;
  1136.             background: transparent;
  1137.         }
  1138.         .slick-dots li button:hover,
  1139.         .slick-dots li button:focus {
  1140.             outline: none;
  1141.         }
  1142.         .slick-dots li button:hover:before,
  1143.         .slick-dots li button:focus:before {
  1144.             opacity: 1;
  1145.         }
  1146.         .slick-dots li button:before {
  1147.             content: \" \";
  1148.             line-height: 20px;
  1149.             position: absolute;
  1150.             top: 0;
  1151.             left: 0;
  1152.             width: 12px;
  1153.             height: 12px;
  1154.             text-align: center;
  1155.             opacity: .25;
  1156.             background-color: black;
  1157.             border-radius: 50%;
  1158.         }
  1159.         .slick-dots li.slick-active button:before {
  1160.             opacity: .75;
  1161.             background-color: black;
  1162.         }
  1163.         .slick-dots li button.thumbnail img {
  1164.             width: 0;
  1165.             height: 0;
  1166.         }
  1167.     </style>
  1168. {% endblock %}
  1169. {% block javascript %}
  1170.     <script>
  1171.         eccube.classCategories = {{ class_categories_as_json(Product)|raw }};
  1172.         // 規格2に選択肢を割り当てる。
  1173.         function fnSetClassCategories(form, classcat_id2_selected) {
  1174.             var \$form = \$(form);
  1175.             var product_id = \$form.find('input[name=product_id]').val();
  1176.             var \$sele1 = \$form.find('select[name=classcategory_id1]');
  1177.             var \$sele2 = \$form.find('select[name=classcategory_id2]');
  1178.             eccube.setClassCategories(\$form, product_id, \$sele1, \$sele2, classcat_id2_selected);
  1179.         }
  1180.         {% if form.classcategory_id2 is defined %}
  1181.         fnSetClassCategories(
  1182.             \$('#form1'), {{ form.classcategory_id2.vars.value|json_encode|raw }}
  1183.         );
  1184.         {% elseif form.classcategory_id1 is defined %}
  1185.         eccube.checkStock(\$('#form1'), {{ Product.id }}, {{ form.classcategory_id1.vars.value|json_encode|raw }}, null);
  1186.         {% endif %}
  1187.     </script>
  1188.     <script>
  1189.         \$(function() {
  1190.             // bfcache無効化
  1191.             \$(window).bind('pageshow', function(event) {
  1192.                 if (event.originalEvent.persisted) {
  1193.                     location.reload(true);
  1194.                 }
  1195.             });
  1196.             // Core Web Vital の Cumulative Layout Shift(CLS)対策のため
  1197.             // img タグに width, height が付与されている.
  1198.             // 630px 未満の画面サイズでは縦横比が壊れるための対策
  1199.             // see https://github.com/EC-CUBE/ec-cube/pull/5023
  1200.             \$('.ec-grid2__cell').hide();
  1201.             var removeSize = function () {
  1202.                 \$('.slide-item').height('');
  1203.                 \$('.slide-item img')
  1204.                     .removeAttr('width')
  1205.                     .removeAttr('height')
  1206.                     .removeAttr('style');
  1207.             };
  1208.             var slickInitial = function(slick) {
  1209.                 \$('.ec-grid2__cell').fadeIn(1500);
  1210.                 var baseHeight = \$(slick.target).height();
  1211.                 var baseWidth = \$(slick.target).width();
  1212.                 var rate = baseWidth / baseHeight;
  1213.                 \$('.slide-item').height(baseHeight * rate); // 余白を削除する
  1214.                 // transform を使用することでCLSの影響を受けないようにする
  1215.                 \$('.slide-item img')
  1216.                     .css(
  1217.                         {
  1218.                             'transform-origin': 'top left',
  1219.                             'transform': 'scaleY(' + rate + ')',
  1220.                             'transition': 'transform .1s'
  1221.                         }
  1222.                     );
  1223.                 // 正しいサイズに近くなったら属性を解除する
  1224.                 setTimeout(removeSize, 500);
  1225.             };
  1226.             \$('.item_visual').on('init', slickInitial);
  1227.             // リサイズ時は CLS の影響を受けないため属性を解除する
  1228.             \$(window).resize(removeSize);
  1229.             \$('.item_visual').slick({
  1230.                 dots: false,
  1231.                 arrows: false,
  1232.                 responsive: [{
  1233.                     breakpoint: 768,
  1234.                     settings: {
  1235.                         dots: true
  1236.                     }
  1237.                 }]
  1238.             });
  1239.             \$('.slideThumb').on('click', function() {
  1240.                 var index = \$(this).attr('data-index');
  1241.                 \$('.item_visual').slick('slickGoTo', index, false);
  1242.             })
  1243.         });
  1244.     </script>
  1245.     <script>
  1246.         \$(function() {
  1247.             \$('.add-cart').on('click', function(event) {
  1248.                 {% if form.classcategory_id1 is defined %}
  1249.                 // 規格1フォームの必須チェック
  1250.                 if (\$('#classcategory_id1').val() == '__unselected' || \$('#classcategory_id1').val() == '') {
  1251.                     \$('#classcategory_id1')[0].setCustomValidity('{{ '項目が選択されていません'|trans }}');
  1252.                     return true;
  1253.                 } else {
  1254.                     \$('#classcategory_id1')[0].setCustomValidity('');
  1255.                 }
  1256.                 {% endif %}
  1257.                 {% if form.classcategory_id2 is defined %}
  1258.                 // 規格2フォームの必須チェック
  1259.                 if (\$('#classcategory_id2').val() == '__unselected' || \$('#classcategory_id2').val() == '') {
  1260.                     \$('#classcategory_id2')[0].setCustomValidity('{{ '項目が選択されていません'|trans }}');
  1261.                     return true;
  1262.                 } else {
  1263.                     \$('#classcategory_id2')[0].setCustomValidity('');
  1264.                 }
  1265.                 {% endif %}
  1266.                 // 個数フォームのチェック
  1267.                 if (\$('#quantity').val() < 1) {
  1268.                     \$('#quantity')[0].setCustomValidity('{{ '1以上で入力してください。'|trans }}');
  1269.                     return true;
  1270.                 } else {
  1271.                     \$('#quantity')[0].setCustomValidity('');
  1272.                 }
  1273.                 event.preventDefault();
  1274.                 \$form = \$('#form1');
  1275.                 \$.ajax({
  1276.                     url: \$form.attr('action'),
  1277.                     type: \$form.attr('method'),
  1278.                     data: \$form.serialize(),
  1279.                     dataType: 'json',
  1280.                     beforeSend: function(xhr, settings) {
  1281.                         // Buttonを無効にする
  1282.                         \$('.add-cart').prop('disabled', true);
  1283.                     }
  1284.                 }).done(function(data) {
  1285.                     // レスポンス内のメッセージをalertで表示
  1286.                     \$.each(data.messages, function() {
  1287.                         \$('#ec-modal-header').text(this);
  1288.                     });
  1289.                     \$('.ec-modal').show()
  1290.                     // カートブロックを更新する
  1291.                     \$.ajax({
  1292.                         url: \"{{ url('block_cart') }}\",
  1293.                         type: 'GET',
  1294.                         dataType: 'html'
  1295.                     }).done(function(html) {
  1296.                         \$('.ec-headerRole__cart').html(html);
  1297.                     });
  1298.                 }).fail(function(data) {
  1299.                     alert('{{ 'カートへの追加に失敗しました。'|trans }}');
  1300.                 }).always(function(data) {
  1301.                     // Buttonを有効にする
  1302.                     \$('.add-cart').prop('disabled', false);
  1303.                 });
  1304.             });
  1305.         });
  1306.         \$('.ec-modal-wrap').on('click', function(e) {
  1307.             // モーダル内の処理は外側にバブリングさせない
  1308.             e.stopPropagation();
  1309.         });
  1310.         \$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
  1311.             \$('.ec-modal').hide()
  1312.         });
  1313.     </script>
  1314.     <script type=\"application/ld+json\">
  1315.     {
  1316.         \"@context\": \"https://schema.org/\",
  1317.         \"@type\": \"Product\",
  1318.         \"name\": \"{{ Product.name }}\",
  1319.         \"image\": [
  1320.             {% for img in Product.ProductImage %}
  1321.                 \"{{ app.request.schemeAndHttpHost }}{{ asset(img, 'save_image') }}\"{% if not loop.last %},{% endif %}
  1322.             {% else %}
  1323.                 \"{{ app.request.schemeAndHttpHost }}{{ asset(''|no_image_product, 'save_image') }}\"
  1324.             {% endfor %}
  1325.         ],
  1326.         \"description\": \"{{ Product.description_list | default(Product.description_detail) | replace({'\\n': '', '\\r': ''}) | slice(0,300) }}\",
  1327.         {% if Product.code_min %}
  1328.         \"sku\": \"{{ Product.code_min }}\",
  1329.         {% endif %}
  1330.         \"offers\": {
  1331.             \"@type\": \"Offer\",
  1332.             \"url\": \"{{ url('product_detail', {'id': Product.id}) }}\",
  1333.             \"priceCurrency\": \"{{ eccube_config.currency }}\",
  1334.             \"price\": {{ Product.getPrice02IncTaxMin ? Product.getPrice02IncTaxMin : 0}},
  1335.             \"availability\": \"{{ Product.stock_find ? \"InStock\" : \"OutOfStock\" }}\"
  1336.         }
  1337.     }
  1338.     </script>
  1339. {% endblock %}
  1340. {% block main %}
  1341.     <div class=\"ec-productRole\">
  1342.         <div class=\"ec-grid2\">
  1343.             <div class=\"ec-grid2__cell\">
  1344.                 <div class=\"ec-sliderItemRole\">
  1345.                     <div class=\"item_visual\">
  1346.                         {% for ProductImage in Product.ProductImage %}
  1347.                             <div class=\"slide-item\"><img src=\"{{ asset(ProductImage, 'save_image') }}\" alt=\"{{ loop.first ? Product.name : '' }}\" width=\"550\" height=\"550\"{% if loop.index > 1 %} loading=\"lazy\"{% endif %}></div>
  1348.                         {% else %}
  1349.                             <div class=\"slide-item\"><img src=\"{{ asset(''|no_image_product, 'save_image') }}\" alt=\"{{ loop.first ? Product.name : '' }}\" width=\"550\" height=\"550\"></div>
  1350.                         {% endfor %}
  1351.                     </div>
  1352.                     <div class=\"item_nav\">
  1353.                         {% for ProductImage in Product.ProductImage %}
  1354.                             <div class=\"slideThumb\" data-index=\"{{ loop.index0 }}\"><img src=\"{{ asset(ProductImage, 'save_image') }}\" alt=\"\" width=\"133\" height=\"133\" loading=\"lazy\"></div>
  1355.                         {% endfor %}
  1356.                     </div>
  1357.                 </div>
  1358.             </div>
  1359.             <div class=\"ec-grid2__cell\">
  1360.                 <div class=\"ec-productRole__profile\">
  1361.                     {# 商品名 #}
  1362.                     <div class=\"ec-productRole__title\">
  1363.                         <h2 class=\"ec-headingTitle\">{{ Product.name }}</h2>
  1364.                     </div>
  1365.                     {# タグ #}
  1366.                     <ul class=\"ec-productRole__tags\">
  1367.                         {% for Tag in Product.Tags %}
  1368.                             <li class=\"ec-productRole__tag tag_{{ Tag.id }}\">{{ Tag }}</li>
  1369.                         {% endfor %}
  1370.                     </ul>
  1371.                     {# 通常価格 #}
  1372.                     {% if Product.hasProductClass -%}
  1373.                         <div class=\"ec-productRole__priceRegular\">
  1374.                             {% if Product.getPrice01Min is not null and Product.getPrice01IncTaxMin == Product.getPrice01IncTaxMax %}
  1375.                                 <span class=\"ec-productRole__priceRegularPrice\">{{ '通常価格'|trans }}:<span class=\"price01-default\">{{ Product.getPrice01IncTaxMin|price }}</span></span>
  1376.                                 <span class=\"ec-productRole__priceRegularTax\">{{ '税込'|trans }}</span>
  1377.                             {% elseif Product.getPrice01Min is not null and Product.getPrice01Max is not null %}
  1378.                                 <span class=\"ec-productRole__priceRegularPrice\">{{ '通常価格'|trans }}:<span class=\"price01-default\">{{ Product.getPrice01IncTaxMin|price }}~ {{ Product.getPrice01IncTaxMax|price }}</span></span>
  1379.                                 <span class=\"ec-productRole__priceRegularTax\">{{ '税込'|trans }}</span>
  1380.                             {% endif %}
  1381.                         </div>
  1382.                     {% else %}
  1383.                         {% if Product.getPrice01Max is not null %}
  1384.                             <span class=\"ec-productRole__priceRegularPrice\">{{ '通常価格'|trans }}:{{ Product.getPrice01IncTaxMin|price }}</span>
  1385.                             <span class=\"ec-productRole__priceRegularTax\">{{ '税込'|trans }}</span>
  1386.                         {% endif %}
  1387.                     {% endif %}
  1388.                     {# 販売価格 #}
  1389.                     <div class=\"ec-productRole__price\">
  1390.                         {% if Product.hasProductClass -%}
  1391.                             {% if Product.getPrice02IncTaxMin == Product.getPrice02IncTaxMax %}
  1392.                                 <div class=\"ec-price\">
  1393.                                     <span class=\"ec-price__price price02-default\">{{ Product.getPrice02IncTaxMin|price }}</span>
  1394.                                     <span class=\"ec-price__tax\">{{ '税込'|trans }}</span>
  1395.                                 </div>
  1396.                             {% else %}
  1397.                                 <div class=\"ec-price\">
  1398.                                     <span class=\"ec-price__price price02-default\">{{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}</span>
  1399.                                     <span class=\"ec-price__tax\">{{ '税込'|trans }}</span>
  1400.                                 </div>
  1401.                             {% endif %}
  1402.                         {% else %}
  1403.                             <div class=\"ec-price\">
  1404.                                 <span class=\"ec-price__price\">{{ Product.getPrice02IncTaxMin|price }}</span>
  1405.                                 <span class=\"ec-price__tax\">{{ '税込'|trans }}</span>
  1406.                             </div>
  1407.                         {% endif %}
  1408.                     </div>
  1409.                     {# 商品コード #}
  1410.                     {% if Product.code_min is not empty %}
  1411.                         <div class=\"ec-productRole__code\">
  1412.                             {{ '商品コード'|trans }}: <span class=\"product-code-default\">{{ Product.code_min }}{% if Product.code_min != Product.code_max %} ~ {{ Product.code_max }}{% endif %}</span>
  1413.                         </div>
  1414.                     {% endif %}
  1415.                     {# 関連カテゴリ #}
  1416.                     {% if Product.ProductCategories is not empty %}
  1417.                         <div class=\"ec-productRole__category\">
  1418.                             <div>{{ '関連カテゴリ'|trans }}</div>
  1419.                             {% for ProductCategory in Product.ProductCategories %}
  1420.                                 <ul>
  1421.                                     <li>
  1422.                                         {% for Category in ProductCategory.Category.path %}
  1423.                                             <a href=\"{{ url('product_list') }}?category_id={{ Category.id }}\">{{ Category.name }}</a> {%- if loop.last == false %}
  1424.                                             <span>></span>{% endif -%}
  1425.                                         {% endfor %}
  1426.                                     </li>
  1427.                                 </ul>
  1428.                             {% endfor %}
  1429.                         </div>
  1430.                     {% endif %}
  1431.                     <form action=\"{{ url('product_add_cart', {id:Product.id}) }}\" method=\"post\" id=\"form1\" name=\"form1\">
  1432.                         {% if Product.stock_find %}
  1433.                             <div class=\"ec-productRole__actions\">
  1434.                                 {% if form.classcategory_id1 is defined %}
  1435.                                     <div class=\"ec-select\">
  1436.                                         {{ form_row(form.classcategory_id1) }}
  1437.                                         {{ form_errors(form.classcategory_id1) }}
  1438.                                     </div>
  1439.                                     {% if form.classcategory_id2 is defined %}
  1440.                                         <div class=\"ec-select\">
  1441.                                             {{ form_row(form.classcategory_id2) }}
  1442.                                             {{ form_errors(form.classcategory_id2) }}
  1443.                                         </div>
  1444.                                     {% endif %}
  1445.                                 {% endif %}
  1446.                                 <div class=\"ec-numberInput\"><span>{{ '数量'|trans }}</span>
  1447.                                     {{ form_widget(form.quantity) }}
  1448.                                     {{ form_errors(form.quantity) }}
  1449.                                 </div>
  1450.                             </div>
  1451.                             <div class=\"ec-productRole__btn\">
  1452.                                 <button type=\"submit\" class=\"ec-blockBtn--action add-cart\">
  1453.                                     {{ 'カートに入れる'|trans }}
  1454.                                 </button>
  1455.                             </div>
  1456.                         {% else %}
  1457.                             <div class=\"ec-productRole__btn\">
  1458.                                 <button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
  1459.                                     {{ 'ただいま品切れ中です。'|trans }}
  1460.                                 </button>
  1461.                             </div>
  1462.                         {% endif %}
  1463.                         {{ form_rest(form) }}
  1464.                     </form>
  1465.                     <div class=\"ec-modal\">
  1466.                         <div class=\"ec-modal-overlay\">
  1467.                             <div class=\"ec-modal-wrap\">
  1468.                                 <span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"{{ asset('assets/icon/cross-dark.svg') }}\" alt=\"\"/></span></span>
  1469.                                 <div id=\"ec-modal-header\" class=\"text-center\">{{ 'カートに追加しました。'|trans }}</div>
  1470.                                 <div class=\"ec-modal-box\">
  1471.                                     <div class=\"ec-role\">
  1472.                                         <span class=\"ec-inlineBtn--cancel\">{{ 'お買い物を続ける'|trans }}</span>
  1473.                                         <a href=\"{{ url('cart') }}\" class=\"ec-inlineBtn--action\">{{ 'カートへ進む'|trans }}</a>
  1474.                                     </div>
  1475.                                 </div>
  1476.                             </div>
  1477.                         </div>
  1478.                     </div>
  1479.                     {% if BaseInfo.option_favorite_product %}
  1480.                         <form action=\"{{ url('product_add_favorite', {id:Product.id}) }}\" method=\"post\">
  1481.                             <div class=\"ec-productRole__btn\">
  1482.                                 {% if is_favorite == false %}
  1483.                                     <button type=\"submit\" id=\"favorite\" class=\"ec-blockBtn--cancel\">
  1484.                                         {{ 'お気に入りに追加'|trans }}
  1485.                                     </button>
  1486.                                 {% else %}
  1487.                                     <button type=\"submit\" id=\"favorite\" class=\"ec-blockBtn--cancel\"
  1488.                                             disabled=\"disabled\">{{ 'お気に入りに追加済です。'|trans }}
  1489.                                     </button>
  1490.                                 {% endif %}
  1491.                             </div>
  1492.                         </form>
  1493.                     {% endif %}
  1494.                     <div class=\"ec-productRole__description\">{{ Product.description_detail|raw|nl2br }}
  1495.                     </div>
  1496.                 </div>
  1497.             </div>
  1498.         </div>
  1499.         {% if Product.freearea %}
  1500.              <div class=\"ec-productRole__description\">
  1501.                  {{ include(template_from_string(Product.freearea)) }}
  1502.             </div>
  1503.         {% endif %}
  1504.     </div>
  1505.     
  1506.     
  1507. <div class=\"od-links\">
  1508.   <a href=\"https://www.facebook.com/SHIMAOmoi\" target=\"_blank\" rel=\"noopener\">
  1509.     <picture>
  1510.       <source media=\"(max-width:767px)\" srcset=\"/html/user_data/img/detail_sns_01_sp.svg\">
  1511.       <img src=\"/html/user_data/img/detail_sns_01.svg\" alt=\"\" loading=\"lazy\">
  1512.     </picture>
  1513.   </a>
  1514.   <a href=\"https://twitter.com/SHIMA_Omoi\" target=\"_blank\" rel=\"noopener\">
  1515.     <picture>
  1516.       <source media=\"(max-width:767px)\" srcset=\"/html/user_data/img/detail_sns_02_sp.svg\">
  1517.       <img src=\"/html/user_data/img/detail_sns_02.svg\" alt=\"\" loading=\"lazy\">
  1518.     </picture>
  1519.   </a>
  1520.   <a href=\"https://page.line.me/?accountId=069ntivg\" target=\"_blank\" rel=\"noopener\">
  1521.     <picture>
  1522.       <source media=\"(max-width:767px)\" srcset=\"/html/user_data/img/detail_sns_03_sp.svg\">
  1523.       <img src=\"/html/user_data/img/detail_sns_03.svg\" alt=\"\" loading=\"lazy\">
  1524.     </picture>
  1525.   </a>
  1526.   <a href=\"javascript:void(0);\" data-url=\"{{ app.request.scheme ~ '://' ~ app.request.server.get('HTTP_HOST') ~ app.request.server.get('REQUEST_URI') }}\" class=\"js-copy\">
  1527.     <picture>
  1528.       <source media=\"(max-width:767px)\" srcset=\"/html/user_data/img/detail_sns_04_sp.svg\">
  1529.       <img src=\"/html/user_data/img/detail_sns_04.svg\" alt=\"\" loading=\"lazy\">
  1530.     </picture>
  1531.   </a>
  1532. </div>
  1533. {% if Product.id == 3 %}
  1534. <div class=\"od-cont od-cont-blue\">
  1535.   <picture>
  1536.     <source media=\"(max-width:767px)\" srcset=\"/html/user_data/img/detail03_cont01_sp.png\">
  1537.     <img src=\"/html/user_data/img/detail03_cont01_pc.png\" alt=\"\" loading=\"lazy\">
  1538.   </picture>
  1539. </div>
  1540. <div class=\"od-cont\">
  1541.   <picture>
  1542.     <source media=\"(max-width:767px)\" srcset=\"/html/user_data/img/detail03_cont02_sp.png\">
  1543.     <img src=\"/html/user_data/img/detail03_cont02_pc.png\" alt=\"\" loading=\"lazy\">
  1544.   </picture>
  1545. </div>
  1546. <div class=\"od-cont od-cont-blue\">
  1547.   <picture>
  1548.     <source media=\"(max-width:767px)\" srcset=\"/html/user_data/img/detail03_cont03_sp.png\">
  1549.     <img src=\"/html/user_data/img/detail03_cont03_pc.png\" alt=\"\" loading=\"lazy\">
  1550.   </picture>
  1551. </div>
  1552. {% elseif Product.id == 4 %}
  1553. <div class=\"od-cont od-cont-blue\">
  1554.   <picture>
  1555.     <source media=\"(max-width:767px)\" srcset=\"/html/user_data/img/detail04_cont01_sp.png\">
  1556.     <img src=\"/html/user_data/img/detail04_cont01_pc.png\" alt=\"\" loading=\"lazy\">
  1557.   </picture>
  1558. </div>
  1559. <div class=\"od-cont\">
  1560.   <picture>
  1561.     <source media=\"(max-width:767px)\" srcset=\"/html/user_data/img/detail04_cont02_sp.png\">
  1562.     <img src=\"/html/user_data/img/detail04_cont02_pc.png\" alt=\"\" loading=\"lazy\">
  1563.   </picture>
  1564. </div>
  1565. <div class=\"od-cont od-cont-blue\">
  1566.   <picture>
  1567.     <source media=\"(max-width:767px)\" srcset=\"/html/user_data/img/detail04_cont03_sp.png\">
  1568.     <img src=\"/html/user_data/img/detail04_cont03_pc.png\" alt=\"\" loading=\"lazy\">
  1569.   </picture>
  1570. </div>
  1571. {% elseif Product.id == 5 %}
  1572. <div class=\"od-cont od-cont-blue\">
  1573.   <picture>
  1574.     <source media=\"(max-width:767px)\" srcset=\"/html/user_data/img/detail05_cont01_sp.png\">
  1575.     <img src=\"/html/user_data/img/detail05_cont01_pc.png\" alt=\"\" loading=\"lazy\">
  1576.   </picture>
  1577. </div>
  1578. <div class=\"od-cont\">
  1579.   <picture>
  1580.     <source media=\"(max-width:767px)\" srcset=\"/html/user_data/img/detail05_cont02_sp.png\">
  1581.     <img src=\"/html/user_data/img/detail05_cont02_pc.png\" alt=\"\" loading=\"lazy\">
  1582.   </picture>
  1583. </div>
  1584. <div class=\"od-cont od-cont-blue\">
  1585.   <picture>
  1586.     <source media=\"(max-width:767px)\" srcset=\"/html/user_data/img/detail05_cont03_sp.png\">
  1587.     <img src=\"/html/user_data/img/detail05_cont03_pc.png\" alt=\"\" loading=\"lazy\">
  1588.   </picture>
  1589. </div>
  1590. {% elseif Product.id == 6 %}
  1591. <div class=\"od-cont od-cont-blue\">
  1592.   <picture>
  1593.     <source media=\"(max-width:767px)\" srcset=\"/html/user_data/img/detail06_cont01_sp.png\">
  1594.     <img src=\"/html/user_data/img/detail06_cont01_pc.png\" alt=\"\" loading=\"lazy\">
  1595.   </picture>
  1596. </div>
  1597. <div class=\"od-cont\">
  1598.   <picture>
  1599.     <source media=\"(max-width:767px)\" srcset=\"/html/user_data/img/detail06_cont02_sp.png\">
  1600.     <img src=\"/html/user_data/img/detail06_cont02_pc.png\" alt=\"\" loading=\"lazy\">
  1601.   </picture>
  1602. </div>
  1603. <div class=\"od-cont od-cont-blue\">
  1604.   <picture>
  1605.     <source media=\"(max-width:767px)\" srcset=\"/html/user_data/img/detail06_cont03_sp.png\">
  1606.     <img src=\"/html/user_data/img/detail06_cont03_pc.png\" alt=\"\" loading=\"lazy\">
  1607.   </picture>
  1608. </div>
  1609. {% endif %}
  1610. <div class=\"od-listBack\"><a href=\"/products/list\">一覧に戻る</a></div>
  1611. {% endblock %}""Product/detail.twig""/home/users/1/pepper.jp-starfactory/web/asobo/app/template/default/Product/detail.twig");
  1612.     }
  1613. }