@charset "utf-8";
/* CSS Document */
@import url('https://use.fontawesome.com/releases/v5.0.9/css/all.css');

.inner {
    width: 1000px;
    margin: 0 auto;
}

.inner:after {
    content: "";
    clear: both;
    display: block;
}

h2 { margin-top: 0} 
h2 { width: 20%; }

/* header */
#top-head {
    top: -90px;/*ヘッダー高さ*/
    position: absolute;
    width: 100%;
    margin: 50px auto 0;/*ヘッダー高さ*/
    padding: 50px 0 20px;
    line-height: 1;
    z-index: 999;
	background: #fff;/*ヘッダー背景*/
/*	border-bottom:5px solid #006655;*/
	box-shadow: 0 0 3px rgba(0, 0, 0, .2);
    z-index:9999;
}

#top-head a,
#top-head {
	text-decoration: none;

}

#top-head .inner {
    position: relative;
}

.logo {
	width:170px;
	}
	
.logo-w {
	width:170px;
	text-align:center;
	}


#global-nav ul {
    list-style: none;
    position: absolute;
    right: 0;/*メニュー位置*/
    bottom: -27px;/*メニュー位置*/
	color:#333;
	font-size: 0.85em;
	font-weight:bold;
	letter-spacing: 0.15em;
}






 
/* Fixed */
#top-head.fixed {
    margin-top: 0;
    top: 0;
    position: fixed;
    padding-top: 8px;
    height: 40px;
    background: #fff;
	/*opacity: 0.9;
	filter: alpha(opacity=90);*/
    /*background: rgba(255,255,255,.7);*/
    transition: top 0.65s ease-in;
    -webkit-transition: top 0.65s ease-in;
    -moz-transition: top 0.65s ease-in;
}

/*#top-head.fixed .logo {
    font-size: 1.5em;
    color: #333;
}

#top-head.fixed #global-nav ul li a {
    color: #333;
    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: #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;
}


@media screen and (min-width: 1025px) {

#top-head .logo {
    float: left;
	margin-top:10px;

}

#sub-nav ul {
    list-style: none;
    position: absolute;
    right: 0;/*メニュー位置*/
	color:666;
	font-size: 0.7em;
}

#sub-nav ul li {
	display: inline;
	margin-right: 0.5em;
	}
	
#sub-nav ul li+li:before {
	margin-right: 0.5em;
	content: "|";
	}
	
#global-nav ul {
    right: 0;/*メニュー位置*/
    bottom: -7px;/*メニュー位置*/
}

#global-nav ul li {
	display:inline-block;
	font-size: 1em;
	margin-right: 1em;
}

#global-nav ul li.win:before {
	content: "\f2d2";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	color:#ccc;
}



}

@media screen and (max-width: 1024px) {
#top-head,
.inner {
    width: 100%;
    padding: 0;
    }
	
#top-head {
    top: 0;
    position: fixed;
    margin-top: 0;
    }
	
	
/* Fixed reset */
#top-head.fixed {
    padding-top: 0;
    background: transparent;
    }
	
#mobile-head {
    background: #fff;
    width: 100%;
    height: 56px;
    z-index: 999;
    position: relative;
    }
	
#top-head.fixed .logo,
#top-head .logo {
    position: absolute;
    left: 13px;
    top: 13px;
    color: #333;
    font-size: 26px;
    }
	
#global-nav {
    position: absolute;
    /* 開いてないときは画面外に配置 */
    top: -500px;
    background: #333;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    transition: .5s 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;
    }
	
#top-head #global-nav ul li a,
#top-head.fixed #global-nav ul li a {
    width: 100%;
    display: block;
    color: #fff;
    padding: 18px 0;
    }
	
#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 #global-nav {
    /* #global-nav top + #mobile-head height */
    -moz-transform: translateY(556px);
    -webkit-transform: translateY(556px);
    transform: translateY(556px);
    }
}
