var/cache/dev/twig/6f/6f9bdc85d1152a9c467640d34204d95d.php line 805

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. /* @user_data/photo-product_list.twig */
  14. class __TwigTemplate_7b9b53c59f5cab98551978c597c0f953 extends \Eccube\Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'stylesheet' => [$this'block_stylesheet'],
  24.             'javascript' => [$this'block_javascript'],
  25.             'main' => [$this'block_main'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 11
  31.         return "default_frame.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@user_data/photo-product_list.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@user_data/photo-product_list.twig"));
  40.         // line 456
  41.         $context["body_class"] = "product_page";
  42.         // line 11
  43.         $this->parent $this->loadTemplate("default_frame.twig""@user_data/photo-product_list.twig"11);
  44.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49.     }
  50.     // line 13
  51.     public function block_stylesheet($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  58.         // line 14
  59.         echo "    <link rel=\"stylesheet\" href=\"";
  60.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/stock-photo/contents-list.css""user_data"), "html"nulltrue);
  61.         echo "\">
  62.     <link rel=\"stylesheet\" href=\"";
  63.         // line 15
  64.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/stock-photo/main_module.css""user_data"), "html"nulltrue);
  65.         echo "\">
  66.     <style>
  67.     .ec-topicpath{
  68.         display: flex;
  69.         flex-wrap: wrap;
  70.         margin: 30px 10% 0;
  71.     }
  72.     .ec-topicpath a{
  73.         color: #109F98;
  74.     }
  75.     .ec-topicpath__divider{
  76.         margin: 0 5px;
  77.     }
  78.     
  79.         .category-btn img{
  80.             margin-right: 15px;
  81.         }
  82.         .tab {
  83.             margin: 30px 15% 0;
  84.         }
  85.         
  86.         @media screen and (max-width:768px){
  87.             .tab {
  88.                 margin: 10px 3% 20px 3%;
  89.             }
  90.         }
  91.         
  92.         .lead-sentence {
  93.             display: flex;
  94.             flex-wrap: wrap;
  95.         }
  96.         
  97.         @media screen and (max-width:768px){
  98.             .tab img{
  99.                 width: 15%;
  100.             }
  101.             .category-btn{
  102.                 margin-bottom: 15px;
  103.             }
  104.         }
  105.         .tab-list {
  106.             display: flex;
  107.             gap: 1px;
  108.         }
  109.         @media screen and (max-width:768px){
  110.             .tab-list{
  111.                 flex-direction: row;
  112.             }
  113.         }
  114.         .tab-item {
  115.             border-radius: 5px 5px 0 0;
  116.             background-color: #109F98;
  117.             border-top: solid 1px #109F98;
  118.             border-right: solid 1px #109F98;
  119.             border-left: solid 1px #109F98;
  120.         }
  121.         .tab-item a{
  122.             color: #FFF;
  123.             padding: 0.5em 1.2em;
  124.             display: block;
  125.         }
  126.         @media screen and (max-width:768px){
  127.             .tab-item{
  128.                 flex: 1 1 auto;
  129.                 min-width: 0;
  130.             }
  131.             
  132.             .tab-item a{
  133.                 margin: 8px 0;
  134.                 text-align: center;
  135.                 white-space: nowrap;
  136.                 padding: 0.4em 0.6em;
  137.             }
  138.         }
  139.         
  140.         @media screen and (max-width:570px){
  141.             .tab-item{
  142.                 font-size: 12px;
  143.                 line-height: 2.5;
  144.             }
  145.         }
  146.         
  147.         @media screen and (max-width:450px){
  148.             .tab-item{
  149.                 font-size: 10px;
  150.             }
  151.         }
  152.         .tab-content:has(.tab-panel.active){
  153.             display: flex;
  154.             justify-content: space-between;
  155.             border-top:solid 1px #109F98;
  156.             border-right:solid 1px #109F98;
  157.             border-left:solid 1px #109F98;
  158.             border-radius: 0 8px 0 0;
  159.         }
  160.         
  161.         .tab-content:not(:has(.tab-panel.active)){
  162.             display: none;
  163.         }
  164.         
  165.         @media screen and (max-width:768px){
  166.             .tab-content{
  167.                 flex-direction: column;
  168.                 border-radius: 0;
  169.             }
  170.         }
  171.         .tab-panel {
  172.             display: none;
  173.         }
  174.         .tab-item.active {
  175.             background-color: #fff;
  176.             font-weight: bold;
  177.             position: relative;
  178.         }
  179.         
  180.         .tab-item.active a{
  181.             color: #109F98;
  182.         }
  183.         
  184.         .tab-item.active::before{
  185.             content: \"\";
  186.             width: 100%;
  187.             border-bottom: 4px solid  #FFF;
  188.             position: absolute;
  189.             bottom: -3px;
  190.             left: 0;
  191.         }
  192.         .tab-panel.active {
  193.             display: flex;
  194.             padding: 3%;
  195.             flex-wrap: wrap;
  196.             gap:20px 20px;
  197.             flex: 10;
  198.         }
  199.         @media screen and (max-width:768px){
  200.             .tab-panel.active{
  201.                 justify-content: center;
  202.                 
  203.             }
  204.         }
  205.         .tab-panel.active h2 {
  206.             font-size: 20px;
  207.             font-weight: bold;
  208.         }
  209.         
  210.         .search-form-box{
  211.             border: solid 1px #109F98;
  212.             border-radius: 0 0 8px 8px;
  213.         }
  214.         
  215.         .tab-content:not(:has(.active)) + .search-form-box{
  216.             border-radius: 0 8px 8px 8px;
  217.         }
  218.         @media screen and (max-width:768px){
  219.             .search-form-box .search-form-content{
  220.                 display: flex;
  221.                 justify-content: space-between;
  222.                 flex-direction: column;
  223.                 
  224.             }
  225.         }
  226.         .search-form-box .search-form-item{
  227.             margin-left: 3%;
  228.             margin-right: calc(3% + 20px);
  229.         }
  230.         @media screen and (max-width:768px){
  231.             .search-form-box .search-form-item{
  232.                 margin: 0 auto;
  233.                 
  234.             }
  235.         }
  236.         
  237.         .search-form-box .search-form-input{
  238.             -webkit-appearance: none;
  239.             -moz-appearance:none;
  240.             appearance: none;
  241.             border:1px solid #109F98;
  242.             border-radius:25px;
  243.             width: 100%;
  244.             padding-left: 20px;
  245.             height: 36px;
  246.             background-color: #f5f5f5;
  247.         }
  248.         @media screen and (max-width:768px){
  249.             .search-form-box .search-form-input{
  250.                 width: 88vw;
  251.                 box-sizing: border-box;
  252.             }
  253.             .search-form-box .search-form-input::placeholder{
  254.                 font-size: 2vw;
  255.             }
  256.         }
  257.         
  258.         select{
  259.             background:none;
  260.             appearance: none;
  261.             font:inherit;
  262.             padding:9.5px 10px;
  263.             border:1px solid #109F98;
  264.             box-sizing: border-box;
  265.             width: 250px;
  266.             border-radius:2px;
  267.             color: #111111;
  268.         }
  269.         
  270.         .select {
  271.           display: inline-block;
  272.           position: relative;
  273.           vertical-align: middle;
  274.           width: 100%;
  275.         }
  276.         
  277.         .select::before {
  278.           position: absolute;
  279.           top: 18px;
  280.           right: 16px;
  281.           width: 0;
  282.           height: 0;
  283.           border-width: 10px 5px 0 5px;
  284.           border-style: solid;
  285.           border-color: #109F98 transparent transparent transparent;
  286.           content: \"\";
  287.           pointer-events: none;
  288.         }
  289.         
  290.         /*検索セクション内にあるアイコン(svg)カラー指定*/
  291.         .search-form-box .ic {
  292.             filter: brightness(0) saturate(100%) invert(68%) sepia(68%) saturate(6159%) hue-rotate(145deg) brightness(90%) contrast(87%);
  293.         }
  294.         
  295.         /* 各条件見出し位置調整 */
  296.         .search-form-box .search-title {
  297.             padding: 15px 0 12px 0;
  298.             margin: 0 3%;
  299.             display: flex;
  300.             align-items: center;
  301.             gap: 6px;
  302.             color: #111111;
  303.         }
  304.         
  305.         /*セクション分け用のボーダー*/
  306.         .search-form-box .search-title {
  307.             border-top: 1px solid #D5DAED;
  308.         }
  309.         /*1番目(フリーワード検索)には不要なので非表示*/
  310.         .search-form-box .search-title:first-child {
  311.             border-top: none;
  312.         }
  313.         
  314.         .search-subtitle {
  315.             margin: 16px 0;
  316.         }
  317.         
  318.         /*各条件の副題にh2のトーン寄せ*/
  319.         .search-subtitle label,
  320.         .search-subtitle legend {
  321.             border: solid 2px #109F98;
  322.             border-right: none;
  323.             border-top: none;
  324.             border-bottom: none;
  325.             text-align: left;
  326.             padding: 0 0 0 8px;
  327.             color: #111111;
  328.         }
  329.         
  330.         .search-base-content,
  331.         .search-filter-content {
  332.             margin: 0 3% 3% 3%;
  333.             
  334.         }
  335.         
  336.         /*基本条件*/
  337.         .search-base-content {
  338.             display: flex;
  339.             flex-direction: row;
  340.             gap: 16px;
  341.         }
  342.         
  343.         /* 上記でselectに指定しているスタイルを基本条件用に上書き */
  344.         .search-base-item select {
  345.             border: 1px solid #D5DAED;
  346.         }
  347.         
  348.         @media (max-width: 768px) {
  349.             .search-base-item select {
  350.                 display: flex;
  351.                 flex-wrap: wrap;
  352.             }
  353.             
  354.             .search-base-item {
  355.                 flex: 1 1 200px;
  356.                 max-width: 100%;
  357.             }
  358.             
  359.             .search-base-item select {
  360.                 width: 100%;
  361.             }
  362.         }
  363.         
  364.         .search-filter-list {
  365.           display: flex;
  366.           flex-wrap: wrap;
  367.           gap: 10px;
  368.         }
  369.         
  370.         /*詳細フィルターのチェックボックス並べる数*/
  371.         /*PC表示:10個のチェックボックスが横に5個 × 2行*/
  372.         /*スマホ表示:10個のチェックボックスが横に3個 × 約4行(1個余りになるため)*/
  373.         .filter-checkbox-item {
  374.           display: flex;
  375.           align-items: center;
  376.           gap: 6px;
  377.           align-items: baseline;
  378.           width: calc(100% / 5 - 10px); /* PC: 5列 */
  379.           color: #111111;
  380.         }
  381.         
  382.         @media (max-width: 768px) {
  383.             .filter-checkbox-item {
  384.                 width: calc(100% / 3 - 10px); /* SP: 3列 */
  385.             }
  386.         }
  387.         
  388.         @media (max-width: 450px) {
  389.             .filter-checkbox-item {
  390.                 font-size: max(3.6vw, 12px);
  391.             }
  392.         }
  393.         
  394.         .image-wrapper {
  395.             position: relative;
  396.         }
  397.         .label-free {
  398.             position: absolute;
  399.             top: 0;
  400.             right: 0;
  401.             background-color: #e60012;
  402.             color: #fff;
  403.             font-weight: bold;
  404.             font-size: 14px;
  405.             padding: 3px 10px;
  406.             border-radius: 0 0 0 4px;
  407.             z-index: 1;
  408.         }
  409.         .ec-topicpath__item{
  410.         font-size: 17px;
  411.         }
  412.         
  413.         /* ▼ アコーディオン用 追加CSS ▼ */
  414.         :root{
  415.           --acc-green: #109F98;
  416.           --acc-line:  #0f8a80;
  417.         }
  418.         
  419.         .search-section + .search-section{
  420.           border-top: 1px solid var(--acc-line);
  421.         }
  422.         
  423.         .search-section__header{
  424.           display: flex;
  425.           align-items: center;
  426.           justify-content: space-between;
  427.           padding: 8px 12px;
  428.         }
  429.         
  430.         .accordion-toggle{
  431.           inline-size: 28px;
  432.           block-size: 28px;
  433.           display: grid;
  434.           place-items: center;
  435.           position: relative;
  436.           cursor: pointer;
  437.           border: 1px solid var(--acc-green);
  438.           border-radius: 4px;
  439.           background: var(--acc-green);
  440.         }
  441.         
  442.         .accordion-toggle::before{
  443.           content: \"\";
  444.           display: block;
  445.           inline-size: 8px;
  446.           block-size: 8px;
  447.           border-right: 2px solid #fff;
  448.           border-bottom: 2px solid #fff;
  449.           transform: rotate(45deg); /* ▼ */
  450.           transition: transform .2s ease;
  451.         }
  452.         
  453.         .is-open .accordion-toggle{
  454.           background: #fff;
  455.           border-color: var(--acc-green);
  456.         }
  457.         
  458.         .is-open .accordion-toggle::before{
  459.           border-right-color: var(--acc-green);
  460.           border-bottom-color: var(--acc-green);
  461.           transform: rotate(-135deg); /* ▲ */
  462.         }
  463.         
  464.         .search-section__panel{
  465.           padding: 12px;
  466.         }
  467.         
  468.         .visually-hidden{
  469.           position: absolute !important;
  470.           inline-size: 1px;
  471.           block-size: 1px;
  472.           margin: -1px;
  473.           padding: 0;
  474.           border: 0;
  475.           clip: rect(0 0 0 0);
  476.           overflow: hidden;
  477.         }
  478.         
  479.         .accordion-toggle:hover{ filter: brightness(0.98); }
  480.         .accordion-toggle:focus-visible{
  481.           outline: 2px solid var(--acc-line);
  482.           outline-offset: 2px;
  483.         }
  484.         
  485.         /* SPだけボタンを中央寄せ */
  486.         @media (max-width: 840px){
  487.           .sp-center{
  488.             display: flex;
  489.             justify-content: center;
  490.           }
  491.         }
  492.     </style>
  493. ";
  494.         
  495.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  496.         
  497.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  498.     }
  499.     // line 458
  500.     public function block_javascript($context, array $blocks = [])
  501.     {
  502.         $macros $this->macros;
  503.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  504.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  505.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  506.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  507.         // line 459
  508.         echo "    <script>
  509.         eccube.productsClassCategories = {
  510.             ";
  511.         // line 461
  512.         $context['_parent'] = $context;
  513.         $context['_seq'] = twig_ensure_traversable((isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'461$this->source); })()));
  514.         $context['loop'] = [
  515.           'parent' => $context['_parent'],
  516.           'index0' => 0,
  517.           'index'  => 1,
  518.           'first'  => true,
  519.         ];
  520.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  521.             $length count($context['_seq']);
  522.             $context['loop']['revindex0'] = $length 1;
  523.             $context['loop']['revindex'] = $length;
  524.             $context['loop']['length'] = $length;
  525.             $context['loop']['last'] = === $length;
  526.         }
  527.         foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
  528.             // line 462
  529.             echo "            \"";
  530.             echo twig_escape_filter($this->envtwig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse462), "js"), "html"nulltrue);
  531.             echo "\": ";
  532.             echo $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getClassCategoriesAsJson($context["Product"]);
  533.             if ((twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse462) == false)) {
  534.                 echo ", ";
  535.             }
  536.             // line 463
  537.             echo "            ";
  538.             ++$context['loop']['index0'];
  539.             ++$context['loop']['index'];
  540.             $context['loop']['first'] = false;
  541.             if (isset($context['loop']['length'])) {
  542.                 --$context['loop']['revindex0'];
  543.                 --$context['loop']['revindex'];
  544.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  545.             }
  546.         }
  547.         $_parent $context['_parent'];
  548.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
  549.         $context array_intersect_key($context$_parent) + $_parent;
  550.         // line 464
  551.         echo "        };
  552.         \$(function() {
  553.             // 表示件数を変更
  554.             \$('.disp-number').change(function() {
  555.                 var dispNumber = \$(this).val();
  556.                 \$('#disp_number').val(dispNumber);
  557.                 \$('#pageno').val(1);
  558.                 \$(\"#form1\").submit();
  559.             });
  560.             // // 並び順を変更
  561.             \$('.order-by').change(function() {
  562.                 var orderBy = \$(this).val();
  563.                 \$('#orderby').val(orderBy);
  564.                 \$('#pageno').val(1);
  565.                 \$(\"#form1\").submit();
  566.             });
  567.             \$('.add-cart').on('click', function(e) {
  568.                 var \$form = \$(this).parents('li').find('form');
  569.                 // 個数フォームのチェック
  570.                 var \$quantity = \$form.parent().find('.quantity');
  571.                 if (\$quantity.val() < 1) {
  572.                     \$quantity[0].setCustomValidity('";
  573.         // line 490
  574.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("1以上で入力してください。"), "html"nulltrue);
  575.         echo "');
  576.                     setTimeout(function() {
  577.                         loadingOverlay('hide');
  578.                     }, 100);
  579.                     return true;
  580.                 } else {
  581.                     \$quantity[0].setCustomValidity('');
  582.                 }
  583.                 e.preventDefault();
  584.                 \$.ajax({
  585.                     url: \$form.attr('action'),
  586.                     type: \$form.attr('method'),
  587.                     data: \$form.serialize(),
  588.                     dataType: 'json',
  589.                     beforeSend: function(xhr, settings) {
  590.                         // Buttonを無効にする
  591.                         \$('.add-cart').prop('disabled', true);
  592.                     }
  593.                 }).done(function(data) {
  594.                     // レスポンス内のメッセージをalertで表示
  595.                     \$.each(data.messages, function() {
  596.                         \$('#ec-modal-header').html(this);
  597.                     });
  598.                     \$('.ec-modal').show()
  599.                     // カートブロックを更新する
  600.                     \$.ajax({
  601.                         url: '";
  602.         // line 518
  603.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("block_cart");
  604.         echo "',
  605.                         type: 'GET',
  606.                         dataType: 'html'
  607.                     }).done(function(html) {
  608.                         \$('.ec-headerRole__cart').html(html);
  609.                     });
  610.                 }).fail(function(data) {
  611.                     alert('";
  612.         // line 525
  613.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへの追加に失敗しました。"), "html"nulltrue);
  614.         echo "');
  615.                 }).always(function(data) {
  616.                     // Buttonを有効にする
  617.                     \$('.add-cart').prop('disabled', false);
  618.                 });
  619.             });
  620.         });
  621.         \$('.ec-modal-wrap').on('click', function(e) {
  622.             // モーダル内の処理は外側にバブリングさせない
  623.             e.stopPropagation();
  624.         });
  625.         \$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
  626.             \$('.ec-modal').hide()
  627.         });
  628.         
  629.     </script>
  630.     <script>
  631.     //  絞り込み検索は、絞り込み検索ボタンが押されたとき、もしくは入力欄にフォーカスされたときに、
  632.     //  enterを押したときのみ発動する。カテゴリ検索を押したときは発火させない
  633.         document.addEventListener('DOMContentLoaded', function () {
  634.             const form = document.querySelector('.tab');
  635.             const categoryBtn = form.querySelector('button[name=\"search_parent_id\"]:not(.word-search)');
  636.             const wordBtn = form.querySelector('.category-btn.word-search');
  637.             const wordInput = form.querySelector('input.search-form-input');
  638.         
  639.             // カテゴリ検索 → name を送らせない
  640.             categoryBtn.addEventListener('click', function () {
  641.                 if (wordInput) {
  642.                     wordInput.disabled = true;
  643.                 }
  644.             });
  645.         
  646.             // 絞り込み検索 → name を有効化
  647.             wordBtn?.addEventListener('click', function () {
  648.                 if (wordInput) {
  649.                     wordInput.disabled = false;
  650.                 }
  651.             });
  652.         
  653.             // Enterキーで submit 時に絞り込み検索の値を送信するための hidden input 挿入
  654.             form.addEventListener('submit', function (e) {
  655.                 if (document.activeElement === wordInput) {
  656.                     e.preventDefault();
  657.         
  658.                     // 既に存在していたら除去(2重防止)
  659.                     const existingHidden = form.querySelector('input[name=\"search_parent_id\"].auto-injected');
  660.                     if (existingHidden) {
  661.                         existingHidden.remove();
  662.                     }
  663.         
  664.                     // ボタンのvalue属性をそのまま使う
  665.                     const valueFromButton = wordBtn?.getAttribute('value') || '';
  666.         
  667.                     const hidden = document.createElement('input');
  668.                     hidden.type = 'hidden';
  669.                     hidden.name = 'search_parent_id';
  670.                     hidden.value = valueFromButton;
  671.                     hidden.classList.add('auto-injected');
  672.                     form.appendChild(hidden);
  673.                     if (wordInput) {
  674.                         wordInput.disabled = false;
  675.                     }
  676.                     form.submit();
  677.                 }
  678.             });
  679.         });
  680.         
  681.         // カテゴリの詳細検索に値が入っていない場合、buttonのnameの値をcategory_idに変更する
  682.         // document.addEventListener('DOMContentLoaded', function () {
  683.         //     const form = document.querySelector('.tab');
  684.         //     const submitBtn = form.querySelector('button.category-btn');
  685.         //     const categorySelects = form.querySelectorAll('select[name=\"category_ids[]\"]');
  686.         
  687.         //     form.addEventListener('submit', function (e) {
  688.         //         // category_ids[] に選択されている値が1つもない場合、ボタンのnameを変更
  689.         //         const hasValue = Array.from(categorySelects).some(select => select.value && select.value !== '');
  690.         
  691.         //         if (!hasValue) {
  692.         //             submitBtn.setAttribute('name', 'category_id');
  693.         //         } else {
  694.         //             submitBtn.setAttribute('name', 'search_parent_id');
  695.         //         }
  696.         //     });
  697.         // });
  698.     </script>
  699.     
  700.     <script>
  701.         (function () {
  702.           function setState(section, open) {
  703.             const btn   = section.querySelector('.js-accordion-toggle');
  704.             const panel = section.querySelector('.js-accordion-panel');
  705.             section.classList.toggle('is-open', open);
  706.             btn.setAttribute('aria-expanded', open ? 'true' : 'false');
  707.             panel.toggleAttribute('hidden', !open);
  708.             panel.setAttribute('aria-hidden', open ? 'false' : 'true');
  709.           }
  710.         
  711.           document.querySelectorAll('.search-form-box').forEach(function (box) {
  712.             // このフォーム(タブ)に属する2つのアコーディオン
  713.             const sections = box.querySelectorAll('.js-accordion');
  714.             if (!sections.length) return;
  715.         
  716.             const key = location.pathname + '#panel=' + (box.dataset.panel || 'default') + ':openId';
  717.         
  718.             // 初期オープン対象:保存 > data-open=\"1\" > 先頭(=フリーワードを想定)
  719.             const savedId = sessionStorage.getItem(key);
  720.             let initial = Array.from(sections).find(s => s.id === savedId)
  721.                        || Array.from(sections).find(s => s.dataset.open === '1')
  722.                        || sections[0];
  723.         
  724.             // 初期反映
  725.             sections.forEach(s => setState(s, s === initial));
  726.             sessionStorage.setItem(key, initial.id);
  727.         
  728.             sections.forEach(function (sec) {
  729.               const btn = sec.querySelector('.js-accordion-toggle');
  730.               btn.addEventListener('click', function () {
  731.                 if (sec.classList.contains('is-open')) return;
  732.         
  733.                 sections.forEach(s => setState(s, s === sec));
  734.                 sessionStorage.setItem(key, sec.id);
  735.               });
  736.             });
  737.           });
  738.         })();
  739.     </script>
  740. ";
  741.         
  742.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  743.         
  744.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  745.     }
  746.     // line 654
  747.     public function block_main($context, array $blocks = [])
  748.     {
  749.         $macros $this->macros;
  750.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  751.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  752.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  753.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  754.         // line 655
  755.         echo "    ";
  756.         $context["AllCategories"] = twig_get_attribute($this->env$this->source$this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Category"), "getList", [], "method"falsefalsefalse655);
  757.         // line 656
  758.         echo "    ";
  759.         $context["Categories"] = twig_array_filter($this->env, (isset($context["AllCategories"]) || array_key_exists("AllCategories"$context) ? $context["AllCategories"] : (function () { throw new RuntimeError('Variable "AllCategories" does not exist.'656$this->source); })()), function ($__c__) use ($context$macros) { $context["c"] = $__c__; return ( !(null === twig_get_attribute($this->env$this->source, (isset($context["c"]) || array_key_exists("c"$context) ? $context["c"] : (function () { throw new RuntimeError('Variable "c" does not exist.'656$this->source); })()), "id", [], "any"falsefalsefalse656)) && (twig_get_attribute($this->env$this->source, (isset($context["c"]) || array_key_exists("c"$context) ? $context["c"] : (function () { throw new RuntimeError('Variable "c" does not exist.'656$this->source); })()), "id", [], "any"falsefalsefalse656) == 18)); });
  760.         // line 657
  761.         echo "    ";
  762.         $context["selected_categories"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'657$this->source); })()), "request", [], "any"falsefalsefalse657), "query", [], "any"falsefalsefalse657), "get", [=> "category_ids"=> []], "method"falsefalsefalse657);
  763.         // line 658
  764.         echo "    ";
  765.         $context["parent_category"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'658$this->source); })()), "request", [], "any"falsefalsefalse658), "query", [], "any"falsefalsefalse658), "get", [=> "search_parent_id"], "method"falsefalsefalse658);
  766.         // line 659
  767.         echo "    ";
  768.         // line 660
  769.         echo "        <div class=\"ec-searchnavRole__topicpath pc\">
  770.             <ol class=\"ec-topicpath\">
  771.                 <li class=\"ec-topicpath__item\"><a href=\"";
  772.         // line 662
  773.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("photo-product_list");
  774.         echo "\">";
  775.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.product.all_category"), "html"nulltrue);
  776.         echo "</a>
  777.                 </li>
  778.                 ";
  779.         // line 664
  780.         if ( !(null === (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'664$this->source); })()))) {
  781.             // line 665
  782.             echo "                    ";
  783.             $context['_parent'] = $context;
  784.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'665$this->source); })()), "path", [], "any"falsefalsefalse665));
  785.             $context['loop'] = [
  786.               'parent' => $context['_parent'],
  787.               'index0' => 0,
  788.               'index'  => 1,
  789.               'first'  => true,
  790.             ];
  791.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  792.                 $length count($context['_seq']);
  793.                 $context['loop']['revindex0'] = $length 1;
  794.                 $context['loop']['revindex'] = $length;
  795.                 $context['loop']['length'] = $length;
  796.                 $context['loop']['last'] = === $length;
  797.             }
  798.             foreach ($context['_seq'] as $context["_key"] => $context["Path"]) {
  799.                 // line 666
  800.                 echo "                        ";
  801.                 if ( !twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse666)) {
  802.                     echo 
  803.                             <li class=\"ec-topicpath__divider\">></li>
  804.                             <li class=\"ec-topicpath__item";
  805.                     // line 668
  806.                     if (twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse668)) {
  807.                         echo "--active";
  808.                     }
  809.                     echo "\">
  810.                                 <a href=\"";
  811.                     // line 669
  812.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("photo-product_list");
  813.                     echo "?category_id=";
  814.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Path"], "id", [], "any"falsefalsefalse669), "html"nulltrue);
  815.                     echo "#contents-list\">";
  816.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Path"], "name", [], "any"falsefalsefalse669), "html"nulltrue);
  817.                     echo "</a>
  818.                             </li>
  819.                         ";
  820.                 }
  821.                 // line 672
  822.                 echo "                    ";
  823.                 ++$context['loop']['index0'];
  824.                 ++$context['loop']['index'];
  825.                 $context['loop']['first'] = false;
  826.                 if (isset($context['loop']['length'])) {
  827.                     --$context['loop']['revindex0'];
  828.                     --$context['loop']['revindex'];
  829.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  830.                 }
  831.             }
  832.             $_parent $context['_parent'];
  833.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Path'], $context['_parent'], $context['loop']);
  834.             $context array_intersect_key($context$_parent) + $_parent;
  835.             // line 673
  836.             echo "                ";
  837.         }
  838.         // line 674
  839.         echo "              ";
  840.         // line 675
  841.         echo "              ";
  842.         // line 676
  843.         echo "    \t\t        ";
  844.         // line 677
  845.         echo "    \t\t        ";
  846.         // line 678
  847.         echo "            \t\t";
  848.         // line 679
  849.         echo "            \t\t";
  850.         // line 680
  851.         echo "            \t\t";
  852.         // line 681
  853.         echo "            \t\t";
  854.         // line 682
  855.         echo "            \t\t";
  856.         // line 683
  857.         echo "              ";
  858.         // line 684
  859.         echo "              ";
  860.         // line 685
  861.         echo "              ";
  862.         // line 686
  863.         echo "              ";
  864.         // line 687
  865.         echo "              ";
  866.         // line 688
  867.         echo "              ";
  868.         // line 689
  869.         echo "              ";
  870.         // line 690
  871.         echo "              ";
  872.         // line 691
  873.         echo "              ";
  874.         // line 692
  875.         echo "              ";
  876.         // line 693
  877.         echo "              ";
  878.         // line 694
  879.         echo "              ";
  880.         // line 695
  881.         echo "              ";
  882.         // line 696
  883.         echo "              ";
  884.         // line 697
  885.         echo "              ";
  886.         // line 698
  887.         echo "              
  888.                 ";
  889.         // line 700
  890.         echo "                ";
  891.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["search_form"]) || array_key_exists("search_form"$context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.'700$this->source); })()), "vars", [], "any"falsefalsefalse700), "value", [], "any"falsefalsefalse700), "name", [], "any"falsefalsefalse700)) {
  892.             // line 701
  893.             echo "                    <li class=\"ec-topicpath__divider\">></li>
  894.                     <li class=\"ec-topicpath__item\"><a href=\"";
  895.             // line 702
  896.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("photo-product_list");
  897.             echo "?name=";
  898.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["search_form"]) || array_key_exists("search_form"$context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.'702$this->source); })()), "vars", [], "any"falsefalsefalse702), "value", [], "any"falsefalsefalse702), "name", [], "any"falsefalsefalse702), "html"nulltrue);
  899.             echo "#contents-list\">";
  900.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["search_form"]) || array_key_exists("search_form"$context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.'702$this->source); })()), "vars", [], "any"falsefalsefalse702), "value", [], "any"falsefalsefalse702), "name", [], "any"falsefalsefalse702), "html"nulltrue);
  901.             echo "</a></li>
  902.                 ";
  903.         }
  904.         // line 704
  905.         echo "                
  906.                 ";
  907.         // line 706
  908.         echo "                ";
  909.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'706$this->source); })()), "request", [], "any"falsefalsefalse706), "query", [], "any"falsefalsefalse706), "get", [=> "prefectures"], "method"falsefalsefalse706)) {
  910.             // line 707
  911.             echo "                    <li class=\"ec-topicpath__divider\">></li>
  912.                     <li class=\"ec-topicpath__item\">
  913.                         <a href=\"";
  914.             // line 709
  915.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("photo-product_list", ["category_id" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 710
  916. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'710$this->source); })()), "request", [], "any"falsefalsefalse710), "query", [], "any"falsefalsefalse710), "get", [=> "category_id"], "method"falsefalsefalse710), "prefectures" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 711
  917. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'711$this->source); })()), "request", [], "any"falsefalsefalse711), "query", [], "any"falsefalsefalse711), "get", [=> "prefectures"], "method"falsefalsefalse711)]), "html"nulltrue);
  918.             // line 712
  919.             echo "#contents-list\">
  920.                             ";
  921.             // line 713
  922.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'713$this->source); })()), "request", [], "any"falsefalsefalse713), "query", [], "any"falsefalsefalse713), "get", [=> "prefectures"], "method"falsefalsefalse713), "html"nulltrue);
  923.             echo "
  924.                         </a>
  925.                     </li>
  926.                 ";
  927.         }
  928.         // line 717
  929.         echo "                
  930.                 ";
  931.         // line 719
  932.         echo "                ";
  933.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'719$this->source); })()), "request", [], "any"falsefalsefalse719), "query", [], "any"falsefalsefalse719), "get", [=> "operator"], "method"falsefalsefalse719)) {
  934.             // line 720
  935.             echo "                    <li class=\"ec-topicpath__divider\">></li>
  936.                     <li class=\"ec-topicpath__item\">
  937.                             <a href=\"";
  938.             // line 722
  939.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("photo-product_list", ["category_id" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 723
  940. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'723$this->source); })()), "request", [], "any"falsefalsefalse723), "query", [], "any"falsefalsefalse723), "get", [=> "category_id"], "method"falsefalsefalse723), "operator" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 724
  941. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'724$this->source); })()), "request", [], "any"falsefalsefalse724), "query", [], "any"falsefalsefalse724), "get", [=> "operator"], "method"falsefalsefalse724)]), "html"nulltrue);
  942.             // line 725
  943.             echo "#contents-list\">
  944.                                 ";
  945.             // line 726
  946.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'726$this->source); })()), "request", [], "any"falsefalsefalse726), "query", [], "any"falsefalsefalse726), "get", [=> "operator"], "method"falsefalsefalse726), "html"nulltrue);
  947.             echo "
  948.                             </a>
  949.                     </li>
  950.                 ";
  951.         }
  952.         // line 730
  953.         echo "                
  954.                 ";
  955.         // line 732
  956.         echo "                ";
  957.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'732$this->source); })()), "request", [], "any"falsefalsefalse732), "query", [], "any"falsefalsefalse732), "get", [=> "photographing_period"], "method"falsefalsefalse732)) {
  958.             // line 733
  959.             echo "                    <li class=\"ec-topicpath__divider\">></li>
  960.                     <li class=\"ec-topicpath__item\">
  961.                             <a href=\"";
  962.             // line 735
  963.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("photo-product_list", ["category_id" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 736
  964. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'736$this->source); })()), "request", [], "any"falsefalsefalse736), "query", [], "any"falsefalsefalse736), "get", [=> "category_id"], "method"falsefalsefalse736), "operator" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 737
  965. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'737$this->source); })()), "request", [], "any"falsefalsefalse737), "query", [], "any"falsefalsefalse737), "get", [=> "photographing_period"], "method"falsefalsefalse737)]), "html"nulltrue);
  966.             // line 738
  967.             echo "#contents-list\">
  968.                                 ";
  969.             // line 739
  970.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'739$this->source); })()), "request", [], "any"falsefalsefalse739), "query", [], "any"falsefalsefalse739), "get", [=> "photographing_period"], "method"falsefalsefalse739), "html"nulltrue);
  971.             echo "
  972.                             </a>
  973.                     </li>
  974.                 ";
  975.         }
  976.         // line 743
  977.         echo "
  978.                 ";
  979.         // line 745
  980.         echo "                ";
  981.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'745$this->source); })()), "request", [], "any"falsefalsefalse745), "query", [], "any"falsefalsefalse745), "get", [=> "locations"], "method"falsefalsefalse745)) {
  982.             // line 746
  983.             echo "                    ";
  984.             $context['_parent'] = $context;
  985.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'746$this->source); })()), "request", [], "any"falsefalsefalse746), "query", [], "any"falsefalsefalse746), "get", [=> "locations"], "method"falsefalsefalse746));
  986.             $context['loop'] = [
  987.               'parent' => $context['_parent'],
  988.               'index0' => 0,
  989.               'index'  => 1,
  990.               'first'  => true,
  991.             ];
  992.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  993.                 $length count($context['_seq']);
  994.                 $context['loop']['revindex0'] = $length 1;
  995.                 $context['loop']['revindex'] = $length;
  996.                 $context['loop']['length'] = $length;
  997.                 $context['loop']['last'] = === $length;
  998.             }
  999.             foreach ($context['_seq'] as $context["_key"] => $context["location"]) {
  1000.                 // line 747
  1001.                 echo "                            ";
  1002.                 if (twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse747)) {
  1003.                     // line 748
  1004.                     echo "                                <li class=\"ec-topicpath__divider\">></li>
  1005.                             ";
  1006.                 } else {
  1007.                     // line 750
  1008.                     echo "                                <li class=\"ec-topicpath__divider\">・</li>
  1009.                             ";
  1010.                 }
  1011.                 // line 752
  1012.                 echo "                                <li>
  1013.                                     <a href=\"";
  1014.                 // line 753
  1015.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("photo-product_list", ["category_id" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                 // line 754
  1016. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'754$this->source); })()), "request", [], "any"falsefalsefalse754), "query", [], "any"falsefalsefalse754), "get", [=> "category_id"], "method"falsefalsefalse754), "locations[]" =>                 // line 755
  1017. $context["location"]]), "html"nulltrue);
  1018.                 // line 756
  1019.                 echo "#contents-list\">
  1020.                                         ";
  1021.                 // line 757
  1022.                 echo twig_escape_filter($this->env$context["location"], "html"nulltrue);
  1023.                 echo "
  1024.                                     </a>
  1025.                                 </li>
  1026.                     ";
  1027.                 ++$context['loop']['index0'];
  1028.                 ++$context['loop']['index'];
  1029.                 $context['loop']['first'] = false;
  1030.                 if (isset($context['loop']['length'])) {
  1031.                     --$context['loop']['revindex0'];
  1032.                     --$context['loop']['revindex'];
  1033.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  1034.                 }
  1035.             }
  1036.             $_parent $context['_parent'];
  1037.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['location'], $context['_parent'], $context['loop']);
  1038.             $context array_intersect_key($context$_parent) + $_parent;
  1039.             // line 761
  1040.             echo "                ";
  1041.         }
  1042.         // line 762
  1043.         echo "                
  1044.                 ";
  1045.         // line 764
  1046.         echo "                ";
  1047.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'764$this->source); })()), "request", [], "any"falsefalsefalse764), "query", [], "any"falsefalsefalse764), "get", [=> "weathers"], "method"falsefalsefalse764)) {
  1048.             // line 765
  1049.             echo "                    ";
  1050.             $context['_parent'] = $context;
  1051.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'765$this->source); })()), "request", [], "any"falsefalsefalse765), "query", [], "any"falsefalsefalse765), "get", [=> "weathers"], "method"falsefalsefalse765));
  1052.             $context['loop'] = [
  1053.               'parent' => $context['_parent'],
  1054.               'index0' => 0,
  1055.               'index'  => 1,
  1056.               'first'  => true,
  1057.             ];
  1058.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  1059.                 $length count($context['_seq']);
  1060.                 $context['loop']['revindex0'] = $length 1;
  1061.                 $context['loop']['revindex'] = $length;
  1062.                 $context['loop']['length'] = $length;
  1063.                 $context['loop']['last'] = === $length;
  1064.             }
  1065.             foreach ($context['_seq'] as $context["_key"] => $context["weather"]) {
  1066.                 // line 766
  1067.                 echo "                            ";
  1068.                 if (twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse766)) {
  1069.                     // line 767
  1070.                     echo "                                <li class=\"ec-topicpath__divider\">></li>
  1071.                             ";
  1072.                 } else {
  1073.                     // line 769
  1074.                     echo "                                <li class=\"ec-topicpath__divider\">・</li>
  1075.                             ";
  1076.                 }
  1077.                 // line 771
  1078.                 echo "                                <li>
  1079.                                     <a href=\"";
  1080.                 // line 772
  1081.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("photo-product_list", ["category_id" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                 // line 773
  1082. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'773$this->source); })()), "request", [], "any"falsefalsefalse773), "query", [], "any"falsefalsefalse773), "get", [=> "category_id"], "method"falsefalsefalse773), "weathers[]" =>                 // line 774
  1083. $context["weather"]]), "html"nulltrue);
  1084.                 // line 775
  1085.                 echo "#contents-list\">
  1086.                                         ";
  1087.                 // line 776
  1088.                 echo twig_escape_filter($this->env$context["weather"], "html"nulltrue);
  1089.                 echo "
  1090.                                     </a>
  1091.                                 </li>
  1092.                     ";
  1093.                 ++$context['loop']['index0'];
  1094.                 ++$context['loop']['index'];
  1095.                 $context['loop']['first'] = false;
  1096.                 if (isset($context['loop']['length'])) {
  1097.                     --$context['loop']['revindex0'];
  1098.                     --$context['loop']['revindex'];
  1099.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  1100.                 }
  1101.             }
  1102.             $_parent $context['_parent'];
  1103.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['weather'], $context['_parent'], $context['loop']);
  1104.             $context array_intersect_key($context$_parent) + $_parent;
  1105.             // line 780
  1106.             echo "                ";
  1107.         }
  1108.         // line 781
  1109.         echo "
  1110.                 ";
  1111.         // line 783
  1112.         echo "                ";
  1113.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'783$this->source); })()), "request", [], "any"falsefalsefalse783), "query", [], "any"falsefalsefalse783), "get", [=> "camera_angles"], "method"falsefalsefalse783)) {
  1114.             // line 784
  1115.             echo "                    ";
  1116.             $context['_parent'] = $context;
  1117.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'784$this->source); })()), "request", [], "any"falsefalsefalse784), "query", [], "any"falsefalsefalse784), "get", [=> "camera_angles"], "method"falsefalsefalse784));
  1118.             $context['loop'] = [
  1119.               'parent' => $context['_parent'],
  1120.               'index0' => 0,
  1121.               'index'  => 1,
  1122.               'first'  => true,
  1123.             ];
  1124.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  1125.                 $length count($context['_seq']);
  1126.                 $context['loop']['revindex0'] = $length 1;
  1127.                 $context['loop']['revindex'] = $length;
  1128.                 $context['loop']['length'] = $length;
  1129.                 $context['loop']['last'] = === $length;
  1130.             }
  1131.             foreach ($context['_seq'] as $context["_key"] => $context["camera_angle"]) {
  1132.                 // line 785
  1133.                 echo "                            ";
  1134.                 if (twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse785)) {
  1135.                     // line 786
  1136.                     echo "                                <li class=\"ec-topicpath__divider\">></li>
  1137.                             ";
  1138.                 } else {
  1139.                     // line 788
  1140.                     echo "                                <li class=\"ec-topicpath__divider\">・</li>
  1141.                             ";
  1142.                 }
  1143.                 // line 790
  1144.                 echo "                                <li>
  1145.                                     <a href=\"";
  1146.                 // line 791
  1147.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("photo-product_list", ["category_id" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                 // line 792
  1148. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'792$this->source); })()), "request", [], "any"falsefalsefalse792), "query", [], "any"falsefalsefalse792), "get", [=> "category_id"], "method"falsefalsefalse792), "camera_angles[]" =>                 // line 793
  1149. $context["camera_angle"]]), "html"nulltrue);
  1150.                 // line 794
  1151.                 echo "#contents-list\">
  1152.                                         ";
  1153.                 // line 795
  1154.                 echo twig_escape_filter($this->env$context["camera_angle"], "html"nulltrue);
  1155.                 echo "
  1156.                                     </a>
  1157.                                 </li>
  1158.                     ";
  1159.                 ++$context['loop']['index0'];
  1160.                 ++$context['loop']['index'];
  1161.                 $context['loop']['first'] = false;
  1162.                 if (isset($context['loop']['length'])) {
  1163.                     --$context['loop']['revindex0'];
  1164.                     --$context['loop']['revindex'];
  1165.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  1166.                 }
  1167.             }
  1168.             $_parent $context['_parent'];
  1169.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['camera_angle'], $context['_parent'], $context['loop']);
  1170.             $context array_intersect_key($context$_parent) + $_parent;
  1171.             // line 799
  1172.             echo "                ";
  1173.         }
  1174.         // line 800
  1175.         echo "
  1176.                 ";
  1177.         // line 802
  1178.         echo "                ";
  1179.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'802$this->source); })()), "request", [], "any"falsefalsefalse802), "query", [], "any"falsefalsefalse802), "get", [=> "color_types"], "method"falsefalsefalse802)) {
  1180.             // line 803
  1181.             echo "                    ";
  1182.             $context['_parent'] = $context;
  1183.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'803$this->source); })()), "request", [], "any"falsefalsefalse803), "query", [], "any"falsefalsefalse803), "get", [=> "color_types"], "method"falsefalsefalse803));
  1184.             $context['loop'] = [
  1185.               'parent' => $context['_parent'],
  1186.               'index0' => 0,
  1187.               'index'  => 1,
  1188.               'first'  => true,
  1189.             ];
  1190.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  1191.                 $length count($context['_seq']);
  1192.                 $context['loop']['revindex0'] = $length 1;
  1193.                 $context['loop']['revindex'] = $length;
  1194.                 $context['loop']['length'] = $length;
  1195.                 $context['loop']['last'] = === $length;
  1196.             }
  1197.             foreach ($context['_seq'] as $context["_key"] => $context["color_type"]) {
  1198.                 // line 804
  1199.                 echo "                            ";
  1200.                 if (twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse804)) {
  1201.                     // line 805
  1202.                     echo "                                <li class=\"ec-topicpath__divider\">></li>
  1203.                             ";
  1204.                 } else {
  1205.                     // line 807
  1206.                     echo "                                <li class=\"ec-topicpath__divider\">・</li>
  1207.                             ";
  1208.                 }
  1209.                 // line 809
  1210.                 echo "                                <li>
  1211.                                     <a href=\"";
  1212.                 // line 810
  1213.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("photo-product_list", ["category_id" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                 // line 811
  1214. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'811$this->source); })()), "request", [], "any"falsefalsefalse811), "query", [], "any"falsefalsefalse811), "get", [=> "category_id"], "method"falsefalsefalse811), "color_types[]" =>                 // line 812
  1215. $context["color_type"]]), "html"nulltrue);
  1216.                 // line 813
  1217.                 echo "#contents-list\">
  1218.                                         ";
  1219.                 // line 814
  1220.                 echo twig_escape_filter($this->env$context["color_type"], "html"nulltrue);
  1221.                 echo "撮影
  1222.                                     </a>
  1223.                                 </li>
  1224.                     ";
  1225.                 ++$context['loop']['index0'];
  1226.                 ++$context['loop']['index'];
  1227.                 $context['loop']['first'] = false;
  1228.                 if (isset($context['loop']['length'])) {
  1229.                     --$context['loop']['revindex0'];
  1230.                     --$context['loop']['revindex'];
  1231.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  1232.                 }
  1233.             }
  1234.             $_parent $context['_parent'];
  1235.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['color_type'], $context['_parent'], $context['loop']);
  1236.             $context array_intersect_key($context$_parent) + $_parent;
  1237.             // line 818
  1238.             echo "                ";
  1239.         }
  1240.         // line 819
  1241.         echo "
  1242.                 ";
  1243.         // line 821
  1244.         echo "                ";
  1245.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'821$this->source); })()), "request", [], "any"falsefalsefalse821), "query", [], "any"falsefalsefalse821), "get", [=> "features"], "method"falsefalsefalse821)) {
  1246.             // line 822
  1247.             echo "                    ";
  1248.             $context['_parent'] = $context;
  1249.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'822$this->source); })()), "request", [], "any"falsefalsefalse822), "query", [], "any"falsefalsefalse822), "get", [=> "features"], "method"falsefalsefalse822));
  1250.             $context['loop'] = [
  1251.               'parent' => $context['_parent'],
  1252.               'index0' => 0,
  1253.               'index'  => 1,
  1254.               'first'  => true,
  1255.             ];
  1256.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  1257.                 $length count($context['_seq']);
  1258.                 $context['loop']['revindex0'] = $length 1;
  1259.                 $context['loop']['revindex'] = $length;
  1260.                 $context['loop']['length'] = $length;
  1261.                 $context['loop']['last'] = === $length;
  1262.             }
  1263.             foreach ($context['_seq'] as $context["_key"] => $context["feature"]) {
  1264.                 // line 823
  1265.                 echo "                            ";
  1266.                 if (twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse823)) {
  1267.                     // line 824
  1268.                     echo "                                <li class=\"ec-topicpath__divider\">></li>
  1269.                             ";
  1270.                 } else {
  1271.                     // line 826
  1272.                     echo "                                <li class=\"ec-topicpath__divider\">・</li>
  1273.                             ";
  1274.                 }
  1275.                 // line 828
  1276.                 echo "                                <li>
  1277.                                     <a href=\"";
  1278.                 // line 829
  1279.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("photo-product_list", ["category_id" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                 // line 830
  1280. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'830$this->source); })()), "request", [], "any"falsefalsefalse830), "query", [], "any"falsefalsefalse830), "get", [=> "category_id"], "method"falsefalsefalse830), "features[]" =>                 // line 831
  1281. $context["feature"]]), "html"nulltrue);
  1282.                 // line 832
  1283.                 echo "#contents-list\">
  1284.                                         ";
  1285.                 // line 833
  1286.                 echo twig_escape_filter($this->env$context["feature"], "html"nulltrue);
  1287.                 echo "
  1288.                                     </a>
  1289.                                 </li>
  1290.                     ";
  1291.                 ++$context['loop']['index0'];
  1292.                 ++$context['loop']['index'];
  1293.                 $context['loop']['first'] = false;
  1294.                 if (isset($context['loop']['length'])) {
  1295.                     --$context['loop']['revindex0'];
  1296.                     --$context['loop']['revindex'];
  1297.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  1298.                 }
  1299.             }
  1300.             $_parent $context['_parent'];
  1301.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['feature'], $context['_parent'], $context['loop']);
  1302.             $context array_intersect_key($context$_parent) + $_parent;
  1303.             // line 837
  1304.             echo "                ";
  1305.         }
  1306.         // line 838
  1307.         echo "            </ol>
  1308.         </div>
  1309.     <!-- カテゴリ検索 -->
  1310.     ";
  1311.         // line 841
  1312.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'841$this->source); })()), "request", [], "any"falsefalsefalse841), "query", [], "any"falsefalsefalse841), "get", [=> "category_id"], "method"falsefalsefalse841) || twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'841$this->source); })()), "request", [], "any"falsefalsefalse841), "query", [], "any"falsefalsefalse841), "get", [=> "search_parent_id"], "method"falsefalsefalse841))) {
  1313.             // line 842
  1314.             echo "        <form action=\"";
  1315.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("photo-product_list");
  1316.             echo "#contents-list\" method=\"get\" class=\"tab\" >
  1317.             <ul class=\"tab-list\">
  1318.                 ";
  1319.             // line 844
  1320.             $context['_parent'] = $context;
  1321.             $context['_seq'] = twig_ensure_traversable((isset($context["Categories"]) || array_key_exists("Categories"$context) ? $context["Categories"] : (function () { throw new RuntimeError('Variable "Categories" does not exist.'844$this->source); })()));
  1322.             foreach ($context['_seq'] as $context["_key"] => $context["tab"]) {
  1323.                 // line 845
  1324.                 echo "                    ";
  1325.                 $context['_parent'] = $context;
  1326.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["tab"], "Children", [], "any"falsefalsefalse845));
  1327.                 foreach ($context['_seq'] as $context["_key"] => $context["children"]) {
  1328.                     // line 846
  1329.                     echo "                        ";
  1330.                     $context["children_ids"] = [];
  1331.                     // line 847
  1332.                     echo "                        ";
  1333.                     $context['_parent'] = $context;
  1334.                     $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["children"], "Children", [], "any"falsefalsefalse847));
  1335.                     foreach ($context['_seq'] as $context["_key"] => $context["grandChild"]) {
  1336.                         // line 848
  1337.                         echo "                            ";
  1338.                         $context["children_ids"] = twig_array_merge((isset($context["children_ids"]) || array_key_exists("children_ids"$context) ? $context["children_ids"] : (function () { throw new RuntimeError('Variable "children_ids" does not exist.'848$this->source); })()), [=> twig_get_attribute($this->env$this->source$context["grandChild"], "id", [], "any"falsefalsefalse848)]);
  1339.                         // line 849
  1340.                         echo "                        ";
  1341.                     }
  1342.                     $_parent $context['_parent'];
  1343.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['grandChild'], $context['_parent'], $context['loop']);
  1344.                     $context array_intersect_key($context$_parent) + $_parent;
  1345.                     // line 850
  1346.                     echo "                            ";
  1347.                     if ((((twig_get_attribute($this->env$this->source$context["children"], "id", [], "any"falsefalsefalse850) == twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'850$this->source); })()), "request", [], "any"falsefalsefalse850), "query", [], "any"falsefalsefalse850), "get", [=> "category_id"], "method"falsefalsefalse850)) || (twig_get_attribute($this->env$this->source,                     // line 851
  1348. $context["children"], "id", [], "any"falsefalsefalse851) == twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'851$this->source); })()), "request", [], "any"falsefalsefalse851), "query", [], "any"falsefalsefalse851), "get", [=> "search_parent_id"], "method"falsefalsefalse851))) || twig_in_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                     // line 852
  1349. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'852$this->source); })()), "request", [], "any"falsefalsefalse852), "query", [], "any"falsefalsefalse852), "get", [=> "category_id"], "method"falsefalsefalse852), (isset($context["children_ids"]) || array_key_exists("children_ids"$context) ? $context["children_ids"] : (function () { throw new RuntimeError('Variable "children_ids" does not exist.'852$this->source); })())))) {
  1350.                         // line 854
  1351.                         echo "                                <li class=\"tab-item active\" tabindex=\"0\" id=\"";
  1352.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["children"], "id", [], "any"falsefalsefalse854), "html"nulltrue);
  1353.                         echo "\">
  1354.                                     <a href=\"";
  1355.                         // line 855
  1356.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("photo-product_list", ["category_id" => twig_get_attribute($this->env$this->source$context["children"], "id", [], "any"falsefalsefalse855)]), "html"nulltrue);
  1357.                         echo "\">";
  1358.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["children"], "name", [], "any"falsefalsefalse855), "html"nulltrue);
  1359.                         echo "</a>
  1360.                                 </li>
  1361.                             ";
  1362.                     } else {
  1363.                         // line 858
  1364.                         echo "                                <li class=\"tab-item\" tabindex=\"0\" id=\"";
  1365.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["children"], "id", [], "any"falsefalsefalse858), "html"nulltrue);
  1366.                         echo "\">
  1367.                                     <a href=\"";
  1368.                         // line 859
  1369.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("photo-product_list", ["category_id" => twig_get_attribute($this->env$this->source$context["children"], "id", [], "any"falsefalsefalse859)]), "html"nulltrue);
  1370.                         echo "\">";
  1371.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["children"], "name", [], "any"falsefalsefalse859), "html"nulltrue);
  1372.                         echo "</a>
  1373.                                 </li>
  1374.                             ";
  1375.                     }
  1376.                     // line 862
  1377.                     echo "                    ";
  1378.                 }
  1379.                 $_parent $context['_parent'];
  1380.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['children'], $context['_parent'], $context['loop']);
  1381.                 $context array_intersect_key($context$_parent) + $_parent;
  1382.                 // line 863
  1383.                 echo "                ";
  1384.             }
  1385.             $_parent $context['_parent'];
  1386.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tab'], $context['_parent'], $context['loop']);
  1387.             $context array_intersect_key($context$_parent) + $_parent;
  1388.             // line 864
  1389.             echo "            </ul>
  1390.             <div class=\"search-form-box\">
  1391.                 <section id=\"freeword\" class=\"search-section js-accordion\" data-open=\"1\">
  1392.                     <header class=\"search-section__header\">
  1393.                         <div class=\"search-title\">
  1394.                             <img src=\"";
  1395.             // line 869
  1396.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/html/user_data/assets/icon/btn_ic_search.svg ""user_data"), "html"nulltrue);
  1397.             echo "\" class=\"ic\" style=\"width: auto\"><h3>フリーワード検索</h3>
  1398.                         </div>
  1399.                         <button type=\"button\"
  1400.                             class=\"accordion-toggle js-accordion-toggle\"
  1401.                             aria-controls=\"freeword-panel\"
  1402.                             aria-expanded=\"true\"
  1403.                             title=\"閉じる\">
  1404.                             <span class=\"visually-hidden\">フリーワード検索を開閉</span>
  1405.                         </button>
  1406.                     </header>
  1407.                     <div id=\"freeword-panel\"
  1408.                         class=\"search-section__panel js-accordion-panel\"
  1409.                         aria-hidden=\"false\">
  1410.                         <div class=\"search-form-content\">
  1411.                             <div class=\"search-form-item\">
  1412.                                 <input type=\"text\" name=\"name\" class=\"search-form-input\"
  1413.                                  placeholder=\"駅名・線路名・形式・撮影者名など自由に検索できます\"
  1414.                                 ";
  1415.             // line 886
  1416.             if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["search_form"]) || array_key_exists("search_form"$context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.'886$this->source); })()), "vars", [], "any"falsefalsefalse886), "value", [], "any"falsefalsefalse886), "name", [], "any"falsefalsefalse886) && ( !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 887
  1417. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'887$this->source); })()), "request", [], "any"falsefalsefalse887), "query", [], "any"falsefalsefalse887), "get", [=> "search_parent_id"], "method"falsefalsefalse887)) ||  !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'887$this->source); })()), "request", [], "any"falsefalsefalse887), "query", [], "any"falsefalsefalse887), "get", [=> "category_id"], "method"falsefalsefalse887))))) {
  1418.                 // line 888
  1419.                 echo "                                value=\"";
  1420.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["search_form"]) || array_key_exists("search_form"$context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.'888$this->source); })()), "vars", [], "any"falsefalsefalse888), "value", [], "any"falsefalsefalse888), "name", [], "any"falsefalsefalse888), "html"nulltrue);
  1421.                 echo "\"
  1422.                                 ";
  1423.             }
  1424.             // line 890
  1425.             echo "                                >
  1426.                             </div>
  1427.                         </div>
  1428.                         <div class=\"sp-center\">
  1429.                             <button type=\"submit\" class=\"category-btn word-search\">
  1430.                                 <img src=\"";
  1431.             // line 895
  1432.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/html/user_data/assets/icon/btn_ic_search.svg ""user_data"), "html"nulltrue);
  1433.             echo "\" alt=\"お気に入り\">
  1434.                                 検索
  1435.                             </button>
  1436.                         </div>
  1437.                     </div>
  1438.                 </section>
  1439.                 <section id=\"details\" class=\"search-section js-accordion\" data-open=\"0\">
  1440.                     <header class=\"search-section__header\">
  1441.                         <div class=\"search-title\">
  1442.                             <img src=\"";
  1443.             // line 905
  1444.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/html/user_data/assets/icon/title_ic_filter.svg ""user_data"), "html"nulltrue);
  1445.             echo "\" class=\"ic\" style=\"width: auto\"><h3>詳細フィルター</h3>
  1446.                         </div>
  1447.                         <button type=\"button\"
  1448.                                 class=\"accordion-toggle js-accordion-toggle\"
  1449.                                 aria-controls=\"details-panel\"
  1450.                                 aria-expanded=\"false\"
  1451.                                 title=\"開く\">
  1452.                           <span class=\"visually-hidden\">詳細フィルターを開閉</span>
  1453.                         </button>
  1454.                     </header>
  1455.                     <div id=\"details-panel\"
  1456.                         class=\"search-section__panel js-accordion-panel\"
  1457.                         hidden aria-hidden=\"true\">
  1458.                         <div class=\"search-base-content\">
  1459.                             <div class=\"search-base-item\">
  1460.                                 <h4 class=\"search-subtitle\"><label for=\"pref-select\">撮影地(都道府県)</label></h4>
  1461.                                 <div class=\"select\">
  1462.                                     <select name=\"prefectures\" id=\"pref-select\">
  1463.                                         <option value=\"\">選択</option>
  1464.                                         ";
  1465.             // line 925
  1466.             if ( !twig_test_empty((isset($context["prefectures"]) || array_key_exists("prefectures"$context) ? $context["prefectures"] : (function () { throw new RuntimeError('Variable "prefectures" does not exist.'925$this->source); })()))) {
  1467.                 // line 926
  1468.                 echo "                                            ";
  1469.                 $context['_parent'] = $context;
  1470.                 $context['_seq'] = twig_ensure_traversable((isset($context["prefectures"]) || array_key_exists("prefectures"$context) ? $context["prefectures"] : (function () { throw new RuntimeError('Variable "prefectures" does not exist.'926$this->source); })()));
  1471.                 foreach ($context['_seq'] as $context["_key"] => $context["prefecture"]) {
  1472.                     // line 927
  1473.                     echo "                                                <option value=\"";
  1474.                     echo twig_escape_filter($this->env$context["prefecture"], "html"nulltrue);
  1475.                     echo "\"
  1476.                                                 ";
  1477.                     // line 928
  1478.                     if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'928$this->source); })()), "request", [], "any"falsefalsefalse928), "query", [], "any"falsefalsefalse928), "get", [=> "prefectures"], "method"falsefalsefalse928) && ($context["prefecture"] == twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'928$this->source); })()), "request", [], "any"falsefalsefalse928), "query", [], "any"falsefalsefalse928), "get", [=> "prefectures"], "method"falsefalsefalse928)))) {
  1479.                         // line 929
  1480.                         echo "                                                    selected
  1481.                                                 ";
  1482.                     }
  1483.                     // line 930
  1484.                     echo "                                        
  1485.                                                 >";
  1486.                     // line 931
  1487.                     echo twig_escape_filter($this->env$context["prefecture"], "html"nulltrue);
  1488.                     echo "</option>
  1489.                                             ";
  1490.                 }
  1491.                 $_parent $context['_parent'];
  1492.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['prefecture'], $context['_parent'], $context['loop']);
  1493.                 $context array_intersect_key($context$_parent) + $_parent;
  1494.                 // line 933
  1495.                 echo "                                        ";
  1496.             } else {
  1497.                 // line 934
  1498.                 echo "                                            <option value=\"\">該当なし</option>
  1499.                                         ";
  1500.             }
  1501.             // line 936
  1502.             echo "                                    </select>
  1503.                                 </div>
  1504.                             </div>
  1505.                             
  1506.                             <div class=\"search-base-item\">
  1507.                                 <h4 class=\"search-subtitle\"><label for=\"period-select\">年代</label></h4>
  1508.                                 <div class=\"select\">
  1509.                                     <select name=\"photographing_period\" id=\"period-select\" >
  1510.                                         <option value=\"\">選択</option>
  1511.                                         ";
  1512.             // line 945
  1513.             if ( !twig_test_empty((isset($context["photographing_periods"]) || array_key_exists("photographing_periods"$context) ? $context["photographing_periods"] : (function () { throw new RuntimeError('Variable "photographing_periods" does not exist.'945$this->source); })()))) {
  1514.                 // line 946
  1515.                 echo "                                            ";
  1516.                 $context['_parent'] = $context;
  1517.                 $context['_seq'] = twig_ensure_traversable(twig_sort_filter($this->env, (isset($context["photographing_periods"]) || array_key_exists("photographing_periods"$context) ? $context["photographing_periods"] : (function () { throw new RuntimeError('Variable "photographing_periods" does not exist.'946$this->source); })())));
  1518.                 foreach ($context['_seq'] as $context["_key"] => $context["photographing_period"]) {
  1519.                     // line 947
  1520.                     echo "                                                <option value=\"";
  1521.                     echo twig_escape_filter($this->env$context["photographing_period"], "html"nulltrue);
  1522.                     echo "\"
  1523.                                                 ";
  1524.                     // line 948
  1525.                     if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'948$this->source); })()), "request", [], "any"falsefalsefalse948), "query", [], "any"falsefalsefalse948), "get", [=> "photographing_period"], "method"falsefalsefalse948) && ($context["photographing_period"] == twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'948$this->source); })()), "request", [], "any"falsefalsefalse948), "query", [], "any"falsefalsefalse948), "get", [=> "photographing_period"], "method"falsefalsefalse948)))) {
  1526.                         // line 949
  1527.                         echo "                                                    selected
  1528.                                                 ";
  1529.                     }
  1530.                     // line 950
  1531.                     echo "  
  1532.                                                 >";
  1533.                     // line 951
  1534.                     echo twig_escape_filter($this->env$context["photographing_period"], "html"nulltrue);
  1535.                     echo "</option>
  1536.                                             ";
  1537.                 }
  1538.                 $_parent $context['_parent'];
  1539.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photographing_period'], $context['_parent'], $context['loop']);
  1540.                 $context array_intersect_key($context$_parent) + $_parent;
  1541.                 // line 953
  1542.                 echo "                                        ";
  1543.             } else {
  1544.                 // line 954
  1545.                 echo "                                            <option value=\"\">該当なし</option>
  1546.                                         ";
  1547.             }
  1548.             // line 956
  1549.             echo "                                    </select>
  1550.                                 </div>
  1551.                             </div>
  1552.                         </div>
  1553.                         
  1554.                         <div class=\"search-filter-content\">
  1555.                             <h4 class=\"search-subtitle\"><legend>撮影アングル</legend></h4> 
  1556.                             <div class=\"search-filter-list\">
  1557.                                 ";
  1558.             // line 964
  1559.             if ( !twig_test_empty((isset($context["camera_angles"]) || array_key_exists("camera_angles"$context) ? $context["camera_angles"] : (function () { throw new RuntimeError('Variable "camera_angles" does not exist.'964$this->source); })()))) {
  1560.                 // line 965
  1561.                 echo "                                    ";
  1562.                 $context['_parent'] = $context;
  1563.                 $context['_seq'] = twig_ensure_traversable((isset($context["camera_angles"]) || array_key_exists("camera_angles"$context) ? $context["camera_angles"] : (function () { throw new RuntimeError('Variable "camera_angles" does not exist.'965$this->source); })()));
  1564.                 foreach ($context['_seq'] as $context["_key"] => $context["camera_angle"]) {
  1565.                     // line 966
  1566.                     echo "                                        <label class=\"filter-checkbox-item\">
  1567.                                             <input type=\"checkbox\" name=\"camera_angles[]\" value=\"";
  1568.                     // line 967
  1569.                     echo twig_escape_filter($this->env$context["camera_angle"], "html"nulltrue);
  1570.                     echo "\"
  1571.                                                 ";
  1572.                     // line 968
  1573.                     if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'968$this->source); })()), "request", [], "any"falsefalsefalse968), "query", [], "any"falsefalsefalse968), "get", [=> "camera_angles"], "method"falsefalsefalse968) && twig_in_filter($context["camera_angle"], twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'968$this->source); })()), "request", [], "any"falsefalsefalse968), "query", [], "any"falsefalsefalse968), "get", [=> "camera_angles"], "method"falsefalsefalse968)))) {
  1574.                         // line 969
  1575.                         echo "                                                    checked
  1576.                                                 ";
  1577.                     }
  1578.                     // line 970
  1579.                     echo "    
  1580.                                             >";
  1581.                     // line 971
  1582.                     echo twig_escape_filter($this->env$context["camera_angle"], "html"nulltrue);
  1583.                     echo "
  1584.                                         </label>
  1585.                                     ";
  1586.                 }
  1587.                 $_parent $context['_parent'];
  1588.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['camera_angle'], $context['_parent'], $context['loop']);
  1589.                 $context array_intersect_key($context$_parent) + $_parent;
  1590.                 // line 974
  1591.                 echo "                                ";
  1592.             } else {
  1593.                 // line 975
  1594.                 echo "                                    <p>該当する検索候補がありません。</p>
  1595.                                 ";
  1596.             }
  1597.             // line 977
  1598.             echo "                            </div>
  1599.         
  1600.                             <h4 class=\"search-subtitle\"><legend>カラー種別</legend></h4> ";
  1601.             // line 980
  1602.             echo "                            <div class=\"search-filter-list\">
  1603.                                 ";
  1604.             // line 981
  1605.             if ( !twig_test_empty((isset($context["color_types"]) || array_key_exists("color_types"$context) ? $context["color_types"] : (function () { throw new RuntimeError('Variable "color_types" does not exist.'981$this->source); })()))) {
  1606.                 // line 982
  1607.                 echo "                                    ";
  1608.                 $context['_parent'] = $context;
  1609.                 $context['_seq'] = twig_ensure_traversable((isset($context["color_types"]) || array_key_exists("color_types"$context) ? $context["color_types"] : (function () { throw new RuntimeError('Variable "color_types" does not exist.'982$this->source); })()));
  1610.                 foreach ($context['_seq'] as $context["_key"] => $context["color_type"]) {
  1611.                     // line 983
  1612.                     echo "                                        <label class=\"filter-checkbox-item\">
  1613.                                             <input type=\"checkbox\" name=\"color_types[]\" value=\"";
  1614.                     // line 984
  1615.                     echo twig_escape_filter($this->env$context["color_type"], "html"nulltrue);
  1616.                     echo "\"
  1617.                                                 ";
  1618.                     // line 985
  1619.                     if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'985$this->source); })()), "request", [], "any"falsefalsefalse985), "query", [], "any"falsefalsefalse985), "get", [=> "color_types"], "method"falsefalsefalse985) && twig_in_filter($context["color_type"], twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'985$this->source); })()), "request", [], "any"falsefalsefalse985), "query", [], "any"falsefalsefalse985), "get", [=> "color_types"], "method"falsefalsefalse985)))) {
  1620.                         // line 986
  1621.                         echo "                                                    checked
  1622.                                                 ";
  1623.                     }
  1624.                     // line 988
  1625.                     echo "                                            >";
  1626.                     echo twig_escape_filter($this->env$context["color_type"], "html"nulltrue);
  1627.                     echo "
  1628.                                         </label>
  1629.                                     ";
  1630.                 }
  1631.                 $_parent $context['_parent'];
  1632.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['color_type'], $context['_parent'], $context['loop']);
  1633.                 $context array_intersect_key($context$_parent) + $_parent;
  1634.                 // line 991
  1635.                 echo "                                ";
  1636.             } else {
  1637.                 // line 992
  1638.                 echo "                                    <p>該当する検索候補がありません。</p>
  1639.                                 ";
  1640.             }
  1641.             // line 994
  1642.             echo "                            </div>
  1643.                         </div>
  1644.                         <div class=\"sp-center\">
  1645.                             <button type=\"submit\" class=\"category-btn word-search\">
  1646.                                 <img src=\"";
  1647.             // line 998
  1648.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/html/user_data/assets/icon/btn_ic_search.svg ""user_data"), "html"nulltrue);
  1649.             echo "\" alt=\"お気に入り\">
  1650.                                 検索
  1651.                             </button>
  1652.                         </div>
  1653.                     </div>
  1654.                 </section>
  1655.             </div>
  1656.             ";
  1657.             // line 1005
  1658.             if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1005$this->source); })()), "request", [], "any"falsefalsefalse1005), "query", [], "any"falsefalsefalse1005), "get", [=> "category_id"], "method"falsefalsefalse1005) || twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1005$this->source); })()), "request", [], "any"falsefalsefalse1005), "query", [], "any"falsefalsefalse1005), "get", [=> "search_parent_id"], "method"falsefalsefalse1005))) {
  1659.                 // line 1006
  1660.                 echo "                <input type=\"hidden\" name=\"category_id\" value=\"";
  1661.                 echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1006$this->source); })()), "request", [], "any"falsefalsefalse1006), "query", [], "any"falsefalsefalse1006), "get", [=> "category_id"], "method"falsefalsefalse1006)) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1006$this->source); })()), "request", [], "any"falsefalsefalse1006), "query", [], "any"falsefalsefalse1006), "get", [=> "category_id"], "method"falsefalsefalse1006)) : (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1006$this->source); })()), "request", [], "any"falsefalsefalse1006), "query", [], "any"falsefalsefalse1006), "get", [=> "search_parent_id"], "method"falsefalsefalse1006))), "html"nulltrue);
  1662.                 echo "\">
  1663.             ";
  1664.             }
  1665.             // line 1008
  1666.             echo "        </form>
  1667.     ";
  1668.         }
  1669.         // line 1010
  1670.         echo "<section class=\"contents-list\" id=\"contents-list\">
  1671. \t<!-- 商品リスト -->
  1672. \t<div class=\"list-view\">
  1673. \t\t<div class=\"list-title\">
  1674. \t\t    <div class=\"list-title-left\">
  1675. \t\t        ";
  1676.         // line 1017
  1677.         echo "                ";
  1678.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1017$this->source); })()), "request", [], "any"falsefalsefalse1017), "query", [], "any"falsefalsefalse1017), "get", [=> "category_id"], "method"falsefalsefalse1017)) {
  1679.             // line 1018
  1680.             echo "                        <h2 class=\"ec-topicpath__title\">";
  1681.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'1018$this->source); })()), "name", [], "any"falsefalsefalse1018), "html"nulltrue);
  1682.             echo "<span>の写真</span></h2>
  1683.                         ";
  1684.             // line 1019
  1685.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["search_form"]) || array_key_exists("search_form"$context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.'1019$this->source); })()), "vars", [], "any"falsefalsefalse1019), "value", [], "any"falsefalsefalse1019), "name", [], "any"falsefalsefalse1019)) {
  1686.                 // line 1020
  1687.                 echo "                            <p class=\"ec-topicpath__item\"> > ";
  1688.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["search_form"]) || array_key_exists("search_form"$context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.'1020$this->source); })()), "vars", [], "any"falsefalsefalse1020), "value", [], "any"falsefalsefalse1020), "name", [], "any"falsefalsefalse1020), "html"nulltrue);
  1689.                 echo "</p>
  1690.                         ";
  1691.             }
  1692.             // line 1022
  1693.             echo "                        ";
  1694.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1022$this->source); })()), "request", [], "any"falsefalsefalse1022), "query", [], "any"falsefalsefalse1022), "get", [=> "prefectures"], "method"falsefalsefalse1022)) {
  1695.                 // line 1023
  1696.                 echo "                            <p class=\"ec-topicpath__item\"> > ";
  1697.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1023$this->source); })()), "request", [], "any"falsefalsefalse1023), "query", [], "any"falsefalsefalse1023), "get", [=> "prefectures"], "method"falsefalsefalse1023), "html"nulltrue);
  1698.                 echo "</p>
  1699.                         ";
  1700.             }
  1701.             // line 1025
  1702.             echo "                        ";
  1703.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1025$this->source); })()), "request", [], "any"falsefalsefalse1025), "query", [], "any"falsefalsefalse1025), "get", [=> "operator"], "method"falsefalsefalse1025)) {
  1704.                 // line 1026
  1705.                 echo "                            <p class=\"ec-topicpath__item\"> > ";
  1706.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1026$this->source); })()), "request", [], "any"falsefalsefalse1026), "query", [], "any"falsefalsefalse1026), "get", [=> "operator"], "method"falsefalsefalse1026), "html"nulltrue);
  1707.                 echo "</p>
  1708.                         ";
  1709.             }
  1710.             // line 1028
  1711.             echo "                        ";
  1712.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1028$this->source); })()), "request", [], "any"falsefalsefalse1028), "query", [], "any"falsefalsefalse1028), "get", [=> "photographing_period"], "method"falsefalsefalse1028)) {
  1713.                 // line 1029
  1714.                 echo "                            <p class=\"ec-topicpath__item\"> > ";
  1715.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1029$this->source); })()), "request", [], "any"falsefalsefalse1029), "query", [], "any"falsefalsefalse1029), "get", [=> "photographing_period"], "method"falsefalsefalse1029), "html"nulltrue);
  1716.                 echo "</p>
  1717.                         ";
  1718.             }
  1719.             // line 1031
  1720.             echo "                        ";
  1721.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1031$this->source); })()), "request", [], "any"falsefalsefalse1031), "query", [], "any"falsefalsefalse1031), "get", [=> "locations"], "method"falsefalsefalse1031)) {
  1722.                 // line 1032
  1723.                 echo "                            <p class=\"ec-topicpath__item\">
  1724.                             ";
  1725.                 // line 1033
  1726.                 $context['_parent'] = $context;
  1727.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1033$this->source); })()), "request", [], "any"falsefalsefalse1033), "query", [], "any"falsefalsefalse1033), "get", [=> "locations"], "method"falsefalsefalse1033));
  1728.                 $context['loop'] = [
  1729.                   'parent' => $context['_parent'],
  1730.                   'index0' => 0,
  1731.                   'index'  => 1,
  1732.                   'first'  => true,
  1733.                 ];
  1734.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  1735.                     $length count($context['_seq']);
  1736.                     $context['loop']['revindex0'] = $length 1;
  1737.                     $context['loop']['revindex'] = $length;
  1738.                     $context['loop']['length'] = $length;
  1739.                     $context['loop']['last'] = === $length;
  1740.                 }
  1741.                 foreach ($context['_seq'] as $context["_key"] => $context["location"]) {
  1742.                     // line 1034
  1743.                     echo "                                ";
  1744.                     if (twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse1034)) {
  1745.                         // line 1035
  1746.                         echo "                                     > ";
  1747.                         echo twig_escape_filter($this->env$context["location"], "html"nulltrue);
  1748.                         echo "
  1749.                                 ";
  1750.                     } else {
  1751.                         // line 1037
  1752.                         echo "                                    <span class=\"ec-topicpath__item\">・";
  1753.                         echo twig_escape_filter($this->env$context["location"], "html"nulltrue);
  1754.                         echo "</span>
  1755.                                 ";
  1756.                     }
  1757.                     // line 1039
  1758.                     echo "                            ";
  1759.                     ++$context['loop']['index0'];
  1760.                     ++$context['loop']['index'];
  1761.                     $context['loop']['first'] = false;
  1762.                     if (isset($context['loop']['length'])) {
  1763.                         --$context['loop']['revindex0'];
  1764.                         --$context['loop']['revindex'];
  1765.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  1766.                     }
  1767.                 }
  1768.                 $_parent $context['_parent'];
  1769.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['location'], $context['_parent'], $context['loop']);
  1770.                 $context array_intersect_key($context$_parent) + $_parent;
  1771.                 // line 1040
  1772.                 echo "                            </p>
  1773.                         ";
  1774.             }
  1775.             // line 1042
  1776.             echo "                        ";
  1777.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1042$this->source); })()), "request", [], "any"falsefalsefalse1042), "query", [], "any"falsefalsefalse1042), "get", [=> "weathers"], "method"falsefalsefalse1042)) {
  1778.                 // line 1043
  1779.                 echo "                            <p class=\"ec-topicpath__item\">
  1780.                             ";
  1781.                 // line 1044
  1782.                 $context['_parent'] = $context;
  1783.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1044$this->source); })()), "request", [], "any"falsefalsefalse1044), "query", [], "any"falsefalsefalse1044), "get", [=> "weathers"], "method"falsefalsefalse1044));
  1784.                 $context['loop'] = [
  1785.                   'parent' => $context['_parent'],
  1786.                   'index0' => 0,
  1787.                   'index'  => 1,
  1788.                   'first'  => true,
  1789.                 ];
  1790.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  1791.                     $length count($context['_seq']);
  1792.                     $context['loop']['revindex0'] = $length 1;
  1793.                     $context['loop']['revindex'] = $length;
  1794.                     $context['loop']['length'] = $length;
  1795.                     $context['loop']['last'] = === $length;
  1796.                 }
  1797.                 foreach ($context['_seq'] as $context["_key"] => $context["weather"]) {
  1798.                     // line 1045
  1799.                     echo "                                ";
  1800.                     if (twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse1045)) {
  1801.                         // line 1046
  1802.                         echo "                                     > ";
  1803.                         echo twig_escape_filter($this->env$context["weather"], "html"nulltrue);
  1804.                         echo "
  1805.                                 ";
  1806.                     } else {
  1807.                         // line 1048
  1808.                         echo "                                    <span class=\"ec-topicpath__item\">・";
  1809.                         echo twig_escape_filter($this->env$context["weather"], "html"nulltrue);
  1810.                         echo "</span>
  1811.                                 ";
  1812.                     }
  1813.                     // line 1050
  1814.                     echo "                            ";
  1815.                     ++$context['loop']['index0'];
  1816.                     ++$context['loop']['index'];
  1817.                     $context['loop']['first'] = false;
  1818.                     if (isset($context['loop']['length'])) {
  1819.                         --$context['loop']['revindex0'];
  1820.                         --$context['loop']['revindex'];
  1821.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  1822.                     }
  1823.                 }
  1824.                 $_parent $context['_parent'];
  1825.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['weather'], $context['_parent'], $context['loop']);
  1826.                 $context array_intersect_key($context$_parent) + $_parent;
  1827.                 // line 1051
  1828.                 echo "                            </p>
  1829.                         ";
  1830.             }
  1831.             // line 1053
  1832.             echo "                        ";
  1833.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1053$this->source); })()), "request", [], "any"falsefalsefalse1053), "query", [], "any"falsefalsefalse1053), "get", [=> "camera_angles"], "method"falsefalsefalse1053)) {
  1834.                 // line 1054
  1835.                 echo "                            <p class=\"ec-topicpath__item\">
  1836.                             ";
  1837.                 // line 1055
  1838.                 $context['_parent'] = $context;
  1839.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1055$this->source); })()), "request", [], "any"falsefalsefalse1055), "query", [], "any"falsefalsefalse1055), "get", [=> "camera_angles"], "method"falsefalsefalse1055));
  1840.                 $context['loop'] = [
  1841.                   'parent' => $context['_parent'],
  1842.                   'index0' => 0,
  1843.                   'index'  => 1,
  1844.                   'first'  => true,
  1845.                 ];
  1846.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  1847.                     $length count($context['_seq']);
  1848.                     $context['loop']['revindex0'] = $length 1;
  1849.                     $context['loop']['revindex'] = $length;
  1850.                     $context['loop']['length'] = $length;
  1851.                     $context['loop']['last'] = === $length;
  1852.                 }
  1853.                 foreach ($context['_seq'] as $context["_key"] => $context["camera_angle"]) {
  1854.                     // line 1056
  1855.                     echo "                                ";
  1856.                     if (twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse1056)) {
  1857.                         // line 1057
  1858.                         echo "                                     > ";
  1859.                         echo twig_escape_filter($this->env$context["camera_angle"], "html"nulltrue);
  1860.                         echo "
  1861.                                 ";
  1862.                     } else {
  1863.                         // line 1059
  1864.                         echo "                                    <span class=\"ec-topicpath__item\">・";
  1865.                         echo twig_escape_filter($this->env$context["camera_angle"], "html"nulltrue);
  1866.                         echo "</span>
  1867.                                 ";
  1868.                     }
  1869.                     // line 1061
  1870.                     echo "                            ";
  1871.                     ++$context['loop']['index0'];
  1872.                     ++$context['loop']['index'];
  1873.                     $context['loop']['first'] = false;
  1874.                     if (isset($context['loop']['length'])) {
  1875.                         --$context['loop']['revindex0'];
  1876.                         --$context['loop']['revindex'];
  1877.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  1878.                     }
  1879.                 }
  1880.                 $_parent $context['_parent'];
  1881.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['camera_angle'], $context['_parent'], $context['loop']);
  1882.                 $context array_intersect_key($context$_parent) + $_parent;
  1883.                 // line 1062
  1884.                 echo "                            </p>
  1885.                         ";
  1886.             }
  1887.             // line 1064
  1888.             echo "                        ";
  1889.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1064$this->source); })()), "request", [], "any"falsefalsefalse1064), "query", [], "any"falsefalsefalse1064), "get", [=> "color_types"], "method"falsefalsefalse1064)) {
  1890.                 // line 1065
  1891.                 echo "                            <p class=\"ec-topicpath__item\">
  1892.                             ";
  1893.                 // line 1066
  1894.                 $context['_parent'] = $context;
  1895.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1066$this->source); })()), "request", [], "any"falsefalsefalse1066), "query", [], "any"falsefalsefalse1066), "get", [=> "color_types"], "method"falsefalsefalse1066));
  1896.                 $context['loop'] = [
  1897.                   'parent' => $context['_parent'],
  1898.                   'index0' => 0,
  1899.                   'index'  => 1,
  1900.                   'first'  => true,
  1901.                 ];
  1902.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  1903.                     $length count($context['_seq']);
  1904.                     $context['loop']['revindex0'] = $length 1;
  1905.                     $context['loop']['revindex'] = $length;
  1906.                     $context['loop']['length'] = $length;
  1907.                     $context['loop']['last'] = === $length;
  1908.                 }
  1909.                 foreach ($context['_seq'] as $context["_key"] => $context["color_type"]) {
  1910.                     // line 1067
  1911.                     echo "                                ";
  1912.                     if (twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse1067)) {
  1913.                         // line 1068
  1914.                         echo "                                     > ";
  1915.                         echo twig_escape_filter($this->env$context["color_type"], "html"nulltrue);
  1916.                         echo "
  1917.                                 ";
  1918.                     } else {
  1919.                         // line 1070
  1920.                         echo "                                    <span class=\"ec-topicpath__item\">・";
  1921.                         echo twig_escape_filter($this->env$context["color_type"], "html"nulltrue);
  1922.                         echo "</span>
  1923.                                 ";
  1924.                     }
  1925.                     // line 1072
  1926.                     echo "                            ";
  1927.                     ++$context['loop']['index0'];
  1928.                     ++$context['loop']['index'];
  1929.                     $context['loop']['first'] = false;
  1930.                     if (isset($context['loop']['length'])) {
  1931.                         --$context['loop']['revindex0'];
  1932.                         --$context['loop']['revindex'];
  1933.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  1934.                     }
  1935.                 }
  1936.                 $_parent $context['_parent'];
  1937.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['color_type'], $context['_parent'], $context['loop']);
  1938.                 $context array_intersect_key($context$_parent) + $_parent;
  1939.                 // line 1073
  1940.                 echo "                            </p>
  1941.                         ";
  1942.             }
  1943.             // line 1075
  1944.             echo "                        ";
  1945.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1075$this->source); })()), "request", [], "any"falsefalsefalse1075), "query", [], "any"falsefalsefalse1075), "get", [=> "features"], "method"falsefalsefalse1075)) {
  1946.                 // line 1076
  1947.                 echo "                            <p class=\"ec-topicpath__item\">
  1948.                             ";
  1949.                 // line 1077
  1950.                 $context['_parent'] = $context;
  1951.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1077$this->source); })()), "request", [], "any"falsefalsefalse1077), "query", [], "any"falsefalsefalse1077), "get", [=> "features"], "method"falsefalsefalse1077));
  1952.                 $context['loop'] = [
  1953.                   'parent' => $context['_parent'],
  1954.                   'index0' => 0,
  1955.                   'index'  => 1,
  1956.                   'first'  => true,
  1957.                 ];
  1958.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  1959.                     $length count($context['_seq']);
  1960.                     $context['loop']['revindex0'] = $length 1;
  1961.                     $context['loop']['revindex'] = $length;
  1962.                     $context['loop']['length'] = $length;
  1963.                     $context['loop']['last'] = === $length;
  1964.                 }
  1965.                 foreach ($context['_seq'] as $context["_key"] => $context["feature"]) {
  1966.                     // line 1078
  1967.                     echo "                                ";
  1968.                     if (twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse1078)) {
  1969.                         // line 1079
  1970.                         echo "                                     > ";
  1971.                         echo twig_escape_filter($this->env$context["feature"], "html"nulltrue);
  1972.                         echo "
  1973.                                 ";
  1974.                     } else {
  1975.                         // line 1081
  1976.                         echo "                                    <span class=\"ec-topicpath__item\">・";
  1977.                         echo twig_escape_filter($this->env$context["feature"], "html"nulltrue);
  1978.                         echo "</span>
  1979.                                 ";
  1980.                     }
  1981.                     // line 1083
  1982.                     echo "                            ";
  1983.                     ++$context['loop']['index0'];
  1984.                     ++$context['loop']['index'];
  1985.                     $context['loop']['first'] = false;
  1986.                     if (isset($context['loop']['length'])) {
  1987.                         --$context['loop']['revindex0'];
  1988.                         --$context['loop']['revindex'];
  1989.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  1990.                     }
  1991.                 }
  1992.                 $_parent $context['_parent'];
  1993.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['feature'], $context['_parent'], $context['loop']);
  1994.                 $context array_intersect_key($context$_parent) + $_parent;
  1995.                 // line 1084
  1996.                 echo "                            </p>
  1997.                         ";
  1998.             }
  1999.             // line 1086
  2000.             echo "                ";
  2001.         } else {
  2002.             // line 1087
  2003.             echo "                    ";
  2004.             // line 1088
  2005.             echo "                    ";
  2006.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["search_form"]) || array_key_exists("search_form"$context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.'1088$this->source); })()), "vars", [], "any"falsefalsefalse1088), "value", [], "any"falsefalsefalse1088), "name", [], "any"falsefalsefalse1088)) {
  2007.                 // line 1089
  2008.                 echo "                        <div>
  2009.                             <h2 class=\"ec-topicpath__title\">「";
  2010.                 // line 1090
  2011.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["search_form"]) || array_key_exists("search_form"$context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.'1090$this->source); })()), "vars", [], "any"falsefalsefalse1090), "value", [], "any"falsefalsefalse1090), "name", [], "any"falsefalsefalse1090), "html"nulltrue);
  2012.                 echo "」<span style=\"padding: 0;\">で検索</span></h2>
  2013.                         </div>
  2014.                     ";
  2015.             } else {
  2016.                 // line 1093
  2017.                 echo "                    ";
  2018.                 // line 1094
  2019.                 echo "                        <h2 class=\"ec-topicpath__title\">すべての写真</h2>
  2020.                     ";
  2021.             }
  2022.             // line 1096
  2023.             echo "                ";
  2024.         }
  2025.         // line 1097
  2026.         echo "            </div>
  2027.             <div class=\"list-title-right\">
  2028.                 ";
  2029.         // line 1099
  2030.         if ((twig_get_attribute($this->env$this->source, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'1099$this->source); })()), "totalItemCount", [], "any"falsefalsefalse1099) > 0)) {
  2031.             // line 1100
  2032.             echo "                    ";
  2033.             $context["start"] = (((twig_get_attribute($this->env$this->source, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'1100$this->source); })()), "currentPageNumber", [], "any"falsefalsefalse1100) - 1) * twig_get_attribute($this->env$this->source, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'1100$this->source); })()), "getItemNumberPerPage", [], "any"falsefalsefalse1100)) + 1);
  2034.             // line 1101
  2035.             echo "                ";
  2036.         } else {
  2037.             // line 1102
  2038.             echo "                    ";
  2039.             $context["start"] = 0;
  2040.             // line 1103
  2041.             echo "                ";
  2042.         }
  2043.         // line 1104
  2044.         echo "                ";
  2045.         $context["end"] = min((twig_get_attribute($this->env$this->source, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'1104$this->source); })()), "currentPageNumber", [], "any"falsefalsefalse1104) * twig_get_attribute($this->env$this->source, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'1104$this->source); })()), "getItemNumberPerPage", [], "any"falsefalsefalse1104)), twig_get_attribute($this->env$this->source, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'1104$this->source); })()), "totalItemCount", [], "any"falsefalsefalse1104));
  2046.         // line 1105
  2047.         echo "                <p>(";
  2048.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'1105$this->source); })()), "totalItemCount", [], "any"falsefalsefalse1105), "html"nulltrue);
  2049.         echo "件中";
  2050.         echo twig_escape_filter($this->env, (isset($context["start"]) || array_key_exists("start"$context) ? $context["start"] : (function () { throw new RuntimeError('Variable "start" does not exist.'1105$this->source); })()), "html"nulltrue);
  2051.         echo "件-";
  2052.         echo twig_escape_filter($this->env, (isset($context["end"]) || array_key_exists("end"$context) ? $context["end"] : (function () { throw new RuntimeError('Variable "end" does not exist.'1105$this->source); })()), "html"nulltrue);
  2053.         echo "件を表示)</p>
  2054.             </div>
  2055. \t\t</div>
  2056. \t\t<!-- カテゴリ説明 -->
  2057. \t\t";
  2058.         // line 1111
  2059.         echo "\t\t";
  2060.         // line 1112
  2061.         echo "\t\t";
  2062.         // line 1113
  2063.         echo "  ";
  2064.         // line 1114
  2065.         echo "  ";
  2066.         // line 1115
  2067.         echo "  ";
  2068.         // line 1116
  2069.         echo "  ";
  2070.         // line 1117
  2071.         echo "  ";
  2072.         // line 1118
  2073.         echo "\t\t";
  2074.         // line 1119
  2075.         echo "
  2076. \t\t<!-- リストエリア -->
  2077. \t\t";
  2078.         // line 1121
  2079.         if ((twig_get_attribute($this->env$this->source, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'1121$this->source); })()), "totalItemCount", [], "any"falsefalsefalse1121) > 0)) {
  2080.             // line 1122
  2081.             echo "\t\t\t<div>
  2082. \t\t\t    <div class=\"list-area\">
  2083. \t\t\t    ";
  2084.             // line 1124
  2085.             $context['_parent'] = $context;
  2086.             $context['_seq'] = twig_ensure_traversable((isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'1124$this->source); })()));
  2087.             $context['loop'] = [
  2088.               'parent' => $context['_parent'],
  2089.               'index0' => 0,
  2090.               'index'  => 1,
  2091.               'first'  => true,
  2092.             ];
  2093.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  2094.                 $length count($context['_seq']);
  2095.                 $context['loop']['revindex0'] = $length 1;
  2096.                 $context['loop']['revindex'] = $length;
  2097.                 $context['loop']['length'] = $length;
  2098.                 $context['loop']['last'] = === $length;
  2099.             }
  2100.             foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
  2101.                 // line 1125
  2102.                 echo "                    <div class=\"card-1\">
  2103.                         <a href=\"";
  2104.                 // line 1126
  2105.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("photo-product_detail", ["id" => twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse1126)]), "html"nulltrue);
  2106.                 echo "\">
  2107.                             <div class=\"image-wrapper\">
  2108.                                 <img src=\"";
  2109.                 // line 1128
  2110.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env$this->source$context["Product"], "main_list_image", [], "any"falsefalsefalse1128)), "save_image"), "html"nulltrue);
  2111.                 echo "\" alt=\"";
  2112.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "name", [], "any"falsefalsefalse1128), "html"nulltrue);
  2113.                 echo "\" ";
  2114.                 if ((twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse1128) > 5)) {
  2115.                     echo " loading=\"lazy\"";
  2116.                 }
  2117.                 echo ">
  2118.                                     ";
  2119.                 // line 1129
  2120.                 if ((twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsefalse1129) == 0)) {
  2121.                     // line 1130
  2122.                     echo "                                        <div class=\"label-free\">無料</div>
  2123.                                     ";
  2124.                 }
  2125.                 // line 1132
  2126.                 echo "                            </div>
  2127.                             ";
  2128.                 // line 1134
  2129.                 echo "                            ";
  2130.                 // line 1135
  2131.                 echo "                            ";
  2132.                 // line 1136
  2133.                 echo "                            ";
  2134.                 // line 1137
  2135.                 echo "                            ";
  2136.                 // line 1138
  2137.                 echo "                        </a>
  2138.                     </div>
  2139.                 ";
  2140.                 ++$context['loop']['index0'];
  2141.                 ++$context['loop']['index'];
  2142.                 $context['loop']['first'] = false;
  2143.                 if (isset($context['loop']['length'])) {
  2144.                     --$context['loop']['revindex0'];
  2145.                     --$context['loop']['revindex'];
  2146.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  2147.                 }
  2148.             }
  2149.             $_parent $context['_parent'];
  2150.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
  2151.             $context array_intersect_key($context$_parent) + $_parent;
  2152.             // line 1141
  2153.             echo "                </div>
  2154.     \t\t\t<!-- ページネーション -->
  2155.     \t\t\t";
  2156.             // line 1143
  2157.             $context["pages"] = twig_get_attribute($this->env$this->source, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'1143$this->source); })()), "paginationData", [], "any"falsefalsefalse1143);
  2158.             // line 1144
  2159.             echo "
  2160.     \t\t\t";
  2161.             // line 1145
  2162.             if ((twig_get_attribute($this->env$this->source, (isset($context["pages"]) || array_key_exists("pages"$context) ? $context["pages"] : (function () { throw new RuntimeError('Variable "pages" does not exist.'1145$this->source); })()), "pageCount", [], "any"falsefalsefalse1145) > 1)) {
  2163.                 // line 1146
  2164.                 echo "                    <div class=\"ec-pager pagination\">
  2165.                         ";
  2166.                 // line 1148
  2167.                 echo "                        ";
  2168.                 if (twig_get_attribute($this->env$this->source, ($context["pages"] ?? null), "previous", [], "any"truetruefalse1148)) {
  2169.                     // line 1149
  2170.                     echo "                            <a class=\"page-return\" href=\"";
  2171.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                     // line 1150
  2172. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1150$this->source); })()), "request", [], "any"falsefalsefalse1150), "attributes", [], "any"falsefalsefalse1150), "get", [=> "_route"], "method"falsefalsefalse1150), twig_array_merge(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                     // line 1151
  2173. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1151$this->source); })()), "request", [], "any"falsefalsefalse1151), "query", [], "any"falsefalsefalse1151), "all", [], "any"falsefalsefalse1151), ["pageno" => twig_get_attribute($this->env$this->source, (isset($context["pages"]) || array_key_exists("pages"$context) ? $context["pages"] : (function () { throw new RuntimeError('Variable "pages" does not exist.'1151$this->source); })()), "previous", [], "any"falsefalsefalse1151)])), "html"nulltrue);
  2174.                     echo "#contents-list\">←</a>
  2175.                         ";
  2176.                 }
  2177.                 // line 1153
  2178.                 echo "                        <div class=\"page-num\">
  2179.                             ";
  2180.                 // line 1154
  2181.                 $context['_parent'] = $context;
  2182.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["pages"]) || array_key_exists("pages"$context) ? $context["pages"] : (function () { throw new RuntimeError('Variable "pages" does not exist.'1154$this->source); })()), "pagesInRange", [], "any"falsefalsefalse1154));
  2183.                 foreach ($context['_seq'] as $context["_key"] => $context["page"]) {
  2184.                     // line 1155
  2185.                     echo "                                ";
  2186.                     if (($context["page"] == twig_get_attribute($this->env$this->source, (isset($context["pages"]) || array_key_exists("pages"$context) ? $context["pages"] : (function () { throw new RuntimeError('Variable "pages" does not exist.'1155$this->source); })()), "current", [], "any"falsefalsefalse1155))) {
  2187.                         // line 1156
  2188.                         echo "                                    <a class=\"active\" href=\"";
  2189.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                         // line 1157
  2190. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1157$this->source); })()), "request", [], "any"falsefalsefalse1157), "attributes", [], "any"falsefalsefalse1157), "get", [=> "_route"], "method"falsefalsefalse1157), twig_array_merge(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                         // line 1158
  2191. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1158$this->source); })()), "request", [], "any"falsefalsefalse1158), "query", [], "any"falsefalsefalse1158), "all", [], "any"falsefalsefalse1158), ["pageno" => $context["page"]])), "html"nulltrue);
  2192.                         echo "#contents-list\"> ";
  2193.                         echo twig_escape_filter($this->env$context["page"], "html"nulltrue);
  2194.                         echo " </a>
  2195.                                 ";
  2196.                     } else {
  2197.                         // line 1160
  2198.                         echo "                                    <a href=\"";
  2199.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                         // line 1161
  2200. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1161$this->source); })()), "request", [], "any"falsefalsefalse1161), "attributes", [], "any"falsefalsefalse1161), "get", [=> "_route"], "method"falsefalsefalse1161), twig_array_merge(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                         // line 1162
  2201. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1162$this->source); })()), "request", [], "any"falsefalsefalse1162), "query", [], "any"falsefalsefalse1162), "all", [], "any"falsefalsefalse1162), ["pageno" => $context["page"]])), "html"nulltrue);
  2202.                         echo "#contents-list\"> ";
  2203.                         echo twig_escape_filter($this->env$context["page"], "html"nulltrue);
  2204.                         echo " </a>
  2205.                                 ";
  2206.                     }
  2207.                     // line 1164
  2208.                     echo "                            ";
  2209.                 }
  2210.                 $_parent $context['_parent'];
  2211.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['page'], $context['_parent'], $context['loop']);
  2212.                 $context array_intersect_key($context$_parent) + $_parent;
  2213.                 // line 1165
  2214.                 echo "                        </div>
  2215.                         ";
  2216.                 // line 1167
  2217.                 echo "                        ";
  2218.                 if (twig_get_attribute($this->env$this->source, ($context["pages"] ?? null), "next", [], "any"truetruefalse1167)) {
  2219.                     // line 1168
  2220.                     echo "                            <a class=\"page-advance\" href=\"";
  2221.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                     // line 1169
  2222. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1169$this->source); })()), "request", [], "any"falsefalsefalse1169), "attributes", [], "any"falsefalsefalse1169), "get", [=> "_route"], "method"falsefalsefalse1169), twig_array_merge(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                     // line 1170
  2223. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1170$this->source); })()), "request", [], "any"falsefalsefalse1170), "query", [], "any"falsefalsefalse1170), "all", [], "any"falsefalsefalse1170), ["pageno" => twig_get_attribute($this->env$this->source, (isset($context["pages"]) || array_key_exists("pages"$context) ? $context["pages"] : (function () { throw new RuntimeError('Variable "pages" does not exist.'1170$this->source); })()), "next", [], "any"falsefalsefalse1170)])), "html"nulltrue);
  2224.                     echo "#contents-list\">→</a>
  2225.                         ";
  2226.                 }
  2227.                 // line 1172
  2228.                 echo "                    </div>
  2229.                 ";
  2230.             }
  2231.             // line 1174
  2232.             echo "    \t    </div>
  2233.     \t";
  2234.         } else {
  2235.             // line 1176
  2236.             echo "            <p class=\"no_item\">";
  2237.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お探しの商品は見つかりませんでした"), "html"nulltrue);
  2238.             echo "</p>
  2239.         ";
  2240.         }
  2241.         // line 1178
  2242.         echo "        
  2243.         <!-- カテゴリ説明 -->
  2244.         ";
  2245.         // line 1181
  2246.         echo "\t\t";
  2247.         // line 1182
  2248.         echo "\t\t";
  2249.         // line 1183
  2250.         echo "  ";
  2251.         // line 1184
  2252.         echo "  ";
  2253.         // line 1185
  2254.         echo "  ";
  2255.         // line 1186
  2256.         echo "  ";
  2257.         // line 1187
  2258.         echo "  ";
  2259.         // line 1188
  2260.         echo "\t\t";
  2261.         // line 1189
  2262.         echo "    </div>
  2263.             
  2264. </section>
  2265. ";
  2266.         
  2267.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  2268.         
  2269.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  2270.     }
  2271.     public function getTemplateName()
  2272.     {
  2273.         return "@user_data/photo-product_list.twig";
  2274.     }
  2275.     public function isTraitable()
  2276.     {
  2277.         return false;
  2278.     }
  2279.     public function getDebugInfo()
  2280.     {
  2281.         return array (  2309 => 1189,  2307 => 1188,  2305 => 1187,  2303 => 1186,  2301 => 1185,  2299 => 1184,  2297 => 1183,  2295 => 1182,  2293 => 1181,  2289 => 1178,  2283 => 1176,  2279 => 1174,  2275 => 1172,  2270 => 1170,  2269 => 1169,  2267 => 1168,  2264 => 1167,  2261 => 1165,  2255 => 1164,  2248 => 1162,  2247 => 1161,  2245 => 1160,  2238 => 1158,  2237 => 1157,  2235 => 1156,  2232 => 1155,  2228 => 1154,  2225 => 1153,  2220 => 1151,  2219 => 1150,  2217 => 1149,  2214 => 1148,  2211 => 1146,  2209 => 1145,  2206 => 1144,  2204 => 1143,  2200 => 1141,  2184 => 1138,  2182 => 1137,  2180 => 1136,  2178 => 1135,  2176 => 1134,  2173 => 1132,  2169 => 1130,  2167 => 1129,  2157 => 1128,  2152 => 1126,  2149 => 1125,  2132 => 1124,  2128 => 1122,  2126 => 1121,  2122 => 1119,  2120 => 1118,  2118 => 1117,  2116 => 1116,  2114 => 1115,  2112 => 1114,  2110 => 1113,  2108 => 1112,  2106 => 1111,  2093 => 1105,  2090 => 1104,  2087 => 1103,  2084 => 1102,  2081 => 1101,  2078 => 1100,  2076 => 1099,  2072 => 1097,  2069 => 1096,  2065 => 1094,  2063 => 1093,  2057 => 1090,  2054 => 1089,  2051 => 1088,  2049 => 1087,  2046 => 1086,  2042 => 1084,  2028 => 1083,  2022 => 1081,  2016 => 1079,  2013 => 1078,  1996 => 1077,  1993 => 1076,  1990 => 1075,  1986 => 1073,  1972 => 1072,  1966 => 1070,  1960 => 1068,  1957 => 1067,  1940 => 1066,  1937 => 1065,  1934 => 1064,  1930 => 1062,  1916 => 1061,  1910 => 1059,  1904 => 1057,  1901 => 1056,  1884 => 1055,  1881 => 1054,  1878 => 1053,  1874 => 1051,  1860 => 1050,  1854 => 1048,  1848 => 1046,  1845 => 1045,  1828 => 1044,  1825 => 1043,  1822 => 1042,  1818 => 1040,  1804 => 1039,  1798 => 1037,  1792 => 1035,  1789 => 1034,  1772 => 1033,  1769 => 1032,  1766 => 1031,  1760 => 1029,  1757 => 1028,  1751 => 1026,  1748 => 1025,  1742 => 1023,  1739 => 1022,  1733 => 1020,  1731 => 1019,  1726 => 1018,  1723 => 1017,  1715 => 1010,  1711 => 1008,  1705 => 1006,  1703 => 1005,  1693 => 998,  1687 => 994,  1683 => 992,  1680 => 991,  1670 => 988,  1666 => 986,  1664 => 985,  1660 => 984,  1657 => 983,  1652 => 982,  1650 => 981,  1647 => 980,  1643 => 977,  1639 => 975,  1636 => 974,  1627 => 971,  1624 => 970,  1620 => 969,  1618 => 968,  1614 => 967,  1611 => 966,  1606 => 965,  1604 => 964,  1594 => 956,  1590 => 954,  1587 => 953,  1579 => 951,  1576 => 950,  1572 => 949,  1570 => 948,  1565 => 947,  1560 => 946,  1558 => 945,  1547 => 936,  1543 => 934,  1540 => 933,  1532 => 931,  1529 => 930,  1525 => 929,  1523 => 928,  1518 => 927,  1513 => 926,  1511 => 925,  1488 => 905,  1475 => 895,  1468 => 890,  1462 => 888,  1460 => 887,  1459 => 886,  1439 => 869,  1432 => 864,  1426 => 863,  1420 => 862,  1412 => 859,  1407 => 858,  1399 => 855,  1394 => 854,  1392 => 852,  1391 => 851,  1389 => 850,  1383 => 849,  1380 => 848,  1375 => 847,  1372 => 846,  1367 => 845,  1363 => 844,  1357 => 842,  1355 => 841,  1350 => 838,  1347 => 837,  1329 => 833,  1326 => 832,  1324 => 831,  1323 => 830,  1322 => 829,  1319 => 828,  1315 => 826,  1311 => 824,  1308 => 823,  1290 => 822,  1287 => 821,  1284 => 819,  1281 => 818,  1263 => 814,  1260 => 813,  1258 => 812,  1257 => 811,  1256 => 810,  1253 => 809,  1249 => 807,  1245 => 805,  1242 => 804,  1224 => 803,  1221 => 802,  1218 => 800,  1215 => 799,  1197 => 795,  1194 => 794,  1192 => 793,  1191 => 792,  1190 => 791,  1187 => 790,  1183 => 788,  1179 => 786,  1176 => 785,  1158 => 784,  1155 => 783,  1152 => 781,  1149 => 780,  1131 => 776,  1128 => 775,  1126 => 774,  1125 => 773,  1124 => 772,  1121 => 771,  1117 => 769,  1113 => 767,  1110 => 766,  1092 => 765,  1089 => 764,  1086 => 762,  1083 => 761,  1065 => 757,  1062 => 756,  1060 => 755,  1059 => 754,  1058 => 753,  1055 => 752,  1051 => 750,  1047 => 748,  1044 => 747,  1026 => 746,  1023 => 745,  1020 => 743,  1013 => 739,  1010 => 738,  1008 => 737,  1007 => 736,  1006 => 735,  1002 => 733,  999 => 732,  996 => 730,  989 => 726,  986 => 725,  984 => 724,  983 => 723,  982 => 722,  978 => 720,  975 => 719,  972 => 717,  965 => 713,  962 => 712,  960 => 711,  959 => 710,  958 => 709,  954 => 707,  951 => 706,  948 => 704,  939 => 702,  936 => 701,  933 => 700,  930 => 698,  928 => 697,  926 => 696,  924 => 695,  922 => 694,  920 => 693,  918 => 692,  916 => 691,  914 => 690,  912 => 689,  910 => 688,  908 => 687,  906 => 686,  904 => 685,  902 => 684,  900 => 683,  898 => 682,  896 => 681,  894 => 680,  892 => 679,  890 => 678,  888 => 677,  886 => 676,  884 => 675,  882 => 674,  879 => 673,  865 => 672,  855 => 669,  849 => 668,  843 => 666,  825 => 665,  823 => 664,  816 => 662,  812 => 660,  810 => 659,  807 => 658,  804 => 657,  801 => 656,  798 => 655,  788 => 654,  650 => 525,  640 => 518,  609 => 490,  581 => 464,  567 => 463,  559 => 462,  542 => 461,  538 => 459,  528 => 458,  78 => 15,  73 => 14,  63 => 13,  52 => 11,  50 => 456,  37 => 11,);
  2282.     }
  2283.     public function getSourceContext()
  2284.     {
  2285.         return new Source("{#
  2286. This file is part of EC-CUBE
  2287. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  2288. http://www.ec-cube.co.jp/
  2289. For the full copyright and license information, please view the LICENSE
  2290. file that was distributed with this source code.
  2291. #}
  2292. {% extends 'default_frame.twig' %}
  2293. {% block stylesheet %}
  2294.     <link rel=\"stylesheet\" href=\"{{ asset('assets/css/stock-photo/contents-list.css', 'user_data') }}\">
  2295.     <link rel=\"stylesheet\" href=\"{{ asset('assets/css/stock-photo/main_module.css', 'user_data') }}\">
  2296.     <style>
  2297.     .ec-topicpath{
  2298.         display: flex;
  2299.         flex-wrap: wrap;
  2300.         margin: 30px 10% 0;
  2301.     }
  2302.     .ec-topicpath a{
  2303.         color: #109F98;
  2304.     }
  2305.     .ec-topicpath__divider{
  2306.         margin: 0 5px;
  2307.     }
  2308.     
  2309.         .category-btn img{
  2310.             margin-right: 15px;
  2311.         }
  2312.         .tab {
  2313.             margin: 30px 15% 0;
  2314.         }
  2315.         
  2316.         @media screen and (max-width:768px){
  2317.             .tab {
  2318.                 margin: 10px 3% 20px 3%;
  2319.             }
  2320.         }
  2321.         
  2322.         .lead-sentence {
  2323.             display: flex;
  2324.             flex-wrap: wrap;
  2325.         }
  2326.         
  2327.         @media screen and (max-width:768px){
  2328.             .tab img{
  2329.                 width: 15%;
  2330.             }
  2331.             .category-btn{
  2332.                 margin-bottom: 15px;
  2333.             }
  2334.         }
  2335.         .tab-list {
  2336.             display: flex;
  2337.             gap: 1px;
  2338.         }
  2339.         @media screen and (max-width:768px){
  2340.             .tab-list{
  2341.                 flex-direction: row;
  2342.             }
  2343.         }
  2344.         .tab-item {
  2345.             border-radius: 5px 5px 0 0;
  2346.             background-color: #109F98;
  2347.             border-top: solid 1px #109F98;
  2348.             border-right: solid 1px #109F98;
  2349.             border-left: solid 1px #109F98;
  2350.         }
  2351.         .tab-item a{
  2352.             color: #FFF;
  2353.             padding: 0.5em 1.2em;
  2354.             display: block;
  2355.         }
  2356.         @media screen and (max-width:768px){
  2357.             .tab-item{
  2358.                 flex: 1 1 auto;
  2359.                 min-width: 0;
  2360.             }
  2361.             
  2362.             .tab-item a{
  2363.                 margin: 8px 0;
  2364.                 text-align: center;
  2365.                 white-space: nowrap;
  2366.                 padding: 0.4em 0.6em;
  2367.             }
  2368.         }
  2369.         
  2370.         @media screen and (max-width:570px){
  2371.             .tab-item{
  2372.                 font-size: 12px;
  2373.                 line-height: 2.5;
  2374.             }
  2375.         }
  2376.         
  2377.         @media screen and (max-width:450px){
  2378.             .tab-item{
  2379.                 font-size: 10px;
  2380.             }
  2381.         }
  2382.         .tab-content:has(.tab-panel.active){
  2383.             display: flex;
  2384.             justify-content: space-between;
  2385.             border-top:solid 1px #109F98;
  2386.             border-right:solid 1px #109F98;
  2387.             border-left:solid 1px #109F98;
  2388.             border-radius: 0 8px 0 0;
  2389.         }
  2390.         
  2391.         .tab-content:not(:has(.tab-panel.active)){
  2392.             display: none;
  2393.         }
  2394.         
  2395.         @media screen and (max-width:768px){
  2396.             .tab-content{
  2397.                 flex-direction: column;
  2398.                 border-radius: 0;
  2399.             }
  2400.         }
  2401.         .tab-panel {
  2402.             display: none;
  2403.         }
  2404.         .tab-item.active {
  2405.             background-color: #fff;
  2406.             font-weight: bold;
  2407.             position: relative;
  2408.         }
  2409.         
  2410.         .tab-item.active a{
  2411.             color: #109F98;
  2412.         }
  2413.         
  2414.         .tab-item.active::before{
  2415.             content: \"\";
  2416.             width: 100%;
  2417.             border-bottom: 4px solid  #FFF;
  2418.             position: absolute;
  2419.             bottom: -3px;
  2420.             left: 0;
  2421.         }
  2422.         .tab-panel.active {
  2423.             display: flex;
  2424.             padding: 3%;
  2425.             flex-wrap: wrap;
  2426.             gap:20px 20px;
  2427.             flex: 10;
  2428.         }
  2429.         @media screen and (max-width:768px){
  2430.             .tab-panel.active{
  2431.                 justify-content: center;
  2432.                 
  2433.             }
  2434.         }
  2435.         .tab-panel.active h2 {
  2436.             font-size: 20px;
  2437.             font-weight: bold;
  2438.         }
  2439.         
  2440.         .search-form-box{
  2441.             border: solid 1px #109F98;
  2442.             border-radius: 0 0 8px 8px;
  2443.         }
  2444.         
  2445.         .tab-content:not(:has(.active)) + .search-form-box{
  2446.             border-radius: 0 8px 8px 8px;
  2447.         }
  2448.         @media screen and (max-width:768px){
  2449.             .search-form-box .search-form-content{
  2450.                 display: flex;
  2451.                 justify-content: space-between;
  2452.                 flex-direction: column;
  2453.                 
  2454.             }
  2455.         }
  2456.         .search-form-box .search-form-item{
  2457.             margin-left: 3%;
  2458.             margin-right: calc(3% + 20px);
  2459.         }
  2460.         @media screen and (max-width:768px){
  2461.             .search-form-box .search-form-item{
  2462.                 margin: 0 auto;
  2463.                 
  2464.             }
  2465.         }
  2466.         
  2467.         .search-form-box .search-form-input{
  2468.             -webkit-appearance: none;
  2469.             -moz-appearance:none;
  2470.             appearance: none;
  2471.             border:1px solid #109F98;
  2472.             border-radius:25px;
  2473.             width: 100%;
  2474.             padding-left: 20px;
  2475.             height: 36px;
  2476.             background-color: #f5f5f5;
  2477.         }
  2478.         @media screen and (max-width:768px){
  2479.             .search-form-box .search-form-input{
  2480.                 width: 88vw;
  2481.                 box-sizing: border-box;
  2482.             }
  2483.             .search-form-box .search-form-input::placeholder{
  2484.                 font-size: 2vw;
  2485.             }
  2486.         }
  2487.         
  2488.         select{
  2489.             background:none;
  2490.             appearance: none;
  2491.             font:inherit;
  2492.             padding:9.5px 10px;
  2493.             border:1px solid #109F98;
  2494.             box-sizing: border-box;
  2495.             width: 250px;
  2496.             border-radius:2px;
  2497.             color: #111111;
  2498.         }
  2499.         
  2500.         .select {
  2501.           display: inline-block;
  2502.           position: relative;
  2503.           vertical-align: middle;
  2504.           width: 100%;
  2505.         }
  2506.         
  2507.         .select::before {
  2508.           position: absolute;
  2509.           top: 18px;
  2510.           right: 16px;
  2511.           width: 0;
  2512.           height: 0;
  2513.           border-width: 10px 5px 0 5px;
  2514.           border-style: solid;
  2515.           border-color: #109F98 transparent transparent transparent;
  2516.           content: \"\";
  2517.           pointer-events: none;
  2518.         }
  2519.         
  2520.         /*検索セクション内にあるアイコン(svg)カラー指定*/
  2521.         .search-form-box .ic {
  2522.             filter: brightness(0) saturate(100%) invert(68%) sepia(68%) saturate(6159%) hue-rotate(145deg) brightness(90%) contrast(87%);
  2523.         }
  2524.         
  2525.         /* 各条件見出し位置調整 */
  2526.         .search-form-box .search-title {
  2527.             padding: 15px 0 12px 0;
  2528.             margin: 0 3%;
  2529.             display: flex;
  2530.             align-items: center;
  2531.             gap: 6px;
  2532.             color: #111111;
  2533.         }
  2534.         
  2535.         /*セクション分け用のボーダー*/
  2536.         .search-form-box .search-title {
  2537.             border-top: 1px solid #D5DAED;
  2538.         }
  2539.         /*1番目(フリーワード検索)には不要なので非表示*/
  2540.         .search-form-box .search-title:first-child {
  2541.             border-top: none;
  2542.         }
  2543.         
  2544.         .search-subtitle {
  2545.             margin: 16px 0;
  2546.         }
  2547.         
  2548.         /*各条件の副題にh2のトーン寄せ*/
  2549.         .search-subtitle label,
  2550.         .search-subtitle legend {
  2551.             border: solid 2px #109F98;
  2552.             border-right: none;
  2553.             border-top: none;
  2554.             border-bottom: none;
  2555.             text-align: left;
  2556.             padding: 0 0 0 8px;
  2557.             color: #111111;
  2558.         }
  2559.         
  2560.         .search-base-content,
  2561.         .search-filter-content {
  2562.             margin: 0 3% 3% 3%;
  2563.             
  2564.         }
  2565.         
  2566.         /*基本条件*/
  2567.         .search-base-content {
  2568.             display: flex;
  2569.             flex-direction: row;
  2570.             gap: 16px;
  2571.         }
  2572.         
  2573.         /* 上記でselectに指定しているスタイルを基本条件用に上書き */
  2574.         .search-base-item select {
  2575.             border: 1px solid #D5DAED;
  2576.         }
  2577.         
  2578.         @media (max-width: 768px) {
  2579.             .search-base-item select {
  2580.                 display: flex;
  2581.                 flex-wrap: wrap;
  2582.             }
  2583.             
  2584.             .search-base-item {
  2585.                 flex: 1 1 200px;
  2586.                 max-width: 100%;
  2587.             }
  2588.             
  2589.             .search-base-item select {
  2590.                 width: 100%;
  2591.             }
  2592.         }
  2593.         
  2594.         .search-filter-list {
  2595.           display: flex;
  2596.           flex-wrap: wrap;
  2597.           gap: 10px;
  2598.         }
  2599.         
  2600.         /*詳細フィルターのチェックボックス並べる数*/
  2601.         /*PC表示:10個のチェックボックスが横に5個 × 2行*/
  2602.         /*スマホ表示:10個のチェックボックスが横に3個 × 約4行(1個余りになるため)*/
  2603.         .filter-checkbox-item {
  2604.           display: flex;
  2605.           align-items: center;
  2606.           gap: 6px;
  2607.           align-items: baseline;
  2608.           width: calc(100% / 5 - 10px); /* PC: 5列 */
  2609.           color: #111111;
  2610.         }
  2611.         
  2612.         @media (max-width: 768px) {
  2613.             .filter-checkbox-item {
  2614.                 width: calc(100% / 3 - 10px); /* SP: 3列 */
  2615.             }
  2616.         }
  2617.         
  2618.         @media (max-width: 450px) {
  2619.             .filter-checkbox-item {
  2620.                 font-size: max(3.6vw, 12px);
  2621.             }
  2622.         }
  2623.         
  2624.         .image-wrapper {
  2625.             position: relative;
  2626.         }
  2627.         .label-free {
  2628.             position: absolute;
  2629.             top: 0;
  2630.             right: 0;
  2631.             background-color: #e60012;
  2632.             color: #fff;
  2633.             font-weight: bold;
  2634.             font-size: 14px;
  2635.             padding: 3px 10px;
  2636.             border-radius: 0 0 0 4px;
  2637.             z-index: 1;
  2638.         }
  2639.         .ec-topicpath__item{
  2640.         font-size: 17px;
  2641.         }
  2642.         
  2643.         /* ▼ アコーディオン用 追加CSS ▼ */
  2644.         :root{
  2645.           --acc-green: #109F98;
  2646.           --acc-line:  #0f8a80;
  2647.         }
  2648.         
  2649.         .search-section + .search-section{
  2650.           border-top: 1px solid var(--acc-line);
  2651.         }
  2652.         
  2653.         .search-section__header{
  2654.           display: flex;
  2655.           align-items: center;
  2656.           justify-content: space-between;
  2657.           padding: 8px 12px;
  2658.         }
  2659.         
  2660.         .accordion-toggle{
  2661.           inline-size: 28px;
  2662.           block-size: 28px;
  2663.           display: grid;
  2664.           place-items: center;
  2665.           position: relative;
  2666.           cursor: pointer;
  2667.           border: 1px solid var(--acc-green);
  2668.           border-radius: 4px;
  2669.           background: var(--acc-green);
  2670.         }
  2671.         
  2672.         .accordion-toggle::before{
  2673.           content: \"\";
  2674.           display: block;
  2675.           inline-size: 8px;
  2676.           block-size: 8px;
  2677.           border-right: 2px solid #fff;
  2678.           border-bottom: 2px solid #fff;
  2679.           transform: rotate(45deg); /* ▼ */
  2680.           transition: transform .2s ease;
  2681.         }
  2682.         
  2683.         .is-open .accordion-toggle{
  2684.           background: #fff;
  2685.           border-color: var(--acc-green);
  2686.         }
  2687.         
  2688.         .is-open .accordion-toggle::before{
  2689.           border-right-color: var(--acc-green);
  2690.           border-bottom-color: var(--acc-green);
  2691.           transform: rotate(-135deg); /* ▲ */
  2692.         }
  2693.         
  2694.         .search-section__panel{
  2695.           padding: 12px;
  2696.         }
  2697.         
  2698.         .visually-hidden{
  2699.           position: absolute !important;
  2700.           inline-size: 1px;
  2701.           block-size: 1px;
  2702.           margin: -1px;
  2703.           padding: 0;
  2704.           border: 0;
  2705.           clip: rect(0 0 0 0);
  2706.           overflow: hidden;
  2707.         }
  2708.         
  2709.         .accordion-toggle:hover{ filter: brightness(0.98); }
  2710.         .accordion-toggle:focus-visible{
  2711.           outline: 2px solid var(--acc-line);
  2712.           outline-offset: 2px;
  2713.         }
  2714.         
  2715.         /* SPだけボタンを中央寄せ */
  2716.         @media (max-width: 840px){
  2717.           .sp-center{
  2718.             display: flex;
  2719.             justify-content: center;
  2720.           }
  2721.         }
  2722.     </style>
  2723. {% endblock %}
  2724. {% set body_class = 'product_page' %}
  2725. {% block javascript %}
  2726.     <script>
  2727.         eccube.productsClassCategories = {
  2728.             {% for Product in pagination %}
  2729.             \"{{ Product.id|escape('js') }}\": {{ class_categories_as_json(Product)|raw }}{% if loop.last == false %}, {% endif %}
  2730.             {% endfor %}
  2731.         };
  2732.         \$(function() {
  2733.             // 表示件数を変更
  2734.             \$('.disp-number').change(function() {
  2735.                 var dispNumber = \$(this).val();
  2736.                 \$('#disp_number').val(dispNumber);
  2737.                 \$('#pageno').val(1);
  2738.                 \$(\"#form1\").submit();
  2739.             });
  2740.             // // 並び順を変更
  2741.             \$('.order-by').change(function() {
  2742.                 var orderBy = \$(this).val();
  2743.                 \$('#orderby').val(orderBy);
  2744.                 \$('#pageno').val(1);
  2745.                 \$(\"#form1\").submit();
  2746.             });
  2747.             \$('.add-cart').on('click', function(e) {
  2748.                 var \$form = \$(this).parents('li').find('form');
  2749.                 // 個数フォームのチェック
  2750.                 var \$quantity = \$form.parent().find('.quantity');
  2751.                 if (\$quantity.val() < 1) {
  2752.                     \$quantity[0].setCustomValidity('{{ '1以上で入力してください。'|trans }}');
  2753.                     setTimeout(function() {
  2754.                         loadingOverlay('hide');
  2755.                     }, 100);
  2756.                     return true;
  2757.                 } else {
  2758.                     \$quantity[0].setCustomValidity('');
  2759.                 }
  2760.                 e.preventDefault();
  2761.                 \$.ajax({
  2762.                     url: \$form.attr('action'),
  2763.                     type: \$form.attr('method'),
  2764.                     data: \$form.serialize(),
  2765.                     dataType: 'json',
  2766.                     beforeSend: function(xhr, settings) {
  2767.                         // Buttonを無効にする
  2768.                         \$('.add-cart').prop('disabled', true);
  2769.                     }
  2770.                 }).done(function(data) {
  2771.                     // レスポンス内のメッセージをalertで表示
  2772.                     \$.each(data.messages, function() {
  2773.                         \$('#ec-modal-header').html(this);
  2774.                     });
  2775.                     \$('.ec-modal').show()
  2776.                     // カートブロックを更新する
  2777.                     \$.ajax({
  2778.                         url: '{{ url('block_cart') }}',
  2779.                         type: 'GET',
  2780.                         dataType: 'html'
  2781.                     }).done(function(html) {
  2782.                         \$('.ec-headerRole__cart').html(html);
  2783.                     });
  2784.                 }).fail(function(data) {
  2785.                     alert('{{ 'カートへの追加に失敗しました。'|trans }}');
  2786.                 }).always(function(data) {
  2787.                     // Buttonを有効にする
  2788.                     \$('.add-cart').prop('disabled', false);
  2789.                 });
  2790.             });
  2791.         });
  2792.         \$('.ec-modal-wrap').on('click', function(e) {
  2793.             // モーダル内の処理は外側にバブリングさせない
  2794.             e.stopPropagation();
  2795.         });
  2796.         \$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
  2797.             \$('.ec-modal').hide()
  2798.         });
  2799.         
  2800.     </script>
  2801.     <script>
  2802.     //  絞り込み検索は、絞り込み検索ボタンが押されたとき、もしくは入力欄にフォーカスされたときに、
  2803.     //  enterを押したときのみ発動する。カテゴリ検索を押したときは発火させない
  2804.         document.addEventListener('DOMContentLoaded', function () {
  2805.             const form = document.querySelector('.tab');
  2806.             const categoryBtn = form.querySelector('button[name=\"search_parent_id\"]:not(.word-search)');
  2807.             const wordBtn = form.querySelector('.category-btn.word-search');
  2808.             const wordInput = form.querySelector('input.search-form-input');
  2809.         
  2810.             // カテゴリ検索 → name を送らせない
  2811.             categoryBtn.addEventListener('click', function () {
  2812.                 if (wordInput) {
  2813.                     wordInput.disabled = true;
  2814.                 }
  2815.             });
  2816.         
  2817.             // 絞り込み検索 → name を有効化
  2818.             wordBtn?.addEventListener('click', function () {
  2819.                 if (wordInput) {
  2820.                     wordInput.disabled = false;
  2821.                 }
  2822.             });
  2823.         
  2824.             // Enterキーで submit 時に絞り込み検索の値を送信するための hidden input 挿入
  2825.             form.addEventListener('submit', function (e) {
  2826.                 if (document.activeElement === wordInput) {
  2827.                     e.preventDefault();
  2828.         
  2829.                     // 既に存在していたら除去(2重防止)
  2830.                     const existingHidden = form.querySelector('input[name=\"search_parent_id\"].auto-injected');
  2831.                     if (existingHidden) {
  2832.                         existingHidden.remove();
  2833.                     }
  2834.         
  2835.                     // ボタンのvalue属性をそのまま使う
  2836.                     const valueFromButton = wordBtn?.getAttribute('value') || '';
  2837.         
  2838.                     const hidden = document.createElement('input');
  2839.                     hidden.type = 'hidden';
  2840.                     hidden.name = 'search_parent_id';
  2841.                     hidden.value = valueFromButton;
  2842.                     hidden.classList.add('auto-injected');
  2843.                     form.appendChild(hidden);
  2844.                     if (wordInput) {
  2845.                         wordInput.disabled = false;
  2846.                     }
  2847.                     form.submit();
  2848.                 }
  2849.             });
  2850.         });
  2851.         
  2852.         // カテゴリの詳細検索に値が入っていない場合、buttonのnameの値をcategory_idに変更する
  2853.         // document.addEventListener('DOMContentLoaded', function () {
  2854.         //     const form = document.querySelector('.tab');
  2855.         //     const submitBtn = form.querySelector('button.category-btn');
  2856.         //     const categorySelects = form.querySelectorAll('select[name=\"category_ids[]\"]');
  2857.         
  2858.         //     form.addEventListener('submit', function (e) {
  2859.         //         // category_ids[] に選択されている値が1つもない場合、ボタンのnameを変更
  2860.         //         const hasValue = Array.from(categorySelects).some(select => select.value && select.value !== '');
  2861.         
  2862.         //         if (!hasValue) {
  2863.         //             submitBtn.setAttribute('name', 'category_id');
  2864.         //         } else {
  2865.         //             submitBtn.setAttribute('name', 'search_parent_id');
  2866.         //         }
  2867.         //     });
  2868.         // });
  2869.     </script>
  2870.     
  2871.     <script>
  2872.         (function () {
  2873.           function setState(section, open) {
  2874.             const btn   = section.querySelector('.js-accordion-toggle');
  2875.             const panel = section.querySelector('.js-accordion-panel');
  2876.             section.classList.toggle('is-open', open);
  2877.             btn.setAttribute('aria-expanded', open ? 'true' : 'false');
  2878.             panel.toggleAttribute('hidden', !open);
  2879.             panel.setAttribute('aria-hidden', open ? 'false' : 'true');
  2880.           }
  2881.         
  2882.           document.querySelectorAll('.search-form-box').forEach(function (box) {
  2883.             // このフォーム(タブ)に属する2つのアコーディオン
  2884.             const sections = box.querySelectorAll('.js-accordion');
  2885.             if (!sections.length) return;
  2886.         
  2887.             const key = location.pathname + '#panel=' + (box.dataset.panel || 'default') + ':openId';
  2888.         
  2889.             // 初期オープン対象:保存 > data-open=\"1\" > 先頭(=フリーワードを想定)
  2890.             const savedId = sessionStorage.getItem(key);
  2891.             let initial = Array.from(sections).find(s => s.id === savedId)
  2892.                        || Array.from(sections).find(s => s.dataset.open === '1')
  2893.                        || sections[0];
  2894.         
  2895.             // 初期反映
  2896.             sections.forEach(s => setState(s, s === initial));
  2897.             sessionStorage.setItem(key, initial.id);
  2898.         
  2899.             sections.forEach(function (sec) {
  2900.               const btn = sec.querySelector('.js-accordion-toggle');
  2901.               btn.addEventListener('click', function () {
  2902.                 if (sec.classList.contains('is-open')) return;
  2903.         
  2904.                 sections.forEach(s => setState(s, s === sec));
  2905.                 sessionStorage.setItem(key, sec.id);
  2906.               });
  2907.             });
  2908.           });
  2909.         })();
  2910.     </script>
  2911. {% endblock %}
  2912. {% block main %}
  2913.     {% set AllCategories = repository('Eccube\\\\Entity\\\\Category').getList() %}
  2914.     {% set Categories = AllCategories|filter(c => c.id is not null and c.id == 18) %}
  2915.     {% set selected_categories = app.request.query.get('category_ids', []) %}
  2916.     {% set parent_category = app.request.query.get('search_parent_id') %}
  2917.     {#パンくず#}
  2918.         <div class=\"ec-searchnavRole__topicpath pc\">
  2919.             <ol class=\"ec-topicpath\">
  2920.                 <li class=\"ec-topicpath__item\"><a href=\"{{ url('photo-product_list') }}\">{{ 'front.product.all_category'|trans }}</a>
  2921.                 </li>
  2922.                 {% if Category is not null %}
  2923.                     {% for Path in Category.path %}
  2924.                         {% if not loop.first %} 
  2925.                             <li class=\"ec-topicpath__divider\">></li>
  2926.                             <li class=\"ec-topicpath__item{% if loop.last %}--active{% endif %}\">
  2927.                                 <a href=\"{{ url('photo-product_list') }}?category_id={{ Path.id }}#contents-list\">{{ Path.name }}</a>
  2928.                             </li>
  2929.                         {% endif %}
  2930.                     {% endfor %}
  2931.                 {% endif %}
  2932.               {#  {% if selected_categories is not empty %}#}
  2933.               {#  {% set first_matched = true %}#}
  2934.     \t\t        {#{% for Category in Categories %}#}
  2935.     \t\t        {#    {% for children in Category.Children %}#}
  2936.             \t\t{#        {% if children.id == parent_category %}#}
  2937.             \t\t{#            <li class=\"ec-topicpath__divider\">></li>#}
  2938.             \t\t{#            <li><a href=\"{{ url('photo-product_list') }}?category_id={{ children.id }}\">{{ children.name }}</a></li>#}
  2939.             \t\t{#        {% endif %}#}
  2940.             \t\t{#            {% for grandChildren in children.Children %}#}
  2941.               {#                      {% for grandgrandChild in grandChildren.Children %}#}
  2942.               {#                          {% if grandgrandChild.id in selected_categories %}#}
  2943.               {#                              {% if first_matched %}#}
  2944.               {#                                  <li class=\"ec-topicpath__divider\">></li>#}
  2945.               {#                                  <li><a href=\"{{ url('photo-product_list') }}?category_ids[]={{ grandgrandChild.id }}&search_parent_id={{parent_category}}\">{{ grandgrandChild.name }}</a></li>#}
  2946.               {#                                  {% set first_matched = false %}#}
  2947.               {#                              {% else %}#}
  2948.               {#                                  <li><a href=\"{{ url('photo-product_list') }}?category_ids[]={{ grandgrandChild.id }}&search_parent_id={{parent_category}}\">・{{ grandgrandChild.name }}</a></li>#}
  2949.               {#                              {% endif %}#}
  2950.               {#                          {% endif %}#}
  2951.               {#                      {% endfor %}#}
  2952.               {#                  {% endfor %}#}
  2953.               {#              {% endfor %}#}
  2954.               {#      {% endfor %}#}
  2955.               {#  {% endif %}#}
  2956.               
  2957.                 {#検索ワード#}
  2958.                 {% if search_form.vars.value.name %}
  2959.                     <li class=\"ec-topicpath__divider\">></li>
  2960.                     <li class=\"ec-topicpath__item\"><a href=\"{{ url('photo-product_list') }}?name={{ search_form.vars.value.name }}#contents-list\">{{ search_form.vars.value.name }}</a></li>
  2961.                 {% endif %}
  2962.                 
  2963.                 {#撮影地(都道府県)#}
  2964.                 {% if app.request.query.get('prefectures') %}
  2965.                     <li class=\"ec-topicpath__divider\">></li>
  2966.                     <li class=\"ec-topicpath__item\">
  2967.                         <a href=\"{{ url('photo-product_list', {
  2968.                             'category_id': app.request.query.get('category_id'),
  2969.                             'prefectures': app.request.query.get('prefectures')
  2970.                         }) }}#contents-list\">
  2971.                             {{app.request.query.get('prefectures')}}
  2972.                         </a>
  2973.                     </li>
  2974.                 {% endif %}
  2975.                 
  2976.                 {#運行会社#}
  2977.                 {% if app.request.query.get('operator') %}
  2978.                     <li class=\"ec-topicpath__divider\">></li>
  2979.                     <li class=\"ec-topicpath__item\">
  2980.                             <a href=\"{{ url('photo-product_list', {
  2981.                                 'category_id': app.request.query.get('category_id'),
  2982.                                 'operator': app.request.query.get('operator')
  2983.                             }) }}#contents-list\">
  2984.                                 {{app.request.query.get('operator')}}
  2985.                             </a>
  2986.                     </li>
  2987.                 {% endif %}
  2988.                 
  2989.                 {#撮影年代#}
  2990.                 {% if app.request.query.get('photographing_period') %}
  2991.                     <li class=\"ec-topicpath__divider\">></li>
  2992.                     <li class=\"ec-topicpath__item\">
  2993.                             <a href=\"{{ url('photo-product_list', {
  2994.                                 'category_id': app.request.query.get('category_id'),
  2995.                                 'operator': app.request.query.get('photographing_period')
  2996.                             }) }}#contents-list\">
  2997.                                 {{app.request.query.get('photographing_period')}}
  2998.                             </a>
  2999.                     </li>
  3000.                 {% endif %}
  3001.                 {#撮影地#}
  3002.                 {% if app.request.query.get('locations') %}
  3003.                     {% for location in app.request.query.get('locations') %}
  3004.                             {% if loop.first %}
  3005.                                 <li class=\"ec-topicpath__divider\">></li>
  3006.                             {% else %}
  3007.                                 <li class=\"ec-topicpath__divider\">・</li>
  3008.                             {% endif %}
  3009.                                 <li>
  3010.                                     <a href=\"{{ url('photo-product_list', {
  3011.                                         'category_id': app.request.query.get('category_id'),
  3012.                                         'locations[]': location
  3013.                                     }) }}#contents-list\">
  3014.                                         {{ location }}
  3015.                                     </a>
  3016.                                 </li>
  3017.                     {% endfor %}
  3018.                 {% endif %}
  3019.                 
  3020.                 {#撮影天候#}
  3021.                 {% if app.request.query.get('weathers') %}
  3022.                     {% for weather in app.request.query.get('weathers') %}
  3023.                             {% if loop.first %}
  3024.                                 <li class=\"ec-topicpath__divider\">></li>
  3025.                             {% else %}
  3026.                                 <li class=\"ec-topicpath__divider\">・</li>
  3027.                             {% endif %}
  3028.                                 <li>
  3029.                                     <a href=\"{{ url('photo-product_list', {
  3030.                                         'category_id': app.request.query.get('category_id'),
  3031.                                         'weathers[]': weather
  3032.                                     }) }}#contents-list\">
  3033.                                         {{ weather }}
  3034.                                     </a>
  3035.                                 </li>
  3036.                     {% endfor %}
  3037.                 {% endif %}
  3038.                 {#撮影アングル#}
  3039.                 {% if app.request.query.get('camera_angles') %}
  3040.                     {% for camera_angle in app.request.query.get('camera_angles') %}
  3041.                             {% if loop.first %}
  3042.                                 <li class=\"ec-topicpath__divider\">></li>
  3043.                             {% else %}
  3044.                                 <li class=\"ec-topicpath__divider\">・</li>
  3045.                             {% endif %}
  3046.                                 <li>
  3047.                                     <a href=\"{{ url('photo-product_list', {
  3048.                                         'category_id': app.request.query.get('category_id'),
  3049.                                         'camera_angles[]': camera_angle
  3050.                                     }) }}#contents-list\">
  3051.                                         {{ camera_angle }}
  3052.                                     </a>
  3053.                                 </li>
  3054.                     {% endfor %}
  3055.                 {% endif %}
  3056.                 {#撮影方式#}
  3057.                 {% if app.request.query.get('color_types') %}
  3058.                     {% for color_type in app.request.query.get('color_types') %}
  3059.                             {% if loop.first %}
  3060.                                 <li class=\"ec-topicpath__divider\">></li>
  3061.                             {% else %}
  3062.                                 <li class=\"ec-topicpath__divider\">・</li>
  3063.                             {% endif %}
  3064.                                 <li>
  3065.                                     <a href=\"{{ url('photo-product_list', {
  3066.                                         'category_id': app.request.query.get('category_id'),
  3067.                                         'color_types[]': color_type
  3068.                                     }) }}#contents-list\">
  3069.                                         {{ color_type }}撮影
  3070.                                     </a>
  3071.                                 </li>
  3072.                     {% endfor %}
  3073.                 {% endif %}
  3074.                 {#一押し#}
  3075.                 {% if app.request.query.get('features') %}
  3076.                     {% for feature in app.request.query.get('features') %}
  3077.                             {% if loop.first %}
  3078.                                 <li class=\"ec-topicpath__divider\">></li>
  3079.                             {% else %}
  3080.                                 <li class=\"ec-topicpath__divider\">・</li>
  3081.                             {% endif %}
  3082.                                 <li>
  3083.                                     <a href=\"{{ url('photo-product_list', {
  3084.                                         'category_id': app.request.query.get('category_id'),
  3085.                                         'features[]': feature
  3086.                                     }) }}#contents-list\">
  3087.                                         {{ feature }}
  3088.                                     </a>
  3089.                                 </li>
  3090.                     {% endfor %}
  3091.                 {% endif %}
  3092.             </ol>
  3093.         </div>
  3094.     <!-- カテゴリ検索 -->
  3095.     {% if app.request.query.get('category_id') or app.request.query.get('search_parent_id') %}
  3096.         <form action=\"{{ path('photo-product_list') }}#contents-list\" method=\"get\" class=\"tab\" >
  3097.             <ul class=\"tab-list\">
  3098.                 {% for tab in Categories%}
  3099.                     {% for children in tab.Children %}
  3100.                         {% set children_ids = [] %}
  3101.                         {% for grandChild in children.Children %}
  3102.                             {% set children_ids = children_ids|merge([grandChild.id]) %}
  3103.                         {% endfor %}
  3104.                             {% if children.id == app.request.query.get('category_id')
  3105.                             or children.id == app.request.query.get('search_parent_id')
  3106.                             or app.request.query.get('category_id') in children_ids
  3107.                             %}
  3108.                                 <li class=\"tab-item active\" tabindex=\"0\" id=\"{{children.id}}\">
  3109.                                     <a href=\"{{ url('photo-product_list', {'category_id': children.id}) }}\">{{children.name}}</a>
  3110.                                 </li>
  3111.                             {% else %}
  3112.                                 <li class=\"tab-item\" tabindex=\"0\" id=\"{{children.id}}\">
  3113.                                     <a href=\"{{ url('photo-product_list', {'category_id': children.id}) }}\">{{children.name}}</a>
  3114.                                 </li>
  3115.                             {% endif %}
  3116.                     {% endfor %}
  3117.                 {% endfor %}
  3118.             </ul>
  3119.             <div class=\"search-form-box\">
  3120.                 <section id=\"freeword\" class=\"search-section js-accordion\" data-open=\"1\">
  3121.                     <header class=\"search-section__header\">
  3122.                         <div class=\"search-title\">
  3123.                             <img src=\"{{ asset('/html/user_data/assets/icon/btn_ic_search.svg ', 'user_data') }}\" class=\"ic\" style=\"width: auto\"><h3>フリーワード検索</h3>
  3124.                         </div>
  3125.                         <button type=\"button\"
  3126.                             class=\"accordion-toggle js-accordion-toggle\"
  3127.                             aria-controls=\"freeword-panel\"
  3128.                             aria-expanded=\"true\"
  3129.                             title=\"閉じる\">
  3130.                             <span class=\"visually-hidden\">フリーワード検索を開閉</span>
  3131.                         </button>
  3132.                     </header>
  3133.                     <div id=\"freeword-panel\"
  3134.                         class=\"search-section__panel js-accordion-panel\"
  3135.                         aria-hidden=\"false\">
  3136.                         <div class=\"search-form-content\">
  3137.                             <div class=\"search-form-item\">
  3138.                                 <input type=\"text\" name=\"name\" class=\"search-form-input\"
  3139.                                  placeholder=\"駅名・線路名・形式・撮影者名など自由に検索できます\"
  3140.                                 {% if search_form.vars.value.name
  3141.                                 and (app.request.query.get('search_parent_id') is not empty or app.request.query.get('category_id') is not empty) %}
  3142.                                 value=\"{{ search_form.vars.value.name }}\"
  3143.                                 {% endif %}
  3144.                                 >
  3145.                             </div>
  3146.                         </div>
  3147.                         <div class=\"sp-center\">
  3148.                             <button type=\"submit\" class=\"category-btn word-search\">
  3149.                                 <img src=\"{{ asset('/html/user_data/assets/icon/btn_ic_search.svg ', 'user_data') }}\" alt=\"お気に入り\">
  3150.                                 検索
  3151.                             </button>
  3152.                         </div>
  3153.                     </div>
  3154.                 </section>
  3155.                 <section id=\"details\" class=\"search-section js-accordion\" data-open=\"0\">
  3156.                     <header class=\"search-section__header\">
  3157.                         <div class=\"search-title\">
  3158.                             <img src=\"{{ asset('/html/user_data/assets/icon/title_ic_filter.svg ', 'user_data') }}\" class=\"ic\" style=\"width: auto\"><h3>詳細フィルター</h3>
  3159.                         </div>
  3160.                         <button type=\"button\"
  3161.                                 class=\"accordion-toggle js-accordion-toggle\"
  3162.                                 aria-controls=\"details-panel\"
  3163.                                 aria-expanded=\"false\"
  3164.                                 title=\"開く\">
  3165.                           <span class=\"visually-hidden\">詳細フィルターを開閉</span>
  3166.                         </button>
  3167.                     </header>
  3168.                     <div id=\"details-panel\"
  3169.                         class=\"search-section__panel js-accordion-panel\"
  3170.                         hidden aria-hidden=\"true\">
  3171.                         <div class=\"search-base-content\">
  3172.                             <div class=\"search-base-item\">
  3173.                                 <h4 class=\"search-subtitle\"><label for=\"pref-select\">撮影地(都道府県)</label></h4>
  3174.                                 <div class=\"select\">
  3175.                                     <select name=\"prefectures\" id=\"pref-select\">
  3176.                                         <option value=\"\">選択</option>
  3177.                                         {% if prefectures is not empty %}
  3178.                                             {% for prefecture in prefectures %}
  3179.                                                 <option value=\"{{prefecture}}\"
  3180.                                                 {% if app.request.query.get('prefectures') and prefecture == app.request.query.get('prefectures') %}
  3181.                                                     selected
  3182.                                                 {% endif %}                                        
  3183.                                                 >{{prefecture}}</option>
  3184.                                             {% endfor %}
  3185.                                         {% else %}
  3186.                                             <option value=\"\">該当なし</option>
  3187.                                         {% endif %}
  3188.                                     </select>
  3189.                                 </div>
  3190.                             </div>
  3191.                             
  3192.                             <div class=\"search-base-item\">
  3193.                                 <h4 class=\"search-subtitle\"><label for=\"period-select\">年代</label></h4>
  3194.                                 <div class=\"select\">
  3195.                                     <select name=\"photographing_period\" id=\"period-select\" >
  3196.                                         <option value=\"\">選択</option>
  3197.                                         {% if photographing_periods is not empty %}
  3198.                                             {% for photographing_period in photographing_periods |sort %}
  3199.                                                 <option value=\"{{photographing_period}}\"
  3200.                                                 {% if app.request.query.get('photographing_period') and photographing_period == app.request.query.get('photographing_period') %}
  3201.                                                     selected
  3202.                                                 {% endif %}  
  3203.                                                 >{{photographing_period}}</option>
  3204.                                             {% endfor %}
  3205.                                         {% else %}
  3206.                                             <option value=\"\">該当なし</option>
  3207.                                         {% endif %}
  3208.                                     </select>
  3209.                                 </div>
  3210.                             </div>
  3211.                         </div>
  3212.                         
  3213.                         <div class=\"search-filter-content\">
  3214.                             <h4 class=\"search-subtitle\"><legend>撮影アングル</legend></h4> 
  3215.                             <div class=\"search-filter-list\">
  3216.                                 {% if camera_angles is not empty %}
  3217.                                     {% for camera_angle in camera_angles %}
  3218.                                         <label class=\"filter-checkbox-item\">
  3219.                                             <input type=\"checkbox\" name=\"camera_angles[]\" value=\"{{camera_angle}}\"
  3220.                                                 {% if app.request.query.get('camera_angles') and camera_angle in app.request.query.get('camera_angles') %}
  3221.                                                     checked
  3222.                                                 {% endif %}    
  3223.                                             >{{camera_angle}}
  3224.                                         </label>
  3225.                                     {% endfor %}
  3226.                                 {% else %}
  3227.                                     <p>該当する検索候補がありません。</p>
  3228.                                 {% endif %}
  3229.                             </div>
  3230.         
  3231.                             <h4 class=\"search-subtitle\"><legend>カラー種別</legend></h4> {# id属性名・サブタイトル仮置き #}
  3232.                             <div class=\"search-filter-list\">
  3233.                                 {% if color_types is not empty %}
  3234.                                     {% for color_type in color_types %}
  3235.                                         <label class=\"filter-checkbox-item\">
  3236.                                             <input type=\"checkbox\" name=\"color_types[]\" value=\"{{color_type}}\"
  3237.                                                 {% if app.request.query.get('color_types') and color_type in app.request.query.get('color_types') %}
  3238.                                                     checked
  3239.                                                 {% endif %}
  3240.                                             >{{color_type}}
  3241.                                         </label>
  3242.                                     {% endfor %}
  3243.                                 {% else %}
  3244.                                     <p>該当する検索候補がありません。</p>
  3245.                                 {% endif %}
  3246.                             </div>
  3247.                         </div>
  3248.                         <div class=\"sp-center\">
  3249.                             <button type=\"submit\" class=\"category-btn word-search\">
  3250.                                 <img src=\"{{ asset('/html/user_data/assets/icon/btn_ic_search.svg ', 'user_data') }}\" alt=\"お気に入り\">
  3251.                                 検索
  3252.                             </button>
  3253.                         </div>
  3254.                     </div>
  3255.                 </section>
  3256.             </div>
  3257.             {% if app.request.query.get('category_id') or app.request.query.get('search_parent_id') %}
  3258.                 <input type=\"hidden\" name=\"category_id\" value=\"{{ app.request.query.get('category_id') ?: app.request.query.get('search_parent_id') }}\">
  3259.             {% endif%}
  3260.         </form>
  3261.     {% endif %}
  3262. <section class=\"contents-list\" id=\"contents-list\">
  3263. \t<!-- 商品リスト -->
  3264. \t<div class=\"list-view\">
  3265. \t\t<div class=\"list-title\">
  3266. \t\t    <div class=\"list-title-left\">
  3267. \t\t        {#カテゴリが存在する場合(通常の検索)#}
  3268.                 {% if app.request.query.get('category_id') %}
  3269.                         <h2 class=\"ec-topicpath__title\">{{ Category.name }}<span>の写真</span></h2>
  3270.                         {% if search_form.vars.value.name %}
  3271.                             <p class=\"ec-topicpath__item\"> > {{ search_form.vars.value.name }}</p>
  3272.                         {% endif %}
  3273.                         {% if app.request.query.get('prefectures') %}
  3274.                             <p class=\"ec-topicpath__item\"> > {{app.request.query.get('prefectures')}}</p>
  3275.                         {% endif %}
  3276.                         {% if app.request.query.get('operator') %}
  3277.                             <p class=\"ec-topicpath__item\"> > {{app.request.query.get('operator')}}</p>
  3278.                         {% endif %}
  3279.                         {% if app.request.query.get('photographing_period') %}
  3280.                             <p class=\"ec-topicpath__item\"> > {{app.request.query.get('photographing_period')}}</p>
  3281.                         {% endif %}
  3282.                         {% if app.request.query.get('locations') %}
  3283.                             <p class=\"ec-topicpath__item\">
  3284.                             {% for location in app.request.query.get('locations') %}
  3285.                                 {% if loop.first %}
  3286.                                      > {{ location }}
  3287.                                 {% else %}
  3288.                                     <span class=\"ec-topicpath__item\">・{{ location }}</span>
  3289.                                 {% endif %}
  3290.                             {% endfor %}
  3291.                             </p>
  3292.                         {% endif %}
  3293.                         {% if app.request.query.get('weathers') %}
  3294.                             <p class=\"ec-topicpath__item\">
  3295.                             {% for weather in app.request.query.get('weathers') %}
  3296.                                 {% if loop.first %}
  3297.                                      > {{ weather }}
  3298.                                 {% else %}
  3299.                                     <span class=\"ec-topicpath__item\">・{{ weather }}</span>
  3300.                                 {% endif %}
  3301.                             {% endfor %}
  3302.                             </p>
  3303.                         {% endif %}
  3304.                         {% if app.request.query.get('camera_angles') %}
  3305.                             <p class=\"ec-topicpath__item\">
  3306.                             {% for camera_angle in app.request.query.get('camera_angles') %}
  3307.                                 {% if loop.first %}
  3308.                                      > {{ camera_angle }}
  3309.                                 {% else %}
  3310.                                     <span class=\"ec-topicpath__item\">・{{ camera_angle }}</span>
  3311.                                 {% endif %}
  3312.                             {% endfor %}
  3313.                             </p>
  3314.                         {% endif %}
  3315.                         {% if app.request.query.get('color_types') %}
  3316.                             <p class=\"ec-topicpath__item\">
  3317.                             {% for color_type in app.request.query.get('color_types') %}
  3318.                                 {% if loop.first %}
  3319.                                      > {{ color_type }}
  3320.                                 {% else %}
  3321.                                     <span class=\"ec-topicpath__item\">・{{ color_type }}</span>
  3322.                                 {% endif %}
  3323.                             {% endfor %}
  3324.                             </p>
  3325.                         {% endif %}
  3326.                         {% if app.request.query.get('features') %}
  3327.                             <p class=\"ec-topicpath__item\">
  3328.                             {% for feature in app.request.query.get('features') %}
  3329.                                 {% if loop.first %}
  3330.                                      > {{ feature }}
  3331.                                 {% else %}
  3332.                                     <span class=\"ec-topicpath__item\">・{{ feature }}</span>
  3333.                                 {% endif %}
  3334.                             {% endfor %}
  3335.                             </p>
  3336.                         {% endif %}
  3337.                 {% else %}
  3338.                     {#通常の全体検索#}
  3339.                     {% if search_form.vars.value.name %}
  3340.                         <div>
  3341.                             <h2 class=\"ec-topicpath__title\">「{{ search_form.vars.value.name }}」<span style=\"padding: 0;\">で検索</span></h2>
  3342.                         </div>
  3343.                     {% else %}
  3344.                     {#全体を表示#}
  3345.                         <h2 class=\"ec-topicpath__title\">すべての写真</h2>
  3346.                     {% endif %}
  3347.                 {% endif %}
  3348.             </div>
  3349.             <div class=\"list-title-right\">
  3350.                 {% if pagination.totalItemCount > 0 %}
  3351.                     {% set start = ((pagination.currentPageNumber - 1) * pagination.getItemNumberPerPage) + 1 %}
  3352.                 {% else %}
  3353.                     {% set start = 0 %}
  3354.                 {% endif %}
  3355.                 {% set end = min(pagination.currentPageNumber * pagination.getItemNumberPerPage, pagination.totalItemCount) %}
  3356.                 <p>({{ pagination.totalItemCount }}件中{{ start }}件-{{ end }}件を表示)</p>
  3357.             </div>
  3358. \t\t</div>
  3359. \t\t<!-- カテゴリ説明 -->
  3360. \t\t{#デザインにないため、いったんコメントアウト#}
  3361. \t\t{#<p class=\"lead-sentence\">#}
  3362. \t\t{#    <button type=\"submit\" class=\"category-btn-list word-search\" name=\"search_parent_id\" value=\"1\">#}
  3363.   {#              JR埼京線#}
  3364.   {#          </button>#}
  3365.   {#          <button type=\"submit\" class=\"category-btn-list word-search\" name=\"search_parent_id\" value=\"2\">#}
  3366.   {#              SL#}
  3367.   {#          </button>#}
  3368. \t\t{#</p>#}
  3369. \t\t<!-- リストエリア -->
  3370. \t\t{% if pagination.totalItemCount > 0 %}
  3371. \t\t\t<div>
  3372. \t\t\t    <div class=\"list-area\">
  3373. \t\t\t    {% for Product in pagination %}
  3374.                     <div class=\"card-1\">
  3375.                         <a href=\"{{ url('photo-product_detail', {'id': Product.id}) }}\">
  3376.                             <div class=\"image-wrapper\">
  3377.                                 <img src=\"{{ asset(Product.main_list_image|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\" {% if loop.index > 5 %} loading=\"lazy\"{% endif %}>
  3378.                                     {% if Product.getPrice02IncTaxMin == 0 %}
  3379.                                         <div class=\"label-free\">無料</div>
  3380.                                     {% endif %}
  3381.                             </div>
  3382.                             {#デザインにないため、いったんコメントアウト#}
  3383.                             {#<h3>{{ Product.name }}</h3>#}
  3384.                             {#<p class=\"price02-default\">#}
  3385.                             {#    {{ Product.getPrice02IncTaxMin|price }}<span class=\"tax\">(税込)</span>#}
  3386.                             {#</p>#}
  3387.                         </a>
  3388.                     </div>
  3389.                 {% endfor %}
  3390.                 </div>
  3391.     \t\t\t<!-- ページネーション -->
  3392.     \t\t\t{% set pages = pagination.paginationData %}
  3393.     \t\t\t{% if pages.pageCount > 1 %}
  3394.                     <div class=\"ec-pager pagination\">
  3395.                         {# 前へ #}
  3396.                         {% if pages.previous is defined %}
  3397.                             <a class=\"page-return\" href=\"{{ path(
  3398.                             app.request.attributes.get('_route'),
  3399.                             app.request.query.all|merge({'pageno': pages.previous})) }}#contents-list\">←</a>
  3400.                         {% endif %}
  3401.                         <div class=\"page-num\">
  3402.                             {% for page in pages.pagesInRange %}
  3403.                                 {% if page == pages.current %}
  3404.                                     <a class=\"active\" href=\"{{ path(
  3405.                                         app.request.attributes.get('_route'),
  3406.                                         app.request.query.all|merge({'pageno': page})) }}#contents-list\"> {{ page }} </a>
  3407.                                 {% else %}
  3408.                                     <a href=\"{{ path(
  3409.                                         app.request.attributes.get('_route'),
  3410.                                         app.request.query.all|merge({'pageno': page})) }}#contents-list\"> {{ page }} </a>
  3411.                                 {% endif %}
  3412.                             {% endfor %}
  3413.                         </div>
  3414.                         {# 次へ #}
  3415.                         {% if pages.next is defined %}
  3416.                             <a class=\"page-advance\" href=\"{{ path(
  3417.                             app.request.attributes.get('_route'),
  3418.                             app.request.query.all|merge({'pageno': pages.next})) }}#contents-list\">→</a>
  3419.                         {% endif %}
  3420.                     </div>
  3421.                 {% endif %}
  3422.     \t    </div>
  3423.     \t{% else %}
  3424.             <p class=\"no_item\">{{ 'お探しの商品は見つかりませんでした'|trans }}</p>
  3425.         {% endif %}
  3426.         
  3427.         <!-- カテゴリ説明 -->
  3428.         {#デザインにないため、いったんコメントアウト#}
  3429. \t\t{#<p class=\"lead-sentence\">#}
  3430. \t\t{#    <button type=\"submit\" class=\"category-btn-list word-search\" name=\"search_parent_id\" value=\"1\">#}
  3431.   {#              JR埼京線#}
  3432.   {#          </button>#}
  3433.   {#          <button type=\"submit\" class=\"category-btn-list word-search\" name=\"search_parent_id\" value=\"2\">#}
  3434.   {#              SL#}
  3435.   {#          </button>#}
  3436. \t\t{#</p>#}
  3437.     </div>
  3438.             
  3439. </section>
  3440. {% endblock %}""@user_data/photo-product_list.twig""/home/photo-pub/www/photo-pub.com/app/template/user_data/photo-product_list.twig");
  3441.     }
  3442. }