// ナヴィゲーションがうごく
smoothEaseIn = function(t, b, c, d){
	return c * Math.pow( 2, 10 * (t/d - 1) ) + b;
}
var mov = new wrapScroll('movingmenu','sub','header');
mov.setTween(smoothEaseIn, 40);
mov.marginTop = 16;


// トピックス記事開閉
$(document).ready(function() {
	$("div.topicsRight h4").hover(function(){
		$(this).css("cursor","pointer"); 
	},function(){
		$(this).css("cursor","default");
		});
	$("div.topicsRight div.item").css("display","none");
	$("div.topicsRight h4").click(function(){
		$(this).next().slideToggle("slow");
	});
});


// トピックスタイトルの色
$(function(){
	$("div.topicsRight h4").mouseover(function() {
		$(this).highlightFade({
			start:"#dceffb",speed:1500,iterator:"sinusoidal"
		});
	});
});
$(function(){
	$("div.topicsRight h4").hover(
		function(){$(this).css("color","#154666");},
		function(){$(this).css("color","#446b85");}
	);
});


// トピックスの最後のアンダーラインを実線に
$(function(){
	$("div.topicsbody:last").css("border-bottom","1px #154666 solid");
});


// コラムのボックスを角丸に
$(document).ready( function(){
  $("#main div.column,#main div.profiletxt").corners();
});

