/* ハンバーガーメニュー */
.header-hamburger {
    z-index: 9999;
}

.hamburger {
    width: 48px;
    height: 100%;
    outline: none !important;
    cursor: pointer;
    background-color: transparent;
    border-color: transparent;
}

/* ハンバーガーメニューの線 */
.hamburger span {
    width: 100%;
    height: 1px;
    background-color: #fff;
    position: relative;
    transition: ease .4s;
    display: block;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    margin: 8px 0;
}

.hamburger span:nth-child(3) {
    top: 0;
}

.hamburger.active span {
    background-color: #000;
}

.hamburger.active span:nth-child(1) {
    top: 5px;
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;

}

.hamburger.active span:nth-child(3) {
    top: -13px;
    transform: rotate(-45deg);
}

.nav {
    display: none;
    height: 100vh;
    width: 80%;
    z-index: 9998;
    background-color: #fff;
    position: absolute;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    animation: SlideIn 0.4s;
    padding: 80px 25px 30px 25px;
    text-align: left;
}

@keyframes SlideIn {
    0% {
        opacity: 0;
        transform: translateX(-64px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.nav.active {
    display: block;
}

.nav-item {
    text-align: left;
    margin: 0 0 24px 0;
    font-size: 20px;
    width: 100%;
    display: flex;
    align-items: center;
}

.nav-item i {
    padding: 0;
    font-size: 20px;
}

.nav-item a {
    padding: 0;
    color: #000;
    font-size: 16px;
    text-decoration: none;
}

.nav-item:last-child a {
    margin-bottom: 0;
}

.hamburger-background {
    display: none;
    height: 100vh;
    width: 100%;
    z-index: 9997;
    background-color: #000;
    opacity: 0.5;
    position: absolute;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.hamburger-background.active {
    display: block;
}

.new-badge {
    padding: 4px 0;
    color: #fff;
    font-size: 8px;
    width: 70%;
    background-color: #000;
    border-radius: 0.25rem;
    text-align: center;
}

@media screen and (max-width: 499px) {
    .pc-only {
        display: none;
    }
}

@media screen and (min-width: 500px) {
    .hamburger {
        display: none;
    }

    .pc-only {
        display: block;
    }
}