@charset "UTF-8";

@media (max-width:428px) {

    .humburger {
        position: fixed;
        top: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        border: 1px solid #f00;
        border-radius: 10px;
        z-index: 100;
        transition: 0.3s;        
    }

    .humburger span {
        position: absolute;
        inset: 0;
        margin: auto;
        width: 70%;
        height: 4px;
        background-color: #f00;
        transition: 0.3s;
    }

    .humburger span:nth-child(1) {
        top: -40%;

    }

    .humburger span:nth-child(2) {
        top: 0%;
    }

    .humburger span:nth-child(3) {
        top: 40%;
    }

    .humburger.active {
        border: 1px solid #fff;
    }

    .humburger.active span:nth-child(1) {
        top: 0;
        transform: rotate(-45deg);
        background-color: #fff;
    }

    .humburger.active span:nth-child(2) {
        top: 0;
        transform: rotate(-45deg);
        background-color: #fff;
    }

    .humburger.active span:nth-child(3) {
        top: 0;
        transform: rotate(45deg);
        background-color: #fff;
    }

    /* ここまでバーガー */

    nav {
        position: fixed;
        top: 0;
        left: 100%;
        width: 100%;
        height: 100%;
        transition: 0.3s ease;
        background-color: rgba(0, 0, 0, 0.8);
        padding-top: 74px;
        z-index: 99;
        display: block;
    }

    nav img {
        display: block;
        margin: 0 auto;
    }

    nav.drawer {
        left: 0;
    }

    /* navの余白をリセット */
    nav ul {
        margin: 0;
        padding: 0;
        position: static;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    nav ul li {
        width: 100%;
        border-bottom: 1px solid #fff;
        margin: 0 auto;
        position: relative;
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul li::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 30px;
        width: 10px;
        height: 10px;
        border: 0;
        border-top: 2px solid #fff;
        border-right: 2px solid #fff;
        background-color: transparent;
        transform: rotate(45deg) translateY(-50%);
        z-index: 100;
    }

    nav ul li:active::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 45px;
        width: 10px;
        height: 10px;
        border: 0;
        border-top: 2px solid #fff;
        border-right: 2px solid #fff;
        background-color: transparent;
        transform: rotate(45deg) translateY(-50%);
        z-index: 100;
    }

    nav ul li a {
        display: block;
        width: 100%;
        color: #fff;
        font-size: 20px;
        line-height: 70px;
        text-align: left;
        transition: 0.3s;
    }

    nav ul li a:active {
        display: block;
        background-color: #000000bd;
        font-size: 20px;
        padding-left: 80px;
        line-height: 70px;
        text-align: left;
    }

    nav address {
        padding-top: 20px;
        color: #fff;
        font-size: 17px;
        text-align: center;
        pointer-events: all;
    }

    nav address a {
        color: #fff;
        line-height: 2;
    }

}