@charset "utf-8";

header {
    background-color: var(--clr-white);
    position: fixed;
    top: 0;
    z-index: 102;
    width: 100%;
    /* max-width: var(--html-maxwidth); */
}

.header_logo-container {
    position: fixed;
    top: var(--header-sp-position);
    left: var(--header-sp-position);
    z-index: 102;
}

.header_logo {
    max-width: 110px;
    width: 50px;
}

.menu-content {
    display: flex;
    margin: auto;
    flex-direction: column;
    justify-content: center;
    gap: 0;

    position: fixed;
    top: 0;
    left: 100%;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: var(--btn-shadow);
    backdrop-filter: blur(8.9px);
    -webkit-backdrop-filter: blur(6.9px);
    transition: all 0.4s;
    z-index: 100;
}

.nav-display {
    left: 0;
    transition: all 0.4s;
}

.menu-content-li a {
    display: block;
    width: 100%;
    color: var(--clr-gray-dark333);
    font-size: 20px;
    margin-bottom: var(--p-padding30);
    font-weight: 500;
}

.menu-english {
    display: block;
    position: absolute;
    top: 30px;
    right: 95px;
    font-size: 13px;
    font-weight: 700;
}

.menu-content-privacy a,
.menu-content-copy {
    font-size: 13px;
    font-weight: 400;
    padding-bottom: 10px;
    margin-bottom: 0;
}

.menu-content-li .header_twitter-btn {
    display: flex;
    width: 60px;
    height: 60px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.01);

    /* ニューモーフィズムボタン */
    box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.10), -1px -1px 2px 0px rgba(0, 0, 0, 0.10) inset, 1px 1px 3px 0px #FFF inset, -1px -1px 2px 0px #FFF;
    backdrop-filter: blur(5px);
}

.header_twitter-btn:hover {
    opacity: 1;
    transition: all .3s ease-in-out;
    background-color: var(--clr-white);
}

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

.menu-btn {
    display: block;
    position: fixed;
    top: var(--header-sp-position);
    right: var(--header-sp-position);
    display: flex;
    height: 50px;
    width: 50px;
    justify-content: center;
    align-items: center;
    z-index: 101;
    border-radius: 100px;
    background: rgba(249, 249, 249, 0.01);
    box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.10), -1px -1px 2px 0px rgba(0, 0, 0, 0.10) inset, 1px 1px 3px 0px #FFF inset, -1px -1px 2px 0px #FFF;
    backdrop-filter: blur(5px);
}

.menu-btn:hover {
    opacity: 1;
    transition: all .3s ease-in-out;
    background-color: var(--clr-white);
    cursor: pointer;
}

.menu-btn span.bar-top,
.menu-btn span.bar-middle,
.menu-btn span.bar-bottom {
    height: 2px;
    width: 22px;
    border-radius: 3px;
    position: absolute;
    transition: all .3s ease-out;
    background-color: black;
}

.menu-btn span.bar-top {
    top: 18px;
}

.menu-btn span.bar-bottom {
    bottom: 17px;
}

#menu-btn-check:checked~.menu-btn span.bar-middle {
    opacity: 0;
    transition: all .1s ease-out;
}

#menu-btn-check:checked~.menu-btn span.bar-top {
    top: 24px;
    transform: rotate(45deg);
    transition: all .3s ease-out;
}

#menu-btn-check:checked~.menu-btn span.bar-bottom {
    bottom: 23px;
    transform: rotate(-45deg);
    transition: all .3s ease-out;
}

@media screen and (min-width: 769px) {
    .nav {
        position: static;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        text-align: right;
        padding: 10px 30px;
        height: 100%;
        box-shadow: none;
    }

    .header_logo-container{
        position: static;
    }

    .menu-btn {
        display: none;
    }

    .menu-content {
        position: static;
        flex-direction: row;
        justify-content: space-around;
        gap: 40px;
        width: fit-content;
        height: fit-content;
        margin-right: 0;
        box-shadow: none;
    }

    .menu-content-li a {
        color: var(--clr-gray);
        font-size: 12px;
        font-weight: 400;
        margin-bottom: 0;
    }

    .menu-english {
        display: none;
    }
}

@media screen and (min-width: 1201px) {
    .nav {
        padding-left: 0;
        padding-right: 0;
    }
}