<?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_6cb47d61a9dc90c7605f0029536f504586780aee2e7b675d2783dcd90b3536b2 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'],
];
}
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 14
$context["page_class"] = "toppage";
// 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 16
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 17
echo " <link rel=\"stylesheet\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("ichiro/assets/css/style.css", "user_data"), "html", null, true);
echo "\">
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 20
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 21
echo " <div class=\"banner\">
<div class=\"left\">
<div class=\"image pc-display\">
<img src=\"";
// line 24
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("ichiro/assets/img/maker.png", "user_data"), "html", null, true);
echo "\" alt=\"\" />
</div>
<h1 class=\"mv-1\">
<img src=\"";
// line 27
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("ichiro/assets/img/mv-1.png", "user_data"), "html", null, true);
echo "\" alt=\"一朗斎\" />
</h1>
</div>
<div class=\"right\">
<div class=\"image sp-display\">
<img src=\"";
// line 32
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("ichiro/assets/img/maker.png", "user_data"), "html", null, true);
echo "\" alt=\"\" />
</div>
<div class=\"mv-2\">
<img src=\"";
// line 35
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("ichiro/assets/img/mv-2.png", "user_data"), "html", null, true);
echo "\" alt=\"一筆一会をあなたに\" />
</div>
</div>
</div>
<div class=\"philosophy\">
<div class=\"title\">
<img src=\"";
// line 41
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("ichiro/assets/img/philosophy.png", "user_data"), "html", null, true);
echo "\" alt=\"あなただけの企業理念を\" />
</div>
<p>
北海道で社会保険労務士事務所に勤務する傍ら、書道家としても活動されている藤渡 一朗が、お客様のご希望された文字を毛筆でお書きします。企業様の想いを受け継ぎ、企業理念や経営理念を達筆な筆遣いで、美しく、魂を込めてお書きいたします。
</p>
<div class=\"kandou\">
<div>
<div class=\"image\">
<img src=\"";
// line 49
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("ichiro/assets/img/kandou1.png", "user_data"), "html", null, true);
echo "\" alt=\"\" />
</div>
<div class=\"image\">
<img src=\"";
// line 52
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("ichiro/assets/img/kandou2.png", "user_data"), "html", null, true);
echo "\" alt=\"\" />
</div>
</div>
</div>
</div>
<div class=\"products-list\">
<div class=\"title\">
<img src=\"";
// line 59
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("ichiro/assets/img/products-list.png", "user_data"), "html", null, true);
echo "\" alt=\"商品一覧\" />
</div>
<div class=\"products-list__wrapper\">
";
// line 62
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["topProducts"]) || array_key_exists("topProducts", $context) ? $context["topProducts"] : (function () { throw new RuntimeError('Variable "topProducts" does not exist.', 62, $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 63
echo " <a class=\"products-item\" href=\"";
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, 63)]), "html", null, true);
echo "\">
<div class=\"image\">
<img src=\"";
// line 65
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, 65)), "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, 65), "html", null, true);
echo "\" ";
if ((twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 65) > 5)) {
echo " loading=\"lazy\"";
}
echo ">
</div>
<p class=\"name\">
<span></span>
";
// line 69
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "name", [], "any", false, false, false, 69), "html", null, true);
echo "
</p>
<p class=\"price\">
";
// line 72
if (twig_get_attribute($this->env, $this->source, $context["Product"], "hasProductClass", [], "any", false, false, false, 72)) {
// line 73
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02Min", [], "any", false, false, false, 73) == twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02Max", [], "any", false, false, false, 73))) {
// line 74
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, 74)), "html", null, true);
echo "
";
} else {
// line 76
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, 76)), "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, 76)), "html", null, true);
echo "
";
}
// line 78
echo " ";
} else {
// line 79
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, 79)), "html", null, true);
echo "
";
}
// line 81
echo " </p>
</a>
";
++$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 84
echo " </div>
<div class=\"btn-more\">
<a href=\"";
// line 86
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "\">
その他の商品はこちら <i class=\"fas fa-angle-right\"></i>
</a>
</div>
</div>
<div class=\"calligrapher\">
<div class=\"left\">
<div class=\"image\">
<img src=\"";
// line 94
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("ichiro/assets/img/maker.png", "user_data"), "html", null, true);
echo "\" alt=\"\" />
</div>
<div class=\"title\">
<img src=\"";
// line 97
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("ichiro/assets/img/calligrapher.png", "user_data"), "html", null, true);
echo "\" alt=\"書道家藤渡一朗斎\" />
</div>
</div>
<div class=\"right\">
<p>幼少の頃より、習字にいそしみ、現在は書道家として国内だけでなく海外での活動も視野に入れ活動中。独創的なタッチで描く「一斎流踊書体」の創始者でもある一朗斎は社会保険労務士の側、さまざまな経営者への社是の提供などを行いながら、俗社会にとらわれがちな経営者にあらためて
日本語の素晴らしき響きや象形に触れ「感性」を養う啓蒙活動「日本語再顕現」を行っている。</p>
</div>
</div>
<div class=\"news\">
<div class=\"news-title\">
<img src=\"";
// line 107
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("ichiro/assets/img/news.png", "user_data"), "html", null, true);
echo "\" alt=\"新着情報\" />
</div>
<div class=\"news__wrapper\">
";
// line 110
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["topBlogs"]) || array_key_exists("topBlogs", $context) ? $context["topBlogs"] : (function () { throw new RuntimeError('Variable "topBlogs" does not exist.', 110, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["blog"]) {
// line 111
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cm_blog_pro_page_detail", ["id" => ((twig_get_attribute($this->env, $this->source, $context["blog"], "slug", [], "any", false, false, false, 111)) ? (twig_get_attribute($this->env, $this->source, $context["blog"], "slug", [], "any", false, false, false, 111)) : (twig_get_attribute($this->env, $this->source, $context["blog"], "id", [], "any", false, false, false, 111)))]), "html", null, true);
echo "\" class=\"news-item\">
<p class=\"date\">";
// line 112
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, $context["blog"], "release_date", [], "any", false, false, false, 112), "Y.m.d"), "html", null, true);
echo "</p>
<p class=\"title\">";
// line 113
(((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["blog"], "getTitle", [], "any", false, false, false, 113)) > 40)) ? (print (twig_escape_filter($this->env, (twig_slice($this->env, twig_replace_filter(twig_striptags(twig_get_attribute($this->env, $this->source, $context["blog"], "getTitle", [], "any", false, false, false, 113)), [" " => " "]), 0, 40) . "..."), "html", null, true))) : (print (twig_get_attribute($this->env, $this->source, $context["blog"], "getTitle", [], "any", false, false, false, 113))));
echo "</p>
</a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['blog'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 116
echo " </div>
<div class=\"btn-more\">
<a href=\"";
// line 118
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cm_blog_pro_page_list");
echo "\">
一覧を見る <i class=\"fas fa-angle-right\"></i>
</a>
</div>
</div>
";
$__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 ( 316 => 118, 312 => 116, 303 => 113, 299 => 112, 294 => 111, 290 => 110, 284 => 107, 271 => 97, 265 => 94, 254 => 86, 250 => 84, 234 => 81, 228 => 79, 225 => 78, 217 => 76, 211 => 74, 208 => 73, 206 => 72, 200 => 69, 187 => 65, 181 => 63, 164 => 62, 158 => 59, 148 => 52, 142 => 49, 131 => 41, 122 => 35, 116 => 32, 108 => 27, 102 => 24, 97 => 21, 87 => 20, 74 => 17, 64 => 16, 53 => 11, 51 => 14, 49 => 13, 36 => 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' %}
{% set page_class = 'toppage' %}
{% block stylesheet %}
<link rel=\"stylesheet\" href=\"{{ asset('ichiro/assets/css/style.css', 'user_data') }}\">
{% endblock %}
{% block main %}
<div class=\"banner\">
<div class=\"left\">
<div class=\"image pc-display\">
<img src=\"{{ asset('ichiro/assets/img/maker.png', 'user_data') }}\" alt=\"\" />
</div>
<h1 class=\"mv-1\">
<img src=\"{{ asset('ichiro/assets/img/mv-1.png', 'user_data') }}\" alt=\"一朗斎\" />
</h1>
</div>
<div class=\"right\">
<div class=\"image sp-display\">
<img src=\"{{ asset('ichiro/assets/img/maker.png', 'user_data') }}\" alt=\"\" />
</div>
<div class=\"mv-2\">
<img src=\"{{ asset('ichiro/assets/img/mv-2.png', 'user_data') }}\" alt=\"一筆一会をあなたに\" />
</div>
</div>
</div>
<div class=\"philosophy\">
<div class=\"title\">
<img src=\"{{ asset('ichiro/assets/img/philosophy.png', 'user_data') }}\" alt=\"あなただけの企業理念を\" />
</div>
<p>
北海道で社会保険労務士事務所に勤務する傍ら、書道家としても活動されている藤渡 一朗が、お客様のご希望された文字を毛筆でお書きします。企業様の想いを受け継ぎ、企業理念や経営理念を達筆な筆遣いで、美しく、魂を込めてお書きいたします。
</p>
<div class=\"kandou\">
<div>
<div class=\"image\">
<img src=\"{{ asset('ichiro/assets/img/kandou1.png', 'user_data') }}\" alt=\"\" />
</div>
<div class=\"image\">
<img src=\"{{ asset('ichiro/assets/img/kandou2.png', 'user_data') }}\" alt=\"\" />
</div>
</div>
</div>
</div>
<div class=\"products-list\">
<div class=\"title\">
<img src=\"{{ asset('ichiro/assets/img/products-list.png', 'user_data') }}\" alt=\"商品一覧\" />
</div>
<div class=\"products-list__wrapper\">
{% for Product in topProducts %}
<a class=\"products-item\" href=\"{{ url('product_detail', {'id': Product.id}) }}\">
<div class=\"image\">
<img src=\"{{ asset(Product.main_list_image|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\" {% if loop.index > 5 %} loading=\"lazy\"{% endif %}>
</div>
<p class=\"name\">
<span></span>
{{ Product.name }}
</p>
<p class=\"price\">
{% if Product.hasProductClass %}
{% if Product.getPrice02Min == Product.getPrice02Max %}
{{ Product.getPrice02IncTaxMin|price }}
{% else %}
{{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}
{% endif %}
{% else %}
{{ Product.getPrice02IncTaxMin|price }}
{% endif %}
</p>
</a>
{% endfor %}
</div>
<div class=\"btn-more\">
<a href=\"{{ url('product_list') }}\">
その他の商品はこちら <i class=\"fas fa-angle-right\"></i>
</a>
</div>
</div>
<div class=\"calligrapher\">
<div class=\"left\">
<div class=\"image\">
<img src=\"{{ asset('ichiro/assets/img/maker.png', 'user_data') }}\" alt=\"\" />
</div>
<div class=\"title\">
<img src=\"{{ asset('ichiro/assets/img/calligrapher.png', 'user_data') }}\" alt=\"書道家藤渡一朗斎\" />
</div>
</div>
<div class=\"right\">
<p>幼少の頃より、習字にいそしみ、現在は書道家として国内だけでなく海外での活動も視野に入れ活動中。独創的なタッチで描く「一斎流踊書体」の創始者でもある一朗斎は社会保険労務士の側、さまざまな経営者への社是の提供などを行いながら、俗社会にとらわれがちな経営者にあらためて
日本語の素晴らしき響きや象形に触れ「感性」を養う啓蒙活動「日本語再顕現」を行っている。</p>
</div>
</div>
<div class=\"news\">
<div class=\"news-title\">
<img src=\"{{ asset('ichiro/assets/img/news.png', 'user_data') }}\" alt=\"新着情報\" />
</div>
<div class=\"news__wrapper\">
{% for blog in topBlogs %}
<a href=\"{{ url('cm_blog_pro_page_detail', {'id': blog.slug ? blog.slug : blog.id}) }}\" class=\"news-item\">
<p class=\"date\">{{ blog.release_date|date('Y.m.d')}}</p>
<p class=\"title\">{{ blog.getTitle|length > 40 ? blog.getTitle|striptags|replace({(' '):' '})|slice(0, 40)|raw ~ '...' : blog.getTitle|raw }}</p>
</a>
{% endfor %}
</div>
<div class=\"btn-more\">
<a href=\"{{ url('cm_blog_pro_page_list') }}\">
一覧を見る <i class=\"fas fa-angle-right\"></i>
</a>
</div>
</div>
{% endblock %}", "index.twig", "/home/fneccube01/ichiro-sai.com/public_html/app/template/default/index.twig");
}
}