/* ============================================ */

/* ヘッダー */

/* ============================================ */
.header {
    padding: 1rem 0;
    /* max-width: 1200px; */
}

/* ヘッダーの中身 */
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px
}

/* ロゴ */
.header h1 img {
    max-width: 400px;
    height: 60px;
}


/* 予約ボタン */
.cta-button {
    display: inline-block;
    background-color: var(--color-btn);
    border: 0px solid #ffffff;
    border-radius: 50px;
    padding: 10px 20px;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.btn {
    width: 350px;
}

.cta-button:hover {
    background-color: #4b7383;
    color: #fff;
    transform: translateY(4px);

}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* jsのやつ */
.header.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--color-main);
    transform: translateY(0);
    animation: slideDown 0.5s ease-out;
    opacity: 0.98;
}


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

/* ボタンの土台〇部分 */
.openbtn {
    position: fixed;
    top: 1px;
    right: 6px;
    position: relative;
    background-color: #FCFAF6;
    border: 2px solid #bdbdbd;
    cursor: pointer;
    /* width: 4rem;
    height: 4rem; */
    border-radius: 50%;
    z-index: 9999;
    width: 64px;
    height: 64px;

}

/* ボタンの中の線（3本） */
.openbtn span {
    display: inline-block;
    transition: all 0.4s;
    position: absolute;
    left: 17px;
    top: 17px;
    height: 3px;
    border-radius: 2px;
    background: #bdbdbd;
    width: 45%;
}

.openbtn span:nth-of-type(1) {
    top: 20px;
}

.openbtn span:nth-of-type(2) {
    top: 30px;
}

.openbtn span:nth-of-type(3) {
    top: 40px;
}

/* アクティブ状態（×マーク） */
.openbtn.active span:nth-of-type(1) {
    top: 25px;
    left: 16px;
    transform: translateY(6px) rotate(-45deg);
    width: 48%;
}

.openbtn.active span:nth-of-type(2) {
    opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
    top: 37px;
    left: 16px;
    transform: translateY(-6px) rotate(45deg);
    width: 48%;
}

/* メニュー */
#header-menu {
    transform: translateX(100%);
    transition: transform 0.5s ease;
    background-color: #9DD4DE;
    border-radius: 90% 0 0 0;
    position: fixed;
    top: 0;
    right: 0;
    width: 70vh;
    height: 100vh;
    z-index: 1000;
    opacity: 0.95;
}

#header-menu.active {
    transform: translateX(0);
}


#header-menu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 3.25rem 0 0 7.5rem;
    list-style: none;
    line-height: 3;
    z-index: 9000;
    font-size: 16px;
}

#header-menu ul a {
    text-decoration: none;
    color: #fff;
    padding: 8px;
    font-size: 16px;
}

.header-list-link:hover {
    background: #c6e1e6;
    color: #fff;
    border-radius: 10px;
}


@media (max-width:640px) {

    /* .header-inner {
        display: block;
    } */

    .header {
        width: 100%;
    }

    .header-inner {
        display: flex;
        gap: 0;
    }

    .header h1 img {
        height: 35px;
    }

    .header-title {
        text-align: left;
        margin-left: 20px;
    }

    .header-right {
        width: 300px;
    }

    .btn {
        /* display: flex;
        height: 40px;
        font-size: 10px;
        width: 500px; */
        display: none;
    }

    .header-right {
        display: block;
    }

    .openbtn {
        top: 6px;
        right: -60px;
        width: 60px;
        height: 60px;
    }

    .header-nav {
        max-width: 100%;
        padding: 5px 0px;
    }

    .header-list {
        gap: 0;
    }
}