@charset "utf-8";


/* Custom CSS
 * --------------------------------------- */
html {
	height: 100%;
}
body{
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	color: #000;
	height: 100%;
}

p{
	font-size: 1em;
}

a, a:link, a:hover, a:active, a:visited {
	color: #3399FF;
	text-decoration: none;
}


/* Fixed header and footer.
* --------------------------------------- */
#header, #footer{
	position:fixed;
	width: 100%;
	z-index:9;
	color: #f2f2f2;
}


/* header
--------------------------------------- */
#header{
	top: 0px;
	height: 58px;
	background: -moz-linear-gradient(top,  rgba(0,0,0,1) 0%, rgba(125,185,232,0) 100%);
	background: -webkit-linear-gradient(top,  rgba(0,0,0,1) 0%,rgba(125,185,232,0) 100%);
	background: linear-gradient(to bottom,  rgba(0,0,0,1) 0%,rgba(125,185,232,0) 100%);
}

#header h1 {
	position: absolute;
	top: 16px;
	left: 15px;
	font-size: 1.6em;
}
@media screen and (max-width: 767px) {
	#header h1 {
		font-size: 1.4em;
		top: 18px;
		left: 10px;
	}
}

#header h1 a {
	color:#fff;
}

/* header menu */
#top-head {
    position: absolute;
    width: 100%;
    line-height: 1;
    z-index: 999;
}
#top-head a,
#top-head {
    color: #fff;
    text-decoration: none;
}
#global-nav ul {
    list-style: none;
    position: absolute;
    right: 0;
    /*bottom: 0;*/
    top: 25px;
    font-size: 16px;
}
#global-nav ul li {
    float: left;
}

#global-nav ul li a {
    padding: 0 20px;
}

/* 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: #fff;
    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;
}


@media screen and (max-width: 767px) {
    #top-head {
        width: 100%;
        padding: 0;
        top: 0;
        position: fixed;
        margin-top: 0;
		border-bottom: 1px solid #eee;
    }
    #mobile-head {
        background: #3399FF;
        width: 100%;
        height: 58px;
        z-index: 999;
        position: relative;
    }
    #global-nav {
        position: absolute;
        /* 開いてないときは画面外に配置 */
        top: -500px;
        background: #444;
        width: 100%;
        text-align: left;
        padding: 0;
        -webkit-transition: 0.8s ease-in-out;
        -moz-transition: 0.8s ease-in-out;
        transition: 0.8s ease-in-out;
    }
    #global-nav ul {
        list-style: none;
        position: static;
        right: 0;
        bottom: 0;
        font-size: 14px;
    }
    #global-nav ul li {
        float: none;
        position: static;
        border-top: 1px solid #ccc;
    }
    #top-head #global-nav ul li a,
    #top-head.fixed #global-nav ul li a {
        width: 100%;
        display: block;
        color: #fff;
        padding: 18px;
    }
    #nav-toggle {
        display: block;
    }
    /* #nav-toggle 切り替えアニメーション */
    .open #nav-toggle span:nth-child(1) {
        top: 11px;
        -webkit-transform: rotate(135deg);
        -moz-transform: rotate(135deg);
        transform: rotate(135deg);
    }
    .open #nav-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }
    .open #nav-toggle span:nth-child(3) {
        top: 11px;
        -webkit-transform: rotate(-135deg);
        -moz-transform: rotate(-135deg);
        transform: rotate(-135deg);
    }
    /* #global-nav スライドアニメーション */
    .open #global-nav {
        /* #global-nav top + #mobile-head height */
        -moz-transform: translateY(556px);
        -webkit-transform: translateY(556px);
        transform: translateY(556px);
    }
}

/* #global-nav stay */
@media screen and (min-width: 768px) {
	#top-head #global-nav ul li.stay a,
	#top-head.fixed #global-nav ul li.stay a {
		color: #000;
	}
}

@media screen and (max-width: 767px) {
	#global-nav ul li.stay {
		background: #000;
	}
	#top-head #global-nav ul li.stay a,
	#top-head.fixed #global-nav ul li.stay a {
		color: #3399FF;
	}
}


/* sidenav
--------------------------------------- */
#fp-nav ul li a.active span,
.fp-slidesNav ul li a.active span,
#fp-nav ul li:hover a.active span,
.fp-slidesNav ul li:hover a.active span{
	background: #3399FF;
}


/* footer
--------------------------------------- */
#footer{
	background: #fff;
	border-top: 1px solid #eee;
	bottom: 0;
	padding: 15px 0;
	color: #333;
	font-size: 14px;
	text-align: center;
}
@media screen and (max-width: 480px) {
	#footer{
		/*position: relative;*/
		font-size: 12px;
	}
}
