// MTの再構築によって生成されました。 // 再構築日時:2017.06.14 09:09:11 function FooterNav() { $(".f05").contents().prependTo("#footerNav ul").wrap('
  • '); $(".f04").contents().prependTo("#footerNav ul").wrap('
  • '); $(".f03").contents().prependTo("#footerNav ul").wrap('
  • '); $(".f02").contents().prependTo("#footerNav ul").wrap('
  • '); $(".f01").contents().prependTo("#footerNav ul").wrap('
  • '); } function FooterNav2() { $(".f01").contents().prependTo("#footerNav ul").wrap('
  • '); $(".f02").contents().prependTo("#footerNav ul").wrap('
  • '); $(".f03").contents().prependTo("#footerNav ul").wrap('
  • '); $(".f04").contents().prependTo("#footerNav ul").wrap('
  • '); $(".f05").contents().prependTo("#footerNav ul").wrap('
  • '); } function FooterNav3() { $(".iphone .f05,.android .f05").contents().prependTo("#footerNav ul").wrap('
  • '); $(".iphone .f04,.android .f04").contents().prependTo("#footerNav ul").wrap('
  • '); $(".iphone .f03,.android .f03").contents().prependTo("#footerNav ul").wrap('
  • '); $(".iphone .f02,.android .f02").contents().prependTo("#footerNav ul").wrap('
  • '); $(".iphone .f01,.android .f01").contents().prependTo("#footerNav ul").wrap('
  • '); } function MegaRight() { $(".MegaRight").css({border:"1px solid #EFEFEF"}); } function MegaRight2() { $(".MegaRight").css({border:"0px solid #EFEFEF"}); } function MobileMega() { $("#nn01").hover( function () { $("#nn01Wrapper").show(0); $("#nn01 a").css({color:"#FFF"}); }, function () { $("#nn01Wrapper").hide(0); $("#nn01 a").css({color:"#5B5B5B"}); } ); $("#nn02").hover( function () { $("#nn02Wrapper").show(0); $("#nn02 a").css({color:"#FFF"}); }, function () { $("#nn02Wrapper").hide(0); $("#nn02 a").css({color:"#5B5B5B"}); } ); $("#nn03").hover( function () { $("#nn03Wrapper").show(0); $("#nn03 a").css({color:"#FFF"}); }, function () { $("#nn03Wrapper").hide(0); $("#nn03 a").css({color:"#5B5B5B"}); } ); $("#nn04").hover( function () { $("#nn04Wrapper").show(0); $("#nn04 a").css({color:"#FFF"}); }, function () { $("#nn04Wrapper").hide(0); $("#nn04 a").css({color:"#5B5B5B"}); } ); $("#nn05").hover( function () { $("#nn05Wrapper").show(0); $("#nn05 a").css({color:"#FFF"}); }, function () { $("#nn05Wrapper").hide(0); $("#nn05 a").css({color:"#5B5B5B"}); } ); $("#nn06").hover( function () { $("#nn06Wrapper").show(0); $("#nn06 a").css({color:"#FFF"}); }, function () { $("#nn06Wrapper").hide(0); $("#nn06 a").css({color:"#5B5B5B"}); } ); $("#nn07").hover( function () { $("#nn07Wrapper").show(0); $("#nn07 a").css({color:"#FFF"}); }, function () { $("#nn07Wrapper").hide(0); $("#nn07 a").css({color:"#5B5B5B"}); } ); } $(document).ready(function(){ var WindowWidth = $(window).width(); $("#searcButton").removeAttr("value"); //フッターナビ部分 if( WindowWidth <=640) { $(".f04").contents().prependTo("#footerNav ul").wrap('
  • '); $(".f03").contents().prependTo("#footerNav ul").wrap('
  • '); $(".f02").contents().prependTo("#footerNav ul").wrap('
  • '); $(".f01").contents().prependTo("#footerNav ul").wrap('
  • '); $("#box li:not(#NEXT,#PREV),#box").css({width:WindowWidth,height:WindowWidth*0.35}); $("#mainV").height((WindowWidth*0.35)+24).width(WindowWidth); $("#mainV img").css({height:WindowWidth*0.35}); $("#NEXT,#PREV").css({top:((WindowWidth*0.35)-40)/2}); } else { } //640版メニュー開閉 $("#menu").click(function () { if($("#menu").hasClass("close")) { $("#nav ul").slideDown(500,function(){ $("#menu").removeClass().addClass("open").text("×"); }); }else if($("#menu").hasClass("open")) { $("#nav ul").slideUp(500,function(){ $("#menu").removeClass().addClass("close").text(""); }); } }); //メガドロップ var _ua = (function(){ return { ltIE6:typeof window.addEventListener == "undefined" && typeof document.documentElement.style.maxHeight == "undefined", ltIE7:typeof window.addEventListener == "undefined" && typeof document.querySelectorAll == "undefined", ltIE8:typeof window.addEventListener == "undefined" && typeof document.getElementsByClassName == "undefined", IE:document.uniqueID, Firefox:window.sidebar, Opera:window.opera, Webkit:!document.uniqueID && !window.opera && !window.sidebar && window.localStorage && typeof window.orientation == "undefined", Mobile:typeof window.orientation != "undefined" } })(); if(_ua.Mobile){ MobileMega(); }else { $("#nn01").hover( function () { $("#nn01Wrapper").stop().slideDown(200); $("#nn01 a").css({color:"#FFF"}); }, function () { $("#nn01Wrapper").stop().hide(0); $("#nn01 a").css({color:"#5B5B5B"}); } ); $("#nn02").hover( function () { $("#nn02Wrapper").stop().slideDown(200); $("#nn02 a").css({color:"#FFF"}); }, function () { $("#nn02Wrapper").stop().hide(0); $("#nn02 a").css({color:"#5B5B5B"}); } ); $("#nn03").hover( function () { $("#nn03Wrapper").stop().slideDown(200); $("#nn03 a").css({color:"#FFF"}); }, function () { $("#nn03Wrapper").stop().hide(0); $("#nn03 a").css({color:"#5B5B5B"}); } ); $("#nn04").hover( function () { $("#nn04Wrapper").stop().slideDown(200); $("#nn04 a").css({color:"#FFF"}); }, function () { $("#nn04Wrapper").stop().hide(0); $("#nn04 a").css({color:"#5B5B5B"}); } ); $("#nn05").hover( function () { $("#nn05Wrapper").stop().slideDown(200); $("#nn05 a").css({color:"#FFF"}); }, function () { $("#nn05Wrapper").stop().hide(0); $("#nn05 a").css({color:"#5B5B5B"}); } ); $("#nn06").hover( function () { $("#nn06Wrapper").stop().slideDown(200); $("#nn06 a").css({color:"#FFF"}); }, function () { $("#nn06Wrapper").stop().hide(0); $("#nn06 a").css({color:"#5B5B5B"}); } ); $("#nn07").hover( function () { $("#nn07Wrapper").stop().slideDown(200); $("#nn07 a").css({color:"#FFF"}); }, function () { $("#nn07Wrapper").stop().hide(0); $("#nn07 a").css({color:"#5B5B5B"}); } ); } // -- "generated by MT" start on 2017.06.14 09:09:11 -- $("#preview_115").hover( function() { $("#preview_content_115").show(0); MegaRight(); }, function() { $("#preview_content_115").hide(0); MegaRight2(); } ); $("#preview_110").hover( function() { $("#preview_content_110").show(0); MegaRight(); }, function() { $("#preview_content_110").hide(0); MegaRight2(); } ); $("#preview_119").hover( function() { $("#preview_content_119").show(0); MegaRight(); }, function() { $("#preview_content_119").hide(0); MegaRight2(); } ); $("#preview_113").hover( function() { $("#preview_content_113").show(0); MegaRight(); }, function() { $("#preview_content_113").hide(0); MegaRight2(); } ); $("#preview_112").hover( function() { $("#preview_content_112").show(0); MegaRight(); }, function() { $("#preview_content_112").hide(0); MegaRight2(); } ); $("#preview_120").hover( function() { $("#preview_content_120").show(0); MegaRight(); }, function() { $("#preview_content_120").hide(0); MegaRight2(); } ); $("#preview_118").hover( function() { $("#preview_content_118").show(0); MegaRight(); }, function() { $("#preview_content_118").hide(0); MegaRight2(); } ); $("#preview_766").hover( function() { $("#preview_content_766").show(0); MegaRight(); }, function() { $("#preview_content_766").hide(0); MegaRight2(); } ); $("#preview_111").hover( function() { $("#preview_content_111").show(0); MegaRight(); }, function() { $("#preview_content_111").hide(0); MegaRight2(); } ); $("#preview_122").hover( function() { $("#preview_content_122").show(0); MegaRight(); }, function() { $("#preview_content_122").hide(0); MegaRight2(); } ); $("#preview_114").hover( function() { $("#preview_content_114").show(0); MegaRight(); }, function() { $("#preview_content_114").hide(0); MegaRight2(); } ); $("#preview_886").hover( function() { $("#preview_content_886").show(0); MegaRight(); }, function() { $("#preview_content_886").hide(0); MegaRight2(); } ); $("#preview_124").hover( function() { $("#preview_content_124").show(0); MegaRight(); }, function() { $("#preview_content_124").hide(0); MegaRight2(); } ); $("#preview_129").hover( function() { $("#preview_content_129").show(0); MegaRight(); }, function() { $("#preview_content_129").hide(0); MegaRight2(); } ); $("#preview_130").hover( function() { $("#preview_content_130").show(0); MegaRight(); }, function() { $("#preview_content_130").hide(0); MegaRight2(); } ); $("#preview_133").hover( function() { $("#preview_content_133").show(0); MegaRight(); }, function() { $("#preview_content_133").hide(0); MegaRight2(); } ); $("#preview_134").hover( function() { $("#preview_content_134").show(0); MegaRight(); }, function() { $("#preview_content_134").hide(0); MegaRight2(); } ); $("#preview_135").hover( function() { $("#preview_content_135").show(0); MegaRight(); }, function() { $("#preview_content_135").hide(0); MegaRight2(); } ); $("#preview_964").hover( function() { $("#preview_content_964").show(0); MegaRight(); }, function() { $("#preview_content_964").hide(0); MegaRight2(); } ); $("#preview_123").hover( function() { $("#preview_content_123").show(0); MegaRight(); }, function() { $("#preview_content_123").hide(0); MegaRight2(); } ); $("#preview_717").hover( function() { $("#preview_content_717").show(0); MegaRight(); }, function() { $("#preview_content_717").hide(0); MegaRight2(); } ); $("#preview_730").hover( function() { $("#preview_content_730").show(0); MegaRight(); }, function() { $("#preview_content_730").hide(0); MegaRight2(); } ); $("#preview_731").hover( function() { $("#preview_content_731").show(0); MegaRight(); }, function() { $("#preview_content_731").hide(0); MegaRight2(); } ); $("#preview_732").hover( function() { $("#preview_content_732").show(0); MegaRight(); }, function() { $("#preview_content_732").hide(0); MegaRight2(); } ); $("#preview_733").hover( function() { $("#preview_content_733").show(0); MegaRight(); }, function() { $("#preview_content_733").hide(0); MegaRight2(); } ); $("#preview_734").hover( function() { $("#preview_content_734").show(0); MegaRight(); }, function() { $("#preview_content_734").hide(0); MegaRight2(); } ); $("#preview_735").hover( function() { $("#preview_content_735").show(0); MegaRight(); }, function() { $("#preview_content_735").hide(0); MegaRight2(); } ); $("#preview_736").hover( function() { $("#preview_content_736").show(0); MegaRight(); }, function() { $("#preview_content_736").hide(0); MegaRight2(); } ); $("#preview_983").hover( function() { $("#preview_content_983").show(0); MegaRight(); }, function() { $("#preview_content_983").hide(0); MegaRight2(); } ); $("#preview_737").hover( function() { $("#preview_content_737").show(0); MegaRight(); }, function() { $("#preview_content_737").hide(0); MegaRight2(); } ); $("#preview_738").hover( function() { $("#preview_content_738").show(0); MegaRight(); }, function() { $("#preview_content_738").hide(0); MegaRight2(); } ); $("#preview_740").hover( function() { $("#preview_content_740").show(0); MegaRight(); }, function() { $("#preview_content_740").hide(0); MegaRight2(); } ); $("#preview_741").hover( function() { $("#preview_content_741").show(0); MegaRight(); }, function() { $("#preview_content_741").hide(0); MegaRight2(); } ); $("#preview_742").hover( function() { $("#preview_content_742").show(0); MegaRight(); }, function() { $("#preview_content_742").hide(0); MegaRight2(); } ); $("#preview_743").hover( function() { $("#preview_content_743").show(0); MegaRight(); }, function() { $("#preview_content_743").hide(0); MegaRight2(); } ); $("#preview_125").hover( function() { $("#preview_content_125").show(0); MegaRight(); }, function() { $("#preview_content_125").hide(0); MegaRight2(); } ); $("#preview_121").hover( function() { $("#preview_content_121").show(0); MegaRight(); }, function() { $("#preview_content_121").hide(0); MegaRight2(); } ); $("#preview_959").hover( function() { $("#preview_content_959").show(0); MegaRight(); }, function() { $("#preview_content_959").hide(0); MegaRight2(); } ); $("#preview_116").hover( function() { $("#preview_content_116").show(0); MegaRight(); }, function() { $("#preview_content_116").hide(0); MegaRight2(); } ); $("#preview_117").hover( function() { $("#preview_content_117").show(0); MegaRight(); }, function() { $("#preview_content_117").hide(0); MegaRight2(); } ); $("#preview_22677").hover( function() { $("#preview_content_22677").show(0); MegaRight(); }, function() { $("#preview_content_22677").hide(0); MegaRight2(); } ); // -- "generated by MT" end on 2017.06.14 09:09:12 -- /* $('#tile li').biggerlink(); */ //エマージェンシー $(".modern-ticker3 li:last").css({border:"none"}); }); $(window).resize(function(){ var WindowWidth = $(window).width(); var _ua = (function(){ return { ltIE6:typeof window.addEventListener == "undefined" && typeof document.documentElement.style.maxHeight == "undefined", ltIE7:typeof window.addEventListener == "undefined" && typeof document.querySelectorAll == "undefined", ltIE8:typeof window.addEventListener == "undefined" && typeof document.getElementsByClassName == "undefined", IE:document.uniqueID, Firefox:window.sidebar, Opera:window.opera, Webkit:!document.uniqueID && !window.opera && !window.sidebar && window.localStorage && typeof window.orientation == "undefined", Mobile:typeof window.orientation != "undefined" } })(); if(_ua.ltIE6){ }else if(_ua.ltIE7){ }else if(_ua.ltIE8){ }else if(_ua.Mobile){ var NewsWidth =$(".modern-ticker").width(); $(".mt-news").width(NewsWidth-81); }else { responsive(); $("#nn01Wrapper,#nn02Wrapper,#nn03Wrapper,#nn04Wrapper,#nn05Wrapper,#nn06Wrapper,#nn07Wrapper").removeAttr("style"); } FooterNav3(); // $(".iphone #box li:not(#NEXT,#PREV),.iphone #box,.android #box li:not(#NEXT,#PREV),.android #box").css({width:WindowWidth,height:WindowWidth*0.35}); // $(".iphone #mainV,.android #mainV").height((WindowWidth*0.35)+24).width(WindowWidth); // $(".iphone #mainV img,.android #mainV img").css({height:WindowWidth*0.35}); // $(".iphone #NEXT,.iphone #PREV,.android #NEXT,.android #PREV").css({top:((WindowWidth*0.35)-40)/2}); //フッターナビ部分 function responsive() { if( WindowWidth <=640) { FooterNav(); $("#nav ul").css({display:"none"}); $("#menu").removeClass().addClass("close").text(""); $("#box li:not(#NEXT,#PREV),#box").css({width:WindowWidth,height:WindowWidth*0.35}); $("#mainV").height((WindowWidth*0.35)+24).width(WindowWidth); $("#mainV img").css({height:WindowWidth*0.35}); $("#NEXT,#PREV").css({top:((WindowWidth*0.35)-40)/2}); var NewsWidth =$(".modern-ticker").width(); $(".mt-news").width(NewsWidth-81); }else if( WindowWidth >=641 && WindowWidth <=1024) { FooterNav2(); //$("#nav ul").css({display:"block"}); $("#mainV,#NEXT,#PREV,#box,#mainV img").removeAttr("style"); $("#box li:not(#NEXT,#PREV)").width("100%").height(243); $(".mt-news").width(573); }else { FooterNav2(); //$("#nav ul").css({display:"block"}); $("#mainV,#NEXT,#PREV,#box,#mainV img").removeAttr("style"); $("#box li:not(#NEXT,#PREV)").width("100%").height(363); $(".mt-news").width(733); } } //メガドロップ MobileMega(); }); //modal // require jQuery $(function(){ $(document).ready(function(){ $('a.modal').each(function(){ $(this).attr('data-href', $(this).attr('href')); $(this).attr('href', '#modal'); }); $('a[href="#modal"]').bind('click', function(){ $('body').append( $('') .css('position', 'absolute') .css('top', '0') .css('left', '0') .css('width', '100%') .css('height', '100%') .css('background-color', '#696969') .css('filter', 'alpha(opacity=80)') .css('-moz-opacity', '0.8') .css('opacity', '0.8') .bind('click', function(){ removeModal(); }) ) .append( $('') .css('position', 'absolute') .css('top', '5%') .css('left', '5%') .css('width', '90%') .css('height', '90%') .css('margin', 'auto') .bind('click', function(){ removeModal(); }) .append( $('
    ') .css('text-align', 'right') .append($('') .css('text-align', 'center') .css('background-color', '#000000') .css('color', '#dddddd') .css('border', '4px solid #ffffff') .css('font-weight', 'bold') .css('font-size', 'large') .css('border-radius', '8px') .css('-webkit-border-radius', '8px') .css('-moz-border-radius', '8px') .css('cursor', 'pointer') .bind('click', function(){ removeModal(); }) ) ) .append( $('') .bind('click', function(){ return false; }) ) ); $.get( $(this).attr('data-href'), function(data){ $('div.modal-data').append(data) } ); return false; }); }); function removeModal() { $('div.modal-back').remove(); $('div.modal-front').remove(); } });