app/template/default/Block/factory_fan_opf_series.twig line 1

Open in your IDE?
  1. {% block main %}
  2. <style>
  3. .main_box_spo {
  4.         display: flex;
  5.         flex-wrap: wrap;
  6.         justify-content: space-around;
  7.       width: auto;
  8.       height: auto;
  9.       display: flex;
  10.       margin-left: auto;
  11.       margin-right: auto;
  12.       background-color: ;
  13.       border-radius: px;
  14.       z-index: 9999;
  15.       position: relative;
  16.       background-size: cover;
  17. }
  18. .box_spo {
  19.       display: flex;
  20.       flex-wrap: wrap;
  21.       justify-content: space-around;
  22.       background-image: url("https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25summer/sm2025_top.png"); 
  23.       width: 100%;
  24.       text-align: center;
  25.       margin-top: px;
  26.       margin-left: auto;
  27.       margin-right: auto;
  28.       margin-bottom: px;
  29.       position: relative;
  30.       border-radius: px;
  31.       background-size: cover;
  32. }
  33. .box_spoa {
  34.     display: flex;
  35.     flex-wrap: wrap;
  36.     justify-content: space-around;    
  37.     width: 100%;  
  38.     height: auto; 
  39.     padding-left: 4%;
  40.     padding-right: 4%;
  41.     {#position: relative;#}/*sliderに重ねる場合使用*/
  42.     {#z-index: 9999;#}/*sliderに重ねる場合使用*/
  43.   }
  44. .box_spo1 {
  45.       display: flex;
  46.       flex-wrap: wrap;
  47.       justify-content: space-around;
  48.       width: 100%;
  49.       height: 40px;
  50.       margin-top: 6px;
  51.       margin-left: 5px;
  52.       margin-right: 5px; 
  53.       border-radius: 6px;
  54.       z-index: 999;
  55. }
  56. .box_spo2 {
  57.       display: flex;
  58.       flex-wrap: wrap;
  59.       justify-content: space-around;
  60.       width: 100%;
  61.       margin-top: -20px;
  62.       margin-left: 3vw;
  63.       margin-right: 3vw;
  64. }
  65. .box_spo3 {
  66.       display: flex;
  67.       flex-wrap: wrap;
  68.       justify-content: space-around;
  69.       background-color: ;
  70.       width: calc(118% / 2 - 5px);
  71.       min-width: 320px;
  72.       height: auto;
  73.       z-index: 1;
  74.       margin-bottom: 6%;
  75. }
  76. .box_spo4 {
  77.       /*background: linear-gradient(176deg,#00cccc 5%, #ffffff 15%, #ffffff 80%, #00cccc);*/
  78.       border-radius: 8px;
  79.       width: 340px;
  80.       height: 340px;
  81.       z-index: 1;
  82.       /*border: solid 1px #dcdcdc;*/
  83.       margin-bottom: 10px;
  84.       margin-top: 40px;
  85. }
  86. .box_spo5 {
  87.       background-color: ;
  88.       width: calc(100% / 6 - 2px);
  89.       height: auto;
  90.       max-height: 180px;
  91.       z-index: 9;
  92.       margin-top: 10px;
  93. }
  94. .box_spo6 {
  95.       width: 100%;
  96. margin-bottom: 0px;
  97. }
  98. .box_spo7 {
  99.         width: 100%;
  100.         max-height: 300px;
  101.         border-radius: 6px;
  102.         margin: 0 auto;
  103.         position: absolute;
  104.         top: 0px;
  105.    }
  106. .pexample_spo {
  107.         font-size: 16px;
  108.         color: #ffffff;
  109.         font-weight: 500;
  110.         height: auto;
  111.         margin-left: px;
  112.         text-align: center;
  113.         margin-top: 10px;
  114.   }  
  115.   .pexample_spo2 {
  116.          font-size: 16px;
  117.         color: #000;
  118.         font-weight: 400;
  119.         height: auto;
  120.         margin-left: px;
  121.         text-align: center;
  122.         margin-top: 3px;
  123.   }   
  124. /*ビデオコントロール*/
  125.   video {
  126.     max-width: auto;
  127.     border-radius: 6px;
  128.      margin: 0 auto;
  129.     position: absolute;
  130.     top: 0px;
  131.    }
  132.   .slide-in8 {
  133.         margin-top: 2vw;
  134.         font-size: 26px;
  135.         font-weight: bold;
  136.         animation: slideIn 2s ease-out;
  137.         color: #ffffff;
  138.         z-index: 9999;
  139.         text-align: center;
  140.         font-weight: 600;
  141.         /*-webkit-text-stroke: 0.1px #fff; 
  142.         text-stroke: 0.1px #fff;*/
  143.         padding-left: 4%;
  144.         padding-right: 4%;
  145.   }
  146.   .slide-in9 {
  147.         font-size: 21px;
  148.         font-weight: bold;
  149.         animation: slideIn 2s ease-out;
  150.         color: #006666;
  151.         z-index: 9999;
  152.         text-align: center;
  153.         font-weight: 600;
  154.         margin-top: -2px;
  155.   }
  156.   
  157.         .slide-in5c {
  158.         background-color: #fff;
  159.         border-radius: 25px; 
  160.         border: solid 1px #006666;
  161.         font-size: 16px;
  162.         font-weight: bold;
  163.         animation: slideIn 2s ease-out;
  164.         color: #fff;
  165.         z-index: 9999;
  166.         text-align: center;
  167.         font-weight: 400;
  168.         margin-top: 10px;
  169.         margin-bottom: 10px;
  170.       }  
  171.   
  172.   @keyframes slideIn {
  173.     0% {
  174.     transform: translateX(-100%);
  175.     opacity: 0;
  176.     }
  177.     100% {
  178.     transform: translateX(0);
  179.     opacity: 1;
  180.     }
  181.   }
  182. .fadeslide {
  183.     position: relative;
  184.     width: 320px;
  185.     height: 320px;
  186.     overflow: hidden;
  187.     z-index: 0;
  188.   }
  189.   .fadeslide div {
  190.     position: absolute;
  191.     top: 0;
  192.     left: 0;
  193.   }
  194.   .fadeslide div:nth-of-type(1) {
  195.     animation: fadeslide 60s 0s infinite both;
  196.     z-index: 12;
  197.   }
  198.   .fadeslide div:nth-of-type(2) {
  199.     animation: fadeslide 60s 5s infinite both;
  200.     z-index: 11;
  201.   }
  202.   .fadeslide div:nth-of-type(3) {
  203.     animation: fadeslide 60s 10s infinite both;
  204.     z-index: 10;
  205.   }
  206.   .fadeslide div:nth-of-type(4) {
  207.     animation: fadeslide 60s 15s infinite both;
  208.     z-index: 9;
  209.   }
  210.   .fadeslide div:nth-of-type(5) {
  211.     animation: fadeslide 60s 20s infinite both;
  212.     z-index: 8;
  213.   }
  214.   .fadeslide div:nth-of-type(6) {
  215.     animation: fadeslide 60s 25s infinite both;
  216.     z-index: 7;
  217.   }
  218.   .fadeslide div:nth-of-type(7) {
  219.     animation: fadeslide 60s 30s infinite both;
  220.     z-index: 6;
  221.   }      
  222.   .fadeslide div:nth-of-type(8) {
  223.     animation: fadeslide 60s 35s infinite both;
  224.     z-index: 5;
  225.   }      
  226.   .fadeslide div:nth-of-type(9) {
  227.     animation: fadeslide 60s 40s infinite both;
  228.     z-index: 4;
  229.   }      
  230.   .fadeslide div:nth-of-type(10) {
  231.     animation: fadeslide 60s 45s infinite both;
  232.     z-index: 3;
  233.   }      
  234.   .fadeslide div:nth-of-type(11) {
  235.     animation: fadeslide 60s 50s infinite both;
  236.     z-index: 2;
  237.   } 
  238.   .fadeslide div:nth-of-type(12) {
  239.     animation: fadeslide 60s 55s infinite both;
  240.     z-index: 1;
  241.   }       
  242. @keyframes fade_slide {
  243.   0% { left: 0; opacity: 0; }
  244.   6% { left: 0; opacity: 1; }
  245.   12% { left: 0; opacity: 1; }
  246.   18% { left: 0; opacity: 0; }
  247.   19% { left: 100%; opacity: 0; }
  248.   100% { left: 100%; opacity: 0; }
  249. }
  250.     summary {
  251.       display: block;
  252.       list-style: none;
  253.       cursor: pointer;
  254.       color: #ffffff;
  255.      }
  256.     summary::-webkit-details-marker {
  257.       display:none;
  258.     }
  259.     
  260.      details {
  261.     margin: 0 auto;
  262.     margin-left: 0;
  263.      }
  264.     
  265.     .cp_navi01 ul {
  266.       width: 260px;/*メニューの幅*/
  267.       margin-left: 20px;
  268.       margin: 0 auto;
  269.       padding: 0;
  270.       list-style-type: none;
  271.       background-color: #eeeeee;
  272.       border-radius: 4px 4px 4px 4px;
  273.       position: absolute;
  274.     }
  275.     .cp_navi01 li a {
  276.       display: block;
  277.       padding: 6px 16px;
  278.       text-decoration: none;
  279.       color: #000000;
  280.       transition: all .3s;
  281.       text-align: left;
  282.     }
  283.     .cp_navi01 li {
  284.       text-align: center;
  285.     }
  286.     .cp_navi01 li:last-child {
  287.       border-bottom: none;
  288.     }
  289.     .cp_navi01 li a.active {
  290.       margin: 0 auto;
  291.       margin-top: px;
  292.       color: #210be2;
  293.       background-color: #7df57d;
  294.       border-radius: 4px 4px 0px 0px;
  295.       font-weight: 900;
  296.     }
  297.     .cp_navi01 li a:hover:not(.active) {
  298.       color: #ffffff;
  299.       background-color: #1b2538;
  300.       text-align: left;
  301.     }
  302.     .example_cp {
  303.       display: inline;
  304.       font-size: 4rem;
  305.       color: #ffffff;
  306.     }
  307. .fit-picture_o {
  308.   width: 160px;
  309.   opacity: 0.6;
  310. }
  311. .fit-picture_n {
  312.   width: 40px;
  313.   margin-top: -2px;
  314. }
  315. </style>
  316. <html>
  317. <head>
  318.     <meta charset="utf-8">
  319.     <meta name="keywords" content="ナカトミ スポットクーラー">
  320.     <title>ナカトミヒーター</title>
  321.     <meta name="viewport" content="width=320, height=480, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=yes"/>
  322. </head>
  323. <body>
  324. <div class="main_box_spo">
  325.   <div class="box_spo">
  326.     <div class="box_spo1">
  327.       <details>
  328.       <summary>
  329.         <p class="example_cp">≡</p>
  330.       </summary>  
  331.       <div class="cp_navi01">
  332.         <ul>
  333.           <li><a href="https://www.nakatomishop.com/products/list?category_id=17" class="active">工場扇(全閉式)OPFシリーズ</a></li>
  334.           <li><a href="https://www.nakatomishop.com/products/detail/1330">OPF-45SZ</a></li>
  335.           <li><a href="https://www.nakatomishop.com/products/detail/1327">OPF-45SAZ</a></li>
  336.           <li><a href="https://www.nakatomishop.com/products/detail/1331">OPF-45WZ</a></li>
  337.           <li><a href="https://www.nakatomishop.com/products/detail/1328">OPF-45WAZ</a></li>
  338.           <li><a href="https://www.nakatomishop.com/products/detail/1329">OPF-45FAZ</a></li>
  339.           <li><a href="https://www.nakatomishop.com/products/list?category_id=27"><font size="2rem">交換用羽根こちらから</font></a></li> 
  340.         </ul>
  341.       </div>
  342.       </details> 
  343.     </div>  
  344.     <div class="box_spoa">        
  345.       <div class="box_spo2">
  346.         <div class="box_spo3">
  347.           <div class="box_spo6">
  348.             <div class="slide-in8">チリやホコリ等が侵入しにくい全閉式モーター!工場等の油気、油煙の多い場所でも保守性・信頼性の高いモーターです。
  349.             </div>
  350.           </div>
  351.           <div class="box_spo5">
  352.             <p class="pexample_spo">
  353.             <a href="https://www.nakatomishop.com/products/detail/1330">
  354.             <img src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25summer/OPF-45SZ_150_200.png" width="100%" alt=""></a><p class="pexample_spo2">OPF-45SZ</p>
  355.           </div>
  356.           <div class="box_spo5">
  357.             <p class="pexample_spo">
  358.             <a href="https://www.nakatomishop.com/products/detail/1327">
  359.             <img src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25summer/OPF-45SAZ_150_200.png" width="100%" alt=""></a><p class="pexample_spo2">OPF-45SAZ</p>
  360.           </div>
  361.           <div class="box_spo5">
  362.             <p class="pexample_spo">
  363.             <a href="https://www.nakatomishop.com/products/detail/1331">
  364.             <img src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25summer/OPF-45WZ_150_200.png" width="100%" alt=""></a><p class="pexample_spo2">OPF-45WZ</p>
  365.           </div>
  366.           <div class="box_spo5">
  367.             <p class="pexample_spo">
  368.             <a href="https://www.nakatomishop.com/products/detail/1328">
  369.             <img src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25summer/OPF-45WAZ_150_200.png" width="100%" alt=""></a><p class="pexample_spo2">OPF-45WAZ</p>
  370.           </div>
  371.           <div class="box_spo5">
  372.             <p class="pexample_spo">
  373.             <a href="https://www.nakatomishop.com/products/detail/1329">
  374.             <img src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25summer/OPF-45FAZ_150_200.png" width="100%" alt=""></a><p class="pexample_spo2">
  375.                 <img class="fit-picture_n" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25summer/nyuukamachi.png">OPF-45FAZ</p>
  376.           </div>
  377.         </div>
  378.         <div class="box_spo4">
  379.           <div class="fadeslide">
  380.             <div>  
  381.               <a href="https://www.nakatomishop.com/products/detail/1327">
  382.               <img class="slidshow-img" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/OPF-45SZ_SL2.png" width="320px" alt="スライドショー画像1"></a>
  383.             </div>
  384.             <div>   
  385.               <a href="https://www.nakatomishop.com/products/detail/1330">
  386.               <img class="slidshow-img" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/OPF-45SAZ_SL2.png" width="320px" alt="スライドショー画像2"></a>
  387.             </div>
  388.             <div> 
  389.               <a href="https://www.nakatomishop.com/products/detail/1328">
  390.               <img class="slidshow-img" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/OPF-45WZ_SL2.png" width="320px" alt="スライドショー画像3"></a>
  391.             </div>
  392.             <div> 
  393.               <a href="https://www.nakatomishop.com/products/detail/1331">
  394.               <img class="slidshow-img" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/OPF-45WAZ_SL2.png" width="320px" alt="スライドショー画像4"></a>
  395.             </div>
  396.             <div> 
  397.               <a href="https://www.nakatomishop.com/products/detail/1329">
  398.               <img class="slidshow-img" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/OPF-45FAZ_SL2.png" width="320px" alt="スライドショー画像5"></a>
  399.             </div>
  400.             <div>  
  401.               <a href="https://www.nakatomishop.com/products/list?category_id=27">
  402.               <img class="slidshow-img" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/OP_FF_SL2.png" width="320px" alt="スライドショー画像6"></a>
  403.             </div>
  404.             <div>  
  405.               <a href="https://www.nakatomishop.com/products/detail/1327">
  406.               <img class="slidshow-img" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/OPF-45SZ_SL2.png" width="320px" alt="スライドショー画像7"></a>
  407.             </div>
  408.             <div>   
  409.               <a href="https://www.nakatomishop.com/products/detail/1330">
  410.               <img class="slidshow-img" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/OPF-45SAZ_SL2.png" width="320px" alt="スライドショー画像8"></a>
  411.             </div>
  412.             <div> 
  413.               <a href="https://www.nakatomishop.com/products/detail/1328">
  414.               <img class="slidshow-img" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/OPF-45WZ_SL2.png" width="320px" alt="スライドショー画像9"></a>
  415.             </div>
  416.             <div> 
  417.               <a href="https://www.nakatomishop.com/products/detail/1331">
  418.               <img class="slidshow-img" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/OPF-45WAZ_SL2.png" width="320px" alt="スライドショー画像10"></a>
  419.             </div>
  420.             <div> 
  421.               <a href="https://www.nakatomishop.com/products/detail/1329">
  422.               <img class="slidshow-img" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/OPF-45FAZ_SL2.png" width="320px" alt="スライドショー画像11"></a>
  423.             </div>
  424.             <div>  
  425.               <a href="https://www.nakatomishop.com/products/list?category_id=27">
  426.               <img class="slidshow-img" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/OP_FF_SL2.png" width="320px" alt="スライドショー画像12"></a>
  427.             </div>
  428.           </div>
  429.           <script>
  430.             $(function(){
  431.               $(".slideshow-slide li").css({"position":"relative"});
  432.               $(".slideshow-slide li").hide().css({"position":"absolute"});
  433.               $(".slideshow-slide li:first").addClass("slide");
  434.               $(".slideshow-slide li:nth-child(2)").css({"display":"block"});
  435.               setInterval(function(){
  436.                 var $active = $(".slideshow-slide li.slide");
  437.                 var $next = $active.next("li").length?$active.next("li"):$(".slideshow-slide li:first");
  438.                 var $nextnext = $next.next("li");
  439.                 $active.fadeOut(0).removeClass("slide");
  440.                 $next.show().addClass("slide");
  441.                 $nextnext.css({"display":"block"});
  442.               },3000);
  443.             });
  444.           </script>
  445.         </div>  
  446.       </div>
  447.     </div>    
  448.   </div>    
  449. </div>    
  450. </body>
  451. {% endblock %}