var/cache/dev/twig/17/1778ef7a4b179b13e6ddaae75e8b17dd.php line 41

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. /* Special/index.twig */
  14. class __TwigTemplate_6efc88d2af4e62b41bfe2082e46b46af 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.             'javascript' => [$this'block_javascript'],
  24.             'main' => [$this'block_main'],
  25.         ];
  26.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  27.         $this->checkSecurity();
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "default_frame.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Special/index.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Special/index.twig"));
  41.         $this->parent $this->loadTemplate("default_frame.twig""Special/index.twig"1);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  45.         
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47.     }
  48.     // line 4
  49.     public function block_javascript($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  56.         // line 5
  57.         echo "\t<script>
  58. \t\t\$(function () {
  59. const sections = [
  60. 'essay',
  61. 'document',
  62. 'report',
  63. 'guide',
  64. 'philosophy'
  65. ];
  66. sections.forEach(section => {
  67. const posts = \$ (`.\${section}_post`);
  68. const showMoreButton = \$ (`#\${section}_show_more`);
  69. let visibleCount = 2;
  70. // 初期表示
  71. posts.slice(0, visibleCount).removeClass('hidden');
  72. showMoreButton.on('click', function () {
  73. visibleCount += 6;
  74. posts.slice(0, visibleCount).removeClass('hidden');
  75. // すべて表示したらボタンを隠す
  76. if (visibleCount >= posts.length) {
  77. showMoreButton.addClass('hidden');
  78. }
  79. });
  80. // 初期状態でボタンを非表示にするか確認
  81. if (visibleCount >= posts.length) {
  82. showMoreButton.addClass('hidden');
  83. }
  84. });
  85. });
  86. \t</script>
  87. </script>";
  88.         
  89.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  90.         
  91.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  92.     }
  93.     // line 35
  94.     public function block_main($context, array $blocks = [])
  95.     {
  96.         $macros $this->macros;
  97.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  98.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  99.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  100.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  101.         // line 36
  102.         echo "<div class=\"w-full flex flex-col items-center justify-center font-extralight\">
  103. \t<div class=\"w-full pb-20 md:pb-10 flex flex-col items-center border-b border-[#DFDFDF] mt-3\">
  104. \t\t<img src=\"";
  105.         // line 38
  106.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/special/special-top01_pc@2x.webp"), "html"nulltrue);
  107.         echo "\" alt=\"\" class=\"w-[max(45.83vw,880px)] mb-20 md:hidden\">
  108. \t\t<img src=\"";
  109.         // line 39
  110.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/special/special-top01_sp@2x.webp"), "html"nulltrue);
  111.         echo "\" alt=\"\" class=\"w-[325px] h-auto mb-10 hidden md:block\">
  112. \t\t<h1 class=\"text-[40px] tracking-[11px] md:text-lg\">祈りに親しむ</h1>
  113. \t</div>
  114. \t<!-- Essay Section -->
  115. \t<div class=\"w-full h-fit bg-special-essay bg-cover object-cover bg-top bg-no-repeat\">
  116. \t\t<div class=\"h-fit top-[50%] left-[50%] py-16 md:py-12 m-auto sm:m-0 max-w-[1336px] xxl:px-[10px] w-full flex flex-col items-center\">
  117. \t\t\t<img src=\"";
  118.         // line 46
  119.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/special/essay.png"), "html"nulltrue);
  120.         echo "\" alt=\"\" class=\"mb-5 md:mb-2 md:w-[66px] h-auto\">
  121. \t\t\t<h2 class=\"text-[28px] mb-20 md:mb-8 md:text-xl tracking-[5.6px]\">エッセイ</h2>
  122. \t\t\t<div class=\"w-full grid grid-cols-2 md:grid-cols-1 gap-6 md:flex-col\">
  123. \t\t\t\t";
  124.         // line 49
  125.         $context['_parent'] = $context;
  126.         $context['_seq'] = twig_ensure_traversable((isset($context["essay_posts"]) || array_key_exists("essay_posts"$context) ? $context["essay_posts"] : (function () { throw new RuntimeError('Variable "essay_posts" does not exist.'49$this->source); })()));
  127.         foreach ($context['_seq'] as $context["_key"] => $context["Post"]) {
  128.             // line 50
  129.             echo "\t\t\t\t\t<div class=\"bg-white shadow-manaka md:w-full essay_post hidden hover\">
  130. \t\t\t\t\t\t<a href=\"";
  131.             // line 51
  132.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("special_post", ["id" => twig_get_attribute($this->env$this->source$context["Post"], "ID", [], "any"falsefalsetrue51)]), "html"nulltrue);
  133.             echo "\">
  134. \t\t\t\t\t\t\t<img src=\"";
  135.             // line 52
  136.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["Post"], "special_kv_pc", [], "any"falsefalsetrue52), "url", [], "any"falsefalsetrue52), 52$this->source), "html"nulltrue);
  137.             echo "\" alt=\"";
  138.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["Post"], "special_kv_pc", [], "any"falsefalsetrue52), "alt", [], "any"falsefalsetrue52), 52$this->source), "html"nulltrue);
  139.             echo "\" class=\"w-full bg-center sm:h-[170px] h-[310px] object-cover\">
  140. \t\t\t\t\t\t\t<div class=\"pt-6 pb-10 px-8 md:px-6 md:pb-9\">
  141. \t\t\t\t\t\t\t\t<div class=\"mb-4 flex items-center justify-between\">
  142. \t\t\t\t\t\t\t\t\t<div class=\"w-fit flex py-[2px] px-2 border border-[#B0B0B0] sm:text-[10px]\">
  143. \t\t\t\t\t\t\t\t\t\t<p class=\"after:content-['|']\">
  144. \t\t\t\t\t\t\t\t\t\t\t";
  145.             // line 57
  146.             if ( !(null === twig_get_attribute($this->env$this->source$context["Post"], "category", [], "any"falsefalsetrue57))) {
  147.                 // line 58
  148.                 echo "\t\t\t\t\t\t\t\t\t\t\t\t";
  149.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["Post"], "category", [], "any"falsefalsetrue58), "name", [], "any"falsefalsetrue58), 58$this->source), "html"nulltrue);
  150.                 echo "
  151. \t\t\t\t\t\t\t\t\t\t\t";
  152.             }
  153.             // line 60
  154.             echo "\t\t\t\t\t\t\t\t\t\t</p>
  155. \t\t\t\t\t\t\t\t\t\t<p class=\"ml-1\">
  156. \t\t\t\t\t\t\t\t\t\t\t";
  157.             // line 62
  158.             if ( !(null === twig_get_attribute($this->env$this->source$context["Post"], "sub_category", [], "any"falsefalsetrue62))) {
  159.                 // line 63
  160.                 echo "\t\t\t\t\t\t\t\t\t\t\t\t";
  161.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["Post"], "sub_category", [], "any"falsefalsetrue63), "name", [], "any"falsefalsetrue63), 63$this->source), "html"nulltrue);
  162.                 echo "
  163. \t\t\t\t\t\t\t\t\t\t\t";
  164.             }
  165.             // line 65
  166.             echo "\t\t\t\t\t\t\t\t\t\t</p>
  167. \t\t\t\t\t\t\t\t\t</div>
  168. \t\t\t\t\t\t\t\t\t<p class=\"text-sm md:text-xs\">";
  169.             // line 67
  170.             echo twig_escape_filter($this->envtwig_date_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Post"], "post_date", [], "any"falsefalsetrue67), 67$this->source), "Y/m/d"), "html"nulltrue);
  171.             echo "</p>
  172. \t\t\t\t\t\t\t\t</div>
  173. \t\t\t\t\t\t\t\t<h3 class=\"text-xl mb-5 tracking-[4px] leading-8 md:text-sm\">";
  174.             // line 69
  175.             echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Post"], "post_title", [], "any"falsefalsetrue69), 69$this->source);
  176.             echo "</h3>
  177. \t\t\t\t\t\t\t\t";
  178.             // line 70
  179.             $context["content"] = twig_striptags($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Post"], "filter_content", [], "any"falsefalsetrue70), 70$this->source));
  180.             // line 71
  181.             echo "\t\t\t\t\t\t\t\t<p class=\"bg-white article-read text-sm md:text-xs tracking-widest leading-loose\">";
  182.             echo twig_escape_filter($this->env, (((twig_length_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'71$this->source); })()), 71$this->source)) > 55)) ? ((twig_slice($this->env$this->sandbox->ensureToStringAllowed((isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'71$this->source); })()), 71$this->source), 055) . "...")) : ((isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'71$this->source); })()))), "html"nulltrue);
  183.             echo "</p>
  184. \t\t\t\t\t\t\t</div>
  185. \t\t\t\t\t\t</a>
  186. \t\t\t\t\t</div>
  187. \t\t\t\t";
  188.         }
  189.         $_parent $context['_parent'];
  190.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Post'], $context['_parent'], $context['loop']);
  191.         $context array_intersect_key($context$_parent) + $_parent;
  192.         // line 76
  193.         echo "\t\t\t</div>
  194. \t\t\t<button id=\"essay_show_more\" class=\"mt-16 md:mt-12 hover gap-8 shadow bg-white border-b-[6px] w-[250px] sm:w-[175px] py-10 md:py-4 flex items-center justify-center border-manakaGray\">
  195. \t\t\t\t<p class=\"text-xl md:text-sm\">更に見る</p>
  196. \t\t\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewbox=\"0 0 24 24\" style=\"color: #7d7d7d;\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"size-6\">
  197. \t\t\t\t\t<path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"m19.5 8.25-7.5 7.5-7.5-7.5\"/>
  198. \t\t\t\t</svg>
  199. \t\t\t</button>
  200. \t\t</div>
  201. \t</div>
  202. \t<!-- Document Section -->
  203. \t<div class=\"w-full h-fit bg-special-document bg-cover object-cover bg-top bg-no-repeat\">
  204. \t\t<div class=\"h-fit top-[50%] left-[50%] py-16 md:py-12 m-auto sm:m-0 max-w-[1336px] xxl:px-[10px] w-full xl:px-3 flex flex-col items-center\">
  205. \t\t\t<img src=\"";
  206.         // line 89
  207.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/special/document.png"), "html"nulltrue);
  208.         echo "\" alt=\"\" class=\"mb-5 w-[42px] h-auto\">
  209. \t\t\t<h2 class=\"text-[28px] mb-20 md:mb-8 md:text-xl tracking-[5.6px]\">ドキュメント</h2>
  210. \t\t\t<div class=\"w-full grid grid-cols-2 md:grid-cols-1 gap-6 md:flex-col\">
  211. \t\t\t\t";
  212.         // line 92
  213.         $context['_parent'] = $context;
  214.         $context['_seq'] = twig_ensure_traversable((isset($context["document_posts"]) || array_key_exists("document_posts"$context) ? $context["document_posts"] : (function () { throw new RuntimeError('Variable "document_posts" does not exist.'92$this->source); })()));
  215.         foreach ($context['_seq'] as $context["_key"] => $context["Post"]) {
  216.             // line 93
  217.             echo "\t\t\t\t\t<div class=\"bg-white shadow-manaka md:w-full document_post hidden hover\">
  218. \t\t\t\t\t\t<a href=\"";
  219.             // line 94
  220.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("special_post", ["id" => twig_get_attribute($this->env$this->source$context["Post"], "ID", [], "any"falsefalsetrue94)]), "html"nulltrue);
  221.             echo "\">
  222. \t\t\t\t\t\t\t<img src=\"";
  223.             // line 95
  224.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["Post"], "special_kv_pc", [], "any"falsefalsetrue95), "url", [], "any"falsefalsetrue95), 95$this->source), "html"nulltrue);
  225.             echo "\" alt=\"";
  226.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["Post"], "special_kv_pc", [], "any"falsefalsetrue95), "alt", [], "any"falsefalsetrue95), 95$this->source), "html"nulltrue);
  227.             echo "\" class=\"w-full bg-center sm:h-[170px] h-[310px] object-cover\">
  228. \t\t\t\t\t\t\t<div class=\"pt-6 pb-10 px-8 md:px-6\">
  229. \t\t\t\t\t\t\t\t<div class=\"mb-4 flex items-center justify-between\">
  230. \t\t\t\t\t\t\t\t\t<div class=\"w-fit flex py-[2px] px-2 border border-[#B0B0B0] sm:text-[10px]\">
  231. \t\t\t\t\t\t\t\t\t\t<p class=\"after:content-['|']\">
  232. \t\t\t\t\t\t\t\t\t\t\t";
  233.             // line 100
  234.             if ( !(null === twig_get_attribute($this->env$this->source$context["Post"], "category", [], "any"falsefalsetrue100))) {
  235.                 // line 101
  236.                 echo "\t\t\t\t\t\t\t\t\t\t\t\t";
  237.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["Post"], "category", [], "any"falsefalsetrue101), "name", [], "any"falsefalsetrue101), 101$this->source), "html"nulltrue);
  238.                 echo "
  239. \t\t\t\t\t\t\t\t\t\t\t";
  240.             }
  241.             // line 103
  242.             echo "\t\t\t\t\t\t\t\t\t\t</p>
  243. \t\t\t\t\t\t\t\t\t\t<p class=\"ml-1\">
  244. \t\t\t\t\t\t\t\t\t\t\t";
  245.             // line 105
  246.             if ( !(null === twig_get_attribute($this->env$this->source$context["Post"], "sub_category", [], "any"falsefalsetrue105))) {
  247.                 // line 106
  248.                 echo "\t\t\t\t\t\t\t\t\t\t\t\t";
  249.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["Post"], "sub_category", [], "any"falsefalsetrue106), "name", [], "any"falsefalsetrue106), 106$this->source), "html"nulltrue);
  250.                 echo "
  251. \t\t\t\t\t\t\t\t\t\t\t";
  252.             }
  253.             // line 108
  254.             echo "\t\t\t\t\t\t\t\t\t\t</p>
  255. \t\t\t\t\t\t\t\t\t</div>
  256. \t\t\t\t\t\t\t\t\t<p class=\"text-sm md:text-xs\">";
  257.             // line 110
  258.             echo twig_escape_filter($this->envtwig_date_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Post"], "post_date", [], "any"falsefalsetrue110), 110$this->source), "Y/m/d"), "html"nulltrue);
  259.             echo "</p>
  260. \t\t\t\t\t\t\t\t</div>
  261. \t\t\t\t\t\t\t\t<h3 class=\"text-xl mb-5 tracking-[4px] leading-8 md:text-sm\">";
  262.             // line 112
  263.             echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Post"], "post_title", [], "any"falsefalsetrue112), 112$this->source);
  264.             echo "</h3>
  265. \t\t\t\t\t\t\t\t";
  266.             // line 113
  267.             $context["content"] = twig_striptags($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Post"], "filter_content", [], "any"falsefalsetrue113), 113$this->source));
  268.             // line 114
  269.             echo "\t\t\t\t\t\t\t\t<p class=\"bg-white article-read text-sm md:text-xs tracking-widest leading-loose\">";
  270.             echo twig_escape_filter($this->env, (((twig_length_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'114$this->source); })()), 114$this->source)) > 55)) ? ((twig_slice($this->env$this->sandbox->ensureToStringAllowed((isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'114$this->source); })()), 114$this->source), 055) . "...")) : ((isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'114$this->source); })()))), "html"nulltrue);
  271.             echo "</p>
  272. \t\t\t\t\t\t\t</div>
  273. \t\t\t\t\t\t</a>
  274. \t\t\t\t\t</div>
  275. \t\t\t\t";
  276.         }
  277.         $_parent $context['_parent'];
  278.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Post'], $context['_parent'], $context['loop']);
  279.         $context array_intersect_key($context$_parent) + $_parent;
  280.         // line 119
  281.         echo "\t\t\t</div>
  282. \t\t\t<button id=\"document_show_more\" class=\"hover mt-16 md:mt-12 gap-8 shadow bg-white border-b-[6px] w-[250px] sm:w-[175px] py-10 md:py-4 flex items-center justify-center border-manakaGray\">
  283. \t\t\t\t<p class=\"text-xl md:text-sm\">更に見る</p>
  284. \t\t\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewbox=\"0 0 24 24\" style=\"color: #7d7d7d;\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"size-6\">
  285. \t\t\t\t\t<path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"m19.5 8.25-7.5 7.5-7.5-7.5\"/>
  286. \t\t\t\t</svg>
  287. \t\t\t</button>
  288. \t\t</div>
  289. \t</div>
  290. \t<!-- Report Section -->
  291. \t<div class=\"w-full h-fit bg-special-report bg-cover object-cover bg-top bg-no-repeat\">
  292. \t\t<div class=\"h-fit top-[50%] left-[50%] py-16 md:py-12 m-auto sm:m-0 max-w-[1336px] xxl:px-[10px] w-full xl:px-3 flex flex-col items-center\">
  293. \t\t\t<img src=\"";
  294.         // line 132
  295.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/special/report.png"), "html"nulltrue);
  296.         echo "\" alt=\"\" class=\"mb-5 md:w-[65px] h-auto\">
  297. \t\t\t<h2 class=\"text-[28px] mb-20 md:mb-8 md:text-xl tracking-[5.6px]\">レポート</h2>
  298. \t\t\t<div class=\"w-full grid grid-cols-2 md:grid-cols-1 gap-6 md:flex-col\">
  299. \t\t\t\t";
  300.         // line 135
  301.         $context['_parent'] = $context;
  302.         $context['_seq'] = twig_ensure_traversable((isset($context["report_posts"]) || array_key_exists("report_posts"$context) ? $context["report_posts"] : (function () { throw new RuntimeError('Variable "report_posts" does not exist.'135$this->source); })()));
  303.         foreach ($context['_seq'] as $context["_key"] => $context["Post"]) {
  304.             // line 136
  305.             echo "\t\t\t\t\t<div class=\"bg-white shadow-manaka md:w-full report_post hidden hover\">
  306. \t\t\t\t\t\t<a href=\"";
  307.             // line 137
  308.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("special_post", ["id" => twig_get_attribute($this->env$this->source$context["Post"], "ID", [], "any"falsefalsetrue137)]), "html"nulltrue);
  309.             echo "\">
  310. \t\t\t\t\t\t\t<img src=\"";
  311.             // line 138
  312.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["Post"], "special_kv_pc", [], "any"falsefalsetrue138), "url", [], "any"falsefalsetrue138), 138$this->source), "html"nulltrue);
  313.             echo "\" alt=\"";
  314.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["Post"], "special_kv_pc", [], "any"falsefalsetrue138), "alt", [], "any"falsefalsetrue138), 138$this->source), "html"nulltrue);
  315.             echo "\" class=\"w-full bg-center sm:h-[170px] h-[310px] object-cover\">
  316. \t\t\t\t\t\t\t<div class=\"pt-6 pb-10 px-8 md:px-6\">
  317. \t\t\t\t\t\t\t\t<div class=\"mb-4 flex items-center justify-between\">
  318. \t\t\t\t\t\t\t\t\t<div class=\"w-fit flex py-[2px] px-2 border border-[#B0B0B0] sm:text-[10px]\">
  319. \t\t\t\t\t\t\t\t\t\t<p>
  320. \t\t\t\t\t\t\t\t\t\t\t";
  321.             // line 143
  322.             if ( !(null === twig_get_attribute($this->env$this->source$context["Post"], "category", [], "any"falsefalsetrue143))) {
  323.                 // line 144
  324.                 echo "\t\t\t\t\t\t\t\t\t\t\t\t";
  325.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["Post"], "category", [], "any"falsefalsetrue144), "name", [], "any"falsefalsetrue144), 144$this->source), "html"nulltrue);
  326.                 echo "
  327. \t\t\t\t\t\t\t\t\t\t\t";
  328.             }
  329.             // line 146
  330.             echo "\t\t\t\t\t\t\t\t\t\t</p>
  331. \t\t\t\t\t\t\t\t\t\t<p class=\"";
  332.             // line 147
  333.             if ( !(null === twig_get_attribute($this->env$this->source$context["Post"], "sub_category", [], "any"falsefalsetrue147))) {
  334.                 echo " before::content-['|'] ";
  335.             }
  336.             echo "\">
  337. \t\t\t\t\t\t\t\t\t\t\t";
  338.             // line 148
  339.             if ( !(null === twig_get_attribute($this->env$this->source$context["Post"], "sub_category", [], "any"falsefalsetrue148))) {
  340.                 // line 149
  341.                 echo "\t\t\t\t\t\t\t\t\t\t\t\t";
  342.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["Post"], "sub_category", [], "any"falsefalsetrue149), "name", [], "any"falsefalsetrue149), 149$this->source), "html"nulltrue);
  343.                 echo "
  344. \t\t\t\t\t\t\t\t\t\t\t";
  345.             }
  346.             // line 151
  347.             echo "\t\t\t\t\t\t\t\t\t\t</p>
  348. \t\t\t\t\t\t\t\t\t</div>
  349. \t\t\t\t\t\t\t\t\t<p class=\"text-sm md:text-xs\">";
  350.             // line 153
  351.             echo twig_escape_filter($this->envtwig_date_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Post"], "post_date", [], "any"falsefalsetrue153), 153$this->source), "Y/m/d"), "html"nulltrue);
  352.             echo "</p>
  353. \t\t\t\t\t\t\t\t</div>
  354. \t\t\t\t\t\t\t\t<h3 class=\"text-xl mb-5 tracking-[4px] leading-8 md:text-sm\">";
  355.             // line 155
  356.             echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Post"], "post_title", [], "any"falsefalsetrue155), 155$this->source);
  357.             echo "</h3>
  358. \t\t\t\t\t\t\t\t";
  359.             // line 156
  360.             $context["content"] = twig_striptags($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Post"], "filter_content", [], "any"falsefalsetrue156), 156$this->source));
  361.             // line 157
  362.             echo "\t\t\t\t\t\t\t\t<p class=\"bg-white article-read text-sm md:text-xs tracking-widest leading-loose\">";
  363.             echo twig_escape_filter($this->env, (((twig_length_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'157$this->source); })()), 157$this->source)) > 55)) ? ((twig_slice($this->env$this->sandbox->ensureToStringAllowed((isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'157$this->source); })()), 157$this->source), 055) . "...")) : ((isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'157$this->source); })()))), "html"nulltrue);
  364.             echo "</p>
  365. \t\t\t\t\t\t\t</div>
  366. \t\t\t\t\t\t</a>
  367. \t\t\t\t\t</div>
  368. \t\t\t\t";
  369.         }
  370.         $_parent $context['_parent'];
  371.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Post'], $context['_parent'], $context['loop']);
  372.         $context array_intersect_key($context$_parent) + $_parent;
  373.         // line 162
  374.         echo "\t\t\t</div>
  375. \t\t\t<button id=\"report_show_more\" class=\"hover mt-16 gap-8 shadow bg-white border-b-[6px] w-[250px] py-10 md:py-4 flex items-center justify-center border-manakaGray\">
  376. \t\t\t\t<p class=\"text-xl md:text-sm\">更に見る</p>
  377. \t\t\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewbox=\"0 0 24 24\" style=\"color: #7d7d7d;\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"size-6\">
  378. \t\t\t\t\t<path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"m19.5 8.25-7.5 7.5-7.5-7.5\"/>
  379. \t\t\t\t</svg>
  380. \t\t\t</button>
  381. \t\t</div>
  382. \t</div>
  383. \t<!-- Guide Section -->
  384. \t<div class=\"w-full h-fit bg-special-guide bg-cover object-cover bg-top bg-no-repeat\">
  385. \t\t<div class=\"h-fit top-[50%] left-[50%] py-16 md:py-12 m-auto sm:m-0 max-w-[1336px] w-full xxl:px-[10px] xl:px-3 flex flex-col items-center\">
  386. \t\t\t<img src=\"";
  387.         // line 175
  388.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/special/guid.png"), "html"nulltrue);
  389.         echo "\" alt=\"\" class=\"mb-5 w-10 h-auto\">
  390. \t\t\t<h2 class=\"text-[28px] mb-20 md:mb-8 md:text-xl tracking-[5.6px]\">ガイド</h2>
  391. \t\t\t<div class=\"w-full grid grid-cols-2 md:grid-cols-1 gap-6 md:flex-col\">
  392. \t\t\t\t";
  393.         // line 178
  394.         $context['_parent'] = $context;
  395.         $context['_seq'] = twig_ensure_traversable((isset($context["guide_posts"]) || array_key_exists("guide_posts"$context) ? $context["guide_posts"] : (function () { throw new RuntimeError('Variable "guide_posts" does not exist.'178$this->source); })()));
  396.         foreach ($context['_seq'] as $context["_key"] => $context["Post"]) {
  397.             // line 179
  398.             echo "\t\t\t\t\t<div class=\"bg-white shadow-manaka md:w-full guide_post hidden hover\">
  399. \t\t\t\t\t\t<a href=\"";
  400.             // line 180
  401.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("special_post", ["id" => twig_get_attribute($this->env$this->source$context["Post"], "ID", [], "any"falsefalsetrue180)]), "html"nulltrue);
  402.             echo "\">
  403. \t\t\t\t\t\t\t<img src=\"";
  404.             // line 181
  405.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["Post"], "special_kv_pc", [], "any"falsefalsetrue181), "url", [], "any"falsefalsetrue181), 181$this->source), "html"nulltrue);
  406.             echo "\" alt=\"";
  407.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["Post"], "special_kv_pc", [], "any"falsefalsetrue181), "alt", [], "any"falsefalsetrue181), 181$this->source), "html"nulltrue);
  408.             echo "\" class=\"w-full bg-center sm:h-[170px] h-[310px] object-cover\">
  409. \t\t\t\t\t\t\t<div class=\"pt-6 pb-10 px-8 md:px-6\">
  410. \t\t\t\t\t\t\t\t<div class=\"mb-4 flex items-center justify-between\">
  411. \t\t\t\t\t\t\t\t\t<div class=\"w-fit flex py-[2px] px-2 border border-[#B0B0B0] sm:text-[10px]\">
  412. \t\t\t\t\t\t\t\t\t\t<p>
  413. \t\t\t\t\t\t\t\t\t\t\t";
  414.             // line 186
  415.             if ( !(null === twig_get_attribute($this->env$this->source$context["Post"], "category", [], "any"falsefalsetrue186))) {
  416.                 // line 187
  417.                 echo "\t\t\t\t\t\t\t\t\t\t\t\t";
  418.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["Post"], "category", [], "any"falsefalsetrue187), "name", [], "any"falsefalsetrue187), 187$this->source), "html"nulltrue);
  419.                 echo "
  420. \t\t\t\t\t\t\t\t\t\t\t";
  421.             }
  422.             // line 189
  423.             echo "\t\t\t\t\t\t\t\t\t\t</p>
  424. \t\t\t\t\t\t\t\t\t\t<p class=\"";
  425.             // line 190
  426.             if ( !(null === twig_get_attribute($this->env$this->source$context["Post"], "sub_category", [], "any"falsefalsetrue190))) {
  427.                 echo " before:content-['|'] ";
  428.             }
  429.             echo "\">
  430. \t\t\t\t\t\t\t\t\t\t\t";
  431.             // line 191
  432.             if ( !(null === twig_get_attribute($this->env$this->source$context["Post"], "sub_category", [], "any"falsefalsetrue191))) {
  433.                 // line 192
  434.                 echo "\t\t\t\t\t\t\t\t\t\t\t\t";
  435.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["Post"], "sub_category", [], "any"falsefalsetrue192), "name", [], "any"falsefalsetrue192), 192$this->source), "html"nulltrue);
  436.                 echo "
  437. \t\t\t\t\t\t\t\t\t\t\t";
  438.             }
  439.             // line 194
  440.             echo "\t\t\t\t\t\t\t\t\t\t</p>
  441. \t\t\t\t\t\t\t\t\t</div>
  442. \t\t\t\t\t\t\t\t\t<p class=\"text-sm md:text-xs\">";
  443.             // line 196
  444.             echo twig_escape_filter($this->envtwig_date_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Post"], "post_date", [], "any"falsefalsetrue196), 196$this->source), "Y/m/d"), "html"nulltrue);
  445.             echo "</p>
  446. \t\t\t\t\t\t\t\t</div>
  447. \t\t\t\t\t\t\t\t<h3 class=\"text-xl mb-5 tracking-[4px] leading-8 md:text-sm\">";
  448.             // line 198
  449.             echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Post"], "post_title", [], "any"falsefalsetrue198), 198$this->source);
  450.             echo "</h3>
  451. \t\t\t\t\t\t\t\t";
  452.             // line 199
  453.             $context["content"] = twig_striptags($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Post"], "filter_content", [], "any"falsefalsetrue199), 199$this->source));
  454.             // line 200
  455.             echo "\t\t\t\t\t\t\t\t<p class=\"bg-white article-read text-sm md:text-xs tracking-widest leading-loose\">";
  456.             echo twig_escape_filter($this->env, (((twig_length_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'200$this->source); })()), 200$this->source)) > 55)) ? ((twig_slice($this->env$this->sandbox->ensureToStringAllowed((isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'200$this->source); })()), 200$this->source), 055) . "...")) : ((isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'200$this->source); })()))), "html"nulltrue);
  457.             echo "</p>
  458. \t\t\t\t\t\t\t</div>
  459. \t\t\t\t\t\t</a>
  460. \t\t\t\t\t</div>
  461. \t\t\t\t";
  462.         }
  463.         $_parent $context['_parent'];
  464.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Post'], $context['_parent'], $context['loop']);
  465.         $context array_intersect_key($context$_parent) + $_parent;
  466.         // line 205
  467.         echo "\t\t\t</div>
  468. \t\t\t<button id=\"guide_show_more\" class=\"hover mt-16 md:mt-12 gap-8 shadow bg-white border-b-[6px] w-[250px] sm:w-[175px] py-10 md:py-4 flex items-center justify-center border-manakaGray\">
  469. \t\t\t\t<p class=\"text-xl md:text-sm\">更に見る</p>
  470. \t\t\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewbox=\"0 0 24 24\" style=\"color: #7d7d7d;\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"size-6\">
  471. \t\t\t\t\t<path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"m19.5 8.25-7.5 7.5-7.5-7.5\"/>
  472. \t\t\t\t</svg>
  473. \t\t\t</button>
  474. \t\t</div>
  475. \t</div>
  476. \t<!-- Philosophy Section -->
  477. \t<div class=\"w-full h-fit bg-special-philosophy bg-cover object-cover bg-top bg-no-repeat\">
  478. \t\t<div class=\"h-fit top-[50%] left-[50%] py-16 md:py-12 m-auto sm:m-0 max-w-[1336px] xxl:px-[10px] w-full xl:px-3 flex flex-col items-center\">
  479. \t\t\t<img src=\"";
  480.         // line 218
  481.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/special/philosophy.png"), "html"nulltrue);
  482.         echo "\" alt=\"\" class=\"mb-5 md:w-14 h-auto\">
  483. \t\t\t<h2 class=\"text-[28px] mb-20 md:mb-8 md:text-xl tracking-[5.6px]\">フィロソフィ</h2>
  484. \t\t\t<div class=\"w-full grid grid-cols-2 md:grid-cols-1 gap-6 md:flex-col\">
  485. \t\t\t\t";
  486.         // line 221
  487.         $context['_parent'] = $context;
  488.         $context['_seq'] = twig_ensure_traversable((isset($context["philosophy_posts"]) || array_key_exists("philosophy_posts"$context) ? $context["philosophy_posts"] : (function () { throw new RuntimeError('Variable "philosophy_posts" does not exist.'221$this->source); })()));
  489.         foreach ($context['_seq'] as $context["_key"] => $context["Post"]) {
  490.             // line 222
  491.             echo "\t\t\t\t\t<div class=\"bg-white shadow-manaka md:w-full philosophy_post hidden hover\">
  492. \t\t\t\t\t\t<a href=\"";
  493.             // line 223
  494.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("special_post", ["id" => twig_get_attribute($this->env$this->source$context["Post"], "ID", [], "any"falsefalsetrue223)]), "html"nulltrue);
  495.             echo "\">
  496. \t\t\t\t\t\t\t<img src=\"";
  497.             // line 224
  498.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["Post"], "special_kv_pc", [], "any"falsefalsetrue224), "url", [], "any"falsefalsetrue224), 224$this->source), "html"nulltrue);
  499.             echo "\" alt=\"";
  500.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["Post"], "special_kv_pc", [], "any"falsefalsetrue224), "alt", [], "any"falsefalsetrue224), 224$this->source), "html"nulltrue);
  501.             echo "\" class=\"w-full bg-center md:h-[170px] h-[310px] object-cover\">
  502. \t\t\t\t\t\t\t<div class=\"pt-6 pb-10 px-8 md:px-6\">
  503. \t\t\t\t\t\t\t\t<div class=\"mb-4 flex items-center justify-between\">
  504. \t\t\t\t\t\t\t\t\t<div class=\"w-fit flex py-[2px] px-2 border border-[#B0B0B0] sm:text-[10px]\">
  505. \t\t\t\t\t\t\t\t\t\t<p>
  506. \t\t\t\t\t\t\t\t\t\t\t";
  507.             // line 229
  508.             if ( !(null === twig_get_attribute($this->env$this->source$context["Post"], "category", [], "any"falsefalsetrue229))) {
  509.                 // line 230
  510.                 echo "\t\t\t\t\t\t\t\t\t\t\t\t";
  511.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["Post"], "category", [], "any"falsefalsetrue230), "name", [], "any"falsefalsetrue230), 230$this->source), "html"nulltrue);
  512.                 echo "
  513. \t\t\t\t\t\t\t\t\t\t\t";
  514.             }
  515.             // line 232
  516.             echo "\t\t\t\t\t\t\t\t\t\t</p>
  517. \t\t\t\t\t\t\t\t\t\t<p class=\"";
  518.             // line 233
  519.             if ( !(null === twig_get_attribute($this->env$this->source$context["Post"], "sub_category", [], "any"falsefalsetrue233))) {
  520.                 echo " before:content-['|'] ";
  521.             }
  522.             echo "\">
  523. \t\t\t\t\t\t\t\t\t\t\t";
  524.             // line 234
  525.             if ( !(null === twig_get_attribute($this->env$this->source$context["Post"], "sub_category", [], "any"falsefalsetrue234))) {
  526.                 // line 235
  527.                 echo "\t\t\t\t\t\t\t\t\t\t\t\t";
  528.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["Post"], "sub_category", [], "any"falsefalsetrue235), "name", [], "any"falsefalsetrue235), 235$this->source), "html"nulltrue);
  529.                 echo "
  530. \t\t\t\t\t\t\t\t\t\t\t";
  531.             }
  532.             // line 237
  533.             echo "\t\t\t\t\t\t\t\t\t\t</p>
  534. \t\t\t\t\t\t\t\t\t</div>
  535. \t\t\t\t\t\t\t\t\t<p class=\"text-sm md:text-xs\">";
  536.             // line 239
  537.             echo twig_escape_filter($this->envtwig_date_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Post"], "post_date", [], "any"falsefalsetrue239), 239$this->source), "Y/m/d"), "html"nulltrue);
  538.             echo "</p>
  539. \t\t\t\t\t\t\t\t</div>
  540. \t\t\t\t\t\t\t\t<h3 class=\"text-xl mb-5 tracking-[4px] leading-8 md:text-sm\">";
  541.             // line 241
  542.             echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Post"], "post_title", [], "any"falsefalsetrue241), 241$this->source);
  543.             echo "</h3>
  544. \t\t\t\t\t\t\t\t";
  545.             // line 242
  546.             $context["content"] = twig_striptags($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Post"], "filter_content", [], "any"falsefalsetrue242), 242$this->source));
  547.             // line 243
  548.             echo "\t\t\t\t\t\t\t\t<p class=\"bg-white article-read text-sm md:text-xs tracking-widest leading-loose\">";
  549.             echo twig_escape_filter($this->env, (((twig_length_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'243$this->source); })()), 243$this->source)) > 55)) ? ((twig_slice($this->env$this->sandbox->ensureToStringAllowed((isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'243$this->source); })()), 243$this->source), 055) . "...")) : ((isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'243$this->source); })()))), "html"nulltrue);
  550.             echo "</p>
  551. \t\t\t\t\t\t\t</div>
  552. \t\t\t\t\t\t</a>
  553. \t\t\t\t\t</div>
  554. \t\t\t\t";
  555.         }
  556.         $_parent $context['_parent'];
  557.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Post'], $context['_parent'], $context['loop']);
  558.         $context array_intersect_key($context$_parent) + $_parent;
  559.         // line 248
  560.         echo "\t\t\t</div>
  561. \t\t\t<button id=\"philosophy_show_more\" class=\"gap-8 mt-16 md:mt-12 shadow hover bg-white border-b-[6px] w-[250px] sm:w-[175px] py-10 md:py-4 flex items-center justify-center border-manakaGray\">
  562. \t\t\t\t<p class=\"text-xl md:text-sm\">更に見る</p>
  563. \t\t\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewbox=\"0 0 24 24\" style=\"color: #7d7d7d;\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"size-6\">
  564. \t\t\t\t\t<path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"m19.5 8.25-7.5 7.5-7.5-7.5\"/>
  565. \t\t\t\t</svg>
  566. \t\t\t</button>
  567. \t\t</div>
  568. \t</div>
  569. \t<div class=\"max-w-[1120px] w-full px-6 md:px-0\">
  570. \t\t";
  571.         // line 258
  572.         $context["breadcrumbs"] = [=> ["name" => "特集"]];
  573.         // line 259
  574.         echo "\t\t";
  575.         $this->loadTemplate("Block/breadcrumbs.twig""Special/index.twig"259)->display($context);
  576.         // line 260
  577.         echo "\t</div>
  578. </div>";
  579.         
  580.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  581.         
  582.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  583.     }
  584.     public function getTemplateName()
  585.     {
  586.         return "Special/index.twig";
  587.     }
  588.     public function isTraitable()
  589.     {
  590.         return false;
  591.     }
  592.     public function getDebugInfo()
  593.     {
  594.         return array (  601 => 260,  598 => 259,  596 => 258,  584 => 248,  572 => 243,  570 => 242,  566 => 241,  561 => 239,  557 => 237,  551 => 235,  549 => 234,  543 => 233,  540 => 232,  534 => 230,  532 => 229,  522 => 224,  518 => 223,  515 => 222,  511 => 221,  505 => 218,  490 => 205,  478 => 200,  476 => 199,  472 => 198,  467 => 196,  463 => 194,  457 => 192,  455 => 191,  449 => 190,  446 => 189,  440 => 187,  438 => 186,  428 => 181,  424 => 180,  421 => 179,  417 => 178,  411 => 175,  396 => 162,  384 => 157,  382 => 156,  378 => 155,  373 => 153,  369 => 151,  363 => 149,  361 => 148,  355 => 147,  352 => 146,  346 => 144,  344 => 143,  334 => 138,  330 => 137,  327 => 136,  323 => 135,  317 => 132,  302 => 119,  290 => 114,  288 => 113,  284 => 112,  279 => 110,  275 => 108,  269 => 106,  267 => 105,  263 => 103,  257 => 101,  255 => 100,  245 => 95,  241 => 94,  238 => 93,  234 => 92,  228 => 89,  213 => 76,  201 => 71,  199 => 70,  195 => 69,  190 => 67,  186 => 65,  180 => 63,  178 => 62,  174 => 60,  168 => 58,  166 => 57,  156 => 52,  152 => 51,  149 => 50,  145 => 49,  139 => 46,  129 => 39,  125 => 38,  121 => 36,  111 => 35,  71 => 5,  61 => 4,  38 => 1,);
  595.     }
  596.     public function getSourceContext()
  597.     {
  598.         return new Source("{% extends 'default_frame.twig' %}
  599. {% block javascript %}
  600. \t<script>
  601. \t\t\$(function () {
  602. const sections = [
  603. 'essay',
  604. 'document',
  605. 'report',
  606. 'guide',
  607. 'philosophy'
  608. ];
  609. sections.forEach(section => {
  610. const posts = \$ (`.\${section}_post`);
  611. const showMoreButton = \$ (`#\${section}_show_more`);
  612. let visibleCount = 2;
  613. // 初期表示
  614. posts.slice(0, visibleCount).removeClass('hidden');
  615. showMoreButton.on('click', function () {
  616. visibleCount += 6;
  617. posts.slice(0, visibleCount).removeClass('hidden');
  618. // すべて表示したらボタンを隠す
  619. if (visibleCount >= posts.length) {
  620. showMoreButton.addClass('hidden');
  621. }
  622. });
  623. // 初期状態でボタンを非表示にするか確認
  624. if (visibleCount >= posts.length) {
  625. showMoreButton.addClass('hidden');
  626. }
  627. });
  628. });
  629. \t</script>
  630. </script>{% endblock %}{% block main %}
  631. <div class=\"w-full flex flex-col items-center justify-center font-extralight\">
  632. \t<div class=\"w-full pb-20 md:pb-10 flex flex-col items-center border-b border-[#DFDFDF] mt-3\">
  633. \t\t<img src=\"{{asset('assets/img/special/special-top01_pc@2x.webp')}}\" alt=\"\" class=\"w-[max(45.83vw,880px)] mb-20 md:hidden\">
  634. \t\t<img src=\"{{asset('assets/img/special/special-top01_sp@2x.webp')}}\" alt=\"\" class=\"w-[325px] h-auto mb-10 hidden md:block\">
  635. \t\t<h1 class=\"text-[40px] tracking-[11px] md:text-lg\">祈りに親しむ</h1>
  636. \t</div>
  637. \t<!-- Essay Section -->
  638. \t<div class=\"w-full h-fit bg-special-essay bg-cover object-cover bg-top bg-no-repeat\">
  639. \t\t<div class=\"h-fit top-[50%] left-[50%] py-16 md:py-12 m-auto sm:m-0 max-w-[1336px] xxl:px-[10px] w-full flex flex-col items-center\">
  640. \t\t\t<img src=\"{{asset('assets/img/special/essay.png')}}\" alt=\"\" class=\"mb-5 md:mb-2 md:w-[66px] h-auto\">
  641. \t\t\t<h2 class=\"text-[28px] mb-20 md:mb-8 md:text-xl tracking-[5.6px]\">エッセイ</h2>
  642. \t\t\t<div class=\"w-full grid grid-cols-2 md:grid-cols-1 gap-6 md:flex-col\">
  643. \t\t\t\t{% for Post in essay_posts %}
  644. \t\t\t\t\t<div class=\"bg-white shadow-manaka md:w-full essay_post hidden hover\">
  645. \t\t\t\t\t\t<a href=\"{{ path('special_post', {id: Post.ID}) }}\">
  646. \t\t\t\t\t\t\t<img src=\"{{ Post.special_kv_pc.url }}\" alt=\"{{ Post.special_kv_pc.alt }}\" class=\"w-full bg-center sm:h-[170px] h-[310px] object-cover\">
  647. \t\t\t\t\t\t\t<div class=\"pt-6 pb-10 px-8 md:px-6 md:pb-9\">
  648. \t\t\t\t\t\t\t\t<div class=\"mb-4 flex items-center justify-between\">
  649. \t\t\t\t\t\t\t\t\t<div class=\"w-fit flex py-[2px] px-2 border border-[#B0B0B0] sm:text-[10px]\">
  650. \t\t\t\t\t\t\t\t\t\t<p class=\"after:content-['|']\">
  651. \t\t\t\t\t\t\t\t\t\t\t{% if Post.category is not null %}
  652. \t\t\t\t\t\t\t\t\t\t\t\t{{ Post.category.name }}
  653. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  654. \t\t\t\t\t\t\t\t\t\t</p>
  655. \t\t\t\t\t\t\t\t\t\t<p class=\"ml-1\">
  656. \t\t\t\t\t\t\t\t\t\t\t{% if Post.sub_category is not null %}
  657. \t\t\t\t\t\t\t\t\t\t\t\t{{ Post.sub_category.name }}
  658. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  659. \t\t\t\t\t\t\t\t\t\t</p>
  660. \t\t\t\t\t\t\t\t\t</div>
  661. \t\t\t\t\t\t\t\t\t<p class=\"text-sm md:text-xs\">{{ Post.post_date|date('Y/m/d') }}</p>
  662. \t\t\t\t\t\t\t\t</div>
  663. \t\t\t\t\t\t\t\t<h3 class=\"text-xl mb-5 tracking-[4px] leading-8 md:text-sm\">{{ Post.post_title|raw }}</h3>
  664. \t\t\t\t\t\t\t\t{% set content = Post.filter_content|striptags %}
  665. \t\t\t\t\t\t\t\t<p class=\"bg-white article-read text-sm md:text-xs tracking-widest leading-loose\">{{ content|length > 55 ? content|slice(0,55) ~ '...' : content }}</p>
  666. \t\t\t\t\t\t\t</div>
  667. \t\t\t\t\t\t</a>
  668. \t\t\t\t\t</div>
  669. \t\t\t\t{% endfor %}
  670. \t\t\t</div>
  671. \t\t\t<button id=\"essay_show_more\" class=\"mt-16 md:mt-12 hover gap-8 shadow bg-white border-b-[6px] w-[250px] sm:w-[175px] py-10 md:py-4 flex items-center justify-center border-manakaGray\">
  672. \t\t\t\t<p class=\"text-xl md:text-sm\">更に見る</p>
  673. \t\t\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewbox=\"0 0 24 24\" style=\"color: #7d7d7d;\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"size-6\">
  674. \t\t\t\t\t<path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"m19.5 8.25-7.5 7.5-7.5-7.5\"/>
  675. \t\t\t\t</svg>
  676. \t\t\t</button>
  677. \t\t</div>
  678. \t</div>
  679. \t<!-- Document Section -->
  680. \t<div class=\"w-full h-fit bg-special-document bg-cover object-cover bg-top bg-no-repeat\">
  681. \t\t<div class=\"h-fit top-[50%] left-[50%] py-16 md:py-12 m-auto sm:m-0 max-w-[1336px] xxl:px-[10px] w-full xl:px-3 flex flex-col items-center\">
  682. \t\t\t<img src=\"{{asset('assets/img/special/document.png')}}\" alt=\"\" class=\"mb-5 w-[42px] h-auto\">
  683. \t\t\t<h2 class=\"text-[28px] mb-20 md:mb-8 md:text-xl tracking-[5.6px]\">ドキュメント</h2>
  684. \t\t\t<div class=\"w-full grid grid-cols-2 md:grid-cols-1 gap-6 md:flex-col\">
  685. \t\t\t\t{% for Post in document_posts %}
  686. \t\t\t\t\t<div class=\"bg-white shadow-manaka md:w-full document_post hidden hover\">
  687. \t\t\t\t\t\t<a href=\"{{ path('special_post', {id: Post.ID}) }}\">
  688. \t\t\t\t\t\t\t<img src=\"{{ Post.special_kv_pc.url }}\" alt=\"{{ Post.special_kv_pc.alt }}\" class=\"w-full bg-center sm:h-[170px] h-[310px] object-cover\">
  689. \t\t\t\t\t\t\t<div class=\"pt-6 pb-10 px-8 md:px-6\">
  690. \t\t\t\t\t\t\t\t<div class=\"mb-4 flex items-center justify-between\">
  691. \t\t\t\t\t\t\t\t\t<div class=\"w-fit flex py-[2px] px-2 border border-[#B0B0B0] sm:text-[10px]\">
  692. \t\t\t\t\t\t\t\t\t\t<p class=\"after:content-['|']\">
  693. \t\t\t\t\t\t\t\t\t\t\t{% if Post.category is not null %}
  694. \t\t\t\t\t\t\t\t\t\t\t\t{{ Post.category.name }}
  695. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  696. \t\t\t\t\t\t\t\t\t\t</p>
  697. \t\t\t\t\t\t\t\t\t\t<p class=\"ml-1\">
  698. \t\t\t\t\t\t\t\t\t\t\t{% if Post.sub_category is not null %}
  699. \t\t\t\t\t\t\t\t\t\t\t\t{{ Post.sub_category.name }}
  700. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  701. \t\t\t\t\t\t\t\t\t\t</p>
  702. \t\t\t\t\t\t\t\t\t</div>
  703. \t\t\t\t\t\t\t\t\t<p class=\"text-sm md:text-xs\">{{ Post.post_date|date('Y/m/d') }}</p>
  704. \t\t\t\t\t\t\t\t</div>
  705. \t\t\t\t\t\t\t\t<h3 class=\"text-xl mb-5 tracking-[4px] leading-8 md:text-sm\">{{ Post.post_title|raw }}</h3>
  706. \t\t\t\t\t\t\t\t{% set content = Post.filter_content|striptags %}
  707. \t\t\t\t\t\t\t\t<p class=\"bg-white article-read text-sm md:text-xs tracking-widest leading-loose\">{{ content|length > 55 ? content|slice(0,55) ~ '...' : content }}</p>
  708. \t\t\t\t\t\t\t</div>
  709. \t\t\t\t\t\t</a>
  710. \t\t\t\t\t</div>
  711. \t\t\t\t{% endfor %}
  712. \t\t\t</div>
  713. \t\t\t<button id=\"document_show_more\" class=\"hover mt-16 md:mt-12 gap-8 shadow bg-white border-b-[6px] w-[250px] sm:w-[175px] py-10 md:py-4 flex items-center justify-center border-manakaGray\">
  714. \t\t\t\t<p class=\"text-xl md:text-sm\">更に見る</p>
  715. \t\t\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewbox=\"0 0 24 24\" style=\"color: #7d7d7d;\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"size-6\">
  716. \t\t\t\t\t<path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"m19.5 8.25-7.5 7.5-7.5-7.5\"/>
  717. \t\t\t\t</svg>
  718. \t\t\t</button>
  719. \t\t</div>
  720. \t</div>
  721. \t<!-- Report Section -->
  722. \t<div class=\"w-full h-fit bg-special-report bg-cover object-cover bg-top bg-no-repeat\">
  723. \t\t<div class=\"h-fit top-[50%] left-[50%] py-16 md:py-12 m-auto sm:m-0 max-w-[1336px] xxl:px-[10px] w-full xl:px-3 flex flex-col items-center\">
  724. \t\t\t<img src=\"{{asset('assets/img/special/report.png')}}\" alt=\"\" class=\"mb-5 md:w-[65px] h-auto\">
  725. \t\t\t<h2 class=\"text-[28px] mb-20 md:mb-8 md:text-xl tracking-[5.6px]\">レポート</h2>
  726. \t\t\t<div class=\"w-full grid grid-cols-2 md:grid-cols-1 gap-6 md:flex-col\">
  727. \t\t\t\t{% for Post in report_posts %}
  728. \t\t\t\t\t<div class=\"bg-white shadow-manaka md:w-full report_post hidden hover\">
  729. \t\t\t\t\t\t<a href=\"{{ path('special_post', {id: Post.ID}) }}\">
  730. \t\t\t\t\t\t\t<img src=\"{{ Post.special_kv_pc.url }}\" alt=\"{{ Post.special_kv_pc.alt }}\" class=\"w-full bg-center sm:h-[170px] h-[310px] object-cover\">
  731. \t\t\t\t\t\t\t<div class=\"pt-6 pb-10 px-8 md:px-6\">
  732. \t\t\t\t\t\t\t\t<div class=\"mb-4 flex items-center justify-between\">
  733. \t\t\t\t\t\t\t\t\t<div class=\"w-fit flex py-[2px] px-2 border border-[#B0B0B0] sm:text-[10px]\">
  734. \t\t\t\t\t\t\t\t\t\t<p>
  735. \t\t\t\t\t\t\t\t\t\t\t{% if Post.category is not null %}
  736. \t\t\t\t\t\t\t\t\t\t\t\t{{ Post.category.name }}
  737. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  738. \t\t\t\t\t\t\t\t\t\t</p>
  739. \t\t\t\t\t\t\t\t\t\t<p class=\"{% if Post.sub_category is not null %} before::content-['|'] {% endif %}\">
  740. \t\t\t\t\t\t\t\t\t\t\t{% if Post.sub_category is not null %}
  741. \t\t\t\t\t\t\t\t\t\t\t\t{{ Post.sub_category.name }}
  742. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  743. \t\t\t\t\t\t\t\t\t\t</p>
  744. \t\t\t\t\t\t\t\t\t</div>
  745. \t\t\t\t\t\t\t\t\t<p class=\"text-sm md:text-xs\">{{ Post.post_date|date('Y/m/d') }}</p>
  746. \t\t\t\t\t\t\t\t</div>
  747. \t\t\t\t\t\t\t\t<h3 class=\"text-xl mb-5 tracking-[4px] leading-8 md:text-sm\">{{ Post.post_title|raw }}</h3>
  748. \t\t\t\t\t\t\t\t{% set content = Post.filter_content|striptags %}
  749. \t\t\t\t\t\t\t\t<p class=\"bg-white article-read text-sm md:text-xs tracking-widest leading-loose\">{{ content|length > 55 ? content|slice(0,55) ~ '...' : content }}</p>
  750. \t\t\t\t\t\t\t</div>
  751. \t\t\t\t\t\t</a>
  752. \t\t\t\t\t</div>
  753. \t\t\t\t{% endfor %}
  754. \t\t\t</div>
  755. \t\t\t<button id=\"report_show_more\" class=\"hover mt-16 gap-8 shadow bg-white border-b-[6px] w-[250px] py-10 md:py-4 flex items-center justify-center border-manakaGray\">
  756. \t\t\t\t<p class=\"text-xl md:text-sm\">更に見る</p>
  757. \t\t\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewbox=\"0 0 24 24\" style=\"color: #7d7d7d;\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"size-6\">
  758. \t\t\t\t\t<path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"m19.5 8.25-7.5 7.5-7.5-7.5\"/>
  759. \t\t\t\t</svg>
  760. \t\t\t</button>
  761. \t\t</div>
  762. \t</div>
  763. \t<!-- Guide Section -->
  764. \t<div class=\"w-full h-fit bg-special-guide bg-cover object-cover bg-top bg-no-repeat\">
  765. \t\t<div class=\"h-fit top-[50%] left-[50%] py-16 md:py-12 m-auto sm:m-0 max-w-[1336px] w-full xxl:px-[10px] xl:px-3 flex flex-col items-center\">
  766. \t\t\t<img src=\"{{asset('assets/img/special/guid.png')}}\" alt=\"\" class=\"mb-5 w-10 h-auto\">
  767. \t\t\t<h2 class=\"text-[28px] mb-20 md:mb-8 md:text-xl tracking-[5.6px]\">ガイド</h2>
  768. \t\t\t<div class=\"w-full grid grid-cols-2 md:grid-cols-1 gap-6 md:flex-col\">
  769. \t\t\t\t{% for Post in guide_posts %}
  770. \t\t\t\t\t<div class=\"bg-white shadow-manaka md:w-full guide_post hidden hover\">
  771. \t\t\t\t\t\t<a href=\"{{ path('special_post', {id: Post.ID}) }}\">
  772. \t\t\t\t\t\t\t<img src=\"{{ Post.special_kv_pc.url }}\" alt=\"{{ Post.special_kv_pc.alt }}\" class=\"w-full bg-center sm:h-[170px] h-[310px] object-cover\">
  773. \t\t\t\t\t\t\t<div class=\"pt-6 pb-10 px-8 md:px-6\">
  774. \t\t\t\t\t\t\t\t<div class=\"mb-4 flex items-center justify-between\">
  775. \t\t\t\t\t\t\t\t\t<div class=\"w-fit flex py-[2px] px-2 border border-[#B0B0B0] sm:text-[10px]\">
  776. \t\t\t\t\t\t\t\t\t\t<p>
  777. \t\t\t\t\t\t\t\t\t\t\t{% if Post.category is not null %}
  778. \t\t\t\t\t\t\t\t\t\t\t\t{{ Post.category.name }}
  779. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  780. \t\t\t\t\t\t\t\t\t\t</p>
  781. \t\t\t\t\t\t\t\t\t\t<p class=\"{% if Post.sub_category is not null %} before:content-['|'] {% endif %}\">
  782. \t\t\t\t\t\t\t\t\t\t\t{% if Post.sub_category is not null %}
  783. \t\t\t\t\t\t\t\t\t\t\t\t{{ Post.sub_category.name }}
  784. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  785. \t\t\t\t\t\t\t\t\t\t</p>
  786. \t\t\t\t\t\t\t\t\t</div>
  787. \t\t\t\t\t\t\t\t\t<p class=\"text-sm md:text-xs\">{{ Post.post_date|date('Y/m/d') }}</p>
  788. \t\t\t\t\t\t\t\t</div>
  789. \t\t\t\t\t\t\t\t<h3 class=\"text-xl mb-5 tracking-[4px] leading-8 md:text-sm\">{{ Post.post_title|raw }}</h3>
  790. \t\t\t\t\t\t\t\t{% set content = Post.filter_content|striptags %}
  791. \t\t\t\t\t\t\t\t<p class=\"bg-white article-read text-sm md:text-xs tracking-widest leading-loose\">{{ content|length > 55 ? content|slice(0,55) ~ '...' : content }}</p>
  792. \t\t\t\t\t\t\t</div>
  793. \t\t\t\t\t\t</a>
  794. \t\t\t\t\t</div>
  795. \t\t\t\t{% endfor %}
  796. \t\t\t</div>
  797. \t\t\t<button id=\"guide_show_more\" class=\"hover mt-16 md:mt-12 gap-8 shadow bg-white border-b-[6px] w-[250px] sm:w-[175px] py-10 md:py-4 flex items-center justify-center border-manakaGray\">
  798. \t\t\t\t<p class=\"text-xl md:text-sm\">更に見る</p>
  799. \t\t\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewbox=\"0 0 24 24\" style=\"color: #7d7d7d;\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"size-6\">
  800. \t\t\t\t\t<path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"m19.5 8.25-7.5 7.5-7.5-7.5\"/>
  801. \t\t\t\t</svg>
  802. \t\t\t</button>
  803. \t\t</div>
  804. \t</div>
  805. \t<!-- Philosophy Section -->
  806. \t<div class=\"w-full h-fit bg-special-philosophy bg-cover object-cover bg-top bg-no-repeat\">
  807. \t\t<div class=\"h-fit top-[50%] left-[50%] py-16 md:py-12 m-auto sm:m-0 max-w-[1336px] xxl:px-[10px] w-full xl:px-3 flex flex-col items-center\">
  808. \t\t\t<img src=\"{{asset('assets/img/special/philosophy.png')}}\" alt=\"\" class=\"mb-5 md:w-14 h-auto\">
  809. \t\t\t<h2 class=\"text-[28px] mb-20 md:mb-8 md:text-xl tracking-[5.6px]\">フィロソフィ</h2>
  810. \t\t\t<div class=\"w-full grid grid-cols-2 md:grid-cols-1 gap-6 md:flex-col\">
  811. \t\t\t\t{% for Post in philosophy_posts %}
  812. \t\t\t\t\t<div class=\"bg-white shadow-manaka md:w-full philosophy_post hidden hover\">
  813. \t\t\t\t\t\t<a href=\"{{ path('special_post', {id: Post.ID}) }}\">
  814. \t\t\t\t\t\t\t<img src=\"{{ Post.special_kv_pc.url }}\" alt=\"{{ Post.special_kv_pc.alt }}\" class=\"w-full bg-center md:h-[170px] h-[310px] object-cover\">
  815. \t\t\t\t\t\t\t<div class=\"pt-6 pb-10 px-8 md:px-6\">
  816. \t\t\t\t\t\t\t\t<div class=\"mb-4 flex items-center justify-between\">
  817. \t\t\t\t\t\t\t\t\t<div class=\"w-fit flex py-[2px] px-2 border border-[#B0B0B0] sm:text-[10px]\">
  818. \t\t\t\t\t\t\t\t\t\t<p>
  819. \t\t\t\t\t\t\t\t\t\t\t{% if Post.category is not null %}
  820. \t\t\t\t\t\t\t\t\t\t\t\t{{ Post.category.name }}
  821. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  822. \t\t\t\t\t\t\t\t\t\t</p>
  823. \t\t\t\t\t\t\t\t\t\t<p class=\"{% if Post.sub_category is not null %} before:content-['|'] {% endif %}\">
  824. \t\t\t\t\t\t\t\t\t\t\t{% if Post.sub_category is not null %}
  825. \t\t\t\t\t\t\t\t\t\t\t\t{{ Post.sub_category.name }}
  826. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  827. \t\t\t\t\t\t\t\t\t\t</p>
  828. \t\t\t\t\t\t\t\t\t</div>
  829. \t\t\t\t\t\t\t\t\t<p class=\"text-sm md:text-xs\">{{ Post.post_date|date('Y/m/d') }}</p>
  830. \t\t\t\t\t\t\t\t</div>
  831. \t\t\t\t\t\t\t\t<h3 class=\"text-xl mb-5 tracking-[4px] leading-8 md:text-sm\">{{ Post.post_title|raw }}</h3>
  832. \t\t\t\t\t\t\t\t{% set content = Post.filter_content|striptags %}
  833. \t\t\t\t\t\t\t\t<p class=\"bg-white article-read text-sm md:text-xs tracking-widest leading-loose\">{{ content|length > 55 ? content|slice(0,55) ~ '...' : content }}</p>
  834. \t\t\t\t\t\t\t</div>
  835. \t\t\t\t\t\t</a>
  836. \t\t\t\t\t</div>
  837. \t\t\t\t{% endfor %}
  838. \t\t\t</div>
  839. \t\t\t<button id=\"philosophy_show_more\" class=\"gap-8 mt-16 md:mt-12 shadow hover bg-white border-b-[6px] w-[250px] sm:w-[175px] py-10 md:py-4 flex items-center justify-center border-manakaGray\">
  840. \t\t\t\t<p class=\"text-xl md:text-sm\">更に見る</p>
  841. \t\t\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewbox=\"0 0 24 24\" style=\"color: #7d7d7d;\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"size-6\">
  842. \t\t\t\t\t<path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"m19.5 8.25-7.5 7.5-7.5-7.5\"/>
  843. \t\t\t\t</svg>
  844. \t\t\t</button>
  845. \t\t</div>
  846. \t</div>
  847. \t<div class=\"max-w-[1120px] w-full px-6 md:px-0\">
  848. \t\t{% set breadcrumbs = [{'name': '特集'}] %}
  849. \t\t{% include('Block/breadcrumbs.twig') %}
  850. \t</div>
  851. </div>{% endblock %}
  852. ""Special/index.twig""/home/xs082386/manaka-store.com/public_html/renewal.manaka-store.com/app/template/default/Special/index.twig");
  853.     }
  854.     
  855.     public function checkSecurity()
  856.     {
  857.         static $tags = array("for" => 49"if" => 57"set" => 70"include" => 259);
  858.         static $filters = array("escape" => 38"date" => 67"raw" => 69"striptags" => 70"length" => 71"slice" => 71);
  859.         static $functions = array("asset" => 38"path" => 51);
  860.         try {
  861.             $this->sandbox->checkSecurity(
  862.                 ['for''if''set''include'],
  863.                 ['escape''date''raw''striptags''length''slice'],
  864.                 ['asset''path']
  865.             );
  866.         } catch (SecurityError $e) {
  867.             $e->setSourceContext($this->source);
  868.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  869.                 $e->setTemplateLine($tags[$e->getTagName()]);
  870.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  871.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  872.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  873.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  874.             }
  875.             throw $e;
  876.         }
  877.     }
  878. }