@charset "utf-8";

/***************************************************
*
* </hebelstay/common/css/header.css>
*
***************************************************/

#front { padding-top: 80px; }
.header {
	top: -80px;
	position: absolute;
	z-index: 999;
	width: 100%;
	margin: 80px auto 0;
	padding: 0;
	background-color: #fff;
	line-height: 1;
}

.header a:link {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}

.header a:hover,
.header a:active,
.header a.active,
.header a:visited:hover,
.header a:visited:active,
.header a:visited.active {
	color: #4bb5ad !important;
}

.header .inner-header {
	width: 100%;
	height: 80px;
	margin: 0 auto;
	position: relative;
}

.header #logo-header {
	position: absolute;
	top: 20px;
	left: 25px;
	width: 420px;
}

.header #logo-header a {
	background-size: 100%;
	background-position: center;
	width: 180px;
	height: auto;
	display: inline-block;
	float: left;
}

.header #logo-header a img {
	width: 100%;
}

.header,
.header .inner-header,
.header #logo-header a {
    -webkit-transition: .2s ease-in-out;
    -moz-transition: .2s ease-in-out;
    transition: .2s ease-in-out;
}

.header #logo-header .subcopy-header {
	background-position: center;
	width: 230px;
	display: inline-block;
	float: right;
	padding: 4px 0 4px 10px;
	font-size: 0.6rem;
	line-height: 1.6;
}

@media screen and (max-width: 1250px) {
	.header #logo-header .subcopy-header {
		display: none;
	}
}

#header-nav {
	position: absolute;
	top: 25px;
	right: 25px;
	width: auto;
}

#header-nav .menu-global {
	position: relative;
	right: 110px;
	display: inline-block;
	margin: 0;
	padding: 0;
}

#header-nav .menu-global > li {
	padding-right: 20px;
}

#header-nav .menu-global > li > a {}

ul.menu-global {
    list-style: none;
    position: absolute;
    right: 0;
    bottom: 0;
}
ul.menu-global li {
	display: inline-block;
    float: left;
}
ul.menu-global li a {
    padding: 0 30px;
}


/* gnav-item */

.gnav-item {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	display: table-cell;
}

.gnav-item:last-child {}

.gnav-item a {
	display: block;
	line-height: 1 !important;
	padding: 10px 0 !important;
	color: #000;
	font-size: 0.8rem;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
	position: relative;
}

.gnav-item a:before {
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
	-webkit-transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
	-ms-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
	opacity: 0;
	filter: alpha(opacity=0);
	content: '';
	position: absolute;
	height: 1px;
	width: 0;
	bottom: 0;
	left: 50%;
	background-color: #4bb5ad;
}

.gnav-item a:hover:before {
	opacity: 1;
	filter: alpha(opacity=100);
	width: 100%;
}

#header-nav .title-lang {
	display: none;
	margin: 0;
	padding: 2.4rem 0;
	color: #000;
	font-size: 0.8rem;
	font-weight: bold;
	line-height: 1.0;
	border-top: 1px solid #fff;
	letter-spacing: 2px;
	text-transform: uppercase;
}

#header-nav .menu-lang {
	position: absolute;
	top: 0;
	right: 0;
	display: inline-block;
	margin: 0;
	padding: 3px 0 0;
}

/* Fixed */

.header.fixed {
    margin-top: 0;
    top: 0;
    position: fixed;
    background: #fff;
    transition: top 0.65s ease-in;
    -webkit-transition: top 0.65s ease-in;
    -moz-transition: top 0.65s ease-in;
	-moz-box-shadow: 0 0 0.2rem #ccc;
	-webkit-box-shadow: 0 0 0.2rem #ccc;
}

header.fixed #global-nav ul li a {
    color: #333;
    padding: 0 20px;
}
 
/* Toggle Button */

#nav-toggle {
    display: none;
    position: absolute;
    right: 15px;
    top: 21px;
    width: 34px;
    height: 36px;
    cursor: pointer;
    z-index: 101;
}

#nav-toggle div {
    position: relative;
}

#nav-toggle span {
    display: block;
    position: absolute;
    height: 2px;
    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 (max-width: 1030px) {

	#front { padding-top: 60px; }
	.header { padding: 0; }

	.header .inner-header,
	.header.fixed .inner-header {
		width: 100%;
		height: 60px;
	}

	/* Fixed reset */
    .header.fixed {
        top: 0;
        position: fixed;
        margin-top: 0;
        padding: 0 !important;
    }

	.header #logo-header {
		top: 12px;
		left: 12px;
		width: auto;
	}

	.header #logo-header a {
		width: 160px;
	}
	
	#mobile-head {
        background: #fff;
        width: 100%;
        height: 60px;
        z-index: 999;
        position: relative;
    }

	#header-nav {
		filter:alpha(opacity=0);
		-moz-opacity: 0;
		opacity: 0;
        position: absolute !important;	/* 開いてないときは画面外に配置 */
        top: -496px;
        background-color: rgba(255, 255, 255, 0.9);
        width: 100%;
        text-align: center;
        padding: 0;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;

        list-style: none;
        position: static;
        right: 0;
        bottom: 0;
    }

	.open #header-nav {
		filter:alpha(opacity=100);
		-moz-opacity: 1.0;
		opacity: 1.0;

	}

	#header-nav ul.menu-global,
	#header-nav ul.menu-lang {
		margin: 1.0rem;
    }
    #header-nav ul.menu-global li {
        float: none;
		display: block;
        position: static;
		margin: 0 0 1px;
    }

    .header ul.menu-global li a,
    .header.fixed ul.menu-global li a {
        width: auto;
        display: block;
        color: #000;
        padding: 0.8rem 0;
    }
	.gnav-item a {
		padding: 1.0rem 0 !important;
		color: #000;
		font-size: 1.0rem;
	}
	.gnav-item a:before {
		display: none;
	}

	#header-nav .menu-lang .title-lang {
		display: block;
	}
	#header-nav .menu-lang .nav_link--parent {
		display: none;
	}
	
	/* Toggle Button */
	
	#nav-toggle {
		display: block;
		top: 18px;
	}
	
    /* #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 #header-nav {
        /* #global-nav top + #mobile-head height */
        -moz-transform: translateY(556px);
        -webkit-transform: translateY(556px);
        transform: translateY(556px);
    }

	#header-nav .menu-global {
		position: relative;
		right: 0;
		width: auto;
		display: block;
		margin: 0;
		padding: 1.2rem 0;
	}
	#header-nav .menu-global > li {
    	padding-right: 0;
	}

	#header-nav .menu-lang {
		position: relative;
		top: auto;
		right: auto;
		display: block;
		margin: 0;
		padding: 0;
	}
	
	
	/* #header-nav */
	
	.menu-lang .nav_menu--child li {
		display: inline-block;
		float: left;
		width: 50%;
		margin: 0;
		padding: 0;
	}

	#header-nav .menu-lang .nav_menu--child li a {
		display: block;
		background-color: #fff;
		width: 100%;
		margin: 0;
		padding: 1.0rem 0;
	}
	
	.nav_link--current {}
	
}

@media screen and (max-width: 640px) {
	
	.gnav-item a {
		padding: 0.7rem 0 !important;
		font-size: 0.85rem;
	}
	
	#header-nav .title-lang {
		padding: 1.8rem 0;
		font-size: 0.7rem;
	}

}
