<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* Product/detail.twig */
class __TwigTemplate_3df786f3577e29f48baacf43228197ddbfea450b9f5cca9414a0455c4ca936a7 extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'stylesheet' => [$this, 'block_stylesheet'],
'javascript' => [$this, 'block_javascript'],
'javascript2' => [$this, 'block_javascript2'],
'main' => [$this, 'block_main'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "default_frame.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Product/detail.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Product/detail.twig"));
// line 3
$context["body_class"] = "product_detail_page";
// line 1
$this->parent = $this->loadTemplate("default_frame.twig", "Product/detail.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 5
public function block_stylesheet($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
// line 6
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/style.css"), "html", null, true);
echo "\" media=\"all\" />
<link rel=\"stylesheet\" type=\"text/css\" href=\"";
// line 7
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/modal_style.css"), "html", null, true);
echo "\" media=\"all\" />
<link rel=\"stylesheet\" type=\"text/css\" href=\"";
// line 8
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/script/slick.css"), "html", null, true);
echo "\" media=\"all\" />
<link rel=\"stylesheet\" type=\"text/css\" href=\"";
// line 9
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/script/slick-theme.css"), "html", null, true);
echo "\" media=\"all\" />
<link rel=\"stylesheet\" type=\"text/css\" href=\"";
// line 10
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/script/scroll-hint.css"), "html", null, true);
echo "\" media=\"all\" />
<link rel=\"stylesheet\" type=\"text/css\" href=\"";
// line 11
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/base.css"), "html", null, true);
echo "\" media=\"all\" />
<link rel=\"stylesheet\" type=\"text/css\" href=\"";
// line 12
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/next.css"), "html", null, true);
echo "\" media=\"all\" />
<link rel=\"stylesheet\" type=\"text/css\" href=\"";
// line 13
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/add.css"), "html", null, true);
echo "\" media=\"all\" />
<style>
.slick-slider {
margin-bottom: 30px;
}
.slick-dots {
position: absolute;
bottom: -45px;
display: block;
width: 100%;
padding: 0;
list-style: none;
text-align: center;
}
.slick-dots li {
position: relative;
display: inline-block;
width: 20px;
height: 20px;
margin: 0 5px;
padding: 0;
cursor: pointer;
}
.slick-dots li button {
font-size: 0;
line-height: 0;
display: block;
width: 20px;
height: 20px;
padding: 5px;
cursor: pointer;
color: transparent;
border: 0;
outline: none;
background: transparent;
}
.slick-dots li button:hover,
.slick-dots li button:focus {
outline: none;
}
.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
opacity: 1;
}
.slick-dots li button:before {
content: \" \";
line-height: 20px;
position: absolute;
top: 0;
left: 0;
width: 12px;
height: 12px;
text-align: center;
opacity: .25;
background-color: black;
border-radius: 50%;
}
.slick-dots li.slick-active button:before {
opacity: .75;
background-color: black;
}
.slick-dots li button.thumbnail img {
width: 0;
height: 0;
}
.heading-accessories{
color: #00848f;
font-size: 3rem;
}
</style>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 97
public function block_javascript($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
// line 98
echo "<script src=\"https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js\"></script>
<script src=\"";
// line 99
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/jquery.easing.1.3.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 100
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/jquery.smoothScroll.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 101
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/jquery.magnific-popup.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 102
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/emergence.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 103
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/slick.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 104
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/scroll-hint.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 105
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/effects.js"), "html", null, true);
echo "\"></script>
<script>
\$(function(){
slider = \$('#slider').slick({
autoplay: false,
autoplaySpeed: 3000,
speed: 600,
arrows: true,
dots:false,
fade: false,
prevArrow: true,
nextArrow: true,
});
var i,index;
var nav = \$(\".slides-nav\");
nav.find(\"li\").eq(0).addClass('current');
nav.find(\"li\").on(\"click\",function(){
i = nav.find(\"li\").index(this);
slider.slick(\"slickGoTo\",parseInt(i));
});
slider.on(\"afterChange\",function(event, slick, currentSlide){
index = \$(slick.\$slides.get(currentSlide)).attr('data-slick-index');
nav.find(\"li\").removeClass(\"current\");
nav.find(\"li\").eq(index).addClass('current');
});
new ScrollHint('.js-scrollable');
});
</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 134
public function block_javascript2($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript2"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript2"));
// line 135
echo "<script>
eccube.classCategories = ";
// line 136
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.', 136, $this->source); })()));
echo ";
// 規格2に選択肢を割り当てる。
function fnSetClassCategories(form, classcat_id2_selected) {
var \$form = \$(form);
var product_id = \$form.find('input[name=product_id]').val();
var \$sele1 = \$form.find('select[name=classcategory_id1]');
var \$sele2 = \$form.find('select[name=classcategory_id2]');
eccube.setClassCategories(\$form, product_id, \$sele1, \$sele2, classcat_id2_selected);
}
";
// line 147
if (twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "classcategory_id2", [], "any", true, true, false, 147)) {
// line 148
echo " fnSetClassCategories(
\$('#form1'), ";
// line 149
echo json_encode(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 149, $this->source); })()), "classcategory_id2", [], "any", false, false, false, 149), "vars", [], "any", false, false, false, 149), "value", [], "any", false, false, false, 149));
echo "
);
";
} elseif (twig_get_attribute($this->env, $this->source, // line 151
($context["form"] ?? null), "classcategory_id1", [], "any", true, true, false, 151)) {
// line 152
echo " eccube.checkStock(\$('#form1'), ";
echo twig_escape_filter($this->env, 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.', 152, $this->source); })()), "id", [], "any", false, false, false, 152), "html", null, true);
echo ", ";
echo json_encode(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 152, $this->source); })()), "classcategory_id1", [], "any", false, false, false, 152), "vars", [], "any", false, false, false, 152), "value", [], "any", false, false, false, 152));
echo ", null);
";
}
// line 154
echo "</script>
<script>
\$(function() {
// bfcache無効化
\$(window).bind('pageshow', function(event) {
if (event.originalEvent.persisted) {
location.reload(true);
}
});
\$('.item_visual').slick({
dots: false,
arrows: false,
responsive: [{
breakpoint: 768,
settings: {
dots: true
}
}]
});
\$('.slideThumb').on('click', function() {
var index = \$(this).attr('data-index');
\$('.item_visual').slick('slickGoTo', index, false);
})
});
</script>
<script>
\$(function() {
\$('.add-cart').on('click', function(event) {
";
// line 184
if (twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "classcategory_id1", [], "any", true, true, false, 184)) {
// line 185
echo " // 規格1フォームの必須チェック
if (\$('#classcategory_id1').val() == '__unselected' || \$('#classcategory_id1').val() == '') {
\$('#classcategory_id1')[0].setCustomValidity('";
// line 187
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("項目が選択されていません"), "html", null, true);
echo "');
return true;
} else {
\$('#classcategory_id1')[0].setCustomValidity('');
}
";
}
// line 193
echo "
";
// line 194
if (twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "classcategory_id2", [], "any", true, true, false, 194)) {
// line 195
echo " // 規格2フォームの必須チェック
if (\$('#classcategory_id2').val() == '__unselected' || \$('#classcategory_id2').val() == '') {
\$('#classcategory_id2')[0].setCustomValidity('";
// line 197
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("項目が選択されていません"), "html", null, true);
echo "');
return true;
} else {
\$('#classcategory_id2')[0].setCustomValidity('');
}
";
}
// line 203
echo "
// 個数フォームのチェック
if (\$('#quantity').val() < 1) {
\$('#quantity')[0].setCustomValidity('";
// line 206
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("1以上で入力してください。"), "html", null, true);
echo "');
return true;
} else {
\$('#quantity')[0].setCustomValidity('');
}
event.preventDefault();
\$form = \$('#form1');
\$.ajax({
url: \$form.attr('action'),
type: \$form.attr('method'),
data: \$form.serialize(),
dataType: 'json',
beforeSend: function(xhr, settings) {
// Buttonを無効にする
\$('.add-cart').prop('disabled', true);
}
}).done(function(data) {
// レスポンス内のメッセージをalertで表示
\$.each(data.messages, function() {
\$('#ec-modal-header').html(this);
});
\$('.ec-modal').show()
// カートブロックを更新する
\$.ajax({
url: \"";
// line 233
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("block_cart");
echo "\",
type: 'GET',
dataType: 'html'
}).done(function(html) {
\$('.ec-headerRole__cart').html(html);
});
}).fail(function(data) {
alert('";
// line 240
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへの追加に失敗しました。"), "html", null, true);
echo "');
}).always(function(data) {
// Buttonを有効にする
\$('.add-cart').prop('disabled', false);
});
});
});
\$('.ec-modal-overlay, .ec-modal .ec-inlineBtn--cancel').on('click', function() {
\$('.ec-modal').hide()
});
</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 254
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 255
echo "<div class=\"breadcrumb\">
<ul>
<li><a href=\"";
// line 257
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/next/icon-home.svg"), "html", null, true);
echo "\" alt=\"HOME\">HOME</a></li>
<li><a href=\"";
// line 258
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "\">製品情報</a></li>
<li>";
// line 259
echo twig_escape_filter($this->env, 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.', 259, $this->source); })()), "name", [], "any", false, false, false, 259), "html", null, true);
echo "</li>
</ul>
</div>
<main class=\"next\">
<section id=\"products-detail-top\">
<div class=\"s_content add-l_eng-title\">
<div class=\"heading-lv03\">
";
// line 266
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["Product"] ?? null), "ProductCategories", [], "any", false, true, false, 266), 0, [], "array", false, true, false, 266), "Category", [], "any", false, true, false, 266), "class_name", [], "any", true, true, false, 266)) {
// line 267
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 267, $this->source); })()), "ProductCategories", [], "any", false, false, false, 267), 0, [], "array", false, false, false, 267), "Category", [], "any", false, false, false, 267), "class_name", [], "any", false, false, false, 267), "html", null, true);
echo "
";
}
// line 269
echo " </div>
<h2 class=\"heading-lv02\">";
// line 271
echo twig_escape_filter($this->env, 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.', 271, $this->source); })()), "name", [], "any", false, false, false, 271), "html", null, true);
echo "<span>";
echo twig_escape_filter($this->env, 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.', 271, $this->source); })()), "code_min", [], "any", false, false, false, 271), "html", null, true);
echo "</span></h2>
<div class=\"products-summary\">
<div class=\"item-img\">
<ul id=\"slider\">
";
// line 276
$context["listImages"] = 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.', 276, $this->source); })()), "getListImages", [], "method", false, false, false, 276);
// line 277
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(0, (twig_get_attribute($this->env, $this->source, (isset($context["listImages"]) || array_key_exists("listImages", $context) ? $context["listImages"] : (function () { throw new RuntimeError('Variable "listImages" does not exist.', 277, $this->source); })()), "length", [], "array", false, false, false, 277) - 1)));
$context['_iterated'] = false;
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 278
echo " ";
$context["main_image"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["listImages"] ?? null), "images_pc", [], "any", false, true, false, 278), $context["i"], [], "array", true, true, false, 278)) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["listImages"]) || array_key_exists("listImages", $context) ? $context["listImages"] : (function () { throw new RuntimeError('Variable "listImages" does not exist.', 278, $this->source); })()), "images_pc", [], "any", false, false, false, 278), $context["i"], [], "array", false, false, false, 278)) : (null));
// line 279
echo " ";
$context["mobile_image"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["listImages"] ?? null), "images_mb", [], "any", false, true, false, 279), $context["i"], [], "array", true, true, false, 279)) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["listImages"]) || array_key_exists("listImages", $context) ? $context["listImages"] : (function () { throw new RuntimeError('Variable "listImages" does not exist.', 279, $this->source); })()), "images_mb", [], "any", false, false, false, 279), $context["i"], [], "array", false, false, false, 279)) : (null));
// line 280
echo " <li><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct((isset($context["main_image"]) || array_key_exists("main_image", $context) ? $context["main_image"] : (function () { throw new RuntimeError('Variable "main_image" does not exist.', 280, $this->source); })())), "save_image"), "html", null, true);
echo "\" srcset=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct((isset($context["main_image"]) || array_key_exists("main_image", $context) ? $context["main_image"] : (function () { throw new RuntimeError('Variable "main_image" does not exist.', 280, $this->source); })())), "save_image"), "html", null, true);
echo " 1x, ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct((isset($context["mobile_image"]) || array_key_exists("mobile_image", $context) ? $context["mobile_image"] : (function () { throw new RuntimeError('Variable "mobile_image" does not exist.', 280, $this->source); })())), "save_image"), "html", null, true);
echo " 2x\" width=\"500\" height=\"370\"></li>
";
$context['_iterated'] = true;
}
if (!$context['_iterated']) {
// line 282
echo " <li><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(""), "save_image"), "html", null, true);
echo "\" width=\"500\" height=\"370\"></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 284
echo " </ul>
<ul class=\"slides-nav\">
";
// line 286
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(0, (twig_get_attribute($this->env, $this->source, (isset($context["listImages"]) || array_key_exists("listImages", $context) ? $context["listImages"] : (function () { throw new RuntimeError('Variable "listImages" does not exist.', 286, $this->source); })()), "length", [], "array", false, false, false, 286) - 1)));
$context['_iterated'] = false;
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 287
echo " ";
$context["main_image"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["listImages"] ?? null), "images_pc", [], "any", false, true, false, 287), $context["i"], [], "array", true, true, false, 287)) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["listImages"]) || array_key_exists("listImages", $context) ? $context["listImages"] : (function () { throw new RuntimeError('Variable "listImages" does not exist.', 287, $this->source); })()), "images_pc", [], "any", false, false, false, 287), $context["i"], [], "array", false, false, false, 287)) : (null));
// line 288
echo " ";
$context["mobile_image"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["listImages"] ?? null), "images_mb", [], "any", false, true, false, 288), $context["i"], [], "array", true, true, false, 288)) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["listImages"]) || array_key_exists("listImages", $context) ? $context["listImages"] : (function () { throw new RuntimeError('Variable "listImages" does not exist.', 288, $this->source); })()), "images_mb", [], "any", false, false, false, 288), $context["i"], [], "array", false, false, false, 288)) : (null));
// line 289
echo " <li><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct((isset($context["main_image"]) || array_key_exists("main_image", $context) ? $context["main_image"] : (function () { throw new RuntimeError('Variable "main_image" does not exist.', 289, $this->source); })())), "save_image"), "html", null, true);
echo "\" srcset=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct((isset($context["main_image"]) || array_key_exists("main_image", $context) ? $context["main_image"] : (function () { throw new RuntimeError('Variable "main_image" does not exist.', 289, $this->source); })())), "save_image"), "html", null, true);
echo " 1x, ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct((isset($context["mobile_image"]) || array_key_exists("mobile_image", $context) ? $context["mobile_image"] : (function () { throw new RuntimeError('Variable "mobile_image" does not exist.', 289, $this->source); })())), "save_image"), "html", null, true);
echo " 2x\" width=\"115\" height=\"80\"></li>
";
$context['_iterated'] = true;
}
if (!$context['_iterated']) {
// line 291
echo " <li><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(""), "save_image"), "html", null, true);
echo "\" width=\"115\" height=\"80\"></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 293
echo " </ul>
</div>
<div class=\"item-text\">
<div class=\"post\">
";
// line 297
echo 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.', 297, $this->source); })()), "description_detail", [], "any", false, false, false, 297));
echo "
</div>
<div class=\"link-box\">
<div class=\"item-title\">オープン価格</div>
<div class=\"item-btn\">
<p><a href=\"#products-detail-cart\" class=\"btn radius sml2 sml bg w200\">シリウスストアで購入</a></p>
</div>
</div>
</div>
</div>
<div class=\"products-features\">
<div class=\"heading-lv07\">製品特長</div>
<div class=\"products-block\">
";
// line 311
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.', 311, $this->source); })()), "product_url_video", [], "any", false, false, false, 311)) {
// line 312
echo " <div class=\"movie\">
<iframe width=\"560\" height=\"315\" src=\"";
// line 313
echo twig_escape_filter($this->env, (isset($context["videoUrl"]) || array_key_exists("videoUrl", $context) ? $context["videoUrl"] : (function () { throw new RuntimeError('Variable "videoUrl" does not exist.', 313, $this->source); })()), "html", null, true);
echo "\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>
</div>
";
}
// line 316
echo " <ul class=\"point-list\">
";
// line 317
$context['_parent'] = $context;
$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.', 317, $this->source); })()), "BlockFeatures", [], "any", false, false, false, 317));
foreach ($context['_seq'] as $context["_key"] => $context["BlockFeatures"]) {
// line 318
echo " <li class=\"itemFreature\">
<div class=\"item-img\">
<img src=\"";
// line 320
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["BlockFeatures"], "getFeatureImage", [], "method", false, false, false, 320)), "save_features"), "html", null, true);
echo "\" srcset=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["BlockFeatures"], "getFeatureImage", [], "method", false, false, false, 320)), "save_features"), "html", null, true);
echo " 1x, ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["BlockFeatures"], "getFeatureImage", [], "method", false, false, false, 320)), "save_features"), "html", null, true);
echo " 2x\" width=\"280\" height=\"200\" alt=\"\">
</div>
<div class=\"item-text\">
";
// line 323
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["BlockFeatures"], "getFeatureName", [], "method", false, false, false, 323), "html", null, true);
echo "
</div>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['BlockFeatures'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 327
echo " </ul>
</div>
</div>
</div>
</section>
<section id=\"products-detail-conv\">
<div class=\"inside\">
<div class=\"item-img\"><img src=\"";
// line 335
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(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.', 335, $this->source); })()), "image_pc", [], "any", false, false, false, 335)), "save_image"), "html", null, true);
echo "\" width=\"243\" height=\"180\" alt=\"";
echo twig_escape_filter($this->env, 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.', 335, $this->source); })()), "name", [], "any", false, false, false, 335), "html", null, true);
echo "\"></div>
<div class=\"item-text\">
<p class=\"title\">";
// line 337
echo twig_escape_filter($this->env, 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.', 337, $this->source); })()), "name", [], "any", false, false, false, 337), "html", null, true);
echo "</p>
<div class=\"price-area\">
<p class=\"price\">";
// line 339
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.', 339, $this->source); })()), "getPrice02IncTaxMin", [], "any", false, false, false, 339)), "html", null, true);
echo " <small>(税込)</small></p>
<p><a href=\"#products-detail-cart\" class=\"btn radius sml2 sml bg w200\">シリウスストアで購入</a></p>
</div>
</div>
</div>
</section>
<section id=\"products-detail-specification\">
<div class=\"s_content add-l_eng-title\">
";
// line 353
echo " <div class=\"specification\">
<div class=\"heading-lv07\">製品仕様</div>
<div class=\"img-table\">
<div class=\"item-table\">
<div class=\"js-scrollable\">
";
// line 358
echo twig_include($this->env, $context, twig_template_from_string($this->env, 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.', 358, $this->source); })()), "freearea", [], "any", false, false, false, 358)));
echo "
</div>
</div>
<div class=\"item-img\">
<div class=\"img-inside\">
";
// line 363
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.', 363, $this->source); })()), "product_image_free_area", [], "any", false, false, false, 363)) {
// line 364
echo " <p class=\"img\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(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.', 364, $this->source); })()), "product_image_free_area", [], "any", false, false, false, 364)), "save_logo"), "html", null, true);
echo "\" srcset=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(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.', 364, $this->source); })()), "product_image_free_area", [], "any", false, false, false, 364)), "save_logo"), "html", null, true);
echo " 1x, ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(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.', 364, $this->source); })()), "product_image_free_area", [], "any", false, false, false, 364)), "save_logo"), "html", null, true);
echo " 2x\" width=\"280\" height=\"150\" alt=\"";
echo twig_escape_filter($this->env, 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.', 364, $this->source); })()), "name", [], "any", false, false, false, 364), "html", null, true);
echo "\"></p>
";
}
// line 366
echo " ";
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.', 366, $this->source); })()), "product_logo", [], "any", false, false, false, 366) || 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.', 366, $this->source); })()), "product_caption", [], "any", false, false, false, 366))) {
// line 367
echo " <p class=\"logo\">
";
// line 368
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.', 368, $this->source); })()), "product_logo", [], "any", false, false, false, 368)) {
// line 369
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(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.', 369, $this->source); })()), "product_logo", [], "any", false, false, false, 369)), "save_logo"), "html", null, true);
echo "\"
srcset=\"";
// line 370
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(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.', 370, $this->source); })()), "product_logo", [], "any", false, false, false, 370)), "save_logo"), "html", null, true);
echo " 1x, ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(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.', 370, $this->source); })()), "product_logo", [], "any", false, false, false, 370)), "save_logo"), "html", null, true);
echo " 2x\" width=\"123\" height=\"34\" alt=\"";
echo twig_escape_filter($this->env, 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.', 370, $this->source); })()), "name", [], "any", false, false, false, 370), "html", null, true);
echo "\">
";
}
// line 372
echo " <span>";
echo twig_escape_filter($this->env, 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); })()), "product_caption", [], "any", false, false, false, 372), "html", null, true);
echo "</span>
</p>
";
}
// line 375
echo " </div>
</div>
</div>
</div>
</div>
</section>
<section id=\"suport-block\">
<div class=\"heading-lv07\">お客様サポート</div>
<div class=\"s_content bg\">
<div class=\"btn-block\">
<div>
<a href=\"";
// line 387
echo twig_escape_filter($this->env, 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.', 387, $this->source); })()), "product_url_qa", [], "any", false, false, false, 387), "html", null, true);
echo "\" class=\"btn lg2 fs16 box black bg-white icon-faq fw-n\">よくある質問</a>
</div>
<div>
";
// line 390
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.', 390, $this->source); })()), "product_pdf_catalog", [], "any", false, false, false, 390)) {
// line 391
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(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.', 391, $this->source); })()), "product_pdf_catalog", [], "any", false, false, false, 391), "save_pdf"), "html", null, true);
echo "\" class=\"btn lg2 fs16 box black bg-white icon-katarog fw-n\">製品カタログ</a>
";
} else {
// line 393
echo " <a href=\"\" class=\"btn lg2 fs16 box black bg-white icon-katarog fw-n\">製品カタログ</a>
";
}
// line 395
echo " </div>
<div>
";
// line 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.', 397, $this->source); })()), "product_pdf_manuals", [], "any", false, false, false, 397)) {
// line 398
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(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.', 398, $this->source); })()), "product_pdf_manuals", [], "any", false, false, false, 398), "save_pdf"), "html", null, true);
echo "\" class=\"btn lg2 fs16 box black bg-white icon-torisetu fw-n\">取扱説明書</a>
";
} else {
// line 400
echo " <a href=\"\" class=\"btn lg2 fs16 box black bg-white icon-torisetu fw-n\">取扱説明書</a>
";
}
// line 402
echo " </div>
</div>
</div>
</section>
<section id=\"products-detail-cart\">
<div class=\"s_content add-l_eng-title\">
<div class=\"heading-lv03\">
";
// line 410
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["Product"] ?? null), "ProductCategories", [], "any", false, true, false, 410), 0, [], "array", false, true, false, 410), "Category", [], "any", false, true, false, 410), "class_name", [], "any", true, true, false, 410)) {
// line 411
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 411, $this->source); })()), "ProductCategories", [], "any", false, false, false, 411), 0, [], "array", false, false, false, 411), "Category", [], "any", false, false, false, 411), "class_name", [], "any", false, false, false, 411), "html", null, true);
echo "
";
}
// line 413
echo " </div>
<div class=\"img-text-column2\">
<div class=\"item-img\">
";
// line 416
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.', 416, $this->source); })()), "image_pc", [], "any", false, false, false, 416) || 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.', 416, $this->source); })()), "image_mb", [], "any", false, false, false, 416))) {
// line 417
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/next/product-detail/thmb01.jpg"), "html", null, true);
echo "\" srcset=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(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.', 417, $this->source); })()), "image_pc", [], "any", false, false, false, 417), "save_image"), "html", null, true);
echo " 1x, ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(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.', 417, $this->source); })()), "image_mb", [], "any", false, false, false, 417), "save_image"), "html", null, true);
echo " 2x\" width=\"500\" height=\"370\">
";
} else {
// line 419
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(""), "save_image"), "html", null, true);
echo "\" width=\"500\" height=\"370\">
";
}
// line 421
echo " </div>
<div class=\"item-text\">
<div class=\"title\">";
// line 423
echo twig_escape_filter($this->env, 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.', 423, $this->source); })()), "name", [], "any", false, false, false, 423), "html", null, true);
echo "<span>";
echo twig_escape_filter($this->env, 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.', 423, $this->source); })()), "code_min", [], "any", false, false, false, 423), "html", null, true);
echo "</span></div>
<div class=\"price\">
<div class=\"tax\">販売価格 : <span>";
// line 425
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.', 425, $this->source); })()), "getPrice02IncTaxMin", [], "any", false, false, false, 425)), "html", null, true);
echo "</span><small>(税込)</small></div>
<div class=\"no-tax\">";
// line 426
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.', 426, $this->source); })()), "getPrice02Min", [], "any", false, false, false, 426)), "html", null, true);
echo "<small>(税抜)</small></div>
</div>
<p class=\"mb30\">高額商品をご注文いただいたお客様には、弊社より<b>お電話にて『ご本人確認』のご連絡</b>を差し上げます。<br>ご本人確認ができない場合、<b>ご注文をキャンセルとさせていただくことがございます</b>。予めご了承ください。</p>
<form action=\"";
// line 429
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.', 429, $this->source); })()), "id", [], "any", false, false, false, 429)]), "html", null, true);
echo "\" method=\"post\" id=\"form1\" name=\"form1\">
";
// line 430
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.', 430, $this->source); })()), "stock_find", [], "any", false, false, false, 430)) {
// line 431
echo " <div class=\"number\">
<div class=\"txt\">数量</div>
";
// line 433
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.', 433, $this->source); })()), "quantity", [], "any", false, false, false, 433), 'widget');
echo "
";
// line 434
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.', 434, $this->source); })()), "quantity", [], "any", false, false, false, 434), 'errors');
echo "
</div>
";
// line 437
if (twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "classcategory_id1", [], "any", true, true, false, 437)) {
// line 438
echo " <div class=\"kikaku-box\">
<div class=\"title\">
規格
</div>
<div class=\"ec-select\">
";
// line 443
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.', 443, $this->source); })()), "classcategory_id1", [], "any", false, false, false, 443), 'widget');
echo "
";
// line 444
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.', 444, $this->source); })()), "classcategory_id1", [], "any", false, false, false, 444), 'errors');
echo "
</div>
</div>
";
// line 447
if (twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "classcategory_id2", [], "any", true, true, false, 447)) {
// line 448
echo " <div class=\"kikaku-box\">
<div class=\"title\">
規格
</div>
<div class=\"ec-select\">
";
// line 453
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.', 453, $this->source); })()), "classcategory_id2", [], "any", false, false, false, 453), 'widget');
echo "
";
// line 454
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.', 454, $this->source); })()), "classcategory_id2", [], "any", false, false, false, 454), 'errors');
echo "
</div>
</div>
";
}
// line 458
echo " ";
}
// line 459
echo "
<div class=\"cart-btn\">
<div>
<button type=\"submit\" class=\"ec-blockBtn--action add-cart\">
";
// line 463
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに入れる"), "html", null, true);
echo "
</button>
</div>
<span>※ギフト包装は承っておりません。</span>
</div>
";
} else {
// line 469
echo " <div class=\"ec-productRole__btn\">
<button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
";
// line 471
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ただいま品切れ中です。"), "html", null, true);
echo "
</button>
</div>
";
}
// line 475
echo " ";
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.', 475, $this->source); })()), 'rest');
echo "
</form>
</div>
</div>
</div>
</section>
<section class=\"ec-grid2\">
<div class=\"s_content ec-grid2__cell\">
<div class=\"ec-productRole__profile\">
<div class=\"ec-modal\">
<div class=\"ec-modal-overlay\">
<div class=\"ec-modal-wrap\">
<span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"";
// line 488
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/cross-dark.svg"), "html", null, true);
echo "\" alt=\"\"/></span></span>
<div id=\"ec-modal-header\" class=\"text-center\">";
// line 489
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに追加しました。"), "html", null, true);
echo "</div>
<div class=\"ec-modal-box\">
<div class=\"ec-role\">
<span class=\"ec-inlineBtn--cancel\">";
// line 492
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お買い物を続ける"), "html", null, true);
echo "</span>
<a href=\"";
// line 493
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
echo "\" class=\"ec-inlineBtn--action\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへ進む"), "html", null, true);
echo "</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
";
// line 504
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["Product"] ?? null), "RelatedProducts", [], "any", false, true, false, 504), 0, [], "array", true, true, false, 504)) {
// line 505
echo " <section>
<div class=\"accessories\">
<div class=\"s_content\">
<h2 class=\"heading-lv04\">Accessories<span>関連商品</span></h2>
<ul class=\"accessories-list\">
";
// line 510
$context['_parent'] = $context;
$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.', 510, $this->source); })()), "RelatedProducts", [], "any", false, false, false, 510));
foreach ($context['_seq'] as $context["_key"] => $context["RelatedProduct"]) {
// line 511
echo " ";
$context["ChildProduct"] = twig_get_attribute($this->env, $this->source, $context["RelatedProduct"], "ChildProduct", [], "any", false, false, false, 511);
// line 512
echo " ";
$context["productImages"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["RelatedProduct"], "ChildProduct", [], "any", false, false, false, 512), "getListImages", [], "method", false, false, false, 512);
// line 513
echo " ";
$context["main_image"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["productImages"] ?? null), "images_pc", [], "any", false, true, false, 513), 0, [], "array", true, true, false, 513)) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["productImages"]) || array_key_exists("productImages", $context) ? $context["productImages"] : (function () { throw new RuntimeError('Variable "productImages" does not exist.', 513, $this->source); })()), "images_pc", [], "any", false, false, false, 513), 0, [], "array", false, false, false, 513)) : (null));
// line 514
echo " ";
$context["mobile_image"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["productImages"] ?? null), "images_mb", [], "any", false, true, false, 514), 0, [], "array", true, true, false, 514)) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["productImages"]) || array_key_exists("productImages", $context) ? $context["productImages"] : (function () { throw new RuntimeError('Variable "productImages" does not exist.', 514, $this->source); })()), "images_mb", [], "any", false, false, false, 514), 0, [], "array", false, false, false, 514)) : (null));
// line 515
echo "
";
// line 518
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["ChildProduct"]) || array_key_exists("ChildProduct", $context) ? $context["ChildProduct"] : (function () { throw new RuntimeError('Variable "ChildProduct" does not exist.', 518, $this->source); })()), "Status", [], "any", false, false, false, 518), "id", [], "any", false, false, false, 518) == twig_constant("Eccube\\Entity\\Master\\ProductStatus::DISPLAY_SHOW"))) {
// line 519
echo " <li>
<div>
<div class=\"item-img\">
<a href=\"";
// line 522
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["ChildProduct"]) || array_key_exists("ChildProduct", $context) ? $context["ChildProduct"] : (function () { throw new RuntimeError('Variable "ChildProduct" does not exist.', 522, $this->source); })()), "id", [], "any", false, false, false, 522)]), "html", null, true);
echo "\">
<img src=\"";
// line 523
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct((isset($context["main_image"]) || array_key_exists("main_image", $context) ? $context["main_image"] : (function () { throw new RuntimeError('Variable "main_image" does not exist.', 523, $this->source); })())), "save_image"), "html", null, true);
echo "\" srcset=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct((isset($context["main_image"]) || array_key_exists("main_image", $context) ? $context["main_image"] : (function () { throw new RuntimeError('Variable "main_image" does not exist.', 523, $this->source); })())), "save_image"), "html", null, true);
echo " 1x,";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct((isset($context["mobile_image"]) || array_key_exists("mobile_image", $context) ? $context["mobile_image"] : (function () { throw new RuntimeError('Variable "mobile_image" does not exist.', 523, $this->source); })())), "save_image"), "html", null, true);
echo " 2x\" width=\"176\" height=\"176\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["RelatedProduct"], "ChildProduct", [], "any", false, false, false, 523), "name", [], "any", false, false, false, 523), "html", null, true);
echo "\">
</a>
</div>
<div class=\"item-text\">
<p class=\"number\">";
// line 527
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["RelatedProduct"], "ChildProduct", [], "any", false, false, false, 527), "code_min", [], "any", false, false, false, 527), "html", null, true);
echo "</p>
<p class=\"name\">";
// line 528
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["RelatedProduct"], "ChildProduct", [], "any", false, false, false, 528), "name", [], "any", false, false, false, 528), "html", null, true);
echo "</p>
<div class=\"price\">希望小売価格:
";
// line 530
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["RelatedProduct"], "ChildProduct", [], "any", false, false, false, 530), "hasProductClass", [], "any", false, false, false, 530)) {
// line 531
echo " ";
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["RelatedProduct"], "ChildProduct", [], "any", false, false, false, 531), "getPrice02Min", [], "any", false, false, false, 531) == twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["RelatedProduct"], "ChildProduct", [], "any", false, false, false, 531), "getPrice02Max", [], "any", false, false, false, 531))) {
// line 532
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["RelatedProduct"], "ChildProduct", [], "any", false, false, false, 532), "getPrice02IncTaxMin", [], "any", false, false, false, 532)), "html", null, true);
echo "
";
} else {
// line 534
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["RelatedProduct"], "ChildProduct", [], "any", false, false, false, 534), "getPrice02IncTaxMin", [], "any", false, false, false, 534)), "html", null, true);
echo " ~ ";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["RelatedProduct"], "ChildProduct", [], "any", false, false, false, 534), "getPrice02IncTaxMax", [], "any", false, false, false, 534)), "html", null, true);
echo "
";
}
// line 536
echo " ";
} else {
// line 537
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["RelatedProduct"], "ChildProduct", [], "any", false, false, false, 537), "getPrice02IncTaxMin", [], "any", false, false, false, 537)), "html", null, true);
echo "
";
}
// line 539
echo " <small>(税込)</small>
</div>
</div>
";
// line 543
echo " <div class=\"item-btn\">
<p><a href=\"";
// line 544
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["ChildProduct"]) || array_key_exists("ChildProduct", $context) ? $context["ChildProduct"] : (function () { throw new RuntimeError('Variable "ChildProduct" does not exist.', 544, $this->source); })()), "id", [], "any", false, false, false, 544)]), "html", null, true);
echo "\" class=\"btn radius sml2 sml bg\">
シリウスストアで購入
</a></p>
</div>
</div>
</li>
";
}
// line 551
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['RelatedProduct'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 552
echo " </ul>
";
// line 554
echo " </div>
</div>
</section>
";
}
// line 558
echo "
";
// line 559
echo twig_include($this->env, $context, "Block/conv.twig");
echo "
</section>
</main>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "Product/detail.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1108 => 559, 1105 => 558, 1099 => 554, 1096 => 552, 1090 => 551, 1080 => 544, 1077 => 543, 1072 => 539, 1066 => 537, 1063 => 536, 1055 => 534, 1049 => 532, 1046 => 531, 1044 => 530, 1039 => 528, 1035 => 527, 1022 => 523, 1018 => 522, 1013 => 519, 1011 => 518, 1006 => 515, 1003 => 514, 1000 => 513, 997 => 512, 994 => 511, 990 => 510, 983 => 505, 980 => 504, 965 => 493, 961 => 492, 955 => 489, 951 => 488, 934 => 475, 927 => 471, 923 => 469, 914 => 463, 908 => 459, 905 => 458, 898 => 454, 894 => 453, 887 => 448, 885 => 447, 879 => 444, 875 => 443, 868 => 438, 866 => 437, 860 => 434, 856 => 433, 852 => 431, 850 => 430, 846 => 429, 840 => 426, 836 => 425, 829 => 423, 825 => 421, 819 => 419, 809 => 417, 807 => 416, 802 => 413, 796 => 411, 794 => 410, 784 => 402, 780 => 400, 774 => 398, 772 => 397, 768 => 395, 764 => 393, 758 => 391, 756 => 390, 750 => 387, 736 => 375, 729 => 372, 720 => 370, 715 => 369, 713 => 368, 710 => 367, 707 => 366, 695 => 364, 693 => 363, 685 => 358, 678 => 353, 666 => 339, 661 => 337, 654 => 335, 644 => 327, 634 => 323, 624 => 320, 620 => 318, 616 => 317, 613 => 316, 607 => 313, 604 => 312, 602 => 311, 585 => 297, 579 => 293, 570 => 291, 558 => 289, 555 => 288, 552 => 287, 547 => 286, 543 => 284, 534 => 282, 522 => 280, 519 => 279, 516 => 278, 510 => 277, 508 => 276, 498 => 271, 494 => 269, 488 => 267, 486 => 266, 476 => 259, 472 => 258, 466 => 257, 462 => 255, 452 => 254, 429 => 240, 419 => 233, 389 => 206, 384 => 203, 375 => 197, 371 => 195, 369 => 194, 366 => 193, 357 => 187, 353 => 185, 351 => 184, 319 => 154, 311 => 152, 309 => 151, 304 => 149, 301 => 148, 299 => 147, 285 => 136, 282 => 135, 272 => 134, 233 => 105, 229 => 104, 225 => 103, 221 => 102, 217 => 101, 213 => 100, 209 => 99, 206 => 98, 196 => 97, 103 => 13, 99 => 12, 95 => 11, 91 => 10, 87 => 9, 83 => 8, 79 => 7, 74 => 6, 64 => 5, 53 => 1, 51 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'default_frame.twig' %}
{% set body_class = 'product_detail_page' %}
{% block stylesheet %}
<link rel=\"stylesheet\" type=\"text/css\" href=\"{{ asset('assets/css/style.css') }}\" media=\"all\" />
<link rel=\"stylesheet\" type=\"text/css\" href=\"{{ asset('assets/css/modal_style.css') }}\" media=\"all\" />
<link rel=\"stylesheet\" type=\"text/css\" href=\"{{ asset('assets/css/script/slick.css') }}\" media=\"all\" />
<link rel=\"stylesheet\" type=\"text/css\" href=\"{{ asset('assets/css/script/slick-theme.css') }}\" media=\"all\" />
<link rel=\"stylesheet\" type=\"text/css\" href=\"{{ asset('assets/css/script/scroll-hint.css') }}\" media=\"all\" />
<link rel=\"stylesheet\" type=\"text/css\" href=\"{{ asset('assets/css/base.css') }}\" media=\"all\" />
<link rel=\"stylesheet\" type=\"text/css\" href=\"{{ asset('assets/css/next.css') }}\" media=\"all\" />
<link rel=\"stylesheet\" type=\"text/css\" href=\"{{ asset('assets/css/add.css') }}\" media=\"all\" />
<style>
.slick-slider {
margin-bottom: 30px;
}
.slick-dots {
position: absolute;
bottom: -45px;
display: block;
width: 100%;
padding: 0;
list-style: none;
text-align: center;
}
.slick-dots li {
position: relative;
display: inline-block;
width: 20px;
height: 20px;
margin: 0 5px;
padding: 0;
cursor: pointer;
}
.slick-dots li button {
font-size: 0;
line-height: 0;
display: block;
width: 20px;
height: 20px;
padding: 5px;
cursor: pointer;
color: transparent;
border: 0;
outline: none;
background: transparent;
}
.slick-dots li button:hover,
.slick-dots li button:focus {
outline: none;
}
.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
opacity: 1;
}
.slick-dots li button:before {
content: \" \";
line-height: 20px;
position: absolute;
top: 0;
left: 0;
width: 12px;
height: 12px;
text-align: center;
opacity: .25;
background-color: black;
border-radius: 50%;
}
.slick-dots li.slick-active button:before {
opacity: .75;
background-color: black;
}
.slick-dots li button.thumbnail img {
width: 0;
height: 0;
}
.heading-accessories{
color: #00848f;
font-size: 3rem;
}
</style>
{% endblock %}
{% block javascript %}
<script src=\"https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js\"></script>
<script src=\"{{ asset('assets/js/jquery.easing.1.3.js') }}\"></script>
<script src=\"{{ asset('assets/js/jquery.smoothScroll.js') }}\"></script>
<script src=\"{{ asset('assets/js/jquery.magnific-popup.js') }}\"></script>
<script src=\"{{ asset('assets/js/emergence.min.js') }}\"></script>
<script src=\"{{ asset('assets/js/slick.min.js') }}\"></script>
<script src=\"{{ asset('assets/js/scroll-hint.min.js') }}\"></script>
<script src=\"{{ asset('assets/js/effects.js') }}\"></script>
<script>
\$(function(){
slider = \$('#slider').slick({
autoplay: false,
autoplaySpeed: 3000,
speed: 600,
arrows: true,
dots:false,
fade: false,
prevArrow: true,
nextArrow: true,
});
var i,index;
var nav = \$(\".slides-nav\");
nav.find(\"li\").eq(0).addClass('current');
nav.find(\"li\").on(\"click\",function(){
i = nav.find(\"li\").index(this);
slider.slick(\"slickGoTo\",parseInt(i));
});
slider.on(\"afterChange\",function(event, slick, currentSlide){
index = \$(slick.\$slides.get(currentSlide)).attr('data-slick-index');
nav.find(\"li\").removeClass(\"current\");
nav.find(\"li\").eq(index).addClass('current');
});
new ScrollHint('.js-scrollable');
});
</script>
{% endblock javascript %}
{% block javascript2 %}
<script>
eccube.classCategories = {{ class_categories_as_json(Product)|raw }};
// 規格2に選択肢を割り当てる。
function fnSetClassCategories(form, classcat_id2_selected) {
var \$form = \$(form);
var product_id = \$form.find('input[name=product_id]').val();
var \$sele1 = \$form.find('select[name=classcategory_id1]');
var \$sele2 = \$form.find('select[name=classcategory_id2]');
eccube.setClassCategories(\$form, product_id, \$sele1, \$sele2, classcat_id2_selected);
}
{% if form.classcategory_id2 is defined %}
fnSetClassCategories(
\$('#form1'), {{ form.classcategory_id2.vars.value|json_encode|raw }}
);
{% elseif form.classcategory_id1 is defined %}
eccube.checkStock(\$('#form1'), {{ Product.id }}, {{ form.classcategory_id1.vars.value|json_encode|raw }}, null);
{% endif %}
</script>
<script>
\$(function() {
// bfcache無効化
\$(window).bind('pageshow', function(event) {
if (event.originalEvent.persisted) {
location.reload(true);
}
});
\$('.item_visual').slick({
dots: false,
arrows: false,
responsive: [{
breakpoint: 768,
settings: {
dots: true
}
}]
});
\$('.slideThumb').on('click', function() {
var index = \$(this).attr('data-index');
\$('.item_visual').slick('slickGoTo', index, false);
})
});
</script>
<script>
\$(function() {
\$('.add-cart').on('click', function(event) {
{% if form.classcategory_id1 is defined %}
// 規格1フォームの必須チェック
if (\$('#classcategory_id1').val() == '__unselected' || \$('#classcategory_id1').val() == '') {
\$('#classcategory_id1')[0].setCustomValidity('{{ '項目が選択されていません'|trans }}');
return true;
} else {
\$('#classcategory_id1')[0].setCustomValidity('');
}
{% endif %}
{% if form.classcategory_id2 is defined %}
// 規格2フォームの必須チェック
if (\$('#classcategory_id2').val() == '__unselected' || \$('#classcategory_id2').val() == '') {
\$('#classcategory_id2')[0].setCustomValidity('{{ '項目が選択されていません'|trans }}');
return true;
} else {
\$('#classcategory_id2')[0].setCustomValidity('');
}
{% endif %}
// 個数フォームのチェック
if (\$('#quantity').val() < 1) {
\$('#quantity')[0].setCustomValidity('{{ '1以上で入力してください。'|trans }}');
return true;
} else {
\$('#quantity')[0].setCustomValidity('');
}
event.preventDefault();
\$form = \$('#form1');
\$.ajax({
url: \$form.attr('action'),
type: \$form.attr('method'),
data: \$form.serialize(),
dataType: 'json',
beforeSend: function(xhr, settings) {
// Buttonを無効にする
\$('.add-cart').prop('disabled', true);
}
}).done(function(data) {
// レスポンス内のメッセージをalertで表示
\$.each(data.messages, function() {
\$('#ec-modal-header').html(this);
});
\$('.ec-modal').show()
// カートブロックを更新する
\$.ajax({
url: \"{{ url('block_cart') }}\",
type: 'GET',
dataType: 'html'
}).done(function(html) {
\$('.ec-headerRole__cart').html(html);
});
}).fail(function(data) {
alert('{{ 'カートへの追加に失敗しました。'|trans }}');
}).always(function(data) {
// Buttonを有効にする
\$('.add-cart').prop('disabled', false);
});
});
});
\$('.ec-modal-overlay, .ec-modal .ec-inlineBtn--cancel').on('click', function() {
\$('.ec-modal').hide()
});
</script>
{% endblock javascript2 %}
{% block main %}
<div class=\"breadcrumb\">
<ul>
<li><a href=\"{{ url('homepage') }}\"><img src=\"{{ asset('assets/img/next/icon-home.svg') }}\" alt=\"HOME\">HOME</a></li>
<li><a href=\"{{ url('product_list') }}\">製品情報</a></li>
<li>{{ Product.name }}</li>
</ul>
</div>
<main class=\"next\">
<section id=\"products-detail-top\">
<div class=\"s_content add-l_eng-title\">
<div class=\"heading-lv03\">
{% if Product.ProductCategories[0].Category.class_name is defined %}
{{ Product.ProductCategories[0].Category.class_name }}
{% endif %}
</div>
<h2 class=\"heading-lv02\">{{ Product.name }}<span>{{ Product.code_min }}</span></h2>
<div class=\"products-summary\">
<div class=\"item-img\">
<ul id=\"slider\">
{% set listImages = Product.getListImages() %}
{% for i in 0..(listImages['length']-1)%}
{% set main_image = (listImages.images_pc[i] is defined) ? listImages.images_pc[i] : null %}
{% set mobile_image = (listImages.images_mb[i] is defined) ? listImages.images_mb[i] : null %}
<li><img src=\"{{ asset(main_image|no_image_product, 'save_image') }}\" srcset=\"{{ asset(main_image|no_image_product, 'save_image') }} 1x, {{ asset(mobile_image|no_image_product, 'save_image') }} 2x\" width=\"500\" height=\"370\"></li>
{% else %}
<li><img src=\"{{ asset(''|no_image_product, 'save_image') }}\" width=\"500\" height=\"370\"></li>
{% endfor %}
</ul>
<ul class=\"slides-nav\">
{% for i in 0..(listImages['length']-1)%}
{% set main_image = (listImages.images_pc[i] is defined) ? listImages.images_pc[i] : null %}
{% set mobile_image = (listImages.images_mb[i] is defined) ? listImages.images_mb[i] : null %}
<li><img src=\"{{ asset(main_image|no_image_product, 'save_image') }}\" srcset=\"{{ asset(main_image|no_image_product, 'save_image') }} 1x, {{ asset(mobile_image|no_image_product, 'save_image') }} 2x\" width=\"115\" height=\"80\"></li>
{% else %}
<li><img src=\"{{ asset(''|no_image_product, 'save_image') }}\" width=\"115\" height=\"80\"></li>
{% endfor %}
</ul>
</div>
<div class=\"item-text\">
<div class=\"post\">
{{ Product.description_detail|raw|nl2br }}
</div>
<div class=\"link-box\">
<div class=\"item-title\">オープン価格</div>
<div class=\"item-btn\">
<p><a href=\"#products-detail-cart\" class=\"btn radius sml2 sml bg w200\">シリウスストアで購入</a></p>
</div>
</div>
</div>
</div>
<div class=\"products-features\">
<div class=\"heading-lv07\">製品特長</div>
<div class=\"products-block\">
{% if Product.product_url_video %}
<div class=\"movie\">
<iframe width=\"560\" height=\"315\" src=\"{{ videoUrl }}\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>
</div>
{% endif %}
<ul class=\"point-list\">
{% for BlockFeatures in Product.BlockFeatures %}
<li class=\"itemFreature\">
<div class=\"item-img\">
<img src=\"{{ asset(BlockFeatures.getFeatureImage()|no_image_product, 'save_features') }}\" srcset=\"{{ asset(BlockFeatures.getFeatureImage()|no_image_product, 'save_features') }} 1x, {{ asset(BlockFeatures.getFeatureImage()|no_image_product, 'save_features') }} 2x\" width=\"280\" height=\"200\" alt=\"\">
</div>
<div class=\"item-text\">
{{ BlockFeatures.getFeatureName() }}
</div>
</li>
{% endfor %}
</ul>
</div>
</div>
</div>
</section>
<section id=\"products-detail-conv\">
<div class=\"inside\">
<div class=\"item-img\"><img src=\"{{ asset(Product.image_pc|no_image_product, 'save_image') }}\" width=\"243\" height=\"180\" alt=\"{{ Product.name }}\"></div>
<div class=\"item-text\">
<p class=\"title\">{{ Product.name }}</p>
<div class=\"price-area\">
<p class=\"price\">{{ Product.getPrice02IncTaxMin|price }} <small>(税込)</small></p>
<p><a href=\"#products-detail-cart\" class=\"btn radius sml2 sml bg w200\">シリウスストアで購入</a></p>
</div>
</div>
</div>
</section>
<section id=\"products-detail-specification\">
<div class=\"s_content add-l_eng-title\">
{#<div class=\"heading-lv03\">
{% if Product.ProductCategories[0].Category.class_name is defined %}
{{ Product.ProductCategories[0].Category.class_name }}
{% endif %}
</div>#}
<div class=\"specification\">
<div class=\"heading-lv07\">製品仕様</div>
<div class=\"img-table\">
<div class=\"item-table\">
<div class=\"js-scrollable\">
{{ include(template_from_string(Product.freearea)) }}
</div>
</div>
<div class=\"item-img\">
<div class=\"img-inside\">
{% if Product.product_image_free_area %}
<p class=\"img\"><img src=\"{{ asset(Product.product_image_free_area|no_image_product, 'save_logo') }}\" srcset=\"{{ asset(Product.product_image_free_area|no_image_product, 'save_logo') }} 1x, {{ asset(Product.product_image_free_area|no_image_product, 'save_logo') }} 2x\" width=\"280\" height=\"150\" alt=\"{{ Product.name }}\"></p>
{% endif %}
{% if Product.product_logo or Product.product_caption %}
<p class=\"logo\">
{% if Product.product_logo %}
<img src=\"{{ asset(Product.product_logo|no_image_product, 'save_logo') }}\"
srcset=\"{{ asset(Product.product_logo|no_image_product, 'save_logo') }} 1x, {{ asset(Product.product_logo|no_image_product, 'save_logo') }} 2x\" width=\"123\" height=\"34\" alt=\"{{ Product.name }}\">
{% endif %}
<span>{{ Product.product_caption }}</span>
</p>
{% endif %}
</div>
</div>
</div>
</div>
</div>
</section>
<section id=\"suport-block\">
<div class=\"heading-lv07\">お客様サポート</div>
<div class=\"s_content bg\">
<div class=\"btn-block\">
<div>
<a href=\"{{ Product.product_url_qa }}\" class=\"btn lg2 fs16 box black bg-white icon-faq fw-n\">よくある質問</a>
</div>
<div>
{% if Product.product_pdf_catalog %}
<a href=\"{{ asset(Product.product_pdf_catalog, 'save_pdf') }}\" class=\"btn lg2 fs16 box black bg-white icon-katarog fw-n\">製品カタログ</a>
{% else %}
<a href=\"\" class=\"btn lg2 fs16 box black bg-white icon-katarog fw-n\">製品カタログ</a>
{% endif %}
</div>
<div>
{% if Product.product_pdf_manuals %}
<a href=\"{{ asset(Product.product_pdf_manuals, 'save_pdf') }}\" class=\"btn lg2 fs16 box black bg-white icon-torisetu fw-n\">取扱説明書</a>
{% else %}
<a href=\"\" class=\"btn lg2 fs16 box black bg-white icon-torisetu fw-n\">取扱説明書</a>
{% endif %}
</div>
</div>
</div>
</section>
<section id=\"products-detail-cart\">
<div class=\"s_content add-l_eng-title\">
<div class=\"heading-lv03\">
{% if Product.ProductCategories[0].Category.class_name is defined %}
{{ Product.ProductCategories[0].Category.class_name }}
{% endif %}
</div>
<div class=\"img-text-column2\">
<div class=\"item-img\">
{% if Product.image_pc or Product.image_mb %}
<img src=\"{{ asset('assets/img/next/product-detail/thmb01.jpg') }}\" srcset=\"{{ asset(Product.image_pc, 'save_image') }} 1x, {{ asset(Product.image_mb, 'save_image') }} 2x\" width=\"500\" height=\"370\">
{% else %}
<img src=\"{{ asset(''|no_image_product, 'save_image') }}\" width=\"500\" height=\"370\">
{% endif %}
</div>
<div class=\"item-text\">
<div class=\"title\">{{ Product.name }}<span>{{ Product.code_min }}</span></div>
<div class=\"price\">
<div class=\"tax\">販売価格 : <span>{{ Product.getPrice02IncTaxMin|price }}</span><small>(税込)</small></div>
<div class=\"no-tax\">{{ Product.getPrice02Min|price }}<small>(税抜)</small></div>
</div>
<p class=\"mb30\">高額商品をご注文いただいたお客様には、弊社より<b>お電話にて『ご本人確認』のご連絡</b>を差し上げます。<br>ご本人確認ができない場合、<b>ご注文をキャンセルとさせていただくことがございます</b>。予めご了承ください。</p>
<form action=\"{{ url('product_add_cart', {id:Product.id}) }}\" method=\"post\" id=\"form1\" name=\"form1\">
{% if Product.stock_find %}
<div class=\"number\">
<div class=\"txt\">数量</div>
{{ form_widget(form.quantity) }}
{{ form_errors(form.quantity) }}
</div>
{% if form.classcategory_id1 is defined %}
<div class=\"kikaku-box\">
<div class=\"title\">
規格
</div>
<div class=\"ec-select\">
{{ form_widget(form.classcategory_id1) }}
{{ form_errors(form.classcategory_id1) }}
</div>
</div>
{% if form.classcategory_id2 is defined %}
<div class=\"kikaku-box\">
<div class=\"title\">
規格
</div>
<div class=\"ec-select\">
{{ form_widget(form.classcategory_id2) }}
{{ form_errors(form.classcategory_id2) }}
</div>
</div>
{% endif %}
{% endif %}
<div class=\"cart-btn\">
<div>
<button type=\"submit\" class=\"ec-blockBtn--action add-cart\">
{{ 'カートに入れる'|trans }}
</button>
</div>
<span>※ギフト包装は承っておりません。</span>
</div>
{% else %}
<div class=\"ec-productRole__btn\">
<button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
{{ 'ただいま品切れ中です。'|trans }}
</button>
</div>
{% endif %}
{{ form_rest(form) }}
</form>
</div>
</div>
</div>
</section>
<section class=\"ec-grid2\">
<div class=\"s_content ec-grid2__cell\">
<div class=\"ec-productRole__profile\">
<div class=\"ec-modal\">
<div class=\"ec-modal-overlay\">
<div class=\"ec-modal-wrap\">
<span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"{{ asset('assets/icon/cross-dark.svg') }}\" alt=\"\"/></span></span>
<div id=\"ec-modal-header\" class=\"text-center\">{{ 'カートに追加しました。'|trans }}</div>
<div class=\"ec-modal-box\">
<div class=\"ec-role\">
<span class=\"ec-inlineBtn--cancel\">{{ 'お買い物を続ける'|trans }}</span>
<a href=\"{{ url('cart') }}\" class=\"ec-inlineBtn--action\">{{ 'カートへ進む'|trans }}</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
{# プラグイン用Snippet #}
{% if Product.RelatedProducts[0] is defined %}
<section>
<div class=\"accessories\">
<div class=\"s_content\">
<h2 class=\"heading-lv04\">Accessories<span>関連商品</span></h2>
<ul class=\"accessories-list\">
{% for RelatedProduct in Product.RelatedProducts %}
{% set ChildProduct = RelatedProduct.ChildProduct %}
{% set productImages = RelatedProduct.ChildProduct.getListImages() %}
{% set main_image = (productImages.images_pc[0] is defined) ? productImages.images_pc[0] : null %}
{% set mobile_image = (productImages.images_mb[0] is defined) ? productImages.images_mb[0] : null %}
{% if ChildProduct.Status.id == constant(\"Eccube\\\\Entity\\\\Master\\\\ProductStatus::DISPLAY_SHOW\") %}
<li>
<div>
<div class=\"item-img\">
<a href=\"{{ url('product_detail', {id : ChildProduct.id}) }}\">
<img src=\"{{ asset(main_image|no_image_product, 'save_image') }}\" srcset=\"{{ asset(main_image|no_image_product, 'save_image') }} 1x,{{ asset(mobile_image|no_image_product, 'save_image') }} 2x\" width=\"176\" height=\"176\" alt=\"{{ RelatedProduct.ChildProduct.name }}\">
</a>
</div>
<div class=\"item-text\">
<p class=\"number\">{{ RelatedProduct.ChildProduct.code_min }}</p>
<p class=\"name\">{{ RelatedProduct.ChildProduct.name }}</p>
<div class=\"price\">希望小売価格:
{% if RelatedProduct.ChildProduct.hasProductClass %}
{% if RelatedProduct.ChildProduct.getPrice02Min == RelatedProduct.ChildProduct.getPrice02Max %}
{{ RelatedProduct.ChildProduct.getPrice02IncTaxMin|price }}
{% else %}
{{ RelatedProduct.ChildProduct.getPrice02IncTaxMin|price }} ~ {{ RelatedProduct.ChildProduct.getPrice02IncTaxMax|price }}
{% endif %}
{% else %}
{{ RelatedProduct.ChildProduct.getPrice02IncTaxMin|price }}
{% endif %}
<small>(税込)</small>
</div>
</div>
{#<span>{{ RelatedProduct.content|raw }}</span>#}
<div class=\"item-btn\">
<p><a href=\"{{ url('product_detail', {id : ChildProduct.id}) }}\" class=\"btn radius sml2 sml bg\">
シリウスストアで購入
</a></p>
</div>
</div>
</li>
{% endif %}
{% endfor %}
</ul>
{#{{ include('snippet.twig', { snippets: plugin_snippets }) }}#}
</div>
</div>
</section>
{% endif %}
{{ include(\"Block/conv.twig\") }}
</section>
</main>
{% endblock %}
", "Product/detail.twig", "/home/xs453838/adnet-space.com/public_html/eccube/app/template/default/Product/detail.twig");
}
}