{% block main %}<style>*,body,ul { margin: 0; padding: 0; }li { list-style: none; }/* ↓ スライドの外枠 */.slide-wrapper_b { width: 100%; height: auto; position: relative; overflow: hidden; /* はみ出したスライドを隠す */ }/* ↓ スライド(コンテンツ) */.slide_b { /*スライド全体 */ width: 800%; height: 100%; display: flex; transition: all 3.0s; }.slide_b div { /* スライド */ width: 12.5%; display: flex; text-align: center; justify-content: center; align-items: center; }.slide_b1 { /* スライドさせるために必要なクラス */ transform: translateX(0); }.slide_b2 { /* スライドさせるために必要なクラス */ transform: translateX(-12.50%); }.slide_b3 { /* スライドさせるために必要なクラス */ transform: translateX(-25.00%); }.slide_b4 { /* スライドさせるために必要なクラス */ transform: translateX(-37.50%); }.slide_b5 { /* スライドさせるために必要なクラス */ transform: translateX(-50.00%); }.slide_b6 { /* スライドさせるために必要なクラス */ transform: translateX(-62.50%); }.slide_b7 { /* スライドさせるために必要なクラス */ transform: translateX(-75.00%); }.slide_b8 { /* スライドさせるために必要なクラス */ transform: translateX(-87.50%); } .slide_b div:nth-of-type(1){ /* 背景色 *//*background-image: url("https://nakatomishop.sakura.ne.jp/prod/MailMagazine/img/sm2025_top.png");*/ background-size: cover; background-color: #fff2e5; }.slide_b div:nth-of-type(2){ /* 背景色 */ background-color: #e5ffe5; }.slide_b div:nth-of-type(3){ /* 背景色 */ background-color: #f8f4e6; }.slide_b div:nth-of-type(4){ /* 背景色 */ background-color: #f7efff; }.slide_b div:nth-of-type(5){ /* 背景色 */ background-color: #fcfcfc; }.slide_b div:nth-of-type(6){ /* 背景色 */ background-color: #efffff; }.slide_b div:nth-of-type(7){ /* 背景色 */ background-color: #f7efff; }.slide_b div:nth-of-type(8){ /* 背景色 */ background-color: #ffffe5; }/* ↓ 左右のボタン */.next_b { position: absolute; width: 15px; height: 15px; right: 10px; bottom: 50%; z-index: 10; cursor: pointer; border-top: solid 3px #000; border-right: solid 3px #000; -webkit-transform: rotate(45deg) translateY(50%); transform: rotate(45deg) translateY(50%); }.prev_b { position: absolute; width: 15px; height: 15px; left: 25px; bottom: 50%; z-index: 10; cursor: pointer; border-top: solid 3px #000; border-right: solid 3px #000; -webkit-transform: rotate(-135deg) translateY(-50%); transform: rotate(-135deg) translateY(-50%); }/* ↓ インジケーター */.indicator_b { width: 100%; position: absolute; bottom: 5px; display: flex; column-gap: 18px; z-index: 10; justify-content: center; align-items: center; }.indicator_b li { width: 10px; height: 10px; border-radius: 50%; list-style: none; background-color: #fff; border: 2px #dcdcdc solid; cursor: pointer; }.indicator_b li:first-of-type { background-color: #000; }.fit-picture_sl { cursor: pointer; width: 10%; padding-top: 0.5%; padding-bottom: 1%; padding-right: 1%; margin-left: -0.4%; }.p_example_sm25_sl_b { font-size: 21px; font-weight: 700; text-align: center; padding-top: 4px; color: #778899; }</style> <html lang="ja"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>スライドショー</title> <link rel="stylesheet" href="styles.css"> </head><body><!-- スライドの外枠 --><div class="slide-wrapper_b"><!-- スライド(コンテンツ) --> <div id="slide_b" class="slide_b"> <div> <p class="p_example_sm25_sl_b">遠赤外線ヒーター【電気】<br> <a href="https://www.nakatomishop.com/products/detail/1400"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/FIH_IFH_SL1.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/products/detail/1401"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/FIH_IFH_SL2.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/products/detail/1402"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/FIH_IFH_SL3.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/products/detail/1403"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/FIH_IFH_SL4.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/products/detail/245"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/FIH_IFH_SL5.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/products/detail/246"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/FIH_IFH_SL6.png" alt="Image 1"></a> </p> </div> <div> <p class="p_example_sm25_sl_b">電気ファンヒーター/灯油ヒーター<br> <a href="https://www.nakatomishop.com/products/list?category_id=3"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/heater_top.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/products/detail/247"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/HEATER_SL1.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/products/detail/248"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/HEATER_SL2.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/products/detail/250"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/HEATER_SL3.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/products/detail/534"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/HEATER_SL4.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/products/detail/705"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/HEATER_SL5.png" alt="Image 1"></a> </p> </div> <div> <p class="p_example_sm25_sl_b">一般(台所)用換気扇<br> <a href="https://www.nakatomishop.com/products/list?category_id=101"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/ventilation_fan.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/products/detail/1404"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/VENTILATION_FAN_SL1.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/products/detail/1405"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/VENTILATION_FAN_SL2.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/products/detail/1406"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/VENTILATION_FAN_SL3.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/products/detail/1407"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/VENTILATION_FAN_SL4.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/products/detail/1408"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/VENTILATION_FAN_SL5.png" alt="Image 1"></a> </p> </div> <div> <p class="p_example_sm25_sl_b">冬でも使える・役立つ製品<br> <a href="https://www.nakatomishop.com/products/list?category_id=100"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/25WINTER_etc_SL1.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/products/detail/1373"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/25WINTER_etc_SL2.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/products/list?category_id=88"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/25WINTER_etc_SL3.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/products/list?category_id=30"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/25WINTER_etc_SL4.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/products/detail/1365"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/25WINTER_etc_SL5.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/products/detail/1366"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/25WINTER_etc_SL6.png" alt="Image 1"></a> </p> </div> <div> <p class="p_example_sm25_sl_b">除湿機<br> <a href="https://www.nakatomishop.com/products/detail/1372"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/DEHUMIDIFIER_SL1.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/products/detail/106"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/DEHUMIDIFIER_SL2.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/products/detail/108"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/DEHUMIDIFIER_SL3.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/products/detail/668"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/DEHUMIDIFIER_SL4.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/products/detail/667"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/DEHUMIDIFIER_SL5.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/products/detail/109"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/DEHUMIDIFIER_SL6.png" alt="Image 1"></a> </p> </div> <div> <p class="p_example_sm25_sl_b">ビッグファン<br> <a href="https://www.nakatomishop.com/products/list?category_id=28"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/BIG_FAN_SL_POP.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/products/detail/1376"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/BIG_FAN_SL1.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/products/detail/1361"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/BIG_FAN_SL2.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/products/detail/1362"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/BIG_FAN_SL3.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/products/detail/1363"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/BIG_FAN_SL4.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/products/detail/1360"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/BIG_FAN_SL5.png" alt="Image 1"></a> </p> </div> <div> <p class="p_example_sm25_sl_b">エアーコンプレッサー<br> <a href="https://www.nakatomishop.com/products/detail/721"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/AIRTEC_SL1.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/products/detail/711"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/AIRTEC_SL2.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/products/detail/712"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/AIRTEC_SL3.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/products/detail/713"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/AIRTEC_SL4.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/products/detail/714"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/AIRTEC_SL5.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/products/detail/715"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/AIRTEC_SL6.png" alt="Image 1"></a> </p> </div> <div> <p class="p_example_sm25_sl_b">SHOP information<br> <a href="https://www.nakatomi-sangyo.com/index.html"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/INFO_SL5.png" alt="Image 1"></a> <a href="https://www.nakatomi-sangyo.com/catalog/index.html"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod//merchandiseimage/25winter/2025winter_catalog.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/user_data/3nenhosyoukiyaku"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/INFO_SL3.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/entry"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/INFO_SL4.png" alt="Image 1"></a> <a href="https://page.line.me/420khjyx?openQrModal=true"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/INFO_SL2.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/user_data/2025spop"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/OP_model.png" alt="Image 1"></a> <a href="https://www.nakatomishop.com/guide"> <img class="fit-picture_sl" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25slider/INFO_SL1.png" alt="Image 1"></a> </p> </div> </div> <!-- 左右のボタン --> <span id="prev_b" class="prev_b"></span> <span id="next_b" class="next_b"></span> <!-- インジケーター --> <ul class="indicator_b" id="indicator_b"> <li class="list_b"></li> <li class="list_b"></li> <li class="list_b"></li> <li class="list_b"></li> <li class="list_b"></li> <li class="list_b"></li> <li class="list_b"></li> <li class="list_b"></li> </ul></div> </body></html><script> const slide_b = document.getElementById('slide_b'); const prev_b = document.getElementById('prev_b'); const next_b = document.getElementById('next_b'); const indicator_b = document.getElementById('indicator_b'); const lists_b = document.querySelectorAll('.list_b'); const totalSlides_b = lists_b.length; let count_b = 0; let autoPlayInterval_b; function updateListBackground_b() { for (let i = 0; i < lists_b.length; i++) { lists_b[i].style.backgroundColor = i === count_b % totalSlides_b ? '#000' : '#fff'; }}function nextClick_b() { slide_b.classList.remove(`slide_b${count_b % totalSlides_b + 1}`); count_b++; slide_b.classList.add(`slide_b${count_b % totalSlides_b + 1}`); updateListBackground_b();}function prevClick_b() { slide_b.classList.remove(`slide_b${count_b % totalSlides_b + 1}`); count_b--; if (count_b < 0) count_b = totalSlides_b - 1; slide_b.classList.add(`slide_b${count_b % totalSlides_b + 1}`); updateListBackground_b();}function startAutoPlay() { autoPlayInterval_b = setInterval(nextClick_b, 8000);}function resetAutoPlayInterval() { clearInterval(autoPlayInterval_b); startAutoPlay();}prev_b.addEventListener('click', () => { prevClick_b(); resetAutoPlayInterval();});next_b.addEventListener('click', () => { nextClick_b(); resetAutoPlayInterval();});indicator_b.addEventListener('click', (event_b) => { if (event_b.target_b.classList.contains('list_b')) { const index_b = Array.from(lists_b).indexOf(event_b.target_b); slide_b.classList.remove(`slide_b${count_b % totalSlides_b + 1}`); count_b = index_b; slide_b.classList.add(`slide_b${count_b % totalSlides_b + 1}`); updateListBackground_b(); resetAutoPlayInterval(); }}); startAutoPlay(); </script>{% endblock %}