お問い合わせ

冬季休業のお知らせ

【冬季休業のおしらせ】

平素は格別のご愛顧いただき誠にありがとうございます。
誠に勝手ながら、下記の期間休業とさせていただきます。
大変ご迷惑をおかけしますが、ご理解の程よろしくお願いします。

12月29日(土) ~ 1月5日(日)

// --- スムーズスクロール処理(Elementorポップアップ対応) --- function scrollToAnchor(targetID) { const target = document.querySelector(targetID); if (target) { const y = target.getBoundingClientRect().top + window.pageYOffset - OFFSET; window.scrollTo({ top: y, behavior: "smooth" }); history.replaceState(null, null, targetID); } } // 通常のアンカーリンクすべてに対応(ポップアップ内外問わず) document.querySelectorAll('a[href^="#"], a[href*="#"]').forEach(link => { link.addEventListener("click", function (e) { const href = link.getAttribute("href"); if (!href || !href.includes("#")) return; const url = new URL(href, window.location.origin); const hash = url.hash; const samePage = url.pathname === window.location.pathname; if (hash && samePage) { const targetID = hash; const targetElement = document.querySelector(targetID); if (targetElement) { e.preventDefault(); // ポップアップ内なら閉じる if (link.closest('.elementor-popup-modal')) { if (typeof jQuery !== 'undefined' && typeof jQuery.magnificPopup !== 'undefined') { jQuery.magnificPopup.close(); } setTimeout(() => { scrollToAnchor(targetID); }, 400); // ポップアップ閉じ後にスクロール } else { // 通常のアンカー移動 scrollToAnchor(targetID); } } } }); });