/***********************************************/
/*       copyright(C)2006 Country Farm         */
/***********************************************/

/* 基本スタイル
---------------------------------------------*/

* {
	margin: 0;
	padding: 0;
	font-size: 100%;
}

a {
	color: #003399;
}

a:visited {
	color: #333333;
}

a:hover {
	color: #0066CC;
}

img {
	border: none;
}

body {
	font-size: 12px;
	line-height: 1.4;
	color:#666666;
	background-color:#E7E7E7;
	font-weight: normal;
	background-image:url(../images/bg.jpg);
	background-repeat:repeat-x;
}

#flame {
	width: 780px;
	height: 2150px;	/*1950px*/
	margin-top: 0px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0px;
	background-image:url(../images/flame_bg.jpg);
	background-repeat:repeat-y;
}

/* ヘッダー部分
---------------------------------------------*/

#header {
	height: 59px;
	background-image:url(../images/header_bg.jpg)
}

.logo {
	width: 208px;
	height: 40px;
	margin: 9px 0 0 15px;
}

/* グローバルナビ
---------------------------------------------*/

#globalnavi {
	padding: 0px;
	margin: 0px 0px 0px 6px;
	list-style-type: none;
	width: 770px;
	height: 31px;

}

#globalnavi li{
	float: left;
	width: 192px;
	padding: 0px;
	margin: 0px;
}

#globalnavi li a{
    display: block;
	overflow: hidden;
	width: 100%;
	height: 0 !important;
	height /**/:31px;
	padding-top: 31px;
	background-image:url(../images/navi.jpg);
	color: #000000;
}

/*  位置
---------------------------------------------*/
	
	/* 通常 */
	#nav01 a { background-position:  0     0; }
	#nav02 a { background-position: -192px 0; }
	#nav03 a { background-position: -385px 0; }
	#nav04 a { background-position: -578px 0; }

	/* オンマウス */
	#nav01 a:hover { background-position:  0     -31px; }
	#nav02 a:hover { background-position: -192px -31px; }
	#nav03 a:hover { background-position: -385px -31px; }
	#nav04 a:hover { background-position: -578px -31px; }


/* トップページ見出し
---------------------------------------------*/

#tmain {
	width: 780px;
	height: 103px;
}

/* メインコンテンツ
---------------------------------------------*/

#maincontents {
	float: left;
	width: 580px;
	height: 1681px;
	margin: 10px 0px 10px 7px;
	
}

#tohome {
	margin: 0px 0px 2px 470px;
	padding: 0;
	width:100px;
	height:10px;
}

.ex {
	margin: 0px 0px 20px 0;
	padding: 0;
	width:575px;
	height:300px;
}

.ex h2 {
	margin: 0;
	padding: 0;
	float:left;
	width:575px;
}

.box_ex {
	width: 270px;
	height: 100px;
	margin: 15px 0px 10px 7px;
	float:right;
}

.box_ex h3{
	width: 250px;
	height: 25px;
	margin: 0 0 10px 0;
	padding: 5px 0 0 25px;
	background-image:url(../images/example/ya.jpg);
	color:#993333;
	background-repeat:no-repeat;
	background-position:left center;
	vertical-align:middle;
}

.box_ex p {
	background-image: url(../images/works/p_under.jpg);
	background-repeat: repeat-y;
	line-height: 24px;
	color:#333333;
}

.box_ex h4 {
	width:230px;
	heiht:50px;
	border:dotted 1px #CC3333;
	margin: 20px 0 0 5px;
	padding: 10px;
	
}

.image_ex {
	margin: 13px 0 0 2px;
	padding: 0px;
	float:left;
	width:195px;
	height:auto;
}

/* サイドスペース＆メニュー
---------------------------------------------*/

#sidespace {
	float: right;
	width: 168px;
	height: auto;
	margin: 10px 6px 0 0;
}

#sidespace .menutitle {
	margin:0 0 10px 0;
}

#menu {
	width: 168px;
	height: auto;
	margin:0;
	list-style-type: none;
}

#menu li{
	width: 168px;
	height: 80px;
	padding: 0px;
	margin: 0 0 10px 0;
	list-style:none;
}

#menu li a{
    display: block;
	overflow: hidden;
	width: 100%;
	height: 0 !important;
	height /**/:80px;
	padding-top:80px;
	background-image:url(../images/menu.jpg);
	color: #000000;
}

	/* 通常 */
	#menu01 a { background-position: 0  0; }
	#menu02 a { background-position: 0 -89px; }
	#menu03 a { background-position: 0 -178px; }
	#menu04 a { background-position: 0 -267px; }
	
	/* オンマウス */
	#menu01 a:hover { background-position: -168px 0; }
	#menu02 a:hover { background-position: -168px -89px; }
	#menu03 a:hover { background-position: -168px -178px; }
	#menu04 a:hover { background-position: -168px -267px; }
	


