/* Mode Change FadeIn FadeOut */

/* mode */
/*function setMode() {
	$('#wrapper').fadeIn('normal');
}*/

/* mode1 */
/*$(function(){
	$('#main-body').css("visibility", "hidden");
	$('#bt-layout1').click(function(){
		setMode1();
	});
});

function setMode1() {
	$('#main-body').fadeIn('normal');
	$('#main-body2').css("visibility", "hidden");
}*/


/* mode2 */
/*$(function(){
	$('#main-body2').css("display", "none");
	$('#bt-layout2').click(function(){
		setMode2();
	});
});

function setMode2() {
	$('#main-body2').fadeIn('normal');
	$('#main-body').css("visibility", "hidden");
}*/


$(function(){
	var target=$("#main-body, .new-icn, .product img");
	
	$("#bt-layout1").click(function () {
		target.css("display", "none");
 	if (target.is(":hidden")) {
  	target.fadeIn("fast");
 	} else {
  	target.fadeOut("fast");
 	}
	})
});


$(function(){
	var target2=$("#main-body2, .new-icn, .product2 img");
	
	$("#bt-layout2").click(function () {
		target2.css("display", "none");
 	if (target2.is(":hidden")) {
  	target2.fadeIn("fast");
 	} else {
  	target2.fadeOut("fast");
 	}
	})
});




/* 各商品ページナビゲーションボタン（フェードインアウト） */

/* Making */
$(function(){
	var target=$("#pMaking");
	
	$("#making").click(function () {
		target.css("display", "none");
 	if (target.is(":hidden")) {
  	target.fadeIn(0); /* フェードインさせたい場合は target.fadeOut("fast"); */
 	} else {
  	target.fadeOut(0);
 	}
	})
});

/* Cast */
$(function(){
	var target=$("#pCast");
	
	$("#cast").click(function () {
		target.css("display", "none");
 	if (target.is(":hidden")) {
  	target.fadeIn(0);
 	} else {
  	target.fadeOut(0);
 	}
	})
});

/* Narration */
$(function(){
	var target=$("#pNarration");
	
	$("#narration").click(function () {
		target.css("display", "none");
 	if (target.is(":hidden")) {
  	target.fadeIn(0);
 	} else {
  	target.fadeOut(0);
 	}
	})
});

/* Concept */
$(function(){
	var target=$("#pConcept");
	
	$("#concept").click(function () {
		target.css("display", "none");
 	if (target.is(":hidden")) {
  	target.fadeIn(0);
 	} else {
  	target.fadeOut(0);
 	}
	})
});

/* Staff */
$(function(){
	var target=$("#pStaff");
	
	$("#staff").click(function () {
		target.css("display", "none");
 	if (target.is(":hidden")) {
  	target.fadeIn(0);
 	} else {
  	target.fadeOut(0);
 	}
	})
});

/* Fashion */
$(function(){
	var target=$("#pFashion");
	
	$("#fashion").click(function () {
		target.css("display", "none");
 	if (target.is(":hidden")) {
  	target.fadeIn(0);
 	} else {
  	target.fadeOut(0);
 	}
	})
});

/* Schedule */
$(function(){
	var target=$("#pSchedule");
	
	$("#schedule").click(function () {
		target.css("display", "none");
 	if (target.is(":hidden")) {
  	target.fadeIn(0);
 	} else {
  	target.fadeOut(0);
 	}
	})
});
