@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;}
h4,h5,h6 {font-size:100%;clear:both;}
div{word-wrap:break-word;}

body {
	margin: 0;
	padding: 0;
	color: #333;
	text-align: center;
	line-height: 1.6;
	}

p {
	margin: 0 0 20px 0;
	}

#header p {
	padding: 10px;
	text-align: left;
	color: #fff;
	font-size: 85%;
	position: relative;
	-webkit-box-shadow: #ccc 0px 2px 8px;
	-moz-box-shadow: #ccc 0px 2px 8px;
	box-shadow: #ccc 0px 2px 8px;
	behavior: url(js/PIE.htc);
	}

#header h1 {
	margin: 0 auto;
	padding: 50px 0;
	width: 1000px;
	}


#contentWrap {
	background: url(../images/bg.jpg);
	border-top: 1px #ccc solid;
	}
#content {
	margin: 0 auto;
	padding: 20px 0;
	width: 1000px;
	text-align: left;
	}

.img_main div {
	width: 700px;
	height: 200px;
	}

#sub {
	float: left;
	width: 280px;
	background: #fff;
	}

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

#sub h2 {
	margin-bottom: 5px;
	padding: 10px;
	color: #fff;
	text-align: center;
	font-size: 110%;
	}

#sub ul {
	margin: 0 0 -5px 0;
	padding: 0;
	list-style: none;
	}

#sub li {
	display: block;
	zoom: 1;
	}

#sub li a {
	position: relative;
	display: block;
	zoom: 1;
	margin-bottom: 5px;
	padding: 6px 10px 6px 22px;
	text-decoration: none;
	border-bottom: 1px #ccc dotted;
	color: #333;
	background: url(../images/icon.gif) 10px 10px no-repeat;
	}

#main h2 {
	margin-bottom: 10px;
	padding: 10px;
	color: #fff;
	font-size: 110%;
	clear:both;
	}

#main h3 {
	margin-bottom: 10px;
	padding-left: 10px;
	border-left: 6px solid;
	clear:both;
	}

#main .mainInr {
	padding: 10px;
	}

#footer {
	padding: 20px;
	color: #fff;
	position: relative;
	-webkit-box-shadow: #999 0px -2px 8px;
	-moz-box-shadow: #999 0px -2px 8px;
	box-shadow: #999 0px -2px 8px;
	behavior: url(js/PIE.htc);
	}

#footer p {
	margin: 0;
	}


/* ----------------------------------------------------
　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%;
	}




/* ----------------------------------------------------
　SP Style
---------------------------------------------------- */
@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;
	}
	/**/

	p {
		margin: 0 0 10px 0;
		}
	#header h1,
	#header p {
		width:auto;
		height:auto;
		text-align: left;
	}
	#header h1 {
		margin: 0 0 10px 0;
		padding: 10px;
		line-height: 1.2;
	}
	.img_main div {
		max-width: 100%;
		max-height: 120px;
		background-size: 100% !important;
	}

	#content {
		width:auto;
		padding: 10px;
		margin:0px;
	}
	#main,
	#sub {
		margin-left: 0;
		width:auto;
		float:none;
		box-sizing:border-box;
		-webkit-box-sizing:border-box;
		-moz-box-sizing:border-box;
	}
	#content h2 {
		font-size:16px;
	}
	#sub {
		margin-bottom:10px;
		width:100% !important;
	}
	#sub h2 {
		width:auto !important;
	}
	#sub ul {
		display:none;
	}
	#sub.active ul {
		display:block;
		background:none;
		padding:0;
	}
	#main p {
		font-size:15px;
		line-height:1.35em;
	}
	#footer {
		padding: 10px;
	}
}
