タイトルとURLをコピーしました
const showStart = new Date("2025-07-11T00:00:00");
const showEnd = new Date("2025-11-27T23:59:59");
const now = new Date();
if (now >= showStart && now <= showEnd) {
window.addEventListener("DOMContentLoaded", function () {
setTimeout(function () {
document.getElementById("saleBanner").style.display = "block";
}, 2000); // 2秒後に表示
});
}