.inner {
    width: 980px;
    margin: 0 auto;
}
.inner:after {
    content: "";
    clear: both;
    display: block;
}
 
/* header */
#top-head {
    top: -100px;
    position: absolute;
    width: 100%;
    margin: 100px auto 0;
    padding: 30px 0 0;
    line-height: 1;
    z-index: 999;
}
#top-head a,
#top-head {
    color: #fff;
    text-decoration: none;
}
#top-head .inner {
    position: relative;
}
#top-head .logo {
    float: left;
    font-size: 36px;
}
#global-nav ul {
    list-style: none;
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 14px;
}
#global-nav ul li {
    float: left;
}
#global-nav ul li a {
	padding-top: 0;
	padding-right: 5px;
	padding-bottom: 0;
	padding-left: 5px;
}
 
/* Fixed */
#top-head.fixed {
    margin-top: 0;
    top: 0;
    position: fixed;
    padding-top: 10px;
    height: 55px;
    background: #fff;
    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: 24px;
    color: #333;
}
#top-head.fixed #global-nav ul li a {
	color: #333;
	padding-top: 0;
	padding-right: 10px;
	padding-bottom: 0;
	padding-left: 10px;
}
 
/* 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: 768px) {

#top-head {
	display: none;
}
#head_right {
	display: block;
}


}









@media screen and (max-width: 767px) {

#top-head {
	display: block;
}
#head_right {
	display: none;
}

    #top-head,
    .inner {
        width: 100%;
        padding: 0;
    }
    #top-head {
	top: 0;
	position: fixed;
	margin-top: 0;
	height: 3.5em;
    }
    /* Fixed reset */
    #top-head.fixed {
        padding-top: 0;
        background: transparent;
    }
	
	
	
	/*---------------スマホメニュー---------------*/
    #mobile-head {
	width: 100%;
	height: 4em;
	z-index: 999;
	position: relative;
	background-repeat: no-repeat;
	background-size: cover;
	background-image: url(../img/header_bg_m.jpg);
    }
	
	/*--ヘッダーロゴ---------------------------------------------------*/
#head_logo_m {
	float: left;
	width: 125px;
	background-color: #FFF;
	padding-top: 0.8em;
	padding-bottom: 0.5em;
	-webkit-border-bottom-right-radius: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-moz-border-bottom-right-radius: 10px;
	-moz-border-bottom-left-radius: 10px;
	position: absolute;
	top: -10px;
	left: 2%;
	padding-right: 4%;
	padding-left: 4%;
}
#head_logo_m img {
	width: 100%;
}

	
	
	
	
    #top-head.fixed .logo,
    #top-head .logo {
	position: absolute;
	top: 0.5em;
	color: #333;
	font-size: 26px;
	width: 100%;
	height: 1.2em;
	display: block;
    }
    #global-nav {
	position: absolute;
	/* 開いてないときは画面外に配置 */
	top: -500px;
	/*background: #358BBD;*/
	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: 13px;
    }
    #global-nav ul li {
        /*float: none;*/
        position: static;
    }
    #top-head #global-nav ul li,
    #top-head.fixed #global-nav ul li {
	width: 100%;
	display: block;
	color: #fff;
	padding-top: 18px;
	padding-right: 0;
	padding-bottom: 18px;
	padding-left: 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);
    }



#wrap #top-head .inner #global-nav ul .bg_a {
	width: 100%;
	background-color:#176E90;
}
#wrap #top-head .inner #global-nav ul .bg_b {
	background-color:#358bbd;
}
#wrap #top-head .inner #global-nav ul .bg_c {
	background-color:#5cb6ce;
}
#wrap #top-head .inner #global-nav ul .bg_d {
	background-color:#4C8C99;
}

.wide_50 {
	width: 50%;
}




}
