var/cache/dev/twig/fd/fdc9381789d374e83ec9deabae855445.php line 55

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_2e4da2e068045176ca8b287bdb03159f 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.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  28.         $this->checkSecurity();
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 11
  33.         return "default_frame.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Product/detail.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Product/detail.twig"));
  42.         // line 13
  43.         $context["body_class"] = "product_page";
  44.         // line 11
  45.         $this->parent $this->loadTemplate("default_frame.twig""Product/detail.twig"11);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  49.         
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  51.     }
  52.     // line 15
  53.     public function block_stylesheet($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  60.         // line 16
  61.         echo "    <style>
  62.         .slick-slider {
  63.             margin-bottom: 10px;
  64.         }
  65.         .slick-dots {
  66.             position: absolute;
  67.             bottom: -45px;
  68.             display: block;
  69.             width: 100%;
  70.             padding: 0;
  71.             list-style: none;
  72.             text-align: center;
  73.         }
  74.         .slick-dots li {
  75.             position: relative;
  76.             display: inline-block;
  77.             width: 20px;
  78.             height: 20px;
  79.             margin: 0 5px;
  80.             padding: 0;
  81.             cursor: pointer;
  82.         }
  83.         .slick-dots li button {
  84.             font-size: 0;
  85.             line-height: 0;
  86.             display: block;
  87.             width: 20px;
  88.             height: 20px;
  89.             padding: 5px;
  90.             cursor: pointer;
  91.             color: transparent;
  92.             border: 0;
  93.             outline: none;
  94.             background: transparent;
  95.         }
  96.         .slick-dots li button:hover,
  97.         .slick-dots li button:focus {
  98.             outline: none;
  99.         }
  100.         .slick-dots li button:hover:before,
  101.         .slick-dots li button:focus:before {
  102.             opacity: 1;
  103.         }
  104.         .slick-dots li button:before {
  105.             content: \" \";
  106.             line-height: 20px;
  107.             position: absolute;
  108.             top: 0;
  109.             left: 0;
  110.             width: 12px;
  111.             height: 12px;
  112.             text-align: center;
  113.             opacity: .25;
  114.             background-color: black;
  115.             border-radius: 50%;
  116.         }
  117.         .slick-dots li.slick-active button:before {
  118.             opacity: .75;
  119.             background-color: black;
  120.         }
  121.         .slick-dots li button.thumbnail img {
  122.             width: 0;
  123.             height: 0;
  124.         }
  125.         @media only screen and (min-width: 768px) {
  126.             .ec-sliderItemRole {
  127.                 margin-bottom: 3rem ;
  128.             }
  129.         }
  130.         .ec-sliderItemRole .slideThumb {
  131.             width: 10%;
  132.         }
  133.         .ec-sliderItemRole .slideThumb img {
  134.             width: 90%;
  135.         }
  136.         /* ///////////////////詳細情報1/////////////////// */
  137.         .ec-productRole__movie {
  138.             width: 100%;
  139.             display: grid;
  140.             grid-template-columns: 1fr;
  141.             gap: 20px;
  142.         }
  143.         @media only screen and (min-width: 768px) {
  144.             .ec-productRole__movie {
  145.                 grid-template-columns: repeat(3, 1fr);
  146.             }
  147.         }
  148.         .ec-productRole__movie iframe {
  149.             width: 100%;
  150.             aspect-ratio: 16 / 9;
  151.         }
  152.         .movie-caption {
  153.             font-size: 16px;
  154.         }
  155.         /* 住所 */
  156.         @media only screen and (min-width: 768px) {
  157.             .ec-productRole__kofun-address {
  158.                 font-size: 28px;
  159.                 font-weight: bold;
  160.                 padding: 1rem 0;
  161.                 border-bottom: 1px dotted #ccc;
  162.             }
  163.         }
  164.         /* 価格 */
  165.         .ec-productRole .ec-productRole__price {
  166.             color:var(--e-global-color-global_color_5);
  167.             padding-top:0px;
  168.             font-size: 30px;
  169.         }
  170.         /* 説明テキスト */
  171.         .ec-productRole .ec-productRole__description {
  172.             margin-top: 20px;
  173.         }
  174.         /* 購入ボタン */
  175.         @media only screen and (min-width: 768px) {
  176.             .ec-productRole .ec-productRole__btn {
  177.                 text-align: center;
  178.                 min-width: 350px;
  179.                 width: 40%;
  180.                 margin:0 auto;
  181.             }
  182.         }
  183.         .blueprint-image {
  184.             width: 100%;
  185.             max-width: 768px;
  186.             margin: 15px auto;
  187.         }
  188.         .ec-grid3__cell.product-image {
  189.             margin: 5px 15px;
  190.         }
  191.         .detail-top-image {
  192.             width: 100%;
  193.             max-width: 1080px;
  194.             margin: 15px auto;
  195.         }
  196. /* ///////////////////詳細情報2/////////////////// */
  197. /* 見出し_下グリーンライン */
  198.         .ec-productRole__kofun-content h2 {
  199.             font-size: 20px;
  200.             font-weight: bold;
  201.             color: var(--e-global-color-global_color_4);
  202.             margin-top: 4rem;
  203.             margin-bottom: 1rem;
  204.             padding-bottom: 0.5rem;
  205.             background: linear-gradient(to right,
  206.                 var(--e-global-color-global_color_1) 0%,
  207.                 var(--e-global-color-global_color_1) 20%,
  208.                 #ddd 20%,
  209.                 #ddd 100%);
  210.             background-size: 100% 3px;
  211.             background-repeat: no-repeat;
  212.             background-position: bottom;
  213.         }
  214.         @media only screen and (min-width: 768px) {
  215.             .ec-productRole__kofun-content h2 {
  216.                 font-size: 26px;
  217.             }
  218.         }
  219. /* 見出し_左横グリーンライン */
  220.         .ec-productRole__kofun-content h3 {
  221.             font-size: 20px;
  222.             font-weight: bold;
  223.             color: var(--e-global-color-global_color_4);
  224.             margin-top: 4rem;
  225.             margin-bottom: 1rem;
  226.             padding-left: 0.5rem;
  227.             border-left: 10px solid var(--e-global-color-global_color_1);
  228.             line-height: 1.8;
  229.         }
  230. /* おすすめポイント */
  231.         .ec-productRole__kofun-appeal-points .title {
  232.             font-size: 18px;
  233.             font-weight: bold;
  234.             color: var(--e-global-color-global_color_9);
  235.             background-color: var(--e-global-color-global_color_1);
  236.             padding: 0.5rem 4rem 0.5rem 1rem;
  237.             margin: 2rem 1rem 0 1rem;
  238.             width: fit-content;
  239.             border-radius: 6px 6px 0 0;  /* 上側の角だけを丸く */
  240.         }
  241.         .ec-productRole__kofun-appeal-points .content {
  242.             margin: 0 1rem;
  243.             padding: 1rem;
  244.             background-color: var(--e-global-color-global_color_7);
  245.             border-radius: 4px;
  246.         }
  247.         .ec-productRole__kofun-content {
  248.             padding-bottom: 20px;
  249.             margin-bottom: 20px;
  250.         }
  251.         .ec-productRole__kofun-content .content {
  252.             display: flex;
  253.             align-items: flex-start;
  254.         }
  255.         .ec-productRole__kofun-content.basicline .content {
  256.             padding: 0.5rem 0;
  257.             border-bottom: 1px dotted #ccc;
  258.         }
  259.         .tab-content.active .content {
  260.             padding: 0.5rem 0;
  261.             border-bottom: 1px dotted #ccc;
  262.         }
  263.         .ec-productRole__kofun-content.buy_process .content {
  264.             line-height:1.8;
  265.             padding-left:0.5rem;
  266.         }
  267.         .ec-productRole__kofun-content .content-group {
  268.             margin-top: 1rem;
  269.         }
  270.         .ec-productRole__kofun-content .content span.label {
  271.             display: inline-block;
  272.             width: 120px;  /* 項目名の幅を固定 */
  273.             color: var(--e-global-color-global_color_5);
  274.             font-weight: bold;
  275.             flex-shrink: 0;
  276.         }
  277.         .ec-productRole__kofun-content.base-info .label::before {
  278.             content: \"【\";
  279.         }
  280.         .ec-productRole__kofun-content.base-info .label::after {
  281.             content: \"】\";
  282.         }
  283.         .ec-productRole__kofun-content.basicline a {
  284.             color: #333 !important;
  285.             text-decoration: underline !important;
  286.         }
  287.         .ec-productRole__kofun-content.basicline a:hover {
  288.             color: var(--e-global-color-global_color_2) !important;
  289.         }
  290.         .ec-productRole__kofun-content .content span.label2 {
  291.             display: inline-block;
  292.             width: 120px;  /* 項目名の幅を固定 */
  293.             color: var(--e-global-color-global_color_1);
  294.             font-weight: bold;
  295.             flex-shrink: 0;
  296.         }
  297.         .ec-productRole__kofun-content .content.note {
  298.             margin-top: 1rem;
  299.             font-size: 0.9em;
  300.             line-height:1.5;
  301.         }
  302.         .ec-productRole__kofun-content .content.sub {
  303.             padding-left: 1.5rem;
  304.             margin-bottom: 1rem;
  305.             font-size: 0.9em;
  306.             line-height:1.5;
  307.         }
  308.         .ec-productRole__kofun-content .content.link {
  309.             margin-top: 1rem;
  310.         }
  311.         .warning {
  312.             color: red;
  313.         }
  314.         .value {
  315.             display: flex;
  316.             flex-direction: column;
  317.         }
  318.         .ec-productRole__kofun-content.description-detail {
  319.             margin-top: 50px;
  320.         }
  321.         .ec-productRole__kofun-content.description-detail strong {
  322.             font-size: 30px;
  323.             color: var(--e-global-color-global_color_2);
  324.         }
  325. /* 価格表 */
  326.         .ec-productRole__kofun-content.price-table .header {
  327.             display: flex;
  328.             align-items: flex-start;
  329.             font-weight: bold;
  330.             padding: 0.8rem;
  331.             border-bottom: 1px dashed var(--e-global-color-global_color_2);
  332.         }
  333.         .ec-productRole__kofun-content.price-table .content {
  334.             padding: 0.8em;
  335.             border-bottom: 1px dashed var(--e-global-color-global_color_2);
  336.         }
  337.         .ec-productRole__kofun-content.price-table span.label {
  338.             width: 30%;
  339.         }
  340.         @media only screen and (min-width: 768px) {
  341.             .ec-productRole__kofun-content.price-table span.label {
  342.                 width: 320px;
  343.             }
  344.         }
  345.         .ec-productRole__kofun-content.price-table .note {
  346.             padding-top: 1rem;
  347.             font-size: 0.9em;
  348.         }
  349. /* タブ切り替え用のスタイル追加 */
  350.         .tab-container {
  351.             margin: 2rem 0;
  352.         }
  353.         .tab-buttons {
  354.             display: flex;
  355.             position: relative;
  356.             z-index: 1;
  357.         }
  358.         .tab-button {
  359.             padding: 1rem 2rem;
  360.             background: #ffffff;
  361.             border: none;
  362.             border-bottom: 1px solid var(--e-global-color-global_color_2);
  363.             cursor: pointer;
  364.             font-size: 16px;
  365.             font-weight: bold;
  366.             margin-right: 4px;
  367.             margin-bottom: -1px;
  368.             position: relative;
  369.         }
  370.         .tab-button.active {
  371.             background: #ECF2D3;
  372.             border: 1px solid var(--e-global-color-global_color_2);
  373.             border-bottom: none;
  374.         }
  375.         .tab-content {
  376.             display: none;
  377.             padding: 2rem;
  378.             background: #ECF2D3;
  379.             border: 1px solid var(--e-global-color-global_color_2);
  380.         }
  381.         .tab-content.active {
  382.             display: block;
  383.         }
  384.         .fee-note {
  385.             margin-top: 1rem;
  386.             font-size: 0.9em;
  387.             color: #666;
  388.         }
  389.         .ec-productRole__kofun-content.scroll-to-checkout {
  390.             text-align: center;
  391.             margin-top: 50px;
  392.         }
  393.         .ec-productRole__kofun-content.scroll-to-checkout a span {
  394.             text-decoration: inherit;
  395.             display: inline-block;
  396.         }
  397.         .ec-productRole__kofun-content.scroll-to-checkout a {
  398.             margin: 0 auto;
  399.             display: flex;
  400.             align-items: center;
  401.             justify-content: center;
  402.             line-height: 1;
  403.             font-weight: bold;
  404.             border-radius: 3px;
  405.             color: #ffffff;
  406.             fill: #ffffff;
  407.             text-align: center;
  408.             transition: all .3s;
  409.             background-color: #000000;
  410.             padding: 20px;
  411.             width: 300px;
  412.             height: 45px;
  413.         }
  414.         @media only screen and (max-width: 768px) {
  415.             .ec-productRole__kofun-content.scroll-to-checkout a {
  416.                 font-size: 17px;
  417.                 padding: 20px 22px;
  418.             }
  419.         }
  420.         .ec-productRole__stock {
  421.             display: none;
  422.         }
  423.         .ec-productRole__kofun-content.visit-reservation {
  424.             text-align: center;
  425.             margin-top: 50px;
  426.         }
  427.         .ec-productRole__kofun-content.visit-reservation a {
  428.             margin: 0 auto;
  429.             display: flex;
  430.             align-items: center;
  431.             justify-content: center;
  432.             line-height: 1;
  433.             font-weight: bold;
  434.             border-radius: 3px;
  435.             color: #ffffff;
  436.             fill: #ffffff;
  437.             text-align: center;
  438.             transition: all .3s;
  439.             background-color: #000000;
  440.             padding: 20px;
  441.             width: 300px;
  442.             height: 45px;
  443.             text-decoration: none;
  444.         }
  445.         @media only screen and (max-width: 768px) {
  446.             .ec-productRole__kofun-content.visit-reservation a {
  447.                 font-size: 17px;
  448.                 padding: 20px 22px;
  449.             }
  450.         }
  451.     </style>
  452. ";
  453.         
  454.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  455.         
  456.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  457.     }
  458.     // line 469
  459.     public function block_javascript($context, array $blocks = [])
  460.     {
  461.         $macros $this->macros;
  462.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  463.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  464.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  465.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  466.         // line 470
  467.         echo "    <script>
  468.         eccube.classCategories = ";
  469.         // line 471
  470.         echo $this->extensions['Customize\Twig\Extension\CustomEccubeExtension']->getExtendedClassCategoriesAsJson($this->sandbox->ensureToStringAllowed((isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'471$this->source); })()), 471$this->source));
  471.         echo ";
  472.         // 規格2に選択肢を割り当てる。
  473.         function fnSetClassCategories(form, classcat_id2_selected) {
  474.             var \$form = \$(form);
  475.             var product_id = \$form.find('input[name=product_id]').val();
  476.             var \$sele1 = \$form.find('select[name=classcategory_id1]');
  477.             var \$sele2 = \$form.find('select[name=classcategory_id2]');
  478.             eccube.setClassCategories(\$form, product_id, \$sele1, \$sele2, classcat_id2_selected);
  479.         }
  480.         ";
  481.         // line 482
  482.         if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id2", [], "any"truetruetrue482)) {
  483.             // line 483
  484.             echo "        fnSetClassCategories(
  485.             \$('#form1'), ";
  486.             // line 484
  487.             echo json_encode($this->sandbox->ensureToStringAllowed(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.'484$this->source); })()), "classcategory_id2", [], "any"falsefalsetrue484), "vars", [], "any"falsefalsetrue484), "value", [], "any"falsefalsetrue484), 484$this->source));
  488.             echo "
  489.         );
  490.         ";
  491.         } elseif (twig_get_attribute($this->env$this->source,         // line 486
  492. ($context["form"] ?? null), "classcategory_id1", [], "any"truetruetrue486)) {
  493.             // line 487
  494.             echo "        eccube.checkStock(\$('#form1'), ";
  495.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'487$this->source); })()), "id", [], "any"falsefalsetrue487), 487$this->source), "html"nulltrue);
  496.             echo ", ";
  497.             echo json_encode($this->sandbox->ensureToStringAllowed(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.'487$this->source); })()), "classcategory_id1", [], "any"falsefalsetrue487), "vars", [], "any"falsefalsetrue487), "value", [], "any"falsefalsetrue487), 487$this->source));
  498.             echo ", null);
  499.         ";
  500.         }
  501.         // line 489
  502.         echo "    </script>
  503.     <script>
  504.         \$(function() {
  505.             // bfcache無効化
  506.             \$(window).bind('pageshow', function(event) {
  507.                 if (event.originalEvent.persisted) {
  508.                     location.reload(true);
  509.                 }
  510.             });
  511.             // Core Web Vital の Cumulative Layout Shift(CLS)対策のため
  512.             // img タグに width, height が付与されている.
  513.             // 630px 未満の画面サイズでは縦横比が壊れるための対策
  514.             // see https://github.com/EC-CUBE/ec-cube/pull/5023
  515.             \$('.ec-grid2__cell').hide();
  516.             var removeSize = function () {
  517.                 \$('.slide-item').height('');
  518.                 \$('.slide-item img')
  519.                     .removeAttr('width')
  520.                     .removeAttr('height')
  521.                     .removeAttr('style');
  522.             };
  523.             var slickInitial = function(slick) {
  524.                 \$('.ec-grid2__cell').fadeIn(1500);
  525.                 var baseHeight = \$(slick.target).height();
  526.                 var baseWidth = \$(slick.target).width();
  527.                 var rate = baseWidth / baseHeight;
  528.                 \$('.slide-item').height(baseHeight * rate); // 余白を削除する
  529.                 // transform を使用することでCLSの影響を受けないようにする
  530.                 \$('.slide-item img')
  531.                     .css(
  532.                         {
  533.                             'transform-origin': 'top left',
  534.                             'transform': 'scaleY(' + rate + ')',
  535.                             'transition': 'transform .1s'
  536.                         }
  537.                     );
  538.                 // 正しいサイズに近くなったら属性を解除する
  539.                 setTimeout(removeSize, 500);
  540.             };
  541.             \$('.item_visual').on('init', slickInitial);
  542.             // リサイズ時は CLS の影響を受けないため属性を解除する
  543.             \$(window).resize(removeSize);
  544.             \$('.item_visual').slick({
  545.                 dots: false,
  546.                 arrows: false,
  547.                 responsive: [{
  548.                     breakpoint: 768,
  549.                     settings: {
  550.                         dots: true
  551.                     }
  552.                 }]
  553.             });
  554.             \$('.slideThumb').on('click', function() {
  555.                 var index = \$(this).attr('data-index');
  556.                 \$('.item_visual').slick('slickGoTo', index, false);
  557.             })
  558.             // タブ切り替え用のJavaScript
  559.             \$('.tab-button').on('click', function() {
  560.                 // すべてのタブとコンテンツからactiveクラスを削除
  561.                 \$('.tab-button').removeClass('active');
  562.                 \$('.tab-content').removeClass('active');
  563.                 // クリックされたタブとそれに対応するコンテンツにactiveクラスを追加
  564.                 \$(this).addClass('active');
  565.                 const tabId = \$(this).data('tab');
  566.                 \$('#' + tabId).addClass('active');
  567.             });
  568.         });
  569.     </script>
  570.     <script>
  571.         \$(function() {
  572.             \$('.add-cart').on('click', function(event) {
  573.                 ";
  574.         // line 565
  575.         if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id1", [], "any"truetruetrue565)) {
  576.             // line 566
  577.             echo "                // 規格1フォームの必須チェック
  578.                 if (\$('#classcategory_id1').val() == '__unselected' || \$('#classcategory_id1').val() == '') {
  579.                     \$('#classcategory_id1')[0].setCustomValidity('";
  580.             // line 568
  581.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.product.product_class_unselected"), "html"nulltrue);
  582.             echo "');
  583.                     return true;
  584.                 } else {
  585.                     \$('#classcategory_id1')[0].setCustomValidity('');
  586.                 }
  587.                 ";
  588.         }
  589.         // line 574
  590.         echo "
  591.                 ";
  592.         // line 575
  593.         if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id2", [], "any"truetruetrue575)) {
  594.             // line 576
  595.             echo "                // 規格2フォームの必須チェック
  596.                 if (\$('#classcategory_id2').val() == '__unselected' || \$('#classcategory_id2').val() == '') {
  597.                     \$('#classcategory_id2')[0].setCustomValidity('";
  598.             // line 578
  599.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.product.product_class_unselected"), "html"nulltrue);
  600.             echo "');
  601.                     return true;
  602.                 } else {
  603.                     \$('#classcategory_id2')[0].setCustomValidity('');
  604.                 }
  605.                 ";
  606.         }
  607.         // line 584
  608.         echo "
  609.                 // 個数フォームのチェック
  610.                 if (\$('#quantity').val() < 1) {
  611.                     \$('#quantity')[0].setCustomValidity('";
  612.         // line 587
  613.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.product.invalid_quantity"), "html"nulltrue);
  614.         echo "');
  615.                     return true;
  616.                 } else {
  617.                     \$('#quantity')[0].setCustomValidity('');
  618.                 }
  619.                 event.preventDefault();
  620.                 \$form = \$('#form1');
  621.                 \$.ajax({
  622.                     url: \$form.attr('action'),
  623.                     type: \$form.attr('method'),
  624.                     data: \$form.serialize(),
  625.                     dataType: 'json',
  626.                     beforeSend: function(xhr, settings) {
  627.                         // Buttonを無効にする
  628.                         \$('.add-cart').prop('disabled', true);
  629.                     }
  630.                 }).done(function(data) {
  631.                     // レスポンス内のメッセージをalertで表示
  632.                     \$.each(data.messages, function() {
  633.                         \$('#ec-modal-header').text(this);
  634.                     });
  635.                     \$('.ec-modal').show()
  636.                     // カートブロックを更新する
  637.                     \$.ajax({
  638.                         url: \"";
  639.         // line 614
  640.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("block_cart");
  641.         echo "\",
  642.                         type: 'GET',
  643.                         dataType: 'html'
  644.                     }).done(function(html) {
  645.                         \$('.ec-headerRole__cart').html(html);
  646.                     });
  647.                 }).fail(function(data) {
  648.                     alert('";
  649.         // line 621
  650.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.product.add_cart_error"), "html"nulltrue);
  651.         echo "');
  652.                 }).always(function(data) {
  653.                     // Buttonを有効にする
  654.                     \$('.add-cart').prop('disabled', false);
  655.                 });
  656.             });
  657.             \$('.scroll-to-checkout a').on('click', function(e) {
  658.                 e.preventDefault();
  659.                 const targetId = \$(this).attr('href');
  660.                 const targetPosition = \$(targetId).offset().top;
  661.                 \$('html, body').animate({
  662.                     scrollTop: targetPosition
  663.                 }, 600); // 800ミリ秒かけてスクロール
  664.             });
  665.         });
  666.         \$('.ec-modal-wrap').on('click', function(e) {
  667.             // モーダル内の処理は外側にバブリングさせない
  668.             e.stopPropagation();
  669.         });
  670.         \$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
  671.             \$('.ec-modal').hide()
  672.         });
  673.     </script>
  674.     <script type=\"application/ld+json\">
  675.     {
  676.         \"@context\": \"https://schema.org/\",
  677.         \"@type\": \"Product\",
  678.         \"name\": \"";
  679.         // line 650
  680.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'650$this->source); })()), "name", [], "any"falsefalsetrue650), 650$this->source), "html"nulltrue);
  681.         echo "\",
  682.         \"image\": [
  683.             ";
  684.         // line 652
  685.         $context['_parent'] = $context;
  686.         $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.'652$this->source); })()), "ProductImage", [], "any"falsefalsetrue652));
  687.         $context['_iterated'] = false;
  688.         $context['loop'] = [
  689.           'parent' => $context['_parent'],
  690.           'index0' => 0,
  691.           'index'  => 1,
  692.           'first'  => true,
  693.         ];
  694.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  695.             $length count($context['_seq']);
  696.             $context['loop']['revindex0'] = $length 1;
  697.             $context['loop']['revindex'] = $length;
  698.             $context['loop']['length'] = $length;
  699.             $context['loop']['last'] = === $length;
  700.         }
  701.         foreach ($context['_seq'] as $context["_key"] => $context["img"]) {
  702.             // line 653
  703.             echo "                \"";
  704.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'653$this->source); })()), "request", [], "any"falsefalsetrue653), "schemeAndHttpHost", [], "any"falsefalsetrue653), 653$this->source), "html"nulltrue);
  705.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->sandbox->ensureToStringAllowed($context["img"], 653$this->source), "save_image"), "html"nulltrue);
  706.             echo "\"";
  707.             if ( !twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsetrue653)) {
  708.                 echo ",";
  709.             }
  710.             // line 654
  711.             echo "
  712.             ";
  713.             $context['_iterated'] = true;
  714.             ++$context['loop']['index0'];
  715.             ++$context['loop']['index'];
  716.             $context['loop']['first'] = false;
  717.             if (isset($context['loop']['length'])) {
  718.                 --$context['loop']['revindex0'];
  719.                 --$context['loop']['revindex'];
  720.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  721.             }
  722.         }
  723.         if (!$context['_iterated']) {
  724.             // line 656
  725.             echo "                \"";
  726.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'656$this->source); })()), "request", [], "any"falsefalsetrue656), "schemeAndHttpHost", [], "any"falsefalsetrue656), 656$this->source), "html"nulltrue);
  727.             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);
  728.             echo "\"
  729.             ";
  730.         }
  731.         $_parent $context['_parent'];
  732.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['img'], $context['_parent'], $context['loop']);
  733.         $context array_intersect_key($context$_parent) + $_parent;
  734.         // line 658
  735.         echo "        ],
  736.         \"description\": \"";
  737.         // line 659
  738.         echo twig_escape_filter($this->envtwig_slice($this->envtwig_replace_filter(((twig_get_attribute($this->env$this->source, ($context["Product"] ?? null), "description_list", [], "any"truetruetrue659)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, ($context["Product"] ?? null), "description_list", [], "any"falsefalsetrue659), 659$this->source), $this->sandbox->ensureToStringAllowed(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.'659$this->source); })()), "description_detail", [], "any"falsefalsetrue659), 659$this->source))) : (twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'659$this->source); })()), "description_detail", [], "any"falsefalsetrue659))), ["
  739. => """ " => ""]), 0300), "html"nulltrue);
  740.         echo "\",
  741.         ";
  742.         // line 660
  743.         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.'660$this->source); })()), "code_min", [], "any"falsefalsetrue660)) {
  744.             // line 661
  745.             echo "        \"sku\": \"";
  746.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'661$this->source); })()), "code_min", [], "any"falsefalsetrue661), 661$this->source), "html"nulltrue);
  747.             echo "\",
  748.         ";
  749.         }
  750.         // line 663
  751.         echo "        \"offers\": {
  752.             \"@type\": \"Offer\",
  753.             \"url\": \"";
  754.         // line 665
  755.         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.'665$this->source); })()), "id", [], "any"falsefalsetrue665)]), "html"nulltrue);
  756.         echo "\",
  757.             \"priceCurrency\": \"";
  758.         // line 666
  759.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_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.'666$this->source); })()), "currency", [], "any"falsefalsetrue666), 666$this->source), "html"nulltrue);
  760.         echo "\",
  761.             \"price\": ";
  762.         // line 667
  763.         ((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.'667$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsetrue667)) ? (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.'667$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsetrue667), "html"nulltrue))) : (print (0)));
  764.         echo ",
  765.             \"availability\": \"";
  766.         // line 668
  767.         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.'668$this->source); })()), "stock_find", [], "any"falsefalsetrue668)) ? ("InStock") : ("OutOfStock"));
  768.         echo "\"
  769.         }
  770.     }
  771.     </script>
  772.     <script>
  773.         \$(function() {
  774.             // 規格1が変更されたとき
  775.             \$('#classcategory_id1').on('change', function() {
  776.                 updateStock();
  777.             });
  778.             // 規格2が変更されたとき
  779.             \$('#classcategory_id2').on('change', function() {
  780.                 updateStock();
  781.             });
  782.             // 初期表示時
  783.             updateStock();
  784.             // 在庫表示を更新する関数
  785.             function updateStock() {
  786.                 // 現在選択されているProductClassのデータを取得
  787.                 var productClassId = \$('#ProductClass').val();
  788.                 if (!productClassId) {
  789.                     \$('#selected-stock-quantity').text('";
  790.         // line 693
  791.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.product.please_select_product_class"), "html"nulltrue);
  792.         echo "');
  793.                     return;
  794.                 }
  795.                 // 選択された商品規格の情報を取得
  796.                 var classCategory1 = \$('#classcategory_id1').val() || '__unselected';
  797.                 var classCategory2 = \$('#classcategory_id2').val() || '';
  798.                 // 商品規格情報を取得
  799.                 var productClass = null;
  800.                 if (eccube.classCategories[classCategory1]) {
  801.                     if (classCategory2 && eccube.classCategories[classCategory1]['#' + classCategory2]) {
  802.                         productClass = eccube.classCategories[classCategory1]['#' + classCategory2];
  803.                     } else if (eccube.classCategories[classCategory1]['#']) {
  804.                         productClass = eccube.classCategories[classCategory1]['#'];
  805.                     }
  806.                 }
  807.                 if (!productClass) {
  808.                     \$('#selected-stock-quantity').text('";
  809.         // line 712
  810.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.product.please_select_product_class"), "html"nulltrue);
  811.         echo "');
  812.                     return;
  813.                 }
  814.                 // 在庫表示を更新
  815.                 var stockQuantityElement = \$('#selected-stock-quantity');
  816.                 if (productClass.stock !== null && productClass.stock > 0) {
  817.                     stockQuantityElement.text(productClass.stock);
  818.                 } else {
  819.                     stockQuantityElement.text('";
  820.         // line 722
  821.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.product.out_of_stock"), "html"nulltrue);
  822.         echo "');
  823.                 }
  824.             }
  825.         });
  826.     </script>
  827. ";
  828.         
  829.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  830.         
  831.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  832.     }
  833.     // line 729
  834.     public function block_main($context, array $blocks = [])
  835.     {
  836.         $macros $this->macros;
  837.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  838.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  839.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  840.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  841.         // line 730
  842.         echo "    <div class=\"ec-productRole\">
  843.         <div class=\"ec-pageHeader\">
  844.             <h1 class=\"km_pagetitle\">";
  845.         // line 732
  846.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'732$this->source); })()), "name", [], "any"falsefalsetrue732), 732$this->source), "html"nulltrue);
  847.         echo "</h1>
  848.         </div>
  849.         <div class=\"detail-top-image\">
  850.             <img src=\"";
  851.         // line 736
  852.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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.'736$this->source); })()), "ProductImage", [], "any"falsefalsetrue736), 0, [], "array"falsefalsetrue736), 736$this->source), "save_image"), "html"nulltrue);
  853.         echo "\">
  854.         </div>
  855.         <div class=\"ec-productRole__profile\">
  856.             ";
  857.         // line 741
  858.         echo "            ";
  859.         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.'741$this->source); })()), "kofun_product_type", [], "any"falsefalsetrue741) && (twig_get_attribute($this->env$this->sourcetwig_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.'741$this->source); })()), "kofun_product_type", [], "any"falsefalsetrue741), "id", [], "any"falsefalsetrue741) == 1))) {
  860.             // line 742
  861.             echo "                <div class=\"ec-productRole__kofun-address\">
  862.                     ";
  863.             // line 743
  864.             (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["Product"] ?? null), "Kofun", [], "any"falsetruetrue743), "Pref", [], "any"falsetruetrue743), "name", [], "any"truetruetrue743) &&  !(null === twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["Product"] ?? null), "Kofun", [], "any"falsetruetrue743), "Pref", [], "any"falsetruetrue743), "name", [], "any"falsefalsetrue743)))) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["Product"] ?? null), "Kofun", [], "any"falsetruetrue743), "Pref", [], "any"falsetruetrue743), "name", [], "any"falsefalsetrue743), "html"nulltrue))) : (print ("")));
  865.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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.'743$this->source); })()), "Kofun", [], "any"falsefalsetrue743), "addr01", [], "any"falsefalsetrue743), 743$this->source), "html"nulltrue);
  866.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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.'743$this->source); })()), "Kofun", [], "any"falsefalsetrue743), "addr02", [], "any"falsefalsetrue743), 743$this->source), "html"nulltrue);
  867.             echo "
  868.                 </div>
  869.             ";
  870.         }
  871.         // line 746
  872.         echo "            ";
  873.         // line 747
  874.         echo "            ";
  875.         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.'747$this->source); })()), "Tags", [], "any"falsefalsetrue747))) {
  876.             // line 748
  877.             echo "                <ul class=\"ec-productRole__tags\">
  878.                     ";
  879.             // line 749
  880.             $context['_parent'] = $context;
  881.             $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.'749$this->source); })()), "Tags", [], "any"falsefalsetrue749));
  882.             foreach ($context['_seq'] as $context["_key"] => $context["Tag"]) {
  883.                 // line 750
  884.                 echo "                        <li class=\"ec-productRole__tag tag_";
  885.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Tag"], "id", [], "any"falsefalsetrue750), 750$this->source), "html"nulltrue);
  886.                 echo "\">";
  887.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed($context["Tag"], 750$this->source), "html"nulltrue);
  888.                 echo "</li>
  889.                     ";
  890.             }
  891.             $_parent $context['_parent'];
  892.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Tag'], $context['_parent'], $context['loop']);
  893.             $context array_intersect_key($context$_parent) + $_parent;
  894.             // line 752
  895.             echo "                </ul>
  896.             ";
  897.         }
  898.         // line 754
  899.         echo "            ";
  900.         // line 755
  901.         echo "            ";
  902.         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.'755$this->source); })()), "hasProductClass", [], "any"falsefalsetrue755)) {
  903.             // line 756
  904.             echo "<div class=\"ec-productRole__priceRegular\">
  905.                     ";
  906.             // line 757
  907.             if (( !(null === twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'757$this->source); })()), "getPrice01Min", [], "any"falsefalsetrue757)) && (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.'757$this->source); })()), "getPrice01IncTaxMin", [], "any"falsefalsetrue757) == 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.'757$this->source); })()), "getPrice01IncTaxMax", [], "any"falsefalsetrue757)))) {
  908.                 // line 758
  909.                 echo "                        <span class=\"ec-productRole__priceRegularPrice\">";
  910.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.product.normal_price"), "html"nulltrue);
  911.                 echo ":<span class=\"price01-default\">";
  912.                 echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(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.'758$this->source); })()), "getPrice01IncTaxMin", [], "any"falsefalsetrue758), 758$this->source)), "html"nulltrue);
  913.                 echo "</span></span>
  914.                         <span class=\"ec-productRole__priceRegularTax\">";
  915.                 // line 759
  916.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.tax_include"), "html"nulltrue);
  917.                 echo "</span>
  918.                     ";
  919.             } elseif (( !(null === twig_get_attribute($this->env$this->source,             // line 760
  920. (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'760$this->source); })()), "getPrice01Min", [], "any"falsefalsetrue760)) &&  !(null === twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'760$this->source); })()), "getPrice01Max", [], "any"falsefalsetrue760)))) {
  921.                 // line 761
  922.                 echo "                        <span class=\"ec-productRole__priceRegularPrice\">";
  923.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.product.normal_price"), "html"nulltrue);
  924.                 echo ":<span class=\"price01-default\">";
  925.                 echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(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.'761$this->source); })()), "getPrice01IncTaxMin", [], "any"falsefalsetrue761), 761$this->source)), "html"nulltrue);
  926.                 echo "~ ";
  927.                 echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(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.'761$this->source); })()), "getPrice01IncTaxMax", [], "any"falsefalsetrue761), 761$this->source)), "html"nulltrue);
  928.                 echo "</span></span>
  929.                         <span class=\"ec-productRole__priceRegularTax\">";
  930.                 // line 762
  931.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.tax_include"), "html"nulltrue);
  932.                 echo "</span>
  933.                     ";
  934.             }
  935.             // line 764
  936.             echo "                </div>
  937.             ";
  938.         } else {
  939.             // line 766
  940.             echo "                ";
  941.             if ( !(null === twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'766$this->source); })()), "getPrice01Max", [], "any"falsefalsetrue766))) {
  942.                 // line 767
  943.                 echo "                    <span class=\"ec-productRole__priceRegularPrice\">";
  944.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.product.normal_price"), "html"nulltrue);
  945.                 echo ":";
  946.                 echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(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.'767$this->source); })()), "getPrice01IncTaxMin", [], "any"falsefalsetrue767), 767$this->source)), "html"nulltrue);
  947.                 echo "</span>
  948.                     <span class=\"ec-productRole__priceRegularTax\">";
  949.                 // line 768
  950.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.tax_include"), "html"nulltrue);
  951.                 echo "</span>
  952.                 ";
  953.             }
  954.             // line 770
  955.             echo "            ";
  956.         }
  957.         // line 771
  958.         echo "            ";
  959.         // line 772
  960.         echo "            <div class=\"ec-productRole__price\">
  961.                 ";
  962.         // line 773
  963.         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.'773$this->source); })()), "hasProductClass", [], "any"falsefalsetrue773)) {
  964.             // line 774
  965.             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.'774$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsetrue774) == 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.'774$this->source); })()), "getPrice02IncTaxMax", [], "any"falsefalsetrue774))) {
  966.                 // line 775
  967.                 echo "                        <div class=\"ec-price\">
  968.                             <span class=\"ec-price__price price02-default\">";
  969.                 // line 776
  970.                 echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(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.'776$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsetrue776), 776$this->source)), "html"nulltrue);
  971.                 echo "</span>
  972.                             <span class=\"ec-price__tax\">";
  973.                 // line 777
  974.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.tax_include"), "html"nulltrue);
  975.                 echo "</span>
  976.                         </div>
  977.                     ";
  978.             } else {
  979.                 // line 780
  980.                 echo "                        <div class=\"ec-price\">
  981.                             <span class=\"ec-price__price price02-default\">";
  982.                 // line 781
  983.                 echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(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.'781$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsetrue781), 781$this->source)), "html"nulltrue);
  984.                 echo " ~ ";
  985.                 echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(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.'781$this->source); })()), "getPrice02IncTaxMax", [], "any"falsefalsetrue781), 781$this->source)), "html"nulltrue);
  986.                 echo "</span>
  987.                             <span class=\"ec-price__tax\">";
  988.                 // line 782
  989.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.tax_include"), "html"nulltrue);
  990.                 echo "</span>
  991.                         </div>
  992.                     ";
  993.             }
  994.             // line 785
  995.             echo "                ";
  996.         } else {
  997.             // line 786
  998.             echo "                    <div class=\"ec-price\">
  999.                         <span class=\"ec-price__price\">";
  1000.             // line 787
  1001.             echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(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.'787$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsetrue787), 787$this->source)), "html"nulltrue);
  1002.             echo "</span>
  1003.                         <span class=\"ec-price__tax\">";
  1004.             // line 788
  1005.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.tax_include"), "html"nulltrue);
  1006.             echo "</span>
  1007.                     </div>
  1008.                 ";
  1009.         }
  1010.         // line 791
  1011.         echo "            </div>
  1012.         </div>
  1013.         ";
  1014.         // line 794
  1015.         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.'794$this->source); })()), "kofun_product_type", [], "any"falsefalsetrue794) && (twig_get_attribute($this->env$this->sourcetwig_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.'794$this->source); })()), "kofun_product_type", [], "any"falsefalsetrue794), "id", [], "any"falsefalsetrue794) == 1))) {
  1016.             // line 795
  1017.             echo "            <div class=\"ec-productRole__kofun\">
  1018.                 <div class=\"ec-productRole__kofun-content description-detail\">
  1019.                     ";
  1020.             // line 798
  1021.             echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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.'798$this->source); })()), "Kofun", [], "any"falsefalsetrue798), "descriptionDetail", [], "any"falsefalsetrue798), 798$this->source));
  1022.             echo "
  1023.                 </div>
  1024.                 <div class=\"ec-productRole__kofun-appeal-points\">
  1025.                     <div class=\"title\">";
  1026.             // line 801
  1027.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.appeal_points_title"), "html"nulltrue);
  1028.             echo "</div>
  1029.                     <div class=\"content\">
  1030.                         ";
  1031.             // line 803
  1032.             echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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.'803$this->source); })()), "Kofun", [], "any"falsefalsetrue803), "appealPoints", [], "any"falsefalsetrue803), 803$this->source));
  1033.             echo "
  1034.                     </div>
  1035.                 </div>
  1036.                 <div class=\"ec-productRole__kofun-content scroll-to-checkout\">
  1037.                     <a href=\"#checkout\">
  1038.                         <span>ご購入はこちらから</span>
  1039.                     </a>
  1040.                 </div>
  1041.                 <div class=\"ec-productRole__kofun-content access\">
  1042.                     <h2>アクセス</h2>
  1043.                     <div class=\"content\">
  1044.                         ";
  1045.             // line 816
  1046.             echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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.'816$this->source); })()), "Kofun", [], "any"falsefalsetrue816), "access", [], "any"falsefalsetrue816), 816$this->source));
  1047.             echo "
  1048.                     </div>
  1049.                 </div>
  1050.                 ";
  1051.             // line 820
  1052.             if ((twig_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.'820$this->source); })()), "environment", [], "any"falsefalsetrue820) == "prod")) {
  1053.                 // line 821
  1054.                 echo "                    ";
  1055.                 if ((twig_get_attribute($this->env$this->sourcetwig_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.'821$this->source); })()), "Kofun", [], "any"falsefalsetrue821), "id", [], "any"falsefalsetrue821) == "bj0zQKulUcfULgr06dwy")) {
  1056.                     // line 822
  1057.                     echo "                        ";
  1058.                     $context["visit_url"] = "https://calendar.app.google/DSkdUAXqMmRxZnti8";
  1059.                     // line 823
  1060.                     echo "                    ";
  1061.                 } elseif ((twig_get_attribute($this->env$this->sourcetwig_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.'823$this->source); })()), "Kofun", [], "any"falsefalsetrue823), "id", [], "any"falsefalsetrue823) == "FaUkQoWKRHRumqlKIvgg")) {
  1062.                     // line 824
  1063.                     echo "                        ";
  1064.                     $context["visit_url"] = "https://calendar.app.google/SasLwuKaFwQSZZrz7";
  1065.                     // line 825
  1066.                     echo "                    ";
  1067.                 }
  1068.                 // line 826
  1069.                 echo "                ";
  1070.             } elseif ((twig_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.'826$this->source); })()), "environment", [], "any"falsefalsetrue826) == "dev")) {
  1071.                 // line 827
  1072.                 echo "                    ";
  1073.                 $context["visit_url"] = "https://calendar.app.google/ECkmJUvKpra9SSQU9";
  1074.                 // line 828
  1075.                 echo "                ";
  1076.             }
  1077.             // line 829
  1078.             echo "
  1079.                 ";
  1080.             // line 830
  1081.             if (array_key_exists("visit_url"$context)) {
  1082.                 // line 831
  1083.                 echo "                <div class=\"ec-productRole__kofun-content visit-reservation\">
  1084.                     <a href=\"";
  1085.                 // line 832
  1086.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["visit_url"]) || array_key_exists("visit_url"$context) ? $context["visit_url"] : (function () { throw new RuntimeError('Variable "visit_url" does not exist.'832$this->source); })()), 832$this->source), "html"nulltrue);
  1087.                 echo "\" target=\"_blank\">
  1088.                         <span>見学のご予約はこちらから</span>
  1089.                     </a>
  1090.                 </div>
  1091.                 ";
  1092.             }
  1093.             // line 837
  1094.             echo "
  1095.                 <div class=\"ec-productRole__kofun-content basicline\">
  1096.                     <h2>基本情報</h2>
  1097.                     <div class=\"content\">
  1098.                         <span class=\"label\">";
  1099.             // line 841
  1100.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.base_info__danka_duty"), "html"nulltrue);
  1101.             echo "</span>";
  1102.             echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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.'841$this->source); })()), "Kofun", [], "any"falsefalsetrue841), "dankaDuty", [], "any"falsefalsetrue841), 841$this->source));
  1103.             echo "
  1104.                     </div>
  1105.                     <div class=\"content\">
  1106.                         <span class=\"label\">";
  1107.             // line 844
  1108.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.base_info__religion"), "html"nulltrue);
  1109.             echo "</span>";
  1110.             echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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.'844$this->source); })()), "Kofun", [], "any"falsefalsetrue844), "religion", [], "any"falsefalsetrue844), 844$this->source));
  1111.             echo "
  1112.                     </div>
  1113.                     <div class=\"content\">
  1114.                         <span class=\"label\">";
  1115.             // line 847
  1116.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.base_info__successor"), "html"nulltrue);
  1117.             echo "</span>";
  1118.             echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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.'847$this->source); })()), "Kofun", [], "any"falsefalsetrue847), "successor", [], "any"falsefalsetrue847), 847$this->source));
  1119.             echo "
  1120.                     </div>
  1121.                     <div class=\"content\">
  1122.                         <span class=\"label\">";
  1123.             // line 850
  1124.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.base_info__ritual"), "html"nulltrue);
  1125.             echo "</span>";
  1126.             echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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.'850$this->source); })()), "Kofun", [], "any"falsefalsetrue850), "ritual", [], "any"falsefalsetrue850), 850$this->source));
  1127.             echo "
  1128.                     </div>
  1129.                     <div class=\"content\">
  1130.                         <span class=\"label\">";
  1131.             // line 853
  1132.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.base_info__features"), "html"nulltrue);
  1133.             echo "</span>";
  1134.             echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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.'853$this->source); })()), "Kofun", [], "any"falsefalsetrue853), "features", [], "any"falsefalsetrue853), 853$this->source));
  1135.             echo "
  1136.                     </div>
  1137.                     <div class=\"content\">
  1138.                         <span class=\"label\">";
  1139.             // line 856
  1140.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.base_info__facilities"), "html"nulltrue);
  1141.             echo "</span>";
  1142.             echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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.'856$this->source); })()), "Kofun", [], "any"falsefalsetrue856), "facilities", [], "any"falsefalsetrue856), 856$this->source));
  1143.             echo "
  1144.                     </div>
  1145.                     <div class=\"content\">
  1146.                         <span class=\"label\">";
  1147.             // line 859
  1148.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.base_info__business_hours"), "html"nulltrue);
  1149.             echo "</span>";
  1150.             echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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.'859$this->source); })()), "Kofun", [], "any"falsefalsetrue859), "businessHours", [], "any"falsefalsetrue859), 859$this->source));
  1151.             echo "
  1152.                     </div>
  1153.                     <div class=\"content\">
  1154.                         <span class=\"label\">";
  1155.             // line 862
  1156.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.base_info__holidays"), "html"nulltrue);
  1157.             echo "</span>";
  1158.             echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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.'862$this->source); })()), "Kofun", [], "any"falsefalsetrue862), "holidays", [], "any"falsefalsetrue862), 862$this->source));
  1159.             echo "
  1160.                     </div>
  1161.                 </div>
  1162.                 <div class=\"ec-productRole__kofun-content basicline\">
  1163.                     <h2>古墳の概要</h2>
  1164.                     <div class=\"content\">
  1165.                         <span class=\"label\">【形状】</span>
  1166.                         <div class=\"value\">
  1167.                             ";
  1168.             // line 870
  1169.             echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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.'870$this->source); })()), "Kofun", [], "any"falsefalsetrue870), "shape", [], "any"falsefalsetrue870), 870$this->source));
  1170.             echo "
  1171.                         </div>
  1172.                     </div>
  1173.                     <div class=\"content\">
  1174.                         <span class=\"label\">【区画】</span>
  1175.                         <div class=\"value\">
  1176.                             <div>";
  1177.             // line 876
  1178.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.kofun_summary__section_one_person", ["%count%" => twig_get_attribute($this->env$this->sourcetwig_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.'876$this->source); })()), "Kofun", [], "any"falsefalsetrue876), "onePersonSectionCount", [], "any"falsefalsetrue876)]), "html"nulltrue);
  1179.             echo "</div>
  1180.                             ";
  1181.             // line 877
  1182.             if ((twig_get_attribute($this->env$this->sourcetwig_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.'877$this->source); })()), "Kofun", [], "any"falsefalsetrue877), "twoPersonSectionCount", [], "any"falsefalsetrue877) > 0)) {
  1183.                 // line 878
  1184.                 echo "                            <div>";
  1185.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.kofun_summary__section_two_person", ["%count%" => twig_get_attribute($this->env$this->sourcetwig_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.'878$this->source); })()), "Kofun", [], "any"falsefalsetrue878), "twoPersonSectionCount", [], "any"falsefalsetrue878)]), "html"nulltrue);
  1186.                 echo "</div>
  1187.                             ";
  1188.             }
  1189.             // line 880
  1190.             echo "                            <div>";
  1191.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.kofun_summary__section_communal", ["%count%" => twig_get_attribute($this->env$this->sourcetwig_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.'880$this->source); })()), "Kofun", [], "any"falsefalsetrue880), "communalSectionCount", [], "any"falsefalsetrue880)]), "html"nulltrue);
  1192.             echo "</div>
  1193.                         </div>
  1194.                     </div>
  1195.                     <div class=\"content\">
  1196.                         <span class=\"label\">【副葬品】</span>
  1197.                         <div class=\"value\">
  1198.                             ";
  1199.             // line 886
  1200.             echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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); })()), "Kofun", [], "any"falsefalsetrue886), "burialGoods", [], "any"falsefalsetrue886), 886$this->source));
  1201.             echo "
  1202.                         </div>
  1203.                     </div>
  1204.                     <div class=\"content\">
  1205.                         <span class=\"label\">【販売開始日】</span>
  1206.                         <div class=\"value\">
  1207.                             ";
  1208.             // line 892
  1209.             echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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.'892$this->source); })()), "Kofun", [], "any"falsefalsetrue892), "salesStartDate", [], "any"falsefalsetrue892), 892$this->source));
  1210.             echo "
  1211.                         </div>
  1212.                     </div>
  1213.                     <div class=\"content\">
  1214.                         <span class=\"label\">【完成予定日】</span>
  1215.                         <div class=\"value\">
  1216.                             ";
  1217.             // line 898
  1218.             echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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.'898$this->source); })()), "Kofun", [], "any"falsefalsetrue898), "completionDate", [], "any"falsefalsetrue898), 898$this->source));
  1219.             echo "
  1220.                         </div>
  1221.                     </div>
  1222.                     ";
  1223.             // line 901
  1224.             $context['_parent'] = $context;
  1225.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_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.'901$this->source); })()), "Kofun", [], "any"falsefalsetrue901), "BlueprintImage", [], "any"falsefalsetrue901));
  1226.             foreach ($context['_seq'] as $context["_key"] => $context["BlueprintImage"]) {
  1227.                 // line 902
  1228.                 echo "                        <div class=\"blueprint-image\">
  1229.                             <img src=\"";
  1230.                 // line 903
  1231.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->sandbox->ensureToStringAllowed($context["BlueprintImage"], 903$this->source), "save_image"), "html"nulltrue);
  1232.                 echo "\">
  1233.                         </div>
  1234.                     ";
  1235.             }
  1236.             $_parent $context['_parent'];
  1237.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['BlueprintImage'], $context['_parent'], $context['loop']);
  1238.             $context array_intersect_key($context$_parent) + $_parent;
  1239.             // line 906
  1240.             echo "                    <div class=\"ec-grid3\">
  1241.                         ";
  1242.             // line 907
  1243.             $context["descriptions"] = twig_split_filter($this->env$this->sandbox->ensureToStringAllowed(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.'907$this->source); })()), "imageDescriptions", [], "any"falsefalsetrue907), 907$this->source), "|");
  1244.             // line 908
  1245.             echo "                        ";
  1246.             $context['_parent'] = $context;
  1247.             $context['_seq'] = twig_ensure_traversable(twig_slice($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.'908$this->source); })()), "ProductImage", [], "any"falsefalsetrue908), 13));
  1248.             $context['loop'] = [
  1249.               'parent' => $context['_parent'],
  1250.               'index0' => 0,
  1251.               'index'  => 1,
  1252.               'first'  => true,
  1253.             ];
  1254.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  1255.                 $length count($context['_seq']);
  1256.                 $context['loop']['revindex0'] = $length 1;
  1257.                 $context['loop']['revindex'] = $length;
  1258.                 $context['loop']['length'] = $length;
  1259.                 $context['loop']['last'] = === $length;
  1260.             }
  1261.             foreach ($context['_seq'] as $context["_key"] => $context["ProductImage"]) {
  1262.                 // line 909
  1263.                 echo "                            <div class=\"ec-grid3__cell product-image\">
  1264.                                 <img src=\"";
  1265.                 // line 910
  1266.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->sandbox->ensureToStringAllowed($context["ProductImage"], 910$this->source), "save_image"), "html"nulltrue);
  1267.                 echo "\" alt=\"\" loading=\"lazy\">
  1268.                                 ";
  1269.                 // line 911
  1270.                 if (twig_get_attribute($this->env$this->source, ($context["descriptions"] ?? null), twig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsetrue911), [], "array"truetruetrue911)) {
  1271.                     // line 912
  1272.                     echo "                                    <div class=\"product-image-description\">
  1273.                                         ";
  1274.                     // line 913
  1275.                     echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["descriptions"]) || array_key_exists("descriptions"$context) ? $context["descriptions"] : (function () { throw new RuntimeError('Variable "descriptions" does not exist.'913$this->source); })()), twig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsetrue913), [], "array"falsefalsetrue913), 913$this->source));
  1276.                     echo "
  1277.                                     </div>
  1278.                                 ";
  1279.                 }
  1280.                 // line 916
  1281.                 echo "                            </div>
  1282.                         ";
  1283.                 ++$context['loop']['index0'];
  1284.                 ++$context['loop']['index'];
  1285.                 $context['loop']['first'] = false;
  1286.                 if (isset($context['loop']['length'])) {
  1287.                     --$context['loop']['revindex0'];
  1288.                     --$context['loop']['revindex'];
  1289.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  1290.                 }
  1291.             }
  1292.             $_parent $context['_parent'];
  1293.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductImage'], $context['_parent'], $context['loop']);
  1294.             $context array_intersect_key($context$_parent) + $_parent;
  1295.             // line 918
  1296.             echo "                    </div>
  1297.                 </div>
  1298.                 <div class=\"ec-productRole__kofun-content scroll-to-checkout\">
  1299.                     <a href=\"#checkout\">
  1300.                         <span>ご購入はこちらから</span>
  1301.                     </a>
  1302.                 </div>
  1303.                 ";
  1304.             // line 927
  1305.             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.'927$this->source); })()), "movie_url", [], "any"falsefalsetrue927)) {
  1306.                 // line 928
  1307.                 echo "                <div class=\"ec-productRole__kofun-content introduction_movie\">
  1308.                     <h2>";
  1309.                 // line 929
  1310.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.introduction_movie"), "html"nulltrue);
  1311.                 echo "</h2>
  1312.                     <div class=\"ec-productRole__movie\">
  1313.                         ";
  1314.                 // line 931
  1315.                 $context['_parent'] = $context;
  1316.                 $context['_seq'] = twig_ensure_traversable(twig_split_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.'931$this->source); })()), "movie_url", [], "any"falsefalsetrue931), "
  1317. "));
  1318.                 foreach ($context['_seq'] as $context["_key"] => $context["movie_url"]) {
  1319.                     // line 932
  1320.                     echo "                            <div class=\"movie-item\">
  1321.                                 <iframe src=\"https://www.youtube.com/embed/";
  1322.                     // line 933
  1323.                     echo twig_escape_filter($this->envtwig_first($this->envtwig_split_filter($this->env$this->sandbox->ensureToStringAllowed($context["movie_url"], 933$this->source), ",")), "html"nulltrue);
  1324.                     echo "?mute=1&rel=0&loop=1\" frameborder=\"0\" allow=\"picture-in-picture\" allowfullscreen></iframe>
  1325.                                 ";
  1326.                     // line 934
  1327.                     if ((twig_length_filter($this->envtwig_split_filter($this->env$context["movie_url"], ",")) > 1)) {
  1328.                         // line 935
  1329.                         echo "                                    <div class=\"movie-caption\">
  1330.                                         ";
  1331.                         // line 936
  1332.                         echo twig_escape_filter($this->envtwig_last($this->envtwig_split_filter($this->env$this->sandbox->ensureToStringAllowed($context["movie_url"], 936$this->source), ","2)), "html"nulltrue);
  1333.                         echo "
  1334.                                     </div>
  1335.                                 ";
  1336.                     }
  1337.                     // line 939
  1338.                     echo "                            </div>
  1339.                         ";
  1340.                 }
  1341.                 $_parent $context['_parent'];
  1342.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['movie_url'], $context['_parent'], $context['loop']);
  1343.                 $context array_intersect_key($context$_parent) + $_parent;
  1344.                 // line 941
  1345.                 echo "                    </div>
  1346.                 </div>
  1347.                 ";
  1348.             }
  1349.             // line 944
  1350.             echo "
  1351.                 <div class=\"ec-productRole__kofun-content price-table\">
  1352.                     <h2>";
  1353.             // line 946
  1354.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.price_table"), "html"nulltrue);
  1355.             echo "</h2>
  1356.                     <div class=\"header\">
  1357.                         <span class=\"label\">";
  1358.             // line 948
  1359.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.price_table_header__type"), "html"nulltrue);
  1360.             echo "</span>
  1361.                         <div class=\"value\">
  1362.                             ";
  1363.             // line 950
  1364.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.price_table_header__price"), "html"nulltrue);
  1365.             echo "
  1366.                         </div>
  1367.                     </div>
  1368.                     ";
  1369.             // line 953
  1370.             $context['_parent'] = $context;
  1371.             $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.'953$this->source); })()), "ProductClasses", [], "any"falsefalsetrue953));
  1372.             foreach ($context['_seq'] as $context["_key"] => $context["ProductClass"]) {
  1373.                 // line 954
  1374.                 echo "                    <div class=\"content\">
  1375.                         <span class=\"label\">";
  1376.                 // line 955
  1377.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["ProductClass"], "ClassCategory1", [], "any"falsefalsetrue955), "Name", [], "any"falsefalsetrue955), 955$this->source), "html"nulltrue);
  1378.                 echo "</span>
  1379.                         <div class=\"value\">
  1380.                             ";
  1381.                 // line 957
  1382.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.price_table_data__price", ["%price1%" => twig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["ProductClass"], "eternalUseFee", [], "any"falsefalsetrue957), 957$this->source)), "%price2%" => twig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["ProductClass"], "miscellaneousFee", [], "any"falsefalsetrue957), 957$this->source)), "%price3%" => twig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["ProductClass"], "Price02", [], "any"falsefalsetrue957), 957$this->source))]), "html"nulltrue);
  1383.                 echo "
  1384.                         </div>
  1385.                     </div>
  1386.                     ";
  1387.             }
  1388.             $_parent $context['_parent'];
  1389.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductClass'], $context['_parent'], $context['loop']);
  1390.             $context array_intersect_key($context$_parent) + $_parent;
  1391.             // line 961
  1392.             echo "                    <div class=\"note\">";
  1393.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.price_table_note"), "html"nulltrue);
  1394.             echo "</div>
  1395.                 </div>
  1396.                 <div class=\"ec-productRole__kofun-content\">
  1397.                     <h3>";
  1398.             // line 964
  1399.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.fee_list"), "html"nulltrue);
  1400.             echo "</h3>
  1401.                     <div class=\"tab-container\">
  1402.                         <div class=\"tab-buttons\">
  1403.                             <button class=\"tab-button active\" data-tab=\"eternal\">";
  1404.             // line 967
  1405.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.fee_list__eternal"), "html"nulltrue);
  1406.             echo "</button>
  1407.                             <button class=\"tab-button\" data-tab=\"communal\">";
  1408.             // line 968
  1409.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.fee_list__communal"), "html"nulltrue);
  1410.             echo "</button>
  1411.                         </div>
  1412.                         <div id=\"eternal\" class=\"tab-content active\">
  1413.                             ";
  1414.             // line 971
  1415.             if ((twig_get_attribute($this->env$this->sourcetwig_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.'971$this->source); })()), "Kofun", [], "any"falsefalsetrue971), "eternalBurialFee", [], "any"falsefalsetrue971) > 0)) {
  1416.                 // line 972
  1417.                 echo "                            <div class=\"content\">
  1418.                                 <span class=\"label\">";
  1419.                 // line 973
  1420.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.fee_list__burial"), "html"nulltrue);
  1421.                 echo "</span>
  1422.                                 <div class=\"value\">
  1423.                                     ";
  1424.                 // line 975
  1425.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.fee_list__unit_price", ["%price%" => twig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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.'975$this->source); })()), "Kofun", [], "any"falsefalsetrue975), "eternalBurialFee", [], "any"falsefalsetrue975), 975$this->source))]), "html"nulltrue);
  1426.                 echo "
  1427.                                     <div class=\"fee-note\">";
  1428.                 // line 976
  1429.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.fee_list__note"), "html"nulltrue);
  1430.                 echo "</div>
  1431.                                 </div>
  1432.                             </div>
  1433.                             <div class=\"content\">
  1434.                                 <span class=\"label\">";
  1435.                 // line 980
  1436.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.fee_list__inscription"), "html"nulltrue);
  1437.                 echo "</span>
  1438.                                 <div class=\"value\">
  1439.                                     ";
  1440.                 // line 982
  1441.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.fee_list__unit_price", ["%price%" => twig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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.'982$this->source); })()), "Kofun", [], "any"falsefalsetrue982), "eternalInscriptionFee", [], "any"falsefalsetrue982), 982$this->source))]), "html"nulltrue);
  1442.                 echo "
  1443.                                 </div>
  1444.                             </div>
  1445.                             <div class=\"content\">
  1446.                                 <span class=\"label\">";
  1447.                 // line 986
  1448.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.fee_list__maintenance"), "html"nulltrue);
  1449.                 echo "</span>
  1450.                                 <div class=\"value\">
  1451.                                     ";
  1452.                 // line 988
  1453.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.fee_list__section_price", ["%price%" => twig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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.'988$this->source); })()), "Kofun", [], "any"falsefalsetrue988), "eternalMaintenanceFee", [], "any"falsefalsetrue988), 988$this->source))]), "html"nulltrue);
  1454.                 echo "
  1455.                                 </div>
  1456.                             </div>
  1457.                             <div class=\"content-group\">
  1458.                                 <div class=\"content\">
  1459.                                     <span class=\"label\">";
  1460.                 // line 993
  1461.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.fee_list__eternal_single_misc"), "html"nulltrue);
  1462.                 echo "</span>
  1463.                                     <div class=\"value\">
  1464.                                         ";
  1465.                 // line 995
  1466.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.fee_list__total_price", ["%price%" => twig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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.'995$this->source); })()), "Kofun", [], "any"falsefalsetrue995), "singleMiscFee", [], "any"falsefalsetrue995), 995$this->source))]), "html"nulltrue);
  1467.                 echo "
  1468.                                     </div>
  1469.                                 </div>
  1470.                                 <div class=\"content\">
  1471.                                     <span class=\"label\">";
  1472.                 // line 999
  1473.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.fee_list__eternal_double_misc"), "html"nulltrue);
  1474.                 echo "</span>
  1475.                                     <div class=\"value\">
  1476.                                         ";
  1477.                 // line 1001
  1478.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.fee_list__total_price", ["%price%" => twig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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.'1001$this->source); })()), "Kofun", [], "any"falsefalsetrue1001), "doubleMiscFee", [], "any"falsefalsetrue1001), 1001$this->source))]), "html"nulltrue);
  1479.                 echo "
  1480.                                     </div>
  1481.                                 </div>
  1482.                             </div>
  1483.                             ";
  1484.             } else {
  1485.                 // line 1006
  1486.                 echo "                            <div class=\"content\">
  1487.                                 <span class=\"label\">諸費用</span>
  1488.                                 <div class=\"value\">
  1489.                                     入山費、納骨料、骨壺代、植栽維持費(管理費)合わせて";
  1490.                 // line 1009
  1491.                 echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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.'1009$this->source); })()), "Kofun", [], "any"falsefalsetrue1009), "eternalMaintenanceFee", [], "any"falsefalsetrue1009), 1009$this->source)), "html"nulltrue);
  1492.                 echo "円(税込)
  1493.                                     <div class=\"fee-note\">※ 墓誌銘板および彫刻は含まれていません。</div>
  1494.                                 </div>
  1495.                             </div>
  1496.                             ";
  1497.             }
  1498.             // line 1014
  1499.             echo "                            <div class=\"content-group\">
  1500.                                 <h5>オプション</h5>
  1501.                                 ";
  1502.             // line 1016
  1503.             if ((twig_get_attribute($this->env$this->sourcetwig_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.'1016$this->source); })()), "Kofun", [], "any"falsefalsetrue1016), "eternalBurialFee", [], "any"falsefalsetrue1016) > 0)) {
  1504.                 // line 1017
  1505.                 echo "                                <div class=\"content\">
  1506.                                     <span class=\"label\">";
  1507.                 // line 1018
  1508.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.fee_list__option_extension"), "html"nulltrue);
  1509.                 echo "</span>
  1510.                                     <div class=\"value\">
  1511.                                         ";
  1512.                 // line 1020
  1513.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.fee_list__option_extension_price", ["%price%" => twig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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.'1020$this->source); })()), "Kofun", [], "any"falsefalsetrue1020), "extensionFee", [], "any"falsefalsetrue1020), 1020$this->source))]), "html"nulltrue);
  1514.                 echo "
  1515.                                         <div class=\"fee-note\">";
  1516.                 // line 1021
  1517.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.fee_list__option_note"), "html"nulltrue);
  1518.                 echo "</div>
  1519.                                     </div>
  1520.                                 </div>
  1521.                                 ";
  1522.             } else {
  1523.                 // line 1025
  1524.                 echo "                                <div class=\"content\">
  1525.                                     <span class=\"label\">";
  1526.                 // line 1026
  1527.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.fee_list__option_extension"), "html"nulltrue);
  1528.                 echo "</span>
  1529.                                     <div class=\"value\">
  1530.                                         20年まで10年間ごとに";
  1531.                 // line 1028
  1532.                 echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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.'1028$this->source); })()), "Kofun", [], "any"falsefalsetrue1028), "extensionFee", [], "any"falsefalsetrue1028), 1028$this->source)), "html"nulltrue);
  1533.                 echo "円(非課税)<br/>
  1534.                                         永年使用は515,000円(非課税)
  1535.                                         <div class=\"fee-note\">";
  1536.                 // line 1030
  1537.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.fee_list__option_note"), "html"nulltrue);
  1538.                 echo "</div>
  1539.                                     </div>
  1540.                                 </div>
  1541.                                 <div class=\"content\">
  1542.                                     <span class=\"label\">墓誌彫刻</span>
  1543.                                     <div class=\"value\">
  1544.                                         22,000円(税込)
  1545.                                         <div class=\"fee-note\">※ ご希望のお客様は古墳墓をご購入後、お問い合わせからお申し込みください。</div>
  1546.                                     </div>
  1547.                                 </div>
  1548.                                 ";
  1549.             }
  1550.             // line 1041
  1551.             echo "                            </div>
  1552.                         </div>
  1553.                         <div id=\"communal\" class=\"tab-content\">
  1554.                             ";
  1555.             // line 1044
  1556.             if ((twig_get_attribute($this->env$this->sourcetwig_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.'1044$this->source); })()), "Kofun", [], "any"falsefalsetrue1044), "communalBurialFee", [], "any"falsefalsetrue1044) > 0)) {
  1557.                 // line 1045
  1558.                 echo "                            <div class=\"content\">
  1559.                                 <span class=\"label\">";
  1560.                 // line 1046
  1561.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.fee_list__burial"), "html"nulltrue);
  1562.                 echo "</span>
  1563.                                 <div class=\"value\">
  1564.                                     ";
  1565.                 // line 1048
  1566.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.fee_list__price", ["%price%" => twig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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.'1048$this->source); })()), "Kofun", [], "any"falsefalsetrue1048), "communalBurialFee", [], "any"falsefalsetrue1048), 1048$this->source))]), "html"nulltrue);
  1567.                 echo "
  1568.                                 </div>
  1569.                             </div>
  1570.                             <div class=\"content\">
  1571.                                 <span class=\"label\">";
  1572.                 // line 1052
  1573.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.fee_list__inscription"), "html"nulltrue);
  1574.                 echo "</span>
  1575.                                 <div class=\"value\">
  1576.                                     ";
  1577.                 // line 1054
  1578.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.fee_list__price", ["%price%" => twig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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.'1054$this->source); })()), "Kofun", [], "any"falsefalsetrue1054), "communalInscriptionFee", [], "any"falsefalsetrue1054), 1054$this->source))]), "html"nulltrue);
  1579.                 echo "
  1580.                                 </div>
  1581.                             </div>
  1582.                             <div class=\"content\">
  1583.                                 <span class=\"label\">";
  1584.                 // line 1058
  1585.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.fee_list__maintenance"), "html"nulltrue);
  1586.                 echo "</span>
  1587.                                 <div class=\"value\">
  1588.                                     ";
  1589.                 // line 1060
  1590.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.fee_list__price", ["%price%" => twig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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.'1060$this->source); })()), "Kofun", [], "any"falsefalsetrue1060), "communalMaintenanceFee", [], "any"falsefalsetrue1060), 1060$this->source))]), "html"nulltrue);
  1591.                 echo "
  1592.                                 </div>
  1593.                             </div>
  1594.                             <div class=\"content-group\">
  1595.                                 <div class=\"content\">
  1596.                                     <span class=\"label\">";
  1597.                 // line 1065
  1598.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.fee_list__communal_misc"), "html"nulltrue);
  1599.                 echo "</span>
  1600.                                     <div class=\"value\">
  1601.                                         ";
  1602.                 // line 1067
  1603.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.kofun.fee_list__total_price", ["%price%" => twig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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.'1067$this->source); })()), "Kofun", [], "any"falsefalsetrue1067), "communalMiscFee", [], "any"falsefalsetrue1067), 1067$this->source))]), "html"nulltrue);
  1604.                 echo "
  1605.                                     </div>
  1606.                                 </div>
  1607.                             </div>
  1608.                             ";
  1609.             } else {
  1610.                 // line 1072
  1611.                 echo "                            <div class=\"content\">
  1612.                                 <span class=\"label\">諸費用</span>
  1613.                                 <div class=\"value\">
  1614.                                     入山費、納骨料、植栽維持費(管理費)合わせて";
  1615.                 // line 1075
  1616.                 echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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.'1075$this->source); })()), "Kofun", [], "any"falsefalsetrue1075), "communalMaintenanceFee", [], "any"falsefalsetrue1075), 1075$this->source)), "html"nulltrue);
  1617.                 echo "円(税込)
  1618.                                 </div>
  1619.                             </div>
  1620.                             ";
  1621.             }
  1622.             // line 1079
  1623.             echo "                        </div>
  1624.                     </div>
  1625.                 </div>
  1626.                 <div class=\"ec-productRole__kofun-content buy_process\">
  1627.                     <h2>古墳墓のお手続き</h2>
  1628.                     <div class=\"content\">
  1629.                         ①料金表と霊園規則をご確認の上、ご注文ください。
  1630.                     </div>
  1631.                     <div class=\"content\">
  1632.                         ②ご購入に際し、お申込者様の続柄確認書類をご提出いただきます。写真のアップロード、または郵送にてご提出をお願いいたします。
  1633.                     </div>
  1634.                     <div class=\"content sub\">
  1635.                         ※続柄確認書類とはお申込者及び埋葬予定者の本籍地と世帯全員のお名前が記載されたものとなります。(住民票や戸籍謄本など)発行から3カ月以内
  1636.                     </div>
  1637.                     <div class=\"content\">
  1638.                         ③お支払い確認後、霊園から「永代使用承諾証」をお送りいたします。
  1639.                     </div>
  1640.                     <div class=\"content link\">
  1641.                         ";
  1642.             // line 1097
  1643.             if (twig_get_attribute($this->env$this->sourcetwig_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.'1097$this->source); })()), "Kofun", [], "any"falsefalsetrue1097), "termsFileName", [], "any"falsefalsetrue1097)) {
  1644.                 // line 1098
  1645.                 echo "                            <a href=\"";
  1646.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_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.'1098$this->source); })()), "Kofun", [], "any"falsefalsetrue1098), "termsFileName", [], "any"falsefalsetrue1098), 1098$this->source), "terms_file"), "html"nulltrue);
  1647.                 echo "\" target=\"_blank\">墓地使用規則>></a>
  1648.                         ";
  1649.             } else {
  1650.                 // line 1100
  1651.                 echo "                            <div class=\"warning\">墓地使用規則がアップロードされていません。</div>
  1652.                         ";
  1653.             }
  1654.             // line 1102
  1655.             echo "                    </div>
  1656.                 </div>
  1657.             </div>
  1658.         ";
  1659.         }
  1660.         // line 1106
  1661.         echo "        <div class=\"ec-productRole__description\">";
  1662.         echo twig_nl2br($this->sandbox->ensureToStringAllowed(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.'1106$this->source); })()), "description_detail", [], "any"falsefalsetrue1106), 1106$this->source));
  1663.         echo "
  1664.         </div>
  1665.         ";
  1666.         // line 1108
  1667.         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.'1108$this->source); })()), "freearea", [], "any"falsefalsetrue1108)) {
  1668.             // line 1109
  1669.             echo "             <div class=\"ec-productRole__description\">
  1670.                  ";
  1671.             // line 1110
  1672.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$contexttwig_template_from_string($this->env$this->sandbox->ensureToStringAllowed(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.'1110$this->source); })()), "freearea", [], "any"falsefalsetrue1110), 1110$this->source)), array(), truefalsetrue);
  1673.             echo "
  1674.             </div>
  1675.         ";
  1676.         }
  1677.         // line 1113
  1678.         echo "
  1679.         <div class=\"ec-productRole__profile\" id=\"checkout\">
  1680.             ";
  1681.         // line 1116
  1682.         echo "            ";
  1683.         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.'1116$this->source); })()), "Tags", [], "any"falsefalsetrue1116))) {
  1684.             // line 1117
  1685.             echo "                <ul class=\"ec-productRole__tags\">
  1686.                     ";
  1687.             // line 1118
  1688.             $context['_parent'] = $context;
  1689.             $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.'1118$this->source); })()), "Tags", [], "any"falsefalsetrue1118));
  1690.             foreach ($context['_seq'] as $context["_key"] => $context["Tag"]) {
  1691.                 // line 1119
  1692.                 echo "                        <li class=\"ec-productRole__tag tag_";
  1693.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Tag"], "id", [], "any"falsefalsetrue1119), 1119$this->source), "html"nulltrue);
  1694.                 echo "\">";
  1695.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed($context["Tag"], 1119$this->source), "html"nulltrue);
  1696.                 echo "</li>
  1697.                     ";
  1698.             }
  1699.             $_parent $context['_parent'];
  1700.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Tag'], $context['_parent'], $context['loop']);
  1701.             $context array_intersect_key($context$_parent) + $_parent;
  1702.             // line 1121
  1703.             echo "                </ul>
  1704.             ";
  1705.         }
  1706.         // line 1123
  1707.         echo "            ";
  1708.         // line 1124
  1709.         echo "            ";
  1710.         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.'1124$this->source); })()), "hasProductClass", [], "any"falsefalsetrue1124)) {
  1711.             // line 1125
  1712.             echo "<div class=\"ec-productRole__priceRegular\">
  1713.                     ";
  1714.             // line 1126
  1715.             if (( !(null === twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'1126$this->source); })()), "getPrice01Min", [], "any"falsefalsetrue1126)) && (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.'1126$this->source); })()), "getPrice01IncTaxMin", [], "any"falsefalsetrue1126) == 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.'1126$this->source); })()), "getPrice01IncTaxMax", [], "any"falsefalsetrue1126)))) {
  1716.                 // line 1127
  1717.                 echo "                        <span class=\"ec-productRole__priceRegularPrice\">";
  1718.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.product.normal_price"), "html"nulltrue);
  1719.                 echo ":<span class=\"price01-default\">";
  1720.                 echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(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.'1127$this->source); })()), "getPrice01IncTaxMin", [], "any"falsefalsetrue1127), 1127$this->source)), "html"nulltrue);
  1721.                 echo "</span></span>
  1722.                         <span class=\"ec-productRole__priceRegularTax\">";
  1723.                 // line 1128
  1724.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.tax_include"), "html"nulltrue);
  1725.                 echo "</span>
  1726.                     ";
  1727.             } elseif (( !(null === twig_get_attribute($this->env$this->source,             // line 1129
  1728. (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'1129$this->source); })()), "getPrice01Min", [], "any"falsefalsetrue1129)) &&  !(null === twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'1129$this->source); })()), "getPrice01Max", [], "any"falsefalsetrue1129)))) {
  1729.                 // line 1130
  1730.                 echo "                        <span class=\"ec-productRole__priceRegularPrice\">";
  1731.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.product.normal_price"), "html"nulltrue);
  1732.                 echo ":<span class=\"price01-default\">";
  1733.                 echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(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.'1130$this->source); })()), "getPrice01IncTaxMin", [], "any"falsefalsetrue1130), 1130$this->source)), "html"nulltrue);
  1734.                 echo "~ ";
  1735.                 echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(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.'1130$this->source); })()), "getPrice01IncTaxMax", [], "any"falsefalsetrue1130), 1130$this->source)), "html"nulltrue);
  1736.                 echo "</span></span>
  1737.                         <span class=\"ec-productRole__priceRegularTax\">";
  1738.                 // line 1131
  1739.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.tax_include"), "html"nulltrue);
  1740.                 echo "</span>
  1741.                     ";
  1742.             }
  1743.             // line 1133
  1744.             echo "                </div>
  1745.             ";
  1746.         } else {
  1747.             // line 1135
  1748.             echo "                ";
  1749.             if ( !(null === twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'1135$this->source); })()), "getPrice01Max", [], "any"falsefalsetrue1135))) {
  1750.                 // line 1136
  1751.                 echo "                    <span class=\"ec-productRole__priceRegularPrice\">";
  1752.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.product.normal_price"), "html"nulltrue);
  1753.                 echo ":";
  1754.                 echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(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.'1136$this->source); })()), "getPrice01IncTaxMin", [], "any"falsefalsetrue1136), 1136$this->source)), "html"nulltrue);
  1755.                 echo "</span>
  1756.                     <span class=\"ec-productRole__priceRegularTax\">";
  1757.                 // line 1137
  1758.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.tax_include"), "html"nulltrue);
  1759.                 echo "</span>
  1760.                 ";
  1761.             }
  1762.             // line 1139
  1763.             echo "            ";
  1764.         }
  1765.         // line 1140
  1766.         echo "            ";
  1767.         // line 1141
  1768.         echo "            <div class=\"ec-productRole__price\">
  1769.                 ";
  1770.         // line 1142
  1771.         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.'1142$this->source); })()), "hasProductClass", [], "any"falsefalsetrue1142)) {
  1772.             // line 1143
  1773.             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.'1143$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsetrue1143) == 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.'1143$this->source); })()), "getPrice02IncTaxMax", [], "any"falsefalsetrue1143))) {
  1774.                 // line 1144
  1775.                 echo "                        <div class=\"ec-price\">
  1776.                             <span class=\"ec-price__price price02-default\">";
  1777.                 // line 1145
  1778.                 echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(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.'1145$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsetrue1145), 1145$this->source)), "html"nulltrue);
  1779.                 echo "</span>
  1780.                             <span class=\"ec-price__tax\">";
  1781.                 // line 1146
  1782.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.tax_include"), "html"nulltrue);
  1783.                 echo "</span>
  1784.                         </div>
  1785.                     ";
  1786.             } else {
  1787.                 // line 1149
  1788.                 echo "                        <div class=\"ec-price\">
  1789.                             <span class=\"ec-price__price price02-default\">";
  1790.                 // line 1150
  1791.                 echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(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.'1150$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsetrue1150), 1150$this->source)), "html"nulltrue);
  1792.                 echo " ~ ";
  1793.                 echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(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.'1150$this->source); })()), "getPrice02IncTaxMax", [], "any"falsefalsetrue1150), 1150$this->source)), "html"nulltrue);
  1794.                 echo "</span>
  1795.                             <span class=\"ec-price__tax\">";
  1796.                 // line 1151
  1797.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.tax_include"), "html"nulltrue);
  1798.                 echo "</span>
  1799.                         </div>
  1800.                     ";
  1801.             }
  1802.             // line 1154
  1803.             echo "                ";
  1804.         } else {
  1805.             // line 1155
  1806.             echo "                    <div class=\"ec-price\">
  1807.                         <span class=\"ec-price__price\">";
  1808.             // line 1156
  1809.             echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(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.'1156$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsetrue1156), 1156$this->source)), "html"nulltrue);
  1810.             echo "</span>
  1811.                         <span class=\"ec-price__tax\">";
  1812.             // line 1157
  1813.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.tax_include"), "html"nulltrue);
  1814.             echo "</span>
  1815.                     </div>
  1816.                 ";
  1817.         }
  1818.         // line 1160
  1819.         echo "            </div>
  1820.             ";
  1821.         // line 1162
  1822.         echo "            ";
  1823.         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.'1162$this->source); })()), "code_min", [], "any"falsefalsetrue1162))) {
  1824.             // line 1163
  1825.             echo "                <div class=\"ec-productRole__code\">
  1826.                     ";
  1827.             // line 1164
  1828.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.product.code"), "html"nulltrue);
  1829.             echo ": <span class=\"product-code-default\">";
  1830.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'1164$this->source); })()), "code_min", [], "any"falsefalsetrue1164), 1164$this->source), "html"nulltrue);
  1831.             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.'1164$this->source); })()), "code_min", [], "any"falsefalsetrue1164) != 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.'1164$this->source); })()), "code_max", [], "any"falsefalsetrue1164))) {
  1832.                 echo " ~ ";
  1833.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'1164$this->source); })()), "code_max", [], "any"falsefalsetrue1164), 1164$this->source), "html"nulltrue);
  1834.             }
  1835.             echo "</span>
  1836.                 </div>
  1837.             ";
  1838.         }
  1839.         // line 1167
  1840.         echo "            ";
  1841.         // line 1168
  1842.         echo "            ";
  1843.         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.'1168$this->source); })()), "ProductCategories", [], "any"falsefalsetrue1168))) {
  1844.             // line 1169
  1845.             echo "                <div class=\"ec-productRole__category\">
  1846.                     ";
  1847.             // line 1170
  1848.             $context['_parent'] = $context;
  1849.             $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.'1170$this->source); })()), "ProductCategories", [], "any"falsefalsetrue1170));
  1850.             foreach ($context['_seq'] as $context["_key"] => $context["ProductCategory"]) {
  1851.                 // line 1171
  1852.                 echo "                        <ul>
  1853.                             <li>
  1854.                                 ";
  1855.                 // line 1173
  1856.                 $context['_parent'] = $context;
  1857.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["ProductCategory"], "Category", [], "any"falsefalsetrue1173), "path", [], "any"falsefalsetrue1173));
  1858.                 $context['loop'] = [
  1859.                   'parent' => $context['_parent'],
  1860.                   'index0' => 0,
  1861.                   'index'  => 1,
  1862.                   'first'  => true,
  1863.                 ];
  1864.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  1865.                     $length count($context['_seq']);
  1866.                     $context['loop']['revindex0'] = $length 1;
  1867.                     $context['loop']['revindex'] = $length;
  1868.                     $context['loop']['length'] = $length;
  1869.                     $context['loop']['last'] = === $length;
  1870.                 }
  1871.                 foreach ($context['_seq'] as $context["_key"] => $context["Category"]) {
  1872.                     // line 1174
  1873.                     echo "                                    <a href=\"";
  1874.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  1875.                     echo "?category_id=";
  1876.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Category"], "id", [], "any"falsefalsetrue1174), 1174$this->source), "html"nulltrue);
  1877.                     echo "\">";
  1878.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Category"], "name", [], "any"falsefalsetrue1174), 1174$this->source), "html"nulltrue);
  1879.                     echo "</a>";
  1880.                     if ((twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsetrue1174) == false)) {
  1881.                         // line 1175
  1882.                         echo "                                    <span>></span>";
  1883.                     }
  1884.                     ++$context['loop']['index0'];
  1885.                     ++$context['loop']['index'];
  1886.                     $context['loop']['first'] = false;
  1887.                     if (isset($context['loop']['length'])) {
  1888.                         --$context['loop']['revindex0'];
  1889.                         --$context['loop']['revindex'];
  1890.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  1891.                     }
  1892.                 }
  1893.                 $_parent $context['_parent'];
  1894.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Category'], $context['_parent'], $context['loop']);
  1895.                 $context array_intersect_key($context$_parent) + $_parent;
  1896.                 // line 1177
  1897.                 echo "                            </li>
  1898.                         </ul>
  1899.                     ";
  1900.             }
  1901.             $_parent $context['_parent'];
  1902.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductCategory'], $context['_parent'], $context['loop']);
  1903.             $context array_intersect_key($context$_parent) + $_parent;
  1904.             // line 1180
  1905.             echo "                </div>
  1906.             ";
  1907.         }
  1908.         // line 1182
  1909.         echo "            <form action=\"";
  1910.         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.'1182$this->source); })()), "id", [], "any"falsefalsetrue1182)]), "html"nulltrue);
  1911.         echo "\" method=\"post\" id=\"form1\" name=\"form1\">
  1912.                 ";
  1913.         // line 1183
  1914.         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.'1183$this->source); })()), "stock_find", [], "any"falsefalsetrue1183)) {
  1915.             // line 1184
  1916.             echo "                    <div class=\"ec-productRole__actions\">
  1917.                         ";
  1918.             // line 1185
  1919.             if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id1", [], "any"truetruetrue1185)) {
  1920.                 // line 1186
  1921.                 echo "                            <div class=\"ec-select\">
  1922.                                 ";
  1923.                 // line 1187
  1924.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(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.'1187$this->source); })()), "classcategory_id1", [], "any"falsefalsetrue1187), 1187$this->source), 'row');
  1925.                 echo "
  1926.                                 ";
  1927.                 // line 1188
  1928.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(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.'1188$this->source); })()), "classcategory_id1", [], "any"falsefalsetrue1188), 1188$this->source), 'errors');
  1929.                 echo "
  1930.                             </div>
  1931.                             ";
  1932.                 // line 1190
  1933.                 if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id2", [], "any"truetruetrue1190)) {
  1934.                     // line 1191
  1935.                     echo "                                <div class=\"ec-select\">
  1936.                                     ";
  1937.                     // line 1192
  1938.                     echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(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.'1192$this->source); })()), "classcategory_id2", [], "any"falsefalsetrue1192), 1192$this->source), 'row');
  1939.                     echo "
  1940.                                     ";
  1941.                     // line 1193
  1942.                     echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(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.'1193$this->source); })()), "classcategory_id2", [], "any"falsefalsetrue1193), 1193$this->source), 'errors');
  1943.                     echo "
  1944.                                 </div>
  1945.                             ";
  1946.                 }
  1947.                 // line 1196
  1948.                 echo "                        ";
  1949.             }
  1950.             // line 1197
  1951.             echo "                        <div class=\"ec-productRole__stock\" id=\"selected-product-stock\" style=\"margin-bottom: 10px;\">
  1952.                             <span>";
  1953.             // line 1198
  1954.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.product.stock"), "html"nulltrue);
  1955.             echo "</span>
  1956.                             <span class=\"ec-productRole__stockQuantity\" id=\"selected-stock-quantity\">
  1957.                                 ";
  1958.             // line 1200
  1959.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.product.please_select_product_class"), "html"nulltrue);
  1960.             echo "
  1961.                             </span>
  1962.                         </div>
  1963.                         <div class=\"ec-numberInput\"><span>";
  1964.             // line 1203
  1965.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.quantity"), "html"nulltrue);
  1966.             echo "</span>
  1967.                             ";
  1968.             // line 1204
  1969.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(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.'1204$this->source); })()), "quantity", [], "any"falsefalsetrue1204), 1204$this->source), 'widget');
  1970.             echo "
  1971.                             ";
  1972.             // line 1205
  1973.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(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.'1205$this->source); })()), "quantity", [], "any"falsefalsetrue1205), 1205$this->source), 'errors');
  1974.             echo "
  1975.                         </div>
  1976.                     </div>
  1977.                     ";
  1978.             // line 1208
  1979.             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.'1208$this->source); })()), "isCanAddCart", [], "any"falsefalsetrue1208)) {
  1980.                 // line 1209
  1981.                 echo "                        <div class=\"ec-productRole__btn\">
  1982.                             <button type=\"submit\" class=\"ec-blockBtn--action add-cart\">
  1983.                                 ";
  1984.                 // line 1211
  1985.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.product.add_cart"), "html"nulltrue);
  1986.                 echo "
  1987.                             </button>
  1988.                         </div>
  1989.                     ";
  1990.             } else {
  1991.                 // line 1215
  1992.                 echo "                        <div class=\"ec-productRole__btn\">
  1993.                             <button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
  1994.                                 ";
  1995.                 // line 1217
  1996.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.product.can_not_add_cart"), "html"nulltrue);
  1997.                 echo "
  1998.                             </button>
  1999.                         </div>
  2000.                     ";
  2001.             }
  2002.             // line 1221
  2003.             echo "                ";
  2004.         } else {
  2005.             // line 1222
  2006.             echo "                    <div class=\"ec-productRole__btn\">
  2007.                         <button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
  2008.                             ";
  2009.             // line 1224
  2010.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.product.out_of_stock"), "html"nulltrue);
  2011.             echo "
  2012.                         </button>
  2013.                     </div>
  2014.                 ";
  2015.         }
  2016.         // line 1228
  2017.         echo "
  2018.                 ";
  2019.         // line 1229
  2020.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'1229$this->source); })()), 1229$this->source), 'rest');
  2021.         echo "
  2022.             </form>
  2023.             <div class=\"ec-modal\">
  2024.                 <div class=\"ec-modal-overlay\">
  2025.                     <div class=\"ec-modal-wrap\">
  2026.                         <span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"";
  2027.         // line 1234
  2028.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/cross-dark.svg"), "html"nulltrue);
  2029.         echo "\" alt=\"\"/></span></span>
  2030.                         <div id=\"ec-modal-header\" class=\"text-center\">";
  2031.         // line 1235
  2032.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.product.add_cart_complete"), "html"nulltrue);
  2033.         echo "</div>
  2034.                         <div class=\"ec-modal-box\">
  2035.                             <div class=\"ec-role\">
  2036.                                 <span class=\"ec-inlineBtn--cancel\">";
  2037.         // line 1238
  2038.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.product.continue"), "html"nulltrue);
  2039.         echo "</span>
  2040.                                 <a href=\"";
  2041.         // line 1239
  2042.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
  2043.         echo "\" class=\"ec-inlineBtn--action\">";
  2044.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.go_to_cart"), "html"nulltrue);
  2045.         echo "</a>
  2046.                             </div>
  2047.                         </div>
  2048.                     </div>
  2049.                 </div>
  2050.             </div>
  2051.             ";
  2052.         // line 1245
  2053.         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.'1245$this->source); })()), "option_favorite_product", [], "any"falsefalsetrue1245)) {
  2054.             // line 1246
  2055.             echo "                <form action=\"";
  2056.             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.'1246$this->source); })()), "id", [], "any"falsefalsetrue1246)]), "html"nulltrue);
  2057.             echo "\" method=\"post\">
  2058.                     <div class=\"ec-productRole__btn\">
  2059.                         ";
  2060.             // line 1248
  2061.             if (((isset($context["is_favorite"]) || array_key_exists("is_favorite"$context) ? $context["is_favorite"] : (function () { throw new RuntimeError('Variable "is_favorite" does not exist.'1248$this->source); })()) == false)) {
  2062.                 // line 1249
  2063.                 echo "                            <button type=\"submit\" id=\"favorite\" class=\"ec-blockBtn--cancel\">
  2064.                                 ";
  2065.                 // line 1250
  2066.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.product.add_favorite"), "html"nulltrue);
  2067.                 echo "
  2068.                             </button>
  2069.                         ";
  2070.             } else {
  2071.                 // line 1253
  2072.                 echo "                            <button type=\"submit\" id=\"favorite\" class=\"ec-blockBtn--cancel\"
  2073.                                     disabled=\"disabled\">";
  2074.                 // line 1254
  2075.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.product.add_favorite_alrady"), "html"nulltrue);
  2076.                 echo "
  2077.                             </button>
  2078.                         ";
  2079.             }
  2080.             // line 1257
  2081.             echo "                    </div>
  2082.                 </form>
  2083.             ";
  2084.         }
  2085.         // line 1260
  2086.         echo "        </div>
  2087.     </div>
  2088. ";
  2089.         
  2090.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  2091.         
  2092.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  2093.     }
  2094.     public function getTemplateName()
  2095.     {
  2096.         return "Product/detail.twig";
  2097.     }
  2098.     public function isTraitable()
  2099.     {
  2100.         return false;
  2101.     }
  2102.     public function getDebugInfo()
  2103.     {
  2104.         return array (  2200 => 1260,  2195 => 1257,  2189 => 1254,  2186 => 1253,  2180 => 1250,  2177 => 1249,  2175 => 1248,  2169 => 1246,  2167 => 1245,  2156 => 1239,  2152 => 1238,  2146 => 1235,  2142 => 1234,  2134 => 1229,  2131 => 1228,  2124 => 1224,  2120 => 1222,  2117 => 1221,  2110 => 1217,  2106 => 1215,  2099 => 1211,  2095 => 1209,  2093 => 1208,  2087 => 1205,  2083 => 1204,  2079 => 1203,  2073 => 1200,  2068 => 1198,  2065 => 1197,  2062 => 1196,  2056 => 1193,  2052 => 1192,  2049 => 1191,  2047 => 1190,  2042 => 1188,  2038 => 1187,  2035 => 1186,  2033 => 1185,  2030 => 1184,  2028 => 1183,  2023 => 1182,  2019 => 1180,  2011 => 1177,  1996 => 1175,  1987 => 1174,  1970 => 1173,  1966 => 1171,  1962 => 1170,  1959 => 1169,  1956 => 1168,  1954 => 1167,  1942 => 1164,  1939 => 1163,  1936 => 1162,  1933 => 1160,  1927 => 1157,  1923 => 1156,  1920 => 1155,  1917 => 1154,  1911 => 1151,  1905 => 1150,  1902 => 1149,  1896 => 1146,  1892 => 1145,  1889 => 1144,  1887 => 1143,  1885 => 1142,  1882 => 1141,  1880 => 1140,  1877 => 1139,  1872 => 1137,  1865 => 1136,  1862 => 1135,  1858 => 1133,  1853 => 1131,  1844 => 1130,  1842 => 1129,  1838 => 1128,  1831 => 1127,  1829 => 1126,  1826 => 1125,  1823 => 1124,  1821 => 1123,  1817 => 1121,  1806 => 1119,  1802 => 1118,  1799 => 1117,  1796 => 1116,  1792 => 1113,  1786 => 1110,  1783 => 1109,  1781 => 1108,  1775 => 1106,  1769 => 1102,  1765 => 1100,  1759 => 1098,  1757 => 1097,  1737 => 1079,  1730 => 1075,  1725 => 1072,  1717 => 1067,  1712 => 1065,  1704 => 1060,  1699 => 1058,  1692 => 1054,  1687 => 1052,  1680 => 1048,  1675 => 1046,  1672 => 1045,  1670 => 1044,  1665 => 1041,  1651 => 1030,  1646 => 1028,  1641 => 1026,  1638 => 1025,  1631 => 1021,  1627 => 1020,  1622 => 1018,  1619 => 1017,  1617 => 1016,  1613 => 1014,  1605 => 1009,  1600 => 1006,  1592 => 1001,  1587 => 999,  1580 => 995,  1575 => 993,  1567 => 988,  1562 => 986,  1555 => 982,  1550 => 980,  1543 => 976,  1539 => 975,  1534 => 973,  1531 => 972,  1529 => 971,  1523 => 968,  1519 => 967,  1513 => 964,  1506 => 961,  1496 => 957,  1491 => 955,  1488 => 954,  1484 => 953,  1478 => 950,  1473 => 948,  1468 => 946,  1464 => 944,  1459 => 941,  1452 => 939,  1446 => 936,  1443 => 935,  1441 => 934,  1437 => 933,  1434 => 932,  1429 => 931,  1424 => 929,  1421 => 928,  1419 => 927,  1408 => 918,  1393 => 916,  1387 => 913,  1384 => 912,  1382 => 911,  1378 => 910,  1375 => 909,  1357 => 908,  1355 => 907,  1352 => 906,  1343 => 903,  1340 => 902,  1336 => 901,  1330 => 898,  1321 => 892,  1312 => 886,  1302 => 880,  1296 => 878,  1294 => 877,  1290 => 876,  1281 => 870,  1268 => 862,  1260 => 859,  1252 => 856,  1244 => 853,  1236 => 850,  1228 => 847,  1220 => 844,  1212 => 841,  1206 => 837,  1198 => 832,  1195 => 831,  1193 => 830,  1190 => 829,  1187 => 828,  1184 => 827,  1181 => 826,  1178 => 825,  1175 => 824,  1172 => 823,  1169 => 822,  1166 => 821,  1164 => 820,  1157 => 816,  1141 => 803,  1136 => 801,  1130 => 798,  1125 => 795,  1123 => 794,  1118 => 791,  1112 => 788,  1108 => 787,  1105 => 786,  1102 => 785,  1096 => 782,  1090 => 781,  1087 => 780,  1081 => 777,  1077 => 776,  1074 => 775,  1072 => 774,  1070 => 773,  1067 => 772,  1065 => 771,  1062 => 770,  1057 => 768,  1050 => 767,  1047 => 766,  1043 => 764,  1038 => 762,  1029 => 761,  1027 => 760,  1023 => 759,  1016 => 758,  1014 => 757,  1011 => 756,  1008 => 755,  1006 => 754,  1002 => 752,  991 => 750,  987 => 749,  984 => 748,  981 => 747,  979 => 746,  971 => 743,  968 => 742,  965 => 741,  958 => 736,  951 => 732,  947 => 730,  937 => 729,  921 => 722,  908 => 712,  886 => 693,  858 => 668,  854 => 667,  850 => 666,  846 => 665,  842 => 663,  836 => 661,  834 => 660,  829 => 659,  826 => 658,  816 => 656,  802 => 654,  794 => 653,  776 => 652,  771 => 650,  739 => 621,  729 => 614,  699 => 587,  694 => 584,  685 => 578,  681 => 576,  679 => 575,  676 => 574,  667 => 568,  663 => 566,  661 => 565,  583 => 489,  575 => 487,  573 => 486,  568 => 484,  565 => 483,  563 => 482,  549 => 471,  546 => 470,  536 => 469,  75 => 16,  65 => 15,  54 => 11,  52 => 13,  39 => 11,);
  2105.     }
  2106.     public function getSourceContext()
  2107.     {
  2108.         return new Source("{#
  2109. This file is part of EC-CUBE
  2110. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  2111. http://www.ec-cube.co.jp/
  2112. For the full copyright and license information, please view the LICENSE
  2113. file that was distributed with this source code.
  2114. #}
  2115. {% extends 'default_frame.twig' %}
  2116. {% set body_class = 'product_page' %}
  2117. {% block stylesheet %}
  2118.     <style>
  2119.         .slick-slider {
  2120.             margin-bottom: 10px;
  2121.         }
  2122.         .slick-dots {
  2123.             position: absolute;
  2124.             bottom: -45px;
  2125.             display: block;
  2126.             width: 100%;
  2127.             padding: 0;
  2128.             list-style: none;
  2129.             text-align: center;
  2130.         }
  2131.         .slick-dots li {
  2132.             position: relative;
  2133.             display: inline-block;
  2134.             width: 20px;
  2135.             height: 20px;
  2136.             margin: 0 5px;
  2137.             padding: 0;
  2138.             cursor: pointer;
  2139.         }
  2140.         .slick-dots li button {
  2141.             font-size: 0;
  2142.             line-height: 0;
  2143.             display: block;
  2144.             width: 20px;
  2145.             height: 20px;
  2146.             padding: 5px;
  2147.             cursor: pointer;
  2148.             color: transparent;
  2149.             border: 0;
  2150.             outline: none;
  2151.             background: transparent;
  2152.         }
  2153.         .slick-dots li button:hover,
  2154.         .slick-dots li button:focus {
  2155.             outline: none;
  2156.         }
  2157.         .slick-dots li button:hover:before,
  2158.         .slick-dots li button:focus:before {
  2159.             opacity: 1;
  2160.         }
  2161.         .slick-dots li button:before {
  2162.             content: \" \";
  2163.             line-height: 20px;
  2164.             position: absolute;
  2165.             top: 0;
  2166.             left: 0;
  2167.             width: 12px;
  2168.             height: 12px;
  2169.             text-align: center;
  2170.             opacity: .25;
  2171.             background-color: black;
  2172.             border-radius: 50%;
  2173.         }
  2174.         .slick-dots li.slick-active button:before {
  2175.             opacity: .75;
  2176.             background-color: black;
  2177.         }
  2178.         .slick-dots li button.thumbnail img {
  2179.             width: 0;
  2180.             height: 0;
  2181.         }
  2182.         @media only screen and (min-width: 768px) {
  2183.             .ec-sliderItemRole {
  2184.                 margin-bottom: 3rem ;
  2185.             }
  2186.         }
  2187.         .ec-sliderItemRole .slideThumb {
  2188.             width: 10%;
  2189.         }
  2190.         .ec-sliderItemRole .slideThumb img {
  2191.             width: 90%;
  2192.         }
  2193.         /* ///////////////////詳細情報1/////////////////// */
  2194.         .ec-productRole__movie {
  2195.             width: 100%;
  2196.             display: grid;
  2197.             grid-template-columns: 1fr;
  2198.             gap: 20px;
  2199.         }
  2200.         @media only screen and (min-width: 768px) {
  2201.             .ec-productRole__movie {
  2202.                 grid-template-columns: repeat(3, 1fr);
  2203.             }
  2204.         }
  2205.         .ec-productRole__movie iframe {
  2206.             width: 100%;
  2207.             aspect-ratio: 16 / 9;
  2208.         }
  2209.         .movie-caption {
  2210.             font-size: 16px;
  2211.         }
  2212.         /* 住所 */
  2213.         @media only screen and (min-width: 768px) {
  2214.             .ec-productRole__kofun-address {
  2215.                 font-size: 28px;
  2216.                 font-weight: bold;
  2217.                 padding: 1rem 0;
  2218.                 border-bottom: 1px dotted #ccc;
  2219.             }
  2220.         }
  2221.         /* 価格 */
  2222.         .ec-productRole .ec-productRole__price {
  2223.             color:var(--e-global-color-global_color_5);
  2224.             padding-top:0px;
  2225.             font-size: 30px;
  2226.         }
  2227.         /* 説明テキスト */
  2228.         .ec-productRole .ec-productRole__description {
  2229.             margin-top: 20px;
  2230.         }
  2231.         /* 購入ボタン */
  2232.         @media only screen and (min-width: 768px) {
  2233.             .ec-productRole .ec-productRole__btn {
  2234.                 text-align: center;
  2235.                 min-width: 350px;
  2236.                 width: 40%;
  2237.                 margin:0 auto;
  2238.             }
  2239.         }
  2240.         .blueprint-image {
  2241.             width: 100%;
  2242.             max-width: 768px;
  2243.             margin: 15px auto;
  2244.         }
  2245.         .ec-grid3__cell.product-image {
  2246.             margin: 5px 15px;
  2247.         }
  2248.         .detail-top-image {
  2249.             width: 100%;
  2250.             max-width: 1080px;
  2251.             margin: 15px auto;
  2252.         }
  2253. /* ///////////////////詳細情報2/////////////////// */
  2254. /* 見出し_下グリーンライン */
  2255.         .ec-productRole__kofun-content h2 {
  2256.             font-size: 20px;
  2257.             font-weight: bold;
  2258.             color: var(--e-global-color-global_color_4);
  2259.             margin-top: 4rem;
  2260.             margin-bottom: 1rem;
  2261.             padding-bottom: 0.5rem;
  2262.             background: linear-gradient(to right,
  2263.                 var(--e-global-color-global_color_1) 0%,
  2264.                 var(--e-global-color-global_color_1) 20%,
  2265.                 #ddd 20%,
  2266.                 #ddd 100%);
  2267.             background-size: 100% 3px;
  2268.             background-repeat: no-repeat;
  2269.             background-position: bottom;
  2270.         }
  2271.         @media only screen and (min-width: 768px) {
  2272.             .ec-productRole__kofun-content h2 {
  2273.                 font-size: 26px;
  2274.             }
  2275.         }
  2276. /* 見出し_左横グリーンライン */
  2277.         .ec-productRole__kofun-content h3 {
  2278.             font-size: 20px;
  2279.             font-weight: bold;
  2280.             color: var(--e-global-color-global_color_4);
  2281.             margin-top: 4rem;
  2282.             margin-bottom: 1rem;
  2283.             padding-left: 0.5rem;
  2284.             border-left: 10px solid var(--e-global-color-global_color_1);
  2285.             line-height: 1.8;
  2286.         }
  2287. /* おすすめポイント */
  2288.         .ec-productRole__kofun-appeal-points .title {
  2289.             font-size: 18px;
  2290.             font-weight: bold;
  2291.             color: var(--e-global-color-global_color_9);
  2292.             background-color: var(--e-global-color-global_color_1);
  2293.             padding: 0.5rem 4rem 0.5rem 1rem;
  2294.             margin: 2rem 1rem 0 1rem;
  2295.             width: fit-content;
  2296.             border-radius: 6px 6px 0 0;  /* 上側の角だけを丸く */
  2297.         }
  2298.         .ec-productRole__kofun-appeal-points .content {
  2299.             margin: 0 1rem;
  2300.             padding: 1rem;
  2301.             background-color: var(--e-global-color-global_color_7);
  2302.             border-radius: 4px;
  2303.         }
  2304.         .ec-productRole__kofun-content {
  2305.             padding-bottom: 20px;
  2306.             margin-bottom: 20px;
  2307.         }
  2308.         .ec-productRole__kofun-content .content {
  2309.             display: flex;
  2310.             align-items: flex-start;
  2311.         }
  2312.         .ec-productRole__kofun-content.basicline .content {
  2313.             padding: 0.5rem 0;
  2314.             border-bottom: 1px dotted #ccc;
  2315.         }
  2316.         .tab-content.active .content {
  2317.             padding: 0.5rem 0;
  2318.             border-bottom: 1px dotted #ccc;
  2319.         }
  2320.         .ec-productRole__kofun-content.buy_process .content {
  2321.             line-height:1.8;
  2322.             padding-left:0.5rem;
  2323.         }
  2324.         .ec-productRole__kofun-content .content-group {
  2325.             margin-top: 1rem;
  2326.         }
  2327.         .ec-productRole__kofun-content .content span.label {
  2328.             display: inline-block;
  2329.             width: 120px;  /* 項目名の幅を固定 */
  2330.             color: var(--e-global-color-global_color_5);
  2331.             font-weight: bold;
  2332.             flex-shrink: 0;
  2333.         }
  2334.         .ec-productRole__kofun-content.base-info .label::before {
  2335.             content: \"【\";
  2336.         }
  2337.         .ec-productRole__kofun-content.base-info .label::after {
  2338.             content: \"】\";
  2339.         }
  2340.         .ec-productRole__kofun-content.basicline a {
  2341.             color: #333 !important;
  2342.             text-decoration: underline !important;
  2343.         }
  2344.         .ec-productRole__kofun-content.basicline a:hover {
  2345.             color: var(--e-global-color-global_color_2) !important;
  2346.         }
  2347.         .ec-productRole__kofun-content .content span.label2 {
  2348.             display: inline-block;
  2349.             width: 120px;  /* 項目名の幅を固定 */
  2350.             color: var(--e-global-color-global_color_1);
  2351.             font-weight: bold;
  2352.             flex-shrink: 0;
  2353.         }
  2354.         .ec-productRole__kofun-content .content.note {
  2355.             margin-top: 1rem;
  2356.             font-size: 0.9em;
  2357.             line-height:1.5;
  2358.         }
  2359.         .ec-productRole__kofun-content .content.sub {
  2360.             padding-left: 1.5rem;
  2361.             margin-bottom: 1rem;
  2362.             font-size: 0.9em;
  2363.             line-height:1.5;
  2364.         }
  2365.         .ec-productRole__kofun-content .content.link {
  2366.             margin-top: 1rem;
  2367.         }
  2368.         .warning {
  2369.             color: red;
  2370.         }
  2371.         .value {
  2372.             display: flex;
  2373.             flex-direction: column;
  2374.         }
  2375.         .ec-productRole__kofun-content.description-detail {
  2376.             margin-top: 50px;
  2377.         }
  2378.         .ec-productRole__kofun-content.description-detail strong {
  2379.             font-size: 30px;
  2380.             color: var(--e-global-color-global_color_2);
  2381.         }
  2382. /* 価格表 */
  2383.         .ec-productRole__kofun-content.price-table .header {
  2384.             display: flex;
  2385.             align-items: flex-start;
  2386.             font-weight: bold;
  2387.             padding: 0.8rem;
  2388.             border-bottom: 1px dashed var(--e-global-color-global_color_2);
  2389.         }
  2390.         .ec-productRole__kofun-content.price-table .content {
  2391.             padding: 0.8em;
  2392.             border-bottom: 1px dashed var(--e-global-color-global_color_2);
  2393.         }
  2394.         .ec-productRole__kofun-content.price-table span.label {
  2395.             width: 30%;
  2396.         }
  2397.         @media only screen and (min-width: 768px) {
  2398.             .ec-productRole__kofun-content.price-table span.label {
  2399.                 width: 320px;
  2400.             }
  2401.         }
  2402.         .ec-productRole__kofun-content.price-table .note {
  2403.             padding-top: 1rem;
  2404.             font-size: 0.9em;
  2405.         }
  2406. /* タブ切り替え用のスタイル追加 */
  2407.         .tab-container {
  2408.             margin: 2rem 0;
  2409.         }
  2410.         .tab-buttons {
  2411.             display: flex;
  2412.             position: relative;
  2413.             z-index: 1;
  2414.         }
  2415.         .tab-button {
  2416.             padding: 1rem 2rem;
  2417.             background: #ffffff;
  2418.             border: none;
  2419.             border-bottom: 1px solid var(--e-global-color-global_color_2);
  2420.             cursor: pointer;
  2421.             font-size: 16px;
  2422.             font-weight: bold;
  2423.             margin-right: 4px;
  2424.             margin-bottom: -1px;
  2425.             position: relative;
  2426.         }
  2427.         .tab-button.active {
  2428.             background: #ECF2D3;
  2429.             border: 1px solid var(--e-global-color-global_color_2);
  2430.             border-bottom: none;
  2431.         }
  2432.         .tab-content {
  2433.             display: none;
  2434.             padding: 2rem;
  2435.             background: #ECF2D3;
  2436.             border: 1px solid var(--e-global-color-global_color_2);
  2437.         }
  2438.         .tab-content.active {
  2439.             display: block;
  2440.         }
  2441.         .fee-note {
  2442.             margin-top: 1rem;
  2443.             font-size: 0.9em;
  2444.             color: #666;
  2445.         }
  2446.         .ec-productRole__kofun-content.scroll-to-checkout {
  2447.             text-align: center;
  2448.             margin-top: 50px;
  2449.         }
  2450.         .ec-productRole__kofun-content.scroll-to-checkout a span {
  2451.             text-decoration: inherit;
  2452.             display: inline-block;
  2453.         }
  2454.         .ec-productRole__kofun-content.scroll-to-checkout a {
  2455.             margin: 0 auto;
  2456.             display: flex;
  2457.             align-items: center;
  2458.             justify-content: center;
  2459.             line-height: 1;
  2460.             font-weight: bold;
  2461.             border-radius: 3px;
  2462.             color: #ffffff;
  2463.             fill: #ffffff;
  2464.             text-align: center;
  2465.             transition: all .3s;
  2466.             background-color: #000000;
  2467.             padding: 20px;
  2468.             width: 300px;
  2469.             height: 45px;
  2470.         }
  2471.         @media only screen and (max-width: 768px) {
  2472.             .ec-productRole__kofun-content.scroll-to-checkout a {
  2473.                 font-size: 17px;
  2474.                 padding: 20px 22px;
  2475.             }
  2476.         }
  2477.         .ec-productRole__stock {
  2478.             display: none;
  2479.         }
  2480.         .ec-productRole__kofun-content.visit-reservation {
  2481.             text-align: center;
  2482.             margin-top: 50px;
  2483.         }
  2484.         .ec-productRole__kofun-content.visit-reservation a {
  2485.             margin: 0 auto;
  2486.             display: flex;
  2487.             align-items: center;
  2488.             justify-content: center;
  2489.             line-height: 1;
  2490.             font-weight: bold;
  2491.             border-radius: 3px;
  2492.             color: #ffffff;
  2493.             fill: #ffffff;
  2494.             text-align: center;
  2495.             transition: all .3s;
  2496.             background-color: #000000;
  2497.             padding: 20px;
  2498.             width: 300px;
  2499.             height: 45px;
  2500.             text-decoration: none;
  2501.         }
  2502.         @media only screen and (max-width: 768px) {
  2503.             .ec-productRole__kofun-content.visit-reservation a {
  2504.                 font-size: 17px;
  2505.                 padding: 20px 22px;
  2506.             }
  2507.         }
  2508.     </style>
  2509. {% endblock %}
  2510. {% block javascript %}
  2511.     <script>
  2512.         eccube.classCategories = {{ get_extended_class_categories_as_json(Product)|raw }};
  2513.         // 規格2に選択肢を割り当てる。
  2514.         function fnSetClassCategories(form, classcat_id2_selected) {
  2515.             var \$form = \$(form);
  2516.             var product_id = \$form.find('input[name=product_id]').val();
  2517.             var \$sele1 = \$form.find('select[name=classcategory_id1]');
  2518.             var \$sele2 = \$form.find('select[name=classcategory_id2]');
  2519.             eccube.setClassCategories(\$form, product_id, \$sele1, \$sele2, classcat_id2_selected);
  2520.         }
  2521.         {% if form.classcategory_id2 is defined %}
  2522.         fnSetClassCategories(
  2523.             \$('#form1'), {{ form.classcategory_id2.vars.value|json_encode|raw }}
  2524.         );
  2525.         {% elseif form.classcategory_id1 is defined %}
  2526.         eccube.checkStock(\$('#form1'), {{ Product.id }}, {{ form.classcategory_id1.vars.value|json_encode|raw }}, null);
  2527.         {% endif %}
  2528.     </script>
  2529.     <script>
  2530.         \$(function() {
  2531.             // bfcache無効化
  2532.             \$(window).bind('pageshow', function(event) {
  2533.                 if (event.originalEvent.persisted) {
  2534.                     location.reload(true);
  2535.                 }
  2536.             });
  2537.             // Core Web Vital の Cumulative Layout Shift(CLS)対策のため
  2538.             // img タグに width, height が付与されている.
  2539.             // 630px 未満の画面サイズでは縦横比が壊れるための対策
  2540.             // see https://github.com/EC-CUBE/ec-cube/pull/5023
  2541.             \$('.ec-grid2__cell').hide();
  2542.             var removeSize = function () {
  2543.                 \$('.slide-item').height('');
  2544.                 \$('.slide-item img')
  2545.                     .removeAttr('width')
  2546.                     .removeAttr('height')
  2547.                     .removeAttr('style');
  2548.             };
  2549.             var slickInitial = function(slick) {
  2550.                 \$('.ec-grid2__cell').fadeIn(1500);
  2551.                 var baseHeight = \$(slick.target).height();
  2552.                 var baseWidth = \$(slick.target).width();
  2553.                 var rate = baseWidth / baseHeight;
  2554.                 \$('.slide-item').height(baseHeight * rate); // 余白を削除する
  2555.                 // transform を使用することでCLSの影響を受けないようにする
  2556.                 \$('.slide-item img')
  2557.                     .css(
  2558.                         {
  2559.                             'transform-origin': 'top left',
  2560.                             'transform': 'scaleY(' + rate + ')',
  2561.                             'transition': 'transform .1s'
  2562.                         }
  2563.                     );
  2564.                 // 正しいサイズに近くなったら属性を解除する
  2565.                 setTimeout(removeSize, 500);
  2566.             };
  2567.             \$('.item_visual').on('init', slickInitial);
  2568.             // リサイズ時は CLS の影響を受けないため属性を解除する
  2569.             \$(window).resize(removeSize);
  2570.             \$('.item_visual').slick({
  2571.                 dots: false,
  2572.                 arrows: false,
  2573.                 responsive: [{
  2574.                     breakpoint: 768,
  2575.                     settings: {
  2576.                         dots: true
  2577.                     }
  2578.                 }]
  2579.             });
  2580.             \$('.slideThumb').on('click', function() {
  2581.                 var index = \$(this).attr('data-index');
  2582.                 \$('.item_visual').slick('slickGoTo', index, false);
  2583.             })
  2584.             // タブ切り替え用のJavaScript
  2585.             \$('.tab-button').on('click', function() {
  2586.                 // すべてのタブとコンテンツからactiveクラスを削除
  2587.                 \$('.tab-button').removeClass('active');
  2588.                 \$('.tab-content').removeClass('active');
  2589.                 // クリックされたタブとそれに対応するコンテンツにactiveクラスを追加
  2590.                 \$(this).addClass('active');
  2591.                 const tabId = \$(this).data('tab');
  2592.                 \$('#' + tabId).addClass('active');
  2593.             });
  2594.         });
  2595.     </script>
  2596.     <script>
  2597.         \$(function() {
  2598.             \$('.add-cart').on('click', function(event) {
  2599.                 {% if form.classcategory_id1 is defined %}
  2600.                 // 規格1フォームの必須チェック
  2601.                 if (\$('#classcategory_id1').val() == '__unselected' || \$('#classcategory_id1').val() == '') {
  2602.                     \$('#classcategory_id1')[0].setCustomValidity('{{ 'front.product.product_class_unselected'|trans }}');
  2603.                     return true;
  2604.                 } else {
  2605.                     \$('#classcategory_id1')[0].setCustomValidity('');
  2606.                 }
  2607.                 {% endif %}
  2608.                 {% if form.classcategory_id2 is defined %}
  2609.                 // 規格2フォームの必須チェック
  2610.                 if (\$('#classcategory_id2').val() == '__unselected' || \$('#classcategory_id2').val() == '') {
  2611.                     \$('#classcategory_id2')[0].setCustomValidity('{{ 'front.product.product_class_unselected'|trans }}');
  2612.                     return true;
  2613.                 } else {
  2614.                     \$('#classcategory_id2')[0].setCustomValidity('');
  2615.                 }
  2616.                 {% endif %}
  2617.                 // 個数フォームのチェック
  2618.                 if (\$('#quantity').val() < 1) {
  2619.                     \$('#quantity')[0].setCustomValidity('{{ 'front.product.invalid_quantity'|trans }}');
  2620.                     return true;
  2621.                 } else {
  2622.                     \$('#quantity')[0].setCustomValidity('');
  2623.                 }
  2624.                 event.preventDefault();
  2625.                 \$form = \$('#form1');
  2626.                 \$.ajax({
  2627.                     url: \$form.attr('action'),
  2628.                     type: \$form.attr('method'),
  2629.                     data: \$form.serialize(),
  2630.                     dataType: 'json',
  2631.                     beforeSend: function(xhr, settings) {
  2632.                         // Buttonを無効にする
  2633.                         \$('.add-cart').prop('disabled', true);
  2634.                     }
  2635.                 }).done(function(data) {
  2636.                     // レスポンス内のメッセージをalertで表示
  2637.                     \$.each(data.messages, function() {
  2638.                         \$('#ec-modal-header').text(this);
  2639.                     });
  2640.                     \$('.ec-modal').show()
  2641.                     // カートブロックを更新する
  2642.                     \$.ajax({
  2643.                         url: \"{{ url('block_cart') }}\",
  2644.                         type: 'GET',
  2645.                         dataType: 'html'
  2646.                     }).done(function(html) {
  2647.                         \$('.ec-headerRole__cart').html(html);
  2648.                     });
  2649.                 }).fail(function(data) {
  2650.                     alert('{{ 'front.product.add_cart_error'|trans }}');
  2651.                 }).always(function(data) {
  2652.                     // Buttonを有効にする
  2653.                     \$('.add-cart').prop('disabled', false);
  2654.                 });
  2655.             });
  2656.             \$('.scroll-to-checkout a').on('click', function(e) {
  2657.                 e.preventDefault();
  2658.                 const targetId = \$(this).attr('href');
  2659.                 const targetPosition = \$(targetId).offset().top;
  2660.                 \$('html, body').animate({
  2661.                     scrollTop: targetPosition
  2662.                 }, 600); // 800ミリ秒かけてスクロール
  2663.             });
  2664.         });
  2665.         \$('.ec-modal-wrap').on('click', function(e) {
  2666.             // モーダル内の処理は外側にバブリングさせない
  2667.             e.stopPropagation();
  2668.         });
  2669.         \$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
  2670.             \$('.ec-modal').hide()
  2671.         });
  2672.     </script>
  2673.     <script type=\"application/ld+json\">
  2674.     {
  2675.         \"@context\": \"https://schema.org/\",
  2676.         \"@type\": \"Product\",
  2677.         \"name\": \"{{ Product.name }}\",
  2678.         \"image\": [
  2679.             {% for img in Product.ProductImage %}
  2680.                 \"{{ app.request.schemeAndHttpHost }}{{ asset(img, 'save_image') }}\"{% if not loop.last %},{% endif %}
  2681.             {% else %}
  2682.                 \"{{ app.request.schemeAndHttpHost }}{{ asset(''|no_image_product, 'save_image') }}\"
  2683.             {% endfor %}
  2684.         ],
  2685.         \"description\": \"{{ Product.description_list | default(Product.description_detail) | replace({'\\n': '', '\\r': ''}) | slice(0,300) }}\",
  2686.         {% if Product.code_min %}
  2687.         \"sku\": \"{{ Product.code_min }}\",
  2688.         {% endif %}
  2689.         \"offers\": {
  2690.             \"@type\": \"Offer\",
  2691.             \"url\": \"{{ url('product_detail', {'id': Product.id}) }}\",
  2692.             \"priceCurrency\": \"{{ eccube_config.currency }}\",
  2693.             \"price\": {{ Product.getPrice02IncTaxMin ? Product.getPrice02IncTaxMin : 0}},
  2694.             \"availability\": \"{{ Product.stock_find ? \"InStock\" : \"OutOfStock\" }}\"
  2695.         }
  2696.     }
  2697.     </script>
  2698.     <script>
  2699.         \$(function() {
  2700.             // 規格1が変更されたとき
  2701.             \$('#classcategory_id1').on('change', function() {
  2702.                 updateStock();
  2703.             });
  2704.             // 規格2が変更されたとき
  2705.             \$('#classcategory_id2').on('change', function() {
  2706.                 updateStock();
  2707.             });
  2708.             // 初期表示時
  2709.             updateStock();
  2710.             // 在庫表示を更新する関数
  2711.             function updateStock() {
  2712.                 // 現在選択されているProductClassのデータを取得
  2713.                 var productClassId = \$('#ProductClass').val();
  2714.                 if (!productClassId) {
  2715.                     \$('#selected-stock-quantity').text('{{ 'front.product.please_select_product_class'|trans }}');
  2716.                     return;
  2717.                 }
  2718.                 // 選択された商品規格の情報を取得
  2719.                 var classCategory1 = \$('#classcategory_id1').val() || '__unselected';
  2720.                 var classCategory2 = \$('#classcategory_id2').val() || '';
  2721.                 // 商品規格情報を取得
  2722.                 var productClass = null;
  2723.                 if (eccube.classCategories[classCategory1]) {
  2724.                     if (classCategory2 && eccube.classCategories[classCategory1]['#' + classCategory2]) {
  2725.                         productClass = eccube.classCategories[classCategory1]['#' + classCategory2];
  2726.                     } else if (eccube.classCategories[classCategory1]['#']) {
  2727.                         productClass = eccube.classCategories[classCategory1]['#'];
  2728.                     }
  2729.                 }
  2730.                 if (!productClass) {
  2731.                     \$('#selected-stock-quantity').text('{{ 'front.product.please_select_product_class'|trans }}');
  2732.                     return;
  2733.                 }
  2734.                 // 在庫表示を更新
  2735.                 var stockQuantityElement = \$('#selected-stock-quantity');
  2736.                 if (productClass.stock !== null && productClass.stock > 0) {
  2737.                     stockQuantityElement.text(productClass.stock);
  2738.                 } else {
  2739.                     stockQuantityElement.text('{{ 'front.product.out_of_stock'|trans }}');
  2740.                 }
  2741.             }
  2742.         });
  2743.     </script>
  2744. {% endblock %}
  2745. {% block main %}
  2746.     <div class=\"ec-productRole\">
  2747.         <div class=\"ec-pageHeader\">
  2748.             <h1 class=\"km_pagetitle\">{{ Product.name }}</h1>
  2749.         </div>
  2750.         <div class=\"detail-top-image\">
  2751.             <img src=\"{{ asset(Product.ProductImage[0], 'save_image') }}\">
  2752.         </div>
  2753.         <div class=\"ec-productRole__profile\">
  2754.             {# 住所 #}
  2755.             {% if Product.kofun_product_type and Product.kofun_product_type.id == 1 %}
  2756.                 <div class=\"ec-productRole__kofun-address\">
  2757.                     {{ Product.Kofun.Pref.name ?? '' }}{{ Product.Kofun.addr01 }}{{ Product.Kofun.addr02 }}
  2758.                 </div>
  2759.             {% endif %}
  2760.             {# タグ #}
  2761.             {% if Product.Tags is not empty %}
  2762.                 <ul class=\"ec-productRole__tags\">
  2763.                     {% for Tag in Product.Tags %}
  2764.                         <li class=\"ec-productRole__tag tag_{{ Tag.id }}\">{{ Tag }}</li>
  2765.                     {% endfor %}
  2766.                 </ul>
  2767.             {% endif %}
  2768.             {# 通常価格 #}
  2769.             {% if Product.hasProductClass -%}
  2770.                 <div class=\"ec-productRole__priceRegular\">
  2771.                     {% if Product.getPrice01Min is not null and Product.getPrice01IncTaxMin == Product.getPrice01IncTaxMax %}
  2772.                         <span class=\"ec-productRole__priceRegularPrice\">{{ 'front.product.normal_price'|trans }}:<span class=\"price01-default\">{{ Product.getPrice01IncTaxMin|price }}</span></span>
  2773.                         <span class=\"ec-productRole__priceRegularTax\">{{ 'common.tax_include'|trans }}</span>
  2774.                     {% elseif Product.getPrice01Min is not null and Product.getPrice01Max is not null %}
  2775.                         <span class=\"ec-productRole__priceRegularPrice\">{{ 'front.product.normal_price'|trans }}:<span class=\"price01-default\">{{ Product.getPrice01IncTaxMin|price }}~ {{ Product.getPrice01IncTaxMax|price }}</span></span>
  2776.                         <span class=\"ec-productRole__priceRegularTax\">{{ 'common.tax_include'|trans }}</span>
  2777.                     {% endif %}
  2778.                 </div>
  2779.             {% else %}
  2780.                 {% if Product.getPrice01Max is not null %}
  2781.                     <span class=\"ec-productRole__priceRegularPrice\">{{ 'front.product.normal_price'|trans }}:{{ Product.getPrice01IncTaxMin|price }}</span>
  2782.                     <span class=\"ec-productRole__priceRegularTax\">{{ 'common.tax_include'|trans }}</span>
  2783.                 {% endif %}
  2784.             {% endif %}
  2785.             {# 販売価格 #}
  2786.             <div class=\"ec-productRole__price\">
  2787.                 {% if Product.hasProductClass -%}
  2788.                     {% if Product.getPrice02IncTaxMin == Product.getPrice02IncTaxMax %}
  2789.                         <div class=\"ec-price\">
  2790.                             <span class=\"ec-price__price price02-default\">{{ Product.getPrice02IncTaxMin|price }}</span>
  2791.                             <span class=\"ec-price__tax\">{{ 'common.tax_include'|trans }}</span>
  2792.                         </div>
  2793.                     {% else %}
  2794.                         <div class=\"ec-price\">
  2795.                             <span class=\"ec-price__price price02-default\">{{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}</span>
  2796.                             <span class=\"ec-price__tax\">{{ 'common.tax_include'|trans }}</span>
  2797.                         </div>
  2798.                     {% endif %}
  2799.                 {% else %}
  2800.                     <div class=\"ec-price\">
  2801.                         <span class=\"ec-price__price\">{{ Product.getPrice02IncTaxMin|price }}</span>
  2802.                         <span class=\"ec-price__tax\">{{ 'common.tax_include'|trans }}</span>
  2803.                     </div>
  2804.                 {% endif %}
  2805.             </div>
  2806.         </div>
  2807.         {% if Product.kofun_product_type and Product.kofun_product_type.id == 1 %}
  2808.             <div class=\"ec-productRole__kofun\">
  2809.                 <div class=\"ec-productRole__kofun-content description-detail\">
  2810.                     {{ Product.Kofun.descriptionDetail|raw|nl2br }}
  2811.                 </div>
  2812.                 <div class=\"ec-productRole__kofun-appeal-points\">
  2813.                     <div class=\"title\">{{ 'front.kofun.appeal_points_title'|trans }}</div>
  2814.                     <div class=\"content\">
  2815.                         {{ Product.Kofun.appealPoints|raw|nl2br }}
  2816.                     </div>
  2817.                 </div>
  2818.                 <div class=\"ec-productRole__kofun-content scroll-to-checkout\">
  2819.                     <a href=\"#checkout\">
  2820.                         <span>ご購入はこちらから</span>
  2821.                     </a>
  2822.                 </div>
  2823.                 <div class=\"ec-productRole__kofun-content access\">
  2824.                     <h2>アクセス</h2>
  2825.                     <div class=\"content\">
  2826.                         {{ Product.Kofun.access|raw|nl2br }}
  2827.                     </div>
  2828.                 </div>
  2829.                 {% if app.environment == 'prod' %}
  2830.                     {% if Product.Kofun.id == 'bj0zQKulUcfULgr06dwy' %}
  2831.                         {% set visit_url = 'https://calendar.app.google/DSkdUAXqMmRxZnti8' %}
  2832.                     {% elseif Product.Kofun.id == 'FaUkQoWKRHRumqlKIvgg' %}
  2833.                         {% set visit_url = 'https://calendar.app.google/SasLwuKaFwQSZZrz7' %}
  2834.                     {% endif %}
  2835.                 {% elseif app.environment == 'dev' %}
  2836.                     {% set visit_url = 'https://calendar.app.google/ECkmJUvKpra9SSQU9' %}
  2837.                 {% endif %}
  2838.                 {% if visit_url is defined %}
  2839.                 <div class=\"ec-productRole__kofun-content visit-reservation\">
  2840.                     <a href=\"{{ visit_url }}\" target=\"_blank\">
  2841.                         <span>見学のご予約はこちらから</span>
  2842.                     </a>
  2843.                 </div>
  2844.                 {% endif %}
  2845.                 <div class=\"ec-productRole__kofun-content basicline\">
  2846.                     <h2>基本情報</h2>
  2847.                     <div class=\"content\">
  2848.                         <span class=\"label\">{{ 'front.kofun.base_info__danka_duty'|trans }}</span>{{ Product.Kofun.dankaDuty|raw|nl2br }}
  2849.                     </div>
  2850.                     <div class=\"content\">
  2851.                         <span class=\"label\">{{ 'front.kofun.base_info__religion'|trans }}</span>{{ Product.Kofun.religion|raw|nl2br }}
  2852.                     </div>
  2853.                     <div class=\"content\">
  2854.                         <span class=\"label\">{{ 'front.kofun.base_info__successor'|trans }}</span>{{ Product.Kofun.successor|raw|nl2br }}
  2855.                     </div>
  2856.                     <div class=\"content\">
  2857.                         <span class=\"label\">{{ 'front.kofun.base_info__ritual'|trans }}</span>{{ Product.Kofun.ritual|raw|nl2br }}
  2858.                     </div>
  2859.                     <div class=\"content\">
  2860.                         <span class=\"label\">{{ 'front.kofun.base_info__features'|trans }}</span>{{ Product.Kofun.features|raw|nl2br }}
  2861.                     </div>
  2862.                     <div class=\"content\">
  2863.                         <span class=\"label\">{{ 'front.kofun.base_info__facilities'|trans }}</span>{{ Product.Kofun.facilities|raw|nl2br }}
  2864.                     </div>
  2865.                     <div class=\"content\">
  2866.                         <span class=\"label\">{{ 'front.kofun.base_info__business_hours'|trans }}</span>{{ Product.Kofun.businessHours|raw|nl2br }}
  2867.                     </div>
  2868.                     <div class=\"content\">
  2869.                         <span class=\"label\">{{ 'front.kofun.base_info__holidays'|trans }}</span>{{ Product.Kofun.holidays|raw|nl2br }}
  2870.                     </div>
  2871.                 </div>
  2872.                 <div class=\"ec-productRole__kofun-content basicline\">
  2873.                     <h2>古墳の概要</h2>
  2874.                     <div class=\"content\">
  2875.                         <span class=\"label\">【形状】</span>
  2876.                         <div class=\"value\">
  2877.                             {{ Product.Kofun.shape|raw|nl2br }}
  2878.                         </div>
  2879.                     </div>
  2880.                     <div class=\"content\">
  2881.                         <span class=\"label\">【区画】</span>
  2882.                         <div class=\"value\">
  2883.                             <div>{{ 'front.kofun.kofun_summary__section_one_person'|trans({'%count%': Product.Kofun.onePersonSectionCount}) }}</div>
  2884.                             {% if (Product.Kofun.twoPersonSectionCount > 0) %}
  2885.                             <div>{{ 'front.kofun.kofun_summary__section_two_person'|trans({'%count%': Product.Kofun.twoPersonSectionCount}) }}</div>
  2886.                             {% endif %}
  2887.                             <div>{{ 'front.kofun.kofun_summary__section_communal'|trans({'%count%': Product.Kofun.communalSectionCount}) }}</div>
  2888.                         </div>
  2889.                     </div>
  2890.                     <div class=\"content\">
  2891.                         <span class=\"label\">【副葬品】</span>
  2892.                         <div class=\"value\">
  2893.                             {{ Product.Kofun.burialGoods|raw|nl2br }}
  2894.                         </div>
  2895.                     </div>
  2896.                     <div class=\"content\">
  2897.                         <span class=\"label\">【販売開始日】</span>
  2898.                         <div class=\"value\">
  2899.                             {{ Product.Kofun.salesStartDate|raw|nl2br }}
  2900.                         </div>
  2901.                     </div>
  2902.                     <div class=\"content\">
  2903.                         <span class=\"label\">【完成予定日】</span>
  2904.                         <div class=\"value\">
  2905.                             {{ Product.Kofun.completionDate|raw|nl2br }}
  2906.                         </div>
  2907.                     </div>
  2908.                     {% for BlueprintImage in Product.Kofun.BlueprintImage %}
  2909.                         <div class=\"blueprint-image\">
  2910.                             <img src=\"{{ asset(BlueprintImage, 'save_image') }}\">
  2911.                         </div>
  2912.                     {% endfor %}
  2913.                     <div class=\"ec-grid3\">
  2914.                         {% set descriptions = Product.imageDescriptions|split('|') %}
  2915.                         {% for ProductImage in Product.ProductImage|slice(1, 3) %}
  2916.                             <div class=\"ec-grid3__cell product-image\">
  2917.                                 <img src=\"{{ asset(ProductImage, 'save_image') }}\" alt=\"\" loading=\"lazy\">
  2918.                                 {% if descriptions[loop.index0] is defined %}
  2919.                                     <div class=\"product-image-description\">
  2920.                                         {{ descriptions[loop.index0]|raw|nl2br }}
  2921.                                     </div>
  2922.                                 {% endif %}
  2923.                             </div>
  2924.                         {% endfor %}
  2925.                     </div>
  2926.                 </div>
  2927.                 <div class=\"ec-productRole__kofun-content scroll-to-checkout\">
  2928.                     <a href=\"#checkout\">
  2929.                         <span>ご購入はこちらから</span>
  2930.                     </a>
  2931.                 </div>
  2932.                 {% if Product.movie_url %}
  2933.                 <div class=\"ec-productRole__kofun-content introduction_movie\">
  2934.                     <h2>{{ 'front.kofun.introduction_movie'|trans }}</h2>
  2935.                     <div class=\"ec-productRole__movie\">
  2936.                         {% for movie_url in Product.movie_url|split('\\n') %}
  2937.                             <div class=\"movie-item\">
  2938.                                 <iframe src=\"https://www.youtube.com/embed/{{ movie_url|split(',')|first }}?mute=1&rel=0&loop=1\" frameborder=\"0\" allow=\"picture-in-picture\" allowfullscreen></iframe>
  2939.                                 {% if movie_url|split(',')|length > 1 %}
  2940.                                     <div class=\"movie-caption\">
  2941.                                         {{ movie_url|split(',', 2)|last }}
  2942.                                     </div>
  2943.                                 {% endif %}
  2944.                             </div>
  2945.                         {% endfor %}
  2946.                     </div>
  2947.                 </div>
  2948.                 {% endif %}
  2949.                 <div class=\"ec-productRole__kofun-content price-table\">
  2950.                     <h2>{{ 'front.kofun.price_table'|trans }}</h2>
  2951.                     <div class=\"header\">
  2952.                         <span class=\"label\">{{ 'front.kofun.price_table_header__type'|trans }}</span>
  2953.                         <div class=\"value\">
  2954.                             {{ 'front.kofun.price_table_header__price'|trans }}
  2955.                         </div>
  2956.                     </div>
  2957.                     {% for ProductClass in Product.ProductClasses %}
  2958.                     <div class=\"content\">
  2959.                         <span class=\"label\">{{ ProductClass.ClassCategory1.Name }}</span>
  2960.                         <div class=\"value\">
  2961.                             {{ 'front.kofun.price_table_data__price'|trans({'%price1%': ProductClass.eternalUseFee|number_format, '%price2%': ProductClass.miscellaneousFee|number_format, '%price3%': ProductClass.Price02|number_format}) }}
  2962.                         </div>
  2963.                     </div>
  2964.                     {% endfor %}
  2965.                     <div class=\"note\">{{ 'front.kofun.price_table_note'|trans }}</div>
  2966.                 </div>
  2967.                 <div class=\"ec-productRole__kofun-content\">
  2968.                     <h3>{{ 'front.kofun.fee_list'|trans }}</h3>
  2969.                     <div class=\"tab-container\">
  2970.                         <div class=\"tab-buttons\">
  2971.                             <button class=\"tab-button active\" data-tab=\"eternal\">{{ 'front.kofun.fee_list__eternal'|trans }}</button>
  2972.                             <button class=\"tab-button\" data-tab=\"communal\">{{ 'front.kofun.fee_list__communal'|trans }}</button>
  2973.                         </div>
  2974.                         <div id=\"eternal\" class=\"tab-content active\">
  2975.                             {% if (Product.Kofun.eternalBurialFee > 0) %}
  2976.                             <div class=\"content\">
  2977.                                 <span class=\"label\">{{ 'front.kofun.fee_list__burial'|trans }}</span>
  2978.                                 <div class=\"value\">
  2979.                                     {{ 'front.kofun.fee_list__unit_price'|trans({'%price%': Product.Kofun.eternalBurialFee|number_format}) }}
  2980.                                     <div class=\"fee-note\">{{ 'front.kofun.fee_list__note'|trans }}</div>
  2981.                                 </div>
  2982.                             </div>
  2983.                             <div class=\"content\">
  2984.                                 <span class=\"label\">{{ 'front.kofun.fee_list__inscription'|trans }}</span>
  2985.                                 <div class=\"value\">
  2986.                                     {{ 'front.kofun.fee_list__unit_price'|trans({'%price%': Product.Kofun.eternalInscriptionFee|number_format}) }}
  2987.                                 </div>
  2988.                             </div>
  2989.                             <div class=\"content\">
  2990.                                 <span class=\"label\">{{ 'front.kofun.fee_list__maintenance'|trans }}</span>
  2991.                                 <div class=\"value\">
  2992.                                     {{ 'front.kofun.fee_list__section_price'|trans({'%price%': Product.Kofun.eternalMaintenanceFee|number_format}) }}
  2993.                                 </div>
  2994.                             </div>
  2995.                             <div class=\"content-group\">
  2996.                                 <div class=\"content\">
  2997.                                     <span class=\"label\">{{ 'front.kofun.fee_list__eternal_single_misc'|trans }}</span>
  2998.                                     <div class=\"value\">
  2999.                                         {{ 'front.kofun.fee_list__total_price'|trans({'%price%': Product.Kofun.singleMiscFee|number_format}) }}
  3000.                                     </div>
  3001.                                 </div>
  3002.                                 <div class=\"content\">
  3003.                                     <span class=\"label\">{{ 'front.kofun.fee_list__eternal_double_misc'|trans }}</span>
  3004.                                     <div class=\"value\">
  3005.                                         {{ 'front.kofun.fee_list__total_price'|trans({'%price%': Product.Kofun.doubleMiscFee|number_format}) }}
  3006.                                     </div>
  3007.                                 </div>
  3008.                             </div>
  3009.                             {% else %}
  3010.                             <div class=\"content\">
  3011.                                 <span class=\"label\">諸費用</span>
  3012.                                 <div class=\"value\">
  3013.                                     入山費、納骨料、骨壺代、植栽維持費(管理費)合わせて{{ Product.Kofun.eternalMaintenanceFee|number_format }}円(税込)
  3014.                                     <div class=\"fee-note\">※ 墓誌銘板および彫刻は含まれていません。</div>
  3015.                                 </div>
  3016.                             </div>
  3017.                             {% endif %}
  3018.                             <div class=\"content-group\">
  3019.                                 <h5>オプション</h5>
  3020.                                 {% if (Product.Kofun.eternalBurialFee > 0) %}
  3021.                                 <div class=\"content\">
  3022.                                     <span class=\"label\">{{ 'front.kofun.fee_list__option_extension'|trans }}</span>
  3023.                                     <div class=\"value\">
  3024.                                         {{ 'front.kofun.fee_list__option_extension_price'|trans({'%price%': Product.Kofun.extensionFee|number_format}) }}
  3025.                                         <div class=\"fee-note\">{{ 'front.kofun.fee_list__option_note'|trans }}</div>
  3026.                                     </div>
  3027.                                 </div>
  3028.                                 {% else %}
  3029.                                 <div class=\"content\">
  3030.                                     <span class=\"label\">{{ 'front.kofun.fee_list__option_extension'|trans }}</span>
  3031.                                     <div class=\"value\">
  3032.                                         20年まで10年間ごとに{{ Product.Kofun.extensionFee|number_format }}円(非課税)<br/>
  3033.                                         永年使用は515,000円(非課税)
  3034.                                         <div class=\"fee-note\">{{ 'front.kofun.fee_list__option_note'|trans }}</div>
  3035.                                     </div>
  3036.                                 </div>
  3037.                                 <div class=\"content\">
  3038.                                     <span class=\"label\">墓誌彫刻</span>
  3039.                                     <div class=\"value\">
  3040.                                         22,000円(税込)
  3041.                                         <div class=\"fee-note\">※ ご希望のお客様は古墳墓をご購入後、お問い合わせからお申し込みください。</div>
  3042.                                     </div>
  3043.                                 </div>
  3044.                                 {% endif %}
  3045.                             </div>
  3046.                         </div>
  3047.                         <div id=\"communal\" class=\"tab-content\">
  3048.                             {% if (Product.Kofun.communalBurialFee > 0) %}
  3049.                             <div class=\"content\">
  3050.                                 <span class=\"label\">{{ 'front.kofun.fee_list__burial'|trans }}</span>
  3051.                                 <div class=\"value\">
  3052.                                     {{ 'front.kofun.fee_list__price'|trans({'%price%': Product.Kofun.communalBurialFee|number_format}) }}
  3053.                                 </div>
  3054.                             </div>
  3055.                             <div class=\"content\">
  3056.                                 <span class=\"label\">{{ 'front.kofun.fee_list__inscription'|trans }}</span>
  3057.                                 <div class=\"value\">
  3058.                                     {{ 'front.kofun.fee_list__price'|trans({'%price%': Product.Kofun.communalInscriptionFee|number_format}) }}
  3059.                                 </div>
  3060.                             </div>
  3061.                             <div class=\"content\">
  3062.                                 <span class=\"label\">{{ 'front.kofun.fee_list__maintenance'|trans }}</span>
  3063.                                 <div class=\"value\">
  3064.                                     {{ 'front.kofun.fee_list__price'|trans({'%price%': Product.Kofun.communalMaintenanceFee|number_format}) }}
  3065.                                 </div>
  3066.                             </div>
  3067.                             <div class=\"content-group\">
  3068.                                 <div class=\"content\">
  3069.                                     <span class=\"label\">{{ 'front.kofun.fee_list__communal_misc'|trans }}</span>
  3070.                                     <div class=\"value\">
  3071.                                         {{ 'front.kofun.fee_list__total_price'|trans({'%price%': Product.Kofun.communalMiscFee|number_format}) }}
  3072.                                     </div>
  3073.                                 </div>
  3074.                             </div>
  3075.                             {% else %}
  3076.                             <div class=\"content\">
  3077.                                 <span class=\"label\">諸費用</span>
  3078.                                 <div class=\"value\">
  3079.                                     入山費、納骨料、植栽維持費(管理費)合わせて{{ Product.Kofun.communalMaintenanceFee|number_format }}円(税込)
  3080.                                 </div>
  3081.                             </div>
  3082.                             {% endif %}
  3083.                         </div>
  3084.                     </div>
  3085.                 </div>
  3086.                 <div class=\"ec-productRole__kofun-content buy_process\">
  3087.                     <h2>古墳墓のお手続き</h2>
  3088.                     <div class=\"content\">
  3089.                         ①料金表と霊園規則をご確認の上、ご注文ください。
  3090.                     </div>
  3091.                     <div class=\"content\">
  3092.                         ②ご購入に際し、お申込者様の続柄確認書類をご提出いただきます。写真のアップロード、または郵送にてご提出をお願いいたします。
  3093.                     </div>
  3094.                     <div class=\"content sub\">
  3095.                         ※続柄確認書類とはお申込者及び埋葬予定者の本籍地と世帯全員のお名前が記載されたものとなります。(住民票や戸籍謄本など)発行から3カ月以内
  3096.                     </div>
  3097.                     <div class=\"content\">
  3098.                         ③お支払い確認後、霊園から「永代使用承諾証」をお送りいたします。
  3099.                     </div>
  3100.                     <div class=\"content link\">
  3101.                         {% if Product.Kofun.termsFileName %}
  3102.                             <a href=\"{{ asset(Product.Kofun.termsFileName, 'terms_file') }}\" target=\"_blank\">墓地使用規則>></a>
  3103.                         {% else %}
  3104.                             <div class=\"warning\">墓地使用規則がアップロードされていません。</div>
  3105.                         {% endif %}
  3106.                     </div>
  3107.                 </div>
  3108.             </div>
  3109.         {% endif %}
  3110.         <div class=\"ec-productRole__description\">{{ Product.description_detail|raw|nl2br }}
  3111.         </div>
  3112.         {% if Product.freearea %}
  3113.              <div class=\"ec-productRole__description\">
  3114.                  {{ include(template_from_string(Product.freearea), sandboxed = true) }}
  3115.             </div>
  3116.         {% endif %}
  3117.         <div class=\"ec-productRole__profile\" id=\"checkout\">
  3118.             {# タグ #}
  3119.             {% if Product.Tags is not empty %}
  3120.                 <ul class=\"ec-productRole__tags\">
  3121.                     {% for Tag in Product.Tags %}
  3122.                         <li class=\"ec-productRole__tag tag_{{ Tag.id }}\">{{ Tag }}</li>
  3123.                     {% endfor %}
  3124.                 </ul>
  3125.             {% endif %}
  3126.             {# 通常価格 #}
  3127.             {% if Product.hasProductClass -%}
  3128.                 <div class=\"ec-productRole__priceRegular\">
  3129.                     {% if Product.getPrice01Min is not null and Product.getPrice01IncTaxMin == Product.getPrice01IncTaxMax %}
  3130.                         <span class=\"ec-productRole__priceRegularPrice\">{{ 'front.product.normal_price'|trans }}:<span class=\"price01-default\">{{ Product.getPrice01IncTaxMin|price }}</span></span>
  3131.                         <span class=\"ec-productRole__priceRegularTax\">{{ 'common.tax_include'|trans }}</span>
  3132.                     {% elseif Product.getPrice01Min is not null and Product.getPrice01Max is not null %}
  3133.                         <span class=\"ec-productRole__priceRegularPrice\">{{ 'front.product.normal_price'|trans }}:<span class=\"price01-default\">{{ Product.getPrice01IncTaxMin|price }}~ {{ Product.getPrice01IncTaxMax|price }}</span></span>
  3134.                         <span class=\"ec-productRole__priceRegularTax\">{{ 'common.tax_include'|trans }}</span>
  3135.                     {% endif %}
  3136.                 </div>
  3137.             {% else %}
  3138.                 {% if Product.getPrice01Max is not null %}
  3139.                     <span class=\"ec-productRole__priceRegularPrice\">{{ 'front.product.normal_price'|trans }}:{{ Product.getPrice01IncTaxMin|price }}</span>
  3140.                     <span class=\"ec-productRole__priceRegularTax\">{{ 'common.tax_include'|trans }}</span>
  3141.                 {% endif %}
  3142.             {% endif %}
  3143.             {# 販売価格 #}
  3144.             <div class=\"ec-productRole__price\">
  3145.                 {% if Product.hasProductClass -%}
  3146.                     {% if Product.getPrice02IncTaxMin == Product.getPrice02IncTaxMax %}
  3147.                         <div class=\"ec-price\">
  3148.                             <span class=\"ec-price__price price02-default\">{{ Product.getPrice02IncTaxMin|price }}</span>
  3149.                             <span class=\"ec-price__tax\">{{ 'common.tax_include'|trans }}</span>
  3150.                         </div>
  3151.                     {% else %}
  3152.                         <div class=\"ec-price\">
  3153.                             <span class=\"ec-price__price price02-default\">{{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}</span>
  3154.                             <span class=\"ec-price__tax\">{{ 'common.tax_include'|trans }}</span>
  3155.                         </div>
  3156.                     {% endif %}
  3157.                 {% else %}
  3158.                     <div class=\"ec-price\">
  3159.                         <span class=\"ec-price__price\">{{ Product.getPrice02IncTaxMin|price }}</span>
  3160.                         <span class=\"ec-price__tax\">{{ 'common.tax_include'|trans }}</span>
  3161.                     </div>
  3162.                 {% endif %}
  3163.             </div>
  3164.             {# 商品コード #}
  3165.             {% if Product.code_min is not empty %}
  3166.                 <div class=\"ec-productRole__code\">
  3167.                     {{ 'front.product.code'|trans }}: <span class=\"product-code-default\">{{ Product.code_min }}{% if Product.code_min != Product.code_max %} ~ {{ Product.code_max }}{% endif %}</span>
  3168.                 </div>
  3169.             {% endif %}
  3170.             {# 関連カテゴリ #}
  3171.             {% if Product.ProductCategories is not empty %}
  3172.                 <div class=\"ec-productRole__category\">
  3173.                     {% for ProductCategory in Product.ProductCategories %}
  3174.                         <ul>
  3175.                             <li>
  3176.                                 {% for Category in ProductCategory.Category.path %}
  3177.                                     <a href=\"{{ url('product_list') }}?category_id={{ Category.id }}\">{{ Category.name }}</a> {%- if loop.last == false %}
  3178.                                     <span>></span>{% endif -%}
  3179.                                 {% endfor %}
  3180.                             </li>
  3181.                         </ul>
  3182.                     {% endfor %}
  3183.                 </div>
  3184.             {% endif %}
  3185.             <form action=\"{{ url('product_add_cart', {id:Product.id}) }}\" method=\"post\" id=\"form1\" name=\"form1\">
  3186.                 {% if Product.stock_find %}
  3187.                     <div class=\"ec-productRole__actions\">
  3188.                         {% if form.classcategory_id1 is defined %}
  3189.                             <div class=\"ec-select\">
  3190.                                 {{ form_row(form.classcategory_id1) }}
  3191.                                 {{ form_errors(form.classcategory_id1) }}
  3192.                             </div>
  3193.                             {% if form.classcategory_id2 is defined %}
  3194.                                 <div class=\"ec-select\">
  3195.                                     {{ form_row(form.classcategory_id2) }}
  3196.                                     {{ form_errors(form.classcategory_id2) }}
  3197.                                 </div>
  3198.                             {% endif %}
  3199.                         {% endif %}
  3200.                         <div class=\"ec-productRole__stock\" id=\"selected-product-stock\" style=\"margin-bottom: 10px;\">
  3201.                             <span>{{ 'front.product.stock'|trans }}</span>
  3202.                             <span class=\"ec-productRole__stockQuantity\" id=\"selected-stock-quantity\">
  3203.                                 {{ 'front.product.please_select_product_class'|trans }}
  3204.                             </span>
  3205.                         </div>
  3206.                         <div class=\"ec-numberInput\"><span>{{ 'common.quantity'|trans }}</span>
  3207.                             {{ form_widget(form.quantity) }}
  3208.                             {{ form_errors(form.quantity) }}
  3209.                         </div>
  3210.                     </div>
  3211.                     {% if Product.isCanAddCart %}
  3212.                         <div class=\"ec-productRole__btn\">
  3213.                             <button type=\"submit\" class=\"ec-blockBtn--action add-cart\">
  3214.                                 {{ 'front.product.add_cart'|trans }}
  3215.                             </button>
  3216.                         </div>
  3217.                     {% else %}
  3218.                         <div class=\"ec-productRole__btn\">
  3219.                             <button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
  3220.                                 {{ 'front.product.can_not_add_cart'|trans }}
  3221.                             </button>
  3222.                         </div>
  3223.                     {% endif %}
  3224.                 {% else %}
  3225.                     <div class=\"ec-productRole__btn\">
  3226.                         <button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
  3227.                             {{ 'front.product.out_of_stock'|trans }}
  3228.                         </button>
  3229.                     </div>
  3230.                 {% endif %}
  3231.                 {{ form_rest(form) }}
  3232.             </form>
  3233.             <div class=\"ec-modal\">
  3234.                 <div class=\"ec-modal-overlay\">
  3235.                     <div class=\"ec-modal-wrap\">
  3236.                         <span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"{{ asset('assets/icon/cross-dark.svg') }}\" alt=\"\"/></span></span>
  3237.                         <div id=\"ec-modal-header\" class=\"text-center\">{{ 'front.product.add_cart_complete'|trans }}</div>
  3238.                         <div class=\"ec-modal-box\">
  3239.                             <div class=\"ec-role\">
  3240.                                 <span class=\"ec-inlineBtn--cancel\">{{ 'front.product.continue'|trans }}</span>
  3241.                                 <a href=\"{{ url('cart') }}\" class=\"ec-inlineBtn--action\">{{ 'common.go_to_cart'|trans }}</a>
  3242.                             </div>
  3243.                         </div>
  3244.                     </div>
  3245.                 </div>
  3246.             </div>
  3247.             {% if BaseInfo.option_favorite_product %}
  3248.                 <form action=\"{{ url('product_add_favorite', {id:Product.id}) }}\" method=\"post\">
  3249.                     <div class=\"ec-productRole__btn\">
  3250.                         {% if is_favorite == false %}
  3251.                             <button type=\"submit\" id=\"favorite\" class=\"ec-blockBtn--cancel\">
  3252.                                 {{ 'front.product.add_favorite'|trans }}
  3253.                             </button>
  3254.                         {% else %}
  3255.                             <button type=\"submit\" id=\"favorite\" class=\"ec-blockBtn--cancel\"
  3256.                                     disabled=\"disabled\">{{ 'front.product.add_favorite_alrady'|trans }}
  3257.                             </button>
  3258.                         {% endif %}
  3259.                     </div>
  3260.                 </form>
  3261.             {% endif %}
  3262.         </div>
  3263.     </div>
  3264. {% endblock %}""Product/detail.twig""/var/www/html/app/template/default/Product/detail.twig");
  3265.     }
  3266.     
  3267.     public function checkSecurity()
  3268.     {
  3269.         static $tags = array("set" => 13"if" => 482"for" => 652);
  3270.         static $filters = array("raw" => 471"json_encode" => 484"escape" => 487"trans" => 568"no_image_product" => 656"slice" => 659"replace" => 659"default" => 659"price" => 758"nl2br" => 798"split" => 907"first" => 933"length" => 934"last" => 936"number_format" => 957);
  3271.         static $functions = array("get_extended_class_categories_as_json" => 471"url" => 614"asset" => 653"include" => 1110"template_from_string" => 1110"form_row" => 1187"form_errors" => 1188"form_widget" => 1204"form_rest" => 1229);
  3272.         try {
  3273.             $this->sandbox->checkSecurity(
  3274.                 ['set''if''for'],
  3275.                 ['raw''json_encode''escape''trans''no_image_product''slice''replace''default''price''nl2br''split''first''length''last''number_format'],
  3276.                 ['get_extended_class_categories_as_json''url''asset''include''template_from_string''form_row''form_errors''form_widget''form_rest'],
  3277.                 $this->source
  3278.             );
  3279.         } catch (SecurityError $e) {
  3280.             $e->setSourceContext($this->source);
  3281.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  3282.                 $e->setTemplateLine($tags[$e->getTagName()]);
  3283.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  3284.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  3285.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  3286.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  3287.             }
  3288.             throw $e;
  3289.         }
  3290.     }
  3291. }