1$(function() { 2/*-----------------------------------------------------------------------------------*/ 3 4/* ãã¼ã¸ãããã¸æ»ã 5 6/*-----------------------------------------------------------------------------------*/ 7 var windowWidth = $(window).width(); 8 var windowSp = 767; 9 if (windowWidth <= windowSp) { 10 //SP 11 $(document).ready(function(){ 12 $(".pagetop").hide(); 13 $(window).on("scroll", function() { 14 if ($(this).scrollTop() > 100) { 15 $(".pagetop").fadeIn("fast"); 16 } else { 17 $(".pagetop").fadeOut("fast"); 18 } 19 scrollHeight = $(document).height(); //ããã¥ã¡ã³ãã®é«ã 20 scrollPosition = $(window).height() + $(window).scrollTop(); //ç¾å¨å° 21 footHeight = $(".footer").innerHeight(); //footerã®é«ãï¼ï¼æ¢ãããä½ç½®ï¼ 22 23 //alert(footHeight); 24 if ( scrollHeight - scrollPosition <= footHeight ) { //ããã¥ã¡ã³ãã®é«ãã¨ç¾å¨å°ã®å·®ãfooterã®é«ã以ä¸ã«ãªã£ãã 25 $(".pagetop").css({ 26 "position":"fixed", //pisitionãabsoluteï¼è¦ªï¼wrapperããã®çµ¶å¯¾å¤ï¼ã«å¤æ´ 27 "bottom": "30px" //ä¸ããfooterã®é«ã + 20pxä¸ããä½ç½®ã«é ç½® 28 }); 29 } else { //ãã以å¤ã®å ´å㯠30 $(".pagetop").css({ 31 "position":"fixed", //åºå®è¡¨ç¤º 32 "bottom": "30px" //ä¸ãã20pxä¸ããä½ç½®ã« 33 }); 34 } 35 }); 36 $('.pagetop').click(function () { 37 $('body,html').animate({ 38 scrollTop: 0 39 }, 400); 40 return false; 41 }); 42 }); 43 44 } else { 45 46 //PC 47 $(document).ready(function(){ 48 $(".pagetop").hide(); 49 $(window).on("scroll", function() { 50 if ($(this).scrollTop() > 150) { 51 $(".pagetop").fadeIn("fast"); 52 } else { 53 $(".pagetop").fadeOut("fast"); 54 } 55 scrollHeight = $(document).height(); //ããã¥ã¡ã³ãã®é«ã 56 scrollPosition = $(window).height() + $(window).scrollTop(); //ç¾å¨å° 57 footHeight = $(".footer").innerHeight(); //footerã®é«ãï¼ï¼æ¢ãããä½ç½®ï¼ 58 59 //alert(footHeight); 60 if ( scrollHeight - scrollPosition <= footHeight - 30 ) { //ããã¥ã¡ã³ãã®é«ãã¨ç¾å¨å°ã®å·®ãfooterã®é«ã以ä¸ã«ãªã£ãã 61 $(".pagetop").css({ 62 "position":"fixed", //pisitionãabsoluteï¼è¦ªï¼wrapperããã®çµ¶å¯¾å¤ï¼ã«å¤æ´ 63 "bottom": footHeight + 20 //ä¸ããfooterã®é«ã + 20pxä¸ããä½ç½®ã«é ç½® 64 }); 65 } else { //ãã以å¤ã®å ´å㯠66 $(".pagetop").css({ 67 "position":"fixed", //åºå®è¡¨ç¤º 68 "bottom": "20px" //ä¸ãã20pxä¸ããä½ç½®ã« 69 }); 70 } 71 }); 72 $('.pagetop').click(function () { 73 $('body,html').animate({ 74 scrollTop: 0 75 }, 400); 76 return false; 77 }); 78 }); 79 80 } 81 82 83/*-----------------------------------------------------------------------------------*/ 84 85/* pagetopã¹ã ã¼ã¹ã¹ã¯ãã¼ã« 86 87/*-----------------------------------------------------------------------------------*/ 88 $('.pagetop a').click(function () { 89 var speed = 500; 90 var href = $(this).attr("href"); 91 var target = $(href == "#" || href == "" ? 'html' : href); 92 var position = target.offset().top; 93 $('body,html').animate({scrollTop:position}, speed, 'swing'); 94 return false; 95 }); 96 97 98/*-----------------------------------------------------------------------------------*/ 99 100/* TELçªå·åãæ¿ã 101 102/*-----------------------------------------------------------------------------------*/ 103 var ua = navigator.userAgent; 104 if(ua.indexOf('iPhone') > 0 || ua.indexOf('Android') > 0){ 105 $('.tel-link').each(function(){ 106 var str = $(this).text(); 107 $(this).html($('<a>').attr('href', 'tel:' + str.replace(/-/g, '')).append(str + '</a>')); 108 }); 109 } 110 111 112/*-----------------------------------------------------------------------------------*/ 113 114/* é«ãæãã 115 116/*-----------------------------------------------------------------------------------*/ 117 $('.nav_inner .box03 li a').matchHeight(); 118 $('.footer .sp_box01 li a').matchHeight(); 119 $('.top_tab_news_area02 .title').matchHeight(); 120 $('.information_tab_area_01 ul li').matchHeight(); 121 $('#top_wrapper .block01 .box02 ul li a p').matchHeight(); 122 $('#member_top .box03 ul li').matchHeight(); 123 $('#member_support .box02 ul li').matchHeight(); 124 125 126/*-----------------------------------------------------------------------------------*/ 127 128/* header 129 130/*-----------------------------------------------------------------------------------*/ 131 //PC search 132 $('.header .right_area #search .search_btn , .header .right_area #search .closebtn').on('click', function(){ 133 $('.header .right_area #search .search_main').toggleClass('show'); 134 }); 135 136/* //TAB,SP search 137 $('.search_btn img').on('click', function(){ 138 $('.search_main').toggleClass('show'); 139 }); 140*/ 141 //PCã¡ã¬ã¡ãã¥ã¼ãããã¼ã§è¡¨ç¤º 142 $(".bottom_box li.nvbtn").hover(function(){ 143 if($(this).hasClass('')){ 144 } else { 145 $(this).addClass("box_open"); 146 $(this).children('ul').css({'opacity':1}); 147 } 148 }, function(){ 149 $(this).removeClass("box_open"); 150 $(this).children('ul').css({'opacity':0}); 151 }); 152 153 //ãã³ãã¼ã¬ã¼ã¡ãã¥ã¼ãã¿ã³ 154 body = $(document.body), 155 menuHeight = $('.nav_inner').outerHeight(); 156 $('.sp_btn , .close').on('click', function(){ 157 $('.sp_btn').toggleClass('active'); 158 $('.nav_inner').toggleClass('open'); 159 if ($('.sp_btn').hasClass('active')) { 160 $('.sp_btn em').html('close'); 161 $('body,html').css({"overflow":"hidden","height":"100%"}); 162 }else{ 163 $('.sp_btn em').html('menu'); 164 $('body,html').css({"overflow":"visible","height":"auto"}); 165 } 166 }); 167 //ãã«ãã¦ã³ 168 $('.nav_inner .menu_nav li span.dropbtn').on('click', function(){ 169 $(this).toggleClass('open'); 170 $(this).next('.dropbox').stop().slideToggle(); 171 }); 172 173 //ã¢ã¼ãã«ã¦ã£ã³ã㦠174 $('body').on('click', '.nav_inner .md_btn', function() { 175 $('.nav_inner .md_main .modal').fadeIn(); 176 }).first().click(); 177 //éãã 178 $('body').on('click', '.nav_inner .md_main .modalClose', function() { 179 $(this).closest(".modal").fadeOut(); 180 }).first().click(); 181 182 183/*-----------------------------------------------------------------------------------*/ 184 185/* ä¸å±¤ãã¼ã¸ 186 187/*-----------------------------------------------------------------------------------*/ 188 /*å ¬æ¼æ å ± 189 ------------------------------------------------*/ 190 var windowWidth = $(window).width(); 191 var windowSp = 767; 192 if (windowWidth <= windowSp) { 193 $('.genrebtn').on('click', function(){ 194 $(this).toggleClass('open'); 195 $(this).next('ul').stop().slideToggle(250); 196 }); 197 $('#genrebtn_box ul li a').on('click', function(){ 198 $(this).parent('li').parent('ul').stop().slideToggle(250); 199 var tabNavi_text_koen = $(this).text(); 200 //alert(tabNavi_text_koen); 201 $('.genrebtn').text(tabNavi_text_koen); 202 }); 203 $('#tabset_tab li a').on('click', function(){ 204 $('.genrebtn').text("å ¨ã¸ã£ã³ã«"); 205 }); 206 } 207 208 209 210 211 /*å ¬æ¼ã«ã¬ã³ãã¼ 212 ------------------------------------------------*/ 213 //ãmore 214 $('.page_calendar .calendar_box03 .calendar_table .in_main p.more_btn').on('click', function(){ 215 $(this).toggleClass("open"); 216 $(this).next(".morebox").stop().slideToggle(); 217 if ($(this).hasClass("open")) { 218 $(this).html("close"); 219 }else{ 220 $(this).html("more"); 221 } 222 }); 223 224 225 /*SP å ¬æ¼ã«ã¬ã³ãã¼ , ãã±ããæ å ± 226 ------------------------------------------------*/ 227 var windowWidth = $(window).width(); 228 var windowSp = 767; 229 if (windowWidth <= windowSp) { 230 //ã¢ã¤ã³ã³ã«ã¤ã㦠231 $('#calendar .calendar_box02 h2 , .page_ticket_info .icon_box h2').on('click', function(){ 232 $(this).toggleClass("open"); 233 $(this).next(".text_box").stop().slideToggle(); 234 }); 235 } 236 237 238 /*SP ãã±ããæ å ± 239 ------------------------------------------------*/ 240 var windowWidth = $(window).width(); 241 var windowSp = 767; 242 if (windowWidth <= windowSp) { 243 //more 244 $('.page_ticket_info .ticket_table_01 p.more_btn').on('click', function(){ 245 $(this).toggleClass("open"); 246 $(this).parent("td").parent("tr").children("td.main_td").stop().slideToggle(); 247 $(this).parent("td").parent("tr").children("td.main_td").css( "display" , "block" ); 248 249 if ($(this).hasClass("open")) { 250 $(this).html("close"); 251 }else{ 252 $(this).html("more"); 253 } 254 }); 255 //ãã¼ãã« 256 $('.ticket_table_01 .mainbox02').prepend('<em class="name">å ¬æ¼ä¼å ´</em>'); 257 $('.ticket_table_01 .mainbox03').prepend('<em class="name">é嬿é</em>'); 258 $('.ticket_table_01 .mainbox04').prepend('<em class="name">ãã±ãã代</em>'); 259 $('.ticket_table_01 .mainbox05').prepend('<em class="name">çºå£²æ¥</em>'); 260 $('.ticket_table_01 .mainbox06').prepend('<em class="name">è³¼å ¥æ¹æ³</em>'); 261 } 262 263 264 /*SP ãç¥ãã 265 ------------------------------------------------*/ 266 var windowWidth = $(window).width(); 267 var windowSp = 767; 268 if (windowWidth <= windowSp) { 269 //ãç¥ãã 270 $('#tab-container-1-nav_box_info p').on('click', function(){ 271 $(this).toggleClass('open'); 272 $('#tab-container-1-nav_box_info ul').stop().slideToggle(250); 273 }); 274 $('#tab-container-1-nav li a').on('click', function(){ 275 var tabNavi_text_news = $(this).text(); 276 //alert(tabNavi_text_news); 277 $('#tab-container-1-nav_box p').text(tabNavi_text_news); 278 }); 279 } 280 281 282 /*財å£ã«ã¤ã㦠| äºæ¥è¨ç»ã»å ±åï¼äºç®ã»æ±ºç®ã»ã 283 ------------------------------------------------*/ 284 $('.page_about_report .acd').on('click', function(){ 285 $(this).toggleClass('open'); 286 $(this).next(".box").stop().slideToggle(); 287 }); 288 289 290/*-----------------------------------------------------------------------------------*/ 291 292/* TOPãã¼ã¸ 293 294/*-----------------------------------------------------------------------------------*/ 295 /*SP ã¿ã 296 ------------------------------------------------*/ 297 var windowWidth = $(window).width(); 298 var windowSp = 767; 299 if (windowWidth <= windowSp) { 300 //ãç¥ãã 301 $('#tab-container-1-nav_box p , #tab-container-1-nav_box ul li').on('click', function(){ 302 $(this).toggleClass('open'); 303 $('#tab-container-1-nav_box ul').stop().slideToggle(); 304 return false;
305 }); 306 //å ¬æ¼æ å ± 307 $('#tab-container-2-nav_box p , #tab-container-2-nav_box ul li').on('click', function(){ 308 $('#tab-container-2-nav_box ul').stop().slideToggle(); 309 return false; 310 }); 311 } 312 313 314 /*ã¹ã©ã¤ã 315 ------------------------------------------------*/ 316 $('.slick01').slick({ 317 autoplay: true, 318 arrows: true, 319 slidesToShow: 3, 320 slidesToScroll: 1, 321 pauseOnFocus: true, 322 pauseOnHover: true, 323 responsive: [ 324 { 325 breakpoint: 1000, 326 settings: { 327 slidesToShow: 2, 328 slidesToScroll: 1 329 } 330 }, 331 { 332 breakpoint: 767, 333 settings: { 334 slidesToShow: 1, 335 slidesToScroll: 1 336 } 337 } 338 ] 339 }); 340 341 /*-----------------------------------------------------------------------------------*/ 342 343 /* å¼çã¢ã¼ãã·ã¢ã¿ã¼éä¿¡SPã¢ã³ã¼ãã£ãªã³ 344 345 /*-----------------------------------------------------------------------------------*/ 346 $('.contentsboxmore').find('.switchTrigger').click(function () { 347 $(this).closest('.contentsboxmore').find('.contentWrap').slideToggle(200); 348 }); 349 350 351 352 353//JSè¨è¿°çµäº 354});
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.