/* TOP
----------------------------------------------- */


div#logo {
    float:left;
    width:611px;
}

/* header layout
----------------------------------------------- */
div#head_container {
    width: 780px;
    margin: 0px auto;
    padding: 0px 0px;
    text-align: center;
}

/* TOP MENU
----------------------------------------------- */
ul#top_menu {
        list-style-type:none;
	float: ;
	width: 760px;
        text-align:right;
        margin:0,0;
}

ul#top_menu li{
     float:left;
     padding-right:10px;
     padding-left:10px;
	border-left: 1px solid #AAA;
}

ul#top_menu2 {
        list-style-type:none;
	float: right;
	width: 450px;
        text-align:left;
     margin-top:10px;

}

ul#top_menu2 li{
     float:left;
	border-left: 1px solid #AAA;
}


/* Back ground
----------------------------------------------- */
#bg {
    width: 100%;
    margin: 0px auto;
    padding: 0px 0px;
}


#bg_right{
    margin: 0px auto;
    padding: 0px 0px;
background-image: url(http://www.w-blue.com/images/bg/top_right_main.gif);
background-repeat: repeat-y;
background-position:right top;
}

#bg_left{
    margin: 0px auto;
    padding: 0px 0px;
background-image: url(http://www.w-blue.com/images/bg/top_left_main.gif);
background-repeat: repeat-y;
background-position:left top;
}




/* トップ用ナビ　CSS Tabs Hybrid*/

#main_block {
	border: 1px solid #0099CC;
	clear: both;
	background: #FFF3B3;
	padding-top: 1.5em;
	font-size: 62.5%; /* This sets the default font size to be equivalent to 10px */
        font-size:9pt;
}

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

#header_tab {
	position: relative;
	width: 765px;
	height: 3em;
	font-size: 95%;
text-align:left;
        float:left;
        font-size:11pt;
}

#header_tab ul#primary {
	margin: 0;
	padding: 0;
	position: absolute;
	bottom: -1px;
}

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

#header_tab ul#primary a,#header_tab ul#primary span,#header_tab ul#primary a.current {
	display: block;
	float: left;
	padding: 4px 10px;
	margin: 1px 2px 0 0;
	text-align: center;
font-family: Verdana,Arial,sans-serif;
	font-size: 85%;
	text-decoration: none;
	color: #333;
}

#header_tab ul#primary span,#header_tab ul#primary a.current,#header_tab ul#primary a.current:hover {
	border: 1px solid #0099CC;
	border-bottom: none;
	background: #FFF3B3;
	padding-bottom: 6px;
	margin-top: 0;
}

#header_tab ul#primary a {
	background: #FFFAE1;
	border: 1px solid #35CDFF;
	border-bottom: none;
}

#header_tab ul#primary a:hover {
	margin-top: 0;
	border-color: #0099CC;
	background: #FFF7CD;
	padding-bottom: 6px;
}

#header_tab ul#secondary {
	position: absolute;
	margin: 0;
	padding: 0;
	bottom: -1.5em;
	left: 1px;

	font-size: small;
}

#header_tab ul#secondary li a,#header_tab 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;

}

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

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

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

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



#header_tab ul#third {
	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 */
	font-size: small;
}

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

}
