/***************************************************
途中から出現して追従(ヘッダー)
****************************************************/
header{
    position: relative;
    width: 100%;
    background-color: #fff;
}

/* 追従メニューの背景色を設定 */
.header.fixed-1 {
    background-color:rgba(255, 255, 255, 0.8) !important;
}

/* 追従ヘッダー */
.fixed-1{
    position: fixed;
    width: 100%;
    top: 0;
}

.fixed-1 .header-item a{
    color: #000 !important;
}

.fixed-1 > .header__inner > .header-wrap >  .hamburger span {
    background: #000!important;
}

.fixed-1 > .header__inner > .header-wrap >  .header-logo {
    visibility: visible!important;
}

/* 追従ヘッダーの高さ保持 */

/* 高さの設定はheader.css内 ".head-space"にて設定 */
.head-space {
    display: none;
}


/***************************************************
ハンバーガーメニュー
****************************************************/
.header-wrap {
    width: 100%;
    justify-content: end;
}

/* ハンバーガーメニュー ブレイクポイント */
@media screen and (max-width: 767px) {
    /* .header-list {
        display: block;
    } */
    .header-logo {
        padding: 0;
        margin-top: 8px;
    }
    .globalMenuSp h1 {
        padding: 20px 0 0 20px;
    }
    .hamburger {
        display: block;
        position: absolute;
        z-index: 10010;
        top: 8px;
        right: 0;
        width: 42px;
        height: 42px;
        cursor: pointer;
        text-align: center;
        -webkit-transition: .5s;
        transition: .5s;
    }
    .hamburger span {
        display: block;
        position: absolute;
        width: 25px;
        height: 2px;
        left: 6px;
        background: #000;/* ハンバーガーメニューの色(ナビが閉じている時) */
        -webkit-transition: 0.3s ease-in-out;
        transition: 0.3s ease-in-out;
    }
    .hamburger span:nth-child(1) {
        top: 13px;
    }
    .hamburger span:nth-child(2) {
        top: 20px;
    }
    .hamburger span:nth-child(3) {
        top: 27px;
    }
    .header__inner .hamburger {
        -webkit-transition: 0s; /* */
        transition: 0s;
    }
    /* ナビ開いてる時のボタン */
    .hamburger.cross span:nth-child(1) {
        top: 16px;
        left: 6px;
        background: #000;/* ハンバーガーメニューの色 */
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
    .hamburger.cross span:nth-child(2),
    .hamburger.cross span:nth-child(3) {
        top: 16px;
        background: #000;/* ハンバーガーメニューの色 */
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    nav.globalMenuSp {
        position: fixed;
        display: block;
        color: #000;
        background: rgba(255, 255, 255, 0.9);/* ナビが開いている時の背景色 */
        z-index: 9999;
        top: 0;
        left: 0;
        text-align: center;
        width: 100%;
        opacity: 0;
        visibility: hidden;
        -webkit-transition: opacity .6s ease, visibility .6s ease;
        -webkit-transition: opacity 0.6s ease;
        transition: opacity 0.6s ease;
    }
    nav.globalMenuSp ul {
        margin: auto;
        padding: 12vh 20px 20px;
        -webkit-box-sizing: border-box;
                box-sizing: border-box;
        width: 100%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    nav.globalMenuSp ul li {
        list-style-type: none;
        padding: 10px 0;
        margin: 5px auto;
        width: 70%;
        -webkit-transition: .4s all;
        transition: .4s all;
    }
    nav.globalMenuSp ul li:last-child {
        margin-bottom: 15px;
    } 
    nav.globalMenuSp ul li a {
        display: block;
        color: #000; /*メニューのテキストカラー */
        padding: 0;
        text-decoration: none;
        margin: 0 auto;
    }

    /* このクラスを、jQueryで付与・削除する */
    nav.globalMenuSp.active {
        opacity: 100;
        visibility: visible;
        height: 100%;
    }
}

/* 画面に入ったらフェードイン */
/* .scroll-fadein {
    opacity: 0; 
    transition: all 2s; 
}

.fadeIn {
    opacity: 1;
} */


.scroll-fadein {
    opacity: 0;
    transform: translate(0, 100px);
    transition: 1.5s;
  }
  .scroll-fadein.is-show {
    transform: translate(0, 0);
    opacity: 1;
  }