/*-------------------*/
/*■ハンバーガーメニュー■*/
.is-active {
    animation: menuAnime_a 0.5s linear;
}

@keyframes menuAnime_a {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

#ham_id {
    margin: 0 auto;
    width: 100%;
    max-width: 599px;
    position: relative;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    transition: opacity 0.3s ease, visibility 0.3s ease; /* ふわっと表示させるアニメーション */
    z-index: 100;
}

/* 非表示状態のスタイル */
#ham_id.is-ham_margin {
    margin-top: 10px;
}
#menu-btn-check {
    display: none;
}

.hamburger-menu {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: block;
}

.menu-btn {
    background-color: rgba(251,246,222,0.9);
    cursor: pointer;
    position: relative;
    height: 60px;
    width: 60px;
    top: 0;
    right: 0;
    margin: 0 0 0 auto;
    justify-content: center;
    align-items: center;
    z-index: 100;
    display: flex;
    /*box-shadow: 0 0 4px rgba(0,0,0,0.6);*/
}

.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 4px;
    width: 34px;
    background-color: #ee6500;
    position: absolute;
}

.menu-btn span:before {
    bottom: 10px;
}

.menu-btn span:after {
    top: 10px;
}

#menu-btn-check:checked~.menu-btn {
    box-shadow: 0 0 0 rgba(0,0,0,0);
}

#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 {
    width: 100%;
    max-width: 600px;
    height: 100%;
    overflow: visible;
    position: fixed;
    inset: 0;
    margin: 0 auto;
    top: -100%;
    opacity: 0;
    background: #fbf6de;
    /*メニュー背景色*/
    transition: all 0.4s;
    z-index: 99;
}

.menu-content nav {
    width: 90%;
    max-width: 300px;
    margin: 0 auto;
    margin-top: 100px;
}

.menu-content li {
    list-style: none;
    padding-left: 0;
    text-indent: 0;
    border-bottom: 1px solid #ee6500;
}

.menu-content li:hover {
    opacity: 0.8;
}

.menu-content a {
    text-decoration: none;
    color: #333;
}

.menu-content p {
    line-height: 3em;
    font-size: 18px;
    text-align: left;
    font-weight: 900;
    color: #ee6500;
    padding-left: 1em;
}
.u-lipd {
    padding-left: 2em !important;
}
#menu-btn-check:checked~.menu-content {
    top: 0%;
    opacity: 1;
    /*メニューを画面内へ*/
    overflow-y: auto !important;
}

@media screen and (max-width: 600px) {}

@media screen and (max-width: 440px) {
    .menu-content li:hover {
        opacity: 1;
    }

    #ham_id.is-ham_margin {
        margin-top: 1.8vw;
    }

    .menu-btn {
        height: 40px;
        width: 40px;
    }

    .menu-btn span,
    .menu-btn span:before,
    .menu-btn span:after {
        height: 3px;
        width: 20px;
    }

    .menu-btn span:before {
        bottom: 7px;
    }

    .menu-btn span:after {
        top: 7px;
    }
}
@media screen and (max-width: 375px) {
    #ham_id.is-ham_margin {
        margin-top: 1.5vw;
    }    
}
@media screen and (max-width: 376px) and (min-width:374px) {
    .menu-content p {
        font-size: 3.5vw;
    }
}

@media screen and (max-width: 373px) {
    .menu-content p {
        font-size: 4vw;
    }
}
@media screen and (max-width: 358px) {
    #ham_id.is-ham_margin {
        margin-top: 0;
    }    
}