/* @override http://61.120.97.116/selcohome.jp/css/common.css */

body * {
	margin: 0;
	padding: 0;
	font-size: small;
	line-height: 100%;
}

/* only IE6 */
* html body * {
	font-family: Meiryo, 'MS PGothic', san-serif;
}

/* only IE7 */
*:first-child+html body * {
	font-family: Meiryo, 'MS PGothic', san-serif;
}

body {
	background: #fff;
	margin: 0 0 20px 0;
}

img {
    border: 0;
}

ul, ol {
	list-style: none;
}

div.clear {
	clear: both;
}

a:link, a:visited {
	color: #10287b;
}

a:hover, a:active {
	color: #1d7ddf;
}

div#wholewrapper {
	position: relative;
	width: 831px;
	padding: 0;
	margin: 0 auto 20px;
}

/* @group Header */

div#header {
	position: relative;
	width: 100%;
	height: 66px;
	overflow: hidden;
	margin: 0 auto;
}

div#header h1 {
	position: absolute;
	top: 14px;
	left: 28px;
}

ul#headermenu {
	position: absolute;
	top: 18px;
	right: 0;
	width: 350px;
	height: 14px;
}

ul#headermenu li {
	float: left;
}

ul#globalmenu {
	position: relative;
	width: 100%;
	height: 42px;
	bottom: 0;
	left: 0;
	z-index: 10;
}

ul#globalmenu * {
	z-index: 10;
}

ul#globalmenu li {
	position: relative;
	width: 166px;
	height: 42px;
	float: left;
}

ul#globalmenu li a {
	display: block;
	width: 166px;
	height: 42px;
	overflow: hidden;
}

ul#globalmenu ul.submenu {
	position: absolute;
	top: 42px;
	left: 0;
	width: 163px;
	display: none;
	border: 1px solid #ccc;
	border-bottom: none;
	z-index: 30;
}

ul#globalmenu ul.submenu li {
	width: 163px;
	height: 19px;
	background: white;
}

ul#globalmenu ul.submenu li a {
	display: block;
	width: 153px;
	height: 100%;
	line-height: 18px;
	padding: 0 0 0 10px;
	background-image: url(../images/submenu_bg.png);
	background-repeat: repeat-x;
	text-decoration: none;
}

ul#globalmenu ul.submenu li a:link,
ul#globalmenu ul.submenu li a:visited {
	background-position: center top;
	color: #333;
}

ul#globalmenu ul.submenu li a:hover,
ul#globalmenu ul.submenu li a:active {
	background-position: center bottom;
	color: #12398f;
}

div#returntop {
	position: absolute;
	top: 24px;
	right: 354px;
}

/* @end */

/* @group Local Menu */

ul.localmenu {
	
}

ul.localmenu li {
	width: 173px;
	margin: 2px 0;
}

ul.localmenu li a {
	display: block;
	padding: 0 0 0 15px;
	width: 158px;
	height: 33px;
	line-height: 33px;
	text-decoration: none;
	overflow: hidden;
}

ul.localmenu li a:link,
ul.localmenu li a:visited {
	background: transparent url(../images/localmenu_item.png) no-repeat left top;
	color: #333;
}

ul.localmenu li a:hover,
ul.localmenu li a:active {
	background: transparent url(../images/localmenu_item.png) no-repeat left bottom;
	color: #0f2780;
}

ul.localmenu li a.active:link,
ul.localmenu li a.active:visited,
ul.localmenu li a.active:hover,
ul.localmenu li a.active:active {
	background: transparent url(../images/localmenu_item_active.png) no-repeat left center;
	color: #333;
}

ul.localmenu li li {
	height: 18px;
}

ul.localmenu li li a {
	padding: 0 0 0 27px;
	width: 146px;
	height: 18px;
	line-height: 18px;
}

ul.localmenu li li a:link,
ul.localmenu li li a:visited {
	background: transparent url(../images/localsubmenu_item.png) no-repeat left top;
	color: #333;
}

ul.localmenu li li a:hover,
ul.localmenu li li a:active {
	background: transparent url(../images/localsubmenu_item.png) no-repeat left bottom;
	color: #0f2780;
}

ul.localmenu li li a.active:link,
ul.localmenu li li a.active:visited,
ul.localmenu li li a.active:hover,
ul.localmenu li li a.active:active {
	background: transparent url(../images/localsubmenu_item_active.png) no-repeat left center;
	color: #333;
}

/* @end */

/* @group Pankuzu  */

div#pankuzu {
	margin: 10px 0;
	width: 830px;
	height: 26px;
	overflow: hidden;
	background: transparent url(../images/pankuzu_bg.png) repeat-x left top;
}

div#maincontents_wrapper.with_localmenu div#pankuzu {
	width: 630px;
}

div#maincontents_wrapper div#pankuzu div.bgwrapper {
	width: 100%;
	height: 26px;
	background: transparent url(../images/pankuzu_right.png) no-repeat right top;
}

div#pankuzu li {
	height: 26px;
	line-height: 26px;
	padding: 0 15px;
	background: transparent url(../images/pankuzu_arrow.png) no-repeat left center;
	float: left;
}

div#pankuzu li.home {
	padding: 0;
	background-image: none;
}

div#pankuzu li a:link,
div#pankuzu li a:visited {
	color: #333;
	text-decoration: none;
}

div#pankuzu li a:hover,
div#pankuzu li a:active {
	color: #12398f;
	text-decoration: underline;
}

/* @end */

h2#localheader {
	width: 830px;
	height: 131px;
	overflow: hidden;
}

div#maincontents_wrapper {
	width: 830px;
	background: transparent url(../images/maincontents_top_bg.png) repeat-x left top;
		border-top: 1px solid #ccc;
}

div#maincontents_wrapper div.bgwrapper {
	background: transparent url(../images/maincontents_top_bg.png) repeat-x left top;
}

div#maincontents_wrapper.with_localmenu {
	background: transparent url(../images/localmenu_bg.png) repeat-y left top;
}

div#localmenucontainer {
	width: 173px;
	float: left;
}

div#maincontents {
	width: 831px;
}

div#maincontents_wrapper.with_localmenu div#maincontents {
	width: 630px;
	padding-left: 27px;
	float: right;
}

table#tablelayout {
	width: 630px;
	overflow: hidden;
}

table#tablelayout td {
	line-height: 1.4;
}

/* @group Footer */

div#footer {
	position: relative;
	width: 100%;
	height: 45px;
	margin: 5px auto 0;
	border-top: 1px solid #ccc;
}

div#footer ul {
	position: absolute;
	top: 5px;
	left: 5px;
}

div#footer ul li {
	border-right: 1px solid #333;
	margin-right: 7px;
	padding-right: 7px;
	float: left;
}

div#footer ul li.last {
	border: none;
}

div#footer address {
	position: absolute;
	top: 5px;
	right: 5px;
	font-style: normal;
	font-size: x-small;
	font-family: sans-serif;
	color: #666;
}

/* @end */