var/cache/dev/twig/45/45ea374a2e3ac1b2ec666ab21d5791f3.php line 53

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* index.twig */
  14. class __TwigTemplate_6955dcda6574364541a1206e5adba2ed extends \Eccube\Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'stylesheet' => [$this'block_stylesheet'],
  24.             'javascript' => [$this'block_javascript'],
  25.             'main' => [$this'block_main'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 11
  31.         return "default_frame.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""index.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""index.twig"));
  40.         // line 13
  41.         $context["body_class"] = "front_page";
  42.         // line 11
  43.         $this->parent $this->loadTemplate("default_frame.twig""index.twig"11);
  44.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49.     }
  50.     // line 15
  51.     public function block_stylesheet($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  58.         // line 16
  59.         echo "        <style>
  60.     
  61.             ";
  62.         // line 19
  63.         echo "            .p-top__main-visual-slide-link.is-1st {
  64.                 background-image:url(";
  65.         // line 20
  66.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/html/user_data/assets/img/fv/1.png"), "html"nulltrue);
  67.         echo ");
  68.             }
  69.             .p-top__main-visual-slide-link.is-2nd {
  70.                 background-image:url(";
  71.         // line 23
  72.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/html/user_data/assets/img/fv/2.png"), "html"nulltrue);
  73.         echo ");
  74.             }
  75.             .p-top__main-visual-slide-link.is-3rd {
  76.                 background-image:url(";
  77.         // line 26
  78.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/html/user_data/assets/img/fv/3.png"), "html"nulltrue);
  79.         echo ");
  80.             }
  81.             @media screen and (max-width: 839px) {
  82.                 .p-top__main-visual-slide-link.is-1st {
  83.                     background-image:url(";
  84.         // line 30
  85.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/html/user_data/assets/img/fv/1.png"), "html"nulltrue);
  86.         echo ");
  87.                 }
  88.                 .p-top__main-visual-slide-link.is-2nd {
  89.                     background-image:url(";
  90.         // line 33
  91.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/html/user_data/assets/img/fv/2.png"), "html"nulltrue);
  92.         echo ");
  93.                 }
  94.                 .p-top__main-visual-slide-link.is-3rd {
  95.                     background-image:url(";
  96.         // line 36
  97.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/html/user_data/assets/img/fv/3.png"), "html"nulltrue);
  98.         echo ");
  99.                 }
  100.             }
  101.     
  102.             ";
  103.         // line 41
  104.         echo "            .b-category:after {
  105.                 background-image:url(";
  106.         // line 42
  107.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/html/user_data/assets/img/top_bg_left.png"), "html"nulltrue);
  108.         echo ");
  109.             }
  110.             @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  111.                 .b-category:after {
  112.                     background-image:url(";
  113.         // line 46
  114.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/html/user_data/assets/img/top_bg_left.png"), "html"nulltrue);
  115.         echo ");
  116.                 }
  117.             }
  118.             .b-about {
  119.                 margin-top: 80px;
  120.             }
  121.             .b-about__title {
  122.                 width: 100%;
  123.                 max-width: 1146px;
  124.                 margin-left: auto;
  125.                 margin-right: auto;
  126.                 padding-left: 20px;
  127.                 padding-right: 20px;
  128.                 box-sizing: border-box;
  129.                 font-size: inherit;
  130.                 line-height: inherit;
  131.                 display: -ms-flexbox;
  132.                 display: flex;
  133.                 -ms-flex-direction: column;
  134.                 flex-direction: column;
  135.                 margin-bottom: 40px;
  136.             }
  137.             .b-about__title--main {
  138.                 font-family: \"Josefin Sans\", sans-serif;
  139.                 font-weight: 600;
  140.                 font-size: 49px;
  141.                 letter-spacing: -0.025em;
  142.                 line-height: 1.2;
  143.                 text-indent: -0.05em;
  144.             }
  145.             .b-about__contents {
  146.                 width: 100%;
  147.                 max-width: 1322px;
  148.                 margin-left: auto;
  149.                 margin-right: auto;
  150.                 padding-left: 20px;
  151.                 padding-right: 20px;
  152.                 box-sizing: border-box;
  153.                 overflow: hidden;
  154.             }
  155.             @media screen and (max-width: 1024px) {
  156.                 .b-about__contents {
  157.                     margin: 6px 0 0;
  158.                 }
  159.                 .b-about__contents p{
  160.                     font-size: 0.6875em;
  161.                 }
  162.             }
  163.             @media screen and (max-width: 839px) {
  164.                 .b-about {
  165.                     margin-top: 40px;
  166.                 }
  167.                 .b-about__title {
  168.                     max-width: 692px;
  169.                     margin-bottom: 20px;
  170.                 }
  171.                 .b-about__title--main {
  172.                     font-size: 32.66667px;
  173.                     text-indent: -0.025em;
  174.                 }
  175.                 .b-about__contents {
  176.                     
  177.                 }
  178.             }
  179.             @media screen and (max-width: 479px) {
  180.                 .b-about {
  181.                     margin-top: 40px;
  182.                 }
  183.                 .b-about__title {
  184.                     padding-left: 16px;
  185.                     padding-right: 16px;
  186.                 }
  187.                 .b-about__title--main {
  188.                 }
  189.                 .b-about__contents {
  190.                     
  191.                 }
  192.             }
  193.     
  194.         </style>
  195.     ";
  196.         
  197.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  198.         
  199.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  200.     }
  201.     // line 142
  202.     public function block_javascript($context, array $blocks = [])
  203.     {
  204.         $macros $this->macros;
  205.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  206.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  207.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  208.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  209.         // line 143
  210.         echo "        <script src=\"https://cdn.jsdelivr.net/npm/swiper@5.3.6/js/swiper.min.js\" integrity=\"sha256-dwAIpWA5jmq1E3AHBeJDH86emZuOEMKZrZxNr9DJAQs=\" crossorigin=\"anonymous\"></script>
  211.         <script>
  212.     
  213.             \$(function(){
  214.                 ";
  215.         // line 148
  216.         echo "                var mainVisualSwiper = new Swiper ('#js-top__main-visual-slide', {
  217.                     effect: \"slide\",
  218.                     loop: true,
  219.                     slidesPerView: 1,
  220.                     pagination: {
  221.                         el: '#js-top__main-visual-pager-contents',
  222.                         clickable: true
  223.                     },
  224.                     navigation: {
  225.                         prevEl: '#js-top__main-visual-slide-navi-prev',
  226.                         nextEl: '#js-top__main-visual-slide-navi-next',
  227.                     }
  228.                 })
  229.     
  230.                 ";
  231.         // line 163
  232.         echo "                var categorySwiper = new Swiper('#js-category__slide', {
  233.                     slidesPerView: 2,
  234.                     spaceBetween: 12,
  235.                     scrollbar: {
  236.                         el: '#js-category__slide-scrollbar',
  237.                         draggable: true
  238.                     },
  239.                     breakpoints: {
  240.                         480: {
  241.                             slidesPerView: 3,
  242.                             spaceBetween: 12
  243.                         },
  244.                         840: {
  245.                             slidesPerView: 4,
  246.                             spaceBetween: 30
  247.                         },
  248.     
  249.                     }
  250.                 });
  251.     
  252.                 ";
  253.         // line 184
  254.         echo "                \$('#js-news__contents').each(function() {
  255.                     var listLength = \$(this).find('.js-news__post').length;
  256.                     if (listLength > 5) {
  257.                         \$(this).find('.js-news__post:gt(4)').each(function() {
  258.                             \$(this).hide();
  259.                         });
  260.                         var dispNum = 5;
  261.                         \$(this).find('#js-news-button').click(function() {
  262.                             dispNum += 5;
  263.                             \$(this).parents('#js-news__contents').find('.js-news__post:lt(' + dispNum + ')').fadeIn();
  264.                             if (dispNum >= listLength) {
  265.                                 \$(this).parents('#js-news__actions').hide();
  266.                             }
  267.                         })
  268.                     }
  269.                 });
  270.                 \$('.js-news__post-heading').on('click', function() {
  271.                     \$newsPost = \$(this).parent('.js-news__post');
  272.                     \$newsDescription = \$newsPost.children('.js-news__post-contents');
  273.                     if (\$newsDescription.css('display') == 'none') {
  274.                         \$newsPost.addClass('is-active');
  275.                         \$newsDescription.slideDown(300);
  276.                     } else {
  277.                         \$newsPost.removeClass('is-active');
  278.                         \$newsDescription.slideUp(300);
  279.                     }
  280.                 });
  281.     
  282.             });
  283.     
  284.             \$(window).on('load',function() {
  285.     
  286.                 ";
  287.         // line 217
  288.         echo "                gridItems();
  289.     
  290.             });
  291.     
  292.             var resizeTimer = null;
  293.             \$(window).on('resize', function() {
  294.                 clearTimeout(resizeTimer);
  295.                 resizeTimer = setTimeout(function() {
  296.     
  297.                     ";
  298.         // line 227
  299.         echo "                    gridItems();
  300.     
  301.                 }, 200);
  302.     
  303.             });
  304.     
  305.             function gridItems(){
  306.                 var items = \$('.js-topic__list-item');
  307.                 items.each(function(index, elem) {
  308.                     gridItem(\$(elem));
  309.                 });
  310.             }
  311.     
  312.             function gridItem(item){
  313.                 var grid,
  314.                     rowHeight,
  315.                     rowGap,
  316.                     rowSpan;
  317.                 grid = \$('#js-topic__list');
  318.                 rowHeight = parseInt(grid.css('grid-auto-rows'));
  319.                 rowGap = parseInt(grid.css('grid-row-gap'));
  320.                 rowSpan = Math.ceil((item.find('.js-topic__item').outerHeight() + rowGap) / (rowHeight + rowGap));
  321.                 if (window.innerWidth > 839) {
  322.                     item.css('grid-row-end', '');
  323.                 } else {
  324.                     item.css('grid-row-end', 'span ' + rowSpan);
  325.                 }
  326.             }
  327.     
  328.         </script>
  329.     ";
  330.         
  331.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  332.         
  333.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  334.     }
  335.     // line 259
  336.     public function block_main($context, array $blocks = [])
  337.     {
  338.         $macros $this->macros;
  339.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  340.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  341.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  342.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  343.         // line 260
  344.         echo "        <div class=\"p-top__main-visual\">
  345.             <div class=\"p-top__main-visual-slide\" id=\"js-top__main-visual-slide\">
  346.                 <div class=\"p-top__main-visual-slide-contents swiper-wrapper\">
  347.                     <a class=\"p-top__main-visual-slide-link is-1st swiper-slide\" href=\"";
  348.         // line 263
  349.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  350.         echo "\">
  351.                         <span class=\"p-top__main-visual-slide-link-text\">Slide1</span>
  352.                     </a>
  353.                     <a class=\"p-top__main-visual-slide-link is-2nd swiper-slide\" href=\"";
  354.         // line 266
  355.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  356.         echo "\">
  357.                         <span class=\"p-top__main-visual-slide-link-text\">Slide2</span>
  358.                     </a>
  359.                     <a class=\"p-top__main-visual-slide-link is-3rd swiper-slide\" href=\"";
  360.         // line 269
  361.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  362.         echo "\">
  363.                         <span class=\"p-top__main-visual-slide-link-text\">Slide3</span>
  364.                     </a>
  365.                 </div>
  366.                 <div class=\"p-top__main-visual-slide-navi\">
  367.                     <div class=\"p-top__main-visual-slide-navi-prev\" id=\"js-top__main-visual-slide-navi-prev\"></div>
  368.                     <div class=\"p-top__main-visual-slide-navi-next\" id=\"js-top__main-visual-slide-navi-next\"></div>
  369.                 </div>
  370.             </div>
  371.             <div class=\"p-top__main-visual-pager\">
  372.                 <div class=\"p-top__main-visual-pager-contents\" id=\"js-top__main-visual-pager-contents\"></div>
  373.             </div>
  374.             <div class=\"p-top__main-visual-reading\">
  375.                 <div class=\"p-top__main-visual-reading-contents\">
  376.                     <div class=\"p-top__main-visual-copy\">
  377.                         <p class=\"p-top__main-visual-copy--main\">THE<br>SUPERMARKET<br>TOKYO</p>
  378.                         <p class=\"p-top__main-visual-copy--sub\">Wear the Future,<br>Choose Sustainability</p>
  379.                     </div>
  380.                     <p class=\"p-top__main-visual-description\">未来を纏う、サステナブルな選択</p>
  381.                 </div>
  382.             </div>
  383.             <div class=\"p-top__main-visual-sns\">
  384.                 <ul class=\"p-top__main-visual-sns-list\">
  385.                     <!-- <li class=\"p-top__main-visual-sns-list-item\">
  386.                         <a class=\"p-top__main-visual-sns-link is-twitter\" href=\"#\">Twitter</a>
  387.                     </li> -->
  388.                     <li class=\"p-top__main-visual-sns-list-item\">
  389.                         <a class=\"p-top__main-visual-sns-link is-instagram\" href=\"https://www.instagram.com/the.supermarket.tokyo/\">Instagram</a>
  390.                     </li>
  391.                     <li class=\"p-top__main-visual-sns-list-item\">
  392.                         <a class=\"p-top__main-visual-sns-link is-facebook\" href=\"https://www.facebook.com/tsmt.tokyo/\">Facebook</a>
  393.                     </li>
  394.                 </ul>
  395.             </div>
  396.         </div>
  397.         <section class=\"b-about\">
  398.             <h2 class=\"b-about__title c-animation-fade js-animation-fade is-show\">
  399.                 <span class=\"b-about__title--main\">ABOUT THE SUPERMARKET TOKYO</span>
  400.                 <!-- <span class=\"b-about__title--sub\">Special Category</span> -->
  401.             </h2>
  402.             <div class=\"b-about__contents c-animation-fade js-animation-fade is-show\">
  403.                 <p>
  404.                     サステナブル、持続可能、SDGS、カーボンニュートラル、環境問題と物事を大きく捉えてしまうとその一歩が踏み出せなくなることが多くあります。<br>
  405.                     そこで、“ちょっとだけ何かいいこと!”をコンセプトに2021年クラウドファンディングプロジェクトからスタートしたブランド。
  406.                 </p>
  407.                 <p>
  408.                     [ 見えないけれど、ちょっといいこと ]<br>
  409.                     それは環境に優しいことはもちろん、無駄をなくし時間にゆとりをもたらすことだったり、人、体にも優しい機能としての軽量性や簡単ケアもそれにあたります。<br>
  410.                     加えて、カラーバリエーションのように個性を重視し暮らしを豊かにするデザインにこだわっています。
  411.                 </p>
  412.                 <p>
  413.                     繊維業界では基準に満たず納品出来ない規格外素材が存在しその処分が問題になっています。<br>
  414.                     「ZERO WASTE DESIGN」の考えの元、不要になった規格外素材を有効利用し商品として蘇らせること、それも”ちょっとだけ何かいいこと“のひとつです。
  415.                 </p>
  416.                 <p>
  417.                     「THE SUPERMARKET TOKYO」が現在使用している規格外素材は<br>
  418.                     元々高級車のシートや内装として世界的にも評価の高い日本製合成皮革です。<br>
  419.                     この合成皮革を出来るだけ棄てず有効利用するため、小さく残ったハギレも風呂敷のハンドルや小さなカードケースとして商品化しています。
  420.                 </p>
  421.             </div>
  422.         </section>
  423.     ";
  424.         
  425.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  426.         
  427.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  428.     }
  429.     public function getTemplateName()
  430.     {
  431.         return "index.twig";
  432.     }
  433.     public function isTraitable()
  434.     {
  435.         return false;
  436.     }
  437.     public function getDebugInfo()
  438.     {
  439.         return array (  399 => 269,  393 => 266,  387 => 263,  382 => 260,  372 => 259,  332 => 227,  321 => 217,  287 => 184,  265 => 163,  249 => 148,  243 => 143,  233 => 142,  128 => 46,  121 => 42,  118 => 41,  111 => 36,  105 => 33,  99 => 30,  92 => 26,  86 => 23,  80 => 20,  77 => 19,  73 => 16,  63 => 15,  52 => 11,  50 => 13,  37 => 11,);
  440.     }
  441.     public function getSourceContext()
  442.     {
  443.         return new Source("{#
  444.     This file is part of EC-CUBE
  445.     
  446.     Copyright(c) LOCKON CO.,LTD. All Rights Reserved.
  447.     
  448.     http://www.lockon.co.jp/
  449.     
  450.     For the full copyright and license information, please view the LICENSE
  451.     file that was distributed with this source code.
  452.     #}
  453.     {% extends 'default_frame.twig' %}
  454.     
  455.     {% set body_class = 'front_page' %}
  456.     
  457.     {% block stylesheet %}
  458.         <style>
  459.     
  460.             {# main visual #}
  461.             .p-top__main-visual-slide-link.is-1st {
  462.                 background-image:url({{ asset('/html/user_data/assets/img/fv/1.png') }});
  463.             }
  464.             .p-top__main-visual-slide-link.is-2nd {
  465.                 background-image:url({{ asset('/html/user_data/assets/img/fv/2.png') }});
  466.             }
  467.             .p-top__main-visual-slide-link.is-3rd {
  468.                 background-image:url({{ asset('/html/user_data/assets/img/fv/3.png') }});
  469.             }
  470.             @media screen and (max-width: 839px) {
  471.                 .p-top__main-visual-slide-link.is-1st {
  472.                     background-image:url({{ asset('/html/user_data/assets/img/fv/1.png') }});
  473.                 }
  474.                 .p-top__main-visual-slide-link.is-2nd {
  475.                     background-image:url({{ asset('/html/user_data/assets/img/fv/2.png') }});
  476.                 }
  477.                 .p-top__main-visual-slide-link.is-3rd {
  478.                     background-image:url({{ asset('/html/user_data/assets/img/fv/3.png') }});
  479.                 }
  480.             }
  481.     
  482.             {# category #}
  483.             .b-category:after {
  484.                 background-image:url({{ asset('/html/user_data/assets/img/top_bg_left.png') }});
  485.             }
  486.             @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  487.                 .b-category:after {
  488.                     background-image:url({{ asset('/html/user_data/assets/img/top_bg_left.png') }});
  489.                 }
  490.             }
  491.             .b-about {
  492.                 margin-top: 80px;
  493.             }
  494.             .b-about__title {
  495.                 width: 100%;
  496.                 max-width: 1146px;
  497.                 margin-left: auto;
  498.                 margin-right: auto;
  499.                 padding-left: 20px;
  500.                 padding-right: 20px;
  501.                 box-sizing: border-box;
  502.                 font-size: inherit;
  503.                 line-height: inherit;
  504.                 display: -ms-flexbox;
  505.                 display: flex;
  506.                 -ms-flex-direction: column;
  507.                 flex-direction: column;
  508.                 margin-bottom: 40px;
  509.             }
  510.             .b-about__title--main {
  511.                 font-family: \"Josefin Sans\", sans-serif;
  512.                 font-weight: 600;
  513.                 font-size: 49px;
  514.                 letter-spacing: -0.025em;
  515.                 line-height: 1.2;
  516.                 text-indent: -0.05em;
  517.             }
  518.             .b-about__contents {
  519.                 width: 100%;
  520.                 max-width: 1322px;
  521.                 margin-left: auto;
  522.                 margin-right: auto;
  523.                 padding-left: 20px;
  524.                 padding-right: 20px;
  525.                 box-sizing: border-box;
  526.                 overflow: hidden;
  527.             }
  528.             @media screen and (max-width: 1024px) {
  529.                 .b-about__contents {
  530.                     margin: 6px 0 0;
  531.                 }
  532.                 .b-about__contents p{
  533.                     font-size: 0.6875em;
  534.                 }
  535.             }
  536.             @media screen and (max-width: 839px) {
  537.                 .b-about {
  538.                     margin-top: 40px;
  539.                 }
  540.                 .b-about__title {
  541.                     max-width: 692px;
  542.                     margin-bottom: 20px;
  543.                 }
  544.                 .b-about__title--main {
  545.                     font-size: 32.66667px;
  546.                     text-indent: -0.025em;
  547.                 }
  548.                 .b-about__contents {
  549.                     
  550.                 }
  551.             }
  552.             @media screen and (max-width: 479px) {
  553.                 .b-about {
  554.                     margin-top: 40px;
  555.                 }
  556.                 .b-about__title {
  557.                     padding-left: 16px;
  558.                     padding-right: 16px;
  559.                 }
  560.                 .b-about__title--main {
  561.                 }
  562.                 .b-about__contents {
  563.                     
  564.                 }
  565.             }
  566.     
  567.         </style>
  568.     {% endblock %}
  569.     
  570.     {% block javascript %}
  571.         <script src=\"https://cdn.jsdelivr.net/npm/swiper@5.3.6/js/swiper.min.js\" integrity=\"sha256-dwAIpWA5jmq1E3AHBeJDH86emZuOEMKZrZxNr9DJAQs=\" crossorigin=\"anonymous\"></script>
  572.         <script>
  573.     
  574.             \$(function(){
  575.                 {# main visual #}
  576.                 var mainVisualSwiper = new Swiper ('#js-top__main-visual-slide', {
  577.                     effect: \"slide\",
  578.                     loop: true,
  579.                     slidesPerView: 1,
  580.                     pagination: {
  581.                         el: '#js-top__main-visual-pager-contents',
  582.                         clickable: true
  583.                     },
  584.                     navigation: {
  585.                         prevEl: '#js-top__main-visual-slide-navi-prev',
  586.                         nextEl: '#js-top__main-visual-slide-navi-next',
  587.                     }
  588.                 })
  589.     
  590.                 {# category #}
  591.                 var categorySwiper = new Swiper('#js-category__slide', {
  592.                     slidesPerView: 2,
  593.                     spaceBetween: 12,
  594.                     scrollbar: {
  595.                         el: '#js-category__slide-scrollbar',
  596.                         draggable: true
  597.                     },
  598.                     breakpoints: {
  599.                         480: {
  600.                             slidesPerView: 3,
  601.                             spaceBetween: 12
  602.                         },
  603.                         840: {
  604.                             slidesPerView: 4,
  605.                             spaceBetween: 30
  606.                         },
  607.     
  608.                     }
  609.                 });
  610.     
  611.                 {# news #}
  612.                 \$('#js-news__contents').each(function() {
  613.                     var listLength = \$(this).find('.js-news__post').length;
  614.                     if (listLength > 5) {
  615.                         \$(this).find('.js-news__post:gt(4)').each(function() {
  616.                             \$(this).hide();
  617.                         });
  618.                         var dispNum = 5;
  619.                         \$(this).find('#js-news-button').click(function() {
  620.                             dispNum += 5;
  621.                             \$(this).parents('#js-news__contents').find('.js-news__post:lt(' + dispNum + ')').fadeIn();
  622.                             if (dispNum >= listLength) {
  623.                                 \$(this).parents('#js-news__actions').hide();
  624.                             }
  625.                         })
  626.                     }
  627.                 });
  628.                 \$('.js-news__post-heading').on('click', function() {
  629.                     \$newsPost = \$(this).parent('.js-news__post');
  630.                     \$newsDescription = \$newsPost.children('.js-news__post-contents');
  631.                     if (\$newsDescription.css('display') == 'none') {
  632.                         \$newsPost.addClass('is-active');
  633.                         \$newsDescription.slideDown(300);
  634.                     } else {
  635.                         \$newsPost.removeClass('is-active');
  636.                         \$newsDescription.slideUp(300);
  637.                     }
  638.                 });
  639.     
  640.             });
  641.     
  642.             \$(window).on('load',function() {
  643.     
  644.                 {# topic #}
  645.                 gridItems();
  646.     
  647.             });
  648.     
  649.             var resizeTimer = null;
  650.             \$(window).on('resize', function() {
  651.                 clearTimeout(resizeTimer);
  652.                 resizeTimer = setTimeout(function() {
  653.     
  654.                     {# topic #}
  655.                     gridItems();
  656.     
  657.                 }, 200);
  658.     
  659.             });
  660.     
  661.             function gridItems(){
  662.                 var items = \$('.js-topic__list-item');
  663.                 items.each(function(index, elem) {
  664.                     gridItem(\$(elem));
  665.                 });
  666.             }
  667.     
  668.             function gridItem(item){
  669.                 var grid,
  670.                     rowHeight,
  671.                     rowGap,
  672.                     rowSpan;
  673.                 grid = \$('#js-topic__list');
  674.                 rowHeight = parseInt(grid.css('grid-auto-rows'));
  675.                 rowGap = parseInt(grid.css('grid-row-gap'));
  676.                 rowSpan = Math.ceil((item.find('.js-topic__item').outerHeight() + rowGap) / (rowHeight + rowGap));
  677.                 if (window.innerWidth > 839) {
  678.                     item.css('grid-row-end', '');
  679.                 } else {
  680.                     item.css('grid-row-end', 'span ' + rowSpan);
  681.                 }
  682.             }
  683.     
  684.         </script>
  685.     {% endblock javascript %}
  686.     
  687.     {% block main %}
  688.         <div class=\"p-top__main-visual\">
  689.             <div class=\"p-top__main-visual-slide\" id=\"js-top__main-visual-slide\">
  690.                 <div class=\"p-top__main-visual-slide-contents swiper-wrapper\">
  691.                     <a class=\"p-top__main-visual-slide-link is-1st swiper-slide\" href=\"{{ url('homepage') }}\">
  692.                         <span class=\"p-top__main-visual-slide-link-text\">Slide1</span>
  693.                     </a>
  694.                     <a class=\"p-top__main-visual-slide-link is-2nd swiper-slide\" href=\"{{ url('homepage') }}\">
  695.                         <span class=\"p-top__main-visual-slide-link-text\">Slide2</span>
  696.                     </a>
  697.                     <a class=\"p-top__main-visual-slide-link is-3rd swiper-slide\" href=\"{{ url('homepage') }}\">
  698.                         <span class=\"p-top__main-visual-slide-link-text\">Slide3</span>
  699.                     </a>
  700.                 </div>
  701.                 <div class=\"p-top__main-visual-slide-navi\">
  702.                     <div class=\"p-top__main-visual-slide-navi-prev\" id=\"js-top__main-visual-slide-navi-prev\"></div>
  703.                     <div class=\"p-top__main-visual-slide-navi-next\" id=\"js-top__main-visual-slide-navi-next\"></div>
  704.                 </div>
  705.             </div>
  706.             <div class=\"p-top__main-visual-pager\">
  707.                 <div class=\"p-top__main-visual-pager-contents\" id=\"js-top__main-visual-pager-contents\"></div>
  708.             </div>
  709.             <div class=\"p-top__main-visual-reading\">
  710.                 <div class=\"p-top__main-visual-reading-contents\">
  711.                     <div class=\"p-top__main-visual-copy\">
  712.                         <p class=\"p-top__main-visual-copy--main\">THE<br>SUPERMARKET<br>TOKYO</p>
  713.                         <p class=\"p-top__main-visual-copy--sub\">Wear the Future,<br>Choose Sustainability</p>
  714.                     </div>
  715.                     <p class=\"p-top__main-visual-description\">未来を纏う、サステナブルな選択</p>
  716.                 </div>
  717.             </div>
  718.             <div class=\"p-top__main-visual-sns\">
  719.                 <ul class=\"p-top__main-visual-sns-list\">
  720.                     <!-- <li class=\"p-top__main-visual-sns-list-item\">
  721.                         <a class=\"p-top__main-visual-sns-link is-twitter\" href=\"#\">Twitter</a>
  722.                     </li> -->
  723.                     <li class=\"p-top__main-visual-sns-list-item\">
  724.                         <a class=\"p-top__main-visual-sns-link is-instagram\" href=\"https://www.instagram.com/the.supermarket.tokyo/\">Instagram</a>
  725.                     </li>
  726.                     <li class=\"p-top__main-visual-sns-list-item\">
  727.                         <a class=\"p-top__main-visual-sns-link is-facebook\" href=\"https://www.facebook.com/tsmt.tokyo/\">Facebook</a>
  728.                     </li>
  729.                 </ul>
  730.             </div>
  731.         </div>
  732.         <section class=\"b-about\">
  733.             <h2 class=\"b-about__title c-animation-fade js-animation-fade is-show\">
  734.                 <span class=\"b-about__title--main\">ABOUT THE SUPERMARKET TOKYO</span>
  735.                 <!-- <span class=\"b-about__title--sub\">Special Category</span> -->
  736.             </h2>
  737.             <div class=\"b-about__contents c-animation-fade js-animation-fade is-show\">
  738.                 <p>
  739.                     サステナブル、持続可能、SDGS、カーボンニュートラル、環境問題と物事を大きく捉えてしまうとその一歩が踏み出せなくなることが多くあります。<br>
  740.                     そこで、“ちょっとだけ何かいいこと!”をコンセプトに2021年クラウドファンディングプロジェクトからスタートしたブランド。
  741.                 </p>
  742.                 <p>
  743.                     [ 見えないけれど、ちょっといいこと ]<br>
  744.                     それは環境に優しいことはもちろん、無駄をなくし時間にゆとりをもたらすことだったり、人、体にも優しい機能としての軽量性や簡単ケアもそれにあたります。<br>
  745.                     加えて、カラーバリエーションのように個性を重視し暮らしを豊かにするデザインにこだわっています。
  746.                 </p>
  747.                 <p>
  748.                     繊維業界では基準に満たず納品出来ない規格外素材が存在しその処分が問題になっています。<br>
  749.                     「ZERO WASTE DESIGN」の考えの元、不要になった規格外素材を有効利用し商品として蘇らせること、それも”ちょっとだけ何かいいこと“のひとつです。
  750.                 </p>
  751.                 <p>
  752.                     「THE SUPERMARKET TOKYO」が現在使用している規格外素材は<br>
  753.                     元々高級車のシートや内装として世界的にも評価の高い日本製合成皮革です。<br>
  754.                     この合成皮革を出来るだけ棄てず有効利用するため、小さく残ったハギレも風呂敷のハンドルや小さなカードケースとして商品化しています。
  755.                 </p>
  756.             </div>
  757.         </section>
  758.     {% endblock %}""index.twig""/home/rocroc/tsmt-store.com/public_html/app/template/ss4002/index.twig");
  759.     }
  760. }