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

Open in your IDE?
  1. {% block main %}
  2. <style>
  3. .main_box_spd {
  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_spd {
  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_spda {
  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_spd1 {
  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_spd2 {
  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_spd3 {
  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-left: -5%;
  75.       margin-bottom: 6%;
  76. }
  77. .box_spd4 {
  78.       /*background: linear-gradient(176deg,#00cccc 5%, #ffffff 15%, #ffffff 80%, #00cccc);*/
  79.       border-radius: 8px;
  80.       width: 340px;
  81.       height: 340px;
  82.       z-index: 1;
  83.       /*border: solid 1px #dcdcdc;*/
  84.       margin-bottom: 10px;
  85.       margin-top: 20px;
  86. }
  87. .box_spd5 {
  88.       background-color: ;
  89.       width: calc(98% / 6 - 15px);
  90.       height: auto;
  91.       max-height: 160px;
  92.       z-index: 9;
  93.       margin-top: 10px;
  94. }
  95. .box_spd6 {
  96.       width: 100%;
  97. margin-bottom: 0px;
  98. }
  99. .box_spd7 {
  100.         width: 100%;
  101.         max-height: 300px;
  102.         border-radius: 6px;
  103.         margin: 0 auto;
  104.         position: absolute;
  105.         top: 0px;
  106.    }
  107. .pexample_spd {
  108.         font-size: 16px;
  109.         color: #ffffff;
  110.         font-weight: 500;
  111.         height: auto;
  112.         margin-left: px;
  113.         text-align: center;
  114.         margin-top: 10px;
  115.   }  
  116.   .pexample_spd2 {
  117.         font-size: 16px;
  118.         color: #000;
  119.         font-weight: 400;
  120.         height: auto;
  121.         margin-left: px;
  122.         text-align: center;
  123.         margin-top: 3px;
  124.   }   
  125. /*ビデオコントロール*/
  126.   video {
  127.     max-width: auto;
  128.     border-radius: 6px;
  129.      margin: 0 auto;
  130.     position: absolute;
  131.     top: 0px;
  132.    }
  133.   .slide-in10 {
  134.        margin-top: 2vw;
  135.         font-size: 26px;
  136.         font-weight: bold;
  137.         animation: slideIn 2s ease-out;
  138.         color: blue;
  139.         z-index: 9999;
  140.         text-align: center;
  141.         font-weight: 600;
  142.         /*-webkit-text-stroke: 0.1px #fff; 
  143.         text-stroke: 0.1px #fff;*/
  144.         padding-left: 4%;
  145.         padding-right: 4%;
  146.   }
  147.   .slide-in11 {
  148.         font-size: 21px;
  149.         font-weight: bold;
  150.         animation: slideIn 2s ease-out;
  151.         color: #006666;
  152.         z-index: 9999;
  153.         text-align: center;
  154.         font-weight: 600;
  155.         margin-top: -2px;
  156.   }
  157.       .slide-in5b {
  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.   .fadeslide {
  173.     position: relative;
  174.     width: 320px;
  175.     height: 320px;
  176.     overflow: hidden;
  177.     z-index: 0;
  178.   }
  179.   .fadeslide div {
  180.     position: absolute;
  181.     top: 0;
  182.     left: 0;
  183.   }
  184.   @keyframes slideIn {
  185.     0% {
  186.     transform: translateX(-100%);
  187.     opacity: 0;
  188.     }
  189.     100% {
  190.     transform: translateX(0);
  191.     opacity: 1;
  192.     }
  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: #fff;
  293.   background-color: #1b2538;
  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.   height: 16px;
  314.   margin-top: -4px;
  315.   padding-right: 4px;
  316. }
  317. </style>
  318. <html>
  319. <head>
  320.     <meta charset="utf-8">
  321.     <meta name="keywords" content="ナカトミ 除湿器">
  322.     <title>ナカトミヒーター</title>
  323.     <meta name="viewport" content="width=320, height=480, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=yes"/>
  324. </head>
  325. <body>
  326. <div class="main_box_spd">
  327.   <div class="box_spd">
  328.     <div class="box_spd1">
  329.     <details>
  330.       <summary>
  331.         <p class="example_cp">≡</p>
  332.       </summary>  
  333.       <div class="cp_navi01">
  334.         <ul>
  335.           <li><a href="https://www.nakatomishop.com/products/list?category_id=36" class="active">除湿機 コンプレッサー式 </a></li>
  336.           <li><a href="https://www.nakatomishop.com/products/detail/1372">TFDM-25(天吊り/床置き式)</a></li>
  337.           <li><a href="https://www.nakatomishop.com/products/detail/106">DM-10(湿度制御付き)</a></li>
  338.           <li><a href="https://www.nakatomishop.com/products/detail/108">DM-15</a></li>
  339.           <li><a href="https://www.nakatomishop.com/products/detail/668">DM-15C(湿度制御付き)</a></li> 
  340.           <li><a href="https://www.nakatomishop.com/products/detail/667">DM-22</a></li>
  341.           <li><a href="https://www.nakatomishop.com/products/detail/109">DM-30(三相200V)</a></li>
  342.         </ul>
  343.       </div>
  344.     </details> 
  345.     </div>
  346.     <div class="box_spda">
  347.       <div class="box_spd2">
  348.         <div class="box_spd4">
  349.           <div class="fadeslide">
  350.             <div>  
  351.               <a href="https://www.nakatomishop.com/products/detail/1372">
  352.               <img class="slidshow-img" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/TFDM-25_SL2.png" width="320px" alt="スライドショー画像1"></a>
  353.             </div>
  354.             <div>   
  355.               <a href="https://www.nakatomishop.com/products/detail/106">
  356.               <img class="slidshow-img" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/DM-10_SL2.png" width="320px" alt="スライドショー画像2"></a>
  357.             </div>
  358.             <div> 
  359.               <a href="https://www.nakatomishop.com/products/detail/108">
  360.               <img class="slidshow-img" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/DM-15_SL2.png" width="320px" alt="スライドショー画像3"></a>
  361.             </div>
  362.             <div> 
  363.               <a href="https://www.nakatomishop.com/products/detail/668">
  364.               <img class="slidshow-img" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/DM-15C_SL2.png" width="320px" alt="スライドショー画像4"></a>
  365.             </div>
  366.             <div> 
  367.               <a href="https://www.nakatomishop.com/products/detail/667">
  368.               <img class="slidshow-img" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/DM-22_SL2.png" width="320px" alt="スライドショー画像5"></a>
  369.             </div>
  370.             <div> 
  371.               <a href="https://www.nakatomishop.com/products/detail/109">
  372.               <img class="slidshow-img" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/DM-30_SL2.png" width="320px" alt="スライドショー画像6"></a>
  373.             </div>
  374.                         <div>  
  375.               <a href="https://www.nakatomishop.com/products/detail/1372">
  376.               <img class="slidshow-img" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/TFDM-25_SL2.png" width="320px" alt="スライドショー画像7"></a>
  377.             </div>
  378.             <div>   
  379.               <a href="https://www.nakatomishop.com/products/detail/106">
  380.               <img class="slidshow-img" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/DM-10_SL2.png" width="320px" alt="スライドショー画像8"></a>
  381.             </div>
  382.             <div> 
  383.               <a href="https://www.nakatomishop.com/products/detail/108">
  384.               <img class="slidshow-img" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/DM-15_SL2.png" width="320px" alt="スライドショー画像9"></a>
  385.             </div>
  386.             <div> 
  387.               <a href="https://www.nakatomishop.com/products/detail/668">
  388.               <img class="slidshow-img" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/DM-15C_SL2.png" width="320px" alt="スライドショー画像10"></a>
  389.             </div>
  390.             <div> 
  391.               <a href="https://www.nakatomishop.com/products/detail/667">
  392.               <img class="slidshow-img" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/DM-22_SL2.png" width="320px" alt="スライドショー画像11"></a>
  393.             </div>
  394.             <div> 
  395.               <a href="https://www.nakatomishop.com/products/detail/106">
  396.               <img class="slidshow-img" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/DM-30_SL2.png" width="320px" alt="スライドショー画像12"></a>
  397.             </div>
  398.           </div>
  399.           <script>
  400.             $(function(){
  401.               $(".slideshow-slide li").css({"position":"relative"});
  402.               $(".slideshow-slide li").hide().css({"position":"absolute"});
  403.               $(".slideshow-slide li:first").addClass("slide");
  404.               $(".slideshow-slide li:nth-child(2)").css({"display":"block"});
  405.               setInterval(function(){
  406.                 var $active = $(".slideshow-slide li.slide");
  407.                 var $next = $active.next("li").length?$active.next("li"):$(".slideshow-slide li:first");
  408.                 var $nextnext = $next.next("li");
  409.                 $active.fadeOut(0).removeClass("slide");
  410.                 $next.show().addClass("slide");
  411.                 $nextnext.css({"display":"block"});
  412.               },3000);
  413.             });
  414.           </script>
  415.         </div>  
  416.         <div class="box_spd3">
  417.           <div class="box_spd6">
  418.             <div class="slide-in10">コンプレッサー式除湿器/パワフル除湿でカラッと爽快!
  419.             </div>
  420.         </div>
  421.          <div class="box_spd5">
  422.             <p class="pexample_spd">
  423.             <a href="https://www.nakatomishop.com/products/detail/1372">
  424.             <img src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25summer/TFDM-25_150_200.png" width="100%" alt=""></a><p class="pexample_spd2">
  425.                 <img class="fit-picture_n" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25summer/nyuukamachi.png"><font color="red">NEW </font>TFDM-25</p>
  426.           </div>
  427.           <div class="box_spd5">
  428.             <p class="pexample_spd">
  429.             <a href="https://www.nakatomishop.com/products/detail/106">
  430.             <img src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25summer/DM-10_150_200.png" width="100%" alt=""></a><p class="pexample_spd2">DM-10</p>
  431.           </div>
  432.           <div class="box_spd5">
  433.             <p class="pexample_spd">
  434.             <a href="https://www.nakatomishop.com/products/detail/108">
  435.             <img src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25summer/DM-15_150_200.png" width="100%" alt=""></a><p class="pexample_spd2">DM-15</p>
  436.           </div>
  437.           <div class="box_spd5">
  438.             <p class="pexample_spd">
  439.             <a href="https://www.nakatomishop.com/products/detail/668">
  440.             <img src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25summer/DM-15C_150_200.png" width="100%" alt=""></a><p class="pexample_spd2">DM-15C</p>
  441.           </div>
  442.           <div class="box_spd5">
  443.             <p class="pexample_spd">
  444.             <a href="https://www.nakatomishop.com/products/detail/667">
  445.             <img src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25summer//DM-22_150_200.png" width="100%" alt=""></a><p class="pexample_spd2">DM-22</p>
  446.           </div>
  447.           <div class="box_spd5">
  448.             <p class="pexample_spd">
  449.             <a href="https://www.nakatomishop.com/products/detail/109">
  450.             <img src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25summer/DM-30_150_200.png" width="100%" alt=""></a><p class="pexample_spd2">DM-30</p>
  451.           </div>
  452.         </div>
  453.       </div>
  454.     </div>    
  455.   </div>
  456. </div> 
  457. </body>
  458. {% endblock %}