@charset "utf-8";
/*
Theme Name: My theme
Description: オリジナルテーマ
Version: 1.0
*/


/* ▼PC用のスタイル */
*{margin:0;padding:0;}

body{
font: 16px "メイリオ","Meiryo",arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
color:#2f2f2f;
background:#eaeaea url(../../../images/header_sub.png) repeat-x 50% 0;
}



a{color:#987e2e;}
a:hover{color:#d8bc66;text-decoration:none;}
a:active, a:focus {outline: 0;}
img{border:0;}
.clear{clear:both;}
p{margin-bottom: 10px;}



#header, #container, .inner{
margin: 0 auto;
width: 960px;
}


/*************
/* ヘッダー
*************/
#header{
position:relative;
height: 106px;
padding: 0px 0px 30px;
}

#header h1,#header h2, #header h3{
position:absolute;
top:5px;
color: #fff;
font-size: 11px;
line-height: 20px;
font-weight: normal;
}

#header h2{
right:10px;
width:10px;
}

#header h3{
	top: 37px;
	left: 5px;
}




/*************
コンテンツ全体
*************/
#container{padding: 10px 0;}



#container h2{
font-size: 16px;
font-weight: bold;
margin: 0 0 20px;
padding: 5px 10px 7px 0;
border-bottom: 1px solid #444444;
color: #2f2f2f;
}


#container h3{
font-size: 16px;
font-weight: normal;
margin: 0 0 15px;
padding: 5px 10px 7px 0;
border-bottom: 1px dashed #444444;
color: #2f2f2f;
}

#container ul{
	margin-left: 5px;
padding-bottom:10px;}

#container ul li{
list-style: none;
margin-bottom: 7px;
padding-left: 17px;
background:url(../../../images/bullet.png) no-repeat 0 3px;
}


#next {
padding-top: 30px;
padding-bottom: 30px;
	text-align: right;
}
strong{
	color: #d22f2f;
	}
table{
	border-collapse: collapse;
	border: 1px solid #333;
	width: 640px;
	margin-bottom: 30px;
	}	
table td,table th{
	padding: 5px 1px 1px;
	border: 1px solid #333;
	border-collapse: collapse;	
	}
/************************
メインコンテンツ
************************/
#main {
float: right;
width: 700px;
padding-bottom:60px;
}


/************************
サイドコンテンツ
************************/
#sidebar {
float: left;
width: 240px;
padding-bottom:30px;
}

#sidebar h3{
	font-size: 14px;
	margin: 0 0 15px;
	padding: 5px 10px 7px 0;
	color: #2f2f2f;
border-bottom: 1px solid #444444;
}


/*************
/* フッター
*************/

#footer{
	border-top: 1px solid #a68f49;
	overflow: hidden;
	background:#997e2e;
	clear: both;
}

#footer .inner{
position:relative;
min-height: 60px;
color: #fff;
font-size:13px;
}

* html #footer .inner{height:60px;}

#footer .inner p{
position:absolute;
top: 10px;
padding-bottom: 5px;
}

#footer .inner p#contact{right:0;}


/* ▲PC用のスタイル */




/* ▼スマホ用のスタイル */
@media screen and (max-width: 640px) {

	* {
		float: none;
		word-break: break-all;
	}

	#container,
	#sidebar,
	#footer,
	.inner,
	table {
		width: 100%;
		height: auto;
		margin: 0;
		padding: 0;
		border-left: none;
		border-right: none;
		float: none;
	}

	#header {
		width: 100%;
	}

	#header h3 img {
		width: 100%;
		height: auto;
	}

	#header h2 img {
		width: 20%;
		height: auto;
		float: right;
	}

	#main,
	#sidebar {
		width: 96%;
		padding: 10px 2%;
		float: none;
	}

	#footer .inner{
		padding-left: 4px;
	}


	#footer .inner p {
		top: 12px;
		font-size: 11px;
	}

	#footer .inner p#contact {
		right: 10px;
		top: 29px;
	}
}
/* ▲スマホ用のスタイル */