').html( $.parseHTML( newPageRawHTML.match(/
]*>([\s\S.]*)<\/head>/i)[0], document, true ) ); var headTags = [ "meta[name='subject']", "meta[name='robots']", "meta[name='copyright']", "meta[name='keywords']", "meta[name='description']", "meta[itemprop]", "meta[property^='og']", "meta[name^='twitter']", ].join(','); $('head').find(headTags).remove(); $newPageHead.find(headTags).appendTo('head'); var position = $('#bodytop').offset().top; $("html, body").animate({scrollTop:position}, 500, "swing"); $('#barba-wrapper .barba-container').animate({opacity: '1'}, 1000); $('a[name!="_"][href^="#"]').click(function(){ var speed = 500; var href= $(this).attr("href"); var target = $(href == "#" || href == "" ? 'html' : href); var position = target.offset().top; $("html, body").animate({scrollTop:position}, speed, "swing"); return false; });$(function(){ setTimeout(function(){ $(function(){ if($("body.recruit").length){ $('#recruit_slick').not('.slick-initialized').not('.slick-initialized').slick({ infinite: true, arrows: true, dots: false, autoplay: true, autoplaySpeed: 2000, speed: 3000, slidesToShow: 3, slidesToScroll: 1, responsive: [ { breakpoint: 1025, settings: { slidesToShow: 2, slidesToScroll: 1, } }, { breakpoint: 481, settings: { slidesToShow: 1, slidesToScroll: 1, arrows: false, } }, ], }); } if($("#index_slick").length){ $(document).ready(function() { setTimeout(function(){ $('#index_slick').not('.slick-initialized').not('.slick-initialized').slick({ infinite: true, arrows: false, dots: true, autoplay: true, autoplaySpeed: 2000, speed: 3000, slidesToShow: 1, slidesToScroll: 1, mobileFirst: true, responsive: [ { breakpoint: 481, settings: { slidesToShow: 2, slidesToScroll: 1, } }, { breakpoint: 1025, settings: 'unslick', }, ], }); }, 100); }); $(window).on('resize orientationchange', function() { setTimeout(function(){ $('#index_slick').not('.slick-initialized').not('.slick-initialized').slick({ infinite: true, arrows: false, dots: true, autoplay: true, autoplaySpeed: 2000, speed: 3000, slidesToShow: 1, slidesToScroll: 1, mobileFirst: true, responsive: [ { breakpoint: 481, settings: { slidesToShow: 2, slidesToScroll: 1, } }, { breakpoint: 1025, settings: 'unslick', }, ], }); }, 100); }); } if($("#faci_slick1").length){ $(document).ready(function() { setTimeout(function(){ $('#faci_slick1').not('.slick-initialized').not('.slick-initialized').slick({ infinite: true, arrows: false, dots: true, autoplay: true, autoplaySpeed: 2000, speed: 3000, slidesToShow: 1, slidesToScroll: 1, mobileFirst: true, responsive: [ { breakpoint: 481, settings: { slidesToShow: 2, slidesToScroll: 1, } }, { breakpoint: 1025, settings: 'unslick', }, ], }); }, 100); }); $(window).on('resize orientationchange', function() { setTimeout(function(){ $('#faci_slick1').not('.slick-initialized').not('.slick-initialized').slick({ infinite: true, arrows: false, dots: true, autoplay: true, autoplaySpeed: 2000, speed: 3000, slidesToShow: 1, slidesToScroll: 1, mobileFirst: true, responsive: [ { breakpoint: 481, settings: { slidesToShow: 2, slidesToScroll: 1, } }, { breakpoint: 1025, settings: 'unslick', }, ], }); }, 100); }); } if($("#faci_slick2").length){ $(document).ready(function() { setTimeout(function(){ $('#faci_slick2').not('.slick-initialized').not('.slick-initialized').slick({ infinite: true, arrows: false, dots: true, autoplay: true, autoplaySpeed: 2000, speed: 3000, slidesToShow: 1, slidesToScroll: 1, mobileFirst: true, responsive: [ { breakpoint: 481, settings: { slidesToShow: 2, slidesToScroll: 1, } }, { breakpoint: 1025, settings: 'unslick', }, ], }); }, 100); }); $(window).on('resize orientationchange', function() { setTimeout(function(){ $('#faci_slick2').not('.slick-initialized').not('.slick-initialized').slick({ infinite: true, arrows: false, dots: true, autoplay: true, autoplaySpeed: 2000, speed: 3000, slidesToShow: 1, slidesToScroll: 1, mobileFirst: true, responsive: [ { breakpoint: 481, settings: { slidesToShow: 2, slidesToScroll: 1, } }, { breakpoint: 1025, settings: 'unslick', }, ], }); }, 100); }); } });},500); }); $(function(){ if( ($('.inquiry_form').length)||($('.reserve_form').length) ){ $("input:not([type='checkbox']),select,textarea").focusin(function(){ $('.grecaptcha-badge').addClass('keyboard_disp_none'); $('#pagetop').addClass('keyboard_disp_none'); }).focusout(function(){ $('.grecaptcha-badge').removeClass('keyboard_disp_none'); $('#pagetop').removeClass('keyboard_disp_none'); }); } }); return false;});});function onSubmit1(token){ sendInquiry(token); }