rer.php?u=" + encodeURIComponent(shareUrl);
            openWindow(facebookUrl);
        });

        document.getElementById('linkedinButton').addEventListener('click', function() {
            var shareUrl = "https://www.example.com"; // 共有するURLを入力
            var title = "ここにタイトルを入力";
            var summary = "ここに概要を入力";
            var source = "ここにソースを入力";
            var linkedinUrl = "https://www.linkedin.com/shareArticle?mini=true&