@charset "utf-8";
* {
	margin:0;
	padding:0;
}
body {
	font: 100% Verdana, Arial, Helvetica, sans-serif;
	background-image:url(images/ajam_body.jpg);
	background-position:center top;
	margin: 0;
	padding: 0;
	text-align: center;
	color: #666666;
}
a:hover{
	color:#FF0000;
}
img{
	border-style:none;
}
#wrap {
	width: 820px;  
	margin: 0 auto; 
	text-align: left; /* この設定は body エレメントの text-align: center より優先されます。 */
	background-image:url(images/ajam_wrap.jpg);
	background-position:center top;
	background-repeat:repeat-y;
}
#head {
	padding: 0 10px 0 20px;
	height:100px;
	background-image:url(images/ajam_head.jpg);
	background-position:center bottom;
	background-repeat:no-repeat; 
}
#head h1 a{
	text-indent:-9999px;
	font-size:10px;
display:block;
height:100px;
width:400px;
}
/*----------------------------------------------*/
#sitetitle
{
	float:left;
}
#sitesearch
{
	float:right;
	padding:20px 20px 0 0;
}
/*----------------------------------------------*/
#top{
	height: 210px;  
	margin: 0 auto; 
	background-image:url(images/ajam_top.jpg);
	background-position:center bottom;
}
#top a{
	display:block;
	height:100%;
	width:100%;
}
/*----------------------------------------------*/
#main{
	width:400px;
	float:left;
	font-size:13px;
}
.content{
	padding:0 10px;
	line-height:150%;
	margin-bottom:10px;
}
.content li{
	margin-left:25px;
	margin-bottom:10px;
}
.content h1{
	font-size:14px;
	background-image:URL(images/bgh1.jpg);
	color:#666666;
	height:33px;
	padding-top:7px;
	padding-left:15px;
}
.content h2{
	font-size:14px;
	background-image:URL(images/bgh2.jpg);
	color:#000000;
	height:30px;
	padding-top:10px;
	padding-left:15px;
}
.content h3{
	font-size:14px;
	color:#000000;
	background-image:URL(images/bgh3.jpg);
	background-repeat:no-repeat;
	height:28px;
	padding-top:5px;
	padding-left:35px;
}
.content h4{
	font-size:12px;
	background-image:URL(images/bgh4.jpg);
	color:#666666;
	height:25px;
	padding-top:5px;
	padding-left:15px;
}
.content p{
	margin:3px 5px 5px 5px;
}
.content table{
	border-collapse:collapse;
}
.content td{
	border:solid 1px #999999;
	padding:5px;
}
.content table .td1{
	width:100px;
	background-color:#EEE;
}
.content option{
	padding-right:20px;
}
/*----------------------------------------------*/
.to_top {
	float:right;
	font-size:10px;
}
/*----------------------------------------------*/
#news .news_top{
	background-image:URL(images/news/top.jpg);
	font-size:10px;
	height:30px;
	width:380px;
	padding:0;
	text-indent:-9999em;
}
#news .news_btm{
	background-image:URL(images/news/btm.jpg);
	height:30px;
}
#news .news_body{
	background-image:URL(images/news/body.jpg);
	padding:10px 20px 0px 20px;
}
#news dl{
height:100px;
overflow:auto;
}
#news dt{
border-bottom:dashed 1px #666666;
color:#333333;
padding:3px;
}
#news dd{
border-bottom:dashed 1px #666666;
padding:3px 3px 3px 10px;
}
/********************************************/
.content .profile_top{
	background-image:URL(images/profile/top.jpg);
	font-size:10px;
	height:30px;
	width:380px;
	padding:0;
	margin:0;
	text-indent:-9999em;
}
.content .profile_body{
	background-image:URL(images/profile/body.jpg);
	padding: 0 30px;
}
.content .profile_history{
	height:200px;
	overflow:auto;
}
.content .profile_btm{
	background-image:URL(images/profile/btm.jpg);
	height:30px;
}
/********************************************/
#sub {
	float:left;
	width:170px;
	padding-left:30px;
	font-size:10px;
	text-align:center;
}
#sub a{
	text-decoration:none;
}
.subcontent{
	padding:10px;
}
#gnavi,#gnavi2,#tnavi{
	margin:0 auto;
}
#gnavi li{
	list-style-type:none;
	width:160px;
}
#gnavi a{
	display:block;
	width:160px;
	text-indent:-9999px;
	height:40px;
}
#gnavi .navi_es a{
	background-image:URL(images/gnavi/estimate.jpg);
	height:60px;
}
#gnavi .navi_top a{
	background-image:URL(images/gnavi/top.jpg);
	height:40px;
}
#gnavi .navi_btm{
	background-image:URL(images/gnavi/btm.jpg);
	height:30px;
}
#gnavi .navi_contact a{
	background-image:URL(images/gnavi/contact.jpg);
}
#gnavi .navi_cost a{
	background-image:URL(images/gnavi/cost.jpg);
}
#gnavi .navi_about a{
	background-image:URL(images/gnavi/about.jpg);
}
/*--------------------------------------*/
#gnavi .navi_es a:hover{
	background-image:URL(images/gnavi_on/estimate.jpg);
}
#gnavi .navi_top a:hover{
	background-image:URL(images/gnavi_on/top.jpg);
}
#gnavi .navi_contact a:hover{
	background-image:URL(images/gnavi_on/contact.jpg);
}
#gnavi .navi_cost a:hover{
	background-image:URL(images/gnavi_on/cost.jpg);
}
#gnavi .navi_about a:hover{
	background-image:URL(images/gnavi_on/about.jpg);
}
/*--------------------------------------*/
#tnavi li{
	list-style-type:none;
	width:160px;
	text-align:center;
}
#tnavi a{
	display:block;
	width:160px;
	font-size:14px;
	font-weight:bold;
}
#tnavi .navi_top a{
	background-image:URL(images/tnavi/top.jpg);
	height:40px;
	text-indent:-9999px;
}
#tnavi .navi_body a{
	background-image:URL(images/tnavi/body.jpg);
	height:20px;
	padding-top:10px;
}
#tnavi .navi_btm{
	background-image:URL(images/tnavi/btm.jpg);
	height:30px;
}
/*--------------------------------------*/
#gnavi2 li{
	background-image:URL(images/sub_navi.jpg);
	list-style-type:none;
	width:160px;
	height:30px;
}
#gnavi2 a{
	display:block;
	width:160px;
	padding-top:7px;
}
/*--------------------------------------*/
#anavi{
}
#anavi li{
	background-image:URL(images/anavi/body.jpg);
	background-repeat:repeat-y;
	list-style-type:none;
	width:160px;
	text-align:center;
}
#anavi a{
	display:block;
	width:160px;
	font-size:14px;
	font-weight:bold;
}
#anavi .navi_top a{
	background-image:URL(images/anavi/top.jpg);
	height:40px;
	text-indent:-9999px;
}
#anavi .navi_body a{
	background-image:URL(images/anavi/body.jpg);
	height:20px;
	padding-top:10px;
}
#anavi .navi_btm{
	background-image:URL(images/anavi/btm.jpg);
	height:30px;
}

/*--------------------------------------*/


#extra {
	float: right;
	width: 200px; 
	padding-right:20px;
}
/********************************************/
#ads1
{
	padding-top:5px;
	text-align:center;
}
#linkclub
{
	margin:20px 0;
	text-align:center;
}
#links
{
	text-align:center;
}
#links img
{
	border-style:none;
}
#ads2
{
	margin:20px 0 0 0;
	text-align:center;
}
/*--------------------------------------*/
#form_body{
	text-align:center;
}
.q_title{
	width:130px;
	text-align:right;
	background-color:#EEE;
}
.q_title p{
	margin:5px;
}
.q_item{
	width:230px;
	text-align:left;
}
.q_item input,.q_item select,.q_item textarea{
	margin:5px;
}
button{
	cursor:pointer;
	margin:5px auto;
}
textarea{
	font-size:12px;
}

/*--------------------------------------*/
#foot{
	clear:both;
	padding: 0 10px 0 20px; /* この余白は、その上に表示される div のエレメントの左揃えと一致します。 */
	text-align:right;
	background-image:url(images/ajam_foot.jpg);
	background-position:center bottom;
	background-repeat:no-repeat; 
	height:100px;
}
#foot p {
	margin: 0; /* フッターの最初のエレメントのマージンを 0 に設定することにより、マージンの相殺（div 間のスペース）が回避されます */
	padding: 30px 20px; /* このエレメントの余白により、マージンの相殺を発生させることなく、マージンの効果とまったく同じように、スペースが設定されます */
	font-size:12px;
}
#foot a{
	text-decoration:none;
	color: #666666;
}
/********************************************/
/********************************************/
/********************************************/
.color_tbl{
	float:left;
	cursor:pointer;
}
.color_tbl td{
	border:solid 1px #000000;
	width:19px;
	height:19px;
	margin:0;
	padding:0;
}
/*--------------------------------------*/
