<?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;
/* index.twig */
class __TwigTemplate_229899d9df569d355a566260957f1e21bc18cb19efee3283036cbfb432e485d1 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'],
'javascript' => [$this, 'block_javascript'],
'main' => [$this, 'block_main'],
];
}
protected function doGetParent(array $context)
{
// line 11
return "default_frame.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "index.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "index.twig"));
// line 13
$context["body_class"] = "front_page";
// line 11
$this->parent = $this->loadTemplate("default_frame.twig", "index.twig", 11);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 15
public function block_stylesheet($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
// line 16
echo " <link rel=\"stylesheet\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/news-list.css"), "html", null, true);
echo "\">
<link rel=\"stylesheet\" href=\"";
// line 17
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/product-list.css"), "html", null, true);
echo "\">
<link rel=\"stylesheet\" href=\"";
// line 18
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/home.css"), "html", null, true);
echo "\">
<link rel=\"stylesheet\" href=\"";
// line 19
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/swiper-bundle.min.css"), "html", null, true);
echo "\" defer>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 23
public function block_javascript($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
// line 24
echo " <script>
</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 29
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 30
echo " ";
// line 31
echo "
<!-- home page -->
<div class=\"banner-section-ui\">
<div class=\"swiper banner-swiper\">
<div class=\"swiper-wrapper\" id=\"banner-slide-id\">
";
// line 36
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(1, 4));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 37
echo " <div class=\"swiper-slide\">
<div class=\"banner-slide\">
<div class=\"banner-slide__content\">
<div class=\"banner-slide__text\">
<h2 class=\"banner-slide__heading\">
<span class=\"banner-slide__heading-line1\">あの備長炭が</span>
<span class=\"banner-slide__heading-line2\">買えてしまう。</span>
</h2>
<p class=\"banner-slide__description\">
木こりがいない時代だからこそ、テクノロジーで森を守る。<br>
植林が未来の町を守り、地域を豊かにする。<br>
WoodTechは\"木と人と地域の循環\"を取り戻す挑戦を続けます。
</p>
<button class=\"btn_primary banner-slide__button\" type=\"button\" onclick=\"window.location.href='";
// line 50
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("help_about");
echo "'\">
<span class=\"btn_primary-text\">WoodTechとは</span>
<img class=\"btn_primary-icon\" src=\"";
// line 52
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/default/icons/icon-arrow-nav.svg"), "html", null, true);
echo "\" alt=\"\" width=\"24\" height=\"24\" />
</button>
</div>
</div>
<div class=\"banner-slide__image banner-slide__image-right\">
<img src=\" ";
// line 57
if (((twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 57) % 2) == 1)) {
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/default/image/image_banner.png"), "html", null, true);
echo " ";
} else {
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/default/image/image_banner_2.png"), "html", null, true);
echo " ";
}
echo "\" alt=\"\" />
</div>
</div>
</div>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 62
echo " </div>
<!-- Pagination -->
<div class=\"swiper-pagination banner-pagination\"></div>
<!-- Navigation -->
<div class=\"swiper-button-next banner-button-next\"></div>
<div class=\"swiper-button-prev banner-button-prev\"></div>
</div>
<!-- product section -->
<div class=\"container-1200-fix product-section desktop-only-890\">
<div class=\"product-section__wrapper\">
<!-- title -->
<div class=\"base-title-wrapper\">
<div class=\"base-title\">
<img class=\"base-title__icon\" src=\"";
// line 76
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/default/icons/icon-title.png"), "html", null, true);
echo "\" alt=\"\" width=\"48\" height=\"48\" />
<h2 class=\"base-title__text-heading\">売れ筋ランキング</h2>
</div>
<button onclick=\"window.location.href='";
// line 79
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "'\" class=\"btn_primary btn_primary--outline base-title__button\" type=\"button\">
<span class=\"btn_primary-text\">商品一覧</span>
<img class=\"btn_primary-icon\" src=\"";
// line 81
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/default/icons/icon-arrow-nav.svg"), "html", null, true);
echo "\" alt=\"\" width=\"24\" height=\"24\" />
</button>
</div>
<!-- product list -->
<div class=\"product-list\" id=\"home-product-list\">
";
// line 87
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["topRankingProducts"]) || array_key_exists("topRankingProducts", $context) ? $context["topRankingProducts"] : (function () { throw new RuntimeError('Variable "topRankingProducts" does not exist.', 87, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
// line 88
echo " <article class=\"product-card product-card--ranking\">
<a href=\"";
// line 89
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, false, 89)]), "html", null, true);
echo "\" class=\"product-card__link\">
<div class=\"product-card__image relative\">
<img src=\"";
// line 91
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["Product"], "main_list_image", [], "any", false, false, false, 91)), "save_image"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "name", [], "any", false, false, false, 91), "html", null, true);
echo "\" />
<div class=\"ranking-badge\">";
// line 92
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 92), "html", null, true);
echo "位</div>
</div>
<div class=\"product-card__info\">
<div class=\"product-card__badge\">";
// line 95
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "name", [], "any", false, false, false, 95), "html", null, true);
echo "</div>
<div class=\"product-card__details\">
<p class=\"product-card__price\">
<span class=\"product-card__price-main\">
";
// line 99
if ((twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02Min", [], "any", false, false, false, 99) == twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02Max", [], "any", false, false, false, 99))) {
// line 100
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02IncTaxMin", [], "any", false, false, false, 100)), "html", null, true);
echo "
";
} else {
// line 102
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02IncTaxMin", [], "any", false, false, false, 102)), "html", null, true);
echo " ~ ";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02IncTaxMax", [], "any", false, false, false, 102)), "html", null, true);
echo "
";
}
// line 104
echo " </span>
<span class=\"product-card__price-tax\">(税抜 ";
// line 105
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02Min", [], "any", false, false, false, 105)), "html", null, true);
echo "円)</span>
</p>
<img class=\"product-card__arrow\" src=\"";
// line 107
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/default/icons/icon-product-arrow.svg"), "html", null, true);
echo "\" alt=\"\" width=\"24\" height=\"24\" />
</div>
</div>
</a>
</article>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 113
echo " </div>
</div>
</div>
<!-- product slide mobile only -->
<div class=\"mobile-only-890 mobile_slider_wrapper product-section\">
<!-- title -->
<div class=\"base-title pl-16\">
<img class=\"base-title__icon\" src=\"";
// line 122
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/default/icons/icon-title.png"), "html", null, true);
echo "\" alt=\"\" width=\"48\" height=\"48\" />
<h2 class=\"base-title__text-heading\">売れ筋ランキング</h2>
</div>
<!-- slider -->
<div class=\"swiper product-swiper\">
<div class=\"swiper-wrapper product-swiper__wrapper\" id=\"product-slide-id\">
";
// line 129
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["topRankingProducts"]) || array_key_exists("topRankingProducts", $context) ? $context["topRankingProducts"] : (function () { throw new RuntimeError('Variable "topRankingProducts" does not exist.', 129, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
// line 130
echo " <div class=\"swiper-slide\">
<article class=\"product-card product-card--ranking product-card--ranking-mobile\">
<a href=\"";
// line 132
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, false, 132)]), "html", null, true);
echo "\" class=\"product-card__link\">
<div class=\"product-card__image relative\">
<img src=\"";
// line 134
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["Product"], "main_list_image", [], "any", false, false, false, 134)), "save_image"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "name", [], "any", false, false, false, 134), "html", null, true);
echo "\" />
<div class=\"ranking-badge\">";
// line 135
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 135), "html", null, true);
echo "位</div>
</div>
<div class=\"product-card__info\">
<div class=\"product-card__badge\">";
// line 138
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "name", [], "any", false, false, false, 138), "html", null, true);
echo "</div>
<div class=\"product-card__details\">
<p class=\"product-card__price\">
<span class=\"product-card__price-main\">
";
// line 142
if ((twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02Min", [], "any", false, false, false, 142) == twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02Max", [], "any", false, false, false, 142))) {
// line 143
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02IncTaxMin", [], "any", false, false, false, 143)), "html", null, true);
echo "
";
} else {
// line 145
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02IncTaxMin", [], "any", false, false, false, 145)), "html", null, true);
echo " ~ ";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02IncTaxMax", [], "any", false, false, false, 145)), "html", null, true);
echo "
";
}
// line 147
echo " </span>
<span class=\"product-card__price-tax\">(税抜 ";
// line 148
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02Min", [], "any", false, false, false, 148)), "html", null, true);
echo "円)</span>
</p>
<img class=\"product-card__arrow\" src=\"";
// line 150
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/default/icons/icon-product-arrow.svg"), "html", null, true);
echo "\" alt=\"\" width=\"24\" height=\"24\" />
</div>
</div>
</a>
</article>
</div>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 157
echo " </div>
<!-- Pagination -->
<div class=\"swiper-pagination banner-pagination\"></div>
<!-- Navigation -->
<div class=\"swiper-button-next banner-button-next\"></div>
<div class=\"swiper-button-prev banner-button-prev\"></div>
</div>
<!-- button mobile only -->
<div class=\"pl-16\">
<button onclick=\"window.location.href='";
// line 167
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "'\" class=\"btn_primary btn_primary--outline base-title__button\" type=\"button\">
<span class=\"btn_primary-text\">商品一覧</span>
<img class=\"btn_primary-icon\" src=\"";
// line 169
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/default/icons/icon-arrow-nav.svg"), "html", null, true);
echo "\" alt=\"\" width=\"24\" height=\"24\" />
</button>
</div>
</div>
<!-- about section -->
<div class=\"container-1200-fix about-section\">
<div class=\"section__content_wrapper\">
<div class=\"section__left about_left_image_wrapper\">
<img class=\"about_left_image\" src=\"";
// line 179
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/default/image/image_about.png"), "html", null, true);
echo "\" alt=\"WoodTechについて\" />
</div>
<!-- about section text -->
<div class=\"section__right\">
<div class=\"about-section__content\">
<div>
<div class=\"about-section__section-header\">
<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<circle cx=\"10\" cy=\"10\" r=\"8\" stroke=\"#828282\" stroke-width=\"2\" />
<path
d=\"M7.12671 8.30348C6.93657 6.66853 8.03012 5.17139 10.1251 5.17139C12.0661 5.17139 13.5076 6.63983 13.1489 8.17661C12.6279 10.4089 10.2424 9.78737 9.92637 12.143\"
stroke=\"#828282\" stroke-width=\"2\" stroke-linecap=\"round\" />
<circle cx=\"10\" cy=\"15.0176\" r=\"1.30469\" fill=\"#828282\" />
</svg>
<h3 class=\"about-section__section-title\">WoodTechとは</h3>
</div>
<h4 class=\"about-section__heading\">炭にこだわりがあるって?</h4>
<p class=\"about-section__subheading\">スミにおけないわね。</p>
</div>
<p class=\"about-section__description\">
WoodTechは、木こりの減少で荒れてしまった森をテクノロジーで守り、次世代へつなぐことを目指します。
</p>
<p class=\"about-section__description\">
木こりがいない時代だからこそ、テクノロジーで森を守る。<br>
植林が未来の町を守り、地域を豊かにする。<br>
WoodTechは“木と人と地域の循環”を取り戻す挑戦を続けます。
</p>
<button class=\"btn_primary about-section__button\" type=\"button\" onclick=\"window.location.href='";
// line 207
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("help_about");
echo "'\">
<span class=\"btn_primary-text\">運営について</span>
<img class=\"btn_primary-icon\" src=\"";
// line 209
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/default/icons/icon-arrow-nav.svg"), "html", null, true);
echo "\" alt=\"\" width=\"24\" height=\"24\" />
</button>
</div>
</div>
</div>
</div>
<!-- detail section -->
<div class=\"container-1200-fix\">
<div class=\"section__content_wrapper\">
<div class=\"section__left section__left-detail\">
<div class=\"detail-section__content\">
<!-- Store Info -->
<div class=\"detail-section__info\">
<!-- title section -->
<div class=\"base-title m-0\">
<img class=\"base-title__icon\" src=\"";
// line 227
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/default/icons/icon-title.png"), "html", null, true);
echo "\" alt=\"\" width=\"48\" height=\"48\" />
<h2 class=\"base-title__text-heading\">導入事例</h2>
</div>
<div class=\"detail-section__info-row\">
<div class=\"detail-section__badge\">店舗名/業種</div>
<div class=\"detail-section__value\">炭火焼専門店「ほの家」/焼鳥・居酒屋業態</div>
</div>
<div class=\"detail-section__info-row\">
<div class=\"detail-section__badge\">利用規模</div>
<div class=\"detail-section__value\">120kg / 月</div>
</div>
</div>
<!-- Before Introduction -->
<div class=\"detail-section__before\">
<div class=\"detail-section__section-header\">
<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<g opacity=\"0.4\">
<circle cx=\"12\" cy=\"12\" r=\"9\" stroke=\"#353535\" stroke-width=\"2\"/>
<path d=\"M7.60156 11.6567L11.1371 15.1923L16.794 9.53542\" stroke=\"#353535\" stroke-width=\"2\"/>
</g>
</svg>
<h4 class=\"detail-section__section-title\">導入前の課題</h4>
</div>
<div class=\"detail-section__list\">
<div class=\"detail-section__list-item\">
<svg width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<circle cx=\"5\" cy=\"5\" r=\"5\" fill=\"#828282\" />
</svg>
<p class=\"detail-section__text\">従来は国産炭と輸入炭を混在利用していたが、火力が不安定で焼きムラが発生。</p>
</div>
<div class=\"detail-section__list-item\">
<svg width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<circle cx=\"5\" cy=\"5\" r=\"5\" fill=\"#828282\" />
</svg>
<p class=\"detail-section__text\">高温維持のために常に追加が必要で、ピーク時の作業負担が大きかった</p>
</div>
</div>
</div>
<!-- After Introduction -->
<div class=\"detail-section__after\">
<div class=\"detail-section__section-header detail-section__section-header--after\">
<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<circle cx=\"12\" cy=\"12\" r=\"9\" stroke=\"white\" stroke-width=\"2\"/>
<path d=\"M7.60156 11.6567L11.1371 15.1923L16.794 9.53542\" stroke=\"white\" stroke-width=\"2\"/>
</svg>
<h4 class=\"detail-section__section-title detail-section__section-title--after\">導入後の効果</h4>
</div>
<div class=\"detail-section__list\">
<div class=\"detail-section__list-item\">
<svg width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<circle cx=\"5\" cy=\"5\" r=\"5\" fill=\"#8B6E00\" />
</svg>
<p class=\"detail-section__text\">火持ちが安定し、1回の火入れで営業終了まで持続。</p>
</div>
<div class=\"detail-section__list-item\">
<svg width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<circle cx=\"5\" cy=\"5\" r=\"5\" fill=\"#8B6E00\" />
</svg>
<p class=\"detail-section__text\">スタッフの炭追加回数が半減し、仕込み時間も短縮。</p>
</div>
<div class=\"detail-section__list-item\">
<svg width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<circle cx=\"5\" cy=\"5\" r=\"5\" fill=\"#8B6E00\" />
</svg>
<p class=\"detail-section__text\">結果: 焼き品質の均一化・人件費10%削減を実現。</p>
</div>
</div>
</div>
</div>
</div>
<!-- about section text -->
<div class=\"section__right section__right-detail\">
<img src=\"";
// line 308
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/default/image/image_detail.png"), "html", null, true);
echo "\" alt=\"WoodTechについて\" />
</div>
</div>
</div>
<!-- guide section -->
<div class=\"container-1200-fix\">
<div class=\"section__content_wrapper guide-section-wrapper\">
<div class=\"section__left guide-section__image-wrapper\">
<img class=\"guide-section__image\" src=\"";
// line 317
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/default/image/image_guide.png"), "html", null, true);
echo "\" alt=\"WoodTechについて\" />
</div>
<!-- guide section text -->
<div class=\"section__right\">
<div class=\"guide-section__content\">
<!-- Header -->
<div class=\"guide-section__header\">
<div class=\"guide-section__icon-wrapper\">
<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<g clip-path=\"url(#clip0_207_428)\">
<mask id=\"path-1-inside-1_207_428\" fill=\"white\">
<path d=\"M10 1.31445C15.8212 1.31445 19.2227 3.34052 19.2227 9C19.2227 14.6595 15.8212 16.6855 10 16.6855C9.42351 16.6855 8.87085 16.6644 8.34277 16.623L2.93359 19.7471V14.7422C1.53023 13.5206 0.777344 11.6624 0.777344 9C0.777344 3.34052 4.17882 1.31445 10 1.31445Z\"/>
</mask>
<path d=\"M10 1.31445V-0.685547V1.31445ZM19.2227 9L21.2227 9V9H19.2227ZM10 16.6855L10 18.6855L10 16.6855ZM8.34277 16.623L8.49873 14.6291L7.87997 14.5807L7.34253 14.8911L8.34277 16.623ZM2.93359 19.7471H0.933594V23.2117L3.93384 21.479L2.93359 19.7471ZM2.93359 14.7422H4.93359V13.8315L4.2467 13.2336L2.93359 14.7422ZM0.777344 9L-1.22266 9L0.777344 9ZM10 1.31445L10 3.31445C12.7486 3.31445 14.517 3.80636 15.5748 4.62012C16.5208 5.34785 17.2227 6.5903 17.2227 9H19.2227H21.2227C21.2227 5.75022 20.2238 3.1499 18.0138 1.44972C15.9155 -0.164421 13.0726 -0.685547 10 -0.685547L10 1.31445ZM19.2227 9L17.2227 9C17.2227 11.4097 16.5208 12.6522 15.5748 13.3799C14.517 14.1936 12.7486 14.6855 10 14.6855L10 16.6855L10 18.6855C13.0726 18.6855 15.9155 18.1644 18.0138 16.5503C20.2238 14.8501 21.2227 12.2498 21.2227 9L19.2227 9ZM10 16.6855V14.6855C9.47238 14.6855 8.97185 14.6661 8.49873 14.6291L8.34277 16.623L8.18682 18.617C8.76985 18.6626 9.37464 18.6855 10 18.6855V16.6855ZM8.34277 16.623L7.34253 14.8911L1.93335 18.0152L2.93359 19.7471L3.93384 21.479L9.34302 18.355L8.34277 16.623ZM2.93359 19.7471H4.93359V14.7422H2.93359H0.933594V19.7471H2.93359ZM2.93359 14.7422L4.2467 13.2336C3.40679 12.5025 2.77734 11.2769 2.77734 9L0.777344 9L-1.22266 9C-1.22266 12.048 -0.346328 14.5387 1.62048 16.2507L2.93359 14.7422ZM0.777344 9H2.77734C2.77734 6.5903 3.47924 5.34785 4.42521 4.62012C5.48302 3.80636 7.25143 3.31445 10 3.31445V1.31445V-0.685547C6.92739 -0.685547 4.08447 -0.164421 1.98625 1.44972C-0.223815 3.1499 -1.22266 5.75022 -1.22266 9H0.777344Z\" fill=\"#828282\" mask=\"url(#path-1-inside-1_207_428)\"/>
<circle cx=\"6.1875\" cy=\"9\" r=\"1.25\" fill=\"#828282\"/>
<circle cx=\"10\" cy=\"9\" r=\"1.25\" fill=\"#828282\"/>
<circle cx=\"13.8125\" cy=\"9\" r=\"1.25\" fill=\"#828282\"/>
</g>
<defs>
<clipPath id=\"clip0_207_428\">
<rect width=\"20\" height=\"20\" fill=\"white\"/>
</clipPath>
</defs>
</svg>
</div>
<h3 class=\"guide-section__title\">利用者の声</h3>
</div>
<!-- Quote Content -->
<div class=\"guide-section__quote\">
<svg class=\"guide-section__quote-start\" width=\"22\" height=\"16\" viewBox=\"0 0 22 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path d=\"M10.4071 10.903C10.4558 13.324 8.8776 15.4373 5.94852 15.4373C3.01943 15.4373 0.898404 13.6863 0.765623 10.5573C0.768124 5.66795 2.9792 2.45827 4.48439 0.146973L7.75796 1.43551C7.07892 3.00802 6.45348 4.52693 6.32187 6.66694C8.54391 6.66694 10.3576 8.44455 10.4023 10.6661L10.4071 10.903Z\" fill=\"#D9D9D9\"/>
<path d=\"M21.2352 10.903C21.2839 13.324 19.7057 15.4373 16.7766 15.4373C13.8476 15.4373 11.7265 13.6863 11.5937 10.5573C11.5962 5.66795 13.8073 2.45827 15.3125 0.146973L18.5861 1.43551C17.907 3.00802 17.2816 4.52693 17.15 6.66694C19.372 6.66694 21.1858 8.44455 21.2304 10.6661L21.2352 10.903Z\" fill=\"#D9D9D9\"/>
</svg>
<svg class=\"guide-section__quote-bottom\" width=\"96\" height=\"38\" viewBox=\"0 0 96 38\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path d=\"M1.5 0V16C1.5 20.4183 5.08172 24 9.5 24H14.5V34L30 24H96\" stroke=\"#D9D9D9\" stroke-width=\"3\"/>
</svg>
<div class=\"guide-section__quote-content\">
<h4 class=\"guide-section__quote-heading\">炭にこだわりがあるって?</h4>
<p class=\"guide-section__quote-subheading\">スミにおけないわね。</p>
</div>
<svg class=\"guide-section__quote-end\" width=\"22\" height=\"16\" viewBox=\"0 0 22 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path d=\"M11.5929 5.09701C11.5442 2.67595 13.1224 0.562695 16.0515 0.562695C18.9806 0.562695 21.1016 2.31372 21.2344 5.44266C21.2319 10.332 19.0208 13.5417 17.5156 15.853L14.242 14.5645C14.9211 12.992 15.5465 11.4731 15.6781 9.33306C13.4561 9.33306 11.6424 7.55545 11.5977 5.33387L11.5929 5.09701Z\" fill=\"#D9D9D9\"/>
<path d=\"M0.7648 5.09701C0.716104 2.67595 2.29427 0.562695 5.22336 0.562695C8.15244 0.562695 10.2735 2.31372 10.4063 5.44266C10.4038 10.332 8.19268 13.5417 6.68748 15.853L3.41392 14.5645C4.09296 12.992 4.71839 11.4731 4.85 9.33306C2.62797 9.33306 0.814248 7.55545 0.769565 5.33387L0.7648 5.09701Z\" fill=\"#D9D9D9\"/>
</svg>
</div>
<!-- Description -->
<p class=\"guide-section__description\">
ユーザーの不明点を解決して信頼性を得る文章を書きます。<br>
信頼性を得る文章を書きます。ユーザーの不明点を解決して信頼性を得る文章を書きます。木こりがいない時代だからこそ、テクノロジーで森を守る。<br>
植林が未来の町を守り、地域を豊かにする。WoodTechは\"木と人と地域の循環\"を取り戻す挑戦を続けます。
</p>
</div>
</div>
</div>
</div>
<!-- news section -->
<div class=\"container-1200-fix\">
<div class=\"news-section-wrapper\">
<div class=\"news-section__left\">
<div class=\"news-section__content\">
<!-- Header -->
<div class=\"news-section__header\">
<img class=\"news-section__icon\" src=\"";
// line 387
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/default/icons/icon-title.png"), "html", null, true);
echo "\" alt=\"\" width=\"64\" height=\"64\" />
<h3 class=\"news-section__title\">お知らせ</h3>
</div>
<!-- Description -->
<p class=\"news-section__description\">
営業時間の情報や備長炭についての情報をお知らせいたします。
</p>
<!-- Button -->
<button class=\"btn_primary news-section__button\" onclick=\"window.location.href='";
// line 397
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("news_list");
echo "'\" type=\"button\">
<span class=\"btn_primary-text\">お知らせ一覧</span>
<img class=\"btn_primary-icon\" src=\"";
// line 399
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/default/icons/icon-arrow-nav.svg"), "html", null, true);
echo "\" alt=\"\" width=\"24\" height=\"24\" />
</button>
</div>
</div>
<div class=\"news-section__right\">
<div class=\"news-list\" id=\"news-list-id\">
";
// line 405
if ((twig_length_filter($this->env, (isset($context["latestNews"]) || array_key_exists("latestNews", $context) ? $context["latestNews"] : (function () { throw new RuntimeError('Variable "latestNews" does not exist.', 405, $this->source); })())) > 0)) {
// line 406
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["latestNews"]) || array_key_exists("latestNews", $context) ? $context["latestNews"] : (function () { throw new RuntimeError('Variable "latestNews" does not exist.', 406, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["News"]) {
// line 407
echo " <article class=\"news-list__item\">
<hr class=\"news-list__separator\" />
";
// line 409
if (twig_get_attribute($this->env, $this->source, $context["News"], "url", [], "any", false, false, false, 409)) {
// line 410
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["News"], "isLinkMethod", [], "any", false, false, false, 410)) {
// line 411
echo " <a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["News"], "url", [], "any", false, false, false, 411), "html", null, true);
echo "\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"news-list__link\">
";
} else {
// line 413
echo " <a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["News"], "url", [], "any", false, false, false, 413), "html", null, true);
echo "\" class=\"news-list__link\">
";
}
// line 415
echo " ";
} else {
// line 416
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("news_detail", ["id" => twig_get_attribute($this->env, $this->source, $context["News"], "id", [], "any", false, false, false, 416)]), "html", null, true);
echo "\" class=\"news-list__link\">
";
}
// line 418
echo " <div class=\"news-list__content\">
<img class=\"news-list__image\" src=\"";
// line 419
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/default/image/news-image.png"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["News"], "title", [], "any", false, false, false, 419), "html", null, true);
echo "\" />
<div class=\"news-list__info\">
<div class=\"news-list__text\">
<time class=\"news-list__date\">";
// line 422
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["News"], "publishDate", [], "any", false, false, false, 422), "Y.m.d"), "html", null, true);
echo "</time>
<h2 class=\"news-list__title\">";
// line 423
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["News"], "title", [], "any", false, false, false, 423), "html", null, true);
echo "</h2>
</div>
<img class=\"news-list__arrow\" src=\"";
// line 425
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/default/icons/icon-arrow-news-list.svg"), "html", null, true);
echo "\" alt=\"\" width=\"24\" height=\"24\" />
</div>
</div>
</a>
</article>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['News'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 431
echo " ";
} else {
// line 432
echo " <!-- Fallback nếu không có tin tức -->
<p>お知らせがありません。</p>
";
}
// line 435
echo " </div>
</div>
</div>
</div>
</div>
<!-- Swiper JS cdn -->
<script src=\"";
// line 442
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/swiper-bundle.min.js"), "html", null, true);
echo "\"></script>
<script>
document.addEventListener('DOMContentLoaded', function () {
const swiper = new Swiper('.banner-swiper', {
slidesPerView: 1.32,
spaceBetween: 8,
centeredSlides: true,
loop: true,
// autoplay: {
// delay: 5000,
// disableOnInteraction: false,
// },
pagination: {
el: '.banner-pagination',
clickable: true,
renderBullet: function (index, className) {
return '<div class=\"' + className + ' banner-pagination__bar\"></div>';
},
},
navigation: {
nextEl: '.banner-button-next',
prevEl: '.banner-button-prev',
},
breakpoints: {
1200: {
slidesPerView: 1.32,
},
890: {
slidesPerView: 1.1,
},
0: {
slidesPerView: 1.18,
},
},
});
// swiper product mobile only
const productSwiper = new Swiper('.product-swiper', {
slidesPerView: 1.2,
spaceBetween: 16,
loop: true,
pagination: {
el: '.banner-pagination',
clickable: true,
renderBullet: function (index, className) {
return '<div class=\"' + className + ' banner-pagination__bar\"></div>';
},
},
navigation: {
nextEl: '.banner-button-next',
prevEl: '.banner-button-prev',
},
breakpoints: {
600: {
slidesPerView: 2.2,
},
0: {
slidesPerView: 1.2,
},
},
});
});
</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "index.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 817 => 442, 808 => 435, 803 => 432, 800 => 431, 788 => 425, 783 => 423, 779 => 422, 771 => 419, 768 => 418, 762 => 416, 759 => 415, 753 => 413, 747 => 411, 744 => 410, 742 => 409, 738 => 407, 733 => 406, 731 => 405, 722 => 399, 717 => 397, 704 => 387, 631 => 317, 619 => 308, 535 => 227, 514 => 209, 509 => 207, 478 => 179, 465 => 169, 460 => 167, 448 => 157, 427 => 150, 422 => 148, 419 => 147, 411 => 145, 405 => 143, 403 => 142, 396 => 138, 390 => 135, 384 => 134, 379 => 132, 375 => 130, 358 => 129, 348 => 122, 337 => 113, 317 => 107, 312 => 105, 309 => 104, 301 => 102, 295 => 100, 293 => 99, 286 => 95, 280 => 92, 274 => 91, 269 => 89, 266 => 88, 249 => 87, 240 => 81, 235 => 79, 229 => 76, 213 => 62, 186 => 57, 178 => 52, 173 => 50, 158 => 37, 141 => 36, 134 => 31, 132 => 30, 122 => 29, 109 => 24, 99 => 23, 86 => 19, 82 => 18, 78 => 17, 73 => 16, 63 => 15, 52 => 11, 50 => 13, 37 => 11,);
}
public function getSourceContext()
{
return new Source("{#
This file is part of EC-CUBE
Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
http://www.ec-cube.co.jp/
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
{% extends 'default_frame.twig' %}
{% set body_class = 'front_page' %}
{% block stylesheet %}
<link rel=\"stylesheet\" href=\"{{ asset('assets/css/news-list.css') }}\">
<link rel=\"stylesheet\" href=\"{{ asset('assets/css/product-list.css') }}\">
<link rel=\"stylesheet\" href=\"{{ asset('assets/css/home.css') }}\">
<link rel=\"stylesheet\" href=\"{{ asset('assets/css/swiper-bundle.min.css') }}\" defer>
{% endblock %}
{% block javascript %}
<script>
</script>
{% endblock javascript %}
{% block main %}
{# home #}
<!-- home page -->
<div class=\"banner-section-ui\">
<div class=\"swiper banner-swiper\">
<div class=\"swiper-wrapper\" id=\"banner-slide-id\">
{% for item in range(1, 4) %}
<div class=\"swiper-slide\">
<div class=\"banner-slide\">
<div class=\"banner-slide__content\">
<div class=\"banner-slide__text\">
<h2 class=\"banner-slide__heading\">
<span class=\"banner-slide__heading-line1\">あの備長炭が</span>
<span class=\"banner-slide__heading-line2\">買えてしまう。</span>
</h2>
<p class=\"banner-slide__description\">
木こりがいない時代だからこそ、テクノロジーで森を守る。<br>
植林が未来の町を守り、地域を豊かにする。<br>
WoodTechは\"木と人と地域の循環\"を取り戻す挑戦を続けます。
</p>
<button class=\"btn_primary banner-slide__button\" type=\"button\" onclick=\"window.location.href='{{ url('help_about') }}'\">
<span class=\"btn_primary-text\">WoodTechとは</span>
<img class=\"btn_primary-icon\" src=\"{{ asset('assets/img/default/icons/icon-arrow-nav.svg') }}\" alt=\"\" width=\"24\" height=\"24\" />
</button>
</div>
</div>
<div class=\"banner-slide__image banner-slide__image-right\">
<img src=\" {% if loop.index % 2 == 1 %} {{ asset('assets/img/default/image/image_banner.png') }} {% else %} {{ asset('assets/img/default/image/image_banner_2.png') }} {% endif %}\" alt=\"\" />
</div>
</div>
</div>
{% endfor %}
</div>
<!-- Pagination -->
<div class=\"swiper-pagination banner-pagination\"></div>
<!-- Navigation -->
<div class=\"swiper-button-next banner-button-next\"></div>
<div class=\"swiper-button-prev banner-button-prev\"></div>
</div>
<!-- product section -->
<div class=\"container-1200-fix product-section desktop-only-890\">
<div class=\"product-section__wrapper\">
<!-- title -->
<div class=\"base-title-wrapper\">
<div class=\"base-title\">
<img class=\"base-title__icon\" src=\"{{ asset('assets/img/default/icons/icon-title.png') }}\" alt=\"\" width=\"48\" height=\"48\" />
<h2 class=\"base-title__text-heading\">売れ筋ランキング</h2>
</div>
<button onclick=\"window.location.href='{{ url('product_list') }}'\" class=\"btn_primary btn_primary--outline base-title__button\" type=\"button\">
<span class=\"btn_primary-text\">商品一覧</span>
<img class=\"btn_primary-icon\" src=\"{{ asset('assets/img/default/icons/icon-arrow-nav.svg') }}\" alt=\"\" width=\"24\" height=\"24\" />
</button>
</div>
<!-- product list -->
<div class=\"product-list\" id=\"home-product-list\">
{% for Product in topRankingProducts %}
<article class=\"product-card product-card--ranking\">
<a href=\"{{ url('product_detail', {'id': Product.id}) }}\" class=\"product-card__link\">
<div class=\"product-card__image relative\">
<img src=\"{{ asset(Product.main_list_image|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\" />
<div class=\"ranking-badge\">{{ loop.index }}位</div>
</div>
<div class=\"product-card__info\">
<div class=\"product-card__badge\">{{ Product.name }}</div>
<div class=\"product-card__details\">
<p class=\"product-card__price\">
<span class=\"product-card__price-main\">
{% if Product.getPrice02Min == Product.getPrice02Max %}
{{ Product.getPrice02IncTaxMin|price }}
{% else %}
{{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}
{% endif %}
</span>
<span class=\"product-card__price-tax\">(税抜 {{ Product.getPrice02Min|price }}円)</span>
</p>
<img class=\"product-card__arrow\" src=\"{{ asset('assets/img/default/icons/icon-product-arrow.svg') }}\" alt=\"\" width=\"24\" height=\"24\" />
</div>
</div>
</a>
</article>
{% endfor %}
</div>
</div>
</div>
<!-- product slide mobile only -->
<div class=\"mobile-only-890 mobile_slider_wrapper product-section\">
<!-- title -->
<div class=\"base-title pl-16\">
<img class=\"base-title__icon\" src=\"{{ asset('assets/img/default/icons/icon-title.png') }}\" alt=\"\" width=\"48\" height=\"48\" />
<h2 class=\"base-title__text-heading\">売れ筋ランキング</h2>
</div>
<!-- slider -->
<div class=\"swiper product-swiper\">
<div class=\"swiper-wrapper product-swiper__wrapper\" id=\"product-slide-id\">
{% for Product in topRankingProducts %}
<div class=\"swiper-slide\">
<article class=\"product-card product-card--ranking product-card--ranking-mobile\">
<a href=\"{{ url('product_detail', {'id': Product.id}) }}\" class=\"product-card__link\">
<div class=\"product-card__image relative\">
<img src=\"{{ asset(Product.main_list_image|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\" />
<div class=\"ranking-badge\">{{ loop.index }}位</div>
</div>
<div class=\"product-card__info\">
<div class=\"product-card__badge\">{{ Product.name }}</div>
<div class=\"product-card__details\">
<p class=\"product-card__price\">
<span class=\"product-card__price-main\">
{% if Product.getPrice02Min == Product.getPrice02Max %}
{{ Product.getPrice02IncTaxMin|price }}
{% else %}
{{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}
{% endif %}
</span>
<span class=\"product-card__price-tax\">(税抜 {{ Product.getPrice02Min|price }}円)</span>
</p>
<img class=\"product-card__arrow\" src=\"{{ asset('assets/img/default/icons/icon-product-arrow.svg') }}\" alt=\"\" width=\"24\" height=\"24\" />
</div>
</div>
</a>
</article>
</div>
{% endfor %}
</div>
<!-- Pagination -->
<div class=\"swiper-pagination banner-pagination\"></div>
<!-- Navigation -->
<div class=\"swiper-button-next banner-button-next\"></div>
<div class=\"swiper-button-prev banner-button-prev\"></div>
</div>
<!-- button mobile only -->
<div class=\"pl-16\">
<button onclick=\"window.location.href='{{ url('product_list') }}'\" class=\"btn_primary btn_primary--outline base-title__button\" type=\"button\">
<span class=\"btn_primary-text\">商品一覧</span>
<img class=\"btn_primary-icon\" src=\"{{ asset('assets/img/default/icons/icon-arrow-nav.svg') }}\" alt=\"\" width=\"24\" height=\"24\" />
</button>
</div>
</div>
<!-- about section -->
<div class=\"container-1200-fix about-section\">
<div class=\"section__content_wrapper\">
<div class=\"section__left about_left_image_wrapper\">
<img class=\"about_left_image\" src=\"{{ asset('assets/img/default/image/image_about.png') }}\" alt=\"WoodTechについて\" />
</div>
<!-- about section text -->
<div class=\"section__right\">
<div class=\"about-section__content\">
<div>
<div class=\"about-section__section-header\">
<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<circle cx=\"10\" cy=\"10\" r=\"8\" stroke=\"#828282\" stroke-width=\"2\" />
<path
d=\"M7.12671 8.30348C6.93657 6.66853 8.03012 5.17139 10.1251 5.17139C12.0661 5.17139 13.5076 6.63983 13.1489 8.17661C12.6279 10.4089 10.2424 9.78737 9.92637 12.143\"
stroke=\"#828282\" stroke-width=\"2\" stroke-linecap=\"round\" />
<circle cx=\"10\" cy=\"15.0176\" r=\"1.30469\" fill=\"#828282\" />
</svg>
<h3 class=\"about-section__section-title\">WoodTechとは</h3>
</div>
<h4 class=\"about-section__heading\">炭にこだわりがあるって?</h4>
<p class=\"about-section__subheading\">スミにおけないわね。</p>
</div>
<p class=\"about-section__description\">
WoodTechは、木こりの減少で荒れてしまった森をテクノロジーで守り、次世代へつなぐことを目指します。
</p>
<p class=\"about-section__description\">
木こりがいない時代だからこそ、テクノロジーで森を守る。<br>
植林が未来の町を守り、地域を豊かにする。<br>
WoodTechは“木と人と地域の循環”を取り戻す挑戦を続けます。
</p>
<button class=\"btn_primary about-section__button\" type=\"button\" onclick=\"window.location.href='{{ url('help_about') }}'\">
<span class=\"btn_primary-text\">運営について</span>
<img class=\"btn_primary-icon\" src=\"{{ asset('assets/img/default/icons/icon-arrow-nav.svg') }}\" alt=\"\" width=\"24\" height=\"24\" />
</button>
</div>
</div>
</div>
</div>
<!-- detail section -->
<div class=\"container-1200-fix\">
<div class=\"section__content_wrapper\">
<div class=\"section__left section__left-detail\">
<div class=\"detail-section__content\">
<!-- Store Info -->
<div class=\"detail-section__info\">
<!-- title section -->
<div class=\"base-title m-0\">
<img class=\"base-title__icon\" src=\"{{ asset('assets/img/default/icons/icon-title.png') }}\" alt=\"\" width=\"48\" height=\"48\" />
<h2 class=\"base-title__text-heading\">導入事例</h2>
</div>
<div class=\"detail-section__info-row\">
<div class=\"detail-section__badge\">店舗名/業種</div>
<div class=\"detail-section__value\">炭火焼専門店「ほの家」/焼鳥・居酒屋業態</div>
</div>
<div class=\"detail-section__info-row\">
<div class=\"detail-section__badge\">利用規模</div>
<div class=\"detail-section__value\">120kg / 月</div>
</div>
</div>
<!-- Before Introduction -->
<div class=\"detail-section__before\">
<div class=\"detail-section__section-header\">
<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<g opacity=\"0.4\">
<circle cx=\"12\" cy=\"12\" r=\"9\" stroke=\"#353535\" stroke-width=\"2\"/>
<path d=\"M7.60156 11.6567L11.1371 15.1923L16.794 9.53542\" stroke=\"#353535\" stroke-width=\"2\"/>
</g>
</svg>
<h4 class=\"detail-section__section-title\">導入前の課題</h4>
</div>
<div class=\"detail-section__list\">
<div class=\"detail-section__list-item\">
<svg width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<circle cx=\"5\" cy=\"5\" r=\"5\" fill=\"#828282\" />
</svg>
<p class=\"detail-section__text\">従来は国産炭と輸入炭を混在利用していたが、火力が不安定で焼きムラが発生。</p>
</div>
<div class=\"detail-section__list-item\">
<svg width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<circle cx=\"5\" cy=\"5\" r=\"5\" fill=\"#828282\" />
</svg>
<p class=\"detail-section__text\">高温維持のために常に追加が必要で、ピーク時の作業負担が大きかった</p>
</div>
</div>
</div>
<!-- After Introduction -->
<div class=\"detail-section__after\">
<div class=\"detail-section__section-header detail-section__section-header--after\">
<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<circle cx=\"12\" cy=\"12\" r=\"9\" stroke=\"white\" stroke-width=\"2\"/>
<path d=\"M7.60156 11.6567L11.1371 15.1923L16.794 9.53542\" stroke=\"white\" stroke-width=\"2\"/>
</svg>
<h4 class=\"detail-section__section-title detail-section__section-title--after\">導入後の効果</h4>
</div>
<div class=\"detail-section__list\">
<div class=\"detail-section__list-item\">
<svg width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<circle cx=\"5\" cy=\"5\" r=\"5\" fill=\"#8B6E00\" />
</svg>
<p class=\"detail-section__text\">火持ちが安定し、1回の火入れで営業終了まで持続。</p>
</div>
<div class=\"detail-section__list-item\">
<svg width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<circle cx=\"5\" cy=\"5\" r=\"5\" fill=\"#8B6E00\" />
</svg>
<p class=\"detail-section__text\">スタッフの炭追加回数が半減し、仕込み時間も短縮。</p>
</div>
<div class=\"detail-section__list-item\">
<svg width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<circle cx=\"5\" cy=\"5\" r=\"5\" fill=\"#8B6E00\" />
</svg>
<p class=\"detail-section__text\">結果: 焼き品質の均一化・人件費10%削減を実現。</p>
</div>
</div>
</div>
</div>
</div>
<!-- about section text -->
<div class=\"section__right section__right-detail\">
<img src=\"{{ asset('assets/img/default/image/image_detail.png') }}\" alt=\"WoodTechについて\" />
</div>
</div>
</div>
<!-- guide section -->
<div class=\"container-1200-fix\">
<div class=\"section__content_wrapper guide-section-wrapper\">
<div class=\"section__left guide-section__image-wrapper\">
<img class=\"guide-section__image\" src=\"{{ asset('assets/img/default/image/image_guide.png') }}\" alt=\"WoodTechについて\" />
</div>
<!-- guide section text -->
<div class=\"section__right\">
<div class=\"guide-section__content\">
<!-- Header -->
<div class=\"guide-section__header\">
<div class=\"guide-section__icon-wrapper\">
<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<g clip-path=\"url(#clip0_207_428)\">
<mask id=\"path-1-inside-1_207_428\" fill=\"white\">
<path d=\"M10 1.31445C15.8212 1.31445 19.2227 3.34052 19.2227 9C19.2227 14.6595 15.8212 16.6855 10 16.6855C9.42351 16.6855 8.87085 16.6644 8.34277 16.623L2.93359 19.7471V14.7422C1.53023 13.5206 0.777344 11.6624 0.777344 9C0.777344 3.34052 4.17882 1.31445 10 1.31445Z\"/>
</mask>
<path d=\"M10 1.31445V-0.685547V1.31445ZM19.2227 9L21.2227 9V9H19.2227ZM10 16.6855L10 18.6855L10 16.6855ZM8.34277 16.623L8.49873 14.6291L7.87997 14.5807L7.34253 14.8911L8.34277 16.623ZM2.93359 19.7471H0.933594V23.2117L3.93384 21.479L2.93359 19.7471ZM2.93359 14.7422H4.93359V13.8315L4.2467 13.2336L2.93359 14.7422ZM0.777344 9L-1.22266 9L0.777344 9ZM10 1.31445L10 3.31445C12.7486 3.31445 14.517 3.80636 15.5748 4.62012C16.5208 5.34785 17.2227 6.5903 17.2227 9H19.2227H21.2227C21.2227 5.75022 20.2238 3.1499 18.0138 1.44972C15.9155 -0.164421 13.0726 -0.685547 10 -0.685547L10 1.31445ZM19.2227 9L17.2227 9C17.2227 11.4097 16.5208 12.6522 15.5748 13.3799C14.517 14.1936 12.7486 14.6855 10 14.6855L10 16.6855L10 18.6855C13.0726 18.6855 15.9155 18.1644 18.0138 16.5503C20.2238 14.8501 21.2227 12.2498 21.2227 9L19.2227 9ZM10 16.6855V14.6855C9.47238 14.6855 8.97185 14.6661 8.49873 14.6291L8.34277 16.623L8.18682 18.617C8.76985 18.6626 9.37464 18.6855 10 18.6855V16.6855ZM8.34277 16.623L7.34253 14.8911L1.93335 18.0152L2.93359 19.7471L3.93384 21.479L9.34302 18.355L8.34277 16.623ZM2.93359 19.7471H4.93359V14.7422H2.93359H0.933594V19.7471H2.93359ZM2.93359 14.7422L4.2467 13.2336C3.40679 12.5025 2.77734 11.2769 2.77734 9L0.777344 9L-1.22266 9C-1.22266 12.048 -0.346328 14.5387 1.62048 16.2507L2.93359 14.7422ZM0.777344 9H2.77734C2.77734 6.5903 3.47924 5.34785 4.42521 4.62012C5.48302 3.80636 7.25143 3.31445 10 3.31445V1.31445V-0.685547C6.92739 -0.685547 4.08447 -0.164421 1.98625 1.44972C-0.223815 3.1499 -1.22266 5.75022 -1.22266 9H0.777344Z\" fill=\"#828282\" mask=\"url(#path-1-inside-1_207_428)\"/>
<circle cx=\"6.1875\" cy=\"9\" r=\"1.25\" fill=\"#828282\"/>
<circle cx=\"10\" cy=\"9\" r=\"1.25\" fill=\"#828282\"/>
<circle cx=\"13.8125\" cy=\"9\" r=\"1.25\" fill=\"#828282\"/>
</g>
<defs>
<clipPath id=\"clip0_207_428\">
<rect width=\"20\" height=\"20\" fill=\"white\"/>
</clipPath>
</defs>
</svg>
</div>
<h3 class=\"guide-section__title\">利用者の声</h3>
</div>
<!-- Quote Content -->
<div class=\"guide-section__quote\">
<svg class=\"guide-section__quote-start\" width=\"22\" height=\"16\" viewBox=\"0 0 22 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path d=\"M10.4071 10.903C10.4558 13.324 8.8776 15.4373 5.94852 15.4373C3.01943 15.4373 0.898404 13.6863 0.765623 10.5573C0.768124 5.66795 2.9792 2.45827 4.48439 0.146973L7.75796 1.43551C7.07892 3.00802 6.45348 4.52693 6.32187 6.66694C8.54391 6.66694 10.3576 8.44455 10.4023 10.6661L10.4071 10.903Z\" fill=\"#D9D9D9\"/>
<path d=\"M21.2352 10.903C21.2839 13.324 19.7057 15.4373 16.7766 15.4373C13.8476 15.4373 11.7265 13.6863 11.5937 10.5573C11.5962 5.66795 13.8073 2.45827 15.3125 0.146973L18.5861 1.43551C17.907 3.00802 17.2816 4.52693 17.15 6.66694C19.372 6.66694 21.1858 8.44455 21.2304 10.6661L21.2352 10.903Z\" fill=\"#D9D9D9\"/>
</svg>
<svg class=\"guide-section__quote-bottom\" width=\"96\" height=\"38\" viewBox=\"0 0 96 38\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path d=\"M1.5 0V16C1.5 20.4183 5.08172 24 9.5 24H14.5V34L30 24H96\" stroke=\"#D9D9D9\" stroke-width=\"3\"/>
</svg>
<div class=\"guide-section__quote-content\">
<h4 class=\"guide-section__quote-heading\">炭にこだわりがあるって?</h4>
<p class=\"guide-section__quote-subheading\">スミにおけないわね。</p>
</div>
<svg class=\"guide-section__quote-end\" width=\"22\" height=\"16\" viewBox=\"0 0 22 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path d=\"M11.5929 5.09701C11.5442 2.67595 13.1224 0.562695 16.0515 0.562695C18.9806 0.562695 21.1016 2.31372 21.2344 5.44266C21.2319 10.332 19.0208 13.5417 17.5156 15.853L14.242 14.5645C14.9211 12.992 15.5465 11.4731 15.6781 9.33306C13.4561 9.33306 11.6424 7.55545 11.5977 5.33387L11.5929 5.09701Z\" fill=\"#D9D9D9\"/>
<path d=\"M0.7648 5.09701C0.716104 2.67595 2.29427 0.562695 5.22336 0.562695C8.15244 0.562695 10.2735 2.31372 10.4063 5.44266C10.4038 10.332 8.19268 13.5417 6.68748 15.853L3.41392 14.5645C4.09296 12.992 4.71839 11.4731 4.85 9.33306C2.62797 9.33306 0.814248 7.55545 0.769565 5.33387L0.7648 5.09701Z\" fill=\"#D9D9D9\"/>
</svg>
</div>
<!-- Description -->
<p class=\"guide-section__description\">
ユーザーの不明点を解決して信頼性を得る文章を書きます。<br>
信頼性を得る文章を書きます。ユーザーの不明点を解決して信頼性を得る文章を書きます。木こりがいない時代だからこそ、テクノロジーで森を守る。<br>
植林が未来の町を守り、地域を豊かにする。WoodTechは\"木と人と地域の循環\"を取り戻す挑戦を続けます。
</p>
</div>
</div>
</div>
</div>
<!-- news section -->
<div class=\"container-1200-fix\">
<div class=\"news-section-wrapper\">
<div class=\"news-section__left\">
<div class=\"news-section__content\">
<!-- Header -->
<div class=\"news-section__header\">
<img class=\"news-section__icon\" src=\"{{ asset('assets/img/default/icons/icon-title.png') }}\" alt=\"\" width=\"64\" height=\"64\" />
<h3 class=\"news-section__title\">お知らせ</h3>
</div>
<!-- Description -->
<p class=\"news-section__description\">
営業時間の情報や備長炭についての情報をお知らせいたします。
</p>
<!-- Button -->
<button class=\"btn_primary news-section__button\" onclick=\"window.location.href='{{ url('news_list') }}'\" type=\"button\">
<span class=\"btn_primary-text\">お知らせ一覧</span>
<img class=\"btn_primary-icon\" src=\"{{ asset('assets/img/default/icons/icon-arrow-nav.svg') }}\" alt=\"\" width=\"24\" height=\"24\" />
</button>
</div>
</div>
<div class=\"news-section__right\">
<div class=\"news-list\" id=\"news-list-id\">
{% if latestNews|length > 0 %}
{% for News in latestNews %}
<article class=\"news-list__item\">
<hr class=\"news-list__separator\" />
{% if News.url %}
{% if News.isLinkMethod %}
<a href=\"{{ News.url }}\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"news-list__link\">
{% else %}
<a href=\"{{ News.url }}\" class=\"news-list__link\">
{% endif %}
{% else %}
<a href=\"{{ url('news_detail', {'id': News.id}) }}\" class=\"news-list__link\">
{% endif %}
<div class=\"news-list__content\">
<img class=\"news-list__image\" src=\"{{ asset('assets/img/default/image/news-image.png') }}\" alt=\"{{ News.title }}\" />
<div class=\"news-list__info\">
<div class=\"news-list__text\">
<time class=\"news-list__date\">{{ News.publishDate|date('Y.m.d') }}</time>
<h2 class=\"news-list__title\">{{ News.title }}</h2>
</div>
<img class=\"news-list__arrow\" src=\"{{ asset('assets/img/default/icons/icon-arrow-news-list.svg') }}\" alt=\"\" width=\"24\" height=\"24\" />
</div>
</div>
</a>
</article>
{% endfor %}
{% else %}
<!-- Fallback nếu không có tin tức -->
<p>お知らせがありません。</p>
{% endif %}
</div>
</div>
</div>
</div>
</div>
<!-- Swiper JS cdn -->
<script src=\"{{ asset('assets/js/swiper-bundle.min.js') }}\"></script>
<script>
document.addEventListener('DOMContentLoaded', function () {
const swiper = new Swiper('.banner-swiper', {
slidesPerView: 1.32,
spaceBetween: 8,
centeredSlides: true,
loop: true,
// autoplay: {
// delay: 5000,
// disableOnInteraction: false,
// },
pagination: {
el: '.banner-pagination',
clickable: true,
renderBullet: function (index, className) {
return '<div class=\"' + className + ' banner-pagination__bar\"></div>';
},
},
navigation: {
nextEl: '.banner-button-next',
prevEl: '.banner-button-prev',
},
breakpoints: {
1200: {
slidesPerView: 1.32,
},
890: {
slidesPerView: 1.1,
},
0: {
slidesPerView: 1.18,
},
},
});
// swiper product mobile only
const productSwiper = new Swiper('.product-swiper', {
slidesPerView: 1.2,
spaceBetween: 16,
loop: true,
pagination: {
el: '.banner-pagination',
clickable: true,
renderBullet: function (index, className) {
return '<div class=\"' + className + ' banner-pagination__bar\"></div>';
},
},
navigation: {
nextEl: '.banner-button-next',
prevEl: '.banner-button-prev',
},
breakpoints: {
600: {
slidesPerView: 2.2,
},
0: {
slidesPerView: 1.2,
},
},
});
});
</script>
{% endblock %}
", "index.twig", "/home/c9857171/public_html/wood-tech.tech/app/template/default/index.twig");
}
}