お問い合わせ

野洲市Y様邸

建築面積:218.52㎡(66.10坪)
1階床面積:215.61㎡(65.22坪)
2階床面積:103.29㎡(31.24坪)
延床面積:318.90㎡ (96.46坪)
仕様諸元
木造軸組構法
外壁仕上:土塗真壁造
屋根:三州瓦

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