/* =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;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}

html {
	position:relative;
	min-height:100%;
}

body{
font:80%/1.5 "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
color:#252525;
-webkit-text-size-adjust: none;
background:#fff;
}

#wrapper{
	width:800px;
	margin:0 auto;
}

a{
	text-decoration: none;
}

/*header
------------------------------------------------------*/

h1{
	font-size:190%;
	font-weight:bold;
	margin:20px;
}

h1 a{
	color:#302AAB;
	
}



/*nav
------------------------------------------------------*/


.gnav{
	overflow:hidden;
	margin-bottom:15px;
}

.gnav ul{
	text-align:center;
}

.gnav li{
	display:inline-block;
	border-left:1px #fff solid;
}

.gnav li:first-child{
	border-left:none;
}

.gnav li a{
	display:block;
	padding:10px 25px;
	background-color:#5FA3F4;
	color:#FFF;
}

.gnav li a:hover{
	background-color:#9CC9FF;
}

/* Toggle Button */
#nav-toggle {
    display: none;
    position: absolute;
    right: 12px;
    top: 14px;
    width: 34px;
    height: 36px;
    cursor: pointer;
    z-index: 101;
}
#nav-toggle div {
    position: relative;
}
#nav-toggle span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #666;
    left: 0;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
}
#nav-toggle span:nth-child(1) {
    top: 0;
}
#nav-toggle span:nth-child(2) {
    top: 11px;
}
#nav-toggle span:nth-child(3) {
    top: 22px;
}

/*img
------------------------------------------------------*/

/*section
------------------------------------------------------*/

h2{
	font-size: 150%;
	font-weight:bold;
	border-left:5px #333 solid;
	padding-left:7px;
	margin-bottom: 20px;
}

section{
	margin: 0 25px 80px;
}



/*sitemap
------------------------------------------------------*/

.map{
	overflow: hidden;
	margin-left: 80px;
}

.map ul{
	float: left;
	padding: 0 35px;
}

.map li{
	margin-bottom: 10px;
}

.map a{
	color: #333;
}

.map a:hover{
	color: #888;
}


/*footer
------------------------------------------------------*/

footer{
	position: absolute;
	bottom: 0;
	background-color:#C1C1C1;
	width: 100%;
}

footer p{
	font-size: 70%;
	color: #666;
	text-align: center;
}


/*----------------------------------------------------

------------------------------------------------------*/

@media screen and (max-width: 764px) {
	#wrapper{
	width:100%;
	margin:0 auto;
}

h1 {
	max-width:80%;
}
	
.gnav{
	overflow:hidden;
	margin-bottom:15px;
	position:absolute;
	top:-500px;
	width: 100%;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;	
}

.gnav ul{
	text-align:center;
	width:100%;
}

.gnav li{
	display:block;
	border-bottom: #fff 1px dotted;
}

.gnav li:first-child{
	border-left:none;
	margin-left: 1px;
}

.gnav li a{
	display:block;
	padding:15px 25px;
	background-color:#5FA3F4;
	color:#FFF;
}

.gnav li a:hover{
	background-color:#9CC9FF;
}


section {
	width:95%;
	margin: 0 15px 80px;
}
	

	
    #nav-toggle {
        display: block;
    }
	/* #nav-toggle 切り替えアニメーション */
    .open #nav-toggle span:nth-child(1) {
        top: 11px;
        -webkit-transform: rotate(315deg);
        -moz-transform: rotate(315deg);
        transform: rotate(315deg);
    }
    .open #nav-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }
    .open #nav-toggle span:nth-child(3) {
        top: 11px;
        -webkit-transform: rotate(-315deg);
        -moz-transform: rotate(-315deg);
        transform: rotate(-315deg);
    }
    /* #global-nav スライドアニメーション */
    .open .gnav {
        /* #global-nav top + #mobile-head height */
        -moz-transform: translateY(556px);
        -webkit-transform: translateY(556px);
        transform: translateY(556px);
    }
	.open h2 {
	position:absolute;
	top:-500px;
	}
	
	
}



