var/cache/dev/twig/b4/b4ab50d12a039b3d6230e63e239559f3.php line 40

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. /* Contact/index.twig */
  14. class __TwigTemplate_214b8407cb1335ee8bf9403a3969a881 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""Contact/index.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""Contact/index.twig"));
  40.         // line 13
  41.         $this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'13$this->source); })()), [=> "Form/form_div_layout.twig"], true);
  42.         // line 11
  43.         $this->parent $this->loadTemplate("default_frame.twig""Contact/index.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 15
  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 16
  59.         echo "<style>
  60. /* FAQナビゲーションスタイル */
  61. .faq-nav {
  62.     display: flex;
  63.     padding: 40px 32px;
  64.     flex-direction: column;
  65.     gap: 12px;
  66.     margin-top: 38px;
  67.     margin-bottom: 80px;
  68.     background-color: #DBE4E9;
  69. }
  70. .faq-nav li {
  71.     position: relative;
  72.     list-style: none;
  73. }
  74. .faq-nav li::after {
  75.     display: block;
  76.     position: absolute;
  77.     content: \"\";
  78.     width: 32px;
  79.     height: 32px;
  80.     background-image: url(";
  81.         // line 37
  82.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/arrow-circle-down.svg"), "html"nulltrue);
  83.         echo ");
  84.     background-size: contain;
  85.     right: 20px;
  86.     top: 50%;
  87.     transform: translateY(-50%);
  88. }
  89. .faq-nav a {
  90.     display: block;
  91.     color: #2B2C28;
  92.     background-color: #fff;
  93.     border-radius: 4px;
  94.     padding: 20px;
  95.     font-size: 20px;
  96.     font-weight: 600;
  97.     text-decoration: none;
  98.     transition: background .25s;
  99.     box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.08);
  100. }
  101. .faq-nav a:hover {
  102.     background: #e8f1ff;
  103. }
  104. .faq-section-title {
  105.     font-size: clamp(20px, 3.4vw, 28px);
  106.     font-weight: 700;
  107.     position: relative;
  108.     margin-bottom: 2.4rem;
  109.     padding: 16px 28px;
  110.     background-color: #F9F9F9;
  111. }
  112. .faq-section-title::before {
  113.     content: \"\";
  114.     position: absolute;
  115.     inset: 0 auto 0 0;
  116.     width: 8px;
  117.     background: #002978;
  118. }
  119. /* レスポンシブ調整 */
  120. @media (max-width: 599px) {
  121.     .faq-nav { padding: 24px 12px; }
  122.     .faq-nav a { font-size: .9rem; padding: 16px 12px; }
  123.     .faq-nav li::after { width: 20px; height: 20px; right: 8px; }
  124.     .faq-section-title { font-size: 18px; }
  125. }
  126. /* チェックボックス縦並び */
  127. .ec-checkbox > div {
  128.     display: flex;
  129.     flex-direction: column;
  130.     gap: 8px;
  131. }
  132. .ec-checkbox label {
  133.     display: flex;
  134.     align-items: center;
  135.     gap: 8px;
  136.     cursor: pointer;
  137. }
  138. .ec-checkbox label span{
  139.     line-height: 1.6;
  140. }
  141. .ec-checkbox input[type=\"checkbox\"] {
  142.     cursor: pointer;
  143.     margin-bottom: 0;
  144. }
  145. </style>
  146. ";
  147.         
  148.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  149.         
  150.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  151.     }
  152.     // line 102
  153.     public function block_javascript($context, array $blocks = [])
  154.     {
  155.         $macros $this->macros;
  156.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  157.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  158.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  159.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  160.         // line 103
  161.         echo "    <script src=\"//yubinbango.github.io/yubinbango/yubinbango.js\" charset=\"UTF-8\"></script>
  162. ";
  163.         
  164.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  165.         
  166.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  167.     }
  168.     // line 106
  169.     public function block_main($context, array $blocks = [])
  170.     {
  171.         $macros $this->macros;
  172.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  173.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  174.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  175.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  176.         // line 107
  177.         echo "    ";
  178.         // line 108
  179.         echo "        <div class=\"ec-layoutRole__mainWithColumn\">
  180.             <div class=\"ec-off1Grid__cell\">
  181.                 <h2 class=\"faq-section-title\">よくあるご質問</h2>
  182.                 <ul class=\"faq-nav\">
  183.                     <li><a href=\"";
  184.         // line 112
  185.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("faq_index");
  186.         echo "#pre-order\">在庫や納期、注文前の商品に関するご質問</a></li>
  187.                     <li><a href=\"";
  188.         // line 113
  189.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("faq_index");
  190.         echo "#post-order\">注文後の商品に関するご質問</a></li>
  191.                     <li><a href=\"";
  192.         // line 114
  193.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("faq_index");
  194.         echo "#receipt\">領収書を発行して欲しい</a></li>
  195.                     <li><a href=\"";
  196.         // line 115
  197.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("faq_index");
  198.         echo "#estimate\">まとめて見積依頼をしたい</a></li>
  199.                 </ul>
  200.             </div>
  201.         </div>
  202.     <div class=\"ec-contactRole\">
  203.         <div class=\"ec-pageHeader\">
  204.             <h1>";
  205.         // line 121
  206.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お問い合わせ"), "html"nulltrue);
  207.         echo "</h1>
  208.         </div>
  209.         
  210.         <div class=\"ec-off1Grid\">
  211.             <div class=\"ec-off1Grid__cell\">
  212.                 <form method=\"post\" action=\"";
  213.         // line 126
  214.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("contact");
  215.         echo "\" class=\"h-adr\" novalidate>
  216.                     <span class=\"p-country-name\" style=\"display:none;\">Japan</span>
  217.                     ";
  218.         // line 128
  219.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'128$this->source); })()), "_token", [], "any"falsefalsefalse128), 'widget');
  220.         echo "
  221.                     <p class=\"ec-para-normal\">";
  222.         // line 129
  223.         echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("内容によっては回答をさしあげるのにお時間をいただくこともございます。
  224.                     また、休業日は翌営業日以降の対応となりますのでご了承ください。
  225.                     "), "html"nulltrue));
  226.         // line 131
  227.         echo "
  228.                     </p>
  229.                     <div class=\"ec-borderedDefs\">
  230.                         <dl>
  231.                             <dt>
  232.                                 ";
  233.         // line 136
  234.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'136$this->source); })()), "company_name", [], "any"falsefalsefalse136), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "会社名"]);
  235.         echo "
  236.                             </dt>
  237.                             <dd>
  238.                                 <div class=\"ec-halfInput";
  239.         // line 139
  240.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'139$this->source); })()), "company_name", [], "any"falsefalsefalse139))) ? (" error’") : (""));
  241.         echo "\">
  242.                                 ";
  243.         // line 140
  244.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'140$this->source); })()), "company_name", [], "any"falsefalsefalse140), 'widget', ["attr" => ["placeholder" => "会社名"]]);
  245.         echo "
  246.                                 ";
  247.         // line 141
  248.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'141$this->source); })()), "company_name", [], "any"falsefalsefalse141), 'errors');
  249.         echo "
  250.                                 </div>
  251.                             </dd>
  252.                         </dl>
  253.                         <dl>
  254.                             <dt>
  255.                                 ";
  256.         // line 147
  257.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'147$this->source); })()), "name", [], "any"falsefalsefalse147), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お名前"]);
  258.         echo "
  259.                             </dt>
  260.                             <dd>
  261.                                 <div class=\"ec-halfInput";
  262.         // line 150
  263.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'150$this->source); })()), "name", [], "any"falsefalsefalse150), "name01", [], "any"falsefalsefalse150), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'150$this->source); })()), "name", [], "any"falsefalsefalse150), "name02", [], "any"falsefalsefalse150))) ? (" error") : (""));
  264.         echo "\">
  265.                                     ";
  266.         // line 151
  267.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'151$this->source); })()), "name", [], "any"falsefalsefalse151), "name01", [], "any"falsefalsefalse151), 'widget', ["attr" => ["placeholder" => "姓"]]);
  268.         echo "
  269.                                     ";
  270.         // line 152
  271.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'152$this->source); })()), "name", [], "any"falsefalsefalse152), "name02", [], "any"falsefalsefalse152), 'widget', ["attr" => ["placeholder" => "名"]]);
  272.         echo "
  273.                                     ";
  274.         // line 153
  275.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'153$this->source); })()), "name", [], "any"falsefalsefalse153), "name01", [], "any"falsefalsefalse153), 'errors');
  276.         echo "
  277.                                     ";
  278.         // line 154
  279.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'154$this->source); })()), "name", [], "any"falsefalsefalse154), "name02", [], "any"falsefalsefalse154), 'errors');
  280.         echo "
  281.                                 </div>
  282.                             </dd>
  283.                         </dl>
  284.                         <dl>
  285.                             <dt>
  286.                                 ";
  287.         // line 160
  288.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'160$this->source); })()), "kana", [], "any"falsefalsefalse160), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お名前(カナ)"]);
  289.         echo "
  290.                             </dt>
  291.                             <dd>
  292.                                 <div class=\"ec-halfInput";
  293.         // line 163
  294.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'163$this->source); })()), "kana", [], "any"falsefalsefalse163), "kana01", [], "any"falsefalsefalse163), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'163$this->source); })()), "kana", [], "any"falsefalsefalse163), "kana02", [], "any"falsefalsefalse163))) ? (" error") : (""));
  295.         echo "\">
  296.                                     ";
  297.         // line 164
  298.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'164$this->source); })()), "kana", [], "any"falsefalsefalse164), "kana01", [], "any"falsefalsefalse164), 'widget', ["attr" => ["placeholder" => "セイ"]]);
  299.         echo "
  300.                                     ";
  301.         // line 165
  302.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'165$this->source); })()), "kana", [], "any"falsefalsefalse165), "kana02", [], "any"falsefalsefalse165), 'widget', ["attr" => ["placeholder" => "メイ"]]);
  303.         echo "
  304.                                     ";
  305.         // line 166
  306.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'166$this->source); })()), "kana", [], "any"falsefalsefalse166), "kana01", [], "any"falsefalsefalse166), 'errors');
  307.         echo "
  308.                                     ";
  309.         // line 167
  310.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'167$this->source); })()), "kana", [], "any"falsefalsefalse167), "kana02", [], "any"falsefalsefalse167), 'errors');
  311.         echo "
  312.                                 </div>
  313.                             </dd>
  314.                         </dl>
  315.                         <dl>
  316.                             <dt>
  317.                                 ";
  318.         // line 173
  319.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'173$this->source); })()), "address", [], "any"falsefalsefalse173), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "住所"]);
  320.         echo "
  321.                             </dt>
  322.                             <dd>
  323.                                 <div class=\"ec-zipInput";
  324.         // line 176
  325.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'176$this->source); })()), "postal_code", [], "any"falsefalsefalse176))) ? (" error") : (""));
  326.         echo "\">
  327.                                     <span>";
  328.         // line 177
  329.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("〒"), "html"nulltrue);
  330.         echo "</span>
  331.                                     ";
  332.         // line 178
  333.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'178$this->source); })()), "postal_code", [], "any"falsefalsefalse178), 'widget');
  334.         echo "
  335.                                     <div class=\"ec-zipInputHelp\">
  336.                                         <div class=\"ec-zipInputHelp__icon\">
  337.                                             <div class=\"ec-icon\"><img
  338.                                                     src=\"";
  339.         // line 182
  340.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/question-white.svg"), "html"nulltrue);
  341.         echo "\" alt=\"\">
  342.                                             </div>
  343.                                         </div><a href=\"https://www.post.japanpost.jp/zipcode/\" target=\"_blank\"><span>";
  344.         // line 184
  345.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("郵便番号検索"), "html"nulltrue);
  346.         echo "</span></a>
  347.                                     </div>
  348.                                     ";
  349.         // line 186
  350.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'186$this->source); })()), "postal_code", [], "any"falsefalsefalse186), 'errors');
  351.         echo "
  352.                                 </div>
  353.                                 <div class=\"ec-select";
  354.         // line 188
  355.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'188$this->source); })()), "address", [], "any"falsefalsefalse188), "pref", [], "any"falsefalsefalse188))) ? (" error") : (""));
  356.         echo "\">
  357.                                     ";
  358.         // line 189
  359.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'189$this->source); })()), "address", [], "any"falsefalsefalse189), "pref", [], "any"falsefalsefalse189), 'widget');
  360.         echo "
  361.                                     ";
  362.         // line 190
  363.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'190$this->source); })()), "address", [], "any"falsefalsefalse190), "pref", [], "any"falsefalsefalse190), 'errors');
  364.         echo "
  365.                                 </div>
  366.                                 <div class=\"ec-input";
  367.         // line 192
  368.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'192$this->source); })()), "address", [], "any"falsefalsefalse192), "addr01", [], "any"falsefalsefalse192))) ? (" error") : (""));
  369.         echo "\">
  370.                                     ";
  371.         // line 193
  372.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'193$this->source); })()), "address", [], "any"falsefalsefalse193), "addr01", [], "any"falsefalsefalse193), 'widget', ["attr" => ["placeholder" => "市区町村名(例:大阪市北区)"]]);
  373.         echo "
  374.                                     ";
  375.         // line 194
  376.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'194$this->source); })()), "address", [], "any"falsefalsefalse194), "addr01", [], "any"falsefalsefalse194), 'errors');
  377.         echo "
  378.                                 </div>
  379.                                 <div class=\"ec-input";
  380.         // line 196
  381.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'196$this->source); })()), "address", [], "any"falsefalsefalse196), "addr02", [], "any"falsefalsefalse196))) ? (" error") : (""));
  382.         echo "\">
  383.                                     ";
  384.         // line 197
  385.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'197$this->source); })()), "address", [], "any"falsefalsefalse197), "addr02", [], "any"falsefalsefalse197), 'widget', ["attr" => ["placeholder" => "番地・ビル名(例:西梅田1丁目6-8)"]]);
  386.         echo "
  387.                                     ";
  388.         // line 198
  389.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'198$this->source); })()), "address", [], "any"falsefalsefalse198), "addr02", [], "any"falsefalsefalse198), 'errors');
  390.         echo "
  391.                                 </div>
  392.                             </dd>
  393.                         </dl>
  394.                         <dl>
  395.                             <dt>
  396.                                 ";
  397.         // line 204
  398.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'204$this->source); })()), "phone_number", [], "any"falsefalsefalse204), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "電話番号"]);
  399.         echo "
  400.                             </dt>
  401.                             <dd>
  402.                                 <div class=\"ec-telInput";
  403.         // line 207
  404.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'207$this->source); })()), "phone_number", [], "any"falsefalsefalse207))) ? (" error") : (""));
  405.         echo "\">
  406.                                     ";
  407.         // line 208
  408.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'208$this->source); })()), "phone_number", [], "any"falsefalsefalse208), 'widget');
  409.         echo "
  410.                                     ";
  411.         // line 209
  412.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'209$this->source); })()), "phone_number", [], "any"falsefalsefalse209), 'errors');
  413.         echo "
  414.                                 </div>
  415.                             </dd>
  416.                         </dl>
  417.                         <dl>
  418.                             <dt>
  419.                                 ";
  420.         // line 215
  421.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'215$this->source); })()), "email", [], "any"falsefalsefalse215), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "メールアドレス"]);
  422.         echo "
  423.                             </dt>
  424.                             <dd>
  425.                                 <div class=\"ec-input";
  426.         // line 218
  427.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'218$this->source); })()), "email", [], "any"falsefalsefalse218))) ? (" error") : (""));
  428.         echo "\">
  429.                                     ";
  430.         // line 219
  431.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'219$this->source); })()), "email", [], "any"falsefalsefalse219), 'widget');
  432.         echo "
  433.                                     ";
  434.         // line 220
  435.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'220$this->source); })()), "email", [], "any"falsefalsefalse220), 'errors');
  436.         echo "
  437.                                 </div>
  438.                             </dd>
  439.                         </dl>
  440.                         <dl>
  441.                             <dt>
  442.                                 ";
  443.         // line 226
  444.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'226$this->source); })()), "contact_type", [], "any"falsefalsefalse226), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お問い合わせの種類"]);
  445.         echo "
  446.                             </dt>
  447.                             <dd>
  448.                                 <div class=\"ec-checkbox";
  449.         // line 229
  450.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'229$this->source); })()), "contact_type", [], "any"falsefalsefalse229))) ? (" error") : (""));
  451.         echo "\">
  452.                                     ";
  453.         // line 230
  454.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'230$this->source); })()), "contact_type", [], "any"falsefalsefalse230), 'widget');
  455.         echo "
  456.                                     ";
  457.         // line 231
  458.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'231$this->source); })()), "contact_type", [], "any"falsefalsefalse231), 'errors');
  459.         echo "
  460.                                 </div>
  461.                             </dd>
  462.                         </dl>
  463.                         <dl>
  464.                             <dt>
  465.                                 ";
  466.         // line 237
  467.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'237$this->source); })()), "contents", [], "any"falsefalsefalse237), 'label', ["label_attr" => ["class" => "ec-label"], "label" => "お問い合わせ内容"]);
  468.         echo "
  469.                             </dt>
  470.                             <dd>
  471.                                 <div class=\"ec-input";
  472.         // line 240
  473.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'240$this->source); })()), "contents", [], "any"falsefalsefalse240))) ? (" error") : (""));
  474.         echo "\">
  475.                                     ";
  476.         // line 241
  477.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'241$this->source); })()), "contents", [], "any"falsefalsefalse241), 'widget');
  478.         echo "
  479.                                     ";
  480.         // line 242
  481.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'242$this->source); })()), "contents", [], "any"falsefalsefalse242), 'errors');
  482.         echo "
  483.                                 </div>
  484.                                 <p>";
  485.         // line 244
  486.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご注文に関するお問い合わせには、必ず「ご注文番号」をご記入くださいますようお願いいたします。"), "html"nulltrue);
  487.         echo "</p>
  488.                             </dd>
  489.                         </dl>
  490.                         ";
  491.         // line 248
  492.         echo "                        ";
  493.         $context['_parent'] = $context;
  494.         $context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'248$this->source); })()), function ($__f__) use ($context$macros) { $context["f"] = $__f__; return twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["f"], "vars", [], "any"falsefalsefalse248), "eccube_form_options", [], "any"falsefalsefalse248), "auto_render", [], "any"falsefalsefalse248); }));
  495.         foreach ($context['_seq'] as $context["_key"] => $context["f"]) {
  496.             // line 249
  497.             echo "                            ";
  498.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["f"], "vars", [], "any"falsefalsefalse249), "eccube_form_options", [], "any"falsefalsefalse249), "form_theme", [], "any"falsefalsefalse249)) {
  499.                 // line 250
  500.                 echo "                                ";
  501.                 $this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme($context["f"], [=> twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["f"], "vars", [], "any"falsefalsefalse250), "eccube_form_options", [], "any"falsefalsefalse250), "form_theme", [], "any"falsefalsefalse250)], true);
  502.                 // line 251
  503.                 echo "                                ";
  504.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["f"], 'row');
  505.                 echo "
  506.                             ";
  507.             } else {
  508.                 // line 253
  509.                 echo "                                <dl>
  510.                                     <dt>
  511.                                         ";
  512.                 // line 255
  513.                 $context["label_class"] = ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["f"], "vars", [], "any"falsetruefalse255), "label_attr", [], "any"falsetruefalse255), "class", [], "any"truetruefalse255)) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["f"], "vars", [], "any"falsefalsefalse255), "label_attr", [], "any"falsefalsefalse255), "class", [], "any"falsefalsefalse255)) : (""));
  514.                 // line 256
  515.                 echo "                                        ";
  516.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["f"], 'label', ["label_attr" => ["class" => ((isset($context["label_class"]) || array_key_exists("label_class"$context) ? $context["label_class"] : (function () { throw new RuntimeError('Variable "label_class" does not exist.'256$this->source); })()) . " ec-label")]] + (twig_test_empty($_label_ twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["f"], "vars", [], "any"falsefalsefalse256), "label", [], "any"falsefalsefalse256)) ? [] : ["label" => $_label_]));
  517.                 echo "
  518.                                     </dt>
  519.                                     <dd>
  520.                                         <div class=\"";
  521.                 // line 259
  522.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["f"], "vars", [], "any"falsefalsefalse259), "eccube_form_options", [], "any"falsefalsefalse259), "style_class", [], "any"falsefalsefalse259), "html"nulltrue);
  523.                 echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($context["f"])) ? (" error") : (""));
  524.                 echo "\">
  525.                                             ";
  526.                 // line 260
  527.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["f"], 'widget');
  528.                 echo "
  529.                                             ";
  530.                 // line 261
  531.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["f"], 'errors');
  532.                 echo "
  533.                                         </div>
  534.                                     </dd>
  535.                                 </dl>
  536.                             ";
  537.             }
  538.             // line 266
  539.             echo "                        ";
  540.         }
  541.         $_parent $context['_parent'];
  542.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['f'], $context['_parent'], $context['loop']);
  543.         $context array_intersect_key($context$_parent) + $_parent;
  544.         // line 267
  545.         echo "                    </div>
  546.                     <div class=\"ec-RegisterRole__actions\">
  547.                         <div class=\"ec-off4Grid\">
  548.                             <div class=\"ec-off4Grid__cell\">
  549.                                 <button type=\"submit\" class=\"ec-blockBtn--action\" name=\"mode\" value=\"confirm\">";
  550.         // line 271
  551.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("確認ページへ"), "html"nulltrue);
  552.         echo "
  553.                                 </button>
  554.                             </div>
  555.                         </div>
  556.                     </div>
  557.                 </form>
  558.             </div>
  559.         </div>
  560.     </div>
  561. ";
  562.         
  563.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  564.         
  565.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  566.     }
  567.     public function getTemplateName()
  568.     {
  569.         return "Contact/index.twig";
  570.     }
  571.     public function isTraitable()
  572.     {
  573.         return false;
  574.     }
  575.     public function getDebugInfo()
  576.     {
  577.         return array (  575 => 271,  569 => 267,  563 => 266,  555 => 261,  551 => 260,  546 => 259,  539 => 256,  537 => 255,  533 => 253,  527 => 251,  524 => 250,  521 => 249,  516 => 248,  510 => 244,  505 => 242,  501 => 241,  497 => 240,  491 => 237,  482 => 231,  478 => 230,  474 => 229,  468 => 226,  459 => 220,  455 => 219,  451 => 218,  445 => 215,  436 => 209,  432 => 208,  428 => 207,  422 => 204,  413 => 198,  409 => 197,  405 => 196,  400 => 194,  396 => 193,  392 => 192,  387 => 190,  383 => 189,  379 => 188,  374 => 186,  369 => 184,  364 => 182,  357 => 178,  353 => 177,  349 => 176,  343 => 173,  334 => 167,  330 => 166,  326 => 165,  322 => 164,  318 => 163,  312 => 160,  303 => 154,  299 => 153,  295 => 152,  291 => 151,  287 => 150,  281 => 147,  272 => 141,  268 => 140,  264 => 139,  258 => 136,  251 => 131,  247 => 129,  243 => 128,  238 => 126,  230 => 121,  221 => 115,  217 => 114,  213 => 113,  209 => 112,  203 => 108,  201 => 107,  191 => 106,  180 => 103,  170 => 102,  96 => 37,  73 => 16,  63 => 15,  52 => 11,  50 => 13,  37 => 11,);
  578.     }
  579.     public function getSourceContext()
  580.     {
  581.         return new Source("{#
  582. This file is part of EC-CUBE
  583. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  584. http://www.ec-cube.co.jp/
  585. For the full copyright and license information, please view the LICENSE
  586. file that was distributed with this source code.
  587. #}
  588. {% extends 'default_frame.twig' %}
  589. {% form_theme form 'Form/form_div_layout.twig' %}
  590. {% block stylesheet %}
  591. <style>
  592. /* FAQナビゲーションスタイル */
  593. .faq-nav {
  594.     display: flex;
  595.     padding: 40px 32px;
  596.     flex-direction: column;
  597.     gap: 12px;
  598.     margin-top: 38px;
  599.     margin-bottom: 80px;
  600.     background-color: #DBE4E9;
  601. }
  602. .faq-nav li {
  603.     position: relative;
  604.     list-style: none;
  605. }
  606. .faq-nav li::after {
  607.     display: block;
  608.     position: absolute;
  609.     content: \"\";
  610.     width: 32px;
  611.     height: 32px;
  612.     background-image: url({{ asset('assets/icon/arrow-circle-down.svg') }});
  613.     background-size: contain;
  614.     right: 20px;
  615.     top: 50%;
  616.     transform: translateY(-50%);
  617. }
  618. .faq-nav a {
  619.     display: block;
  620.     color: #2B2C28;
  621.     background-color: #fff;
  622.     border-radius: 4px;
  623.     padding: 20px;
  624.     font-size: 20px;
  625.     font-weight: 600;
  626.     text-decoration: none;
  627.     transition: background .25s;
  628.     box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.08);
  629. }
  630. .faq-nav a:hover {
  631.     background: #e8f1ff;
  632. }
  633. .faq-section-title {
  634.     font-size: clamp(20px, 3.4vw, 28px);
  635.     font-weight: 700;
  636.     position: relative;
  637.     margin-bottom: 2.4rem;
  638.     padding: 16px 28px;
  639.     background-color: #F9F9F9;
  640. }
  641. .faq-section-title::before {
  642.     content: \"\";
  643.     position: absolute;
  644.     inset: 0 auto 0 0;
  645.     width: 8px;
  646.     background: #002978;
  647. }
  648. /* レスポンシブ調整 */
  649. @media (max-width: 599px) {
  650.     .faq-nav { padding: 24px 12px; }
  651.     .faq-nav a { font-size: .9rem; padding: 16px 12px; }
  652.     .faq-nav li::after { width: 20px; height: 20px; right: 8px; }
  653.     .faq-section-title { font-size: 18px; }
  654. }
  655. /* チェックボックス縦並び */
  656. .ec-checkbox > div {
  657.     display: flex;
  658.     flex-direction: column;
  659.     gap: 8px;
  660. }
  661. .ec-checkbox label {
  662.     display: flex;
  663.     align-items: center;
  664.     gap: 8px;
  665.     cursor: pointer;
  666. }
  667. .ec-checkbox label span{
  668.     line-height: 1.6;
  669. }
  670. .ec-checkbox input[type=\"checkbox\"] {
  671.     cursor: pointer;
  672.     margin-bottom: 0;
  673. }
  674. </style>
  675. {% endblock %}
  676. {% block javascript %}
  677.     <script src=\"//yubinbango.github.io/yubinbango/yubinbango.js\" charset=\"UTF-8\"></script>
  678. {% endblock javascript %}
  679. {% block main %}
  680.     {# FAQカテゴリリンク #}
  681.         <div class=\"ec-layoutRole__mainWithColumn\">
  682.             <div class=\"ec-off1Grid__cell\">
  683.                 <h2 class=\"faq-section-title\">よくあるご質問</h2>
  684.                 <ul class=\"faq-nav\">
  685.                     <li><a href=\"{{ url('faq_index') }}#pre-order\">在庫や納期、注文前の商品に関するご質問</a></li>
  686.                     <li><a href=\"{{ url('faq_index') }}#post-order\">注文後の商品に関するご質問</a></li>
  687.                     <li><a href=\"{{ url('faq_index') }}#receipt\">領収書を発行して欲しい</a></li>
  688.                     <li><a href=\"{{ url('faq_index') }}#estimate\">まとめて見積依頼をしたい</a></li>
  689.                 </ul>
  690.             </div>
  691.         </div>
  692.     <div class=\"ec-contactRole\">
  693.         <div class=\"ec-pageHeader\">
  694.             <h1>{{ 'お問い合わせ'|trans }}</h1>
  695.         </div>
  696.         
  697.         <div class=\"ec-off1Grid\">
  698.             <div class=\"ec-off1Grid__cell\">
  699.                 <form method=\"post\" action=\"{{ url('contact') }}\" class=\"h-adr\" novalidate>
  700.                     <span class=\"p-country-name\" style=\"display:none;\">Japan</span>
  701.                     {{ form_widget(form._token) }}
  702.                     <p class=\"ec-para-normal\">{{ '内容によっては回答をさしあげるのにお時間をいただくこともございます。
  703.                     また、休業日は翌営業日以降の対応となりますのでご了承ください。
  704.                     '|trans|nl2br }}
  705.                     </p>
  706.                     <div class=\"ec-borderedDefs\">
  707.                         <dl>
  708.                             <dt>
  709.                                 {{ form_label(form.company_name, '会社名', { 'label_attr': { 'class': 'ec-label' }}) }}
  710.                             </dt>
  711.                             <dd>
  712.                                 <div class=\"ec-halfInput{{ has_errors(form.company_name) ? ' error’'}}\">
  713.                                 {{ form_widget(form.company_name, {'attr': { 'placeholder': '会社名' }}) }}
  714.                                 {{ form_errors(form.company_name) }}
  715.                                 </div>
  716.                             </dd>
  717.                         </dl>
  718.                         <dl>
  719.                             <dt>
  720.                                 {{ form_label(form.name, 'お名前', { 'label_attr': { 'class': 'ec-label' }}) }}
  721.                             </dt>
  722.                             <dd>
  723.                                 <div class=\"ec-halfInput{{ has_errors(form.name.name01, form.name.name02) ? ' error' }}\">
  724.                                     {{ form_widget(form.name.name01, {'attr': { 'placeholder': '姓' }}) }}
  725.                                     {{ form_widget(form.name.name02, {'attr': { 'placeholder': '名' }}) }}
  726.                                     {{ form_errors(form.name.name01) }}
  727.                                     {{ form_errors(form.name.name02) }}
  728.                                 </div>
  729.                             </dd>
  730.                         </dl>
  731.                         <dl>
  732.                             <dt>
  733.                                 {{ form_label(form.kana, 'お名前(カナ)', {'label_attr': {'class': 'ec-label'}}) }}
  734.                             </dt>
  735.                             <dd>
  736.                                 <div class=\"ec-halfInput{{ has_errors(form.kana.kana01, form.kana.kana02) ? ' error' }}\">
  737.                                     {{ form_widget(form.kana.kana01, {'attr': { 'placeholder': 'セイ' }}) }}
  738.                                     {{ form_widget(form.kana.kana02, {'attr': { 'placeholder': 'メイ' }}) }}
  739.                                     {{ form_errors(form.kana.kana01) }}
  740.                                     {{ form_errors(form.kana.kana02) }}
  741.                                 </div>
  742.                             </dd>
  743.                         </dl>
  744.                         <dl>
  745.                             <dt>
  746.                                 {{ form_label(form.address, '住所', { 'label_attr': { 'class': 'ec-label' }}) }}
  747.                             </dt>
  748.                             <dd>
  749.                                 <div class=\"ec-zipInput{{ has_errors(form.postal_code) ? ' error' }}\">
  750.                                     <span>{{ '〒'|trans }}</span>
  751.                                     {{ form_widget(form.postal_code) }}
  752.                                     <div class=\"ec-zipInputHelp\">
  753.                                         <div class=\"ec-zipInputHelp__icon\">
  754.                                             <div class=\"ec-icon\"><img
  755.                                                     src=\"{{ asset('assets/icon/question-white.svg') }}\" alt=\"\">
  756.                                             </div>
  757.                                         </div><a href=\"https://www.post.japanpost.jp/zipcode/\" target=\"_blank\"><span>{{ '郵便番号検索'|trans }}</span></a>
  758.                                     </div>
  759.                                     {{ form_errors(form.postal_code) }}
  760.                                 </div>
  761.                                 <div class=\"ec-select{{ has_errors(form.address.pref) ? ' error' }}\">
  762.                                     {{ form_widget(form.address.pref) }}
  763.                                     {{ form_errors(form.address.pref) }}
  764.                                 </div>
  765.                                 <div class=\"ec-input{{ has_errors(form.address.addr01) ? ' error' }}\">
  766.                                     {{ form_widget(form.address.addr01, { 'attr': { 'placeholder': '市区町村名(例:大阪市北区)' }}) }}
  767.                                     {{ form_errors(form.address.addr01) }}
  768.                                 </div>
  769.                                 <div class=\"ec-input{{ has_errors(form.address.addr02) ? ' error' }}\">
  770.                                     {{ form_widget(form.address.addr02,  { 'attr': { 'placeholder': '番地・ビル名(例:西梅田1丁目6-8)' }}) }}
  771.                                     {{ form_errors(form.address.addr02) }}
  772.                                 </div>
  773.                             </dd>
  774.                         </dl>
  775.                         <dl>
  776.                             <dt>
  777.                                 {{ form_label(form.phone_number, '電話番号', { 'label_attr': { 'class': 'ec-label' }}) }}
  778.                             </dt>
  779.                             <dd>
  780.                                 <div class=\"ec-telInput{{ has_errors(form.phone_number) ? ' error' }}\">
  781.                                     {{ form_widget(form.phone_number) }}
  782.                                     {{ form_errors(form.phone_number) }}
  783.                                 </div>
  784.                             </dd>
  785.                         </dl>
  786.                         <dl>
  787.                             <dt>
  788.                                 {{ form_label(form.email, 'メールアドレス', { 'label_attr': { 'class': 'ec-label' }}) }}
  789.                             </dt>
  790.                             <dd>
  791.                                 <div class=\"ec-input{{ has_errors(form.email) ? ' error' }}\">
  792.                                     {{ form_widget(form.email) }}
  793.                                     {{ form_errors(form.email) }}
  794.                                 </div>
  795.                             </dd>
  796.                         </dl>
  797.                         <dl>
  798.                             <dt>
  799.                                 {{ form_label(form.contact_type, 'お問い合わせの種類', { 'label_attr': { 'class': 'ec-label' }}) }}
  800.                             </dt>
  801.                             <dd>
  802.                                 <div class=\"ec-checkbox{{ has_errors(form.contact_type) ? ' error' }}\">
  803.                                     {{ form_widget(form.contact_type) }}
  804.                                     {{ form_errors(form.contact_type) }}
  805.                                 </div>
  806.                             </dd>
  807.                         </dl>
  808.                         <dl>
  809.                             <dt>
  810.                                 {{ form_label(form.contents, 'お問い合わせ内容', { 'label_attr': { 'class': 'ec-label' }}) }}
  811.                             </dt>
  812.                             <dd>
  813.                                 <div class=\"ec-input{{ has_errors(form.contents) ? ' error' }}\">
  814.                                     {{ form_widget(form.contents) }}
  815.                                     {{ form_errors(form.contents) }}
  816.                                 </div>
  817.                                 <p>{{ 'ご注文に関するお問い合わせには、必ず「ご注文番号」をご記入くださいますようお願いいたします。'|trans }}</p>
  818.                             </dd>
  819.                         </dl>
  820.                         {# エンティティ拡張の自動出力 #}
  821.                         {% for f in form|filter(f => f.vars.eccube_form_options.auto_render) %}
  822.                             {% if f.vars.eccube_form_options.form_theme %}
  823.                                 {% form_theme f f.vars.eccube_form_options.form_theme %}
  824.                                 {{ form_row(f) }}
  825.                             {% else %}
  826.                                 <dl>
  827.                                     <dt>
  828.                                         {% set label_class =  f.vars.label_attr.class is defined ? f.vars.label_attr.class : '' %}
  829.                                         {{ form_label(f, f.vars.label, { 'label_attr': {'class': label_class ~ ' ec-label' }}) }}
  830.                                     </dt>
  831.                                     <dd>
  832.                                         <div class=\"{{ f.vars.eccube_form_options.style_class }}{{ has_errors(f) ? ' error' }}\">
  833.                                             {{ form_widget(f) }}
  834.                                             {{ form_errors(f) }}
  835.                                         </div>
  836.                                     </dd>
  837.                                 </dl>
  838.                             {% endif %}
  839.                         {% endfor %}
  840.                     </div>
  841.                     <div class=\"ec-RegisterRole__actions\">
  842.                         <div class=\"ec-off4Grid\">
  843.                             <div class=\"ec-off4Grid__cell\">
  844.                                 <button type=\"submit\" class=\"ec-blockBtn--action\" name=\"mode\" value=\"confirm\">{{ '確認ページへ'|trans }}
  845.                                 </button>
  846.                             </div>
  847.                         </div>
  848.                     </div>
  849.                 </form>
  850.             </div>
  851.         </div>
  852.     </div>
  853. {% endblock %}
  854. ""Contact/index.twig""/home/xs804421/stg.denzai-bluewood.com/public_html/src/Eccube/Resource/template/default/Contact/index.twig");
  855.     }
  856. }