/* =====================================================================
     header
 ===================================================================== */

/* ======================
    pc版 
   ===================== */

header {
    background: linear-gradient(to bottom, rgb(126, 126, 126),  rgba(255, 255, 255, 0));
    height: 160px;
    width: 100%;
    align-items: center;
    position: relative;
}
.pc-flex{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 100px;
    padding: 20px 40px;
}

.logo a:hover{
    opacity: 1;
}

.header-nav ul {
    display: flex;
    justify-content: right;
    list-style: none;
    width: 50vw;
}

.header-nav ul li {
        margin-right: 60px;
    }

.header-nav ul li a {
    text-decoration: none;
    font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
    color: #fff;
    font-size: 2.4rem;
}

.header-nav ul li a:hover {
    text-decoration: underline;
}

/*ナビゲーション*/
#g-nav{
    display: none;
}


/*画面下部に固定する予約ボタン*/
.reserved-btn{
    width: 24%;
    min-width: 300px;
    max-width: 400px;
    z-index: 999999;
    position: fixed;
    bottom: 2%;
    left: 38%;
    transition: 0.5s;
}
.reserved-btn img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.reserved-btn a:hover{
    opacity: 1;
}

/*フッターまでスクロールしたら消す*/
.is-hidden {
    visibility: hidden;
    opacity: 0;
  }




/* ======================
    sp版 
   ===================== */
@media(max-width:900px) {
    header {
        height: 100px;
        align-items: center;
        /*position: fixed;
         headerをついてこさせない場合は削除 */
        width: 100%;
        /* headerをついてこさせない場合は削除 */
    }

    .logo img {
        height: 60px;
        padding: 20px 24px;
    }

    .header-nav {
        display: none;
    }


    /* ハンバーガーメニュー */
    .openbtn1 {
        display: block;
        position: fixed;
        background-color: transparent;
        top: 20px;
        right: 30px;
        width: 50px;
        height: 50px;
        cursor: pointer;
        padding: 5px;
        z-index: 9999;
    }

    .openbtn1 span:nth-child(1) {
        display: block;
        position: absolute;
        background-color: #FFFFFF;
        width: 45px;
        height: 1.5px;
        top: 40%;
        right: 15%;
        transition: all 0.4s;
        z-index: 9999;
    }

    .openbtn1 span:nth-child(2) {
        display: block;
        position: absolute;
        background-color: #FFFFFF;
        width: 25px;
        height: 1.5px;
        top: 60%;
        right: 15%;
        transition: all 0.4s;
        z-index: 9999;
    }

    .navy{
        background-color: rgba(86, 108, 148, 0.6);
        transition: all 0.8s;
        border-radius: 100%;
    }



    /*========= ナビゲーションのためのCSS ===============*/

    /*アクティブになったエリア*/
    #g-nav.panelactive {
        display: block;
        position: fixed;
        /* z-index: 9999; */
        top: 0;
    }

    /*ナビゲーション*/
    #g-nav{
        display: none;
    }


    .panelactive {
        display: block;
        /* position: fixed; */
        text-align: center;
        background-color: rgba(146, 146, 146, 0.95);
        width: 100%;
        height: 100vh;
        z-index: 9999;
        transition: all 0.4s ;

    }

    /*背景が出現後にナビゲーションを表示*/
    .panelactive ul {
        display: block;
        margin-top: 120px;
    }

    /* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
    .panelactive ul li{
        margin-bottom: 30px;
    }
    
    .panelactive ul li a{
        text-decoration: none;
        color: #FFFFFF;
        font-size: 1.8rem;
        font-family: Yumincho;
    }

    /* 背景が出現後のハンバーガーボタンの「×」への変形*/
    .active{
        z-index: 99999;
    }
    .active span:nth-child(1){
        transform:rotate(45deg) ;
        transition: all 0.4s;
        width: 25px;
        top: 50%;
        right: 28%;
    }
    .active span:nth-child(2){
        transform:rotate(-45deg) ;
        transition: all 0.4s;
        top: 50%;
        right: 28%;
    }

    .g-nav_sns{
        width: 40px;
        height: 40px;
        margin: 0 auto;
    }
    .g-nav_sns img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /*画面下部に固定する予約ボタン*/
.reserved-btn{
    width: 300px;
    bottom: 2%;
    left: calc((100% - 300px) / 2);
}

}