@charset "utf-8";

/*------------------------------------------------------------------------------

	[ファイル名]	mamechishiki.css
	
	[概要]			DIYマメ知識ページレイアウト用
	
	[目次]
		・clearFix／画像代替／非表示部
	
------------------------------------------------------------------------------*/



/*------------------------------------------------------------------------------

								clearFix
								
------------------------------------------------------------------------------*/
div#section1 ul div:after,
div#section2 div:after
{
	display: block;
	visibility: hidden;
	clear: both;
	height: 0;
	line-height: 0;
	font-size: 0;
	content: ".";
}

/* Win IE7 */
*:first-child + html div#section1 ul div,
*:first-child + html div#section2 div
{
	min-height: 1%;
}
/* End Win IE7 */

/* Win IE6 \*/
* html div#section1 ul div,
* html div#section2 div
{
	height: 1%;
}
/* End Win IE6 */



/*------------------------------------------------------------------------------

							テキスト画像代替
							
------------------------------------------------------------------------------*/
h1,
div#section1 h2 a span,
div#section2 ul p.buttonDownload a,
div#localNav ul li a
{
	display: block;
	margin: 0;
	padding: 0;
	text-indent: -10000px;
	text-decoration: none;
	text-align: left;
/*\*/
	overflow: hidden;
/* */
}



/*------------------------------------------------------------------------------

								非表示部
								
------------------------------------------------------------------------------*/
div#section1 h2 em
{
	position: absolute;
	top: -9999px;
	left: -9999px;
	z-index: -9999;
	width: 0;
	height: 0;
	overflow: hidden;
}



/*------------------------------------------------------------------------------

								div#mainContent
									
------------------------------------------------------------------------------*/
div#mainContent{
	width: 670px;
	padding-left: 10px;
}

* html div#mainContent{
	width: 680px;
}



/*------------------------------------------------------------------------------

									h1
								
------------------------------------------------------------------------------*/
h1{
	width: 670px;
	height: 33px;
	margin: 0 auto;
	background: url(../../mamechishiki/images/h1.gif) no-repeat scroll left top;
}



/*------------------------------------------------------------------------------

								div#section1
								
------------------------------------------------------------------------------*/
div#section1{
	position: relative;
	width: 650px;
	height: 210px;
	margin: 10px;
	background: url(../../mamechishiki/images/h2_bg.jpg) no-repeat scroll left top;
}

div#section1 h2{
	width: 650px;
	height: 210px;
	background: url(../../mamechishiki/images/h2_bg.gif) no-repeat scroll left top;
}

body#vegetables div#section1{
	position: relative;
	width: 650px;
	height: 210px;
	margin: 10px;
	background: url(../../mamechishiki/vegetables/images/h2_bg.jpg) no-repeat scroll left top;
}

body#vegetables div#section1 h2{
	width: 650px;
	height: 210px;
	background: url(../../mamechishiki/vegetables/images/h2_bg.gif) no-repeat scroll left top;
}




div#section1 h2 a{
	position: absolute;
	display: block;
	top: 159px;
	left: 13px;
	width: 158px;
	height: 39px;
	background: url(../../mamechishiki/images/button_get_pdf_ov.gif) no-repeat scroll left top;
}

div#section1 h2 a span{
	width: 158px;
	height: 39px;
	background: url(../../mamechishiki/images/button_get_pdf.gif) no-repeat scroll left top;
	cursor: hand;
}

div#section1 h2 a:hover span{
	background-image: none;
}



/*------------------------------------------------------------------------------

								div#section2
								
------------------------------------------------------------------------------*/
div#section2 div.cell3{
	background: url(../../mamechishiki/images/cell_lower3.gif) no-repeat scroll left bottom;
	margin-bottom: 10px;
}
div#section2 div.cell2{
	background: url(../../mamechishiki/images/cell_lower2.gif) no-repeat scroll left bottom;
	margin-bottom: 10px;
}

div#section2 div.cell1{
	background: url(../../mamechishiki/images/cell_lower1.gif) no-repeat scroll left bottom;
	margin-bottom: 10px;
}

* html div#section2 div.cell1,
* html div#section2 div.cell2,
* html div#section2 div.cell3{
	padding-bottom: 10px;
}



div#section2 ul li{
	float: left;
	width: 213px;
	margin-right: 10px;
	background: url(../../mamechishiki/images/cell_upper.gif) no-repeat scroll left top;
}

*:first-child + html div#section2 ul li{
	padding-bottom: 10px;
}

div#section2 ul li p.buttonDownload{
	float: left;
	width: 38px;
	height: 50px;
	margin: 5px;
	background: url(../../mamechishiki/images/button_download_ov.gif) no-repeat scroll left top;
}

* html div#section2 ul li p.buttonDownload{
	display: inline;
}

div#section2 ul li p.buttonDownload a{
	width: 38px;
	height: 50px;
	background: url(../../mamechishiki/images/button_download.gif) no-repeat scroll left top;
}

div#section2 ul li p.buttonDownload a:hover{
	background-image: none;
}

div#section2 ul li p.text{
	padding-top: 8px;
	padding-left: 50px;
}

div#section2 ul li p.text a{
	font-size: 99%;
	line-height: 1.2em;
/*	padding-bottom: 5px;*/
	font-weight: bold;
}

div#section2 ul li p.text span.note{
	display: block;
}






/*------------------------------------------------------------------------------

								ローカルナビ
								
------------------------------------------------------------------------------*/
div#localNav,
div#localNav ul,
div#localNav ul li,
div#localNav ul li a{
	height: 33px;
	background: no-repeat scroll left bottom;
}

div#localNav{
	width: 660px;
	margin-bottom: 15px;
	background-image: url(../../mamechishiki/images/local_nav_bg.gif);
	text-align: left;
}

div#localNav ul{
	padding-left: 7px;
}

div#localNav ul li,
div#localNav ul li a{
	width: 122px;
	margin: 0px!important;
	padding: 0px!important;
}

div#localNav ul li{
	float: left;
	background-color: #3a5e87;
}

/*----- 各ボタン ロールオーバー時画像指定 -----*/
div#localNav ul li#localNavCard{
	background-image: url(../../mamechishiki/images/local_nav_life_ov.gif);
}
div#localNav ul li#localNavPrivilege{
	background-image: url(../../mamechishiki/images/local_nav_vegetables_ov.gif);
}

/*----- 各ボタン 通常時画像指定 -----*/
div#localNav ul li#localNavCard a{
	background-image: url(../../mamechishiki/images/local_nav_life.gif);
}
div#localNav ul li#localNavPrivilege a{
	background-image: url(../../mamechishiki/images/local_nav_vegetables.gif);
}

/*----- ロールオーバー動作指定 -----*/
div#localNav ul li a:hover{
	background-image: none!important;
}

/*----- 反転指定 -----*/
div#localNav ul li.selected,
div#localNav ul li.selected a:hover{
	visibility: hidden;
}
