<?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;
/* Block/header0.twig */
class __TwigTemplate_65541c4710226f174573026b846e2eb9 extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'stylesheet' => [$this, 'block_stylesheet'],
'javascript' => [$this, 'block_javascript'],
];
}
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", "Block/header0.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Block/header0.twig"));
// line 11
echo "
";
// line 12
$this->displayBlock('stylesheet', $context, $blocks);
// line 16
echo "
";
// line 17
$this->displayBlock('javascript', $context, $blocks);
// line 21
echo "
<div class=\"fixed-header\">
<section>
<div id=\"site_header\">
<div class=\"header_logo\">
<a href=\"";
// line 27
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "\">
<img src=\"";
// line 28
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/header_logo_0.png", "user_data"), "html", null, true);
echo "\">
</a>
</div>
<div class=\"header_menus\">
<div class=\"header_inner1\">
";
// line 33
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("block_search_product"));
echo "
<div class=\"header_link1 pc\">
<ul class=\"link1\">
<li><a href=\"https://photo-pub.co.jp/news\">NEWS</a></li>
<li><a href=\"https://photo-pub.co.jp/company\">会社概要</a></li>
<li><a href=\"";
// line 38
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("contact");
echo "\">お問い合わせ</a></li>
<li><a href=\"";
// line 39
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("opinion");
echo "\">意見箱</a></li>
</ul>
</div>
<div class=\"header_link2\">
";
// line 43
echo twig_include($this->env, $context, "Block/login.twig", ["parent_template" => "header0.twig"]);
echo "
</div>
<div class=\"hamburger-menu sp\">
<button id=\"hamburger\" class=\"hamburger\">
<span></span>
<span></span>
<span></span>
</button>
<nav id=\"menus\" class=\"menus\">
<ul class=\"hamburger-tabs\">
<li class=\"menu-item\">
<a href=\"";
// line 56
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "\">TOP</a>
</li>
<li class=\"menu-item\">
<a href=\"";
// line 59
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "\">フォトパブ堂書店</a>
<ul class=\"submenu\">
<li><span></span><a href=\"";
// line 61
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("books");
echo "\"> フォトパブ堂書店TOP</a></li>
";
// line 62
$context["AllCategories"] = twig_get_attribute($this->env, $this->source, $this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Category"), "getList", [], "method", false, false, false, 62);
// line 63
echo " ";
$context["Categories"] = twig_array_filter($this->env, (isset($context["AllCategories"]) || array_key_exists("AllCategories", $context) ? $context["AllCategories"] : (function () { throw new RuntimeError('Variable "AllCategories" does not exist.', 63, $this->source); })()), function ($__c__) use ($context, $macros) { $context["c"] = $__c__; return ( !(null === twig_get_attribute($this->env, $this->source, (isset($context["c"]) || array_key_exists("c", $context) ? $context["c"] : (function () { throw new RuntimeError('Variable "c" does not exist.', 63, $this->source); })()), "id", [], "any", false, false, false, 63)) && (twig_get_attribute($this->env, $this->source, (isset($context["c"]) || array_key_exists("c", $context) ? $context["c"] : (function () { throw new RuntimeError('Variable "c" does not exist.', 63, $this->source); })()), "id", [], "any", false, false, false, 63) == 1)); });
// line 64
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["Categories"]) || array_key_exists("Categories", $context) ? $context["Categories"] : (function () { throw new RuntimeError('Variable "Categories" does not exist.', 64, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["Category"]) {
// line 65
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["Category"], "Children", [], "any", false, false, false, 65));
foreach ($context['_seq'] as $context["_key"] => $context["Child"]) {
// line 66
echo " <li>
<span><a href=\"";
// line 67
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "?category_id=";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Child"], "id", [], "any", false, false, false, 67), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $context["Child"], "html", null, true);
echo "</a></span>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Child'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 70
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 71
echo " </ul>
</li>
<li class=\"menu-item\">
<a href=\"";
// line 74
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "\">フォトパブ写真館</a>
<ul class=\"submenu\">
<li><span></span><a href=\"";
// line 76
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("photos");
echo "\"> フォトパブ写真館TOP</a></li>
";
// line 77
$context["AllCategories"] = twig_get_attribute($this->env, $this->source, $this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Category"), "getList", [], "method", false, false, false, 77);
// line 78
echo " ";
$context["Categories"] = twig_array_filter($this->env, (isset($context["AllCategories"]) || array_key_exists("AllCategories", $context) ? $context["AllCategories"] : (function () { throw new RuntimeError('Variable "AllCategories" does not exist.', 78, $this->source); })()), function ($__c__) use ($context, $macros) { $context["c"] = $__c__; return ( !(null === twig_get_attribute($this->env, $this->source, (isset($context["c"]) || array_key_exists("c", $context) ? $context["c"] : (function () { throw new RuntimeError('Variable "c" does not exist.', 78, $this->source); })()), "id", [], "any", false, false, false, 78)) && (twig_get_attribute($this->env, $this->source, (isset($context["c"]) || array_key_exists("c", $context) ? $context["c"] : (function () { throw new RuntimeError('Variable "c" does not exist.', 78, $this->source); })()), "id", [], "any", false, false, false, 78) == 6)); });
// line 79
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["Categories"]) || array_key_exists("Categories", $context) ? $context["Categories"] : (function () { throw new RuntimeError('Variable "Categories" does not exist.', 79, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["Category"]) {
// line 80
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["Category"], "Children", [], "any", false, false, false, 80));
foreach ($context['_seq'] as $context["_key"] => $context["Child"]) {
// line 81
echo " <li>
<span><a href=\"";
// line 82
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("photo-product_list");
echo "?category_id=";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Child"], "id", [], "any", false, false, false, 82), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $context["Child"], "html", null, true);
echo "</a></span>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Child'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 85
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 86
echo " </ul>
</li>
<li class=\"menu-item\">
<a href=\"https://jihi.photo-pub.co.jp/\">自費出版サービス</a>
<ul class=\"submenu\">
<li><span></span><a href=\"https://jihi.photo-pub.co.jp/\">自費出版について</a></li>
<li><span></span><a href=\"https://jihi.photo-pub.co.jp/calc.php\">自動見積もり</a></li>
<li><span></span><a href=\"https://jihi.photo-pub.co.jp/qanda.php\">出版までの流れ</a></li>
<li><span></span><a href=\"https://jihi.photo-pub.co.jp/inquiry\">自費出版に関するご相談</a></li>
</ul>
</li>
<li class=\"menu-item\">
<a href=\"https://photo-pub.co.jp/event\">イベント情報</a>
<ul class=\"submenu\">
<li><span></span><a href=\"https://photo-pub.co.jp/event\">イベント一覧</a></li>
</ul>
</li>
<li class=\"menu-item\">
<a href=\"https://photo-pub.co.jp/recruit\">各種募集</a>
<ul class=\"submenu\">
<li><span></span><a href=\"https://photo-pub.co.jp/recruit\">募集一覧</a></li>
</ul>
</li>
</ul>
<ul class=\"hamburger-links\">
<li><a href=\"https://photo-pub.co.jp/news\">NEWS</a></li>
<li><a href=\"https://photo-pub.co.jp/company\">会社概要</a></li>
<li><a href=\"";
// line 114
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("contact");
echo "\">お問い合わせ</a></li>
<li><a href=\"";
// line 115
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("opinion");
echo "\">意見箱</a></li>
<li><a href=\"";
// line 116
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("help_privacy");
echo "\">プライバシー<br class=\"br_linkbox\">ポリシー</a></li>
<li><a href=\"";
// line 117
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("help_tradelaw");
echo "\">特定商取引法<br class=\"br_linkbox\">に基づく表記</a></li>
</ul>
<ul class=\"hamburger-sns\">
<li><a><img src=\"";
// line 121
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/sns_ic_insta.png", "user_data"), "html", null, true);
echo "\" alt=\"insta\"></a></li>
<li><a href=\"https://www.youtube.com/@%E3%83%95%E3%82%A9%E3%83%88%E3%83%91%E3%83%96\"><img src=\"";
// line 122
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/sns_ic_youtube.svg", "user_data"), "html", null, true);
echo "\" alt=\"youtube\"></a></li>
<li><a href=\"https://twitter.com/share?url=https://photo-pub.co.jp/&via=photopub402&hashtags=%E6%A0%AA%E5%BC%8F%E4%BC%9A%E7%A4%BE%E3%83%95%E3%82%A9%E3%83%88%E3%83%91%E3%83%96%E3%83%AA%E3%83%83%E3%82%B7%E3%83%B3%E3%82%B0&text=%E6%A0%AA%E5%BC%8F%E4%BC%9A%E7%A4%BE%E3%83%95%E3%82%A9%E3%83%88%E3%83%91%E3%83%96%E3%83%AA%E3%83%83%E3%82%B7%E3%83%B3%E3%82%B0\"><img src=\"";
// line 123
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/sns_ic_x.svg", "user_data"), "html", null, true);
echo "\" alt=\"x\"></a></li>
<li><a href=\"http://www.facebook.com/share.php?u=https://photo-pub.co.jp/\"><img src=\"";
// line 124
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/sns_ic_fb.svg", "user_data"), "html", null, true);
echo "\" alt=\"fb\"></a></li>
</ul>
</nav>
</div>
</div>
<div class=\"header_inner2 pc\">
<ul class=\"select_btns\">
<li class=\"btn\"><a href=\"";
// line 132
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "\">TOP</a></li>
<li class=\"btn\"><a href=\"";
// line 133
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "books\">フォトパブ堂書店</a></li>
<li class=\"btn\"><a href=\"";
// line 134
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "photos\">フォトパブ写真館</a></li>
<li class=\"btn\"><a href=\"http://jihi.photo-pub.co.jp/\">自費出版サービス</a></li>
<li class=\"btn\"><a href=\"https://photo-pub.co.jp/event\">イベント情報</a></li>
<li class=\"btn\"><a href=\"https://photo-pub.co.jp/recruit\">各種募集</a></li>
</ul>
</div>
</div>
</div>
";
// line 143
echo " ";
// line 144
echo " ";
// line 145
echo " ";
// line 146
echo " ";
// line 147
echo " ";
// line 148
echo " ";
// line 149
echo " ";
// line 150
echo " ";
// line 151
echo " ";
// line 152
echo " ";
// line 153
echo " ";
// line 154
echo " ";
// line 155
echo " ";
// line 156
echo " ";
// line 157
echo " ";
// line 158
echo " ";
// line 159
echo " ";
// line 160
echo "
";
// line 162
echo " ";
// line 163
echo "
";
// line 165
echo " ";
// line 166
echo " ";
// line 167
echo " ";
// line 168
echo " ";
// line 169
echo " ";
// line 170
echo " ";
// line 171
echo " ";
// line 172
echo " ";
// line 173
echo " ";
// line 174
echo " ";
// line 175
echo " ";
// line 176
echo " ";
// line 177
echo " <div class=\"sp-search-form\">
<form action=\"";
// line 178
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("product_list");
echo "\" class=\"search-form sp\">
<input type=\"text\" class=\"search-form-input\" placeholder=\"キーワード(タイトル、著者など)を入力\">
<button type=\"submit\" class=\"search-form-submit\" aria-label=\"検索\"></button>
</form>
</div>
</section>
</div>
<style>
.fixed-header {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 9999;
background-color: #fff; /* 背景が透けないように */
box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* 任意:影で浮かせる */
}
body {
padding-top: 100px; /* ヘッダーの高さに合わせて調整(例:80px) */
}
@media screen and (max-width: 820px) {
body {
padding-top: 120px; /* ヘッダーの高さに合わせて調整(例:80px) */
}
}
</style>";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 12
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 13
echo " <link rel=\"stylesheet\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/main_module_commom.css", "user_data"), "html", null, true);
echo "\">
<link rel=\"stylesheet\" href=\"";
// line 14
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/header_style.css", "user_data"), "html", null, true);
echo "\">
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 17
public function block_javascript($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", "javascript"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
// line 18
echo " <script src=\"https://code.jquery.com/jquery-3.6.0.min.js\"></script>
<script src=\"";
// line 19
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/header.js", "user_data"), "html", null, true);
echo "\"></script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Block/header0.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 453 => 19, 450 => 18, 440 => 17, 428 => 14, 423 => 13, 413 => 12, 373 => 178, 370 => 177, 368 => 176, 366 => 175, 364 => 174, 362 => 173, 360 => 172, 358 => 171, 356 => 170, 354 => 169, 352 => 168, 350 => 167, 348 => 166, 346 => 165, 343 => 163, 341 => 162, 338 => 160, 336 => 159, 334 => 158, 332 => 157, 330 => 156, 328 => 155, 326 => 154, 324 => 153, 322 => 152, 320 => 151, 318 => 150, 316 => 149, 314 => 148, 312 => 147, 310 => 146, 308 => 145, 306 => 144, 304 => 143, 293 => 134, 289 => 133, 285 => 132, 274 => 124, 270 => 123, 266 => 122, 262 => 121, 255 => 117, 251 => 116, 247 => 115, 243 => 114, 213 => 86, 207 => 85, 194 => 82, 191 => 81, 186 => 80, 181 => 79, 178 => 78, 176 => 77, 172 => 76, 167 => 74, 162 => 71, 156 => 70, 143 => 67, 140 => 66, 135 => 65, 130 => 64, 127 => 63, 125 => 62, 121 => 61, 116 => 59, 110 => 56, 94 => 43, 87 => 39, 83 => 38, 75 => 33, 67 => 28, 63 => 27, 55 => 21, 53 => 17, 50 => 16, 48 => 12, 45 => 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.
#}
{% block stylesheet %}
<link rel=\"stylesheet\" href=\"{{ asset('assets/css/main_module_commom.css', 'user_data') }}\">
<link rel=\"stylesheet\" href=\"{{ asset('assets/css/header_style.css', 'user_data') }}\">
{% endblock %}
{% block javascript %}
<script src=\"https://code.jquery.com/jquery-3.6.0.min.js\"></script>
<script src=\"{{ asset('assets/js/header.js', 'user_data') }}\"></script>
{% endblock %}
<div class=\"fixed-header\">
<section>
<div id=\"site_header\">
<div class=\"header_logo\">
<a href=\"{{url('homepage')}}\">
<img src=\"{{ asset('assets/img/common/header_logo_0.png', 'user_data') }}\">
</a>
</div>
<div class=\"header_menus\">
<div class=\"header_inner1\">
{{ render(path('block_search_product')) }}
<div class=\"header_link1 pc\">
<ul class=\"link1\">
<li><a href=\"https://photo-pub.co.jp/news\">NEWS</a></li>
<li><a href=\"https://photo-pub.co.jp/company\">会社概要</a></li>
<li><a href=\"{{ url('contact') }}\">お問い合わせ</a></li>
<li><a href=\"{{ url('opinion') }}\">意見箱</a></li>
</ul>
</div>
<div class=\"header_link2\">
{{ include('Block/login.twig', {parent_template: 'header0.twig'}) }}
</div>
<div class=\"hamburger-menu sp\">
<button id=\"hamburger\" class=\"hamburger\">
<span></span>
<span></span>
<span></span>
</button>
<nav id=\"menus\" class=\"menus\">
<ul class=\"hamburger-tabs\">
<li class=\"menu-item\">
<a href=\"{{ url('homepage') }}\">TOP</a>
</li>
<li class=\"menu-item\">
<a href=\"{{ url('homepage') }}\">フォトパブ堂書店</a>
<ul class=\"submenu\">
<li><span></span><a href=\"{{ url('books') }}\"> フォトパブ堂書店TOP</a></li>
{% set AllCategories = repository('Eccube\\\\Entity\\\\Category').getList() %}
{% set Categories = AllCategories|filter(c => c.id is not null and c.id == 1) %}
{% for Category in Categories %}
{% for Child in Category.Children %}
<li>
<span><a href=\"{{ url('product_list') }}?category_id={{ Child.id }}\">{{ Child }}</a></span>
</li>
{% endfor %}
{% endfor %}
</ul>
</li>
<li class=\"menu-item\">
<a href=\"{{ url('homepage') }}\">フォトパブ写真館</a>
<ul class=\"submenu\">
<li><span></span><a href=\"{{ url('photos') }}\"> フォトパブ写真館TOP</a></li>
{% set AllCategories = repository('Eccube\\\\Entity\\\\Category').getList() %}
{% set Categories = AllCategories|filter(c => c.id is not null and c.id == 6) %}
{% for Category in Categories %}
{% for Child in Category.Children %}
<li>
<span><a href=\"{{ url('photo-product_list') }}?category_id={{ Child.id }}\">{{ Child }}</a></span>
</li>
{% endfor %}
{% endfor %}
</ul>
</li>
<li class=\"menu-item\">
<a href=\"https://jihi.photo-pub.co.jp/\">自費出版サービス</a>
<ul class=\"submenu\">
<li><span></span><a href=\"https://jihi.photo-pub.co.jp/\">自費出版について</a></li>
<li><span></span><a href=\"https://jihi.photo-pub.co.jp/calc.php\">自動見積もり</a></li>
<li><span></span><a href=\"https://jihi.photo-pub.co.jp/qanda.php\">出版までの流れ</a></li>
<li><span></span><a href=\"https://jihi.photo-pub.co.jp/inquiry\">自費出版に関するご相談</a></li>
</ul>
</li>
<li class=\"menu-item\">
<a href=\"https://photo-pub.co.jp/event\">イベント情報</a>
<ul class=\"submenu\">
<li><span></span><a href=\"https://photo-pub.co.jp/event\">イベント一覧</a></li>
</ul>
</li>
<li class=\"menu-item\">
<a href=\"https://photo-pub.co.jp/recruit\">各種募集</a>
<ul class=\"submenu\">
<li><span></span><a href=\"https://photo-pub.co.jp/recruit\">募集一覧</a></li>
</ul>
</li>
</ul>
<ul class=\"hamburger-links\">
<li><a href=\"https://photo-pub.co.jp/news\">NEWS</a></li>
<li><a href=\"https://photo-pub.co.jp/company\">会社概要</a></li>
<li><a href=\"{{ url('contact') }}\">お問い合わせ</a></li>
<li><a href=\"{{ url('opinion') }}\">意見箱</a></li>
<li><a href=\"{{url('help_privacy')}}\">プライバシー<br class=\"br_linkbox\">ポリシー</a></li>
<li><a href=\"{{url('help_tradelaw')}}\">特定商取引法<br class=\"br_linkbox\">に基づく表記</a></li>
</ul>
<ul class=\"hamburger-sns\">
<li><a><img src=\"{{ asset('assets/img/common/sns_ic_insta.png', 'user_data') }}\" alt=\"insta\"></a></li>
<li><a href=\"https://www.youtube.com/@%E3%83%95%E3%82%A9%E3%83%88%E3%83%91%E3%83%96\"><img src=\"{{ asset('assets/img/common/sns_ic_youtube.svg', 'user_data') }}\" alt=\"youtube\"></a></li>
<li><a href=\"https://twitter.com/share?url=https://photo-pub.co.jp/&via=photopub402&hashtags=%E6%A0%AA%E5%BC%8F%E4%BC%9A%E7%A4%BE%E3%83%95%E3%82%A9%E3%83%88%E3%83%91%E3%83%96%E3%83%AA%E3%83%83%E3%82%B7%E3%83%B3%E3%82%B0&text=%E6%A0%AA%E5%BC%8F%E4%BC%9A%E7%A4%BE%E3%83%95%E3%82%A9%E3%83%88%E3%83%91%E3%83%96%E3%83%AA%E3%83%83%E3%82%B7%E3%83%B3%E3%82%B0\"><img src=\"{{ asset('assets/img/common/sns_ic_x.svg', 'user_data') }}\" alt=\"x\"></a></li>
<li><a href=\"http://www.facebook.com/share.php?u=https://photo-pub.co.jp/\"><img src=\"{{ asset('assets/img/common/sns_ic_fb.svg', 'user_data') }}\" alt=\"fb\"></a></li>
</ul>
</nav>
</div>
</div>
<div class=\"header_inner2 pc\">
<ul class=\"select_btns\">
<li class=\"btn\"><a href=\"{{ url('homepage') }}\">TOP</a></li>
<li class=\"btn\"><a href=\"{{ url('homepage') }}books\">フォトパブ堂書店</a></li>
<li class=\"btn\"><a href=\"{{ url('homepage') }}photos\">フォトパブ写真館</a></li>
<li class=\"btn\"><a href=\"http://jihi.photo-pub.co.jp/\">自費出版サービス</a></li>
<li class=\"btn\"><a href=\"https://photo-pub.co.jp/event\">イベント情報</a></li>
<li class=\"btn\"><a href=\"https://photo-pub.co.jp/recruit\">各種募集</a></li>
</ul>
</div>
</div>
</div>
{#<div class=\"tabs\">#}
{# <ul class=\"tabs_inner\">#}
{# {% set Categories = repository('Eccube\\\\Entity\\\\Category').getList() %}#}
{# {% macro tree(Category) %}#}
{# {% from _self import tree %}#}
{# <a href=\"{{ url('product_list') }}?category_id={{ Category.id }}\">#}
{# {{ Category.name }}#}
{# </a>#}
{# {% if Category.children|length > 0 %}#}
{# <ul>#}
{# {% for ChildCategory in Category.children %}#}
{# <li>#}
{# {{ tree(ChildCategory) }}#}
{# </li>#}
{# {% endfor %}#}
{# </ul>#}
{# {% endif %}#}
{# {% endmacro %}#}
{# @see https://github.com/bolt/bolt/pull/2388 #}
{# {% from _self import tree %}#}
{# <div class=\"ec-categoryNaviRole\">#}
{# <div class=\"ec-itemNav\">#}
{# <ul class=\"ec-itemNav__nav\">#}
{# {% for Category in Categories %}#}
{# <li>#}
{# {{ tree(Category) }}#}
{# </li>#}
{# {% endfor %}#}
{# </ul>#}
{# </div>#}
{# </div>#}
{# </ul>#}
{#</div>#}
<div class=\"sp-search-form\">
<form action=\"{{ path('product_list') }}\" class=\"search-form sp\">
<input type=\"text\" class=\"search-form-input\" placeholder=\"キーワード(タイトル、著者など)を入力\">
<button type=\"submit\" class=\"search-form-submit\" aria-label=\"検索\"></button>
</form>
</div>
</section>
</div>
<style>
.fixed-header {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 9999;
background-color: #fff; /* 背景が透けないように */
box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* 任意:影で浮かせる */
}
body {
padding-top: 100px; /* ヘッダーの高さに合わせて調整(例:80px) */
}
@media screen and (max-width: 820px) {
body {
padding-top: 120px; /* ヘッダーの高さに合わせて調整(例:80px) */
}
}
</style>", "Block/header0.twig", "/home/photo-pub/www/photo-pub.com/app/template/default/Block/header0.twig");
}
}