@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%;}
div{word-wrap:break-word;}

body {
	margin: 0;
	padding: 0;
	color: #666;
	text-align: center;
	line-height: 1.6;
	font-size: 13px;
	}

table {
	width: 100% !important;
}

#header {
	margin-bottom: 10px;
	border-bottom: 5px solid;
	text-align: left;
	}

#header .pWrap {
	margin-bottom: 30px;
	background-color: #efefef;
	font-size: 85%;
	text-align: right;
	}

#header .h1Wrap {
	margin-bottom: 30px;
	}

#header p,
#header h1 {
	margin: 0 auto;
	width: 900px;
	}

.photo {
	margin: 20px auto;
	width:940px;
	height:340px;
	}

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

#main {
	float: left;
	padding-bottom: 50px;
	width: 620px;
	}

#main h2 {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 2px #ccc solid;
	font-weight: normal;
	font-size: 150%;
	}

#main h3 {
	border-bottom: 1px dotted;
	color: #666;
	}

#sub {
	float: right;
	padding: 10px;
	width: 240px;
	border: 1px #dcdcdc solid;
	}

#sub h2 {
	padding: 5px 5px 15px 5px;
	font-size: 160%;
	font-weight: normal;
	border-bottom: 1px #dcdcdc solid;
	}

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

#sub li {
	margin: 0;
	padding: 0;
	border-bottom: 1px #dcdcdc solid;
	}

#sub li a {
	display: block;
	padding: 15px 5px 15px 15px;
	text-decoration: none;
	color: #666;
	background: url(../images/icon.jpg) left 19px no-repeat;
	}

#footer {
	padding: 10px 0 50px 0;
	border-top: 1px #dcdcdc solid;
	}

#footer p {
	margin: 0 auto;
	width: 900px;
	text-align: right;
	}


/* ----------------------------------------------------
　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;
	}
	
	#header .pWrap {
		margin-bottom: 20px;
		padding: 5px 10px;
		text-align: left;
	}
	#header .h1Wrap {
		padding: 0 10px;
		margin-bottom: 10px;
	}
	#header p,
	#header h1 {
		width:auto;
		line-height: 1.4;
	}
	.photo {
		max-width:100%;
		max-height:120px;
		background-size:100% !important;
	}
	
	#content {
		width:auto;
		padding:0 10px;
	}
	#main,
	#sub {
		width:auto;
		float:none;
		box-sizing:border-box;
		-webkit-box-sizing:border-box;
		-moz-box-sizing:border-box;
	}
	#main h2 {
		font-size:16px;
	}
	#sub {
		margin:0 0 10px;
		width:100% !important;
		padding: 0;
		border: 0;
	}
	#sub h2 {
		width:auto !important;
		background:#eee;
		padding:10px;
		font-size:16px;		
		border:#CCC solid 1px;
	}
	#sub ul {
		display:none;
	}
	#sub ul li {
		border: 0;
	}
	#sub.active ul {
		display:block;
		background:none;
		padding:0;
	}
	#sub ul li a {
		background:#f9f9f9 !important;
		border-bottom:#CCC solid 1px;
		border-left:#CCC solid 1px;
		border-right:#CCC solid 1px;
	}
	#main p {
		font-size:15px;
		line-height:1.35em;
	}
	#footer {
		padding: 10px;
		border-top: 1px #dcdcdc solid;
	}
	#footer p {
		width:auto !important;
		text-align: center;
	}

}
