﻿/*ハンバーガーメニュー*/

#globalMenuSp {
    position: fixed;
    z-index: 4;
    top: 0;
    left: 0;
    color: #000;
    text-align: center;
    transform: translateY(-100%);
    transition: all 0.3s;
    width: 100%;
	padding-top:-100px;
}
 
#globalMenuSp ul {
    background: rgba(0,62,105,0.85);
    margin: 0 auto;
    padding: 0;
    width: 100%;
	display:inherit;
}
 
#globalMenuSp ul li {
    font-size: 1.1em;
    list-style-type: none;
    padding: 0;
    width: 100%;
    border-bottom: 1px dotted #777;
}
 
/* 最後はラインを描かない */
#globalMenuSp ul li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}
 
#globalMenuSp ul li a {
    display: block;
    color: #fff;
    padding: 0.7em 3em;
}
 
/* このクラスを、jQueryで付与・削除する */
#globalMenuSp.active {
    transform: translateY(0%);
}

/*ハンバーガー用CSS*/
.navToggle {
    display: block;
    position: fixed;    /* bodyに対しての絶対位置指定 */
    right: 33px;
    top: 32px;
    width: 42px;
    height: 51px;
    cursor: pointer;
    z-index: 5;
    text-align: center;
}
 
.navToggle span {
    display: block;
    position: absolute;    /* .navToggleに対して */
    width: 30px;
    border-bottom: solid 3px rgb(28, 92, 145);
    -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: 9px;
}
 
.navToggle span:nth-child(2) {
    top: 18px;
}
 
.navToggle span:nth-child(3) {
    top: 27px;
}
 
.navToggle span:nth-child(4) {
    border: none;
    color: #eee;
    font-size: 9px;
    font-weight: bold;
    top: 34px;
}

/*ハンバーガーメニュータップ後CSS*/
/* 最初のspanをマイナス45度に */
.navToggle.active span:nth-child(1) {
    top: 18px;
    left: 6px;
    border-bottom: solid 3px #eee;
    -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;
    border-bottom: solid 3px #eee;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}


@media screen and (max-width: 768px) /*スマホ用記述*/{
#globalMenuSp ul li {
    font-size: 0.9em;
    line-height:1.3em;
}
}/*スマホ用記述*/{
