@charset "UTF-8";
/* CSS Document */
.inner {
	width: 100%;
	margin: 0 auto;
}
.inner:after {
    content: "";
    clear: both;
    display: block;
}
 
/* header */
#top-head {
	top: -100px;
	position: absolute;
	width: 100%;
	margin-top: 100px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 0;
	padding-right: 0;
	padding-left: 0;
	padding-bottom: 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;
	margin-left: 30px;
	margin-top: 10px;
}
#global-nav ul {
	list-style: none;
	position: absolute;
	right: 0;
	bottom: 0;
	font-size: 14px;
	top: 30px;
}
#global-nav ul li {
    float: left;
}
#global-nav ul li a {
	padding: 0 30px;
	font-size: 18px;
}
#tel  {
	background-image: url(../image/tel_icon.png);
	background-repeat: no-repeat;
	background-size: auto;
	background-size: auto 100%;
	background-position: 0% center;
	padding-top: 3px;
	padding-bottom: 3px;
}
#gtel  {
	background-image: url(../image/word_tel.png);
	background-repeat: no-repeat;
	background-size: auto;
	background-size: auto 100%;
	background-position: 0% center;
	padding-top: 3px;
	padding-bottom: 3px;
}
#contact  {
	background-image: url(../image/mail.png);
	background-repeat: no-repeat;
	background-size: auto;
	background-size: auto 78%;
	background-position: 0% center;
	padding-top: 3px;
	padding-bottom: 3px;
}
#jp  {
	background-image: url(../image/jp_icon.png);
	background-repeat: no-repeat;
	background-size: auto;
	background-size: auto 85%;
	background-position: 0% center;
	padding-top: 3px;
	padding-bottom: 3px;
}
#en  {
	background-image: url(../image/en_icon.png);
	background-repeat: no-repeat;
	background-size: auto;
	background-size: auto 90%;
	background-position: 0% center;
	padding-top: 3px;
	padding-bottom: 3px;
}
#ch  {
	background-image: url(../image/ch_icon.png);
	background-repeat: no-repeat;
	background-size: auto;
	background-size: auto 90%;
	background-position: 0% center;
	padding-top: 3px;
	padding-bottom: 3px;
}
#document  {
	background-image: url(../image/shiryou.png);
	background-repeat: no-repeat;
	background-size: auto;
	background-size: auto 100%;
	background-position: 0% center;
	padding-top: 3px;
	padding-bottom: 3px;
}
 
/* Fixed */
#top-head.fixed {
	margin-top: 0;
	top: 0;
	position: fixed;
	
	height: 70px;
	background-color: rgba(0,0,0,0.70);
	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: #fff;
    padding: 0 30px;
}
 
/* 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-color: #FFFFFF;
	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: 840px) {
    #top-head,
    .inner {
        width: 100%;
        padding: 0;
    }
    #top-head {
	top: 0;
	position: fixed;
	margin-top: 0;
	clear: both;
    }
    /* Fixed reset */
    #top-head.fixed {
        padding-top: 0;
        background: transparent;
    }
    #mobile-head {
	background-color: rgba(0,0,0,0.80);
	width: 100%;
	height: 56px;
	z-index: 999;
	position: relative;
    }
    #top-head.fixed .logo,
    #top-head .logo {
	position: absolute;
	left: -20px;
	top: -5px;
	color: #333;
	font-size: 26px;
    }
    #global-nav {
	position: absolute;
	/* 開いてないときは画面外に配置 */
	top: -500px;
	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;
	background-color: rgba(0,0,0,0.80);
    }
    #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;
    }
#tel {
	background-image: url(../image/tel_icon.png);
	background-size: auto 50%;
	background-position: 22% center;
	background-repeat: no-repeat;
}
#gtel {
	background-image: url(../image/word_tel.png);
	background-repeat: no-repeat;
	background-size: auto 50%;
	background-position: 18% center;
}
#contact {
	background-image: url(../image/mail.png);
	background-size: auto 32%;
	background-position: 29% center;
	background-repeat: no-repeat;
}
#document {
	background-image: url(../image/shiryou.png);
	background-position: 30% center;
	background-size: auto 40%;
	background-repeat: no-repeat;
}
#jp {
	background-image: url(../image/jp_icon.png);
	background-position: 30% center;
	background-size: auto 40%;
	background-repeat: no-repeat;
}
#en {
	background-image: url(../image/en_icon.png);
	background-position: 30% center;
	background-size: auto 40%;
	background-repeat: no-repeat;
}
#ch {
	background-image: url(../image/ch_icon.png);
	background-position: 30% center;
	background-size: auto 40%;
	background-repeat: no-repeat;
}
    /* #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);
    }
}
