var/cache/dev/twig/ce/ceb65f116c15dd9c24b0cd292520ba9f.php line 54

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. /* index.twig */
  14. class __TwigTemplate_b3c1cefdad30759082ec7c02aec85bd3 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.             '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""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""index.twig"));
  41.         // line 3
  42.         $context["body_class"] = "front_page";
  43.         // line 1
  44.         $this->parent $this->loadTemplate("default_frame.twig""index.twig"1);
  45.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 5
  52.     public function block_stylesheet($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  59.         // line 6
  60.         echo "    <style>
  61. /*いい古墳あります*/
  62.         .elementor-element-cde511d {
  63.             display: flex;
  64.             justify-content: center;
  65.             align-items: center;
  66.             margin: 50px 20px 0;
  67.             max-width: calc(100% - 40px);
  68.             width: auto;
  69.         }
  70.         /* 画像自体のスタイリング */
  71.         .elementor-element-cde511d img {
  72.             max-width: 100%;
  73.             height: auto;
  74.             width: auto;
  75.         }
  76. @media only screen and (max-width: 768px) {
  77.         .elementor-element-cde511d {
  78.             margin: 30px 15px 0;
  79.             max-width: calc(100% - 30px);
  80.         }
  81. }
  82. /*樹木葬の新形態「古墳墓」*/
  83.         .elementor-element-a2b7db4 h2 {
  84.             text-align: center;
  85.             color: var( --e-global-color-global_color_4 );
  86.             font-size: 38px;
  87.             font-weight: 600;
  88.         }
  89. @media only screen and (max-width: 768px) {
  90.         .elementor-element-a2b7db4 h2 {
  91.             font-size: 24px;
  92.         }
  93. }
  94. /*イントロ*/
  95.         .elementor-element-5da587c {
  96.             text-align: center;
  97.             font-size: 18px;
  98.             line-height: 2;
  99.         }
  100. @media only screen and (max-width: 768px) {
  101.         .elementor-element-5da587c {
  102.             font-size: 15px;
  103.             line-height: 1.5;
  104. \t\t\tpadding: 10px 20px 10px 20px;
  105. }
  106. }
  107. /*ボタン*/
  108. .elementor-element-27d69a7 {
  109.             display: flex;
  110. \t\t\tflex-wrap: wrap;
  111.             margin: 30px auto;
  112.             justify-content: center;
  113. }
  114. .elementor-element-row {
  115.             width: 50%;
  116.             text-align: center;
  117.             flex-direction: row;
  118.             margin-bottom: 20px;
  119. }\t
  120. @media (max-width: 768px) {
  121. .elementor-element-row {
  122.             width: 100%;
  123. }
  124. }\t\t
  125. .elementor-element-row p {
  126.     margin-top: 10px;
  127.             text-align: center;
  128.             font-size: 14px;
  129.             line-height: 1.5;
  130. }
  131. .elementor-button span {
  132.             text-decoration: inherit;
  133.             display: inline-block;
  134.         }
  135. .elementor-button {
  136.             display: inline-block;
  137.             line-height: 1;
  138.             font-size: 20px;
  139.             font-weight: bold;
  140.             border-radius: 3px;
  141.             color: #fff;
  142.             fill: #fff;
  143.             text-align: center;
  144.             transition: all .3s;
  145.             background-color: #000000;
  146. \t\t\twidth:80%;
  147. \t\t\tpadding-top: 30px;
  148. \t\t\tpadding-bottom: 30px;
  149. }
  150. @media only screen and (max-width: 768px) {
  151.         .elementor-button {
  152.             font-size: 17px;
  153. \t\t\tpadding: 20px 30px 20px 30px;
  154. }
  155. }
  156.     </style>
  157. ";
  158.         
  159.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  160.         
  161.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  162.     }
  163.     // line 123
  164.     public function block_main($context, array $blocks = [])
  165.     {
  166.         $macros $this->macros;
  167.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  168.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  169.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  170.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  171.         // line 124
  172.         echo "    <div class=\"elementor-element-cde511d\">
  173.         <img src=\"";
  174.         // line 125
  175.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/iikofun.png"), "html"nulltrue);
  176.         echo "\" alt=\"いい古墳あります!\">
  177.     </div>
  178.     <div class=\"elementor-element-a2b7db4\">
  179.         <h2>樹木葬の新形態「古墳墓」</h2>
  180.     </div>
  181.     <div class=\"elementor-element-5da587c\">
  182.         <p>墓石を建てる時代は終わりました。<br>いまや新規に販売される墓の半数以上が「樹木葬」です。<br>樹木葬は西洋式が一般的ですが、日本には日本式の樹木葬があっても良いはず。<br>それが<strong>古墳墓</strong>です!</p>
  183.     </div>
  184.     <div class=\"elementor-element-27d69a7\">
  185.         <div class=\"elementor-element-row\">
  186.             <a class=\"elementor-button\" href=\"";
  187.         // line 135
  188.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  189.         echo "?category_id=1\">
  190.                 <span>販売中の古墳はこちらから</span>
  191.             </a>
  192.             <p><strong>現在販売中の古墳墓をご希望の方は</strong><br><strong>こちらより購入申込みしていただけます。</strong></p>
  193.         </div>
  194.         ";
  195.         // line 140
  196.         if ( !$this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER")) {
  197.             // line 141
  198.             echo "            <div class=\"elementor-element-row\">
  199.                 <a class=\"elementor-button\" href=\"";
  200.             // line 142
  201.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("entry");
  202.             echo "\">
  203.                     <span>お客様登録はこちらから</span>
  204.                 </a>
  205.                 <p><strong>古墳をお求めになりたい地域をご登録ください。</strong><br><strong>その地域に新しく古墳が完成した際にご連絡差し上げます。</strong></p>
  206.             </div>
  207.         ";
  208.         }
  209.         // line 148
  210.         echo "    </div>
  211. ";
  212.         
  213.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  214.         
  215.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  216.     }
  217.     public function getTemplateName()
  218.     {
  219.         return "index.twig";
  220.     }
  221.     public function isTraitable()
  222.     {
  223.         return false;
  224.     }
  225.     public function getDebugInfo()
  226.     {
  227.         return array (  240 => 148,  231 => 142,  228 => 141,  226 => 140,  218 => 135,  205 => 125,  202 => 124,  192 => 123,  74 => 6,  64 => 5,  53 => 1,  51 => 3,  38 => 1,);
  228.     }
  229.     public function getSourceContext()
  230.     {
  231.         return new Source("{% extends 'default_frame.twig' %}
  232. {% set body_class = 'front_page' %}
  233. {% block stylesheet %}
  234.     <style>
  235. /*いい古墳あります*/
  236.         .elementor-element-cde511d {
  237.             display: flex;
  238.             justify-content: center;
  239.             align-items: center;
  240.             margin: 50px 20px 0;
  241.             max-width: calc(100% - 40px);
  242.             width: auto;
  243.         }
  244.         /* 画像自体のスタイリング */
  245.         .elementor-element-cde511d img {
  246.             max-width: 100%;
  247.             height: auto;
  248.             width: auto;
  249.         }
  250. @media only screen and (max-width: 768px) {
  251.         .elementor-element-cde511d {
  252.             margin: 30px 15px 0;
  253.             max-width: calc(100% - 30px);
  254.         }
  255. }
  256. /*樹木葬の新形態「古墳墓」*/
  257.         .elementor-element-a2b7db4 h2 {
  258.             text-align: center;
  259.             color: var( --e-global-color-global_color_4 );
  260.             font-size: 38px;
  261.             font-weight: 600;
  262.         }
  263. @media only screen and (max-width: 768px) {
  264.         .elementor-element-a2b7db4 h2 {
  265.             font-size: 24px;
  266.         }
  267. }
  268. /*イントロ*/
  269.         .elementor-element-5da587c {
  270.             text-align: center;
  271.             font-size: 18px;
  272.             line-height: 2;
  273.         }
  274. @media only screen and (max-width: 768px) {
  275.         .elementor-element-5da587c {
  276.             font-size: 15px;
  277.             line-height: 1.5;
  278. \t\t\tpadding: 10px 20px 10px 20px;
  279. }
  280. }
  281. /*ボタン*/
  282. .elementor-element-27d69a7 {
  283.             display: flex;
  284. \t\t\tflex-wrap: wrap;
  285.             margin: 30px auto;
  286.             justify-content: center;
  287. }
  288. .elementor-element-row {
  289.             width: 50%;
  290.             text-align: center;
  291.             flex-direction: row;
  292.             margin-bottom: 20px;
  293. }\t
  294. @media (max-width: 768px) {
  295. .elementor-element-row {
  296.             width: 100%;
  297. }
  298. }\t\t
  299. .elementor-element-row p {
  300.     margin-top: 10px;
  301.             text-align: center;
  302.             font-size: 14px;
  303.             line-height: 1.5;
  304. }
  305. .elementor-button span {
  306.             text-decoration: inherit;
  307.             display: inline-block;
  308.         }
  309. .elementor-button {
  310.             display: inline-block;
  311.             line-height: 1;
  312.             font-size: 20px;
  313.             font-weight: bold;
  314.             border-radius: 3px;
  315.             color: #fff;
  316.             fill: #fff;
  317.             text-align: center;
  318.             transition: all .3s;
  319.             background-color: #000000;
  320. \t\t\twidth:80%;
  321. \t\t\tpadding-top: 30px;
  322. \t\t\tpadding-bottom: 30px;
  323. }
  324. @media only screen and (max-width: 768px) {
  325.         .elementor-button {
  326.             font-size: 17px;
  327. \t\t\tpadding: 20px 30px 20px 30px;
  328. }
  329. }
  330.     </style>
  331. {% endblock %}
  332. {% block main %}
  333.     <div class=\"elementor-element-cde511d\">
  334.         <img src=\"{{ asset('assets/img/top/iikofun.png') }}\" alt=\"いい古墳あります!\">
  335.     </div>
  336.     <div class=\"elementor-element-a2b7db4\">
  337.         <h2>樹木葬の新形態「古墳墓」</h2>
  338.     </div>
  339.     <div class=\"elementor-element-5da587c\">
  340.         <p>墓石を建てる時代は終わりました。<br>いまや新規に販売される墓の半数以上が「樹木葬」です。<br>樹木葬は西洋式が一般的ですが、日本には日本式の樹木葬があっても良いはず。<br>それが<strong>古墳墓</strong>です!</p>
  341.     </div>
  342.     <div class=\"elementor-element-27d69a7\">
  343.         <div class=\"elementor-element-row\">
  344.             <a class=\"elementor-button\" href=\"{{ url('product_list') }}?category_id=1\">
  345.                 <span>販売中の古墳はこちらから</span>
  346.             </a>
  347.             <p><strong>現在販売中の古墳墓をご希望の方は</strong><br><strong>こちらより購入申込みしていただけます。</strong></p>
  348.         </div>
  349.         {% if not is_granted('ROLE_USER') %}
  350.             <div class=\"elementor-element-row\">
  351.                 <a class=\"elementor-button\" href=\"{{ url('entry') }}\">
  352.                     <span>お客様登録はこちらから</span>
  353.                 </a>
  354.                 <p><strong>古墳をお求めになりたい地域をご登録ください。</strong><br><strong>その地域に新しく古墳が完成した際にご連絡差し上げます。</strong></p>
  355.             </div>
  356.         {% endif %}
  357.     </div>
  358. {% endblock %}
  359. ""index.twig""/var/www/html/app/template/default/index.twig");
  360.     }
  361.     
  362.     public function checkSecurity()
  363.     {
  364.         static $tags = array("set" => 3"if" => 140);
  365.         static $filters = array("escape" => 125);
  366.         static $functions = array("asset" => 125"url" => 135"is_granted" => 140);
  367.         try {
  368.             $this->sandbox->checkSecurity(
  369.                 ['set''if'],
  370.                 ['escape'],
  371.                 ['asset''url''is_granted'],
  372.                 $this->source
  373.             );
  374.         } catch (SecurityError $e) {
  375.             $e->setSourceContext($this->source);
  376.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  377.                 $e->setTemplateLine($tags[$e->getTagName()]);
  378.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  379.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  380.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  381.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  382.             }
  383.             throw $e;
  384.         }
  385.     }
  386. }