<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/*---------------------------------------------
  モバイル判定
  ---------------------------------------------*/
$(function(){
    var ua = navigator.userAgent;
    if((ua.indexOf('iPhone') &gt; 0) || ua.indexOf('iPod') &gt; 0 || (ua.indexOf('Android') &gt; 0 &amp;&amp; ua.indexOf('Mobile') &gt; 0)){
        $('head').prepend('&lt;meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0"&gt;');
    } else {
        $('head').prepend('&lt;meta name="viewport" content="width=1400"&gt;');
    }
});
var spWindow = 480;
var pcWindow = 1400;

$(function() {

	//windowサイズ取得
	var windowWidth = document.documentElement.clientWidth;
	if(windowWidth &lt;= spWindow) {
		//画面サイズ760以下
	} else {
		//画面サイズ760以上
	}

	//スマホメニューボタン
	var menuFlag = false;
	$(".menu-trigger").click(function(){
		$(this).toggleClass("active");

		if($(this).hasClass("active")) {
			$(".slide-menu-nav").slideDown(300);
			$(".slide-menu-nav li").fadeTo(0, 0);
			$(".slide-menu-nav li").each(function(i) {
				$(this).delay(100 * i).fadeTo(300, 1);
			});
		} else {
			$(".slide-menu-nav").slideUp(300);
		}
		return false;
	})


	//スマホグローバルナビクリック
	$(".slide-menu-nav a").click(function(){
		//menuFlag = false;
		//$(".slide-menu-nav").slideUp(300);
	})



	//ページ内リンク
	$('a[href^=#]').click(function() {
		var speed = 400;
		var href= $(this).attr("href");
		var target = $(href == "#" || href == "" ? 'html' : href);
		var position = target.offset().top;
		$('body,html').animate({scrollTop:position}, speed, 'swing');
		return false;
	});

	




    //alphaロールオーバー
$(".hv img,.hv a,.pagetop,input.bt").hover(function(){
 $(this).stop();
 $(this).fadeTo(100,0.6);
},function(){
 $(this).stop()
 $(this).fadeTo(100,1)
})

	
});

	//スクロールしてトップ
$(function() {
	var showFlug = false;
	var topBtn = $('#page-top');	

	var showFlug = false;
	$(window).scroll(function () {
		if ($(this).scrollTop() &gt; 300) {
			if (showFlug == false) {
				showFlug = true;
				topBtn.stop().animate({'bottom' : '30px'}, 400); 
			}
		} else {
			if (showFlug) {
				showFlug = false;
				topBtn.stop().animate({'bottom' : '-200px'}, 400); 
			}
		}
	});
	//スクロールしてトップ
    topBtn.click(function () {
		$('body,html').animate({
			scrollTop: 0
		}, 500);
		return false;
    });
});
	
// 画像切替 NEW
$(window).on('load resize', function(){

  var w = $(window).width();
  var x = 768;

  if (w &lt;= x) {

    var before = 'pc_',
        after = 'sp_';

    replaceImg();

  } else {

    var before = 'sp_',
        after = 'pc_';

    replaceImg();

  }

  function replaceImg(){
    $('img[src*=pc_],img[src*=sp_]').each(function(){
      var img = $(this).attr('src').replace(before, after);
      if( $(this).attr('src').match(before) ) {
        $(this).attr('src', img);
      }
    });
  }

})
//モーダル閉じる
$(function(){
	var inst = $( '[data-remodal-id=modal]' ).remodal();
	$( document ).on( 'click', '.open-remodal', function() {
		inst.open();
		return false;
	} );
	$( document ).on( 'click', '.exit-remodal', function() {
		inst.close();
	} );
} );

//アコーディオン
	$(function () {
    $('.button').prevAll().hide();
    $('.button').click(function () {
        if ($(this).prevAll().is(':hidden')) {
            $(this).prevAll().slideDown();
            $(this).text('閉じる').addClass('close');
        } else {
            $(this).prevAll().slideUp();
            $(this).text('詳しく見る').removeClass('close');
        }
    });
});



/* floatbnr
------------------------------------------------------------------ */
document.getElementById('closeButton').addEventListener('click', () =&gt; {
const elm = document.getElementById('calloutElm');
elm.style.display='none';
});
</pre></body></html>