1 2//userAgent 3var ua = navigator.userAgent; 4 5//userAgent ããã¤ã¹å¤å® 6var _ua = (function(u){ 7 return { 8 isTablet:(u.indexOf("windows") != -1 && u.indexOf("touch") != -1 && u.indexOf("tablet pc") == -1) 9 || u.indexOf("ipad") != -1 10 || (u.indexOf("android") != -1 && u.indexOf("mobile") == -1) 11 || (u.indexOf("firefox") != -1 && u.indexOf("tablet") != -1) 12 || u.indexOf("kindle") != -1 13 || u.indexOf("silk") != -1 14 || u.indexOf("playbook") != -1, 15 isMobile:(u.indexOf("windows") != -1 && u.indexOf("phone") != -1) 16 || u.indexOf("iphone") != -1 17 || u.indexOf("ipod") != -1 18 || (u.indexOf("android") != -1 && u.indexOf("mobile") != -1) 19 || (u.indexOf("firefox") != -1 && u.indexOf("mobile") != -1) 20 || u.indexOf("blackberry") != -1 21 } 22})(window.navigator.userAgent.toLowerCase()); 23 24//IEã»Edgeå¤å® 25var isEdge = false; 26var userAgent = window.navigator.userAgent.toLowerCase(); 27if( userAgent.match(/(msie|MSIE)/) || userAgent.match(/(T|t)rident/) ) { 28 var isIE = true; 29 var ieVersion = userAgent.match(/((msie|MSIE)\s|rv:)([\d\.]+)/)[3]; 30 ieVersion = parseInt(ieVersion); 31} else { 32 var isIE = false; 33 if(userAgent.indexOf("edge" )!= -1){ 34 isEdge = true; 35 } 36} 37 38//viewportæ¸ãæã 39var baseW = 375; //åºæºã¨ãªããã¬ã¼ã¯ãã¤ã³ã 40function updateMetaViewport(){ 41 var viewportContent; 42 var w = window.outerWidth; 43 if(w < baseW){ 44 viewportContent = "width="+baseW+",shrink-to-fit=yes"; 45 }else{ 46 viewportContent = "width=device-width,shrink-to-fit=yes"; 47 } 48 document.querySelector('meta[name="viewport"]').setAttribute("content", viewportContent); 49} 50//ã¤ãã³ããã³ãã©ç»é² 51window.addEventListener("resize", updateMetaViewport, false); 52window.addEventListener("orientationchange", updateMetaViewport, false); 53//ååã¤ãã³ãå¼·å¶çºå 54var ev = document.createEvent("UIEvent"); 55ev.initEvent("resize", true, true) 56window.dispatchEvent(ev); 57 58 59//ãã¤ã¢ãã° 60function externalDialog($url) { 61 if( confirm("ããããã¯å¤é¨ã®webãµã¤ãã«ãªãã¾ãã\nãç¾ååéè¡ãã®webãµã¤ãã§ã¯ãããã¾ããã") ) { 62 //window.location.href = $url; 63 window.open($url,'_blank') 64 } 65} 66 67//é åã®éè¤ãåé¤ 68function removeArrayDuplicates(array) { 69 var exist = {}, 70 result = []; 71 72 for (var i = 0, l = array.length; i < l; i++) { 73 var tmp = array[i]; 74 75 if (!exist[tmp]) { 76 exist[tmp] = true; 77 result.push(tmp); 78 } 79 } 80 81 return result; 82} 83 84(function($){ 85 $(function(){ 86 //颿°ï¼æååãã¨ã¹ã±ã¼ããã 87 (function (w) { 88 var reRegExp = /[\\^$.*+?()[\]{}|]/g, 89 reHasRegExp = new RegExp(reRegExp.source); 90 function escapeRegExp(string) { 91 return (string && reHasRegExp.test(string)) 92 ? string.replace(reRegExp, '\\$&') 93 : string; 94 } 95 w.escapeRegExp = escapeRegExp; 96 })(window); 97 98 //iOS ãªã³ã¯ã®ããã«ã¿ãããã° 99 if(/iPhone|iPad|iPod/.test(ua)) { 100 $("body").addClass("_ios"); 101 } 102 103 //tellink PCç¡å¹ 104 if(!_ua.isMobile){ 105 $(".-telink").on('click', function(){ 106 return false; 107 }); 108 } 109 110 //ã°ãã¼ãã«ã¡ãã¥ã¼ãã¤ã©ã¤ã 111 $(".gnav-list > li:not(.lang)").each(function(i){ 112 $(this).attr("id","menu"+i); 113 }); 114 var pageId = $("body").attr("id"); 115 var gmenu = ""; 116 switch(pageId){ 117 case "pg-topIndex" : 118 gmenu = $('#menu0 > a'); 119 break; 120 case "pg-personal" : 121 case "pg-atm" : 122 case "pg-support" : 123 gmenu = $('#menu1 > a'); 124 break; 125 case "pg-business" : 126 gmenu = $('#menu2 > a'); 127 break; 128 case "pg-ir" : 129 gmenu = $('#menu3 > a'); 130 break; 131 case "pg-company" : 132 gmenu = $('#menu4 > a'); 133 break; 134 case "pg-recruit" : 135 gmenu = $('#menu6 > a'); 136 break; 137 case "pg-esgsdgs" : 138 gmenu = $('#menu5 > a'); 139 break; 140 } 141 if(gmenu!==undefined && gmenu!==""){ 142 gmenu.addClass("-current"); 143 } 144 145 //ã¡ã¬ã¡ãã¥ã¼ 146 var headerNav = $('.header-nav, .header-nav-personal'); 147 headerNav.find('.navBtn.-megamenu').on('click', function () { 148 var mmenu = $(this).attr('href'); 149 if(!$(this).hasClass("-open")) { 150 headerNav.find('.navBtn.-megamenu').removeClass('-open'); 151 $('.header-megamenu').removeClass('-open'); 152 $(this).addClass("-open"); 153 $(mmenu).addClass("-open"); 154 } else { 155 headerNav.find('.navBtn.-megamenu').removeClass('-open'); 156 $('.header-megamenu').removeClass('-open'); 157 } 158 return false;
159 }); 160 //éãã 161 $('.header-megamenu a, .header-megamenu .closeBtn').on('click', function () { 162 headerNav.find('.navBtn.-megamenu').removeClass('-open'); 163 $('.header-megamenu').removeClass('-open'); 164 }); 165 166 //å人åããã°ã¤ã³ 167 $('.header-login .loginBtn1, .header-login .header-login-personal').hover(function(){ 168 if($(window).width() > 960){ 169 $('.header-login .loginBtn1').addClass("-current"); 170 $('.header-login .header-login-personal').stop().fadeIn(300); 171 } 172 }, function() { 173 if($(window).width() > 960){ 174 $('.header-login .loginBtn1').removeClass("-current"); 175 $('.header-login .header-login-personal').stop().fadeOut(300); 176 } 177 }); 178 179 //æ³äººåããã°ã¤ã³ 180 $('.header-login .loginBtn2, .header-login .header-login-business').hover(function(){ 181 if($(window).width() > 960){ 182 $('.header-login .loginBtn2').addClass("-current"); 183 $('.header-login .header-login-business').stop().fadeIn(300); 184 } 185 }, function() { 186 if($(window).width() > 960){ 187 $('.header-login .loginBtn2').removeClass("-current"); 188 $('.header-login .header-login-business').stop().fadeOut(300); 189 } 190 }); 191 192 //PAGETOP 㸠193 //ååã»ãµã¼ãã¹ - ãç³ãè¾¼ã¿ è¿½å¾ 194 var pageTopOffset; 195 if($(".page-container").length) { 196 pageTopOffset = $(".page-container").offset().top; 197 } else { 198 pageTopOffset = 200; 199 } 200 var pageTopBtn = $('.page-top, .personal-fixed-entry, .nav-leftmenu'); 201 $(window).on("scroll", function () { 202 if ($(this).scrollTop() > pageTopOffset) { 203 pageTopBtn.addClass('-active'); 204 } else { 205 pageTopBtn.removeClass('-active'); 206 } 207 }); 208 209 //ãã§ãã¯ããã¯ã¹æ±ç¨ 210 $(".input-checkbox:checked").parent("label").addClass("-select"); 211 $(".input-checkbox").on('click', function(){ 212 if($(this).parent("label").hasClass('-select')){ 213 $(this).parent("label").removeClass("-select"); 214 $(this).prop("checked",false); 215 }else{ 216 $(this).parent("label").addClass("-select"); 217 $(this).prop("checked",true); 218 } 219 }); 220 221 //ã©ã¸ãªãã¿ã³æ±ç¨ 222 $(".input-radio:checked").parent("label").addClass("-select"); 223 $('.input-radio').on('click', function() { 224 var label = $(this).parent('label'); 225 label.parents('ul').find('.-select').removeClass('-select').find("input").prop("checked",false); 226 label.addClass('-select'); 227 $(this).prop("checked",true); 228 }); 229 230 //ã¬ããã¡ãã¥ã¼ 231 initLeftMenu(); 232 233 //å¤é¨ãµã¤ã ãã¤ã¢ãã°ã表示 234 $('a[href^=http]:not(.-nodialog), a[href^="//"]:not(.-nodialog), a.-dialog').on('click', function() { 235 if(!$(this).hasClass("-disable")) { 236 var href = $(this).attr('href'); 237 var linktype = $(this).attr('target'); 238 var domain = new RegExp(escapeRegExp(location.hostname)); 239 var exception = function($exDomain){ 240 return href.match(new RegExp(escapeRegExp($exDomain))); 241 }; 242 if(linktype == "_blank" && !href.match(domain) && 243 //é¤å¤ãããã¡ã¤ã³ 244 !exception("www.inb.114bank.chance.co.jp") && 245 !exception("www.b2b.114bank.chance.co.jp") && 246 !exception("www.bizsol.anser.ne.jp") && 247 !exception("www.squet.jp") && 248 !exception("www.squet.ne.jp") && 249 !exception("tsnkz.114bank.co.jp") && 250 !exception("114bank.my.site.com") && 251 !exception("12000d.jp") && 252 !exception("search-114bank.dga.jp") && 253 !exception("mirai.114bank.co.jp") && 254 !exception("maps.google.co.jp") 255 ){ 256 if($('#dialog').length===0){ 257 $('body').append('<div id="dialog" class="mfp-hide modal-dialog"><p class="heading-b">å¤é¨ãµã¤ãã«ç§»åãã¾ã</p><p class="text-a">ããããå ã¯ãç¾ååéè¡ãã®Webãµã¤ãã§ã¯ãããã¾ããã<br class="_hide-sp">ç§»åããå ´åã¯ãç§»åããããã¿ã³ãæ¼ãã¦ãé²ã¿ãã ããã</p><a href="#" class="btn-a -large dialog-movebtn" id="dialog_href" target="_blank" onclick="$.magnificPopup.close();"><span class="txt">ç§»åãã</span></a><a href="javascript:void(0)" class="btn-c dialog-backbtn" onclick="$.magnificPopup.close();"><span class="txt">æ»ã</span></a></div>'); 258 } 259 $('#dialog_href').attr('href',href); 260 $.magnificPopup.open({ 261 items: {src: "#dialog"}, 262 type: 'inline', 263 showCloseBtn: false, 264 },0); 265 $('.mfp-bg').addClass('-dialog'); 266 return false;
267 //if(!isIE){ 268 // externalDialog(href); 269 // return false; 270 //} 271 } 272 } 273 }); 274 275 // pushState 276 var stateID = function($state){ 277 var steyPath = location.pathname; 278 window.history.replaceState('', '', steyPath + '#' + $state); 279 //window.history.pushState(); 280 }; 281 $("a:not([href^=#])").on('click', function() { 282 var type = $(this).closest(".js-panel, .ac-body, .ac-box, .loan-tab-content, .js-consult-tab, .js-question-wrap, .finance-content-box"); 283 if(type.hasClass('js-panel')){ 284 var tab = $('.js-panel .panel').index($(this).closest(".js-panel >.panel")); 285 var thisID = $('.js-tab .tabBtn').eq(tab).attr("id"); 286 287 } else if(type.hasClass('ac-body')) { 288 var thisID = type.prev('.ac-head').attr("id"); 289 290 } else if(type.hasClass('ac-box')) { 291 var thisID = type.attr("id"); 292 293 } else if(type.hasClass('loan-tab-content')) { 294 var tab = type.find('>.js-loan-slider').index($(this).closest(".loan-tab-content >.js-loan-slider")); 295 var thisID = type.find('>.js-loan-slider').eq(tab).attr("id"); 296 297 } else if(type.hasClass('js-consult-tab')) { 298 var tab = type.find('>.slider-carousel').index($(this).closest(".js-consult-tab >.slider-carousel")); 299 var thisID = type.find('>.slider-carousel').eq(tab).attr("id"); 300 301 } else if(type.hasClass('js-question-wrap')) { 302 var thisID = $('.btn-consult').attr("id"); 303 304 } else if(type.hasClass('finance-content-box')) { 305 var val = type.closest(".js-panel >.panel").find('.finance-btn.-active').data('filter'); 306 if(val != "all"){ 307 var thisID = val; 308 } else { 309 var tab = $('.js-panel >.panel').index($(this).closest(".js-panel >.panel")); 310 var thisID = $('.js-tab .tabBtn').eq(tab).attr("id"); 311 } 312 } 313 if(thisID != undefined) { 314 stateID(thisID); 315 } 316 //console.log(thisID); return false; 317 }); 318 319 320 $('.loan-top-noti .head img').click(function (e) { 321 e.preventDefault(); 322 $(this).closest('.loan-top-noti').hide(); 323 if($('.mfp-bg').hasClass('mfp-ready')) { 324 $('.mfp-bg').hide(); 325 } 326 }); 327 328 $('.loan-top-noti .foot a').click(function (e) { 329 $(this).closest('.loan-top-noti').css({ zIndex: 0, visibility: 'hidden'}); 330 }); 331 332 $('#noti-modal .js-close').click(function (e) { 333 e.preventDefault(); 334 $('.loan-top-noti').removeAttr('style'); 335 }); 336 337 338 // å¥ãã¼ã¸ããã®ã¢ã³ã«ã¼ãªã³ã¯ 339 var urlHash = location.hash; 340 if(urlHash) { 341 $('body,html').stop().scrollTop(0); 342 setTimeout(function () { 343 var target = $(urlHash); 344 //var position = Math.floor(target.offset().top) - $('#site-header').height(); 345 var position = Math.floor(target.offset().top); 346 $('body,html').stop().animate({scrollTop:position}, 0); 347 }, 100); 348 } 349 350 if(location.href.indexOf("file")==0){ 351 var url = "file://" + location.hostname + location.pathname + location.search; 352 }else if(location.href.indexOf("https")==0){ 353 var url = "https://" + location.hostname + location.pathname + location.search; 354 }else{ 355 var url = "http://" + location.hostname + location.pathname + location.search; 356 } 357 $("a[href*=#],area[href*=#]").on('click', function() { 358 var id = this.href.substring(this.href.indexOf('#'),this.href.length); 359 var hrefUrl = this.href.split(id); 360 if($(this).is('.js-anchor-ac')) return false; 361 if(String(hrefUrl[0]) == String(url)) { 362 var hash = this.hash; 363 if(!hash || hash == "#") { 364 return false; 365 }else if(id.match(/^#mmenu/) || $(this).is('.js-popup-modal')) { 366 return false; 367 }else if($(this).is('.js-noAnchor')) { 368 }else if(id == '#inbox') { 369 $('html, body').animate({scrollTop: 0}, 1000, "easeOutQuart"); 370 return false; 371 }else if(id != "#"){ 372 $('html, body').animate({scrollTop: $(hash).offset().top}, 1000, "easeOutQuart"); 373 return false; 374 } 375 } 376 }); 377 378 // resize check exec 379 //$(window).on('resize', function () { 380 // if (resizeTimer !== false) { 381 // clearTimeout(resizeTimer); 382 // } 383 // resizeTimer = setTimeout(function() { 384 // checkWindowSize(); 385 // }, 200); 386 //}); 387 }); 388 389 390 // on Load event 391 $(window).on('load resize', function(){ 392 // resize check exec 393 if (resizeTimer !== false) { 394 clearTimeout(resizeTimer); 395 } 396 resizeTimer = setTimeout(function() { 397 checkWindowSize(); 398 }, 100); 399 }); 400 401 402 //ã¬ããã¡ãã¥ã¼ 403 var primaryBtn = '.nav-leftmenu >.primary >li >.btn'; 404 var secondBtn = '.nav-leftmenu-second >li >.link'; 405 var second = '.nav-leftmenu >.second'; 406 var third = '.nav-leftmenu-third'; 407 var initLeftMenu = function () { 408 firstState(); 409 $(primaryBtn).hover(function () { 410 var secondID = $(this).data('leftmenu'); 411 $(primaryBtn).removeClass('-active'); 412 $(this).addClass('-active'); 413 $(second).hide(); 414 $("#"+secondID).show(); 415 $(third).hide(); 416 }); 417 $(secondBtn).hover(function () { 418 $(third).hide(); 419 $(this).next(third).show(); 420 }); 421 $('.nav-leftmenu').hover(null, function () { 422 firstState(); 423 }); 424 } 425 //åæå 426 var firstState = function () { 427 $(primaryBtn).removeClass('-active'); 428 $(second).hide(); 429 $(third).hide(); 430 } 431 432 //ãã³ãã¼ã¬ã¼ã¡ãã¥ã¼ 433 var state = false;
434 var scrollpos; 435 $(function(){ 436 //ã¹ããã¡ãã¥ã¼ 437 var swiper_spMenu = new Swiper('#swiper-spMenu', { 438 direction: 'vertical', 439 slidesPerView: 'auto', 440 mousewheel: { 441 forceToAxis: true, 442 }, 443 freeMode: { 444 enabled: true, 445 }, 446 }); 447 448 var spMenu = $('#sp-nav'), 449 spMenuBtn = $('#js-sp-menuButton'); 450 451 //ãã°ã¤ã³ã¡ãã¥ã¼ 452 var swiper_spLogin = new Swiper('#swiper-spLogin', { 453 direction: 'vertical', 454 slidesPerView: 'auto', 455 mousewheel: { 456 forceToAxis: true, 457 }, 458 freeMode: { 459 enabled: true, 460 }, 461 }); 462 var spLogin = $('#sp-login'), 463 spLoginBtn = $('#js-sp-loginButton'); 464 465 //ã¹ããã¡ãã¥ã¼ãéã 466 spMenuBtn.on('click', function(){ 467 spMenu.stop().slideToggle(500,"swing"); 468 $(this).toggleClass("-open"); 469 //ã¢ã¼ãã«ä¸ã¯ã¹ã¯ãã¼ã«ãç¡å¹ã« 470 if(state == false) { 471 scrollpos = $(window).scrollTop(); 472 $('body').addClass('-fixed').css({'top': -scrollpos}); 473 state = true; 474 } else if(spLoginBtn.hasClass("-open")) { 475 spLogin.slideUp(500,"swing"); 476 spLoginBtn.removeClass("-open"); 477 } else { 478 $('body').removeClass('-fixed').css({'top': 0}); 479 window.scrollTo( 0 , scrollpos ); 480 state = false; 481 } 482 setTimeout(function(){ 483 if($('#swiper-spMenu').length){ 484 swiper_spMenu.update(); 485 } 486 },500); 487 }); 488 //ã¢ã³ã¼ãã£ãªã³ 489 spMenu.find(".head").each(function(){ 490 $(this).removeClass("-open").next("").hide(); 491 }); 492 spMenu.find('.head').on('click', function(){ 493 $(this).toggleClass("-open").next("").stop().slideToggle(300,"swing"); 494 setTimeout(function(){ 495 if($('#swiper-spMenu').length){ 496 swiper_spMenu.update(); 497 } 498 },500); 499 }); 500 //éãã 501 $('.js-sp-menuClose').on('click', function(){ 502 spMenu.slideUp(500,"swing"); 503 spMenuBtn.removeClass("-open"); 504 $('body').removeClass('-fixed').css({'top': 0}); 505 window.scrollTo( 0 , scrollpos ); 506 state = false; 507 }); 508 509 //ãã°ã¤ã³ã¡ãã¥ã¼ãéã 510 spLoginBtn.on('click', function(){ 511 spLogin.stop().slideToggle(500,"swing"); 512 $(this).toggleClass("-open"); 513 //ã¢ã¼ãã«ä¸ã¯ã¹ã¯ãã¼ã«ãç¡å¹ã« 514 if(state == false) { 515 scrollpos = $(window).scrollTop(); 516 $('body').addClass('-fixed').css({'top': -scrollpos}); 517 state = true; 518 } else if(spMenuBtn.hasClass("-open")) { 519 spMenu.slideUp(500,"swing"); 520 spMenuBtn.removeClass("-open"); 521 } else { 522 $('body').removeClass('-fixed').css({'top': 0}); 523 window.scrollTo( 0 , scrollpos ); 524 state = false; 525 } 526 setTimeout(function(){ 527 if($("#swiper-spLogin").length){ 528 swiper_spLogin.update(); 529 } 530 },500); 531 }); 532 //éãã 533 $('.js-sp-loginClose').on('click', function(){ 534 spLogin.slideUp(500,"swing"); 535 spLoginBtn.removeClass("-open"); 536 $('body').removeClass('-fixed').css({'top': 0}); 537 window.scrollTo( 0 , scrollpos ); 538 state = false; 539 }); 540 }); 541 542 543 $(function() { 544 // tile ã°ã«ã¼ã 545 $(".js-gridtile").each(function() { 546 var length = 6; 547 for (var x = 1; x < length; x++){ 548 $(this).find(">.col"+x+" .js-griditem").each(function(i) { 549 var y = $(this).closest(".col"+x).find(".js-griditem").length; 550 if(i % y == 0){ 551 $(this).addClass("js-griditem-a"); 552 } else if(i % y == 1){ 553 $(this).addClass("js-griditem-b"); 554 } else if(i % y == 2){ 555 $(this).addClass("js-griditem-c"); 556 } else if(i % y == 3){ 557 $(this).addClass("js-griditem-d"); 558 } else if(i % y == 4){ 559 $(this).addClass("js-griditem-e"); 560 } 561 // console.log(y); 562 }); 563 } 564 }); 565 }); 566 567 // resize check exec 568 var resizeTimer = false; 569 function checkWindowSize(){ 570 var windowW = $(window).width(); 571 //.grid-a, .grid-b æ±ç¨ 572 if(windowW > 960 ){ 573 $(".js-gridtile:visible").each(function(i) { 574 var length = 6; 575 for (var x = 1; x < length; x++){ 576 $(this).find(">.col"+x+" .js-griditem-a").tile(x); 577 $(this).find(">.col"+x+" .js-griditem-b").tile(x); 578 $(this).find(">.col"+x+" .js-griditem-c").tile(x); 579 $(this).find(">.col"+x+" .js-griditem-d").tile(x); 580 $(this).find(">.col"+x+" .js-griditem-e").tile(x); 581 } 582 $(this).find(">.col2 >.card-a >.title").tile(2); 583 $(this).find(">.col3 >.card-a >.title").tile(3); 584 $(this).find(">.col4 >.card-a >.title").tile(4); 585 $(this).find(">.col2 >.tile-b >.copy").tile(2).css({'display':'flex','justify-content':'center','align-items':'center'}); 586 $(this).find(">.col3 >.tile-b >.copy").tile(3).css({'display':'flex','justify-content':'center','align-items':'center'}); 587 $(this).find(">.col4 >.tile-b >.copy").tile(4).css({'display':'flex','justify-content':'center','align-items':'center'}); 588 $(this).find(">.col2 >.card-a >.body").tile(2); 589 $(this).find(">.col3 >.card-a >.body").tile(3); 590 $(this).find(">.col4 >.card-a >.body").tile(4); 591 $(this).find(">.col2 >*").tile(2); 592 $(this).find(">.col3 >*").tile(3); 593 $(this).find(">.col4 >*").tile(4); 594 }); 595 } else { 596 $(".js-gridtile .js-griditem").height("auto"); 597 $(".js-gridtile").find(".card-a >.title").height("auto"); 598 $(".js-gridtile").find(".card-a >.copy").height("auto").css({'display':'block'}); 599 $(".js-gridtile").find(".card-a >.body").height("auto"); 600 $(".js-gridtile >.col2").children().height("auto"); 601 $(".js-gridtile >.col3").children().height("auto"); 602 $(".js-gridtile >.col4").children().height("auto"); 603 } 604 //flow-step-a 605 if(windowW > 960 ){ 606 $(".js-gridtile").each(function() { 607 $(this).find(">.col >.flow-step-a >.details >.title").tile(3).css({'display':'flex','justify-content':'center','align-items':'center'}); 608 $(this).find(">.col >.flow-step-a >.details").tile(3); 609 }); 610 $(".invest-ideco-application-card").each(function() { 611 $(this).find(">.invest-ideco-application-request >.inner >.text").tile(3); 612 }); 613 } else { 614 $(".js-gridtile").find(">.col >.flow-step-a >.details >.title").height("auto").css({'display':'block'}); 615 $(".js-gridtile").find(">.col >.flow-step-a >.details").height("auto"); 616 $(".invest-ideco-application-card").find(".inner >.text").height("auto"); 617 } 618 //ã³ã³ãã¼ã¸ã§ã³ 619 if(windowW > 960 ){ 620 $(".cv-contact-a").each(function() { 621 $(this).find(".cv-card-a >.title").tile(); 622 $(this).find(".cv-card-e >.body").tile(); 623 $(this).find(".cv-card-a, .cv-card-b, .cv-card-c, .cv-card-d, .cv-card-e").tile(); 624 }); 625 } else { 626 $(".cv-contact-a").find(".cv-card-a >.title").height("auto"); 627 $(".cv-contact-a").find(".cv-card-e >.body").height("auto"); 628 $(".cv-contact-a").find(".cv-card-a, .cv-card-b, .cv-card-c, .cv-card-d, .cv-card-e").height("auto"); 629 } 630 // ããã 631 if(windowW > 960 ){ 632 $(".home-showcase").each(function() { 633 $(this).find(".home-showcase-card >.body").tile(); 634 }); 635 } else { 636 $(".home-showcase").find("home-showcase-card >.body").height("auto"); 637 } 638 // æ³äººã®ã客ãã¾ ããã 639 $(".js-gridtile").each(function() { 640 $(this).find(">.swiper-slide >.tile-f >.copy").tile(3).css({'display':'flex','justify-content':'center','align-items':'center'}); 641 $(this).find(">.swiper-slide >.tile-f").tile(3); 642 }); 643 // ä¿éº ããã 644 if(windowW > 960 ){ 645 $(".js-gridtile").each(function() { 646 $(this).find(">.col3 >.card-insurance-suit >.detail >.heading-f").tile(3).css({'display':'flex','justify-content':'center','align-items':'center'}); 647 $(this).find(">.col3 >.card-insurance-suit >.detail").tile(3); 648 }); 649 } else { 650 $(".js-gridtile").find(".card-insurance-suit >.detail >.heading-f").height("auto").css({'display':'block'}); 651 $(".js-gridtile").find(".card-insurance-suit >.detail").height("auto"); 652 } 653 //114ãã¤ã¬ã¯ã 654 if(windowW > 960 ){ 655 $(".direct-rapport-wrap").each(function() { 656 $(this).find(".direct-rapport-box").tile(2); 657 }); 658 } else { 659 $(".direct-rapport-wrap").find(".direct-rapport-box").height("auto"); 660 } 661 //114 Salut Station 662 if(windowW > 960 ){ 663 $(".salut-login-wrap").each(function() { 664 $(this).find(".salut-login-box").tile(2); 665 }); 666 } else { 667 $(".salut-login-wrap").find(".salut-login-box").height("auto"); 668 } 669 //æ¡ç¨æ å ± - æ°åæ¡ç¨ 670 if(windowW > 960 ){ 671 $(".recruit-image-team >.grid, .recruit-image-first >.grid").each(function() { 672 $(this).find(".recruit-image-card").tile(3); 673 }); 674 } else { 675 $(".recruit-image-team >.grid, .recruit-image-first >.grid").find(".recruit-image-card").height("auto"); 676 } 677 //åºèã»ATMä¸è¦§ 678 if(windowW > 960 ){ 679 $(".atm-filter-grid").each(function() { 680 $(this).find(">.col2 >*").tile(2); 681 $(this).find(">.col1 >*").attr("style",""); 682 }); 683 } else { 684 $(".atm-filter-grid").each(function() { 685 $(this).find(">.col2 >*").tile(2); 686 $(this).find(">.col1 >*").tile(2); 687 }); 688 } 689 //ç¾ååéè¡ã«ã¤ã㦠- ãã£ã¨ç¾ååéè¡ãç¥ã 690 if(windowW > 960 ){ 691 $(".company-effort").each(function() { 692 $(this).find(".company-effort-box").tile(2); 693 }); 694 } else { 695 $(".company-effort .company-effort-box").attr("style",""); 696 } 697 //æ¡ç¨æ å ± 698 if(windowW > 960 ){ 699 $(".recruit-index-grid").each(function() { 700 $(this).find(".recruit-index-card >.box >.lead").tile(); 701 $(this).find(".recruit-index-card >.box").tile(); 702 }); 703 } else { 704 $(".recruit-index-grid .recruit-index-card >.box >.lead").height("auto"); 705 $(".recruit-index-grid .recruit-index-card >.box").height("auto"); 706 } 707 if(windowW > 960 ){ 708 $(".recruit-graduates-grid").each(function() { 709 $(this).find(".recruit-graduates-card >.box >.lead").tile(); 710 $(this).find(".recruit-graduates-card >.box").tile(); 711 }); 712 } else { 713 $(".recruit-graduates-grid .recruit-graduates-card >.box >.lead").height("auto"); 714 $(".recruit-graduates-grid .recruit-graduates-card >.box").height("auto"); 715 } 716 //æ¡ç¨æ å ±ï¼æ°åæ¡ç¨ï¼å ¥è¡å¾ã®ã¤ã¡ã¼ã¸ 717 if(windowW > 960 ){ 718 $(".recruit-image-case").each(function() { 719 $(this).find(".body").tile(2); 720 }); 721 } else { 722 $(".recruit-image-case-card .body").attr("style",""); 723 } 724 725 //ãç¸è«ã»ãç³ãè¾¼ã¿ãè¿½å¾ 726 if($(".personal-fixed-entry").length) { 727 var inboxBottom = $(".personal-fixed-entry").height(); 728 $("body >.inbox").css('padding-bottom',inboxBottom); 729 $(".page-top").css('bottom',inboxBottom +10); 730 } 731 732 //ã¹ããã¡ãã¥ã¼ 733 if(($("#swiper-spMenu").length || $("#swiper-spLogin").length) && windowW>960 && state!=false){ 734 $('#sp-nav').hide(); 735 $('#js-sp-menuButton').removeClass("-open"); 736 $('#sp-login').hide(); 737 $('#js-sp-loginButton').removeClass("-open"); 738 $('body').removeClass('-fixed').css({'top': 0}); 739 window.scrollTo(0,scrollpos); 740 state = false;
741 } 742 } 743 $(document).on('click','.ac-head',function(){ 744 setTimeout(function(){ 745 checkWindowSize(); 746 },400); 747 }); 748 // æ³äººã®ã客ãã¾ ããã 749 $(document).on('click','.list-btn-consult .btn-c',function(){ 750 checkWindowSize(); 751 }); 752 $(document).on('change','.js-consult-tab-select',function(){ 753 checkWindowSize(); 754 }); 755})(jQuery);
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.