@charset "utf-8";


/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {border: 0;font-family: inherit;font-size: 100%;font-style: inherit;font-weight: inherit;margin: 0;outline: 0;padding: 0;vertical-align: baseline;}
:focus {outline: 0;}

ol, ul {list-style: none;}
table {border-collapse: separate;border-spacing: 0;}
caption, th, td {font-weight: normal;text-align: left;}
blockquote:before, blockquote:after,q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img{border: 0;}
figure{margin:0}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}
/* -------------------------------------------------------------- */

body{
	color: #FFF;
	line-height: 2;
	border-top: 5px solid #000;
	-webkit-text-size-adjust: none;
	background-color: #D46A6A;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 14px;
}

html{background:#000;}


a{
	color: #FFF;
	text-decoration: none;
}
a:hover{
	color: #801815;
}
a:active, a:focus{outline:0;}


#wrapper{
	margin: 0 auto;
	padding: 20px 1%;
	width: 98%;
}

.inner{
margin:0 auto;
width:100%;
}


h1{
	font-size: 24px;
	font-weight: normal;
	margin-bottom: 10px;
}

#header{
overflow:hidden;
padding:5px 0 0;
color:#fff;
background:#D46A6A;
}

* html #header{height:1%;}


ul#topnav{
clear:both;
overflow:hidden;
margin:0 auto 10px;
background:#000;
}

* html ul#topnav{height:1%;}

ul#topnav li{
float:left;

}

ul#topnav a{
	width: 170px;
	font-size: 12px;
	display: block;
	padding: 10px 0 10px 10px;
	color: #fff;
	border-left-width: 3px;
	border-left-style: solid;
	border-left-color: #D46A6A;
}

ul#topnav li:first-child a,ul#topnav li:last-child a{width:170px;}


ul#topnav li.active a,ul#topnav a:hover{
	color: #D46A6A;
}

img{
max-width:100%;
height:auto;
}

#footer{
	padding: 20px 0;
	background-color: #000000;
}

* html #footer{height:1%;}

#footer a{color:#fff;}
#footer a:hover{color:#fff;}

#footer .copyright{
	font-size: 11px;
	text-align: center;
	color: #FFF;
}


/* PC用 */
@media only screen and (min-width:960px){
	#wrapper,.inner,ul#topnav{
	width:940px;
	padding:0;
	}
	
	#wrapper{padding:20px 0;}
	
	#main{
	float:right;
	width:690px;
	}
	
	
}


/* モニター幅960px以下 */
@media only screen and (max-width:960px){
	h1 p.inner{padding:0 2%;width:96%}
	
	ul#topnav{
	clear:both;
	width:100%;
	}

	ul#topnav li{
	width:33%;
	border-right:1px solid #D46A6A;
	border-bottom:1px solid #D46A6A;
	box-sizing:border-box;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
	}

	ul#topnav li:nth-child(3n){border-right:0;width:34%;}

	ul#topnav li a{
	width:100%;
	border:0;
	}

	ul#topnav li:first-child a,ul#topnav li:last-child a{width:100%;}

	#footer{
	padding: 0;
}

}




/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:480px){
	
	ul#topnav li{width:50%;}

	ul#topnav li:nth-child(3n){
	border-right:1px solid #D46A6A;
	width:50%;
	}	
	ul#topnav li:nth-child(2n),ul#topnav li:nth-child(6n){border-right:0;}
