@charset "utf-8";
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;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}
html{
 position:relative;	
 min-height:100%;
}


body{
	background-color: aliceblue;
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size:14px;
}
a{
	text-decoration: none;
}
article, header, footer, aside, figure, figcaption, nav, section { 
  display:block;
}

header{
	height: 100px;
}

main {
  line-height: 1.5;
  margin: 0 auto;
  width: 1000px;
}

section{
	margin-bottom: 100px;
}

ol, ul {
  list-style: none;
  list-style-type: none;
}

img{
	vertical-align:bottom;
	margin-bottom: 40px;
}

.inner{
	width: 1000px;
	margin: 0 auto;
}


h1{
	padding-top: 28px;
}
h1 a{
	font-size: 30px;
	color: #5993ED;
	margin-top: 35px;
}

h2.title{
	font-size: 20px;
	background: #DFECFF;
	padding:5px 0 0 10px;
	margin-bottom: 20px;
}

span{
	padding: 5px 15px;
	background-color: aliceblue;
	
}


nav{
	overflow: hidden;
	background-color:#DFECFF; 
	margin-bottom: 30px;
}

nav li{
	float: left;
	width: 16.3%;
	border-left: #84B4FF dotted 3px;
}
nav li:last-child{
	border-right: #84B4FF dotted 3px;
}
nav li a{
	display: block;
	text-align: center;
	padding: 20px 0;
	font-size: 16px;
	color: #747474;
}

footer {
	clear:both;
	position:absolute;
	bottom:0;
	width:100%;
	height:20px;
}

footer{
	background: #2A466F;
}


footer p{
	text-align: center;
	font-size: 12px;
	color: #fff;
}

footer p a{
	color: #fff;
}

/*-----------------------------------------------------
500px以下
------------------------------------------------------*/
@media screen and (max-width:500px) {

.wrapper,.inner,main,footer{
		max-width: 100%;
	height: auto;
}
section{
		max-width: 98%;
	margin: 0 auto;
	margin-bottom: 50px;
}

img{
	width: 100%;
	height: auto;
}
	h1{text-align: center;}
	h1 a{font-size: 20px;}

	nav{
		margin-bottom: 15px;
	} 
	nav li{float: none;width: auto;border-left: none;border-bottom: 2px dotted #888;}
	nav li:last-child{border: none;}

	h2.title{
		font-size: 16px;
		background: inherit;
		padding: 0;
	}
	span{
		padding: 2px;
	}
}
