/*
-----------------------------------------------

update:2008/12/20
----------------------------------------------- */

/*
===== CONTENTS =====

	1: universal reset 
	2: layout
	3: parts
		: header
		: navi
		: main
		: sub
		: footer
	
====================
*/

/* 1: universal reset
----------------------------------------------- */

*{
	margin:0px;
	padding:0px;
	background-repeat:no-repeat;
	list-style-type:none;
}

h1,h2,h3,h4,h5,h6,p,ul,li,dl,dt,dd,div,table,tr,td,th,a{
	border-style:solid;
	border-width:0px;
	border-color:#ccc;
	font-size:100%;
}

p,li,dt,dd{line-height:1.7;}
th,td{ line-height:1.8; text-align:left; font-weight:normal; vertical-align:top;}
img{border-width:0px; vertical-align:bottom;}

a{ color:#003399;outline:none;text-decoration: underline;}
a:hover{}

option{padding-right:10px;}

/* 2: layout
----------------------------------------------- */

body {
  font-size: 75%; /* IE */
}
html>/**/body {
  font-size: 12px; /* Except IE */
}

body{
	font-family: Verdana,Arial,Helvetica,"メイリオ","Meiryo","Hiragino Kaku Gothic Pro","Osaka","ＭＳ Ｐゴシック","MS UI Gothic",sans-serif;
	text-align:center;
	color:#333;
	background:top;
	background-repeat:repeat-x;
	background-color:#dbe8f6;
	background-image:url(../img/common/body.jpg);
}

#container{
	margin:0px auto;
	text-align:left;
	width:790px;
}

#header,
#navi,
#mainimg{
	width:780px;
	margin-left:5px;
}

#header{
	position:relative;
	height:72px;
	background:url(../img/common/header.jpg) repeat-x;
}

#navi{
	display: inline-block;
	margin-bottom:6px;
}

#navi:after{content: ".";display: block;height:0;clear:both;visibility: hidden;}

#mainimg{margin-bottom:5px;}
#mainimg span{position:absolute; left:-9000px;}

#contents{
	display: inline-block;
	width:790px;
	background:url(../img/common/contents.jpg) top repeat-y;
}
#contents:after{content: ".";display: block;height:0;clear:both;visibility: hidden;}


#main{
	width:510px;
	float: right;
	margin-right:29px;
	display:inline;
}

#sub{
	width:177px;
	float: left;
	display:inline;
	margin-left:29px;
	padding-bottom:30px;
}

#footer{
	position:relative;
	background-image:url(../img/common/footer.jpg);
	height:50px;
}

/* 3: parts
----------------------------------------------- */

/*
===== header =====
*/

#logo,
#contact,
#tel,
#search,
#order{position:absolute;}

#logo{left:24px;top:20px;}

#logo a{
	display:block;
	text-indent:-9000px;
	width:228px;
	height:28px;
	background-image:url(../img/common/logo.jpg);	
}

#contact,
#tel{
	top:7px;
	text-indent:-9000px;
	height:20px;
	overflow:hidden;
}

#contact{
	right:166px;
	background-image:url(../img/common/contact.jpg);
	width:88px;
}

#contact a{
	display:block;
	height:20px;
	text-indent:-9000px;
}

#tel{
	background-image:url(../img/common/tel.jpg);
	width:138px;
	right:22px;
}

#search{top:38px;right:196px;}
#search td{padding-left:10px;}


#order{top:31px;right:22px;}

#order a{
	background-image:url(../img/common/order.jpg);
	width:157px;
	height:33px;
	text-indent:-9000px;
	display:block;
}
#order a:hover{background-position:bottom;}



/*
===== navi =====
*/


#navi li{
	float:left;
}

#navi a{
	background-image:url(../img/common/navi.jpg);
	height:44px;
	display:block;
	text-indent:-9000px;
}

#n1 a{ width:108px;}
#n2 a{ width:109px; background-position:-108px 0;}
#n3 a{ width:109px; background-position:-217px 0;}
#n4 a{ width:109px; background-position:-326px 0;}
#n5 a{ width:109px; background-position:-435px 0;}
#n6 a{ width:128px; background-position:-544px 0;}
#n7 a{ width:108px; background-position:-672px 0;}

#home-p #n1 a,#n1 a:hover{ background-position:0px -44px;}
.health-p #n2 a,#n2 a:hover{ background-position:-108px -44px;}
.medical-p #n3 a,#n3 a:hover{ background-position:-217px -44px;}
#factory-p #n4 a,#n4 a:hover{ background-position:-326px -44px;}
.company-p #n5 a,#n5 a:hover{ background-position:-435px -44px;}
.persons-p #n6 a,#n6 a:hover{ background-position:-544px -44px;}
.news-p #n7 a,#n7 a:hover{ background-position:-672px -44px;}


/*
===== contents =====
*/

#contents-frame{
	background-image:url(../img/common/contents-top.jpg);
	padding-top:24px;
	width:790px;
	display: inline-block;
}

#contents-frame:after{content: ".";display: block;height:0;clear:both;visibility: hidden;}

.contents-top{
	height:24px;
	overflow:hidden;
	display:block;
}


/*
===== main =====
*/

.h2{margin-bottom:10px;}
.h2-text{
	background-image:url(../img/common/h2-text.jpg);
	line-height:30px;
	color:#26568d;
	padding-left:16px;
	margin-bottom:10px;
}

.h3{
	background:url(../img/medical/title.jpg) left repeat-x;
	line-height:27px;
	padding-left:6px;
	margin-bottom:10px;
	color:#000;
}

.h3 a,
.h3 span{
	background:url(../img/medical/title-arrow.jpg) left no-repeat;
	padding-left:13px;
}

.h3 strong{ color:#ea5007;}

.h4{
	background:url(../img/common/line.jpg) left bottom repeat-x;
	margin-bottom:7px;
	padding-bottom:1px;
}
.h4 img{vertical-align: text-bottom;}

.p{margin-bottom:15px;}
.pp{margin-bottom:30px;}

.block{margin-bottom:15px;}

/* breadcrumbs */

#breadcrumbs{margin-bottom:10px;}
#breadcrumbs li{display:inline;}

/* intro */

#intro{margin-bottom:20px;}
#intro *{position:absolute; top:-9000px; left:-9000px;}
#intro img{position:static;}

.pagetop{
	text-align:right;
	margin:15px 0;
}

.pagetop a{
	padding-left:10px;
	background:url(../img/common/pagetop.jpg) left no-repeat;
}

/* table */

.table {
	width:100%;
	border-bottom:1px solid #90accc;
}

.table th,
.table td{
	border-top:1px solid #90accc;
	padding:5px 10px;
}

.table th{width:22%; background-color:#f1f7fd; white-space:nowrap;}
.table td{width:78%;}

/* table2 */

.table2{background-color:#8faccc; margin-bottom:10px;}
.table2 th{text-align:center; background-color:#f3f8fe; padding:3px 10px; }
.table2 td{background-color:#fff; padding:3px 10px;}

/* case */

.case{
	width:510px;
	display: inline-block;
}

.case:after{content: ".";display: block;height:0;clear:both;visibility: hidden;}

.case .text{width:300px; float:left;}
.case .image{width:190px; float:right;}


/*
===== sub =====
*/

#banner li{
	background:url(../img/home/banner-bg.png) no-repeat;
	width:176px;
	height:57px;
	margin-bottom:11px;
}

#sub-contact{
	background:url(../img/common/sub-contact-bg.png) repeat-y;
	padding-right:2px;
}

#sub-contact .bottom{
	background-image:url(../img/common/sub-contact-bottom.png);
	height:2px;
	overflow:hidden;
	display:block;
}

#sub-contact div{
	border:1px #a7b2c3 solid;
	padding:1px;
	background-color:#fff;
}

#sub-contact dl{border:1px solid #d3e1f0;}

#sub-contact dt{
	background-image:url(../img/common/sub-contact.jpg);
	height:20px;
	overflow:hidden;
	text-indent:-9000px;
}
#sub-contact dd{padding:10px;}

/*
===== footer =====
*/

#footer ul{
	position:absolute;
	top:16px;
	left:24px;
	font-size:90%;
}

#footer li{
	display:inline;
	color:#fff;
}

#footer li a{color:#fff;}

#footer #copyright{
	text-indent:-9000px;
}

