@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: #3399ff;
	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: #3064F3;
}
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: #3399ff;
}

* 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: #3399ff;
}

ul#topnav li:first-child a,ul#topnav li:last-child a{width:170px;}


ul#topnav li.active a,ul#topnav a:hover{
	color: #3399ff;
}

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 #3399ff;
	border-bottom:1px solid #3399ff;
	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 #3399ff;
	width:50%;
	}	
	ul#topnav li:nth-child(2n),ul#topnav li:nth-child(6n){border-right:0;}




a:hover {position:relative; top:2px; left:2px;}

.al-c{ text-align: center; }/*中央寄せ*/

.red{ color: #ff0000!important; }/*赤*/
.blue{ color: #0000dd!important; }/*青*/
.green{ color: #008000!important; }/*緑*/
.yellow{ color: #ffff00!important; }/*黄*/
.navy{ color: #1F26A9!important; }/*紺*/
.orange{ color: #ff6600!important; }/*橙*/
.pink{ color: #cc6699!important; }/*ピンク*/
.purple{ color: #660099!important; }/*紫*/
.olive{ color: #808000!important; }/*黄土色*/
.lime{ color: #00ff00!important; }/*黄緑*/
.aqua{ color: #167FA6!important; }/*水色*/
.black{ color: #000!important; }/*黒*/
.gray{ color: #ccc!important; }/*灰*/
.white{ color: #fff!important; }/*白*/

.b{ font-weight: bold!important; }

.f8pt{ font-size: 8.5pt!important; }
.f9pt{ font-size: 9.0pt!important; }
.f10pt{ font-size: 10pt!important; }
.f11pt{ font-size: 11pt!important; }
.f12pt{ font-size: 12pt!important; }
.f13pt{ font-size: 13pt!important; }
.f14pt{ font-size: 14pt!important; }
.f15pt{ font-size: 15pt!important; }
.f16pt{ font-size: 16pt!important; }
.f17pt{ font-size: 17pt!important; }
.f18pt{ font-size: 18pt!important; }
.f19pt{ font-size: 19pt!important; }
.f20pt{ font-size: 20pt!important; }
.f21pt{ font-size: 21pt!important; }
.f22pt{ font-size: 22pt!important; }
.f23pt{ font-size: 23pt!important; }
.f24pt{ font-size: 24pt!important; }

.box-yellow{ padding:2px;background-color: #ffff00!important; }/*黄色*/
.box-aqua{ padding:2px;background-color: #00ffff!important; }/*水色*/
.box-gray{ padding:2px;background-color: #eee!important; }/*灰色*/
.box-red{ padding:2px;background-color: #ffcccc!important; }/*赤色*/
.box-pink{ padding:2px;background-color: #FFCCFF!important; }/*ピンク*/

.underline{ text-decoration: underline!important; }
