1///// IE8-IE10å¯¾å¿ ///// 2function alertIE(){ 3 var ua = navigator.userAgent; 4 if ( ua.indexOf('MSIE 8') !== -1 || ua.indexOf('MSIE 9') !== -1 || ua.indexOf('MSIE 10') !== -1) { 5 $('body').prepend( 6 '<div class="IE">ã使ãã®Internet Explorerã¯å¤ããã¼ã¸ã§ã³ã®ããããã¼ã ãã¼ã¸ãæ£ãã表示ãããªãå¯è½æ§ãããã¾ãã<br>ææ°ã®ãã¼ã¸ã§ã³ã«ã¢ãããã¼ãããããå¥ã®ãã©ã¦ã¶ãããå©ç¨ãã ããã</div>' 7 ); 8 } 9} 10 11//PCã¡ã¬ãããããã¦ã³ 12$(document).ready(function () { 13 //"use strict"; 14 $('.navGlobal > li:has(ul) > a').before("<span class=\"open_icn\"></span>"); 15 $('.navGlobal > li:not(:has(ul))').addClass('arw_icn'); 16 $(".menu-container").before("<button class=\"dl-trigger\">Open Menu<span></span><span></span><span></span><img src=\"/common/img/common/icn_spnav.svg\" alt=\"ã¡ãã¥ã¼ãã¿ã³\"></button>"); 17 $(".navGlobal > li").hover(function (e) { 18 if ($(window).width() > 680) { 19 $(this).addClass('hover'); 20 $(this).children('.MegaDrop').fadeIn(100); 21 no_scroll(); 22 // e.preventDefault(); 23 }; 24 }, function (e) { 25 if ($(window).width() > 680) { 26 $(this).removeClass('hover'); 27 $('.MegaDrop').fadeOut(100); 28 return_scroll(); 29 return false; 30 // e.preventDefault(); 31 } 32 }); 33 $('.megaNavClose').on('click',function() { 34 $('.MegaDrop').hide(); 35 return_scroll(); 36 return false; 37 }); 38 39//ã¹ããã¢ã³ã¼ãã£ãªã³ã¡ãã¥ã¼ 40 $(function(){ 41 $('.dl-trigger').click(function(){ 42 $('.menu').fadeToggle(500); 43 $('.dl-trigger').toggleClass('active'); 44 $('body,html').toggleClass('fixbody'); 45 }); 46 $('.close').click(function(){ 47 $('.menu').fadeToggle(500); 48 $('.dl-trigger').toggleClass('active dl-active'); 49 }); 50 $('.navAnchor').click(function(){ 51 if ($(window).width() < 680) { 52 $('.menu').fadeToggle(500); 53 $('.dl-trigger').toggleClass('active dl-active'); 54 $('body,html').toggleClass('fixbody'); 55 }; 56 }); 57 $('.open_icn').click(function(){ 58 $(this).toggleClass('active').nextAll(".MegaDrop").slideToggle(500); 59 }); 60 }); 61 62}); 63 64 //ã¹ã¯ãã¼ã«åæ¢ 65 function no_scroll(dom){ 66 var scroll_event = 'onwheel' in document ? 'wheel' : 'onmousewheel' in document ? 'mousewheel' : 'DOMMouseScroll'; 67 $(document).on(scroll_event,function(e){e.preventDefault();}); 68 } 69 70 //ã¹ã¯ãã¼ã«ä½å 71 function return_scroll(){ 72 var scroll_event = 'onwheel' in document ? 'wheel' : 'onmousewheel' in document ? 'mousewheel' : 'DOMMouseScroll'; 73 $(document).off(scroll_event); 74 } 75 76//ãã¼ã¸ãããJS 77$(function() { 78 var topBtn = $('#page-top'); 79 topBtn.hide(); 80 //ã¹ã¯ãã¼ã«ã100ã«éããããã¿ã³è¡¨ç¤º 81 $(window).scroll(function () { 82 if ($(this).scrollTop() > 100) { 83 topBtn.fadeIn(); 84 } else { 85 topBtn.fadeOut(); 86 } 87 }); 88 //ã¹ã¯ãã¼ã«ãã¦ããã 89 topBtn.click(function () { 90 $('body,html').animate({ 91 scrollTop: 0 92 }, 600); 93 return false; 94 }); 95}); 96 97//ã¹ã ã¼ãºã¹ã¯ãã¼ã« 98$(function(){ 99 // #ã§å§ã¾ãã¢ã³ã«ã¼ãã¯ãªãã¯ããå ´åã«å¦ç 100 jQuery('a[href^="#"]:not(.non-scroll)').click(function() { 101 // ã¹ã¯ãã¼ã«ã®é度 102 var speed = 800; // ããªç§ 103 // ã¢ã³ã«ã¼ã®å¤åå¾ 104 var href= jQuery(this).attr("href"); 105 // ç§»åå ãåå¾ 106 var target = jQuery(href == "#" || href == "" ? 'html' : href); 107 // ç§»åå ãæ°å¤ã§åå¾ 108 var position = target.offset().top; 109 // ã¹ã ã¼ã¹ã¹ã¯ãã¼ã« 110 jQuery('body,html').animate({scrollTop:position}, speed, 'swing'); 111 }); 112}); 113 114//telã¿ã°PCç¡å¹ 115var ua = navigator.userAgent; 116if (ua.indexOf('iPhone') < 0 && ua.indexOf('Android') < 0) { 117 $('a[href^="tel:"]').css('cursor', 'default').click(function (event) { 118 event.preventDefault(); 119 }); 120} 121 122//ViewPortåãæ¿ã 123$(function(){ 124 var ua = navigator.userAgent; 125 if((ua.indexOf('iPhone') > 0) || ua.indexOf('iPod') > 0 || (ua.indexOf('Android') > 0 && ua.indexOf('Mobile') > 0)){ 126 $('head').prepend('<meta name="viewport" content="width=device-width,initial-scale=1">'); 127 } else { 128 $('head').prepend('<meta name="viewport" content="width=1000">'); 129 } 130}); 131 132//äºæ¥ç´¹ä»ã¢ã³ã¼ãã£ãªã³ 133$(document).ready(function () { 134 $(function(){ 135 $('.AC_btn').click(function(){ 136 $(this).next().slideToggle("slow"); 137 if ($(this).hasClass('ac_active')) { 138 $(this).removeClass('ac_active'); 139 } 140 else { 141 $(this).addClass('ac_active'); 142 } 143 }); 144 }); 145 146}); 147 148 149 150$(document).ready(function (){ 151 $('.all_put').on('click', function(){ 152 $(".AC_btn").next().slideToggle("slow"); 153 if ($(".AC_btn").hasClass('ac_active')) { 154 $(".AC_btn").removeClass('ac_active'); 155 } 156 else { 157 $(".AC_btn").addClass('ac_active'); 158 159 } 160 }) 161}); 162 163 164 165 166//ãµã¤ãã¡ãã¥ã¼ã¢ã³ã¼ãã£ãªã³ 167$(document).ready(function () { 168 $(function(){ 169 $('.nav_more').click(function(){ 170 $('.list_nav_more').fadeToggle(500); 171 $('.nav_more').toggleClass('active'); 172 }); 173 }); 174 175}); 176 177//Googleã¢ããªãã£ã¯ã¹4 2022.06.23 178document.write('
vendor: 63 bytes, line 178
178<script async src="https://www.googletagmanager.com/gtag/js?id=
178G-HZS35WBP83
vendor: 11 bytes, line 178
178"></script>
178'); 179
vendor: 138 bytes, lines 179-183
179window.dataLayer = window.dataLayer || []; 180 function gtag(){dataLayer.push(arguments);} 181 gtag('js', new Date()); 182 183 gtag('config', '
183G-HZS35WBP83
vendor: 7 bytes, lines 183-184
183'); 184
184gtag('config', 'UA-124371163-1'); 185 186 187 188
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.