#main {
	border-top: 1px solid #ef9c00;
	clear: both;
	padding-top: 0;	/*2em*/	
}

#contents {
	padding: 0em;
	min-height: 300px;
}

#tab_header {
	position: relative;
	width: 100%;
	height: 30px;/*5em*/
	width: 45em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */			
}

#tab_header ul#primary {
	margin: 0;
	padding: 0;
	position: absolute;
	bottom: -1px;
	width: 45em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */	
}

#tab_header ul#primary li  {
	display: inline;
	list-style: none;		
}

#tab_header ul#primary a,#tab_header ul#primary span,#tab_header ul#primary a.current {
	width: 8em;
	display: block;
	float: left;
	padding: 5px 0 5px 0;/*4px 0*/
	margin: 1px 2px 0 0;
	text-align: center;
	font-family: "ＭＳ Ｐ明朝",細明朝体,serif;
	font-size: 1em;/*85%*/
	font-weight: bold;
	text-decoration: none;
	color: #f2750f;/*f27f21 7d756d 666192*/
}

/*カレントタブ*/
#tab_header ul#primary span,#tab_header ul#primary a.current,#tab_header ul#primary a.current:hover {
	border: 1px solid #ef9c00;
	border-bottom: 1px dotted #ef9c00;
	background: #FFF3B3;
	padding-bottom: 6px;
	margin-top: 0;
	
}
/*非カレントタブ*/
#tab_header ul#primary a {
	background: #FFFAE1;
	border: 1px solid #AAA;
	border-bottom: none;	
}

/*非カレントタブ マウスオーバー*/
#tab_header ul#primary a:hover {
	margin-top: 0;
	border-color: #ec4a4a;
	background: #FFF7CD;
	padding-bottom: 5px;
}

/*以下、未使用*/

#tab_header ul#secondary {
	position: absolute;
	margin: 0;
	padding: 0;
	bottom: -1.4em;
	left: 1px;
	width: 50em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

#tab_header ul#secondary li a,#tab_header ul#secondary li span {
	width: auto;
	display: block;
	float: left;
	padding: 0 10px;
	margin: 0;
	text-align: auto;
	border: none;
	border-right: 1px dotted #AAA;
	background: none;

}

#tab_header ul#secondary li a {
	color: #06C;
	text-decoration: underline;
}

#tab_header ul#secondary li a:hover {
	color: #333;
	background: transparent;
	padding: 0 10px;
	border: none;
	border-right: 1px dotted #AAA;
}

#tab_header ul#secondary li a:active {
	color: #000;
	background: transparent;
}

#tab_header ul#secondary li:last-child a { border: none; }
