var/cache/dev/twig/d1/d1ecd89c40dfff040460dae1e7c08be95dba313696943e8a502edec2ceebfb31.php line 1657

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_96c563db9ada41512149594432039e6f0c776089bff10d591b9a54f63d158ce5 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: 10px;
  62. \t\t\tmargin-top: -20px;
  63.         }
  64.         .slick-dots {
  65.             position: absolute;
  66.             bottom: -45px;
  67.             display: block;
  68.             width: 100%;
  69.             padding: 0;
  70.             list-style: none;
  71.             text-align: center;
  72.         }
  73.         .slick-dots li {
  74.             position: relative;
  75.             display: inline-block;
  76.             width: 20px;
  77.             height: 20px;
  78.             margin: 0 5px;
  79.             padding: 0;
  80.             cursor: pointer;
  81.         }
  82.         .slick-dots li button {
  83.             font-size: 0;
  84.             line-height: 0;
  85.             display: block;
  86.             width: 20px;
  87.             height: 20px;
  88.             padding: 5px;
  89.             cursor: pointer;
  90.             color: transparent;
  91.             border: 0;
  92.             outline: none;
  93.             background: transparent;
  94.         }
  95.         .slick-dots li button:hover,
  96.         .slick-dots li button:focus {
  97.             outline: none;
  98.         }
  99.         .slick-dots li button:hover:before,
  100.         .slick-dots li button:focus:before {
  101.             opacity: 1;
  102.         }
  103.         .slick-dots li button:before {
  104.             content: \" \";
  105.             line-height: 20px;
  106.             position: absolute;
  107.             top: 0;
  108.             left: 0;
  109.             width: 12px;
  110.             height: 12px;
  111.             text-align: center;
  112.             opacity: .25;
  113.             background-color: black;
  114.             border-radius: 50%;
  115.         }
  116.         .slick-dots li.slick-active button:before {
  117.             opacity: .75;
  118.             background-color: black;
  119.         }
  120.         .slick-dots li button.thumbnail img {
  121.             width: 0;
  122.             height: 0;
  123.         }
  124.     </style>
  125.     <link rel=\"stylesheet\" href=\"/html/user_data/js/style.css\">
  126.     <link rel=\"stylesheet\" href=\"/html/plugins/icheck-bootstrap/icheck-bootstrap.min.css\">
  127. ";
  128.         
  129.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  130.         
  131.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  132.     }
  133.     // line 98
  134.     public function block_javascript($context, array $blocks = [])
  135.     {
  136.         $macros $this->macros;
  137.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  138.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  139.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  140.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  141.         // line 99
  142.         echo "
  143.     <script>
  144.         eccube.classCategories = ";
  145.         // line 101
  146.         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.'101$this->source); })()));
  147.         echo ";
  148.         // 規格2に選択肢を割り当てる。
  149.         function fnSetClassCategories(form, classcat_id2_selected) {
  150.             var \$form = \$(form);
  151.             var product_id = \$form.find('input[name=product_id]').val();
  152.             var \$sele1 = \$form.find('select[name=classcategory_id1]');
  153.             var \$sele2 = \$form.find('select[name=classcategory_id2]');
  154.             eccube.setClassCategories(\$form, product_id, \$sele1, \$sele2, classcat_id2_selected);
  155.         }
  156.         ";
  157.         // line 112
  158.         if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id2", [], "any"truetruefalse112)) {
  159.             // line 113
  160.             echo "        fnSetClassCategories(
  161.             \$('#form1'), ";
  162.             // line 114
  163.             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.'114$this->source); })()), "classcategory_id2", [], "any"falsefalsefalse114), "vars", [], "any"falsefalsefalse114), "value", [], "any"falsefalsefalse114));
  164.             echo "
  165.         );
  166.         ";
  167.         } elseif (twig_get_attribute($this->env$this->source,         // line 116
  168. ($context["form"] ?? null), "classcategory_id1", [], "any"truetruefalse116)) {
  169.             // line 117
  170.             echo "        eccube.checkStock(\$('#form1'), ";
  171.             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.'117$this->source); })()), "id", [], "any"falsefalsefalse117), "html"nulltrue);
  172.             echo ", ";
  173.             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.'117$this->source); })()), "classcategory_id1", [], "any"falsefalsefalse117), "vars", [], "any"falsefalsefalse117), "value", [], "any"falsefalsefalse117));
  174.             echo ", null);
  175.         ";
  176.         }
  177.         // line 119
  178.         echo "    </script>
  179.     <script>
  180.         \$(function() {
  181.             // bfcache無効化
  182.             \$(window).bind('pageshow', function(event) {
  183.                 if (event.originalEvent.persisted) {
  184.                     location.reload(true);
  185.                 }
  186.             });
  187.             // Core Web Vital の Cumulative Layout Shift(CLS)対策のため
  188.             // img タグに width, height が付与されている.
  189.             // 630px 未満の画面サイズでは縦横比が壊れるための対策
  190.             // see https://github.com/EC-CUBE/ec-cube/pull/5023
  191.             \$('.ec-grid2__cell').hide();
  192.             var removeSize = function () {
  193.                 \$('.slide-item').height('');
  194.                 \$('.slide-item img')
  195.                     .removeAttr('width')
  196.                     .removeAttr('height')
  197.                     .removeAttr('style');
  198.             };
  199.             var slickInitial = function(slick) {
  200.                 \$('.ec-grid2__cell').fadeIn(1500);
  201.                 var baseHeight = \$(slick.target).height();
  202.                 var baseWidth = \$(slick.target).width();
  203.                 var rate = baseWidth / baseHeight;
  204. \t\t\t\tif(baseHeight * rate < 400){
  205. \t                \$('.slide-item').height(baseHeight * rate); // 余白を削除する
  206. \t\t\t\t}else{
  207. \t                \$('.slide-item').height(400); // 余白を削除する
  208. \t\t\t\t}
  209.                 // transform を使用することでCLSの影響を受けないようにする
  210.                 \$('.slide-item img')
  211.                     .css(
  212.                         {
  213.                             'transform-origin': 'top left',
  214.                             'transform': 'scaleY(' + rate + ')',
  215.                             'transition': 'transform .1s'
  216.                         }
  217.                     );
  218.                 // 正しいサイズに近くなったら属性を解除する
  219.                 setTimeout(removeSize, 500);
  220.             };
  221.             \$('.item_visual').on('init', slickInitial);
  222.             // リサイズ時は CLS の影響を受けないため属性を解除する
  223.             \$(window).resize(removeSize);
  224.             \$('.item_visual').slick({
  225.                 dots: false,
  226.                 arrows: true,
  227.                 responsive: [{
  228.                     breakpoint: 768,
  229.                     settings: {
  230.                         dots: true,
  231.                 \t\tarrows: false
  232.                     }
  233.                 }]
  234.             });
  235.             \$('.slideThumb').on('click', function() {
  236.                 var index = \$(this).attr('data-index');
  237.                 \$('.item_visual').slick('slickGoTo', index, false);
  238.             })
  239.         });
  240.     </script>
  241.     <script>
  242.         \$(function() {
  243.             \$('.add-cart').on('click', function(event) {
  244.                 ";
  245.         // line 189
  246.         if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id1", [], "any"truetruefalse189)) {
  247.             // line 190
  248.             echo "                // 規格1フォームの必須チェック
  249.                 if (\$('#classcategory_id1').val() == '__unselected' || \$('#classcategory_id1').val() == '') {
  250.                     \$('#classcategory_id1')[0].setCustomValidity('";
  251.             // line 192
  252.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("項目が選択されていません"), "html"nulltrue);
  253.             echo "');
  254.                     return true;
  255.                 } else {
  256.                     \$('#classcategory_id1')[0].setCustomValidity('');
  257.                 }
  258.                 ";
  259.         }
  260.         // line 198
  261.         echo "
  262.                 ";
  263.         // line 199
  264.         if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id2", [], "any"truetruefalse199)) {
  265.             // line 200
  266.             echo "                // 規格2フォームの必須チェック
  267.                 if (\$('#classcategory_id2').val() == '__unselected' || \$('#classcategory_id2').val() == '') {
  268.                     \$('#classcategory_id2')[0].setCustomValidity('";
  269.             // line 202
  270.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("項目が選択されていません"), "html"nulltrue);
  271.             echo "');
  272.                     return true;
  273.                 } else {
  274.                     \$('#classcategory_id2')[0].setCustomValidity('');
  275.                 }
  276.                 ";
  277.         }
  278.         // line 208
  279.         echo "
  280.                 // 個数フォームのチェック
  281.                 if (\$('#quantity').val() < 1) {
  282.                     \$('#quantity')[0].setCustomValidity('";
  283.         // line 211
  284.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("1以上で入力してください。"), "html"nulltrue);
  285.         echo "');
  286.                     return true;
  287.                 } else {
  288.                     \$('#quantity')[0].setCustomValidity('');
  289.                 }
  290.                 event.preventDefault();
  291.                 \$form = \$('#form1');
  292.                 \$.ajax({
  293.                     url: \$form.attr('action'),
  294.                     type: \$form.attr('method'),
  295.                     data: \$form.serialize(),
  296.                     dataType: 'json',
  297.                     beforeSend: function(xhr, settings) {
  298.                         // Buttonを無効にする
  299.                         \$('.add-cart').prop('disabled', true);
  300.                     }
  301.                 }).done(function(data) {
  302.                     // レスポンス内のメッセージをalertで表示
  303.                     \$.each(data.messages, function() {
  304.                         \$('#ec-modal-header').text(this);
  305.                     });
  306.                     \$('.ec-modal').show()
  307.                     // カートブロックを更新する
  308.                     \$.ajax({
  309.                         url: \"";
  310.         // line 238
  311.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("block_cart");
  312.         echo "\",
  313.                         type: 'GET',
  314.                         dataType: 'html'
  315.                     }).done(function(html) {
  316.                         \$('.ec-headerRole__cart').html(html);
  317.                     });
  318.                 }).fail(function(data) {
  319.                     alert('";
  320.         // line 245
  321.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("施工検討リストへの追加に失敗しました。"), "html"nulltrue);
  322.         echo "');
  323.                 }).always(function(data) {
  324.                     // Buttonを有効にする
  325.                     \$('.add-cart').prop('disabled', false);
  326.                 });
  327.             });
  328.         });
  329.         \$('.ec-modal-wrap').on('click', function(e) {
  330.             // モーダル内の処理は外側にバブリングさせない
  331.             e.stopPropagation();
  332.         });
  333.         \$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
  334.             \$('.ec-modal').hide()
  335.         });
  336. \t\tvar pw = \"";
  337.         // line 262
  338.         if ((isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'262$this->source); })())) {
  339.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'262$this->source); })()), "pw", [], "any"falsefalsefalse262), "html"nulltrue);
  340.         }
  341.         echo "\";
  342. \t\tvar pd = \"";
  343.         // line 263
  344.         if ((isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'263$this->source); })())) {
  345.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'263$this->source); })()), "pd", [], "any"falsefalsefalse263), "html"nulltrue);
  346.         }
  347.         echo "\";
  348. \t\tvar ph = \"";
  349.         // line 264
  350.         if ((isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'264$this->source); })())) {
  351.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'264$this->source); })()), "ph", [], "any"falsefalsefalse264), "html"nulltrue);
  352.         }
  353.         echo "\";
  354. \t\tvar pm = \"";
  355.         // line 265
  356.         if ((isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'265$this->source); })())) {
  357.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'265$this->source); })()), "pm", [], "any"falsefalsefalse265), "html"nulltrue);
  358.         }
  359.         echo "\";
  360. \t\tvar pc = \"";
  361.         // line 266
  362.         if ((isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'266$this->source); })())) {
  363.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'266$this->source); })()), "pc", [], "any"falsefalsefalse266), "html"nulltrue);
  364.         }
  365.         echo "\";
  366. \t\tvar op0 = \"";
  367.         // line 267
  368.         if ((isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'267$this->source); })())) {
  369.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'267$this->source); })()), "op", [], "any"falsefalsefalse267), 0, [], "array"falsefalsefalse267), "html"nulltrue);
  370.         }
  371.         echo "\";
  372. \t\tvar op1 = \"";
  373.         // line 268
  374.         if ((isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'268$this->source); })())) {
  375.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'268$this->source); })()), "op", [], "any"falsefalsefalse268), 1, [], "array"falsefalsefalse268), "html"nulltrue);
  376.         }
  377.         echo "\";
  378. \t\tvar op2 = \"";
  379.         // line 269
  380.         if ((isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'269$this->source); })())) {
  381.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'269$this->source); })()), "op", [], "any"falsefalsefalse269), 2, [], "array"falsefalsefalse269), "html"nulltrue);
  382.         }
  383.         echo "\";
  384. \t\tvar op3 = \"";
  385.         // line 270
  386.         if ((isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'270$this->source); })())) {
  387.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'270$this->source); })()), "op", [], "any"falsefalsefalse270), 3, [], "array"falsefalsefalse270), "html"nulltrue);
  388.         }
  389.         echo "\";
  390. \t\tvar op4 = \"";
  391.         // line 271
  392.         if ((isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'271$this->source); })())) {
  393.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'271$this->source); })()), "op", [], "any"falsefalsefalse271), 4, [], "array"falsefalsefalse271), "html"nulltrue);
  394.         }
  395.         echo "\";
  396. \t\tvar op5 = \"";
  397.         // line 272
  398.         if ((isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'272$this->source); })())) {
  399.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'272$this->source); })()), "op", [], "any"falsefalsefalse272), 5, [], "array"falsefalsefalse272), "html"nulltrue);
  400.         }
  401.         echo "\";
  402. \t\tvar op6 = \"";
  403.         // line 273
  404.         if ((isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'273$this->source); })())) {
  405.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'273$this->source); })()), "op", [], "any"falsefalsefalse273), 6, [], "array"falsefalsefalse273), "html"nulltrue);
  406.         }
  407.         echo "\";
  408. \t\tvar op7 = \"";
  409.         // line 274
  410.         if ((isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'274$this->source); })())) {
  411.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'274$this->source); })()), "op", [], "any"falsefalsefalse274), 7, [], "array"falsefalsefalse274), "html"nulltrue);
  412.         }
  413.         echo "\";
  414. \t\tvar op8 = \"";
  415.         // line 275
  416.         if ((isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'275$this->source); })())) {
  417.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'275$this->source); })()), "op", [], "any"falsefalsefalse275), 8, [], "array"falsefalsefalse275), "html"nulltrue);
  418.         }
  419.         echo "\";
  420. \t\tvar op9 = \"";
  421.         // line 276
  422.         if ((isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'276$this->source); })())) {
  423.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'276$this->source); })()), "op", [], "any"falsefalsefalse276), 9, [], "array"falsefalsefalse276), "html"nulltrue);
  424.         }
  425.         echo "\";
  426. \t\tvar op10 = \"";
  427.         // line 277
  428.         if ((isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'277$this->source); })())) {
  429.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'277$this->source); })()), "op", [], "any"falsefalsefalse277), 10, [], "array"falsefalsefalse277), "html"nulltrue);
  430.         }
  431.         echo "\";
  432. \t\tconst formatter = new Intl.NumberFormat('ja-JP');
  433. \t\tfunction mitsumori_simulation(type , value_id){
  434. \t\t\tvar pp = ";
  435.         // line 282
  436.         echo (isset($context["pp"]) || array_key_exists("pp"$context) ? $context["pp"] : (function () { throw new RuntimeError('Variable "pp" does not exist.'282$this->source); })());
  437.         echo ";
  438. \t\t\tif(type == \"pw\"){
  439. \t\t\t\tpw = \$('#'+value_id).val();
  440. \t\t\t}
  441. \t\t\tif(type == \"pd\"){
  442. \t\t\t\tpd = \$('#'+value_id).val();
  443. \t\t\t}
  444. \t\t\tif(type == \"ph\"){
  445. \t\t\t\tph = \$('#'+value_id).val();
  446. \t\t\t}
  447. \t\t\tif(type == \"pm\"){
  448. \t\t\t\tpm = \$('#'+value_id).val();
  449. \t\t\t}
  450. \t\t\tif(type == \"pc\"){
  451. \t\t\t\tpc = \$('#'+value_id).val();
  452. \t\t\t}
  453. \t\t\tif(type == \"op0\"){ op0 = \$('#'+value_id).val(); }
  454. \t\t\tif(type == \"op1\"){ op1 = \$('#'+value_id).val(); }
  455. \t\t\tif(type == \"op2\"){ op2 = \$('#'+value_id).val(); }
  456. \t\t\tif(type == \"op3\"){ op3 = \$('#'+value_id).val(); }
  457. \t\t\tif(type == \"op4\"){ op4 = \$('#'+value_id).val(); }
  458. \t\t\tif(type == \"op5\"){ op5 = \$('#'+value_id).val(); }
  459. \t\t\tif(type == \"op6\"){ op6 = \$('#'+value_id).val(); }
  460. \t\t\tif(type == \"op7\"){ op7 = \$('#'+value_id).val(); }
  461. \t\t\tif(type == \"op8\"){ op8 = \$('#'+value_id).val(); }
  462. \t\t\tif(type == \"op9\"){ op9 = \$('#'+value_id).val(); }
  463. \t\t\tif(type == \"op10\"){ op10 = \$('#'+value_id).val(); }
  464. \t\t\tif(pm == \"\"){
  465. \t\t\t\t\$('#mitsumori_message').text(\"素材を選択してください\");
  466. \t\t\t}
  467. \t\t\tif(ph == \"\"){
  468. \t\t\t\t\$('#mitsumori_message').text(\"高さを選択してください\");
  469. \t\t\t}
  470. \t\t\tif(pd == \"\"){
  471. \t\t\t\t\$('#mitsumori_message').text(\"奥行きを選択してください\");
  472. \t\t\t}
  473. \t\t\tif(pw == \"\"){
  474. \t\t\t\t\$('#mitsumori_message').text(\"幅を選択してください\");
  475. \t\t\t}
  476. \t\t\tif(pc == \"\"){
  477. \t\t\t\t\$('#mitsumori_message').text(\"カラーを選択してください\");
  478. \t\t\t\t\$('#mitsumori_btn').hide();
  479. \t\t\t\t\$('#mitsumori_goukei').text(\"---円\");
  480. \t\t\t\t\$('#mitsumori_off').text(\"---円\");
  481. \t\t\t\t\$('#mitsumori_price').text(\"---円\");
  482. \t\t\t\t\$('#maker_price').text(\"---円\");
  483. \t\t\t\t\$('#mitsumori_ct').text(\"---円\");
  484. \t\t\t\t\$('#mitsumori_option').text(\"---円\");
  485. \t\t\t}
  486. \t\t\tif(pw != \"\" && pd != \"\" && ph != \"\" && pm != \"\" && pc != \"\"){
  487. \t\t\t\t\$('#mitsumori_btn').show();
  488. \t\t\t\t
  489. \t\t\t\tpp.forEach((el) => {
  490. \t\t\t\t  if((pw == el.w || pw == \"指定なし\") && (pd == el.d || pd == \"指定なし\") && (ph == el.h || ph == \"指定なし\") && (pm == el.m || pm == \"指定なし\") && (pc == el.c || pc == \"指定なし\")){
  491. \t\t\t\t\tif(op0 == \"商品購入のみ\" || op1 == \"商品購入のみ\" || op2 == \"商品購入のみ\" || op3 == \"商品購入のみ\" || op4 == \"商品購入のみ\" 
  492. \t\t\t\t\t\t|| op5 == \"商品購入のみ\" || op6 == \"商品購入のみ\" || op7 == \"商品購入のみ\" || op8 == \"商品購入のみ\" || op9 == \"商品購入のみ\"){
  493. \t\t\t\t\t  \t\$('#mitsumori_message').text(formatter.format(parseInt(el.price)) + \"円\");
  494. \t\t\t\t\t  \t\$('#mitsumori_goukei').text(formatter.format(parseInt(el.price)) + \"円\");
  495. \t\t\t\t\t  \t\$('#mitsumori_off').text(formatter.format(parseInt(el.price) - parseInt(el.maker_price)) + \"円\");
  496. \t\t\t\t\t  \t\$('#mitsumori_price').text(formatter.format(parseInt(el.price)) + \"円\");
  497. \t\t\t\t\t  \t\$('#maker_price').text(formatter.format(parseInt(el.maker_price)) + \"円\");
  498. \t\t\t\t\t  \t\$('#mitsumori_ct').text(\"0円\");
  499. \t\t\t\t\t  \t\$('#mitsumori_option').text(\"0円\");
  500. \t\t\t\t\t  \t\$('#mitsumori_kei').text(formatter.format(parseInt(el.price)) + \"円\");
  501. \t\t\t\t\t  \t\$('#mitsumori_price_01').text(formatter.format(parseInt(el.price)) + \"円\");
  502. \t\t\t\t\t  \t\$('#mitsumori_price_02').text(formatter.format(parseInt(el.price)) + \"円\");
  503. \t\t\t\t\t  \t\$('#mitsumori_ct_01').text(\"0円\");
  504. \t\t\t\t\t  \t\$('#mitsumori_ct_02').text(\"0円\");
  505. \t\t\t\t\t  \t\$('#mitsumori_goukei_02').text(formatter.format(parseInt(el.price)) + \"円\");
  506. \t\t\t\t\t\t
  507. \t\t\t\t\t\tmitsumori_goukei = (parseInt(el.price));
  508. \t\t\t\t\t\tshoukei = mitsumori_goukei / 1.1;
  509. \t\t\t\t\t\ttax = parseInt(mitsumori_goukei - shoukei);
  510. \t\t\t\t\t  \t\$('#mitsumori_shoukei').text(formatter.format(parseInt(shoukei)) + \"円\");
  511. \t\t\t\t\t  \t\$('#mitsumori_tax').text(formatter.format(parseInt(tax)) + \"円\");
  512. \t\t\t\t\t}else{
  513. \t\t\t\t\t  \t\$('#mitsumori_message').text(formatter.format(parseInt(el.price) + parseInt(el.ct)) + \"円\");
  514. \t\t\t\t\t  \t\$('#mitsumori_goukei').text(formatter.format(parseInt(el.price) + parseInt(el.ct)) + \"円\");
  515. \t\t\t\t\t  \t\$('#mitsumori_off').text(formatter.format(parseInt(el.price) - parseInt(el.maker_price)) + \"円\");
  516. \t\t\t\t\t  \t\$('#mitsumori_price').text(formatter.format(parseInt(el.price)) + \"円\");
  517. \t\t\t\t\t  \t\$('#maker_price').text(formatter.format(parseInt(el.maker_price)) + \"円\");
  518. \t\t\t\t\t  \t\$('#mitsumori_ct').text(formatter.format(parseInt(el.ct)) + \"円\");
  519. \t\t\t\t\t  \t\$('#mitsumori_option').text(\"0円\");
  520. \t\t\t\t\t  \t\$('#mitsumori_kei').text(formatter.format(parseInt(el.price) + parseInt(el.ct)) + \"円\");
  521. \t\t\t\t\t  \t\$('#mitsumori_price_01').text(formatter.format(parseInt(el.price)) + \"円\");
  522. \t\t\t\t\t  \t\$('#mitsumori_price_02').text(formatter.format(parseInt(el.price)) + \"円\");
  523. \t\t\t\t\t  \t\$('#mitsumori_ct_01').text(formatter.format(parseInt(el.ct)) + \"円\");
  524. \t\t\t\t\t  \t\$('#mitsumori_ct_02').text(formatter.format(parseInt(el.ct)) + \"円\");
  525. \t\t\t\t\t  \t\$('#mitsumori_goukei_02').text(formatter.format(parseInt(el.price) + parseInt(el.ct)) + \"円\");
  526. \t\t\t\t\t\tmitsumori_goukei = (parseInt(el.price) + parseInt(el.ct));
  527. \t\t\t\t\t\tshoukei = mitsumori_goukei / 1.1;
  528. \t\t\t\t\t\ttax = parseInt(mitsumori_goukei - shoukei);
  529. \t\t\t\t\t  \t\$('#mitsumori_shoukei').text(formatter.format(parseInt(shoukei)) + \"円\");
  530. \t\t\t\t\t  \t\$('#mitsumori_tax').text(formatter.format(parseInt(tax)) + \"円\");
  531. \t\t\t\t\t}
  532. \t\t\t\t  }
  533. \t\t\t\t});\t
  534. \t\t\t\tvar mitsumori_json = { \"mitsumori_goukei\": \$('#mitsumori_goukei').text(),
  535. \t\t\t\t\t\t\t\t\t\t\"mitsumori_goukei_02\": \$('#mitsumori_goukei_02').text(),
  536. \t\t\t\t\t\t\t\t\t\t\"mitsumori_price\": \$('#mitsumori_price').text(),
  537. \t\t\t\t\t\t\t\t\t\t\"maker_price\": \$('#maker_price').text(),
  538. \t\t\t\t\t\t\t\t\t\t\"mitsumori_off\": \$('#mitsumori_off').text(),
  539. \t\t\t\t\t\t\t\t\t\t\"mitsumori_ct\": \$('#mitsumori_ct').text(),
  540. \t\t\t\t\t\t\t\t\t\t\"mitsumori_option\": \$('#mitsumori_option').text(),
  541. \t\t\t\t\t\t\t\t\t\t\"product_id\": ";
  542.         // line 397
  543.         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.'397$this->source); })()), "id", [], "any"falsefalsefalse397), "html"nulltrue);
  544.         echo ",
  545. \t\t\t\t\t\t\t\t\t\t\"pw\": pw,
  546. \t\t\t\t\t\t\t\t\t\t\"pd\": pd,
  547. \t\t\t\t\t\t\t\t\t\t\"ph\": ph,
  548. \t\t\t\t\t\t\t\t\t\t\"pm\": pm,
  549. \t\t\t\t\t\t\t\t\t\t\"pc\": pc,
  550. \t\t\t\t\t\t\t\t\t\t\"op\": [op0,op1,op2,op3,op4,op5,op6,op7,op8,op9,op10] };
  551. \t\t\t\t\$('#mitsumori_json').val(JSON.stringify(mitsumori_json));
  552. \t\t\t\t
  553. \t\t\t}
  554. \t\t\t
  555. \t\t}
  556.         ";
  557.         // line 412
  558.         if (((isset($context["color"]) || array_key_exists("color"$context) ? $context["color"] : (function () { throw new RuntimeError('Variable "color" does not exist.'412$this->source); })()) && (twig_length_filter($this->env, (isset($context["color"]) || array_key_exists("color"$context) ? $context["color"] : (function () { throw new RuntimeError('Variable "color" does not exist.'412$this->source); })())) == 1))) {
  559.             // line 413
  560.             echo "            pc = \"指定なし\";
  561. \t\t\t";
  562.             // line 414
  563.             $context['_parent'] = $context;
  564.             $context['_seq'] = twig_ensure_traversable((isset($context["color"]) || array_key_exists("color"$context) ? $context["color"] : (function () { throw new RuntimeError('Variable "color" does not exist.'414$this->source); })()));
  565.             foreach ($context['_seq'] as $context["_key"] => $context["cc"]) {
  566.                 if (($context["cc"] && twig_get_attribute($this->env$this->source$context["cc"], "name", [], "array"falsefalsefalse414))) {
  567.                     echo " pc = \"";
  568.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["cc"], "name", [], "array"falsefalsefalse414), "html"nulltrue);
  569.                     echo "\"; ";
  570.                 }
  571.             }
  572.             $_parent $context['_parent'];
  573.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cc'], $context['_parent'], $context['loop']);
  574.             $context array_intersect_key($context$_parent) + $_parent;
  575.             // line 415
  576.             echo "\t\t";
  577.         }
  578.         // line 416
  579.         echo "
  580.         ";
  581.         // line 417
  582.         if (((isset($context["p_w"]) || array_key_exists("p_w"$context) ? $context["p_w"] : (function () { throw new RuntimeError('Variable "p_w" does not exist.'417$this->source); })()) && ((twig_length_filter($this->env, (isset($context["p_w"]) || array_key_exists("p_w"$context) ? $context["p_w"] : (function () { throw new RuntimeError('Variable "p_w" does not exist.'417$this->source); })())) == 1) || (twig_join_filter((isset($context["p_w"]) || array_key_exists("p_w"$context) ? $context["p_w"] : (function () { throw new RuntimeError('Variable "p_w" does not exist.'417$this->source); })())) == "")))) {
  583.             // line 418
  584.             echo "            pw = \"指定なし\";
  585. \t\t\t";
  586.             // line 419
  587.             $context['_parent'] = $context;
  588.             $context['_seq'] = twig_ensure_traversable((isset($context["p_w"]) || array_key_exists("p_w"$context) ? $context["p_w"] : (function () { throw new RuntimeError('Variable "p_w" does not exist.'419$this->source); })()));
  589.             foreach ($context['_seq'] as $context["_key"] => $context["pw"]) {
  590.                 if ($context["pw"]) {
  591.                     echo " pw = \"";
  592.                     echo twig_escape_filter($this->env$context["pw"], "html"nulltrue);
  593.                     echo "\"; ";
  594.                 }
  595.             }
  596.             $_parent $context['_parent'];
  597.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pw'], $context['_parent'], $context['loop']);
  598.             $context array_intersect_key($context$_parent) + $_parent;
  599.             // line 420
  600.             echo "\t\t";
  601.         }
  602.         // line 421
  603.         echo "
  604.         ";
  605.         // line 422
  606.         if (((isset($context["p_d"]) || array_key_exists("p_d"$context) ? $context["p_d"] : (function () { throw new RuntimeError('Variable "p_d" does not exist.'422$this->source); })()) && ((twig_length_filter($this->env, (isset($context["p_d"]) || array_key_exists("p_d"$context) ? $context["p_d"] : (function () { throw new RuntimeError('Variable "p_d" does not exist.'422$this->source); })())) == 1) || (twig_join_filter((isset($context["p_d"]) || array_key_exists("p_d"$context) ? $context["p_d"] : (function () { throw new RuntimeError('Variable "p_d" does not exist.'422$this->source); })())) == "")))) {
  607.             // line 423
  608.             echo "            pd = \"指定なし\";
  609. \t\t\t";
  610.             // line 424
  611.             $context['_parent'] = $context;
  612.             $context['_seq'] = twig_ensure_traversable((isset($context["p_d"]) || array_key_exists("p_d"$context) ? $context["p_d"] : (function () { throw new RuntimeError('Variable "p_d" does not exist.'424$this->source); })()));
  613.             foreach ($context['_seq'] as $context["_key"] => $context["pd"]) {
  614.                 if ($context["pd"]) {
  615.                     echo " pd = \"";
  616.                     echo twig_escape_filter($this->env$context["pd"], "html"nulltrue);
  617.                     echo "\"; ";
  618.                 }
  619.             }
  620.             $_parent $context['_parent'];
  621.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pd'], $context['_parent'], $context['loop']);
  622.             $context array_intersect_key($context$_parent) + $_parent;
  623.             // line 425
  624.             echo "\t\t";
  625.         }
  626.         // line 426
  627.         echo "
  628.         ";
  629.         // line 427
  630.         if (((isset($context["p_h"]) || array_key_exists("p_h"$context) ? $context["p_h"] : (function () { throw new RuntimeError('Variable "p_h" does not exist.'427$this->source); })()) && ((twig_length_filter($this->env, (isset($context["p_h"]) || array_key_exists("p_h"$context) ? $context["p_h"] : (function () { throw new RuntimeError('Variable "p_h" does not exist.'427$this->source); })())) == 1) || (twig_join_filter((isset($context["p_h"]) || array_key_exists("p_h"$context) ? $context["p_h"] : (function () { throw new RuntimeError('Variable "p_h" does not exist.'427$this->source); })())) == "")))) {
  631.             // line 428
  632.             echo "            ph = \"指定なし\";
  633. \t\t\t";
  634.             // line 429
  635.             $context['_parent'] = $context;
  636.             $context['_seq'] = twig_ensure_traversable((isset($context["p_h"]) || array_key_exists("p_h"$context) ? $context["p_h"] : (function () { throw new RuntimeError('Variable "p_h" does not exist.'429$this->source); })()));
  637.             foreach ($context['_seq'] as $context["_key"] => $context["ph"]) {
  638.                 if ($context["ph"]) {
  639.                     echo " ph = \"";
  640.                     echo twig_escape_filter($this->env$context["ph"], "html"nulltrue);
  641.                     echo "\"; ";
  642.                 }
  643.             }
  644.             $_parent $context['_parent'];
  645.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ph'], $context['_parent'], $context['loop']);
  646.             $context array_intersect_key($context$_parent) + $_parent;
  647.             // line 430
  648.             echo "\t\t";
  649.         }
  650.         // line 431
  651.         echo "
  652.         ";
  653.         // line 432
  654.         if (((isset($context["p_m"]) || array_key_exists("p_m"$context) ? $context["p_m"] : (function () { throw new RuntimeError('Variable "p_m" does not exist.'432$this->source); })()) && ((twig_length_filter($this->env, (isset($context["p_m"]) || array_key_exists("p_m"$context) ? $context["p_m"] : (function () { throw new RuntimeError('Variable "p_m" does not exist.'432$this->source); })())) == 1) || (twig_join_filter((isset($context["p_m"]) || array_key_exists("p_m"$context) ? $context["p_m"] : (function () { throw new RuntimeError('Variable "p_m" does not exist.'432$this->source); })())) == "")))) {
  655.             // line 433
  656.             echo "            pm = \"指定なし\";
  657. \t\t\t";
  658.             // line 434
  659.             $context['_parent'] = $context;
  660.             $context['_seq'] = twig_ensure_traversable((isset($context["p_m"]) || array_key_exists("p_m"$context) ? $context["p_m"] : (function () { throw new RuntimeError('Variable "p_m" does not exist.'434$this->source); })()));
  661.             foreach ($context['_seq'] as $context["_key"] => $context["pm"]) {
  662.                 if ($context["pm"]) {
  663.                     echo " pm = \"";
  664.                     echo twig_escape_filter($this->env$context["pm"], "html"nulltrue);
  665.                     echo "\"; ";
  666.                 }
  667.             }
  668.             $_parent $context['_parent'];
  669.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pm'], $context['_parent'], $context['loop']);
  670.             $context array_intersect_key($context$_parent) + $_parent;
  671.             // line 435
  672.             echo "\t\t";
  673.         }
  674.         // line 436
  675.         echo "
  676. \t\tmitsumori_simulation(\"\",\"\");
  677. \t\tfunction contact_form(product_id){
  678. \t\t\t\$('#form1').attr('action', '";
  679.         // line 439
  680.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("contact", ["product" => 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.'439$this->source); })()), "id", [], "any"falsefalsefalse439)]), "html"nulltrue);
  681.         echo "');
  682. \t\t\t\$('#form1').submit();
  683. \t\t}
  684. \t\tfunction maisu(mai){
  685. \t\t\t\$('#maisu').val(parseInt(\$('#maisu').val()) + mai);
  686. \t\t\tif(parseInt(\$('#maisu').val()) < 3){ \$('#maisu').val(3); }
  687. \t\t\tif(parseInt(\$('#maisu').val()) > 20){ \$('#maisu').val(20); }
  688. \t\t\t\$('#quantity').val(\$('#maisu').val());
  689. \t\t}
  690. \t\tfunction madoset(mai){
  691. \t\t\t\$('#set').val(parseInt(\$('#set').val()) + mai);
  692. \t\t\tif(parseInt(\$('#set').val()) < 1){ \$('#set').val(1); }
  693. \t\t\tif(parseInt(\$('#set').val()) > 20){ \$('#set').val(20); }
  694. \t\t\t\$('#quantity').val(\$('#set').val());
  695. \t\t}
  696. \t\tfunction heibei(bei){
  697. \t\t\t\$('#heibei').val(parseInt(\$('#heibei').val()) + dai);
  698. \t\t\tif(parseInt(\$('#heibei').val()) < 1){ \$('#heibei').val(1); }
  699. \t\t\tif(parseInt(\$('#heibei').val()) > 100){ \$('#heibei').val(100); }
  700. \t\t\t\$('#quantity').val(\$('#heibei').val());
  701. \t\t}
  702. \t\tfunction daisu(dai){
  703. \t\t\t\$('#daisu').val(parseInt(\$('#daisu').val()) + dai);
  704. \t\t\tif(parseInt(\$('#daisu').val()) < 1){ \$('#daisu').val(1); }
  705. \t\t\tif(parseInt(\$('#daisu').val()) > 10){ \$('#daisu').val(10); }
  706. \t\t\t\$('#quantity').val(\$('#daisu').val());
  707. \t\t}
  708.     </script>
  709.     <script type=\"application/ld+json\">
  710.     {
  711.         \"@context\": \"https://schema.org/\",
  712.         \"@type\": \"Product\",
  713.         \"name\": \"";
  714.         // line 476
  715.         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.'476$this->source); })()), "name", [], "any"falsefalsefalse476), "html"nulltrue);
  716.         echo "\",
  717.         \"image\": [
  718.             ";
  719.         // line 478
  720.         $context['_parent'] = $context;
  721.         $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.'478$this->source); })()), "ProductImage", [], "any"falsefalsefalse478));
  722.         $context['_iterated'] = false;
  723.         $context['loop'] = [
  724.           'parent' => $context['_parent'],
  725.           'index0' => 0,
  726.           'index'  => 1,
  727.           'first'  => true,
  728.         ];
  729.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  730.             $length count($context['_seq']);
  731.             $context['loop']['revindex0'] = $length 1;
  732.             $context['loop']['revindex'] = $length;
  733.             $context['loop']['length'] = $length;
  734.             $context['loop']['last'] = === $length;
  735.         }
  736.         foreach ($context['_seq'] as $context["_key"] => $context["img"]) {
  737.             // line 479
  738.             echo "                \"";
  739.             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.'479$this->source); })()), "request", [], "any"falsefalsefalse479), "schemeAndHttpHost", [], "any"falsefalsefalse479), "html"nulltrue);
  740.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["img"], "save_image"), "html"nulltrue);
  741.             echo "\"";
  742.             if ( !twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse479)) {
  743.                 echo ",";
  744.             }
  745.             // line 480
  746.             echo "
  747.             ";
  748.             $context['_iterated'] = true;
  749.             ++$context['loop']['index0'];
  750.             ++$context['loop']['index'];
  751.             $context['loop']['first'] = false;
  752.             if (isset($context['loop']['length'])) {
  753.                 --$context['loop']['revindex0'];
  754.                 --$context['loop']['revindex'];
  755.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  756.             }
  757.         }
  758.         if (!$context['_iterated']) {
  759.             // line 482
  760.             echo "                \"";
  761.             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.'482$this->source); })()), "request", [], "any"falsefalsefalse482), "schemeAndHttpHost", [], "any"falsefalsefalse482), "html"nulltrue);
  762.             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);
  763.             echo "\"
  764.             ";
  765.         }
  766.         $_parent $context['_parent'];
  767.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['img'], $context['_parent'], $context['loop']);
  768.         $context array_intersect_key($context$_parent) + $_parent;
  769.         // line 484
  770.         echo "        ],
  771.         \"description\": \"";
  772.         // line 485
  773.         echo twig_escape_filter($this->envtwig_slice($this->envtwig_replace_filter(((twig_get_attribute($this->env$this->source, ($context["Product"] ?? null), "description_list", [], "any"truetruefalse485)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["Product"] ?? null), "description_list", [], "any"falsefalsefalse485), 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.'485$this->source); })()), "description_detail", [], "any"falsefalsefalse485))) : (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.'485$this->source); })()), "description_detail", [], "any"falsefalsefalse485))), ["
  774. => """ " => ""]), 0300), "html"nulltrue);
  775.         echo "\",
  776.         ";
  777.         // line 486
  778.         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.'486$this->source); })()), "code_min", [], "any"falsefalsefalse486)) {
  779.             // line 487
  780.             echo "        \"sku\": \"";
  781.             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.'487$this->source); })()), "code_min", [], "any"falsefalsefalse487), "html"nulltrue);
  782.             echo "\",
  783.         ";
  784.         }
  785.         // line 489
  786.         echo "        \"offers\": {
  787.             \"@type\": \"Offer\",
  788.             \"url\": \"";
  789.         // line 491
  790.         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.'491$this->source); })()), "id", [], "any"falsefalsefalse491)]), "html"nulltrue);
  791.         echo "\",
  792.             \"priceCurrency\": \"";
  793.         // line 492
  794.         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.'492$this->source); })()), "currency", [], "any"falsefalsefalse492), "html"nulltrue);
  795.         echo "\",
  796.             \"price\": ";
  797.         // line 493
  798.         ((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.'493$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsefalse493)) ? (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.'493$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsefalse493), "html"nulltrue))) : (print (0)));
  799.         echo ",
  800.             \"availability\": \"";
  801.         // line 494
  802.         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.'494$this->source); })()), "stock_find", [], "any"falsefalsefalse494)) ? ("InStock") : ("OutOfStock"));
  803.         echo "\"
  804.         }
  805.     }
  806.     </script>
  807. ";
  808.         
  809.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  810.         
  811.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  812.     }
  813.     // line 501
  814.     public function block_main($context, array $blocks = [])
  815.     {
  816.         $macros $this->macros;
  817.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  818.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  819.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  820.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  821.         // line 502
  822.         echo "    <div class=\"ec-productRole\" style=\"margin-top:20px;\">
  823.         <div class=\"ec-grid2\">
  824.             <div class=\"ec-grid2__cell\">
  825.                 <div class=\"ec-sliderItemRole\">
  826. \t                ";
  827.         // line 507
  828.         echo "\t                <div class=\"ec-productRole__title\">
  829. \t                    <h2 class=\"ec-headingTitle\">";
  830.         // line 508
  831.         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.'508$this->source); })()), "name", [], "any"falsefalsefalse508), "html"nulltrue);
  832.         echo "</h2>
  833. \t                </div>
  834.                     ";
  835.         // line 510
  836.         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.'510$this->source); })()), "option_favorite_product", [], "any"falsefalsefalse510)) {
  837.             // line 511
  838.             echo "                     <div style=\"position:relative;top: 20px;left: 10px;z-index:100;\">
  839. \t\t\t\t\t\t";
  840.             // line 512
  841.             if (((isset($context["is_favorite"]) || array_key_exists("is_favorite"$context) ? $context["is_favorite"] : (function () { throw new RuntimeError('Variable "is_favorite" does not exist.'512$this->source); })()) == false)) {
  842.                 // line 513
  843.                 echo "                        <form action=\"";
  844.                 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.'513$this->source); })()), "id", [], "any"falsefalsefalse513)]), "html"nulltrue);
  845.                 echo "\" method=\"post\">
  846.                            <button type=\"submit\" id=\"favorite\" class=\"favorite\">&#9825;</button>
  847.                         </form>
  848.                         ";
  849.             } else {
  850.                 // line 517
  851.                 echo "                        <form action=\"";
  852.                 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.'517$this->source); })()), "id", [], "any"falsefalsefalse517)]), "html"nulltrue);
  853.                 echo "\" method=\"post\">
  854.                            <button type=\"submit\" id=\"favorite\" class=\"favorite\" style=\"color:red;\">&#9829;</button>
  855.                         </form>
  856.                         ";
  857.             }
  858.             // line 521
  859.             echo "                     </div>
  860.                     ";
  861.         }
  862.         // line 523
  863.         echo "                    <div class=\"item_visual\">
  864.                         ";
  865.         // line 524
  866.         $context['_parent'] = $context;
  867.         $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.'524$this->source); })()), "ProductImage", [], "any"falsefalsefalse524));
  868.         $context['_iterated'] = false;
  869.         $context['loop'] = [
  870.           'parent' => $context['_parent'],
  871.           'index0' => 0,
  872.           'index'  => 1,
  873.           'first'  => true,
  874.         ];
  875.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  876.             $length count($context['_seq']);
  877.             $context['loop']['revindex0'] = $length 1;
  878.             $context['loop']['revindex'] = $length;
  879.             $context['loop']['length'] = $length;
  880.             $context['loop']['last'] = === $length;
  881.         }
  882.         foreach ($context['_seq'] as $context["_key"] => $context["ProductImage"]) {
  883.             // line 525
  884.             echo "                            <div class=\"slide-item\"><img src=\"";
  885.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["ProductImage"], "save_image"), "html"nulltrue);
  886.             echo "\" alt=\"";
  887.             ((twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse525)) ? (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.'525$this->source); })()), "name", [], "any"falsefalsefalse525), "html"nulltrue))) : (print ("")));
  888.             echo "\" width=\"550\" height=\"550\" style=\"max-height: 400px;\"";
  889.             if ((twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse525) > 1)) {
  890.                 echo " loading=\"lazy\"";
  891.             }
  892.             echo "></div>
  893.                         ";
  894.             $context['_iterated'] = true;
  895.             ++$context['loop']['index0'];
  896.             ++$context['loop']['index'];
  897.             $context['loop']['first'] = false;
  898.             if (isset($context['loop']['length'])) {
  899.                 --$context['loop']['revindex0'];
  900.                 --$context['loop']['revindex'];
  901.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  902.             }
  903.         }
  904.         if (!$context['_iterated']) {
  905.             // line 527
  906.             echo "                            <div class=\"slide-item\"><img src=\"";
  907.             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);
  908.             echo "\" alt=\"";
  909.             ((twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse527)) ? (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.'527$this->source); })()), "name", [], "any"falsefalsefalse527), "html"nulltrue))) : (print ("")));
  910.             echo "\" width=\"550\" height=\"550\" style=\"max-height: 400px;\"></div>
  911.                         ";
  912.         }
  913.         $_parent $context['_parent'];
  914.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductImage'], $context['_parent'], $context['loop']);
  915.         $context array_intersect_key($context$_parent) + $_parent;
  916.         // line 529
  917.         echo "                    </div>
  918.                     <div class=\"item_nav\">
  919.                         ";
  920.         // line 531
  921.         $context['_parent'] = $context;
  922.         $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.'531$this->source); })()), "ProductImage", [], "any"falsefalsefalse531));
  923.         $context['loop'] = [
  924.           'parent' => $context['_parent'],
  925.           'index0' => 0,
  926.           'index'  => 1,
  927.           'first'  => true,
  928.         ];
  929.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  930.             $length count($context['_seq']);
  931.             $context['loop']['revindex0'] = $length 1;
  932.             $context['loop']['revindex'] = $length;
  933.             $context['loop']['length'] = $length;
  934.             $context['loop']['last'] = === $length;
  935.         }
  936.         foreach ($context['_seq'] as $context["_key"] => $context["ProductImage"]) {
  937.             // line 532
  938.             echo "                            <div class=\"slideThumb\" data-index=\"";
  939.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsefalse532), "html"nulltrue);
  940.             echo "\"><img src=\"";
  941.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["ProductImage"], "save_image"), "html"nulltrue);
  942.             echo "\" alt=\"\" width=\"80\" height=\"80\" loading=\"lazy\"></div>
  943.                         ";
  944.             ++$context['loop']['index0'];
  945.             ++$context['loop']['index'];
  946.             $context['loop']['first'] = false;
  947.             if (isset($context['loop']['length'])) {
  948.                 --$context['loop']['revindex0'];
  949.                 --$context['loop']['revindex'];
  950.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  951.             }
  952.         }
  953.         $_parent $context['_parent'];
  954.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductImage'], $context['_parent'], $context['loop']);
  955.         $context array_intersect_key($context$_parent) + $_parent;
  956.         // line 534
  957.         echo "                    </div>
  958.                 </div>
  959.             </div>
  960.             <div class=\"ec-grid2__cell2\">
  961.                 <div class=\"ec-productRole__profile\" >
  962.                     ";
  963.         // line 543
  964.         echo "                    ";
  965.         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.'543$this->source); })()), "ProductCategories", [], "any"falsefalsefalse543))) {
  966.             // line 544
  967.             echo "                        <div class=\"ec-productRole__category\" style=\"padding:10px 0;\">
  968.                             ";
  969.             // line 545
  970.             $context['_parent'] = $context;
  971.             $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.'545$this->source); })()), "ProductCategories", [], "any"falsefalsefalse545));
  972.             foreach ($context['_seq'] as $context["_key"] => $context["ProductCategory"]) {
  973.                 // line 546
  974.                 echo "                                <ul>
  975.                                     <li>
  976.                                         ";
  977.                 // line 548
  978.                 $context['_parent'] = $context;
  979.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["ProductCategory"], "Category", [], "any"falsefalsefalse548), "path", [], "any"falsefalsefalse548));
  980.                 $context['loop'] = [
  981.                   'parent' => $context['_parent'],
  982.                   'index0' => 0,
  983.                   'index'  => 1,
  984.                   'first'  => true,
  985.                 ];
  986.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  987.                     $length count($context['_seq']);
  988.                     $context['loop']['revindex0'] = $length 1;
  989.                     $context['loop']['revindex'] = $length;
  990.                     $context['loop']['length'] = $length;
  991.                     $context['loop']['last'] = === $length;
  992.                 }
  993.                 foreach ($context['_seq'] as $context["_key"] => $context["Category"]) {
  994.                     // line 549
  995.                     echo "                                            <a href=\"";
  996.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  997.                     echo "?category_id=";
  998.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Category"], "id", [], "any"falsefalsefalse549), "html"nulltrue);
  999.                     echo "\">";
  1000.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Category"], "name", [], "any"falsefalsefalse549), "html"nulltrue);
  1001.                     echo "</a>";
  1002.                     if ((twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse549) == false)) {
  1003.                         // line 550
  1004.                         echo "                                            <span>></span>";
  1005.                     }
  1006.                     ++$context['loop']['index0'];
  1007.                     ++$context['loop']['index'];
  1008.                     $context['loop']['first'] = false;
  1009.                     if (isset($context['loop']['length'])) {
  1010.                         --$context['loop']['revindex0'];
  1011.                         --$context['loop']['revindex'];
  1012.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  1013.                     }
  1014.                 }
  1015.                 $_parent $context['_parent'];
  1016.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Category'], $context['_parent'], $context['loop']);
  1017.                 $context array_intersect_key($context$_parent) + $_parent;
  1018.                 // line 552
  1019.                 echo "                                    </li>
  1020.                                 </ul>
  1021.                             ";
  1022.             }
  1023.             $_parent $context['_parent'];
  1024.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductCategory'], $context['_parent'], $context['loop']);
  1025.             $context array_intersect_key($context$_parent) + $_parent;
  1026.             // line 555
  1027.             echo "                        </div>
  1028.                     ";
  1029.         }
  1030.         // line 557
  1031.         echo "                    ";
  1032.         // line 558
  1033.         echo "                    <div class=\"ec-productRole__price\">
  1034. \t\t\t\t\t\t<span style=\"color:black;font-size:15px;\">工事費込み価格</span>
  1035.                         ";
  1036.         // line 560
  1037.         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.'560$this->source); })()), "hasProductClass", [], "any"falsefalsefalse560)) {
  1038.             // line 561
  1039.             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.'561$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsefalse561) == 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.'561$this->source); })()), "getPrice02IncTaxMax", [], "any"falsefalsefalse561))) {
  1040.                 // line 562
  1041.                 echo "                                <div class=\"ec-price\">
  1042.                                     <span class=\"ec-price__price price02-default\">";
  1043.                 // line 563
  1044.                 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.'563$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsefalse563)), "html"nulltrue);
  1045.                 echo "</span>
  1046.                                     <span class=\"ec-price__tax\">(";
  1047.                 // line 564
  1048.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  1049.                 echo ")~</span>
  1050.                                 </div>
  1051.                             ";
  1052.             } else {
  1053.                 // line 567
  1054.                 echo "                                <div class=\"ec-price\">
  1055.                                     <span class=\"ec-price__price price02-default\">";
  1056.                 // line 568
  1057.                 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.'568$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsefalse568)), "html"nulltrue);
  1058.                 echo " ~ ";
  1059.                 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.'568$this->source); })()), "getPrice02IncTaxMax", [], "any"falsefalsefalse568)), "html"nulltrue);
  1060.                 echo "</span>
  1061.                                     <span class=\"ec-price__tax\">(";
  1062.                 // line 569
  1063.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  1064.                 echo ")</span>
  1065.                                 </div>
  1066.                             ";
  1067.             }
  1068.             // line 572
  1069.             echo "                        ";
  1070.         } else {
  1071.             // line 573
  1072.             echo "                            <div class=\"ec-price\">
  1073.                                 <span class=\"ec-price__price\">";
  1074.             // line 574
  1075.             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.'574$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsefalse574)), "html"nulltrue);
  1076.             echo "</span>
  1077.                                     <span class=\"ec-price__tax\">(";
  1078.             // line 575
  1079.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  1080.             echo ")~</span>
  1081.                             </div>
  1082.                         ";
  1083.         }
  1084.         // line 578
  1085.         echo "                    </div>
  1086.                     ";
  1087.         // line 580
  1088.         echo "                    <ul class=\"ec-productRole__tags\">
  1089.                         ";
  1090.         // line 581
  1091.         $context['_parent'] = $context;
  1092.         $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.'581$this->source); })()), "Tags", [], "any"falsefalsefalse581));
  1093.         foreach ($context['_seq'] as $context["_key"] => $context["Tag"]) {
  1094.             // line 582
  1095.             echo "                            <li class=\"ec-productRole__tag tag_";
  1096.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Tag"], "id", [], "any"falsefalsefalse582), "html"nulltrue);
  1097.             echo "\">";
  1098.             echo twig_escape_filter($this->env$context["Tag"], "html"nulltrue);
  1099.             echo "</li>
  1100.                         ";
  1101.         }
  1102.         $_parent $context['_parent'];
  1103.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Tag'], $context['_parent'], $context['loop']);
  1104.         $context array_intersect_key($context$_parent) + $_parent;
  1105.         // line 584
  1106.         echo "                    </ul>
  1107.                     ";
  1108.         // line 586
  1109.         echo "                    ";
  1110.         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.'586$this->source); })()), "code_min", [], "any"falsefalsefalse586))) {
  1111.             // line 587
  1112.             echo "                        <div class=\"ec-productRole__code\">
  1113.                             ";
  1114.             // line 588
  1115.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("商品コード"), "html"nulltrue);
  1116.             echo ": <span class=\"product-code-default\">";
  1117.             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.'588$this->source); })()), "code_min", [], "any"falsefalsefalse588), "html"nulltrue);
  1118.             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.'588$this->source); })()), "code_min", [], "any"falsefalsefalse588) != 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.'588$this->source); })()), "code_max", [], "any"falsefalsefalse588))) {
  1119.                 echo " ~ ";
  1120.                 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.'588$this->source); })()), "code_max", [], "any"falsefalsefalse588), "html"nulltrue);
  1121.             }
  1122.             echo "</span>
  1123.                         </div>
  1124.                     ";
  1125.         }
  1126.         // line 591
  1127.         echo "
  1128.                     <div class=\"ec-productRole__description\">
  1129. \t\t\t\t        <div class=\"ec-rectHeading\">
  1130. \t\t\t\t            <h4>製品情報</h4>
  1131. \t\t\t\t        </div>
  1132. \t\t\t\t\t\t";
  1133.         // line 596
  1134.         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.'596$this->source); })()), "sales_infomation", [], "any"falsefalsefalse596));
  1135.         echo "
  1136.                     </div>
  1137. \t\t\t\t\t<div class=\"card card-danger\" style=\"clear:both;margin:1px;\">
  1138. \t\t\t\t\t  <div class=\"card-header\">
  1139. \t\t\t\t\t    <h3 class=\"card-title\">見積シミュレーション</h3>
  1140. \t\t\t\t\t  </div>
  1141. \t\t\t\t\t  <div class=\"card-body p-2\">
  1142. \t\t\t\t\t    <div class=\"row\" style=\"border-bottom:1px solid rgba(0,0,0,.125)\"><label class=\"col-12 col-form-label\">この商品のタイプを選択してください。</label></div>
  1143. \t\t\t\t\t\t";
  1144.         // line 607
  1145.         $context["type1"] = $this->extensions['Plugin\ProductField\Twig\Extension\EccubeExtension']->getProduct_field(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.'607$this->source); })()), "id", [], "any"falsefalsefalse607), "related_name1");
  1146.         // line 608
  1147.         echo "                        ";
  1148.         if ((((isset($context["type1"]) || array_key_exists("type1"$context) ? $context["type1"] : (function () { throw new RuntimeError('Variable "type1" does not exist.'608$this->source); })()) && (isset($context["related_product1"]) || array_key_exists("related_product1"$context) ? $context["related_product1"] : (function () { throw new RuntimeError('Variable "related_product1" does not exist.'608$this->source); })())) && twig_length_filter($this->env, (isset($context["related_product1"]) || array_key_exists("related_product1"$context) ? $context["related_product1"] : (function () { throw new RuntimeError('Variable "related_product1" does not exist.'608$this->source); })())))) {
  1149.             // line 609
  1150.             echo "\t\t\t\t\t    <div class=\"form-group row mt-2\" style=\"border-bottom:1px solid rgba(0,0,0,.125)\">
  1151. \t\t\t\t\t\t  <label class=\"col-4 col-form-label mt-2\">";
  1152.             // line 610
  1153.             echo twig_escape_filter($this->env, (isset($context["type1"]) || array_key_exists("type1"$context) ? $context["type1"] : (function () { throw new RuntimeError('Variable "type1" does not exist.'610$this->source); })()), "html"nulltrue);
  1154.             echo "</label>
  1155. \t\t\t\t\t\t  <div class=\"col-8 mt-2\">
  1156. \t\t\t\t\t\t    <div class=\"form-group clearfix\">
  1157. \t\t\t\t\t\t      ";
  1158.             // line 613
  1159.             $context['_parent'] = $context;
  1160.             $context['_seq'] = twig_ensure_traversable((isset($context["related_product1"]) || array_key_exists("related_product1"$context) ? $context["related_product1"] : (function () { throw new RuntimeError('Variable "related_product1" does not exist.'613$this->source); })()));
  1161.             foreach ($context['_seq'] as $context["rp_id"] => $context["rp_name"]) {
  1162.                 // line 614
  1163.                 echo "\t\t\t\t\t\t      <div class=\"icheck-danger d-inline\">
  1164. \t\t\t\t\t\t        <input type=\"radio\" name=\"rp1\" id=\"rp1_";
  1165.                 // line 615
  1166.                 echo twig_escape_filter($this->env$context["rp_id"], "html"nulltrue);
  1167.                 echo "\" value=\"";
  1168.                 echo twig_escape_filter($this->env$context["rp_name"], "html"nulltrue);
  1169.                 echo "\" ";
  1170.                 if (((isset($context["base_select1"]) || array_key_exists("base_select1"$context) ? $context["base_select1"] : (function () { throw new RuntimeError('Variable "base_select1" does not exist.'615$this->source); })()) == $context["rp_name"])) {
  1171.                     echo "checked";
  1172.                 }
  1173.                 echo " onclick=\"location.href='/products/detail/";
  1174.                 echo twig_escape_filter($this->env$context["rp_id"], "html"nulltrue);
  1175.                 echo "';\"><label for=\"rp1_";
  1176.                 echo twig_escape_filter($this->env$context["rp_id"], "html"nulltrue);
  1177.                 echo "\">";
  1178.                 echo twig_escape_filter($this->env$context["rp_name"], "html"nulltrue);
  1179.                 echo "</label>
  1180. \t\t\t\t\t\t      </div>
  1181. \t\t\t\t\t\t\t  ";
  1182.             }
  1183.             $_parent $context['_parent'];
  1184.             unset($context['_seq'], $context['_iterated'], $context['rp_id'], $context['rp_name'], $context['_parent'], $context['loop']);
  1185.             $context array_intersect_key($context$_parent) + $_parent;
  1186.             // line 618
  1187.             echo "\t\t\t\t\t\t    </div>
  1188. \t\t\t\t\t\t  </div>
  1189. \t\t\t\t\t    </div>
  1190.                         ";
  1191.         }
  1192.         // line 622
  1193.         echo "
  1194. \t\t\t\t\t\t";
  1195.         // line 623
  1196.         $context["type2"] = $this->extensions['Plugin\ProductField\Twig\Extension\EccubeExtension']->getProduct_field(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.'623$this->source); })()), "id", [], "any"falsefalsefalse623), "related_name2");
  1197.         // line 624
  1198.         echo "                        ";
  1199.         if ((((isset($context["type2"]) || array_key_exists("type2"$context) ? $context["type2"] : (function () { throw new RuntimeError('Variable "type2" does not exist.'624$this->source); })()) && (isset($context["related_product2"]) || array_key_exists("related_product2"$context) ? $context["related_product2"] : (function () { throw new RuntimeError('Variable "related_product2" does not exist.'624$this->source); })())) && twig_length_filter($this->env, (isset($context["related_product2"]) || array_key_exists("related_product2"$context) ? $context["related_product2"] : (function () { throw new RuntimeError('Variable "related_product2" does not exist.'624$this->source); })())))) {
  1200.             // line 625
  1201.             echo "\t\t\t\t\t    <div class=\"form-group row mt-2\" style=\"border-bottom:1px solid rgba(0,0,0,.125)\">
  1202. \t\t\t\t\t\t  <label class=\"col-4 col-form-label mt-2\">";
  1203.             // line 626
  1204.             echo twig_escape_filter($this->env, (isset($context["type2"]) || array_key_exists("type2"$context) ? $context["type2"] : (function () { throw new RuntimeError('Variable "type2" does not exist.'626$this->source); })()), "html"nulltrue);
  1205.             echo "</label>
  1206. \t\t\t\t\t\t  <div class=\"col-8 mt-2\">
  1207. \t\t\t\t\t\t    <div class=\"form-group clearfix\">
  1208. \t\t\t\t\t\t      ";
  1209.             // line 629
  1210.             $context['_parent'] = $context;
  1211.             $context['_seq'] = twig_ensure_traversable((isset($context["related_product2"]) || array_key_exists("related_product2"$context) ? $context["related_product2"] : (function () { throw new RuntimeError('Variable "related_product2" does not exist.'629$this->source); })()));
  1212.             foreach ($context['_seq'] as $context["rp_id"] => $context["rp_name"]) {
  1213.                 // line 630
  1214.                 echo "\t\t\t\t\t\t      <div class=\"icheck-danger d-inline\">
  1215. \t\t\t\t\t\t        <input type=\"radio\" name=\"rp2\" id=\"rp2_";
  1216.                 // line 631
  1217.                 echo twig_escape_filter($this->env$context["rp_id"], "html"nulltrue);
  1218.                 echo "\" value=\"";
  1219.                 echo twig_escape_filter($this->env$context["rp_name"], "html"nulltrue);
  1220.                 echo "\" ";
  1221.                 if (((isset($context["base_select2"]) || array_key_exists("base_select2"$context) ? $context["base_select2"] : (function () { throw new RuntimeError('Variable "base_select2" does not exist.'631$this->source); })()) == $context["rp_name"])) {
  1222.                     echo "checked";
  1223.                 }
  1224.                 echo " onclick=\"location.href='/products/detail/";
  1225.                 echo twig_escape_filter($this->env$context["rp_id"], "html"nulltrue);
  1226.                 echo "';\"><label for=\"rp2_";
  1227.                 echo twig_escape_filter($this->env$context["rp_id"], "html"nulltrue);
  1228.                 echo "\">";
  1229.                 echo twig_escape_filter($this->env$context["rp_name"], "html"nulltrue);
  1230.                 echo "</label>
  1231. \t\t\t\t\t\t      </div>
  1232. \t\t\t\t\t\t\t  ";
  1233.             }
  1234.             $_parent $context['_parent'];
  1235.             unset($context['_seq'], $context['_iterated'], $context['rp_id'], $context['rp_name'], $context['_parent'], $context['loop']);
  1236.             $context array_intersect_key($context$_parent) + $_parent;
  1237.             // line 634
  1238.             echo "\t\t\t\t\t\t    </div>
  1239. \t\t\t\t\t\t  </div>
  1240. \t\t\t\t\t    </div>
  1241.                         ";
  1242.         }
  1243.         // line 638
  1244.         echo "
  1245. \t\t\t\t\t\t";
  1246.         // line 639
  1247.         $context["type3"] = $this->extensions['Plugin\ProductField\Twig\Extension\EccubeExtension']->getProduct_field(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.'639$this->source); })()), "id", [], "any"falsefalsefalse639), "related_name3");
  1248.         // line 640
  1249.         echo "                        ";
  1250.         if ((((isset($context["type3"]) || array_key_exists("type3"$context) ? $context["type3"] : (function () { throw new RuntimeError('Variable "type3" does not exist.'640$this->source); })()) && (isset($context["related_product3"]) || array_key_exists("related_product3"$context) ? $context["related_product3"] : (function () { throw new RuntimeError('Variable "related_product3" does not exist.'640$this->source); })())) && twig_length_filter($this->env, (isset($context["related_product3"]) || array_key_exists("related_product3"$context) ? $context["related_product3"] : (function () { throw new RuntimeError('Variable "related_product3" does not exist.'640$this->source); })())))) {
  1251.             // line 641
  1252.             echo "\t\t\t\t\t    <div class=\"form-group row mt-2\" style=\"border-bottom:1px solid rgba(0,0,0,.125)\">
  1253. \t\t\t\t\t\t  <label class=\"col-4 col-form-label mt-2\">";
  1254.             // line 642
  1255.             echo twig_escape_filter($this->env, (isset($context["type3"]) || array_key_exists("type3"$context) ? $context["type3"] : (function () { throw new RuntimeError('Variable "type3" does not exist.'642$this->source); })()), "html"nulltrue);
  1256.             echo "</label>
  1257. \t\t\t\t\t\t  <div class=\"col-8 mt-2\">
  1258. \t\t\t\t\t\t    <div class=\"form-group clearfix\">
  1259. \t\t\t\t\t\t      ";
  1260.             // line 645
  1261.             $context['_parent'] = $context;
  1262.             $context['_seq'] = twig_ensure_traversable((isset($context["related_product3"]) || array_key_exists("related_product3"$context) ? $context["related_product3"] : (function () { throw new RuntimeError('Variable "related_product3" does not exist.'645$this->source); })()));
  1263.             foreach ($context['_seq'] as $context["rp_id"] => $context["rp_name"]) {
  1264.                 // line 646
  1265.                 echo "\t\t\t\t\t\t      <div class=\"icheck-danger d-inline\">
  1266. \t\t\t\t\t\t        <input type=\"radio\" name=\"rp3\" id=\"rp3_";
  1267.                 // line 647
  1268.                 echo twig_escape_filter($this->env$context["rp_id"], "html"nulltrue);
  1269.                 echo "\" value=\"";
  1270.                 echo twig_escape_filter($this->env$context["rp_name"], "html"nulltrue);
  1271.                 echo "\" ";
  1272.                 if (((isset($context["base_select3"]) || array_key_exists("base_select3"$context) ? $context["base_select3"] : (function () { throw new RuntimeError('Variable "base_select3" does not exist.'647$this->source); })()) == $context["rp_name"])) {
  1273.                     echo "checked";
  1274.                 }
  1275.                 echo " onclick=\"location.href='/products/detail/";
  1276.                 echo twig_escape_filter($this->env$context["rp_id"], "html"nulltrue);
  1277.                 echo "';\"><label for=\"rp3_";
  1278.                 echo twig_escape_filter($this->env$context["rp_id"], "html"nulltrue);
  1279.                 echo "\">";
  1280.                 echo twig_escape_filter($this->env$context["rp_name"], "html"nulltrue);
  1281.                 echo "</label>
  1282. \t\t\t\t\t\t      </div>
  1283. \t\t\t\t\t\t\t  ";
  1284.             }
  1285.             $_parent $context['_parent'];
  1286.             unset($context['_seq'], $context['_iterated'], $context['rp_id'], $context['rp_name'], $context['_parent'], $context['loop']);
  1287.             $context array_intersect_key($context$_parent) + $_parent;
  1288.             // line 650
  1289.             echo "\t\t\t\t\t\t    </div>
  1290. \t\t\t\t\t\t  </div>
  1291. \t\t\t\t\t    </div>
  1292.                         ";
  1293.         }
  1294.         // line 654
  1295.         echo "
  1296. \t\t\t\t\t    <div class=\"row\" style=\"border-bottom:1px solid rgba(0,0,0,.125)\"><label class=\"col-12 col-form-label\">この商品のオプションを選択してください。</label></div>
  1297.                         ";
  1298.         // line 659
  1299.         if (((isset($context["color"]) || array_key_exists("color"$context) ? $context["color"] : (function () { throw new RuntimeError('Variable "color" does not exist.'659$this->source); })()) && twig_length_filter($this->env, (isset($context["color"]) || array_key_exists("color"$context) ? $context["color"] : (function () { throw new RuntimeError('Variable "color" does not exist.'659$this->source); })())))) {
  1300.             // line 660
  1301.             echo "\t\t\t\t\t    <div class=\"form-group row mt-2\" style=\"border-bottom:1px solid rgba(0,0,0,.125)\">
  1302. \t\t\t\t\t\t  <label class=\"col-4 col-form-label mt-2\">カラー</label>
  1303. \t\t\t\t\t\t  <div class=\"col-8 mt-2\">
  1304. \t\t\t\t\t\t    <div class=\"form-group clearfix\">
  1305. \t\t\t\t\t\t    ";
  1306.             // line 664
  1307.             $context["idx"] = 0;
  1308.             // line 665
  1309.             echo "\t\t\t\t\t\t    ";
  1310.             $context['_parent'] = $context;
  1311.             $context['_seq'] = twig_ensure_traversable((isset($context["color"]) || array_key_exists("color"$context) ? $context["color"] : (function () { throw new RuntimeError('Variable "color" does not exist.'665$this->source); })()));
  1312.             foreach ($context['_seq'] as $context["_key"] => $context["cc"]) {
  1313.                 // line 666
  1314.                 echo "\t\t\t\t\t\t      ";
  1315.                 if (($context["cc"] && twig_get_attribute($this->env$this->source$context["cc"], "name", [], "array"falsefalsefalse666))) {
  1316.                     // line 667
  1317.                     echo "\t\t\t\t\t\t      ";
  1318.                     $context["idx"] = ((isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'667$this->source); })()) + 1);
  1319.                     // line 668
  1320.                     echo "\t\t\t\t\t\t      <div class=\"icheck-danger d-inline\">
  1321. \t\t\t\t\t\t        <input type=\"radio\" name=\"color\" id=\"cc_";
  1322.                     // line 669
  1323.                     echo twig_escape_filter($this->env, (isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'669$this->source); })()), "html"nulltrue);
  1324.                     echo "\" value=\"";
  1325.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["cc"], "name", [], "array"falsefalsefalse669), "html"nulltrue);
  1326.                     echo "\" ";
  1327.                     if ((((isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'669$this->source); })()) && (twig_get_attribute($this->env$this->source, (isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'669$this->source); })()), "pc", [], "any"falsefalsefalse669) == twig_get_attribute($this->env$this->source$context["cc"], "name", [], "array"falsefalsefalse669))) || (twig_length_filter($this->env, (isset($context["color"]) || array_key_exists("color"$context) ? $context["color"] : (function () { throw new RuntimeError('Variable "color" does not exist.'669$this->source); })())) == 1))) {
  1328.                         echo "checked";
  1329.                     }
  1330.                     echo " onclick=\"mitsumori_simulation('pc','cc_";
  1331.                     echo twig_escape_filter($this->env, (isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'669$this->source); })()), "html"nulltrue);
  1332.                     echo "');\"><label for=\"cc_";
  1333.                     echo twig_escape_filter($this->env, (isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'669$this->source); })()), "html"nulltrue);
  1334.                     echo "\">";
  1335.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["cc"], "name", [], "array"falsefalsefalse669), "html"nulltrue);
  1336.                     echo "</label>
  1337. \t\t\t\t\t\t      </div>
  1338. \t\t\t\t\t\t      ";
  1339.                 }
  1340.                 // line 672
  1341.                 echo "\t\t\t\t\t\t\t";
  1342.             }
  1343.             $_parent $context['_parent'];
  1344.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cc'], $context['_parent'], $context['loop']);
  1345.             $context array_intersect_key($context$_parent) + $_parent;
  1346.             // line 673
  1347.             echo "\t\t\t\t\t\t    </div>
  1348. \t\t\t\t\t\t  </div>
  1349. \t\t\t\t\t    </div>
  1350.                         ";
  1351.         }
  1352.         // line 677
  1353.         echo "                        ";
  1354.         if ((((isset($context["p_w"]) || array_key_exists("p_w"$context) ? $context["p_w"] : (function () { throw new RuntimeError('Variable "p_w" does not exist.'677$this->source); })()) && twig_length_filter($this->env, (isset($context["p_w"]) || array_key_exists("p_w"$context) ? $context["p_w"] : (function () { throw new RuntimeError('Variable "p_w" does not exist.'677$this->source); })()))) && (twig_join_filter((isset($context["p_w"]) || array_key_exists("p_w"$context) ? $context["p_w"] : (function () { throw new RuntimeError('Variable "p_w" does not exist.'677$this->source); })())) != ""))) {
  1355.             // line 678
  1356.             echo "\t\t\t\t\t\t<div class=\"form-group row mt-2\" style=\"border-bottom:1px solid rgba(0,0,0,.125)\">
  1357. \t\t\t\t\t\t  <label class=\"col-4 col-form-label\">幅</label>
  1358. \t\t\t\t\t\t  <div class=\"col-8\">
  1359. \t\t\t\t\t\t    <div class=\"form-group clearfix\">
  1360. \t\t\t\t\t\t    ";
  1361.             // line 682
  1362.             $context["idx"] = 0;
  1363.             // line 683
  1364.             echo "\t\t\t\t\t\t    ";
  1365.             $context['_parent'] = $context;
  1366.             $context['_seq'] = twig_ensure_traversable((isset($context["p_w"]) || array_key_exists("p_w"$context) ? $context["p_w"] : (function () { throw new RuntimeError('Variable "p_w" does not exist.'683$this->source); })()));
  1367.             foreach ($context['_seq'] as $context["_key"] => $context["pw"]) {
  1368.                 // line 684
  1369.                 echo "\t\t\t\t\t\t      ";
  1370.                 if ($context["pw"]) {
  1371.                     // line 685
  1372.                     echo "\t\t\t\t\t\t      ";
  1373.                     $context["idx"] = ((isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'685$this->source); })()) + 1);
  1374.                     // line 686
  1375.                     echo "\t\t\t\t\t\t      <div class=\"icheck-danger d-inline\">
  1376. \t\t\t\t\t\t        <input type=\"radio\" name=\"pw\" id=\"pw_";
  1377.                     // line 687
  1378.                     echo twig_escape_filter($this->env, (isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'687$this->source); })()), "html"nulltrue);
  1379.                     echo "\" value=\"";
  1380.                     echo twig_escape_filter($this->env$context["pw"], "html"nulltrue);
  1381.                     echo "\" ";
  1382.                     if ((((isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'687$this->source); })()) && (twig_get_attribute($this->env$this->source, (isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'687$this->source); })()), "pw", [], "any"falsefalsefalse687) == $context["pw"])) || (twig_length_filter($this->env, (isset($context["p_w"]) || array_key_exists("p_w"$context) ? $context["p_w"] : (function () { throw new RuntimeError('Variable "p_w" does not exist.'687$this->source); })())) == 1))) {
  1383.                         echo "checked";
  1384.                     }
  1385.                     echo " onclick=\"mitsumori_simulation('pw','pw_";
  1386.                     echo twig_escape_filter($this->env, (isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'687$this->source); })()), "html"nulltrue);
  1387.                     echo "');\"><label for=\"pw_";
  1388.                     echo twig_escape_filter($this->env, (isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'687$this->source); })()), "html"nulltrue);
  1389.                     echo "\">";
  1390.                     echo twig_escape_filter($this->env$context["pw"], "html"nulltrue);
  1391.                     echo "</label>
  1392. \t\t\t\t\t\t      </div>
  1393. \t\t\t\t\t\t      ";
  1394.                 }
  1395.                 // line 690
  1396.                 echo "\t\t\t\t\t\t\t";
  1397.             }
  1398.             $_parent $context['_parent'];
  1399.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pw'], $context['_parent'], $context['loop']);
  1400.             $context array_intersect_key($context$_parent) + $_parent;
  1401.             // line 691
  1402.             echo "\t\t\t\t\t\t    </div>
  1403. \t\t\t\t\t\t  </div>
  1404. \t\t\t\t\t\t</div>
  1405.                         ";
  1406.         }
  1407.         // line 695
  1408.         echo "                        ";
  1409.         if ((((isset($context["p_d"]) || array_key_exists("p_d"$context) ? $context["p_d"] : (function () { throw new RuntimeError('Variable "p_d" does not exist.'695$this->source); })()) && twig_length_filter($this->env, (isset($context["p_d"]) || array_key_exists("p_d"$context) ? $context["p_d"] : (function () { throw new RuntimeError('Variable "p_d" does not exist.'695$this->source); })()))) && (twig_join_filter((isset($context["p_d"]) || array_key_exists("p_d"$context) ? $context["p_d"] : (function () { throw new RuntimeError('Variable "p_d" does not exist.'695$this->source); })())) != ""))) {
  1410.             // line 696
  1411.             echo "\t\t\t\t\t\t<div class=\"form-group row mt-2\" style=\"border-bottom:1px solid rgba(0,0,0,.125)\">
  1412. \t\t\t\t\t\t  <label class=\"col-4 col-form-label\">奥行き</label>
  1413. \t\t\t\t\t\t  <div class=\"col-8\">
  1414. \t\t\t\t\t\t    <div class=\"form-group clearfix\">
  1415. \t\t\t\t\t\t    ";
  1416.             // line 700
  1417.             $context["idx"] = 0;
  1418.             // line 701
  1419.             echo "\t\t\t\t\t\t    ";
  1420.             $context['_parent'] = $context;
  1421.             $context['_seq'] = twig_ensure_traversable((isset($context["p_d"]) || array_key_exists("p_d"$context) ? $context["p_d"] : (function () { throw new RuntimeError('Variable "p_d" does not exist.'701$this->source); })()));
  1422.             foreach ($context['_seq'] as $context["_key"] => $context["pd"]) {
  1423.                 // line 702
  1424.                 echo "\t\t\t\t\t\t      ";
  1425.                 if ($context["pd"]) {
  1426.                     // line 703
  1427.                     echo "\t\t\t\t\t\t      ";
  1428.                     $context["idx"] = ((isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'703$this->source); })()) + 1);
  1429.                     // line 704
  1430.                     echo "\t\t\t\t\t\t      <div class=\"icheck-danger d-inline\">
  1431. \t\t\t\t\t\t        <input type=\"radio\" name=\"pd\" id=\"pd_";
  1432.                     // line 705
  1433.                     echo twig_escape_filter($this->env, (isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'705$this->source); })()), "html"nulltrue);
  1434.                     echo "\" value=\"";
  1435.                     echo twig_escape_filter($this->env$context["pd"], "html"nulltrue);
  1436.                     echo "\" ";
  1437.                     if ((((isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'705$this->source); })()) && (twig_get_attribute($this->env$this->source, (isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'705$this->source); })()), "pd", [], "any"falsefalsefalse705) == $context["pd"])) || (twig_length_filter($this->env, (isset($context["p_d"]) || array_key_exists("p_d"$context) ? $context["p_d"] : (function () { throw new RuntimeError('Variable "p_d" does not exist.'705$this->source); })())) == 1))) {
  1438.                         echo "checked";
  1439.                     }
  1440.                     echo " onclick=\"mitsumori_simulation('pd','pd_";
  1441.                     echo twig_escape_filter($this->env, (isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'705$this->source); })()), "html"nulltrue);
  1442.                     echo "');\"><label for=\"pd_";
  1443.                     echo twig_escape_filter($this->env, (isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'705$this->source); })()), "html"nulltrue);
  1444.                     echo "\">";
  1445.                     echo twig_escape_filter($this->env$context["pd"], "html"nulltrue);
  1446.                     echo "</label>
  1447. \t\t\t\t\t\t      </div>
  1448. \t\t\t\t\t\t      ";
  1449.                 }
  1450.                 // line 708
  1451.                 echo "\t\t\t\t\t\t\t";
  1452.             }
  1453.             $_parent $context['_parent'];
  1454.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pd'], $context['_parent'], $context['loop']);
  1455.             $context array_intersect_key($context$_parent) + $_parent;
  1456.             // line 709
  1457.             echo "\t\t\t\t\t\t    </div>
  1458. \t\t\t\t\t\t  </div>
  1459. \t\t\t\t\t\t</div>
  1460.                         ";
  1461.         }
  1462.         // line 713
  1463.         echo "                        ";
  1464.         if ((((isset($context["p_h"]) || array_key_exists("p_h"$context) ? $context["p_h"] : (function () { throw new RuntimeError('Variable "p_h" does not exist.'713$this->source); })()) && twig_length_filter($this->env, (isset($context["p_h"]) || array_key_exists("p_h"$context) ? $context["p_h"] : (function () { throw new RuntimeError('Variable "p_h" does not exist.'713$this->source); })()))) && (twig_join_filter((isset($context["p_h"]) || array_key_exists("p_h"$context) ? $context["p_h"] : (function () { throw new RuntimeError('Variable "p_h" does not exist.'713$this->source); })())) != ""))) {
  1465.             // line 714
  1466.             echo "\t\t\t\t\t\t<div class=\"form-group row mt-2\" style=\"border-bottom:1px solid rgba(0,0,0,.125)\">
  1467. \t\t\t\t\t\t  <label class=\"col-4 col-form-label\">高さ</label>
  1468. \t\t\t\t\t\t  <div class=\"col-8\">
  1469. \t\t\t\t\t\t    <div class=\"form-group clearfix\">
  1470. \t\t\t\t\t\t    ";
  1471.             // line 718
  1472.             $context["idx"] = 0;
  1473.             // line 719
  1474.             echo "\t\t\t\t\t\t    ";
  1475.             $context['_parent'] = $context;
  1476.             $context['_seq'] = twig_ensure_traversable((isset($context["p_h"]) || array_key_exists("p_h"$context) ? $context["p_h"] : (function () { throw new RuntimeError('Variable "p_h" does not exist.'719$this->source); })()));
  1477.             foreach ($context['_seq'] as $context["_key"] => $context["ph"]) {
  1478.                 // line 720
  1479.                 echo "\t\t\t\t\t\t      ";
  1480.                 if ($context["ph"]) {
  1481.                     // line 721
  1482.                     echo "\t\t\t\t\t\t      ";
  1483.                     $context["idx"] = ((isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'721$this->source); })()) + 1);
  1484.                     // line 722
  1485.                     echo "\t\t\t\t\t\t      <div class=\"icheck-danger d-inline\">
  1486. \t\t\t\t\t\t        <input type=\"radio\" name=\"ph\" id=\"ph_";
  1487.                     // line 723
  1488.                     echo twig_escape_filter($this->env, (isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'723$this->source); })()), "html"nulltrue);
  1489.                     echo "\" value=\"";
  1490.                     echo twig_escape_filter($this->env$context["ph"], "html"nulltrue);
  1491.                     echo "\" ";
  1492.                     if ((((isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'723$this->source); })()) && (twig_get_attribute($this->env$this->source, (isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'723$this->source); })()), "ph", [], "any"falsefalsefalse723) == $context["ph"])) || (twig_length_filter($this->env, (isset($context["p_h"]) || array_key_exists("p_h"$context) ? $context["p_h"] : (function () { throw new RuntimeError('Variable "p_h" does not exist.'723$this->source); })())) == 1))) {
  1493.                         echo "checked";
  1494.                     }
  1495.                     echo " onclick=\"mitsumori_simulation('ph','ph_";
  1496.                     echo twig_escape_filter($this->env, (isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'723$this->source); })()), "html"nulltrue);
  1497.                     echo "');\"><label for=\"ph_";
  1498.                     echo twig_escape_filter($this->env, (isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'723$this->source); })()), "html"nulltrue);
  1499.                     echo "\">";
  1500.                     echo twig_escape_filter($this->env$context["ph"], "html"nulltrue);
  1501.                     echo "</label>
  1502. \t\t\t\t\t\t      </div>
  1503. \t\t\t\t\t\t      ";
  1504.                 }
  1505.                 // line 726
  1506.                 echo "\t\t\t\t\t\t\t";
  1507.             }
  1508.             $_parent $context['_parent'];
  1509.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ph'], $context['_parent'], $context['loop']);
  1510.             $context array_intersect_key($context$_parent) + $_parent;
  1511.             // line 727
  1512.             echo "\t\t\t\t\t\t    </div>
  1513. \t\t\t\t\t\t  </div>
  1514. \t\t\t\t\t\t</div>
  1515.                         ";
  1516.         }
  1517.         // line 731
  1518.         echo "                        ";
  1519.         if ((((isset($context["p_m"]) || array_key_exists("p_m"$context) ? $context["p_m"] : (function () { throw new RuntimeError('Variable "p_m" does not exist.'731$this->source); })()) && twig_length_filter($this->env, (isset($context["p_m"]) || array_key_exists("p_m"$context) ? $context["p_m"] : (function () { throw new RuntimeError('Variable "p_m" does not exist.'731$this->source); })()))) && (twig_join_filter((isset($context["p_m"]) || array_key_exists("p_m"$context) ? $context["p_m"] : (function () { throw new RuntimeError('Variable "p_m" does not exist.'731$this->source); })())) != ""))) {
  1520.             // line 732
  1521.             echo "\t\t\t\t\t\t<div class=\"form-group row mt-2\" style=\"border-bottom:1px solid rgba(0,0,0,.125)\">
  1522. \t\t\t\t\t\t  <label class=\"col-4 col-form-label\">素材</label>
  1523. \t\t\t\t\t\t  <div class=\"col-8\">
  1524. \t\t\t\t\t\t    <div class=\"form-group clearfix\">
  1525. \t\t\t\t\t\t    ";
  1526.             // line 736
  1527.             $context["idx"] = 0;
  1528.             // line 737
  1529.             echo "\t\t\t\t\t\t    ";
  1530.             $context['_parent'] = $context;
  1531.             $context['_seq'] = twig_ensure_traversable((isset($context["p_m"]) || array_key_exists("p_m"$context) ? $context["p_m"] : (function () { throw new RuntimeError('Variable "p_m" does not exist.'737$this->source); })()));
  1532.             foreach ($context['_seq'] as $context["_key"] => $context["pm"]) {
  1533.                 // line 738
  1534.                 echo "\t\t\t\t\t\t      ";
  1535.                 if ($context["pm"]) {
  1536.                     // line 739
  1537.                     echo "\t\t\t\t\t\t      ";
  1538.                     $context["idx"] = ((isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'739$this->source); })()) + 1);
  1539.                     // line 740
  1540.                     echo "\t\t\t\t\t\t      <div class=\"icheck-danger d-inline\">
  1541. \t\t\t\t\t\t        <input type=\"radio\" name=\"pm\" id=\"pm_";
  1542.                     // line 741
  1543.                     echo twig_escape_filter($this->env, (isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'741$this->source); })()), "html"nulltrue);
  1544.                     echo "\" value=\"";
  1545.                     echo twig_escape_filter($this->env$context["pm"], "html"nulltrue);
  1546.                     echo "\" ";
  1547.                     if ((((isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'741$this->source); })()) && (twig_get_attribute($this->env$this->source, (isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'741$this->source); })()), "pm", [], "any"falsefalsefalse741) == $context["pm"])) || (twig_length_filter($this->env, (isset($context["p_m"]) || array_key_exists("p_m"$context) ? $context["p_m"] : (function () { throw new RuntimeError('Variable "p_m" does not exist.'741$this->source); })())) == 1))) {
  1548.                         echo "checked";
  1549.                     }
  1550.                     echo " onclick=\"mitsumori_simulation('pm','pm_";
  1551.                     echo twig_escape_filter($this->env, (isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'741$this->source); })()), "html"nulltrue);
  1552.                     echo "');\"><label for=\"pm_";
  1553.                     echo twig_escape_filter($this->env, (isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'741$this->source); })()), "html"nulltrue);
  1554.                     echo "\">";
  1555.                     echo twig_escape_filter($this->env$context["pm"], "html"nulltrue);
  1556.                     echo "</label>
  1557. \t\t\t\t\t\t      </div>
  1558. \t\t\t\t\t\t      ";
  1559.                 }
  1560.                 // line 744
  1561.                 echo "\t\t\t\t\t\t\t";
  1562.             }
  1563.             $_parent $context['_parent'];
  1564.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pm'], $context['_parent'], $context['loop']);
  1565.             $context array_intersect_key($context$_parent) + $_parent;
  1566.             // line 745
  1567.             echo "\t\t\t\t\t\t    </div>
  1568. \t\t\t\t\t\t  </div>
  1569. \t\t\t\t\t\t</div>
  1570.                         ";
  1571.         }
  1572.         // line 749
  1573.         echo "
  1574. \t\t\t\t\t\t<!-- 1: 施工見積(通常)-->
  1575. \t\t\t\t\t\t";
  1576.         // line 751
  1577.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'751$this->source); })()), "SaleType", [], "any"falsefalsefalse751), "id", [], "any"falsefalsefalse751) == 1)) {
  1578.             // line 752
  1579.             echo "
  1580. \t\t\t\t\t\t";
  1581.         }
  1582.         // line 755
  1583.         echo "
  1584.                         <!-- 2: 施工見積(補助金・窓)-->
  1585. \t\t\t\t\t\t";
  1586.         // line 757
  1587.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'757$this->source); })()), "SaleType", [], "any"falsefalsefalse757), "id", [], "any"falsefalsefalse757) == 2)) {
  1588.             // line 758
  1589.             echo "\t\t\t\t\t\t\t<!-- 幅・高さの数値指定 -->
  1590. \t\t\t\t\t\t\t<div class=\"form-group row mt-2\" style=\"border-bottom:1px solid rgba(0,0,0,.125)\">
  1591. \t\t\t\t\t\t\t  <label class=\"col-4 col-form-label\">窓枠</label>
  1592. \t\t\t\t\t\t\t  <div class=\"col-4\">
  1593. \t\t\t\t\t\t\t    <div class=\"input-group\">
  1594. \t\t\t\t\t\t\t       <span class=\"input-group-text\">高さ</span><input type=\"text\" name=\"takasa\" id=\"takasa\" class=\"form-control\" value=\"1\" onchange=\"mitsumori_simulation('takasa','takasa');\" /><span class=\"input-group-text\">cm</span>
  1595. \t\t\t\t\t\t\t    </div>
  1596. \t\t\t\t\t\t\t  </div>
  1597. \t\t\t\t\t\t\t  <div class=\"col-4\">
  1598. \t\t\t\t\t\t\t    <div class=\"input-group mb-3\">
  1599. \t\t\t\t\t\t\t       <span class=\"input-group-text\">横幅</span><input type=\"text\" name=\"yokohaba\" id=\"yokohaba\" class=\"form-control\" value=\"1\" onchange=\"mitsumori_simulation('yokohaba','yokohaba');\" /><span class=\"input-group-text\">cm</span>
  1600. \t\t\t\t\t\t\t    </div>
  1601. \t\t\t\t\t\t\t  </div>
  1602. \t\t\t\t\t\t\t</div>
  1603. \t\t\t\t\t\t\t<!-- 枚数(入力)の指定 -->
  1604. \t\t\t\t\t\t\t<div class=\"form-group row mt-2\" style=\"border-bottom:1px solid rgba(0,0,0,.125)\">
  1605. \t\t\t\t\t\t\t  <label class=\"col-4 col-form-label\">セット数</label>
  1606. \t\t\t\t\t\t\t  <div class=\"col-4 mb-3\">
  1607. \t\t\t\t\t\t\t    <div class=\"input-group\">
  1608. \t\t\t\t\t\t\t       <input type=\"text\" name=\"set\" id=\"set\" class=\"form-control\" value=\"1\" onchange=\"mitsumori_simulation('set','set');\" /><span class=\"input-group-text\">セット</span>
  1609. \t\t\t\t\t\t\t    </div>
  1610. \t\t\t\t\t\t\t  </div>
  1611. \t\t\t\t\t\t\t  <div class=\"col-4\">
  1612. \t\t\t\t\t\t\t    <button type=\"button\" id=\"op_btn_1\" class=\"btn btn-info\" onclick=\"madoset(+1);\">+</button>
  1613. \t\t\t\t\t\t\t    <button type=\"button\" id=\"op_btn_2\" class=\"btn btn-danger\" onclick=\"madoset(-1);\">ー</button>
  1614. \t\t\t\t\t\t\t  </div>
  1615. \t\t\t\t\t\t\t
  1616. \t\t\t\t\t\t";
  1617.         }
  1618.         // line 788
  1619.         echo "
  1620. \t\t\t\t\t\t<!-- 3: 施工見積(物置・ゴミステーション)-->
  1621. \t\t\t\t\t\t";
  1622.         // line 790
  1623.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'790$this->source); })()), "SaleType", [], "any"falsefalsefalse790), "id", [], "any"falsefalsefalse790) == 3)) {
  1624.             // line 791
  1625.             echo "\t\t\t\t\t\t\t<!-- 幅・奥行き・高さ -->
  1626. \t\t\t\t\t\t\t<!-- 台数の指定 -->
  1627. \t\t\t\t\t\t\t<div class=\"form-group row mt-2\" style=\"border-bottom:1px solid rgba(0,0,0,.125)\">
  1628. \t\t\t\t\t\t\t  <label class=\"col-4 col-form-label\">台数</label>
  1629. \t\t\t\t\t\t\t  <div class=\"col-4\">
  1630. \t\t\t\t\t\t\t    <div class=\"input-group mb-3\">
  1631. \t\t\t\t\t\t\t       <input type=\"text\" name=\"daisu\" id=\"daisu\" class=\"form-control\" value=\"1\" onchange=\"mitsumori_simulation('daisu','daisu');\" /><span class=\"input-group-text\">台</span>
  1632. \t\t\t\t\t\t\t    </div>
  1633. \t\t\t\t\t\t\t  </div>
  1634. \t\t\t\t\t\t\t  <div class=\"col-4\">
  1635. \t\t\t\t\t\t\t    <button type=\"button\" id=\"op_btn_1\" class=\"btn btn-info\" onclick=\"daisu(+1);\">+</button>
  1636. \t\t\t\t\t\t\t    <button type=\"button\" id=\"op_btn_2\" class=\"btn btn-danger\" onclick=\"daisu(-1);\">ー</button>
  1637. \t\t\t\t\t\t\t  </div>
  1638. \t\t\t\t\t\t\t</div>
  1639. \t\t\t\t\t\t";
  1640.         }
  1641.         // line 808
  1642.         echo "
  1643. \t\t\t\t\t\t<!-- 4: 施工見積(フェンス・組み立て式)-->
  1644. \t\t\t\t\t\t";
  1645.         // line 810
  1646.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'810$this->source); })()), "SaleType", [], "any"falsefalsefalse810), "id", [], "any"falsefalsefalse810) == 4)) {
  1647.             // line 811
  1648.             echo "\t\t\t\t\t\t\t<!-- 枚数(入力)の指定 -->
  1649. \t\t\t\t\t\t\t<div class=\"form-group row mt-2\" style=\"border-bottom:1px solid rgba(0,0,0,.125)\">
  1650. \t\t\t\t\t\t\t  <label class=\"col-4 col-form-label\">枚数</label>
  1651. \t\t\t\t\t\t\t  <div class=\"col-4 mb-3\">
  1652. \t\t\t\t\t\t\t    <div class=\"input-group\">
  1653. \t\t\t\t\t\t\t       <input type=\"text\" name=\"maisu\" id=\"maisu\" class=\"form-control\" value=\"3\" onchange=\"mitsumori_simulation('daisu','daisu');\" /><span class=\"input-group-text\">枚</span>
  1654. \t\t\t\t\t\t\t    </div>
  1655. \t\t\t\t\t\t\t  </div>
  1656. \t\t\t\t\t\t\t  <div class=\"col-4\">
  1657. \t\t\t\t\t\t\t    <button type=\"button\" id=\"op_btn_1\" class=\"btn btn-info\" onclick=\"maisu(+1);\">+</button>
  1658. \t\t\t\t\t\t\t    <button type=\"button\" id=\"op_btn_2\" class=\"btn btn-danger\" onclick=\"maisu(-1);\">ー</button>
  1659. \t\t\t\t\t\t\t  </div>
  1660. \t\t\t\t\t\t\t</div>
  1661. \t\t\t\t\t\t";
  1662.         }
  1663.         // line 826
  1664.         echo "
  1665. \t\t\t\t\t\t<!-- 5: 施工見積(ウッドデッキ・タイルデッキ)-->
  1666. \t\t\t\t\t\t";
  1667.         // line 828
  1668.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'828$this->source); })()), "SaleType", [], "any"falsefalsefalse828), "id", [], "any"falsefalsefalse828) == 5)) {
  1669.             // line 829
  1670.             echo "
  1671. \t\t\t\t\t\t";
  1672.         }
  1673.         // line 832
  1674.         echo "\t\t\t\t\t\t<!-- 6: 施工見積(芝生・枚数・数量買い)-->
  1675. \t\t\t\t\t\t";
  1676.         // line 833
  1677.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'833$this->source); })()), "SaleType", [], "any"falsefalsefalse833), "id", [], "any"falsefalsefalse833) == 6)) {
  1678.             // line 834
  1679.             echo "\t\t\t\t\t\t\t<!-- 平米(入力)の指定 -->
  1680. \t\t\t\t\t\t\t<div class=\"form-group row mt-2\" style=\"border-bottom:1px solid rgba(0,0,0,.125)\">
  1681. \t\t\t\t\t\t\t  <label class=\"col-4 col-form-label\">枚数</label>
  1682. \t\t\t\t\t\t\t  <div class=\"col-4\">
  1683. \t\t\t\t\t\t\t    <div class=\"input-group\">
  1684. \t\t\t\t\t\t\t       <input type=\"text\" name=\"heibei\" id=\"heibei\" class=\"form-control\" value=\"1\" onchange=\"mitsumori_simulation('heibei','heibei');\" /><span class=\"input-group-text\">平米</span>
  1685. \t\t\t\t\t\t\t    </div>
  1686. \t\t\t\t\t\t\t  </div>
  1687. \t\t\t\t\t\t\t  <div class=\"col-4\">
  1688. \t\t\t\t\t\t\t    <button type=\"button\" id=\"op_btn_1\" class=\"btn btn-info\" onclick=\"heibei(+1);\">+</button>
  1689. \t\t\t\t\t\t\t    <button type=\"button\" id=\"op_btn_2\" class=\"btn btn-danger\" onclick=\"heibei(-1);\">ー</button>
  1690. \t\t\t\t\t\t\t  </div>
  1691. \t\t\t\t\t\t\t</div>
  1692. \t\t\t\t\t\t";
  1693.         }
  1694.         // line 850
  1695.         echo "
  1696. \t\t\t\t\t\t<!-- 9: 商品のみ購入 -->
  1697. \t\t\t\t\t    <div class=\"row\" style=\"border-bottom:1px solid rgba(0,0,0,.125)\"><label class=\"col-12 col-form-label\">取り付け工事のご希望に関してお答えください。</label></div>
  1698. \t\t\t\t\t\t";
  1699.         // line 857
  1700.         $context['_parent'] = $context;
  1701.         $context['_seq'] = twig_ensure_traversable(range(010));
  1702.         foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  1703.             // line 858
  1704.             echo "\t\t\t\t\t\t\t";
  1705.             if (((isset($context["op"]) || array_key_exists("op"$context) ? $context["op"] : (function () { throw new RuntimeError('Variable "op" does not exist.'858$this->source); })()) && (twig_length_filter($this->env, (isset($context["op"]) || array_key_exists("op"$context) ? $context["op"] : (function () { throw new RuntimeError('Variable "op" does not exist.'858$this->source); })())) >= ($context["i"] + 1)))) {
  1706.                 // line 859
  1707.                 echo "\t\t\t\t\t\t\t";
  1708.                 if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["op"]) || array_key_exists("op"$context) ? $context["op"] : (function () { throw new RuntimeError('Variable "op" does not exist.'859$this->source); })()), $context["i"], [], "array"falsefalsefalse859), "name", [], "array"falsefalsefalse859)) {
  1709.                     // line 860
  1710.                     echo "\t\t\t\t\t\t\t<div class=\"form-group row mt-2\" style=\"border-bottom:1px solid rgba(0,0,0,.125)\">
  1711. \t\t\t\t\t\t\t  <label class=\"col-4 col-form-label\">";
  1712.                     // line 861
  1713.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["op"]) || array_key_exists("op"$context) ? $context["op"] : (function () { throw new RuntimeError('Variable "op" does not exist.'861$this->source); })()), $context["i"], [], "array"falsefalsefalse861), "name", [], "array"falsefalsefalse861), "html"nulltrue);
  1714.                     echo "</label>
  1715. \t\t\t\t\t\t\t  <div class=\"col-8\">
  1716. \t\t\t\t\t            ";
  1717.                     // line 863
  1718.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["op"]) || array_key_exists("op"$context) ? $context["op"] : (function () { throw new RuntimeError('Variable "op" does not exist.'863$this->source); })()), $context["i"], [], "array"falsefalsefalse863), "comment", [], "array"falsefalsefalse863), "html"nulltrue);
  1719.                     echo "
  1720. \t\t\t\t\t\t\t    <div class=\"form-group clearfix\">
  1721. \t\t\t\t\t\t\t      <div class=\"icheck-danger d-inline\">
  1722. \t\t\t\t\t\t\t        <input type=\"radio\" name=\"op";
  1723.                     // line 866
  1724.                     echo twig_escape_filter($this->env$context["i"], "html"nulltrue);
  1725.                     echo "\" id=\"op";
  1726.                     echo twig_escape_filter($this->env$context["i"], "html"nulltrue);
  1727.                     echo "_1\" value=\"";
  1728.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["op"]) || array_key_exists("op"$context) ? $context["op"] : (function () { throw new RuntimeError('Variable "op" does not exist.'866$this->source); })()), $context["i"], [], "array"falsefalsefalse866), "on", [], "array"falsefalsefalse866), "html"nulltrue);
  1729.                     echo "\" ";
  1730.                     if (((isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'866$this->source); })()) && (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'866$this->source); })()), "op", [], "any"falsefalsefalse866), $context["i"], [], "array"falsefalsefalse866) == twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["op"]) || array_key_exists("op"$context) ? $context["op"] : (function () { throw new RuntimeError('Variable "op" does not exist.'866$this->source); })()), $context["i"], [], "array"falsefalsefalse866), "on", [], "array"falsefalsefalse866)))) {
  1731.                         echo "checked";
  1732.                     }
  1733.                     echo " onclick=\"mitsumori_simulation('op";
  1734.                     echo twig_escape_filter($this->env$context["i"], "html"nulltrue);
  1735.                     echo "','op";
  1736.                     echo twig_escape_filter($this->env$context["i"], "html"nulltrue);
  1737.                     echo "_1');\"><label for=\"op";
  1738.                     echo twig_escape_filter($this->env$context["i"], "html"nulltrue);
  1739.                     echo "_1\">";
  1740.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["op"]) || array_key_exists("op"$context) ? $context["op"] : (function () { throw new RuntimeError('Variable "op" does not exist.'866$this->source); })()), $context["i"], [], "array"falsefalsefalse866), "on", [], "array"falsefalsefalse866), "html"nulltrue);
  1741.                     echo "</label>
  1742. \t\t\t\t\t\t\t      </div>
  1743. \t\t\t\t\t\t\t    </div>
  1744. \t\t\t\t\t\t\t    <div class=\"form-group clearfix\">
  1745. \t\t\t\t\t\t\t      <div class=\"icheck-danger d-inline\">
  1746. \t\t\t\t\t\t\t        <input type=\"radio\" name=\"op";
  1747.                     // line 871
  1748.                     echo twig_escape_filter($this->env$context["i"], "html"nulltrue);
  1749.                     echo "\" id=\"op";
  1750.                     echo twig_escape_filter($this->env$context["i"], "html"nulltrue);
  1751.                     echo "_2\" value=\"";
  1752.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["op"]) || array_key_exists("op"$context) ? $context["op"] : (function () { throw new RuntimeError('Variable "op" does not exist.'871$this->source); })()), $context["i"], [], "array"falsefalsefalse871), "off", [], "array"falsefalsefalse871), "html"nulltrue);
  1753.                     echo "\" ";
  1754.                     if (((isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'871$this->source); })()) && (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["mitsumori_json"]) || array_key_exists("mitsumori_json"$context) ? $context["mitsumori_json"] : (function () { throw new RuntimeError('Variable "mitsumori_json" does not exist.'871$this->source); })()), "op", [], "any"falsefalsefalse871), $context["i"], [], "array"falsefalsefalse871) == twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["op"]) || array_key_exists("op"$context) ? $context["op"] : (function () { throw new RuntimeError('Variable "op" does not exist.'871$this->source); })()), $context["i"], [], "array"falsefalsefalse871), "off", [], "array"falsefalsefalse871)))) {
  1755.                         echo "checked";
  1756.                     }
  1757.                     echo " onclick=\"mitsumori_simulation('op";
  1758.                     echo twig_escape_filter($this->env$context["i"], "html"nulltrue);
  1759.                     echo "','op";
  1760.                     echo twig_escape_filter($this->env$context["i"], "html"nulltrue);
  1761.                     echo "_2');\"><label for=\"op";
  1762.                     echo twig_escape_filter($this->env$context["i"], "html"nulltrue);
  1763.                     echo "_2\">";
  1764.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["op"]) || array_key_exists("op"$context) ? $context["op"] : (function () { throw new RuntimeError('Variable "op" does not exist.'871$this->source); })()), $context["i"], [], "array"falsefalsefalse871), "off", [], "array"falsefalsefalse871), "html"nulltrue);
  1765.                     echo "</label>
  1766. \t\t\t\t\t\t\t      </div>
  1767. \t\t\t\t\t\t\t    </div>
  1768. \t\t\t\t\t\t\t  </div>
  1769. \t\t\t\t\t\t\t</div>
  1770. \t\t\t\t\t\t\t";
  1771.                 }
  1772.                 // line 877
  1773.                 echo "\t\t\t\t\t\t\t";
  1774.             }
  1775.             // line 878
  1776.             echo "\t\t\t\t\t\t";
  1777.         }
  1778.         $_parent $context['_parent'];
  1779.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  1780.         $context array_intersect_key($context$_parent) + $_parent;
  1781.         // line 879
  1782.         echo "
  1783. \t\t\t\t\t  </div>
  1784. \t\t\t\t\t  <!-- /.card-body -->
  1785. \t\t\t\t\t</div>
  1786.                     <form action=\"";
  1787.         // line 885
  1788.         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.'885$this->source); })()), "id", [], "any"falsefalsefalse885)]), "html"nulltrue);
  1789.         echo "\" method=\"post\" id=\"form1\" name=\"form1\">
  1790.                         ";
  1791.         // line 886
  1792.         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.'886$this->source); })()), "stock_find", [], "any"falsefalsefalse886)) {
  1793.             // line 887
  1794.             echo "                            <div class=\"ec-productRole__actions\">
  1795.                                 ";
  1796.             // line 888
  1797.             if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id1", [], "any"truetruefalse888)) {
  1798.                 // line 889
  1799.                 echo "                                    <div class=\"ec-select\">
  1800.                                         ";
  1801.                 // line 890
  1802.                 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.'890$this->source); })()), "classcategory_id1", [], "any"falsefalsefalse890), 'row');
  1803.                 echo "
  1804.                                         ";
  1805.                 // line 891
  1806.                 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.'891$this->source); })()), "classcategory_id1", [], "any"falsefalsefalse891), 'errors');
  1807.                 echo "
  1808.                                     </div>
  1809.                                     ";
  1810.                 // line 893
  1811.                 if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id2", [], "any"truetruefalse893)) {
  1812.                     // line 894
  1813.                     echo "                                        <div class=\"ec-select\">
  1814.                                             ";
  1815.                     // line 895
  1816.                     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.'895$this->source); })()), "classcategory_id2", [], "any"falsefalsefalse895), 'row');
  1817.                     echo "
  1818.                                             ";
  1819.                     // line 896
  1820.                     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.'896$this->source); })()), "classcategory_id2", [], "any"falsefalsefalse896), 'errors');
  1821.                     echo "
  1822.                                         </div>
  1823.                                     ";
  1824.                 }
  1825.                 // line 899
  1826.                 echo "                                ";
  1827.             }
  1828.             // line 900
  1829.             echo "                                <div class=\"ec-numberInput\">
  1830.                                     ";
  1831.             // line 901
  1832.             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.'901$this->source); })()), "quantity", [], "any"falsefalsefalse901), 'widget', ["type" => "hidden"]);
  1833.             echo "
  1834.                                     ";
  1835.             // line 902
  1836.             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.'902$this->source); })()), "quantity", [], "any"falsefalsefalse902), 'errors');
  1837.             echo "
  1838.                                 </div>
  1839.                             </div>
  1840.                         ";
  1841.         } else {
  1842.             // line 907
  1843.             echo "                            <div class=\"ec-productRole__btn\">
  1844.                                 <button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
  1845.                                     ";
  1846.             // line 909
  1847.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ただいま品切れ中です。"), "html"nulltrue);
  1848.             echo "
  1849.                                 </button>
  1850.                             </div>
  1851.                         ";
  1852.         }
  1853.         // line 913
  1854.         echo "                        <div class=\"ec-productRole__btn mt-3\">
  1855.                            <button type=\"submit\" id=\"cart_btn\" class=\"ec-blockBtn--action add-cart\">施工検討リストに入れる</button>
  1856.                         </div>
  1857.                         ";
  1858.         // line 916
  1859.         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.'916$this->source); })()), 'rest');
  1860.         echo "
  1861.                     </form>
  1862.                     <div class=\"ec-modal\">
  1863.                         <div class=\"ec-modal-overlay\">
  1864.                             <div class=\"ec-modal-wrap\">
  1865.                                 <span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"";
  1866.         // line 921
  1867.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/cross-dark.svg"), "html"nulltrue);
  1868.         echo "\" alt=\"\"/></span></span>
  1869.                                 <div id=\"ec-modal-header\" class=\"text-center\">";
  1870.         // line 922
  1871.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("施工検討リストに追加しました。"), "html"nulltrue);
  1872.         echo "</div>
  1873.                                 <div class=\"ec-modal-box\">
  1874.                                     <div class=\"ec-role\">
  1875.                                         <span class=\"ec-inlineBtn--cancel\">";
  1876.         // line 925
  1877.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("商品検索を続ける"), "html"nulltrue);
  1878.         echo "</span>
  1879.                                         <a href=\"";
  1880.         // line 926
  1881.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
  1882.         echo "\" class=\"ec-inlineBtn--action\">";
  1883.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("施工検討リストへ進む"), "html"nulltrue);
  1884.         echo "</a>
  1885.                                     </div>
  1886.                                 </div>
  1887.                             </div>
  1888.                         </div>
  1889.                     </div>
  1890.                     <div class=\"ec-productRole__description\">";
  1891.         // line 932
  1892.         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.'932$this->source); })()), "description_detail", [], "any"falsefalsefalse932));
  1893.         echo "
  1894.                     </div>
  1895.                 </div>
  1896. \t\t\t\t<div class=\"card col-12 collapsed-card sticky-top float-right\">
  1897. \t\t\t\t\t<div class=\"card-header\">
  1898. \t\t\t\t\t  <h3 class=\"card-title\">現在のお見積り額</h3>
  1899. \t\t\t\t\t  <div class=\"card-tools\">
  1900. \t\t\t\t\t    <span class=\"float-left\" id=\"mitsumori_message\">395000円</span>
  1901. \t\t\t\t\t    <button type=\"button\" class=\"btn btn-tool\" data-card-widget=\"collapse\">
  1902. \t\t\t\t\t      <i class=\"fas fa-plus\"></i>
  1903. \t\t\t\t\t    </button>
  1904. \t\t\t\t\t  </div>
  1905. \t\t\t\t\t</div>
  1906. \t\t\t\t\t<div class=\"card-body p-0\">
  1907. \t\t\t\t\t  <ul class=\"nav nav-pills flex-column\">
  1908. \t\t\t\t\t    <li class=\"nav-item active\">
  1909. \t\t\t\t\t      <a class=\"nav-link\">
  1910. \t\t\t\t\t        <i class=\"far fa-file-alt\"></i> 合計(工事費・税込)
  1911. \t\t\t\t\t        <span class=\"float-right\" id=\"mitsumori_goukei\">395,000円</span>
  1912. \t\t\t\t\t      </a>
  1913. \t\t\t\t\t    </li>
  1914. \t\t\t\t\t    <li class=\"nav-item active\">
  1915. \t\t\t\t\t      <a class=\"nav-link\">
  1916. \t\t\t\t\t        <i class=\"far fa-file-alt\"></i> 商品価格
  1917. \t\t\t\t\t        <span class=\"float-right\" id=\"mitsumori_price\">307,008円</span>
  1918. \t\t\t\t\t      </a>
  1919. \t\t\t\t\t    </li>
  1920. \t\t\t\t\t    <li class=\"nav-item\">
  1921. \t\t\t\t\t      <a class=\"nav-link\">
  1922. \t\t\t\t\t        &nbsp;&nbsp;<i class=\"far fa-file-alt\"></i> カタログ価格
  1923. \t\t\t\t\t        <span class=\"float-right\" id=\"maker_price\">479,700円</span>
  1924. \t\t\t\t\t      </a>
  1925. \t\t\t\t\t    </li>
  1926. \t\t\t\t\t    <li class=\"nav-item\">
  1927. \t\t\t\t\t      <a class=\"nav-link\">
  1928. \t\t\t\t\t        &nbsp;&nbsp;<i class=\"far fa-file-alt\"></i> お値引き
  1929. \t\t\t\t\t        <span class=\"float-right\" id=\"mitsumori_off\">-172,692円</span>
  1930. \t\t\t\t\t      </a>
  1931. \t\t\t\t\t    </li>
  1932. \t\t\t\t\t    <li class=\"nav-item\">
  1933. \t\t\t\t\t      <a class=\"nav-link\">
  1934. \t\t\t\t\t        <i class=\"far fa-file-alt\"></i> 基本工事費
  1935. \t\t\t\t\t        <span class=\"float-right\" id=\"mitsumori_ct\">53,250円</span>
  1936. \t\t\t\t\t      </a>
  1937. \t\t\t\t\t    </li>
  1938. \t\t\t\t\t    <li class=\"nav-item\">
  1939. \t\t\t\t\t      <a class=\"nav-link\">
  1940. \t\t\t\t\t        <i class=\"far fa-file-alt\"></i> 施工オプション
  1941. \t\t\t\t\t        <span class=\"float-right\"id=\"mitsumori_option\">6,297円</span>
  1942. \t\t\t\t\t      </a>
  1943. \t\t\t\t\t    </li>
  1944. \t\t\t\t\t  </ul>
  1945. \t\t\t\t\t</div>
  1946. \t\t\t\t\t<div class=\"card-footer\">
  1947. \t\t                <button type=\"button\" id=\"mitsumori_btn\" class=\"btn btn-info\" data-toggle=\"modal\" data-target=\"#modal-mitsumori\">
  1948. \t\t                  見積書表示
  1949. \t\t                </button>
  1950. \t\t\t\t\t\t<button id=\"contact\" class=\"btn btn-info\" onclick=\"contact_form(";
  1951.         // line 989
  1952.         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.'989$this->source); })()), "id", [], "any"falsefalsefalse989), "html"nulltrue);
  1953.         echo ");\">無料現地調査へ進む</button>
  1954. \t\t\t\t\t</div>
  1955. \t\t\t\t</div>
  1956.             </div>
  1957.         </div>
  1958.     </div>
  1959.   <div class=\"modal\" id=\"modal-mitsumori\">
  1960.     <div class=\"modal-dialog modal-mitsumori\" style=\"max-width:1000px\">
  1961.       <div class=\"modal-content\">
  1962.         <div class=\"modal-header\">
  1963.           <h4 class=\"modal-title\">お見積書</h4>
  1964.           <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  1965.             <span aria-hidden=\"true\">&times;</span>
  1966.           </button>
  1967.         </div>
  1968.         <div class=\"modal-body\">
  1969. \t\t\t<div class=\"invoice p-3 mb-5\" style=\"max-width:1000px; margin:auto;\">
  1970. \t\t\t  <!-- title row -->
  1971. \t\t\t  <div class=\"row\">
  1972. \t\t\t    <div class=\"col-12\">
  1973. \t\t\t      <h2>概算お見積書 
  1974. \t\t\t        <small class=\"float-right\" style=\"font-size:14px;\">発行日: 2025/03/14</small>
  1975. \t\t\t      </h2>
  1976. \t\t\t    </div>
  1977. \t\t\t    <!-- /.col -->
  1978. \t\t\t  </div>
  1979. \t\t\t  <!-- info row -->
  1980. \t\t\t  <div class=\"row invoice-info\">
  1981. \t\t\t    <div class=\"col-sm-8 invoice-col\">
  1982. \t\t\t      <h3>お客様</h3>
  1983. \t\t\t      <span>下記の通り、お見積もり申し上げます。</span>
  1984. \t\t\t      <br />
  1985. \t\t\t      <br / >
  1986. \t\t\t      <br />
  1987. \t\t\t      <h2>お見積金額: <span id=\"mitsumori_kei\">399,080円</span></h2>
  1988. \t\t\t      <span>
  1989. \t\t\t        <br/>
  1990. \t\t\t        <br/>
  1991. \t\t\t        <br/>
  1992. \t\t\t        <br/>
  1993. \t\t\t      </span>
  1994. \t\t\t    </div>
  1995. \t\t\t    <div class=\"col-sm-4 invoice-col\">
  1996. \t\t\t      <p>
  1997. \t\t\t        <img alt=\"\" src=\"/html/user_data/js/images/logo.png\" style=\"width: 260px; max-width: 100%; max-height: 10mm;\">
  1998. \t\t\t      </p>
  1999. \t\t\t      <p>有限会社プラス</p>
  2000. \t\t\t      <p>〒400-0334</p>
  2001. \t\t\t      <p>山梨県南アルプス市藤田1450番地2</p>
  2002. \t\t\t      <p>TEL: 055-284-6480</p>
  2003. \t\t\t      <img alt=\"\" src=\"/html/user_data/js/images/seal.svg\" style=\"z-index: 2; position: absolute; width: 21mm; left: 58mm; top: 36mm;\">
  2004. \t\t\t    </div>
  2005. \t\t\t    <!-- /.col -->
  2006. \t\t\t    <!-- /.col -->
  2007. \t\t\t  </div>
  2008. \t\t\t  <!-- /.row -->
  2009. \t\t\t  <!-- Table row -->
  2010. \t\t\t  <div class=\"row\">
  2011. \t\t\t    <div class=\"col-12 table-responsive\">
  2012. \t\t\t      <table class=\"table table-striped\">
  2013. \t\t\t        <thead>
  2014. \t\t\t          <tr>
  2015. \t\t\t            <th>項目</th>
  2016. \t\t\t            <th>数量</th>
  2017. \t\t\t            <th>単位</th>
  2018. \t\t\t            <th>単価</th>
  2019. \t\t\t            <th>小計</th>
  2020. \t\t\t          </tr>
  2021. \t\t\t        </thead>
  2022. \t\t\t        <tbody>
  2023. \t\t\t          <tr>
  2024. \t\t\t            <td>プレーンルーフ 600タイプ 1台用 単体セット</td>
  2025. \t\t\t            <td>1</td>
  2026. \t\t\t            <td>式</td>
  2027. \t\t\t            <td id=\"mitsumori_price_01\">352,800</td>
  2028. \t\t\t            <td id=\"mitsumori_price_02\">352,800</td>
  2029. \t\t\t          </tr>
  2030. \t\t\t          <tr>
  2031. \t\t\t            <td>基本工事費</td>
  2032. \t\t\t            <td>1</td>
  2033. \t\t\t            <td>式</td>
  2034. \t\t\t            <td id=\"mitsumori_ct_01\">10,000</td>
  2035. \t\t\t            <td id=\"mitsumori_ct_02\">10,000</td>
  2036. \t\t\t          </tr>
  2037. \t\t\t          <tr>
  2038. \t\t\t            <td>残土・ガラ処理</td>
  2039. \t\t\t            <td>1</td>
  2040. \t\t\t            <td>式</td>
  2041. \t\t\t            <td>0円</td>
  2042. \t\t\t            <td></td>
  2043. \t\t\t          </tr>
  2044. \t\t\t          <tr>
  2045. \t\t\t            <td> </td>
  2046. \t\t\t            <td></td>
  2047. \t\t\t            <td></td>
  2048. \t\t\t            <td></td>
  2049. \t\t\t            <td></td>
  2050. \t\t\t          </tr>
  2051. \t\t\t        </tbody>
  2052. \t\t\t      </table>
  2053. \t\t\t    </div>
  2054. \t\t\t    <!-- /.col -->
  2055. \t\t\t  </div>
  2056. \t\t\t  <!-- /.row -->
  2057. \t\t\t  <div class=\"row\">
  2058. \t\t\t    <!-- accepted payments column -->
  2059. \t\t\t    <div class=\"col-6\">
  2060. \t\t\t      <p class=\"lead\">お支払い方法</p>
  2061. \t\t\t      <p class=\"text-muted well well-sm shadow-none\" style=\"margin-top: 10px;\">銀行振込、クレジットカード決済、PAYPAY決済
  2062. \t\t\t        <br>銀行振込:山梨中央銀行 白根支店 普通口座 391402
  2063. \t\t\t        <br>※商品代金と工事代金の総額が金100万円(税込)を超える場合、着手金として代金の半額をご契約後お支払いいただきます。 
  2064. \t\t\t      </p>
  2065. \t\t\t    </div>
  2066. \t\t\t    <!-- /.col -->
  2067. \t\t\t    <div class=\"col-6\">
  2068. \t\t\t      <div class=\"table-responsive\">
  2069. \t\t\t        <table class=\"table\">
  2070. \t\t\t          <tbody>
  2071. \t\t\t            <tr>
  2072. \t\t\t              <th style=\"width:50%\">小計:</th>
  2073. \t\t\t              <td id=\"mitsumori_shoukei\">362,800</td>
  2074. \t\t\t            </tr>
  2075. \t\t\t            <tr>
  2076. \t\t\t              <th>消費税 (10%)</th>
  2077. \t\t\t              <td id=\"mitsumori_tax\">36,280</td>
  2078. \t\t\t            </tr>
  2079. \t\t\t            <tr>
  2080. \t\t\t              <th>合計:</th>
  2081. \t\t\t              <td id=\"mitsumori_goukei_02\">399,080</td>
  2082. \t\t\t            </tr>
  2083. \t\t\t          </tbody>
  2084. \t\t\t        </table>
  2085. \t\t\t      </div>
  2086. \t\t\t    </div>
  2087. \t\t\t    <!-- /.col -->
  2088. \t\t\t  </div>
  2089. \t\t\t  <!-- /.row -->
  2090. \t\t\t</div>
  2091.         </div>
  2092.         <div class=\"modal-footer justify-content-between\">
  2093. \t\t\t      <button type=\"button\" class=\"btn btn-primary float-right\" style=\"margin-right: 5px;\">
  2094. \t\t\t        <i class=\"fas fa-download\"></i>PDF出力
  2095. \t\t\t      </button>
  2096.           <button type=\"button\" class=\"btn btn-info\" onclick=\"contact_form(";
  2097.         // line 1136
  2098.         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.'1136$this->source); })()), "id", [], "any"falsefalsefalse1136), "html"nulltrue);
  2099.         echo ");\">無料現地調査へ進む</button>
  2100.         </div>
  2101.       </div>
  2102.       <!-- /.modal-content -->
  2103.     </div>
  2104.     <!-- /.modal-dialog -->
  2105.   </div>
  2106.   <!-- /.modal -->
  2107. ";
  2108.         
  2109.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  2110.         
  2111.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  2112.     }
  2113.     public function getTemplateName()
  2114.     {
  2115.         return "Product/detail.twig";
  2116.     }
  2117.     public function isTraitable()
  2118.     {
  2119.         return false;
  2120.     }
  2121.     public function getDebugInfo()
  2122.     {
  2123.         return array (  2197 => 1136,  2047 => 989,  1987 => 932,  1976 => 926,  1972 => 925,  1966 => 922,  1962 => 921,  1954 => 916,  1949 => 913,  1942 => 909,  1938 => 907,  1930 => 902,  1926 => 901,  1923 => 900,  1920 => 899,  1914 => 896,  1910 => 895,  1907 => 894,  1905 => 893,  1900 => 891,  1896 => 890,  1893 => 889,  1891 => 888,  1888 => 887,  1886 => 886,  1882 => 885,  1874 => 879,  1868 => 878,  1865 => 877,  1840 => 871,  1816 => 866,  1810 => 863,  1805 => 861,  1802 => 860,  1799 => 859,  1796 => 858,  1792 => 857,  1783 => 850,  1765 => 834,  1763 => 833,  1760 => 832,  1755 => 829,  1753 => 828,  1749 => 826,  1732 => 811,  1730 => 810,  1726 => 808,  1707 => 791,  1705 => 790,  1701 => 788,  1669 => 758,  1667 => 757,  1663 => 755,  1658 => 752,  1656 => 751,  1652 => 749,  1646 => 745,  1640 => 744,  1622 => 741,  1619 => 740,  1616 => 739,  1613 => 738,  1608 => 737,  1606 => 736,  1600 => 732,  1597 => 731,  1591 => 727,  1585 => 726,  1567 => 723,  1564 => 722,  1561 => 721,  1558 => 720,  1553 => 719,  1551 => 718,  1545 => 714,  1542 => 713,  1536 => 709,  1530 => 708,  1512 => 705,  1509 => 704,  1506 => 703,  1503 => 702,  1498 => 701,  1496 => 700,  1490 => 696,  1487 => 695,  1481 => 691,  1475 => 690,  1457 => 687,  1454 => 686,  1451 => 685,  1448 => 684,  1443 => 683,  1441 => 682,  1435 => 678,  1432 => 677,  1426 => 673,  1420 => 672,  1402 => 669,  1399 => 668,  1396 => 667,  1393 => 666,  1388 => 665,  1386 => 664,  1380 => 660,  1378 => 659,  1371 => 654,  1365 => 650,  1344 => 647,  1341 => 646,  1337 => 645,  1331 => 642,  1328 => 641,  1325 => 640,  1323 => 639,  1320 => 638,  1314 => 634,  1293 => 631,  1290 => 630,  1286 => 629,  1280 => 626,  1277 => 625,  1274 => 624,  1272 => 623,  1269 => 622,  1263 => 618,  1242 => 615,  1239 => 614,  1235 => 613,  1229 => 610,  1226 => 609,  1223 => 608,  1221 => 607,  1207 => 596,  1200 => 591,  1188 => 588,  1185 => 587,  1182 => 586,  1179 => 584,  1168 => 582,  1164 => 581,  1161 => 580,  1158 => 578,  1152 => 575,  1148 => 574,  1145 => 573,  1142 => 572,  1136 => 569,  1130 => 568,  1127 => 567,  1121 => 564,  1117 => 563,  1114 => 562,  1112 => 561,  1110 => 560,  1106 => 558,  1104 => 557,  1100 => 555,  1092 => 552,  1077 => 550,  1068 => 549,  1051 => 548,  1047 => 546,  1043 => 545,  1040 => 544,  1037 => 543,  1027 => 534,  1008 => 532,  991 => 531,  987 => 529,  976 => 527,  954 => 525,  936 => 524,  933 => 523,  929 => 521,  921 => 517,  913 => 513,  911 => 512,  908 => 511,  906 => 510,  901 => 508,  898 => 507,  892 => 502,  882 => 501,  866 => 494,  862 => 493,  858 => 492,  854 => 491,  850 => 489,  844 => 487,  842 => 486,  837 => 485,  834 => 484,  824 => 482,  810 => 480,  802 => 479,  784 => 478,  779 => 476,  739 => 439,  734 => 436,  731 => 435,  718 => 434,  715 => 433,  713 => 432,  710 => 431,  707 => 430,  694 => 429,  691 => 428,  689 => 427,  686 => 426,  683 => 425,  670 => 424,  667 => 423,  665 => 422,  662 => 421,  659 => 420,  646 => 419,  643 => 418,  641 => 417,  638 => 416,  635 => 415,  622 => 414,  619 => 413,  617 => 412,  599 => 397,  481 => 282,  471 => 277,  465 => 276,  459 => 275,  453 => 274,  447 => 273,  441 => 272,  435 => 271,  429 => 270,  423 => 269,  417 => 268,  411 => 267,  405 => 266,  399 => 265,  393 => 264,  387 => 263,  381 => 262,  361 => 245,  351 => 238,  321 => 211,  316 => 208,  307 => 202,  303 => 200,  301 => 199,  298 => 198,  289 => 192,  285 => 190,  283 => 189,  211 => 119,  203 => 117,  201 => 116,  196 => 114,  193 => 113,  191 => 112,  177 => 101,  173 => 99,  163 => 98,  73 => 16,  63 => 15,  52 => 11,  50 => 13,  37 => 11,);
  2124.     }
  2125.     public function getSourceContext()
  2126.     {
  2127.         return new Source("{#
  2128. This file is part of EC-CUBE
  2129. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  2130. http://www.ec-cube.co.jp/
  2131. For the full copyright and license information, please view the LICENSE
  2132. file that was distributed with this source code.
  2133. #}
  2134. {% extends 'default_frame.twig' %}
  2135. {% set body_class = 'product_page' %}
  2136. {% block stylesheet %}
  2137.     <style>
  2138.         .slick-slider {
  2139.             margin-bottom: 10px;
  2140. \t\t\tmargin-top: -20px;
  2141.         }
  2142.         .slick-dots {
  2143.             position: absolute;
  2144.             bottom: -45px;
  2145.             display: block;
  2146.             width: 100%;
  2147.             padding: 0;
  2148.             list-style: none;
  2149.             text-align: center;
  2150.         }
  2151.         .slick-dots li {
  2152.             position: relative;
  2153.             display: inline-block;
  2154.             width: 20px;
  2155.             height: 20px;
  2156.             margin: 0 5px;
  2157.             padding: 0;
  2158.             cursor: pointer;
  2159.         }
  2160.         .slick-dots li button {
  2161.             font-size: 0;
  2162.             line-height: 0;
  2163.             display: block;
  2164.             width: 20px;
  2165.             height: 20px;
  2166.             padding: 5px;
  2167.             cursor: pointer;
  2168.             color: transparent;
  2169.             border: 0;
  2170.             outline: none;
  2171.             background: transparent;
  2172.         }
  2173.         .slick-dots li button:hover,
  2174.         .slick-dots li button:focus {
  2175.             outline: none;
  2176.         }
  2177.         .slick-dots li button:hover:before,
  2178.         .slick-dots li button:focus:before {
  2179.             opacity: 1;
  2180.         }
  2181.         .slick-dots li button:before {
  2182.             content: \" \";
  2183.             line-height: 20px;
  2184.             position: absolute;
  2185.             top: 0;
  2186.             left: 0;
  2187.             width: 12px;
  2188.             height: 12px;
  2189.             text-align: center;
  2190.             opacity: .25;
  2191.             background-color: black;
  2192.             border-radius: 50%;
  2193.         }
  2194.         .slick-dots li.slick-active button:before {
  2195.             opacity: .75;
  2196.             background-color: black;
  2197.         }
  2198.         .slick-dots li button.thumbnail img {
  2199.             width: 0;
  2200.             height: 0;
  2201.         }
  2202.     </style>
  2203.     <link rel=\"stylesheet\" href=\"/html/user_data/js/style.css\">
  2204.     <link rel=\"stylesheet\" href=\"/html/plugins/icheck-bootstrap/icheck-bootstrap.min.css\">
  2205. {% endblock %}
  2206. {% block javascript %}
  2207.     <script>
  2208.         eccube.classCategories = {{ class_categories_as_json(Product)|raw }};
  2209.         // 規格2に選択肢を割り当てる。
  2210.         function fnSetClassCategories(form, classcat_id2_selected) {
  2211.             var \$form = \$(form);
  2212.             var product_id = \$form.find('input[name=product_id]').val();
  2213.             var \$sele1 = \$form.find('select[name=classcategory_id1]');
  2214.             var \$sele2 = \$form.find('select[name=classcategory_id2]');
  2215.             eccube.setClassCategories(\$form, product_id, \$sele1, \$sele2, classcat_id2_selected);
  2216.         }
  2217.         {% if form.classcategory_id2 is defined %}
  2218.         fnSetClassCategories(
  2219.             \$('#form1'), {{ form.classcategory_id2.vars.value|json_encode|raw }}
  2220.         );
  2221.         {% elseif form.classcategory_id1 is defined %}
  2222.         eccube.checkStock(\$('#form1'), {{ Product.id }}, {{ form.classcategory_id1.vars.value|json_encode|raw }}, null);
  2223.         {% endif %}
  2224.     </script>
  2225.     <script>
  2226.         \$(function() {
  2227.             // bfcache無効化
  2228.             \$(window).bind('pageshow', function(event) {
  2229.                 if (event.originalEvent.persisted) {
  2230.                     location.reload(true);
  2231.                 }
  2232.             });
  2233.             // Core Web Vital の Cumulative Layout Shift(CLS)対策のため
  2234.             // img タグに width, height が付与されている.
  2235.             // 630px 未満の画面サイズでは縦横比が壊れるための対策
  2236.             // see https://github.com/EC-CUBE/ec-cube/pull/5023
  2237.             \$('.ec-grid2__cell').hide();
  2238.             var removeSize = function () {
  2239.                 \$('.slide-item').height('');
  2240.                 \$('.slide-item img')
  2241.                     .removeAttr('width')
  2242.                     .removeAttr('height')
  2243.                     .removeAttr('style');
  2244.             };
  2245.             var slickInitial = function(slick) {
  2246.                 \$('.ec-grid2__cell').fadeIn(1500);
  2247.                 var baseHeight = \$(slick.target).height();
  2248.                 var baseWidth = \$(slick.target).width();
  2249.                 var rate = baseWidth / baseHeight;
  2250. \t\t\t\tif(baseHeight * rate < 400){
  2251. \t                \$('.slide-item').height(baseHeight * rate); // 余白を削除する
  2252. \t\t\t\t}else{
  2253. \t                \$('.slide-item').height(400); // 余白を削除する
  2254. \t\t\t\t}
  2255.                 // transform を使用することでCLSの影響を受けないようにする
  2256.                 \$('.slide-item img')
  2257.                     .css(
  2258.                         {
  2259.                             'transform-origin': 'top left',
  2260.                             'transform': 'scaleY(' + rate + ')',
  2261.                             'transition': 'transform .1s'
  2262.                         }
  2263.                     );
  2264.                 // 正しいサイズに近くなったら属性を解除する
  2265.                 setTimeout(removeSize, 500);
  2266.             };
  2267.             \$('.item_visual').on('init', slickInitial);
  2268.             // リサイズ時は CLS の影響を受けないため属性を解除する
  2269.             \$(window).resize(removeSize);
  2270.             \$('.item_visual').slick({
  2271.                 dots: false,
  2272.                 arrows: true,
  2273.                 responsive: [{
  2274.                     breakpoint: 768,
  2275.                     settings: {
  2276.                         dots: true,
  2277.                 \t\tarrows: false
  2278.                     }
  2279.                 }]
  2280.             });
  2281.             \$('.slideThumb').on('click', function() {
  2282.                 var index = \$(this).attr('data-index');
  2283.                 \$('.item_visual').slick('slickGoTo', index, false);
  2284.             })
  2285.         });
  2286.     </script>
  2287.     <script>
  2288.         \$(function() {
  2289.             \$('.add-cart').on('click', function(event) {
  2290.                 {% if form.classcategory_id1 is defined %}
  2291.                 // 規格1フォームの必須チェック
  2292.                 if (\$('#classcategory_id1').val() == '__unselected' || \$('#classcategory_id1').val() == '') {
  2293.                     \$('#classcategory_id1')[0].setCustomValidity('{{ '項目が選択されていません'|trans }}');
  2294.                     return true;
  2295.                 } else {
  2296.                     \$('#classcategory_id1')[0].setCustomValidity('');
  2297.                 }
  2298.                 {% endif %}
  2299.                 {% if form.classcategory_id2 is defined %}
  2300.                 // 規格2フォームの必須チェック
  2301.                 if (\$('#classcategory_id2').val() == '__unselected' || \$('#classcategory_id2').val() == '') {
  2302.                     \$('#classcategory_id2')[0].setCustomValidity('{{ '項目が選択されていません'|trans }}');
  2303.                     return true;
  2304.                 } else {
  2305.                     \$('#classcategory_id2')[0].setCustomValidity('');
  2306.                 }
  2307.                 {% endif %}
  2308.                 // 個数フォームのチェック
  2309.                 if (\$('#quantity').val() < 1) {
  2310.                     \$('#quantity')[0].setCustomValidity('{{ '1以上で入力してください。'|trans }}');
  2311.                     return true;
  2312.                 } else {
  2313.                     \$('#quantity')[0].setCustomValidity('');
  2314.                 }
  2315.                 event.preventDefault();
  2316.                 \$form = \$('#form1');
  2317.                 \$.ajax({
  2318.                     url: \$form.attr('action'),
  2319.                     type: \$form.attr('method'),
  2320.                     data: \$form.serialize(),
  2321.                     dataType: 'json',
  2322.                     beforeSend: function(xhr, settings) {
  2323.                         // Buttonを無効にする
  2324.                         \$('.add-cart').prop('disabled', true);
  2325.                     }
  2326.                 }).done(function(data) {
  2327.                     // レスポンス内のメッセージをalertで表示
  2328.                     \$.each(data.messages, function() {
  2329.                         \$('#ec-modal-header').text(this);
  2330.                     });
  2331.                     \$('.ec-modal').show()
  2332.                     // カートブロックを更新する
  2333.                     \$.ajax({
  2334.                         url: \"{{ url('block_cart') }}\",
  2335.                         type: 'GET',
  2336.                         dataType: 'html'
  2337.                     }).done(function(html) {
  2338.                         \$('.ec-headerRole__cart').html(html);
  2339.                     });
  2340.                 }).fail(function(data) {
  2341.                     alert('{{ '施工検討リストへの追加に失敗しました。'|trans }}');
  2342.                 }).always(function(data) {
  2343.                     // Buttonを有効にする
  2344.                     \$('.add-cart').prop('disabled', false);
  2345.                 });
  2346.             });
  2347.         });
  2348.         \$('.ec-modal-wrap').on('click', function(e) {
  2349.             // モーダル内の処理は外側にバブリングさせない
  2350.             e.stopPropagation();
  2351.         });
  2352.         \$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
  2353.             \$('.ec-modal').hide()
  2354.         });
  2355. \t\tvar pw = \"{% if mitsumori_json %}{{ mitsumori_json.pw }}{% endif %}\";
  2356. \t\tvar pd = \"{% if mitsumori_json %}{{ mitsumori_json.pd }}{% endif %}\";
  2357. \t\tvar ph = \"{% if mitsumori_json %}{{ mitsumori_json.ph }}{% endif %}\";
  2358. \t\tvar pm = \"{% if mitsumori_json %}{{ mitsumori_json.pm }}{% endif %}\";
  2359. \t\tvar pc = \"{% if mitsumori_json %}{{ mitsumori_json.pc }}{% endif %}\";
  2360. \t\tvar op0 = \"{% if mitsumori_json %}{{ mitsumori_json.op[0] }}{% endif %}\";
  2361. \t\tvar op1 = \"{% if mitsumori_json %}{{ mitsumori_json.op[1] }}{% endif %}\";
  2362. \t\tvar op2 = \"{% if mitsumori_json %}{{ mitsumori_json.op[2] }}{% endif %}\";
  2363. \t\tvar op3 = \"{% if mitsumori_json %}{{ mitsumori_json.op[3] }}{% endif %}\";
  2364. \t\tvar op4 = \"{% if mitsumori_json %}{{ mitsumori_json.op[4] }}{% endif %}\";
  2365. \t\tvar op5 = \"{% if mitsumori_json %}{{ mitsumori_json.op[5] }}{% endif %}\";
  2366. \t\tvar op6 = \"{% if mitsumori_json %}{{ mitsumori_json.op[6] }}{% endif %}\";
  2367. \t\tvar op7 = \"{% if mitsumori_json %}{{ mitsumori_json.op[7] }}{% endif %}\";
  2368. \t\tvar op8 = \"{% if mitsumori_json %}{{ mitsumori_json.op[8] }}{% endif %}\";
  2369. \t\tvar op9 = \"{% if mitsumori_json %}{{ mitsumori_json.op[9] }}{% endif %}\";
  2370. \t\tvar op10 = \"{% if mitsumori_json %}{{ mitsumori_json.op[10] }}{% endif %}\";
  2371. \t\tconst formatter = new Intl.NumberFormat('ja-JP');
  2372. \t\tfunction mitsumori_simulation(type , value_id){
  2373. \t\t\tvar pp = {{ pp|raw }};
  2374. \t\t\tif(type == \"pw\"){
  2375. \t\t\t\tpw = \$('#'+value_id).val();
  2376. \t\t\t}
  2377. \t\t\tif(type == \"pd\"){
  2378. \t\t\t\tpd = \$('#'+value_id).val();
  2379. \t\t\t}
  2380. \t\t\tif(type == \"ph\"){
  2381. \t\t\t\tph = \$('#'+value_id).val();
  2382. \t\t\t}
  2383. \t\t\tif(type == \"pm\"){
  2384. \t\t\t\tpm = \$('#'+value_id).val();
  2385. \t\t\t}
  2386. \t\t\tif(type == \"pc\"){
  2387. \t\t\t\tpc = \$('#'+value_id).val();
  2388. \t\t\t}
  2389. \t\t\tif(type == \"op0\"){ op0 = \$('#'+value_id).val(); }
  2390. \t\t\tif(type == \"op1\"){ op1 = \$('#'+value_id).val(); }
  2391. \t\t\tif(type == \"op2\"){ op2 = \$('#'+value_id).val(); }
  2392. \t\t\tif(type == \"op3\"){ op3 = \$('#'+value_id).val(); }
  2393. \t\t\tif(type == \"op4\"){ op4 = \$('#'+value_id).val(); }
  2394. \t\t\tif(type == \"op5\"){ op5 = \$('#'+value_id).val(); }
  2395. \t\t\tif(type == \"op6\"){ op6 = \$('#'+value_id).val(); }
  2396. \t\t\tif(type == \"op7\"){ op7 = \$('#'+value_id).val(); }
  2397. \t\t\tif(type == \"op8\"){ op8 = \$('#'+value_id).val(); }
  2398. \t\t\tif(type == \"op9\"){ op9 = \$('#'+value_id).val(); }
  2399. \t\t\tif(type == \"op10\"){ op10 = \$('#'+value_id).val(); }
  2400. \t\t\tif(pm == \"\"){
  2401. \t\t\t\t\$('#mitsumori_message').text(\"素材を選択してください\");
  2402. \t\t\t}
  2403. \t\t\tif(ph == \"\"){
  2404. \t\t\t\t\$('#mitsumori_message').text(\"高さを選択してください\");
  2405. \t\t\t}
  2406. \t\t\tif(pd == \"\"){
  2407. \t\t\t\t\$('#mitsumori_message').text(\"奥行きを選択してください\");
  2408. \t\t\t}
  2409. \t\t\tif(pw == \"\"){
  2410. \t\t\t\t\$('#mitsumori_message').text(\"幅を選択してください\");
  2411. \t\t\t}
  2412. \t\t\tif(pc == \"\"){
  2413. \t\t\t\t\$('#mitsumori_message').text(\"カラーを選択してください\");
  2414. \t\t\t\t\$('#mitsumori_btn').hide();
  2415. \t\t\t\t\$('#mitsumori_goukei').text(\"---円\");
  2416. \t\t\t\t\$('#mitsumori_off').text(\"---円\");
  2417. \t\t\t\t\$('#mitsumori_price').text(\"---円\");
  2418. \t\t\t\t\$('#maker_price').text(\"---円\");
  2419. \t\t\t\t\$('#mitsumori_ct').text(\"---円\");
  2420. \t\t\t\t\$('#mitsumori_option').text(\"---円\");
  2421. \t\t\t}
  2422. \t\t\tif(pw != \"\" && pd != \"\" && ph != \"\" && pm != \"\" && pc != \"\"){
  2423. \t\t\t\t\$('#mitsumori_btn').show();
  2424. \t\t\t\t
  2425. \t\t\t\tpp.forEach((el) => {
  2426. \t\t\t\t  if((pw == el.w || pw == \"指定なし\") && (pd == el.d || pd == \"指定なし\") && (ph == el.h || ph == \"指定なし\") && (pm == el.m || pm == \"指定なし\") && (pc == el.c || pc == \"指定なし\")){
  2427. \t\t\t\t\tif(op0 == \"商品購入のみ\" || op1 == \"商品購入のみ\" || op2 == \"商品購入のみ\" || op3 == \"商品購入のみ\" || op4 == \"商品購入のみ\" 
  2428. \t\t\t\t\t\t|| op5 == \"商品購入のみ\" || op6 == \"商品購入のみ\" || op7 == \"商品購入のみ\" || op8 == \"商品購入のみ\" || op9 == \"商品購入のみ\"){
  2429. \t\t\t\t\t  \t\$('#mitsumori_message').text(formatter.format(parseInt(el.price)) + \"円\");
  2430. \t\t\t\t\t  \t\$('#mitsumori_goukei').text(formatter.format(parseInt(el.price)) + \"円\");
  2431. \t\t\t\t\t  \t\$('#mitsumori_off').text(formatter.format(parseInt(el.price) - parseInt(el.maker_price)) + \"円\");
  2432. \t\t\t\t\t  \t\$('#mitsumori_price').text(formatter.format(parseInt(el.price)) + \"円\");
  2433. \t\t\t\t\t  \t\$('#maker_price').text(formatter.format(parseInt(el.maker_price)) + \"円\");
  2434. \t\t\t\t\t  \t\$('#mitsumori_ct').text(\"0円\");
  2435. \t\t\t\t\t  \t\$('#mitsumori_option').text(\"0円\");
  2436. \t\t\t\t\t  \t\$('#mitsumori_kei').text(formatter.format(parseInt(el.price)) + \"円\");
  2437. \t\t\t\t\t  \t\$('#mitsumori_price_01').text(formatter.format(parseInt(el.price)) + \"円\");
  2438. \t\t\t\t\t  \t\$('#mitsumori_price_02').text(formatter.format(parseInt(el.price)) + \"円\");
  2439. \t\t\t\t\t  \t\$('#mitsumori_ct_01').text(\"0円\");
  2440. \t\t\t\t\t  \t\$('#mitsumori_ct_02').text(\"0円\");
  2441. \t\t\t\t\t  \t\$('#mitsumori_goukei_02').text(formatter.format(parseInt(el.price)) + \"円\");
  2442. \t\t\t\t\t\t
  2443. \t\t\t\t\t\tmitsumori_goukei = (parseInt(el.price));
  2444. \t\t\t\t\t\tshoukei = mitsumori_goukei / 1.1;
  2445. \t\t\t\t\t\ttax = parseInt(mitsumori_goukei - shoukei);
  2446. \t\t\t\t\t  \t\$('#mitsumori_shoukei').text(formatter.format(parseInt(shoukei)) + \"円\");
  2447. \t\t\t\t\t  \t\$('#mitsumori_tax').text(formatter.format(parseInt(tax)) + \"円\");
  2448. \t\t\t\t\t}else{
  2449. \t\t\t\t\t  \t\$('#mitsumori_message').text(formatter.format(parseInt(el.price) + parseInt(el.ct)) + \"円\");
  2450. \t\t\t\t\t  \t\$('#mitsumori_goukei').text(formatter.format(parseInt(el.price) + parseInt(el.ct)) + \"円\");
  2451. \t\t\t\t\t  \t\$('#mitsumori_off').text(formatter.format(parseInt(el.price) - parseInt(el.maker_price)) + \"円\");
  2452. \t\t\t\t\t  \t\$('#mitsumori_price').text(formatter.format(parseInt(el.price)) + \"円\");
  2453. \t\t\t\t\t  \t\$('#maker_price').text(formatter.format(parseInt(el.maker_price)) + \"円\");
  2454. \t\t\t\t\t  \t\$('#mitsumori_ct').text(formatter.format(parseInt(el.ct)) + \"円\");
  2455. \t\t\t\t\t  \t\$('#mitsumori_option').text(\"0円\");
  2456. \t\t\t\t\t  \t\$('#mitsumori_kei').text(formatter.format(parseInt(el.price) + parseInt(el.ct)) + \"円\");
  2457. \t\t\t\t\t  \t\$('#mitsumori_price_01').text(formatter.format(parseInt(el.price)) + \"円\");
  2458. \t\t\t\t\t  \t\$('#mitsumori_price_02').text(formatter.format(parseInt(el.price)) + \"円\");
  2459. \t\t\t\t\t  \t\$('#mitsumori_ct_01').text(formatter.format(parseInt(el.ct)) + \"円\");
  2460. \t\t\t\t\t  \t\$('#mitsumori_ct_02').text(formatter.format(parseInt(el.ct)) + \"円\");
  2461. \t\t\t\t\t  \t\$('#mitsumori_goukei_02').text(formatter.format(parseInt(el.price) + parseInt(el.ct)) + \"円\");
  2462. \t\t\t\t\t\tmitsumori_goukei = (parseInt(el.price) + parseInt(el.ct));
  2463. \t\t\t\t\t\tshoukei = mitsumori_goukei / 1.1;
  2464. \t\t\t\t\t\ttax = parseInt(mitsumori_goukei - shoukei);
  2465. \t\t\t\t\t  \t\$('#mitsumori_shoukei').text(formatter.format(parseInt(shoukei)) + \"円\");
  2466. \t\t\t\t\t  \t\$('#mitsumori_tax').text(formatter.format(parseInt(tax)) + \"円\");
  2467. \t\t\t\t\t}
  2468. \t\t\t\t  }
  2469. \t\t\t\t});\t
  2470. \t\t\t\tvar mitsumori_json = { \"mitsumori_goukei\": \$('#mitsumori_goukei').text(),
  2471. \t\t\t\t\t\t\t\t\t\t\"mitsumori_goukei_02\": \$('#mitsumori_goukei_02').text(),
  2472. \t\t\t\t\t\t\t\t\t\t\"mitsumori_price\": \$('#mitsumori_price').text(),
  2473. \t\t\t\t\t\t\t\t\t\t\"maker_price\": \$('#maker_price').text(),
  2474. \t\t\t\t\t\t\t\t\t\t\"mitsumori_off\": \$('#mitsumori_off').text(),
  2475. \t\t\t\t\t\t\t\t\t\t\"mitsumori_ct\": \$('#mitsumori_ct').text(),
  2476. \t\t\t\t\t\t\t\t\t\t\"mitsumori_option\": \$('#mitsumori_option').text(),
  2477. \t\t\t\t\t\t\t\t\t\t\"product_id\": {{ Product.id }},
  2478. \t\t\t\t\t\t\t\t\t\t\"pw\": pw,
  2479. \t\t\t\t\t\t\t\t\t\t\"pd\": pd,
  2480. \t\t\t\t\t\t\t\t\t\t\"ph\": ph,
  2481. \t\t\t\t\t\t\t\t\t\t\"pm\": pm,
  2482. \t\t\t\t\t\t\t\t\t\t\"pc\": pc,
  2483. \t\t\t\t\t\t\t\t\t\t\"op\": [op0,op1,op2,op3,op4,op5,op6,op7,op8,op9,op10] };
  2484. \t\t\t\t\$('#mitsumori_json').val(JSON.stringify(mitsumori_json));
  2485. \t\t\t\t
  2486. \t\t\t}
  2487. \t\t\t
  2488. \t\t}
  2489.         {% if color and color|length == 1 %}
  2490.             pc = \"指定なし\";
  2491. \t\t\t{% for cc in color %}{% if cc and cc['name'] %} pc = \"{{ cc['name'] }}\"; {% endif %}{% endfor %}
  2492. \t\t{% endif %}
  2493.         {% if p_w and (p_w|length == 1 or p_w|join == \"\") %}
  2494.             pw = \"指定なし\";
  2495. \t\t\t{% for pw in p_w %}{% if pw %} pw = \"{{ pw }}\"; {% endif %}{% endfor %}
  2496. \t\t{% endif %}
  2497.         {% if p_d and (p_d|length == 1 or p_d|join == \"\") %}
  2498.             pd = \"指定なし\";
  2499. \t\t\t{% for pd in p_d %}{% if pd %} pd = \"{{ pd }}\"; {% endif %}{% endfor %}
  2500. \t\t{% endif %}
  2501.         {% if p_h and (p_h|length == 1 or p_h|join == \"\") %}
  2502.             ph = \"指定なし\";
  2503. \t\t\t{% for ph in p_h %}{% if ph %} ph = \"{{ ph }}\"; {% endif %}{% endfor %}
  2504. \t\t{% endif %}
  2505.         {% if p_m and (p_m|length == 1 or p_m|join == \"\") %}
  2506.             pm = \"指定なし\";
  2507. \t\t\t{% for pm in p_m %}{% if pm %} pm = \"{{ pm }}\"; {% endif %}{% endfor %}
  2508. \t\t{% endif %}
  2509. \t\tmitsumori_simulation(\"\",\"\");
  2510. \t\tfunction contact_form(product_id){
  2511. \t\t\t\$('#form1').attr('action', '{{ url('contact', {product:Product.id}) }}');
  2512. \t\t\t\$('#form1').submit();
  2513. \t\t}
  2514. \t\tfunction maisu(mai){
  2515. \t\t\t\$('#maisu').val(parseInt(\$('#maisu').val()) + mai);
  2516. \t\t\tif(parseInt(\$('#maisu').val()) < 3){ \$('#maisu').val(3); }
  2517. \t\t\tif(parseInt(\$('#maisu').val()) > 20){ \$('#maisu').val(20); }
  2518. \t\t\t\$('#quantity').val(\$('#maisu').val());
  2519. \t\t}
  2520. \t\tfunction madoset(mai){
  2521. \t\t\t\$('#set').val(parseInt(\$('#set').val()) + mai);
  2522. \t\t\tif(parseInt(\$('#set').val()) < 1){ \$('#set').val(1); }
  2523. \t\t\tif(parseInt(\$('#set').val()) > 20){ \$('#set').val(20); }
  2524. \t\t\t\$('#quantity').val(\$('#set').val());
  2525. \t\t}
  2526. \t\tfunction heibei(bei){
  2527. \t\t\t\$('#heibei').val(parseInt(\$('#heibei').val()) + dai);
  2528. \t\t\tif(parseInt(\$('#heibei').val()) < 1){ \$('#heibei').val(1); }
  2529. \t\t\tif(parseInt(\$('#heibei').val()) > 100){ \$('#heibei').val(100); }
  2530. \t\t\t\$('#quantity').val(\$('#heibei').val());
  2531. \t\t}
  2532. \t\tfunction daisu(dai){
  2533. \t\t\t\$('#daisu').val(parseInt(\$('#daisu').val()) + dai);
  2534. \t\t\tif(parseInt(\$('#daisu').val()) < 1){ \$('#daisu').val(1); }
  2535. \t\t\tif(parseInt(\$('#daisu').val()) > 10){ \$('#daisu').val(10); }
  2536. \t\t\t\$('#quantity').val(\$('#daisu').val());
  2537. \t\t}
  2538.     </script>
  2539.     <script type=\"application/ld+json\">
  2540.     {
  2541.         \"@context\": \"https://schema.org/\",
  2542.         \"@type\": \"Product\",
  2543.         \"name\": \"{{ Product.name }}\",
  2544.         \"image\": [
  2545.             {% for img in Product.ProductImage %}
  2546.                 \"{{ app.request.schemeAndHttpHost }}{{ asset(img, 'save_image') }}\"{% if not loop.last %},{% endif %}
  2547.             {% else %}
  2548.                 \"{{ app.request.schemeAndHttpHost }}{{ asset(''|no_image_product, 'save_image') }}\"
  2549.             {% endfor %}
  2550.         ],
  2551.         \"description\": \"{{ Product.description_list | default(Product.description_detail) | replace({'\\n': '', '\\r': ''}) | slice(0,300) }}\",
  2552.         {% if Product.code_min %}
  2553.         \"sku\": \"{{ Product.code_min }}\",
  2554.         {% endif %}
  2555.         \"offers\": {
  2556.             \"@type\": \"Offer\",
  2557.             \"url\": \"{{ url('product_detail', {'id': Product.id}) }}\",
  2558.             \"priceCurrency\": \"{{ eccube_config.currency }}\",
  2559.             \"price\": {{ Product.getPrice02IncTaxMin ? Product.getPrice02IncTaxMin : 0}},
  2560.             \"availability\": \"{{ Product.stock_find ? \"InStock\" : \"OutOfStock\" }}\"
  2561.         }
  2562.     }
  2563.     </script>
  2564. {% endblock %}
  2565. {% block main %}
  2566.     <div class=\"ec-productRole\" style=\"margin-top:20px;\">
  2567.         <div class=\"ec-grid2\">
  2568.             <div class=\"ec-grid2__cell\">
  2569.                 <div class=\"ec-sliderItemRole\">
  2570. \t                {# 商品名 #}
  2571. \t                <div class=\"ec-productRole__title\">
  2572. \t                    <h2 class=\"ec-headingTitle\">{{ Product.name }}</h2>
  2573. \t                </div>
  2574.                     {% if BaseInfo.option_favorite_product %}
  2575.                      <div style=\"position:relative;top: 20px;left: 10px;z-index:100;\">
  2576. \t\t\t\t\t\t{% if is_favorite == false %}
  2577.                         <form action=\"{{ url('product_add_favorite', {id:Product.id}) }}\" method=\"post\">
  2578.                            <button type=\"submit\" id=\"favorite\" class=\"favorite\">&#9825;</button>
  2579.                         </form>
  2580.                         {% else %}
  2581.                         <form action=\"{{ url('product_add_favorite', {id:Product.id}) }}\" method=\"post\">
  2582.                            <button type=\"submit\" id=\"favorite\" class=\"favorite\" style=\"color:red;\">&#9829;</button>
  2583.                         </form>
  2584.                         {% endif %}
  2585.                      </div>
  2586.                     {% endif %}
  2587.                     <div class=\"item_visual\">
  2588.                         {% for ProductImage in Product.ProductImage %}
  2589.                             <div class=\"slide-item\"><img src=\"{{ asset(ProductImage, 'save_image') }}\" alt=\"{{ loop.first ? Product.name : '' }}\" width=\"550\" height=\"550\" style=\"max-height: 400px;\"{% if loop.index > 1 %} loading=\"lazy\"{% endif %}></div>
  2590.                         {% else %}
  2591.                             <div class=\"slide-item\"><img src=\"{{ asset(''|no_image_product, 'save_image') }}\" alt=\"{{ loop.first ? Product.name : '' }}\" width=\"550\" height=\"550\" style=\"max-height: 400px;\"></div>
  2592.                         {% endfor %}
  2593.                     </div>
  2594.                     <div class=\"item_nav\">
  2595.                         {% for ProductImage in Product.ProductImage %}
  2596.                             <div class=\"slideThumb\" data-index=\"{{ loop.index0 }}\"><img src=\"{{ asset(ProductImage, 'save_image') }}\" alt=\"\" width=\"80\" height=\"80\" loading=\"lazy\"></div>
  2597.                         {% endfor %}
  2598.                     </div>
  2599.                 </div>
  2600.             </div>
  2601.             <div class=\"ec-grid2__cell2\">
  2602.                 <div class=\"ec-productRole__profile\" >
  2603.                     {# 関連カテゴリ #}
  2604.                     {% if Product.ProductCategories is not empty %}
  2605.                         <div class=\"ec-productRole__category\" style=\"padding:10px 0;\">
  2606.                             {% for ProductCategory in Product.ProductCategories %}
  2607.                                 <ul>
  2608.                                     <li>
  2609.                                         {% for Category in ProductCategory.Category.path %}
  2610.                                             <a href=\"{{ url('product_list') }}?category_id={{ Category.id }}\">{{ Category.name }}</a> {%- if loop.last == false %}
  2611.                                             <span>></span>{% endif -%}
  2612.                                         {% endfor %}
  2613.                                     </li>
  2614.                                 </ul>
  2615.                             {% endfor %}
  2616.                         </div>
  2617.                     {% endif %}
  2618.                     {# 販売価格 #}
  2619.                     <div class=\"ec-productRole__price\">
  2620. \t\t\t\t\t\t<span style=\"color:black;font-size:15px;\">工事費込み価格</span>
  2621.                         {% if Product.hasProductClass -%}
  2622.                             {% if Product.getPrice02IncTaxMin == Product.getPrice02IncTaxMax %}
  2623.                                 <div class=\"ec-price\">
  2624.                                     <span class=\"ec-price__price price02-default\">{{ Product.getPrice02IncTaxMin|price }}</span>
  2625.                                     <span class=\"ec-price__tax\">({{ '税込'|trans }})~</span>
  2626.                                 </div>
  2627.                             {% else %}
  2628.                                 <div class=\"ec-price\">
  2629.                                     <span class=\"ec-price__price price02-default\">{{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}</span>
  2630.                                     <span class=\"ec-price__tax\">({{ '税込'|trans }})</span>
  2631.                                 </div>
  2632.                             {% endif %}
  2633.                         {% else %}
  2634.                             <div class=\"ec-price\">
  2635.                                 <span class=\"ec-price__price\">{{ Product.getPrice02IncTaxMin|price }}</span>
  2636.                                     <span class=\"ec-price__tax\">({{ '税込'|trans }})~</span>
  2637.                             </div>
  2638.                         {% endif %}
  2639.                     </div>
  2640.                     {# タグ #}
  2641.                     <ul class=\"ec-productRole__tags\">
  2642.                         {% for Tag in Product.Tags %}
  2643.                             <li class=\"ec-productRole__tag tag_{{ Tag.id }}\">{{ Tag }}</li>
  2644.                         {% endfor %}
  2645.                     </ul>
  2646.                     {# 商品コード #}
  2647.                     {% if Product.code_min is not empty %}
  2648.                         <div class=\"ec-productRole__code\">
  2649.                             {{ '商品コード'|trans }}: <span class=\"product-code-default\">{{ Product.code_min }}{% if Product.code_min != Product.code_max %} ~ {{ Product.code_max }}{% endif %}</span>
  2650.                         </div>
  2651.                     {% endif %}
  2652.                     <div class=\"ec-productRole__description\">
  2653. \t\t\t\t        <div class=\"ec-rectHeading\">
  2654. \t\t\t\t            <h4>製品情報</h4>
  2655. \t\t\t\t        </div>
  2656. \t\t\t\t\t\t{{ Product.sales_infomation|raw|nl2br }}
  2657.                     </div>
  2658. \t\t\t\t\t<div class=\"card card-danger\" style=\"clear:both;margin:1px;\">
  2659. \t\t\t\t\t  <div class=\"card-header\">
  2660. \t\t\t\t\t    <h3 class=\"card-title\">見積シミュレーション</h3>
  2661. \t\t\t\t\t  </div>
  2662. \t\t\t\t\t  <div class=\"card-body p-2\">
  2663. \t\t\t\t\t    <div class=\"row\" style=\"border-bottom:1px solid rgba(0,0,0,.125)\"><label class=\"col-12 col-form-label\">この商品のタイプを選択してください。</label></div>
  2664. \t\t\t\t\t\t{% set type1 = getProduct_field(Product.id,\"related_name1\") %}
  2665.                         {% if type1 and related_product1 and related_product1|length %}
  2666. \t\t\t\t\t    <div class=\"form-group row mt-2\" style=\"border-bottom:1px solid rgba(0,0,0,.125)\">
  2667. \t\t\t\t\t\t  <label class=\"col-4 col-form-label mt-2\">{{ type1 }}</label>
  2668. \t\t\t\t\t\t  <div class=\"col-8 mt-2\">
  2669. \t\t\t\t\t\t    <div class=\"form-group clearfix\">
  2670. \t\t\t\t\t\t      {% for rp_id, rp_name in related_product1 %}
  2671. \t\t\t\t\t\t      <div class=\"icheck-danger d-inline\">
  2672. \t\t\t\t\t\t        <input type=\"radio\" name=\"rp1\" id=\"rp1_{{ rp_id }}\" value=\"{{ rp_name }}\" {% if base_select1 == rp_name %}checked{% endif %} onclick=\"location.href='/products/detail/{{ rp_id }}';\"><label for=\"rp1_{{ rp_id }}\">{{ rp_name }}</label>
  2673. \t\t\t\t\t\t      </div>
  2674. \t\t\t\t\t\t\t  {% endfor %}
  2675. \t\t\t\t\t\t    </div>
  2676. \t\t\t\t\t\t  </div>
  2677. \t\t\t\t\t    </div>
  2678.                         {% endif %}
  2679. \t\t\t\t\t\t{% set type2 = getProduct_field(Product.id,\"related_name2\") %}
  2680.                         {% if type2 and related_product2 and related_product2|length %}
  2681. \t\t\t\t\t    <div class=\"form-group row mt-2\" style=\"border-bottom:1px solid rgba(0,0,0,.125)\">
  2682. \t\t\t\t\t\t  <label class=\"col-4 col-form-label mt-2\">{{ type2 }}</label>
  2683. \t\t\t\t\t\t  <div class=\"col-8 mt-2\">
  2684. \t\t\t\t\t\t    <div class=\"form-group clearfix\">
  2685. \t\t\t\t\t\t      {% for rp_id, rp_name in related_product2 %}
  2686. \t\t\t\t\t\t      <div class=\"icheck-danger d-inline\">
  2687. \t\t\t\t\t\t        <input type=\"radio\" name=\"rp2\" id=\"rp2_{{ rp_id }}\" value=\"{{ rp_name }}\" {% if base_select2 == rp_name %}checked{% endif %} onclick=\"location.href='/products/detail/{{ rp_id }}';\"><label for=\"rp2_{{ rp_id }}\">{{ rp_name }}</label>
  2688. \t\t\t\t\t\t      </div>
  2689. \t\t\t\t\t\t\t  {% endfor %}
  2690. \t\t\t\t\t\t    </div>
  2691. \t\t\t\t\t\t  </div>
  2692. \t\t\t\t\t    </div>
  2693.                         {% endif %}
  2694. \t\t\t\t\t\t{% set type3 = getProduct_field(Product.id,\"related_name3\") %}
  2695.                         {% if type3 and related_product3 and related_product3|length %}
  2696. \t\t\t\t\t    <div class=\"form-group row mt-2\" style=\"border-bottom:1px solid rgba(0,0,0,.125)\">
  2697. \t\t\t\t\t\t  <label class=\"col-4 col-form-label mt-2\">{{ type3 }}</label>
  2698. \t\t\t\t\t\t  <div class=\"col-8 mt-2\">
  2699. \t\t\t\t\t\t    <div class=\"form-group clearfix\">
  2700. \t\t\t\t\t\t      {% for rp_id, rp_name in related_product3 %}
  2701. \t\t\t\t\t\t      <div class=\"icheck-danger d-inline\">
  2702. \t\t\t\t\t\t        <input type=\"radio\" name=\"rp3\" id=\"rp3_{{ rp_id }}\" value=\"{{ rp_name }}\" {% if base_select3 == rp_name %}checked{% endif %} onclick=\"location.href='/products/detail/{{ rp_id }}';\"><label for=\"rp3_{{ rp_id }}\">{{ rp_name }}</label>
  2703. \t\t\t\t\t\t      </div>
  2704. \t\t\t\t\t\t\t  {% endfor %}
  2705. \t\t\t\t\t\t    </div>
  2706. \t\t\t\t\t\t  </div>
  2707. \t\t\t\t\t    </div>
  2708.                         {% endif %}
  2709. \t\t\t\t\t    <div class=\"row\" style=\"border-bottom:1px solid rgba(0,0,0,.125)\"><label class=\"col-12 col-form-label\">この商品のオプションを選択してください。</label></div>
  2710.                         {% if color and color|length %}
  2711. \t\t\t\t\t    <div class=\"form-group row mt-2\" style=\"border-bottom:1px solid rgba(0,0,0,.125)\">
  2712. \t\t\t\t\t\t  <label class=\"col-4 col-form-label mt-2\">カラー</label>
  2713. \t\t\t\t\t\t  <div class=\"col-8 mt-2\">
  2714. \t\t\t\t\t\t    <div class=\"form-group clearfix\">
  2715. \t\t\t\t\t\t    {% set idx = 0 %}
  2716. \t\t\t\t\t\t    {% for cc in color %}
  2717. \t\t\t\t\t\t      {% if cc and cc['name'] %}
  2718. \t\t\t\t\t\t      {% set idx = idx + 1 %}
  2719. \t\t\t\t\t\t      <div class=\"icheck-danger d-inline\">
  2720. \t\t\t\t\t\t        <input type=\"radio\" name=\"color\" id=\"cc_{{ idx }}\" value=\"{{ cc['name'] }}\" {% if mitsumori_json and mitsumori_json.pc == cc['name'] or color|length == 1 %}checked{% endif %} onclick=\"mitsumori_simulation('pc','cc_{{ idx }}');\"><label for=\"cc_{{ idx }}\">{{ cc['name'] }}</label>
  2721. \t\t\t\t\t\t      </div>
  2722. \t\t\t\t\t\t      {% endif %}
  2723. \t\t\t\t\t\t\t{% endfor %}
  2724. \t\t\t\t\t\t    </div>
  2725. \t\t\t\t\t\t  </div>
  2726. \t\t\t\t\t    </div>
  2727.                         {% endif %}
  2728.                         {% if p_w and p_w|length and p_w|join != \"\" %}
  2729. \t\t\t\t\t\t<div class=\"form-group row mt-2\" style=\"border-bottom:1px solid rgba(0,0,0,.125)\">
  2730. \t\t\t\t\t\t  <label class=\"col-4 col-form-label\">幅</label>
  2731. \t\t\t\t\t\t  <div class=\"col-8\">
  2732. \t\t\t\t\t\t    <div class=\"form-group clearfix\">
  2733. \t\t\t\t\t\t    {% set idx = 0 %}
  2734. \t\t\t\t\t\t    {% for pw in p_w %}
  2735. \t\t\t\t\t\t      {% if pw %}
  2736. \t\t\t\t\t\t      {% set idx = idx + 1 %}
  2737. \t\t\t\t\t\t      <div class=\"icheck-danger d-inline\">
  2738. \t\t\t\t\t\t        <input type=\"radio\" name=\"pw\" id=\"pw_{{ idx }}\" value=\"{{ pw }}\" {% if mitsumori_json and mitsumori_json.pw == pw or p_w|length == 1 %}checked{% endif %} onclick=\"mitsumori_simulation('pw','pw_{{ idx }}');\"><label for=\"pw_{{ idx }}\">{{ pw }}</label>
  2739. \t\t\t\t\t\t      </div>
  2740. \t\t\t\t\t\t      {% endif %}
  2741. \t\t\t\t\t\t\t{% endfor %}
  2742. \t\t\t\t\t\t    </div>
  2743. \t\t\t\t\t\t  </div>
  2744. \t\t\t\t\t\t</div>
  2745.                         {% endif %}
  2746.                         {% if p_d and p_d|length and p_d|join != \"\" %}
  2747. \t\t\t\t\t\t<div class=\"form-group row mt-2\" style=\"border-bottom:1px solid rgba(0,0,0,.125)\">
  2748. \t\t\t\t\t\t  <label class=\"col-4 col-form-label\">奥行き</label>
  2749. \t\t\t\t\t\t  <div class=\"col-8\">
  2750. \t\t\t\t\t\t    <div class=\"form-group clearfix\">
  2751. \t\t\t\t\t\t    {% set idx = 0 %}
  2752. \t\t\t\t\t\t    {% for pd in p_d %}
  2753. \t\t\t\t\t\t      {% if pd %}
  2754. \t\t\t\t\t\t      {% set idx = idx + 1 %}
  2755. \t\t\t\t\t\t      <div class=\"icheck-danger d-inline\">
  2756. \t\t\t\t\t\t        <input type=\"radio\" name=\"pd\" id=\"pd_{{ idx }}\" value=\"{{ pd }}\" {% if (mitsumori_json and mitsumori_json.pd == pd) or p_d|length == 1 %}checked{% endif %} onclick=\"mitsumori_simulation('pd','pd_{{ idx }}');\"><label for=\"pd_{{ idx }}\">{{ pd }}</label>
  2757. \t\t\t\t\t\t      </div>
  2758. \t\t\t\t\t\t      {% endif %}
  2759. \t\t\t\t\t\t\t{% endfor %}
  2760. \t\t\t\t\t\t    </div>
  2761. \t\t\t\t\t\t  </div>
  2762. \t\t\t\t\t\t</div>
  2763.                         {% endif %}
  2764.                         {% if p_h and p_h|length and p_h|join != \"\" %}
  2765. \t\t\t\t\t\t<div class=\"form-group row mt-2\" style=\"border-bottom:1px solid rgba(0,0,0,.125)\">
  2766. \t\t\t\t\t\t  <label class=\"col-4 col-form-label\">高さ</label>
  2767. \t\t\t\t\t\t  <div class=\"col-8\">
  2768. \t\t\t\t\t\t    <div class=\"form-group clearfix\">
  2769. \t\t\t\t\t\t    {% set idx = 0 %}
  2770. \t\t\t\t\t\t    {% for ph in p_h %}
  2771. \t\t\t\t\t\t      {% if ph %}
  2772. \t\t\t\t\t\t      {% set idx = idx + 1 %}
  2773. \t\t\t\t\t\t      <div class=\"icheck-danger d-inline\">
  2774. \t\t\t\t\t\t        <input type=\"radio\" name=\"ph\" id=\"ph_{{ idx }}\" value=\"{{ ph }}\" {% if (mitsumori_json and mitsumori_json.ph == ph) or p_h|length == 1%}checked{% endif %} onclick=\"mitsumori_simulation('ph','ph_{{ idx }}');\"><label for=\"ph_{{ idx }}\">{{ ph }}</label>
  2775. \t\t\t\t\t\t      </div>
  2776. \t\t\t\t\t\t      {% endif %}
  2777. \t\t\t\t\t\t\t{% endfor %}
  2778. \t\t\t\t\t\t    </div>
  2779. \t\t\t\t\t\t  </div>
  2780. \t\t\t\t\t\t</div>
  2781.                         {% endif %}
  2782.                         {% if p_m and p_m|length and p_m|join != \"\" %}
  2783. \t\t\t\t\t\t<div class=\"form-group row mt-2\" style=\"border-bottom:1px solid rgba(0,0,0,.125)\">
  2784. \t\t\t\t\t\t  <label class=\"col-4 col-form-label\">素材</label>
  2785. \t\t\t\t\t\t  <div class=\"col-8\">
  2786. \t\t\t\t\t\t    <div class=\"form-group clearfix\">
  2787. \t\t\t\t\t\t    {% set idx = 0 %}
  2788. \t\t\t\t\t\t    {% for pm in p_m %}
  2789. \t\t\t\t\t\t      {% if pm %}
  2790. \t\t\t\t\t\t      {% set idx = idx + 1 %}
  2791. \t\t\t\t\t\t      <div class=\"icheck-danger d-inline\">
  2792. \t\t\t\t\t\t        <input type=\"radio\" name=\"pm\" id=\"pm_{{ idx }}\" value=\"{{ pm }}\" {% if mitsumori_json and mitsumori_json.pm == pm or p_m|length == 1 %}checked{% endif %} onclick=\"mitsumori_simulation('pm','pm_{{ idx }}');\"><label for=\"pm_{{ idx }}\">{{ pm }}</label>
  2793. \t\t\t\t\t\t      </div>
  2794. \t\t\t\t\t\t      {% endif %}
  2795. \t\t\t\t\t\t\t{% endfor %}
  2796. \t\t\t\t\t\t    </div>
  2797. \t\t\t\t\t\t  </div>
  2798. \t\t\t\t\t\t</div>
  2799.                         {% endif %}
  2800. \t\t\t\t\t\t<!-- 1: 施工見積(通常)-->
  2801. \t\t\t\t\t\t{% if ProductClass.SaleType.id == 1 %}
  2802. \t\t\t\t\t\t{% endif %}
  2803.                         <!-- 2: 施工見積(補助金・窓)-->
  2804. \t\t\t\t\t\t{% if ProductClass.SaleType.id == 2 %}
  2805. \t\t\t\t\t\t\t<!-- 幅・高さの数値指定 -->
  2806. \t\t\t\t\t\t\t<div class=\"form-group row mt-2\" style=\"border-bottom:1px solid rgba(0,0,0,.125)\">
  2807. \t\t\t\t\t\t\t  <label class=\"col-4 col-form-label\">窓枠</label>
  2808. \t\t\t\t\t\t\t  <div class=\"col-4\">
  2809. \t\t\t\t\t\t\t    <div class=\"input-group\">
  2810. \t\t\t\t\t\t\t       <span class=\"input-group-text\">高さ</span><input type=\"text\" name=\"takasa\" id=\"takasa\" class=\"form-control\" value=\"1\" onchange=\"mitsumori_simulation('takasa','takasa');\" /><span class=\"input-group-text\">cm</span>
  2811. \t\t\t\t\t\t\t    </div>
  2812. \t\t\t\t\t\t\t  </div>
  2813. \t\t\t\t\t\t\t  <div class=\"col-4\">
  2814. \t\t\t\t\t\t\t    <div class=\"input-group mb-3\">
  2815. \t\t\t\t\t\t\t       <span class=\"input-group-text\">横幅</span><input type=\"text\" name=\"yokohaba\" id=\"yokohaba\" class=\"form-control\" value=\"1\" onchange=\"mitsumori_simulation('yokohaba','yokohaba');\" /><span class=\"input-group-text\">cm</span>
  2816. \t\t\t\t\t\t\t    </div>
  2817. \t\t\t\t\t\t\t  </div>
  2818. \t\t\t\t\t\t\t</div>
  2819. \t\t\t\t\t\t\t<!-- 枚数(入力)の指定 -->
  2820. \t\t\t\t\t\t\t<div class=\"form-group row mt-2\" style=\"border-bottom:1px solid rgba(0,0,0,.125)\">
  2821. \t\t\t\t\t\t\t  <label class=\"col-4 col-form-label\">セット数</label>
  2822. \t\t\t\t\t\t\t  <div class=\"col-4 mb-3\">
  2823. \t\t\t\t\t\t\t    <div class=\"input-group\">
  2824. \t\t\t\t\t\t\t       <input type=\"text\" name=\"set\" id=\"set\" class=\"form-control\" value=\"1\" onchange=\"mitsumori_simulation('set','set');\" /><span class=\"input-group-text\">セット</span>
  2825. \t\t\t\t\t\t\t    </div>
  2826. \t\t\t\t\t\t\t  </div>
  2827. \t\t\t\t\t\t\t  <div class=\"col-4\">
  2828. \t\t\t\t\t\t\t    <button type=\"button\" id=\"op_btn_1\" class=\"btn btn-info\" onclick=\"madoset(+1);\">+</button>
  2829. \t\t\t\t\t\t\t    <button type=\"button\" id=\"op_btn_2\" class=\"btn btn-danger\" onclick=\"madoset(-1);\">ー</button>
  2830. \t\t\t\t\t\t\t  </div>
  2831. \t\t\t\t\t\t\t
  2832. \t\t\t\t\t\t{% endif %}
  2833. \t\t\t\t\t\t<!-- 3: 施工見積(物置・ゴミステーション)-->
  2834. \t\t\t\t\t\t{% if ProductClass.SaleType.id == 3 %}
  2835. \t\t\t\t\t\t\t<!-- 幅・奥行き・高さ -->
  2836. \t\t\t\t\t\t\t<!-- 台数の指定 -->
  2837. \t\t\t\t\t\t\t<div class=\"form-group row mt-2\" style=\"border-bottom:1px solid rgba(0,0,0,.125)\">
  2838. \t\t\t\t\t\t\t  <label class=\"col-4 col-form-label\">台数</label>
  2839. \t\t\t\t\t\t\t  <div class=\"col-4\">
  2840. \t\t\t\t\t\t\t    <div class=\"input-group mb-3\">
  2841. \t\t\t\t\t\t\t       <input type=\"text\" name=\"daisu\" id=\"daisu\" class=\"form-control\" value=\"1\" onchange=\"mitsumori_simulation('daisu','daisu');\" /><span class=\"input-group-text\">台</span>
  2842. \t\t\t\t\t\t\t    </div>
  2843. \t\t\t\t\t\t\t  </div>
  2844. \t\t\t\t\t\t\t  <div class=\"col-4\">
  2845. \t\t\t\t\t\t\t    <button type=\"button\" id=\"op_btn_1\" class=\"btn btn-info\" onclick=\"daisu(+1);\">+</button>
  2846. \t\t\t\t\t\t\t    <button type=\"button\" id=\"op_btn_2\" class=\"btn btn-danger\" onclick=\"daisu(-1);\">ー</button>
  2847. \t\t\t\t\t\t\t  </div>
  2848. \t\t\t\t\t\t\t</div>
  2849. \t\t\t\t\t\t{% endif %}
  2850. \t\t\t\t\t\t<!-- 4: 施工見積(フェンス・組み立て式)-->
  2851. \t\t\t\t\t\t{% if ProductClass.SaleType.id == 4 %}
  2852. \t\t\t\t\t\t\t<!-- 枚数(入力)の指定 -->
  2853. \t\t\t\t\t\t\t<div class=\"form-group row mt-2\" style=\"border-bottom:1px solid rgba(0,0,0,.125)\">
  2854. \t\t\t\t\t\t\t  <label class=\"col-4 col-form-label\">枚数</label>
  2855. \t\t\t\t\t\t\t  <div class=\"col-4 mb-3\">
  2856. \t\t\t\t\t\t\t    <div class=\"input-group\">
  2857. \t\t\t\t\t\t\t       <input type=\"text\" name=\"maisu\" id=\"maisu\" class=\"form-control\" value=\"3\" onchange=\"mitsumori_simulation('daisu','daisu');\" /><span class=\"input-group-text\">枚</span>
  2858. \t\t\t\t\t\t\t    </div>
  2859. \t\t\t\t\t\t\t  </div>
  2860. \t\t\t\t\t\t\t  <div class=\"col-4\">
  2861. \t\t\t\t\t\t\t    <button type=\"button\" id=\"op_btn_1\" class=\"btn btn-info\" onclick=\"maisu(+1);\">+</button>
  2862. \t\t\t\t\t\t\t    <button type=\"button\" id=\"op_btn_2\" class=\"btn btn-danger\" onclick=\"maisu(-1);\">ー</button>
  2863. \t\t\t\t\t\t\t  </div>
  2864. \t\t\t\t\t\t\t</div>
  2865. \t\t\t\t\t\t{% endif %}
  2866. \t\t\t\t\t\t<!-- 5: 施工見積(ウッドデッキ・タイルデッキ)-->
  2867. \t\t\t\t\t\t{% if ProductClass.SaleType.id == 5 %}
  2868. \t\t\t\t\t\t{% endif %}
  2869. \t\t\t\t\t\t<!-- 6: 施工見積(芝生・枚数・数量買い)-->
  2870. \t\t\t\t\t\t{% if ProductClass.SaleType.id == 6 %}
  2871. \t\t\t\t\t\t\t<!-- 平米(入力)の指定 -->
  2872. \t\t\t\t\t\t\t<div class=\"form-group row mt-2\" style=\"border-bottom:1px solid rgba(0,0,0,.125)\">
  2873. \t\t\t\t\t\t\t  <label class=\"col-4 col-form-label\">枚数</label>
  2874. \t\t\t\t\t\t\t  <div class=\"col-4\">
  2875. \t\t\t\t\t\t\t    <div class=\"input-group\">
  2876. \t\t\t\t\t\t\t       <input type=\"text\" name=\"heibei\" id=\"heibei\" class=\"form-control\" value=\"1\" onchange=\"mitsumori_simulation('heibei','heibei');\" /><span class=\"input-group-text\">平米</span>
  2877. \t\t\t\t\t\t\t    </div>
  2878. \t\t\t\t\t\t\t  </div>
  2879. \t\t\t\t\t\t\t  <div class=\"col-4\">
  2880. \t\t\t\t\t\t\t    <button type=\"button\" id=\"op_btn_1\" class=\"btn btn-info\" onclick=\"heibei(+1);\">+</button>
  2881. \t\t\t\t\t\t\t    <button type=\"button\" id=\"op_btn_2\" class=\"btn btn-danger\" onclick=\"heibei(-1);\">ー</button>
  2882. \t\t\t\t\t\t\t  </div>
  2883. \t\t\t\t\t\t\t</div>
  2884. \t\t\t\t\t\t{% endif %}
  2885. \t\t\t\t\t\t<!-- 9: 商品のみ購入 -->
  2886. \t\t\t\t\t    <div class=\"row\" style=\"border-bottom:1px solid rgba(0,0,0,.125)\"><label class=\"col-12 col-form-label\">取り付け工事のご希望に関してお答えください。</label></div>
  2887. \t\t\t\t\t\t{% for i in 0..10 %}
  2888. \t\t\t\t\t\t\t{% if op and op|length >= i+1 %}
  2889. \t\t\t\t\t\t\t{% if op[i]['name'] %}
  2890. \t\t\t\t\t\t\t<div class=\"form-group row mt-2\" style=\"border-bottom:1px solid rgba(0,0,0,.125)\">
  2891. \t\t\t\t\t\t\t  <label class=\"col-4 col-form-label\">{{ op[i]['name'] }}</label>
  2892. \t\t\t\t\t\t\t  <div class=\"col-8\">
  2893. \t\t\t\t\t            {{ op[i]['comment'] }}
  2894. \t\t\t\t\t\t\t    <div class=\"form-group clearfix\">
  2895. \t\t\t\t\t\t\t      <div class=\"icheck-danger d-inline\">
  2896. \t\t\t\t\t\t\t        <input type=\"radio\" name=\"op{{ i }}\" id=\"op{{ i }}_1\" value=\"{{ op[i]['on'] }}\" {% if mitsumori_json and mitsumori_json.op[i] == op[i]['on'] %}checked{% endif %} onclick=\"mitsumori_simulation('op{{ i }}','op{{ i }}_1');\"><label for=\"op{{ i }}_1\">{{ op[i]['on'] }}</label>
  2897. \t\t\t\t\t\t\t      </div>
  2898. \t\t\t\t\t\t\t    </div>
  2899. \t\t\t\t\t\t\t    <div class=\"form-group clearfix\">
  2900. \t\t\t\t\t\t\t      <div class=\"icheck-danger d-inline\">
  2901. \t\t\t\t\t\t\t        <input type=\"radio\" name=\"op{{ i }}\" id=\"op{{ i }}_2\" value=\"{{ op[i]['off'] }}\" {% if mitsumori_json and mitsumori_json.op[i] == op[i]['off'] %}checked{% endif %} onclick=\"mitsumori_simulation('op{{ i }}','op{{ i }}_2');\"><label for=\"op{{ i }}_2\">{{ op[i]['off'] }}</label>
  2902. \t\t\t\t\t\t\t      </div>
  2903. \t\t\t\t\t\t\t    </div>
  2904. \t\t\t\t\t\t\t  </div>
  2905. \t\t\t\t\t\t\t</div>
  2906. \t\t\t\t\t\t\t{% endif %}
  2907. \t\t\t\t\t\t\t{% endif %}
  2908. \t\t\t\t\t\t{% endfor %}
  2909. \t\t\t\t\t  </div>
  2910. \t\t\t\t\t  <!-- /.card-body -->
  2911. \t\t\t\t\t</div>
  2912.                     <form action=\"{{ url('product_add_cart', {id:Product.id}) }}\" method=\"post\" id=\"form1\" name=\"form1\">
  2913.                         {% if Product.stock_find %}
  2914.                             <div class=\"ec-productRole__actions\">
  2915.                                 {% if form.classcategory_id1 is defined %}
  2916.                                     <div class=\"ec-select\">
  2917.                                         {{ form_row(form.classcategory_id1) }}
  2918.                                         {{ form_errors(form.classcategory_id1) }}
  2919.                                     </div>
  2920.                                     {% if form.classcategory_id2 is defined %}
  2921.                                         <div class=\"ec-select\">
  2922.                                             {{ form_row(form.classcategory_id2) }}
  2923.                                             {{ form_errors(form.classcategory_id2) }}
  2924.                                         </div>
  2925.                                     {% endif %}
  2926.                                 {% endif %}
  2927.                                 <div class=\"ec-numberInput\">
  2928.                                     {{ form_widget(form.quantity, { type: 'hidden' }) }}
  2929.                                     {{ form_errors(form.quantity) }}
  2930.                                 </div>
  2931.                             </div>
  2932.                         {% else %}
  2933.                             <div class=\"ec-productRole__btn\">
  2934.                                 <button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
  2935.                                     {{ 'ただいま品切れ中です。'|trans }}
  2936.                                 </button>
  2937.                             </div>
  2938.                         {% endif %}
  2939.                         <div class=\"ec-productRole__btn mt-3\">
  2940.                            <button type=\"submit\" id=\"cart_btn\" class=\"ec-blockBtn--action add-cart\">施工検討リストに入れる</button>
  2941.                         </div>
  2942.                         {{ form_rest(form) }}
  2943.                     </form>
  2944.                     <div class=\"ec-modal\">
  2945.                         <div class=\"ec-modal-overlay\">
  2946.                             <div class=\"ec-modal-wrap\">
  2947.                                 <span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"{{ asset('assets/icon/cross-dark.svg') }}\" alt=\"\"/></span></span>
  2948.                                 <div id=\"ec-modal-header\" class=\"text-center\">{{ '施工検討リストに追加しました。'|trans }}</div>
  2949.                                 <div class=\"ec-modal-box\">
  2950.                                     <div class=\"ec-role\">
  2951.                                         <span class=\"ec-inlineBtn--cancel\">{{ '商品検索を続ける'|trans }}</span>
  2952.                                         <a href=\"{{ url('cart') }}\" class=\"ec-inlineBtn--action\">{{ '施工検討リストへ進む'|trans }}</a>
  2953.                                     </div>
  2954.                                 </div>
  2955.                             </div>
  2956.                         </div>
  2957.                     </div>
  2958.                     <div class=\"ec-productRole__description\">{{ Product.description_detail|raw|nl2br }}
  2959.                     </div>
  2960.                 </div>
  2961. \t\t\t\t<div class=\"card col-12 collapsed-card sticky-top float-right\">
  2962. \t\t\t\t\t<div class=\"card-header\">
  2963. \t\t\t\t\t  <h3 class=\"card-title\">現在のお見積り額</h3>
  2964. \t\t\t\t\t  <div class=\"card-tools\">
  2965. \t\t\t\t\t    <span class=\"float-left\" id=\"mitsumori_message\">395000円</span>
  2966. \t\t\t\t\t    <button type=\"button\" class=\"btn btn-tool\" data-card-widget=\"collapse\">
  2967. \t\t\t\t\t      <i class=\"fas fa-plus\"></i>
  2968. \t\t\t\t\t    </button>
  2969. \t\t\t\t\t  </div>
  2970. \t\t\t\t\t</div>
  2971. \t\t\t\t\t<div class=\"card-body p-0\">
  2972. \t\t\t\t\t  <ul class=\"nav nav-pills flex-column\">
  2973. \t\t\t\t\t    <li class=\"nav-item active\">
  2974. \t\t\t\t\t      <a class=\"nav-link\">
  2975. \t\t\t\t\t        <i class=\"far fa-file-alt\"></i> 合計(工事費・税込)
  2976. \t\t\t\t\t        <span class=\"float-right\" id=\"mitsumori_goukei\">395,000円</span>
  2977. \t\t\t\t\t      </a>
  2978. \t\t\t\t\t    </li>
  2979. \t\t\t\t\t    <li class=\"nav-item active\">
  2980. \t\t\t\t\t      <a class=\"nav-link\">
  2981. \t\t\t\t\t        <i class=\"far fa-file-alt\"></i> 商品価格
  2982. \t\t\t\t\t        <span class=\"float-right\" id=\"mitsumori_price\">307,008円</span>
  2983. \t\t\t\t\t      </a>
  2984. \t\t\t\t\t    </li>
  2985. \t\t\t\t\t    <li class=\"nav-item\">
  2986. \t\t\t\t\t      <a class=\"nav-link\">
  2987. \t\t\t\t\t        &nbsp;&nbsp;<i class=\"far fa-file-alt\"></i> カタログ価格
  2988. \t\t\t\t\t        <span class=\"float-right\" id=\"maker_price\">479,700円</span>
  2989. \t\t\t\t\t      </a>
  2990. \t\t\t\t\t    </li>
  2991. \t\t\t\t\t    <li class=\"nav-item\">
  2992. \t\t\t\t\t      <a class=\"nav-link\">
  2993. \t\t\t\t\t        &nbsp;&nbsp;<i class=\"far fa-file-alt\"></i> お値引き
  2994. \t\t\t\t\t        <span class=\"float-right\" id=\"mitsumori_off\">-172,692円</span>
  2995. \t\t\t\t\t      </a>
  2996. \t\t\t\t\t    </li>
  2997. \t\t\t\t\t    <li class=\"nav-item\">
  2998. \t\t\t\t\t      <a class=\"nav-link\">
  2999. \t\t\t\t\t        <i class=\"far fa-file-alt\"></i> 基本工事費
  3000. \t\t\t\t\t        <span class=\"float-right\" id=\"mitsumori_ct\">53,250円</span>
  3001. \t\t\t\t\t      </a>
  3002. \t\t\t\t\t    </li>
  3003. \t\t\t\t\t    <li class=\"nav-item\">
  3004. \t\t\t\t\t      <a class=\"nav-link\">
  3005. \t\t\t\t\t        <i class=\"far fa-file-alt\"></i> 施工オプション
  3006. \t\t\t\t\t        <span class=\"float-right\"id=\"mitsumori_option\">6,297円</span>
  3007. \t\t\t\t\t      </a>
  3008. \t\t\t\t\t    </li>
  3009. \t\t\t\t\t  </ul>
  3010. \t\t\t\t\t</div>
  3011. \t\t\t\t\t<div class=\"card-footer\">
  3012. \t\t                <button type=\"button\" id=\"mitsumori_btn\" class=\"btn btn-info\" data-toggle=\"modal\" data-target=\"#modal-mitsumori\">
  3013. \t\t                  見積書表示
  3014. \t\t                </button>
  3015. \t\t\t\t\t\t<button id=\"contact\" class=\"btn btn-info\" onclick=\"contact_form({{ Product.id }});\">無料現地調査へ進む</button>
  3016. \t\t\t\t\t</div>
  3017. \t\t\t\t</div>
  3018.             </div>
  3019.         </div>
  3020.     </div>
  3021.   <div class=\"modal\" id=\"modal-mitsumori\">
  3022.     <div class=\"modal-dialog modal-mitsumori\" style=\"max-width:1000px\">
  3023.       <div class=\"modal-content\">
  3024.         <div class=\"modal-header\">
  3025.           <h4 class=\"modal-title\">お見積書</h4>
  3026.           <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  3027.             <span aria-hidden=\"true\">&times;</span>
  3028.           </button>
  3029.         </div>
  3030.         <div class=\"modal-body\">
  3031. \t\t\t<div class=\"invoice p-3 mb-5\" style=\"max-width:1000px; margin:auto;\">
  3032. \t\t\t  <!-- title row -->
  3033. \t\t\t  <div class=\"row\">
  3034. \t\t\t    <div class=\"col-12\">
  3035. \t\t\t      <h2>概算お見積書 
  3036. \t\t\t        <small class=\"float-right\" style=\"font-size:14px;\">発行日: 2025/03/14</small>
  3037. \t\t\t      </h2>
  3038. \t\t\t    </div>
  3039. \t\t\t    <!-- /.col -->
  3040. \t\t\t  </div>
  3041. \t\t\t  <!-- info row -->
  3042. \t\t\t  <div class=\"row invoice-info\">
  3043. \t\t\t    <div class=\"col-sm-8 invoice-col\">
  3044. \t\t\t      <h3>お客様</h3>
  3045. \t\t\t      <span>下記の通り、お見積もり申し上げます。</span>
  3046. \t\t\t      <br />
  3047. \t\t\t      <br / >
  3048. \t\t\t      <br />
  3049. \t\t\t      <h2>お見積金額: <span id=\"mitsumori_kei\">399,080円</span></h2>
  3050. \t\t\t      <span>
  3051. \t\t\t        <br/>
  3052. \t\t\t        <br/>
  3053. \t\t\t        <br/>
  3054. \t\t\t        <br/>
  3055. \t\t\t      </span>
  3056. \t\t\t    </div>
  3057. \t\t\t    <div class=\"col-sm-4 invoice-col\">
  3058. \t\t\t      <p>
  3059. \t\t\t        <img alt=\"\" src=\"/html/user_data/js/images/logo.png\" style=\"width: 260px; max-width: 100%; max-height: 10mm;\">
  3060. \t\t\t      </p>
  3061. \t\t\t      <p>有限会社プラス</p>
  3062. \t\t\t      <p>〒400-0334</p>
  3063. \t\t\t      <p>山梨県南アルプス市藤田1450番地2</p>
  3064. \t\t\t      <p>TEL: 055-284-6480</p>
  3065. \t\t\t      <img alt=\"\" src=\"/html/user_data/js/images/seal.svg\" style=\"z-index: 2; position: absolute; width: 21mm; left: 58mm; top: 36mm;\">
  3066. \t\t\t    </div>
  3067. \t\t\t    <!-- /.col -->
  3068. \t\t\t    <!-- /.col -->
  3069. \t\t\t  </div>
  3070. \t\t\t  <!-- /.row -->
  3071. \t\t\t  <!-- Table row -->
  3072. \t\t\t  <div class=\"row\">
  3073. \t\t\t    <div class=\"col-12 table-responsive\">
  3074. \t\t\t      <table class=\"table table-striped\">
  3075. \t\t\t        <thead>
  3076. \t\t\t          <tr>
  3077. \t\t\t            <th>項目</th>
  3078. \t\t\t            <th>数量</th>
  3079. \t\t\t            <th>単位</th>
  3080. \t\t\t            <th>単価</th>
  3081. \t\t\t            <th>小計</th>
  3082. \t\t\t          </tr>
  3083. \t\t\t        </thead>
  3084. \t\t\t        <tbody>
  3085. \t\t\t          <tr>
  3086. \t\t\t            <td>プレーンルーフ 600タイプ 1台用 単体セット</td>
  3087. \t\t\t            <td>1</td>
  3088. \t\t\t            <td>式</td>
  3089. \t\t\t            <td id=\"mitsumori_price_01\">352,800</td>
  3090. \t\t\t            <td id=\"mitsumori_price_02\">352,800</td>
  3091. \t\t\t          </tr>
  3092. \t\t\t          <tr>
  3093. \t\t\t            <td>基本工事費</td>
  3094. \t\t\t            <td>1</td>
  3095. \t\t\t            <td>式</td>
  3096. \t\t\t            <td id=\"mitsumori_ct_01\">10,000</td>
  3097. \t\t\t            <td id=\"mitsumori_ct_02\">10,000</td>
  3098. \t\t\t          </tr>
  3099. \t\t\t          <tr>
  3100. \t\t\t            <td>残土・ガラ処理</td>
  3101. \t\t\t            <td>1</td>
  3102. \t\t\t            <td>式</td>
  3103. \t\t\t            <td>0円</td>
  3104. \t\t\t            <td></td>
  3105. \t\t\t          </tr>
  3106. \t\t\t          <tr>
  3107. \t\t\t            <td> </td>
  3108. \t\t\t            <td></td>
  3109. \t\t\t            <td></td>
  3110. \t\t\t            <td></td>
  3111. \t\t\t            <td></td>
  3112. \t\t\t          </tr>
  3113. \t\t\t        </tbody>
  3114. \t\t\t      </table>
  3115. \t\t\t    </div>
  3116. \t\t\t    <!-- /.col -->
  3117. \t\t\t  </div>
  3118. \t\t\t  <!-- /.row -->
  3119. \t\t\t  <div class=\"row\">
  3120. \t\t\t    <!-- accepted payments column -->
  3121. \t\t\t    <div class=\"col-6\">
  3122. \t\t\t      <p class=\"lead\">お支払い方法</p>
  3123. \t\t\t      <p class=\"text-muted well well-sm shadow-none\" style=\"margin-top: 10px;\">銀行振込、クレジットカード決済、PAYPAY決済
  3124. \t\t\t        <br>銀行振込:山梨中央銀行 白根支店 普通口座 391402
  3125. \t\t\t        <br>※商品代金と工事代金の総額が金100万円(税込)を超える場合、着手金として代金の半額をご契約後お支払いいただきます。 
  3126. \t\t\t      </p>
  3127. \t\t\t    </div>
  3128. \t\t\t    <!-- /.col -->
  3129. \t\t\t    <div class=\"col-6\">
  3130. \t\t\t      <div class=\"table-responsive\">
  3131. \t\t\t        <table class=\"table\">
  3132. \t\t\t          <tbody>
  3133. \t\t\t            <tr>
  3134. \t\t\t              <th style=\"width:50%\">小計:</th>
  3135. \t\t\t              <td id=\"mitsumori_shoukei\">362,800</td>
  3136. \t\t\t            </tr>
  3137. \t\t\t            <tr>
  3138. \t\t\t              <th>消費税 (10%)</th>
  3139. \t\t\t              <td id=\"mitsumori_tax\">36,280</td>
  3140. \t\t\t            </tr>
  3141. \t\t\t            <tr>
  3142. \t\t\t              <th>合計:</th>
  3143. \t\t\t              <td id=\"mitsumori_goukei_02\">399,080</td>
  3144. \t\t\t            </tr>
  3145. \t\t\t          </tbody>
  3146. \t\t\t        </table>
  3147. \t\t\t      </div>
  3148. \t\t\t    </div>
  3149. \t\t\t    <!-- /.col -->
  3150. \t\t\t  </div>
  3151. \t\t\t  <!-- /.row -->
  3152. \t\t\t</div>
  3153.         </div>
  3154.         <div class=\"modal-footer justify-content-between\">
  3155. \t\t\t      <button type=\"button\" class=\"btn btn-primary float-right\" style=\"margin-right: 5px;\">
  3156. \t\t\t        <i class=\"fas fa-download\"></i>PDF出力
  3157. \t\t\t      </button>
  3158.           <button type=\"button\" class=\"btn btn-info\" onclick=\"contact_form({{ Product.id }});\">無料現地調査へ進む</button>
  3159.         </div>
  3160.       </div>
  3161.       <!-- /.modal-content -->
  3162.     </div>
  3163.     <!-- /.modal-dialog -->
  3164.   </div>
  3165.   <!-- /.modal -->
  3166. {% endblock %}
  3167. ""Product/detail.twig""/home/xs538259/exterior-plus.jp/public_html/app/template/default/Product/detail.twig");
  3168.     }
  3169. }