@charset "UTF-8";

body {font:13px/1.231 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;}
select,input,button,textarea,button {font:99% arial,helvetica,clean,sans-serif;}
table {font-size:inherit;font:100%;}
pre,code,kbd,samp,tt {font-family:monospace;*font-size:108%;line-height:100%;}
h1,h2,h3 {margin: 0; padding: 0; line-height: 1.4;}
h4,h5,h6 {font-size: 100%; line-height: 1.4;}
div{word-wrap:break-word;}

body {
	margin: 0;
	padding: 20px 0 0 0;
	color: #565656;
	text-align: center;
	line-height: 1.6;
	background: url(../images/body_bg.jpg);
	font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
}

#wrapper {
	position: relative;
	margin: 0 auto;
	width: 940px;
	background-color: #fff;
	text-align: left;
	-webkit-box-shadow: #999 0px 1px 5px;
	-moz-box-shadow: #999 0px 1px 5px;
	box-shadow: #999 0px 1px 5px;
	behavior: url(js/PIE.htc);
}

#header .photo {
	float: right;
	margin: 10px;
	width:300px;
	height:200px;
}
	
#header h1 {
	padding: 20px 20px 10px 20px;
	font-size: 300%;
	}

#header p {
	margin-bottom: 0;
	padding: 0 20px 20px 20px;
	font-size: 85%;
}


#content {
	margin: 0 auto;
	width: 900px;
	text-align: left;
	overflow:hidden;
}

#mainArea {
	float: left;
	margin-bottom: 30px;
	padding: 20px;
	width: 580px;
	background-color: #fff;
	border: 1px #ccc solid;
	text-align: left;
	overflow:hidden;
}

#mainArea h2 {
	margin-bottom: 15px;
	padding: 0 0 5px 35px;
	min-height: 40px;
	background: left top no-repeat;
	border-bottom: 2px dotted;
}

#mainArea h3 {
	padding-left: 10px;
	border-left: 5px solid;
}

#mainArea #pagetop {
	text-align: right;
}
#mainArea #pagetop a {
	text-decoration: none;
}
#mainArea #pagetop a:hover {
	text-decoration: underline;
	color: #e72658;
}


#sideArea {
	float:right;
	padding: 0 0 0 0;
	margin:0;
	list-style: none;
	width:250px;
	overflow: hidden;
}
#sideArea ul {
	padding: 0 0 0 0;
	margin:0;
}
#sideArea h2 {
	background-repeat:no-repeat;
	padding-left:35px;
	padding-bottom:10px;
}
#sideArea li {
	display: block;
	margin: 0 0 5px 0;
	list-style-position: outside;
	zoom: 1;
}

#sideArea li a {
	display: block;
	padding: 15px 10px;
	text-decoration: none;
	background-color: #eee;
	color: #666;
}
#sideArea li a:hover {
	color: #fff;
}

#footer {
	clear: both;
	margin-bottom: 20px;
	padding: 20px 30px;
	text-align: left;
	color: #fff;
	background: #333 url(../images/img_01.gif) right center no-repeat;
}


/* ----------------------------------------------------
　clearfix
---------------------------------------------------- */
.clearfix:after {
	mainArea: " ";  
	display: block; 
	visibility: hidden; 
	clear: both; 
	height: 0.1px; 
	font-size: 0.1em; 
	line-height: 0; 
}
.clearfix {
	display: block;
	zoom: 1;
}
* html .clearfix {
	display: inline-block;
	height: 1%;
}

@media screen and (max-width: 768px) {
	/**/
	table {
		width:100% !important;
		border-collapse:collapse;
	}
	th ,td {
		width:auto;
		border-collapse:collapse;
	}
	img {
		max-width:100% !important;
		height: auto !important;
		margin:0 !important;
		padding:0 !important;
	}
	ul , ol , li {
		margin:0 !important;
	}
	h2,h3,h4,h5,h6 {
		width:auto !important;
	}
	/**/

	body {
		width:100%;
		height:auto;
		-moz-background-size:100%;
		background-size:100% !important;
	}
	
	#wrapper {
		width:95%;
		height:auto;
	}
	
	#header {
		margin:0;
		padding:10px;
		float: none;
		width:95%;
	}
	
	#header h1 {
		font-size: 140%;
	}
	
	
	#header .photo {
		width:95%;
		height:200px;
		-moz-background-size:100%;
		background-size:100% !important;
	}
	
	#content {
		margin: 0 auto;
		width: 100%;
		text-align: left;
	}
	
	#mainArea {
		float: none;
		width:90%;
		margin:10px;
		padding:10px 5px 5px 5px;
		border:none;
	}
	
	#sideArea {
		float: none;
		width:100%;
		margin: 0;
		padding: 0;
	}
	
	#mainArea h2 {
		font-size: 140%;
	}
	
	#mainArea h3 {
		font-size: 120%;
	}
	
	#footer {
		padding:10px;
		margin:0;
		text-align: left;
		width:95%;
		height:auto;
		font-size: 90%;
		-moz-background-size:100%;
		background-size:100% !important;
	}
	#sideArea {
		width:100% !important;
		float:none;
		box-sizing:border-box;
		-webkit-box-sizing:border-box;
		-moz-box-sizing:border-box;
		padding:0;
		margin-left:0px;
		overflow:hidden;
		padding-bottom:10px;
		background:#FFF;
	}
	#sideArea h2 {
		padding:13px 0 13px 10px;
		margin:0;
		text-indent:0;
		font-size:99%;
		width:100% !important;
		cursor:pointer;
		display:inherit;
		box-sizing:border-box;
		background:#BEBDAB url(../images/sp_icon_wh.png) no-repeat 100% 50% !important;
		color:#FFF !important;

	}
	#sideArea ul {
		display:none;
	}
	#sideArea.active ul {
		display:block;
		background:none;
		padding:0;
		border:none;
	}
	#sideArea ul li {
		clear:both;
		width:100% !important;
		margin:0;
		padding:0 0 0 10px;
		border-bottom:#BEBDAB solid 1px;
		box-sizing:border-box;
	}
	#sideArea ul li a ,
	#sideArea ul li a:hover {
		padding:8px 0;
		margin:0 0 0 0;
		background:#fff !important;
		width:100% !important;
		display:block;
		-webkit-border-radius: 0px;
		-moz-border-radius: 0px;
		border-radius: 0px;
		box-sizing:border-box;
		color:#333;

	}
	
}