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

update:2009/1/22
----------------------------------------------- */

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

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

@import "http://www.cosmosfoods.jp/css/global.css";

#g3 a{width:163px; background-position:-464px -45px; margin-left:-1px;}


/* 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{
	outline:none;
	text-decoration: underline;
	color:#018ca1;
}
a:hover{ color:#de9106;}

option{padding-right:10px;}

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

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

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

#container{
	margin:0px auto;
	text-align:left;
	width:950px;
	background-color:#fff;
}

#header{
	position:relative;
	background:url(../img/common/header.jpg) left repeat-x;
	height:20px;
	font-size:80%;
}

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

#navi{
	width:950px;
	display: inline-block;
}

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


#contents{
	display: inline-block;
	width:900px;
	margin:20px 0 15px 20px;
	background:url(../img/common/contents.jpg) 260px 0 repeat-y;
}

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


#main{
	width:610px;
	float: right;
}

#sub{
	width:238px;
	float: left;
}

#footer{
	margin-left:5px;
	width:940px;
	border-top:1px solid #ccc;
	padding-top:6px;
}

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

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

#lead{
	color:#0096ad;
	line-height:20px;
	padding-left:15px;
}


/*----- header-navi -----*/

#header ul{
	position:absolute;
	right:13px;
	top:0px;
	line-height:20px;
}

#header li{
	display:inline;
	background:url(../img/common/header-li.jpg) left no-repeat;
	padding-left:8px;
	margin-left:10px;
}

/*
===== header2 & mainimg =====
*/

#logo {
	position:absolute;
	width:154px;
	left:52px;
	top:13px;
}

#logo a{
	height:54px;
	display:block;
	text-indent:-9000px;
	background-image:url(../img/common/empty.gif);
}

#copy{
	position:absolute;
	left:-9000px;
}


#mainimg h1,
#mainimg p{position:absolute; left:-9000px;}


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

#navi li{
	float: left;
}

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

#n1 a{ width:152px;}
#n2 a{ width:206px; background-position:-152px 0px;}
#n3 a{ width:147px; background-position:-358px 0px;}
#n4 a{ width:147px; background-position:-505px 0px;}
#n5 a{ width:147px; background-position:-652px 0px;}
#n6 a{ width:151px; background-position:-799px 0px;}

#home-p #n1 a,#n1 a:hover{ background-position:0px -60px;}
#about-p #n2 a,#n2 a:hover{ width:206px; background-position:-152px -60px;}
.products-p #n3 a,#n3 a:hover{ width:147px; background-position:-358px -60px;}
#eco-p #n4 a,#n4 a:hover{ width:147px; background-position:-505px -60px;}
#link-p #n5 a,#n5 a:hover{ width:147px; background-position:-652px -60px;}
#contact-p #n6 a,#n6 a:hover{ width:151px; background-position:-799px -60px;}


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

.h2{margin-bottom:25px;}

.p{margin-bottom:20px;}

.block{margin-bottom:15px;}

.link{
	background:url(../img/about/link.jpg) left no-repeat;
	padding-left:10px;
	margin-left:2px;
}

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

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

/* case */

.case{display: inline-block;}
.case:after{content: ".";display: block;height:0;clear:both;visibility: hidden;}
.case .left{float:left; display:inline;}
.case .right{float:right; display:inline;}



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

#sub-navi{
	margin-left:9px;
	margin-bottom:25px;
}
#sub-navi h2{
	text-indent:-9000px;
	height:35px;
	margin-bottom:15px;
}


#sub-navi ul{
	margin-bottom:20px;
	padding-left:6px;
}

#sub-navi li{
	background:url(../img/common/sub-arrow.jpg) left no-repeat;
	margin-bottom:10px;
	padding-left:11px;
}

#sub #banner li{
	margin-bottom:15px;
}


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


#footer #copyright{
	background:url(../img/common/copyright.jpg) left repeat-x;
	line-height:21px;
	text-align:center;
	font-size:75%;

}

