<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* Help/qa.twig */
class __TwigTemplate_a166e72bad3af45017004dd0794a2580 extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'stylesheet' => [$this, 'block_stylesheet'],
'main' => [$this, 'block_main'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 1
return "default_frame.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Help/qa.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Help/qa.twig"));
// line 22
$context["items"] = [0 => ["title" => "商品について", "faqs" => [0 => ["question" => "サイズや形は全て同じですか?", "answer" => "天然の素材を使用し、全て手仕事での制作のため、色や形が一つ一つわずかながらも異なります。サイトと全く同じものはご用意できませんので、ご了承ください。"]]], 1 => ["title" => "色について", "faqs" => [0 => ["question" => "掲載と同じ色の商品が届きますか?", "answer" => "商品の画像はできるだけ実物に近い色を再現するよう注意しておりますが、お客様のご覧になっているパソコンや携帯のモニタ環境等により画面上ご覧になっている色や素材感と実際の商品が異なって見える場合がございます。
なお、色や素材感などのイメージ違いより万が一ご返品となった場合につきましては、お客様の送料ご負担となりますのでご了承ください。"]]], 2 => ["title" => "サービス内容について", "faqs" => [0 => ["question" => "領収書の発行はできますか?", "answer" => "ご注文の際、備考欄に【領収書希望の旨】と【宛名】【但し書き】をご記入ください。商品に領収書を同封させて頂きます。
詳しくは、<a href=\"/guide?id=領収書の発行\" class=\"hover underline\">ご利用ガイド</a>をご覧ください。"]]]];
// line 53
$context["breadcrumbs"] = [0 => ["name" => "よくあるご質問"]];
// line 1
$this->parent = $this->loadTemplate("default_frame.twig", "Help/qa.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_stylesheet($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
// line 4
echo "\t<style>
\t\tsummary {
\t\t\tdisplay: block;
\t\t}
\t\tsummary::-webkit-details-marker {
\t\t\tdisplay: none;
\t\t}
\t\tsummary:after {
\t\t\ttransition: transform 0.4s;
\t\t}
\t\tdetails[open] summary:after {
\t\t\tcontent: '-';
\t\t\ttransform: rotate(-180deg);
\t\t}
\t</style>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 55
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 56
echo "\t<section class=\"px-6 pb-10 pt-[7.5rem] md:pt-20 md:pb-1 text-black\">
\t\t<div class=\"mx-auto w-full max-w-[63rem]\">
\t\t\t<h1 class=\"flex items-start gap-4 md:gap-2\">
\t\t\t\t<span class=\"block h-[7.5rem] w-0.5 bg-gradient-to-b from-[#ADAAA6] md:h-16 md:w-px\"></span>
\t\t\t\t<p class=\"text-[2rem] font-light leading-normal tracking-widest md:text-xl\">
\t\t\t\t\tよくあるご質問</p>
\t\t\t</h1>
\t\t</div>
\t</section>
\t";
// line 65
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Block/breadcrumb.twig");
echo "
\t<section class=\"md:pt-6 px-6 pb-[7.5rem] md:pb-20 text-black\">
\t\t<div class=\"mx-auto w-full max-w-[37rem] text-sm leading-loose\">
\t\t\t<p>こちらを読んでも解決しない場合は、お気軽に<a href=\"/contact\" class=\"text-red underline\">お問い合わせ</a>ください。<br>
\t\t\t\tできるかぎり迅速に回答させて頂きます。</p>
\t\t\t<div class=\"mt-20\">
\t\t\t\t";
// line 71
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["items"]) || array_key_exists("items", $context) ? $context["items"] : (function () { throw new RuntimeError('Variable "items" does not exist.', 71, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 72
echo "\t\t\t\t\t<div class=\"mt-16\">
\t\t\t\t\t\t<h3 class=\"text-xl leading-normal font-medium\">";
// line 73
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, true, 73), 73, $this->source), "html", null, true);
echo "</h3>
\t\t\t\t\t\t";
// line 74
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["item"], "faqs", [], "any", false, false, true, 74));
foreach ($context['_seq'] as $context["_key"] => $context["faq"]) {
// line 75
echo "\t\t\t\t\t\t\t<details class=\"border-y border-black mt-6\">
\t\t\t\t\t\t\t\t<summary class=\"hover py-6 font-medium after:content-['+'] flex items-center justify-between\">Q.
\t\t\t\t\t\t\t\t\t";
// line 77
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["faq"], "question", [], "any", false, false, true, 77), 77, $this->source), "html", null, true);
echo "</summary>
\t\t\t\t\t\t\t\t<div>
\t\t\t\t\t\t\t\t\t<p class=\"pb-6 whitespace-pre-wrap\">";
// line 79
echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["faq"], "answer", [], "any", false, false, true, 79), 79, $this->source));
echo "</p>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</details>
\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['faq'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 83
echo "\t\t\t\t\t</div>
\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 85
echo "\t\t\t</div>
\t\t</div>
\t</section>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Help/qa.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 175 => 85, 168 => 83, 158 => 79, 153 => 77, 149 => 75, 145 => 74, 141 => 73, 138 => 72, 134 => 71, 125 => 65, 114 => 56, 104 => 55, 78 => 4, 68 => 3, 57 => 1, 55 => 53, 51 => 22, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'default_frame.twig' %}
{% block stylesheet %}
\t<style>
\t\tsummary {
\t\t\tdisplay: block;
\t\t}
\t\tsummary::-webkit-details-marker {
\t\t\tdisplay: none;
\t\t}
\t\tsummary:after {
\t\t\ttransition: transform 0.4s;
\t\t}
\t\tdetails[open] summary:after {
\t\t\tcontent: '-';
\t\t\ttransform: rotate(-180deg);
\t\t}
\t</style>
{% endblock %}
{% set items =[
{
title:'商品について',
faqs:[
{
question:'サイズや形は全て同じですか?',
answer:'天然の素材を使用し、全て手仕事での制作のため、色や形が一つ一つわずかながらも異なります。サイトと全く同じものはご用意できませんので、ご了承ください。',
},
]
},
{
title:'色について',
faqs:[
{
question:'掲載と同じ色の商品が届きますか?',
answer:'商品の画像はできるだけ実物に近い色を再現するよう注意しておりますが、お客様のご覧になっているパソコンや携帯のモニタ環境等により画面上ご覧になっている色や素材感と実際の商品が異なって見える場合がございます。\\nなお、色や素材感などのイメージ違いより万が一ご返品となった場合につきましては、お客様の送料ご負担となりますのでご了承ください。',
},
]
},
{
title:'サービス内容について',
faqs:[
{
question:'領収書の発行はできますか?',
answer:'ご注文の際、備考欄に【領収書希望の旨】と【宛名】【但し書き】をご記入ください。商品に領収書を同封させて頂きます。\\n詳しくは、<a href=\"/guide?id=領収書の発行\" class=\"hover underline\">ご利用ガイド</a>をご覧ください。',
},
]
},
] %}
{% set breadcrumbs = [{'name': 'よくあるご質問'}] %}
{% block main %}
\t<section class=\"px-6 pb-10 pt-[7.5rem] md:pt-20 md:pb-1 text-black\">
\t\t<div class=\"mx-auto w-full max-w-[63rem]\">
\t\t\t<h1 class=\"flex items-start gap-4 md:gap-2\">
\t\t\t\t<span class=\"block h-[7.5rem] w-0.5 bg-gradient-to-b from-[#ADAAA6] md:h-16 md:w-px\"></span>
\t\t\t\t<p class=\"text-[2rem] font-light leading-normal tracking-widest md:text-xl\">
\t\t\t\t\tよくあるご質問</p>
\t\t\t</h1>
\t\t</div>
\t</section>
\t{{ include('Block/breadcrumb.twig') }}
\t<section class=\"md:pt-6 px-6 pb-[7.5rem] md:pb-20 text-black\">
\t\t<div class=\"mx-auto w-full max-w-[37rem] text-sm leading-loose\">
\t\t\t<p>こちらを読んでも解決しない場合は、お気軽に<a href=\"/contact\" class=\"text-red underline\">お問い合わせ</a>ください。<br>
\t\t\t\tできるかぎり迅速に回答させて頂きます。</p>
\t\t\t<div class=\"mt-20\">
\t\t\t\t{% for item in items %}
\t\t\t\t\t<div class=\"mt-16\">
\t\t\t\t\t\t<h3 class=\"text-xl leading-normal font-medium\">{{item.title}}</h3>
\t\t\t\t\t\t{% for faq in item.faqs %}
\t\t\t\t\t\t\t<details class=\"border-y border-black mt-6\">
\t\t\t\t\t\t\t\t<summary class=\"hover py-6 font-medium after:content-['+'] flex items-center justify-between\">Q.
\t\t\t\t\t\t\t\t\t{{faq.question}}</summary>
\t\t\t\t\t\t\t\t<div>
\t\t\t\t\t\t\t\t\t<p class=\"pb-6 whitespace-pre-wrap\">{{faq.answer|raw|nl2br}}</p>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</details>
\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t</div>
\t\t\t\t{% endfor %}
\t\t\t</div>
\t\t</div>
\t</section>
{% endblock %}
", "Help/qa.twig", "/home/xs545372/itsukushi-store.com/public_html/stg.itsukushi-store.com/app/template/default/Help/qa.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 22, "for" => 71);
static $filters = array("escape" => 73, "nl2br" => 79, "raw" => 79);
static $functions = array("include" => 65);
try {
$this->sandbox->checkSecurity(
['set', 'for'],
['escape', 'nl2br', 'raw'],
['include']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}