お問い合わせ

GW休業のお知らせ

誠に勝手ながら下記の期間をGW休業とさせていただきます。

5月1日(土)~5月5日(水)

休業期間中にいただきましたお問合せについては、5月6日(木)以降に順次行ってまいります。ご返答までに少しお時間をいただく場合がございますことを予め了承ください。

// --- スムーズスクロール処理(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); } } } }); });