//
//
// <![CDATA[
jQuery(document).ready(function($){
jQuery('.calendar_day.not_active').removeClass("cal_today"); jQuery('.calendar_day.not_active').css("background", "none"); jQuery('.calendar_day.not_active .num_day').css("opacity", "0.3");
jQuery('.cat_isset_false.type_detail_page .cat_contents .cat_li a span:contains("カテゴリ未分類")').text("一覧へ戻る"); jQuery('.cat_isset_false.type_detail_page .go_back_btn a:contains("カテゴリ未所属一覧 へ戻る")').text("一覧へ戻る");
jQuery(".none_img_contents").center();
jQuery(".no_contents .col_left").center({ vertical: false });
jQuery(".liquid_area").imgLiquid({ fill: false }); jQuery(".liquid_area").parent().addClass('liquid_outer');
jQuery(".Liquid").imagesLoaded(function(){ jQuery(".Liquid").imgLiquid({ fill: false }); });
jQuery(".Liquid").parent().addClass('Liquid_outer');
jQuery(".image_trim_liquid").imagesLoaded(function(){ jQuery(".image_trim_liquid").imgLiquid({ fill: false }); });
jQuery(".image_trim_liquid").parent().addClass('Liquid_outer');
jQuery(".Multi-Image").find('.none_img').parents('.Multi-Image').addClass('NoImage'); jQuery(".Multi-Image").find('.none_img').parents('.eyecatch').parents('.Tracks-body-inner').addClass('Track-NoImage');
jQuery(".Footernavi .Navigation-inner").addClass("cf");
jQuery(".cat_layout_top .cat_contents .cat_child_ul").hide(); jQuery(".pos_category_top .cat_contents .cat_child_ul").hide();
jQuery(".Blog-Cat-List .cat-item").addClass("box_link"); jQuery(".DisplayFormat-eyecatch .track_contents_inner").addClass("box_link");
jQuery(".DisplayFormat-excerpt .track_contents_inner").addClass("box_link");
jQuery(".Go-btn-area").hide();
jQuery(".WeekItem .Col-Item-area .Col-Item-area-inner").center();
jQuery(".Blog-sub .wp-recent-entry a").prepend(''); jQuery(".Blog-sub .wp-category .cat-item a").prepend('');
jQuery(".logo_area .site_description").wrapInner('
'); jQuery(".logo_area .logo").wrapInner('
');
jQuery("a.fancybox").fancybox({ 'overlayColor' : '#eee', 'overlayOpacity' : 0.7, 'cyclic' : true });
jQuery("a.fancybox2").fancybox({ 'overlayShow' : true, 'transitionIn' : 'elastic', 'transitionOut' : 'elastic', 'easingIn' : 'easeOutBack', 'easingOut' : 'easeInBack', 'titlePosition' : 'inside', 'cyclic' : true });
jQuery("a.fancybox3").fancybox({ 'overlayColor' : '#000', 'overlayOpacity' : 0.7, 'overlayShow' : true, 'transitionIn' : 'elastic', 'easingIn' : 'easeInBack', 'titlePosition' : 'outside', 'speedIn' : 800, 'speedOut' : 500, 'cyclic' : true });
jQuery("a.iframe").fancybox({ 'width' : '80%', 'height' : '80%', 'autoScale' : false, 'transitionIn' : 'none', 'transitionOut' : 'none', 'type' : 'iframe' });
});
// ]]>
// <![CDATA[
jQuery(document).ready(function($){
jQuery(".onFrame").wrapInner('
'); jQuery(".onFrame-outer").wrapInner('
'); jQuery(".onFrame-outer").prepend(''); jQuery(".onFrame-outer").append('');
jQuery(".onBgLine").children().addClass('onBgLine-inner'); jQuery(".onBgLine").append(''); jQuery(".onBgLine").append(''); jQuery(".onBgLine").append('');
jQuery(".onDeco").children().addClass('onDeco-inner'); jQuery(".onDeco").append(''); jQuery(".onDeco").append('');
});
// ]]>
// <![CDATA[
jQuery(document).ready(function($){
jQuery(".Logo").imagesLoaded(function(){
var w = jQuery(".site_name_image_h1 img").width(); var h = jQuery(".site_name_image_h1 img").height(); if(w > h){ jQuery(".site_name_image_h1 img").parent().addClass("wide_img"); } else { jQuery(".site_name_image_h1 img").parent().addClass("squre_img"); } var logo_w = jQuery(".Logo .logo-name").width(); var logo_h = jQuery(".Logo .logo-name").height(); var logo_ratio = logo_h / logo_w; if( logo_ratio > 0.6 ){ var scale_w = ( logo_ratio ) * 120; jQuery(".Logo .logo-name").css("width", logo_w - scale_w ); }
jQuery(".Logo .logo-name").css("height", "auto" );
});
});
// ]]>
// <![CDATA[
jQuery(document).ready(function($){
var timeout = setTimeout(function(){ jQuery("img.not-loaded").trigger("doi") }, 0);
$('img.lazy').addClass('not-loaded');
$('img.not-loaded').lazyload({
event: "doi",
effect: 'fadeIn',
load: function() {
$(this).removeClass("not-loaded");
$('.dl_img').addClass('liquid_area'); $('.dl_label_image').addClass('liquid_area');
$(".liquid_area").imgLiquid({ fill: false // 縦横比を維持させる }); $(".liquid_area").parent().addClass('liquid_outer');
$(".Liquid").imagesLoaded(function(){ $(".Liquid").imgLiquid({ fill: false // 縦横比を維持させる }); }); $(".Liquid").parent().addClass('Liquid_outer');
$(".image_trim_liquid").imagesLoaded(function(){ $(".image_trim_liquid").imgLiquid({ fill: false // 縦横比を維持させる }); }); $(".image_trim_liquid").parent().addClass('Liquid_outer');
$(".Multi-Image").find('.none_img').parents('.Multi-Image').addClass('NoImage'); $(".Multi-Image").find('.none_img').parents('.eyecatch').parents('.Tracks-body-inner').addClass('Track-NoImage');
$(".MapItem").imagesLoaded(function(){ var map_h = $(".MapItem .Col-02 .fancybox").height(); $(".Current-Mapimage .Col-01 .Col-Item-area-inner").css("height", map_h ); });
}
});
});
// ]]>
&lt;div class="no_script"&gt; &lt;div class="obj_alert"&gt; このサイトを正常に表示・機能させるにはブラウザの JavaScript を有効にしてください &lt;/div&gt; &lt;/div&gt;
// <![CDATA[
$(window).load(function() {
jQuery(".fade").fadeOut(1000); jQuery(".fade img").remove(); var t = setTimeout(function() { jQuery('.fade').remove(); }, 1000);
jQuery(".fade").data('timeout', t); jQuery("body").addClass('Load-Comp');
});
// ]]>
// <![CDATA[
$(window).on("load", function() {
jQuery(".Visual_editor .instagram-media").wrap('
');
jQuery('.tp_100 .wrap_catalog.child_detail .incts1_body_outer.scroll').perfectScrollbar();
jQuery('#policy_outer').perfectScrollbar();
jQuery('.Parts-Around .DisplayFormat-list .Item-title .Item-area-inner .item_title_label').each( function(){ if( jQuery(this).height() < 18 ){ var lbw = jQuery(this).width(); jQuery(this).addClass("single"); jQuery(this).css("width", lbw + 10); jQuery(this).center(); }; } );
jQuery('.Parts-Around .DisplayFormat-list .single.ColumItem').each( function(){ var col_sgl_h = jQuery(this).height(); jQuery(this).find(".Col-Item-area").css("height", col_sgl_h); jQuery(this).find(".Col-Item-area-inner").center(); } );
jQuery('.Associate .DisplayFormat-list .Item-title .Item-area-inner .item_title_label').each( function(){ if( jQuery(this).height() < 18 ){ var lbw = jQuery(this).width(); jQuery(this).addClass("single"); jQuery(this).css("width", lbw + 10); jQuery(this).center(); }; } );
jQuery('.Associate .DisplayFormat-list .single.ColumItem').each( function(){ var col_sgl_h = jQuery(this).height(); jQuery(this).find(".Col-Item-area").css("height", col_sgl_h); jQuery(this).find(".Col-Item-area-inner").center(); } );
$('.Dt-Track-body-contents-inner').each( function(){ if ( jQuery(this).children().length > 0 ) { // 子要素を持っている場合に処理させたい内容 jQuery(this).parent().addClass("Valid"); } else { jQuery(this).parent().addClass("Not-Valid"); } } );
});
// ]]>
// <![CDATA[
$(window).on("load", function() {
//jQuery('.calendar_day.not_active').removeClass("cal_today");
jQuery('.thumb_outer').mouseover( function(){ var selectedSrc = $(this).find("img").attr('src'); jQuery(this).parents('.detail_area').find('img.main_image').attr('src', selectedSrc);
jQuery(".liquid_area").imgLiquid({ fill: false //KEEP aspect ratio }); } );
jQuery('.Item-thumbnail').mouseover( function(){ var selectedSrc = $(this).find("img").attr('src'); $(this).parents('.Dt-Track-body-contents-inner').find('.Item-Main-image img.main_image').attr('src', selectedSrc); $(this).parents('.Dt-Track-body-contents-inner').find('.Item-Main-image a.dl_fancybox').attr('href', selectedSrc); $(".image_trim_liquid").imgLiquid({ fill: false //KEEP aspect ratio }); } );
jQuery(".Icon-Info-Wrap").each( function() { jQuery(".ICt:last-child").addClass("global_last"); jQuery(".ICt:first-child").addClass("global_first"); } );
jQuery(".main_navi_ul").each( function() { jQuery("li:last-child").addClass("global_last"); jQuery("li:first-child").addClass("global_first"); } );
jQuery(".Slide-Down .Main-list").hover( function(){ jQuery(".tree_navigation:not(:animated)",this).slideDown("fast")
},function(){ jQuery(".tree_navigation",this).slideUp("fast"); } );
jQuery(".Slide-Up .Main-list-inner").hover( function(){ var nav_h = jQuery(this).height(); jQuery(".tree_navigation",this).css("bottom", nav_h); jQuery(".tree_navigation:not(:animated)",this).slideDown("fast") }, function(){ var nav_h = jQuery(this).height(); jQuery(".tree_navigation",this).css("bottom", nav_h); jQuery(".tree_navigation",this).slideUp("fast"); } )
jQuery('.group_no_link').click( function(ev){ var sub = $(this).parent().find('.tree_navigation'); if ( jQuery(sub).is(':hidden') ) { jQuery(sub).slideDown(); } else { jQuery(sub).slideUp(); } } );
jQuery(".cat_li.cat_parent_li").each( function (i) { i = i+1; jQuery(this).addClass("order_" + i); } );
jQuery(".cat_layout_top .cat_contents .cat_parent_ul .cat_parent_li").hover( function(){ jQuery("ul:not(:animated)",this).slideDown("fast") },function(){ jQuery("ul",this).slideUp("fast"); } );
jQuery(".pos_category_top .cat_contents .cat_parent_ul .cat_parent_li").hover( function(){ jQuery("ul:not(:animated)",this).slideDown("fast") }, function(){ jQuery("ul",this).slideUp("fast"); } );
jQuery(".cat_contents .cat_child_ul").hover( function(){ jQuery("ul:not(:animated)",this).slideDown("fast") }, function(){ jQuery("ul",this).slideUp("fast"); } );
jQuery('a[href^=http]').not('[href*="'+location.hostname+'"]').parents('.box_link').addClass("ex_link");
jQuery(".box_link").click( function(){ //jQuery(this).each( // function(){ if ( jQuery(this).is('.ex_link') ){ window.open($(this).find("a").attr("href"), '_blank'); return false; } else { window.location=$(this).find("a").attr("href"); return false; } // } //); } );
jQuery(".box_link").hover( function () { jQuery(this).addClass("hover"); },function () { jQuery(this).removeClass("hover"); } );
jQuery(".DisplayFormat-eyecatch .track_contents_inner").hover( function () { jQuery(this).addClass("hover"); },function () { jQuery(this).removeClass("hover"); } );
jQuery(".DisplayFormat-excerpt .track_contents_inner").hover( function () { jQuery(this).addClass("hover"); },function () { jQuery(this).removeClass("hover"); } );
jQuery(window).scroll( function () { if (jQuery(this).scrollTop() > 500) { jQuery('.Go-btn-area').fadeIn(); } else { jQuery('.Go-btn-area').fadeOut(); } } );
jQuery('.Go-btn-area .Go-top').click( function () { jQuery('body,html').animate({ scrollTop: 0 }, 400); return false; } );
jQuery('.Go-btn-area .Go-bottom').click( function () { jQuery('body,html').animate({ scrollTop: $(".footer_outer").offset().top }, 400); return false; } );
jQuery(".Modal-Link").click( function(){
jQuery( this ).blur() ; if( jQuery( ".Modal-Overlay" )[0] ) return false ;
jQuery(this).find(".Modal-Content").append( '
' ) ;
centeringModalSyncer() ; jQuery(this).find( ".Modal-Overlay" ).fadeIn( "fast" ) ; jQuery(this).find( ".Modal-Close" ).fadeIn( "fast" ) ; jQuery(this).find( ".Modal-Content" ).fadeIn( "fast" ) ;
jQuery( ".Modal-Overlay, .Modal-Close" ).unbind().click( function(){ jQuery( ".Modal-Overlay, .Modal-Close, .Modal-Content" ).fadeOut( "fast" , function(){ jQuery(this).find('.Modal-Overlay').remove() ; }); } );
} );
jQuery( window ).resize( centeringModalSyncer );
function centeringModalSyncer() { var w = $( window ).width() ; var h = $( window ).height() ; var cw = $( ".Modal-Content" ).outerWidth(); var ch = $( ".Modal-Content" ).outerHeight();
jQuery( ".Modal-Content" ).css( {"left": ((w - cw)/2) + "px","top": ((h - ch)/2) + "px"} ) ; }
var userAgent = window.navigator.userAgent.toLowerCase();
jQuery(".printer").click( function(e){
jQuery(e.target).parents(".Dt-Track").addClass("print");
if (userAgent.indexOf('chrome') != -1) { jQuery(".printer").css( "display", "none" ); }
window.print();
if (userAgent.indexOf('chrome') != -1) { jQuery(".chrome_alert").css( "display", "block" ); }
var timeout = setTimeout(function(){ jQuery(e.target).closest("div").removeClass("print"); }, 1000);
if (userAgent.indexOf('chrome') != -1) { var timeout = setTimeout(function(){ jQuery(".printer").css( "display", "block" ); jQuery(".chrome_alert").css( "display", "none" ); }, 30000); }
return false;
} );
jQuery(".Open-Btn").click(function(){ jQuery(this).parent(".Open-parent").find(".Open-Contents").animate( { height: 'toggle' }, 'fast' ); });
jQuery(".cat_contents .cat_child_ul").hover( function(){ jQuery("ul:not(:animated)",this).slideDown("fast") }, function(){ jQuery("ul",this).slideUp("fast"); } );
}); // ]]>
CUT