.sp_header {
    display: none;
}

.menu-content {
    display: none;
}

#menu-btn-check {
    display: none;
}

/* グローバルナビ */
header {
    position: fixed;
    z-index: 999;
    width: 100%;
    background-color: white;
    box-shadow: 3px 0 6px rgb(0 0 0 / 16%);
    transition: 0.5s ease-out;
}

header.hide {
    transform: translateY(-100%);
}

.sp_header.hide {
    opacity: 1;
    transition: 0.5s;
}

.header_wrap {
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100px;
    margin: 0 auto;
    padding: 10px;
    box-sizing: border-box;
}

.header_logo {
    display: flex;
    align-items: center;
    margin-left: 3em;
}

header>nav>a {
    display: flex;
    justify-content: center;
}

.header_logo img {
    width: 180px;
}

/* メニューコンテンツ */
.header_menu {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-left: auto;
}

.header_menu li {
    margin-left: 3rem;
    text-align: center;
}

.header_menu li a {
    color: #3c3c3c;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.header_menu li a:hover {
    color: #DF8400;
    transition: 0.3s;
}

.header_btn {
    margin: 0 5rem;
    padding: 16px 22px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-size: 1.6rem;
    color: #ffffff;
    background: #DF8400;
    border: solid 1px #DF8400;
    border-radius: 30px;
    transition: 0.3s;
}

.header_btn:hover {
    color: #DF8400;
    background: #fff;
    transition: 0.3s;
}

@media screen and (max-width: 1024px) {
    .sp_header {
        display: block;
        position: fixed;
        top: 21px;
        left: 20px;
        z-index: 999;
        transition: 0.5s;
    }

    .sp_header.hide {
        opacity: 0;
        transition: 0.3s;
    }

    .sp_header img {
        width: 180px;
    }

    /* ハンバーガーメニュー */
    /* メニューボタン */
    .menu-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 20px;
        right: 20px;
        height: 60px;
        width: 60px;
        z-index: 9999;
        border-radius: 30px;
        box-shadow: 2px 2px 10px rgb(0 0 0 / 10%);
        background-color: #777e41;
    }

    .menu-btn span,
    .menu-btn span:before,
    .menu-btn span:after {
        content: "";
        display: block;
        height: 3px;
        width: 25px;
        border-radius: 3px;
        background-color: #ffffff;
        position: absolute;
        transition: 0.5s;
    }

    .menu-btn span:before {
        bottom: 8px;
    }

    .menu-btn span:after {
        top: 8px;
    }

    #menu-btn-check:checked~.menu-btn span {
        background-color: rgba(255, 255, 255, 0);
    }

    #menu-btn-check:checked~.menu-btn span::before {
        bottom: 0;
        transform: rotate(45deg);
    }

    #menu-btn-check:checked~.menu-btn span::after {
        top: 0;
        transform: rotate(-45deg);
    }

    /* メニューコンテンツ */
    .menu-content {
        position: fixed;
        top: 15px;
        left: 100%;
        z-index: 9998;
        display: block;
        width: 244px;
        /* height: calc(100% - 30px); */
        padding: 30px 12px 50px;
        overflow: auto;
        border-radius: 30px;
        box-shadow: 0px 0 6px rgb(0 0 0 / 16%);
        box-sizing: border-box;
        background-color: #F2F3E6;
        transition: 0.3s;
    }

    #menu-btn-check:checked~.menu-content {
        left: calc(100% - 259px);
    }

    .menu-content ul {
        margin-top: 40px;
    }

    .menu-content ul li {
        list-style: none;
    }

    .menu-content ul li a {
        display: block;
        padding: 16px 12px;
        border-radius: 8px;
        color: #000;
        font-size: 1.6rem;
        letter-spacing: 1px;
    }

    .menu-content ul li a:hover {
        background-color: #F2F3E6;
        transition: 0.3s;
    }

    .header_btn_wrap {
        margin-top: 30px;
        width: 100%;
        text-align: center;
    }

    .header_btn {
        margin: 0;
    }
}

@media screen and (max-width: 599px) {}