@charset "utf-8";



/*--------------------*/
/*　以下メニューCSS　*/
/*--------------------*/

nav.globalMenuSp {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    background: #fff;
    color: #000;
    text-align: center;
    transform: translateY(-100%);
    transition: all 0.6s;
    width: 100%;
}

nav.globalMenuSp ul {
    background: #ccc;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

nav.globalMenuSp ul li {
    list-style-type: none;
    padding: 0;
    width: 100%;
    border-bottom: 1px solid #fff;
}


nav.globalMenuSp ul li a {
    display: block;
    color: #000;
    padding: 1em 0;
}

/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.active {
    transform: translateY(0%);
}

/* -------------------------*/
/*   メニューボタン         */
/*------------------------- */
.navToggle {
    display: block;
    position: fixed;
    right: 13px;
    top: 12px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    z-index: 3;
    background: #333;
    text-align: center;
}

.navToggle span {
    display: block;
    position: absolute;
    width: 30px;
    border-bottom: solid 3px #eee;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
    left: 6px;
}

.navToggle span:nth-child(1) {
    top: 10px;
}

.navToggle span:nth-child(2) {
    top: 19px;
}

.navToggle span:nth-child(3) {
    top: 28px;
}

.navToggle span:nth-child(4) {
    border: none;
    color: #eee;
    font-size: 9px;
    font-weight: bold;
    top: 34px;
}


/* 最初のspanをマイナス45度に */
.navToggle.active span:nth-child(1) {
    top: 18px;
    left: 6px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

/* 2番目と3番目のspanを45度に */
.navToggle.active span:nth-child(2),
.navToggle.active span:nth-child(3) {
    top: 18px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}


@media screen and (min-width:911px){
	/* PCでメニュボタン非表示 */
	.navToggle{
        display:none;
    }
	
	/*　PCでメニュー常時表示　*/
	nav.globalMenuSp{
		position: static;
		transform:none;
        width: 100%;
        background-image: url(../img/common/bg_nav.png);
        background-position: left top;
        background-repeat: repeat-x;
	}
	nav.globalMenuSp ul{
        background-color: transparent;
        width: 100%;
        max-width: 1170px;
        margin: auto;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding-left: 60px;
	}
	nav.globalMenuSp ul li {
		padding: 0;
		width: calc((100% - 355px) / 6 );
		border-bottom: none;
	}
    nav.globalMenuSp ul li.home{
        width: 75px;
    }
    nav.globalMenuSp ul li.toi{
        width: 250px;
        margin-left: 30px;
    }
    nav.globalMenuSp ul li img{
        vertical-align: middle;
    }
    nav.globalMenuSp ul li a{
        background-position: center top;
        background-repeat: no-repeat;
        background-image:none;
        padding: 4px 0 0 ;
        height: 53px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: bold;
        color: #666;
    }
    nav.globalMenuSp ul li.active a,
    nav.globalMenuSp ul li a:hover{
        background-image: url(../img/common/menu_active.png);
        color: #333;
    }

    nav.globalMenuSp ul li.toi a{
        padding: 4px 0 0;
    }
    nav.globalMenuSp ul li.toi a span{
        display: inline-block;
        width: 100%;
        height: 49px;
        color: transparent;
        background: url(../img/common/btn_mail.png) center center/contain no-repeat;
    }
    nav.globalMenuSp ul li.toi.active a,
    nav.globalMenuSp ul li.toi a:hover{
        background-image: none;
    }

}

@media (max-width:1170px) and (min-width:911px){
    nav.globalMenuSp ul{
        max-width: 1100px;
        margin-left: auto;
        padding-left: 0;
        font-size: 1.36752vw;
    }

}











