// JavaScript Document

$(document).ready(function() {
						   

// JavaScript Document fadeTo


	$(".svs_menu a img").hover(
						
		function() { $(this).fadeTo(300,0.6); },
		function() { $(this).fadeTo(300,1.0); }
	);
	

	$("#womannet_bana a img").hover(
						
		function() { $(this).fadeTo(300,0.6); },
		function() { $(this).fadeTo(300,1.0); }
	);

	
	$("#set_side p a img").hover(
						
		function() { $(this).fadeTo(300,0.6); },
		function() { $(this).fadeTo(300,1.0); }
	);

	$("#staff_all span a img").hover(
						
		function() { $(this).fadeTo(300,0.6); },
		function() { $(this).fadeTo(300,1.0); }
	);
	
	$(".woman_kate ul li a img").hover(
						
		function() { $(this).fadeTo(300,0.6); },
		function() { $(this).fadeTo(300,1.0); }
	);
	

// JavaScript Document Scroll

	 //トップに戻るを消す
	$(".upbtn img").hide();

	 //スクロールされたら	
	$(window).scroll(function () {
		//100pxいったら
		if ($(this).scrollTop() > 100) {
			//トップに戻るをフェードイン
			$('.upbtn img').fadeIn();
		//100pxいかなかったら
		} else {
			//隠す
			$('.upbtn img').fadeOut();
		}
	});

	 //トップに戻るをクリックしたら	
	$('.upbtn img').click(function () {
		//スムーズに上に戻る
		$('body,html').animate({
			scrollTop: 0
		}, 200);
		return false;
	});


// JavaScript Document hover index.html
	$(".upbtn img").hover(
								function() {$(this).attr("src","img/up_btn_hover.gif")},
								function() {$(this).attr("src","img/up_btn.gif")}
							);

	$("#head_1 span a img:eq(0)").hover(
								function() {$(this).attr("src","img/accessmap_top_hover.gif")},
								function() {$(this).attr("src","img/accessmap_top.gif")}
							);

	$("#head_1 span a img:eq(1)").hover(
								function() {$(this).attr("src","img/contact_top_hover.gif")},
								function() {$(this).attr("src","img/contact_top.gif")}
							);

	$("#side_contact a img").hover(
								function() {$(this).attr("src","img/mail-btn_hover.gif")},
								function() {$(this).attr("src","img/mail-btn.gif")}
							);

	$("#side_contact_ze a img").hover(
								function() {$(this).attr("src","img/cn_page/ze_mail-btn_hover.gif")},
								function() {$(this).attr("src","img/cn_page/ze_mail-btn.gif")}
							);

	$(".zeppi_go").hover(
								function() {$(this).attr("src","img/cn_page/ze_top_bana_hover.gif")},
								function() {$(this).attr("src","img/cn_page/ze_top_bana.gif")}
							);



// JavaScript Accordion

  	$('.accordion_head').click(function() {
  		$(this).next().slideToggle();
  	}).next().hide();


});



