// ===========================================

// Common JS

// ===========================================


// memberlist
// -------------------------------------------

$(document).ready(function() {
		$("#member-list .member-body .member, .menu-list1 .menu-body").hover(
			function() {
				$(this).addClass("over");
			},
			function() {
				$(this).removeClass("over");
		});
});

/* Hover Light
========================================== */
$(function() {
	$('.hoverLight').hover(function(){
		$(this).animate({'opacity': '0.7'}, 200);
	}, function(){
		$(this).animate({'opacity': '1'}, 100);
	});
});


// readmore
// -------------------------------------------

$(document).ready(function() {
	$("#main .section2 .section-body").each(function() {
		$(this).find(".more")
		.after('<div class="toggle open">詳細記事を表示する</div>')
		.hide();
	});

	$(this).find("div.toggle").toggle(
		function() {
			$(this).siblings(".more").slideDown("fast");
			$(this).html("詳細記事を閉じる");
			$(this).addClass("close");
			$(this).removeClass("open");
		},
		function() {
			$(this).siblings(".more").slideUp("fast");
			$(this).html("詳細記事を表示する");
			$(this).addClass("open");
			$(this).removeClass("close");
	});

});

