// jQuery_accordion

// copyright (c) 2007 RedLine Magazine
// Licensed under the MIT License:
// customize: Takashi Hirasawa (http://css-happylife.com/)

// Last Modified : 2010.03.29

$(document).ready(function() {
	$("div.tabContainer div.answerBox h5").hover(function(){
		$(this).css("cursor","pointer"); 
		$(this).css("background-color","#eaeaea");
	},function(){
		$(this).css("cursor","default");
		$(this).css("background-color","#ffffff");
		});
	$("div.tabContainer div.answerBox div.answer").css("display","none");
	$("div.tabContainer div.answerBox h5").click(function(){
		$(this).next().slideToggle();
	});
	
	/* ■すべて表示・非表示■ */
	$(".category-faq .sect_answer #allHandling").hover(function(){
		$(this).css("cursor","pointer"); 
		$(this).css("text-decoration","none");
	},function(){
		$(this).css("cursor","default");
		$(this).css("text-decoration","underline");
	});
	$(".category-faq .sect_answer #allHandling").click(function(){
		$("div.tabContainer div.answerBox div.answer").slideToggle(function(){
			$(this).css("display","block");
			},function(){
			$(this).css("cursor","none");
		});
	});
});





