@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: 0;
	color: #333;
	text-align: center;
	line-height: 1.6;
	}

#allwrap {
	margin: 0 auto;
	padding: 10px;
	width: 960px;
	background-color: #fff;
	}

#header {
	position: relative;
	margin-bottom: 20px;
	width: 960px;
	height: 300px;
	text-align: left;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: #ccc 0px 1px 5px;
	-moz-box-shadow: #ccc 0px 1px 5px;
	box-shadow: #ccc 0px 1px 5px;
	behavior: url(js/PIE.htc);
	}

#header h1 {
	padding: 20px 400px 20px 20px;
	}

#header p {
	margin-bottom: 0;
	padding: 0 400px 20px 20px;
	}

#content {
	margin: 0 auto;
	width: 960px;
	text-align: left;
	}

#menu {
	float: left;
	margin: 0;
	padding: 0;
	width: 240px;
	list-style: none;
	border-top: 1px #e7d9c4 dashed;
	}
#menu li {
	margin: 0;
	padding: 10px 0 10px 20px;
	list-style-position: outside;
	border-bottom: 1px #e7d9c4 dashed;
	background: left 13px no-repeat;
	}

#menu li a {
	display: block;
	text-decoration: none;
	}

#main {
	float:right;
	width:700px;
}

#main h2 {
	margin-bottom: 15px;
	padding: 0 0 5px 15px;
	border-bottom: 1px dashed;
	border-left: 3px solid;
	}

#main h3 {
	position: relative;
	padding: 3px 10px 2px 10px;
	color: #fff;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	behavior: url(js/PIE.htc);
	}

#main h4,
#main h5,
#main h6 {
	padding-left: 10px;
	border-left: 5px solid;
	}

#footer {
	padding: 100px 0 10px 0;
	text-align: center;
	}

#footer a {
	text-decoration: none;
	}


/* ----------------------------------------------------
　clearfix
---------------------------------------------------- */
.clearfix:after {
	content: " ";  
	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;
	}
	/**/
	
#allwrap {
	width: auto;
	overflow:hidden;
	background-color: #fff;
}

#header {
	position: relative;
	padding:5px 5px 0 5px;
	width: auto;
	height:auto;
	text-align: left;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: #ccc 0px 1px 5px;
	-moz-box-shadow: #ccc 0px 1px 5px;
	box-shadow: #ccc 0px 1px 5px;
	-moz-background-size:100%;
	background-size:100% !important;
}

#header h1 {
	width: auto;
	height:auto;
	font-size: 100%; 
	padding: 10px 0 0 20px;
	margin: 0 auto;
}

#header p {
	width: auto;
	height:auto;
	font-size: 90%;
	padding: 20px 0 10px 20px;
	margin: 0 auto;
}

#content {
	padding:5px;
	margin: 0 auto;
	width: 95%;
	text-align: left;
	font-size: 90%;
}

#menu {
	float:none;
	margin: 0;
	padding-bottom:15px;
	width: 95%;
	list-style: none;
	border-top: 1px #e7d9c4 dashed;
}

#menu li {
	margin: 0;
	padding: 10px 0 10px 20px;
	list-style-position: outside;
	border-bottom: 1px #e7d9c4 dashed;
	background: left 13px no-repeat;
}

#menu li a {
	display: block;
	text-decoration: none;
}

#main {
	width:100%;
	margin: 0;
}

#main h2 {
	width:95%;
	margin-bottom: 15px;
	padding: 0 0 5px 5px;
	border-bottom: 1px dashed;
	border-left: 3px solid;
	font-size: 100%;
}
#main p {
	width:95%;
	font-size: 100%;
}

#main h3 {
	width:95%;
	position: relative;
	padding: 3px 10px 2px 10px;
	color: #fff;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

#main h4,
#main h5,
#main h6 {
	width:95%;
	padding-left: 10px;
	border-left: 5px solid;
}

#footer {
	padding-top:30px;
	width:95%;
	text-align: center;
	font-size: 95%;
}

img {
	max-width:100% !important;
}
	#menu {
		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;
	}
	#menu 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:#dedede url(../images/sp_icon_bk.png) no-repeat 100% 50%;

	}
	#menu ul {
		display:none;
		margin:0;
		padding:0;
	}
	#menu.active ul {
		display:block;
		background:none;
		padding:0;
		border:none;
	}
	#menu ul li {
		clear:both;
		width:100% !important;
		margin:0;
		padding:0 0 0 10px;
		border-bottom:#dedede solid 1px;
		border-left:#dedede solid 1px;
		border-right:#dedede solid 1px;
		box-sizing:border-box;
	}
	#menu ul li a {
		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;
		padding: 10px;

	}

}
