@charset "utf-8";

nav[role=drawer] > header {
    display: none;
}

.ge-flag {
    position: absolute;
    right: 60px;
    top: 8px;
}

.header {
    background-color: rgb(255, 255, 255);
    font-size: 12px;
    padding: 0 20px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header a {
    white-space: nowrap;
}

@media (min-width: 1280px) {
    .ge-flag {
        right: 4.6vw;
    }
    .menu {
        padding: 0 0 0 15%;
    }
    .menu .close-btn {
        display: none;
    }
    .menu .logo {
        order: 1;
    }
    .menu .menu-list {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: 2em;
    }
    .menu .lang {
        display: flex;
        margin: 0;
        padding: 0;
    }
    .menu .hamburger-btn,
    .menu .logo-sp,
    .menu .lang-sp,
    .hamburger-btn {
        display: none;
    }
}

@media (max-width: 1279px) {
    .menu .lang-sp {
        gap: 16px;
        padding-top: 7px;
    }
    .lang-sp li + li::before {
        top: 5px;
        left: -21px;
    }
    .header .lang-pc {
        display: none;
    }
    .menu-overlay {
        position: fixed;
        top: 40px;
        left: 0;
        width: 100vw;
        height: calc(100vh - 40px);
        background-color: rgba(0, 0, 0, 0.6);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    .header.view .menu-overlay {
        opacity: 1;
        visibility: visible;
    }
    .menu .container {
        position: fixed;
        top: 40px;
        right: 0;
        width: calc(100vw - 60px);
        height: calc(100vh - 40px);
        flex-direction: column;
        background: white;
        z-index: 1000;
        transform: translateX(100vw);
        transition: transform 0.6s ease;
    }
    .menu.view .container {
        transform: translateX(0);
    }
    .menu > * {
        padding-left: 40px;
    }
    .menu .menu-list {
        padding-top: 6vh;
    }
    .menu .menu-list li {
        margin-bottom: 20px;
    }
    .menu .hamburger-btn {
        position: fixed;
        top: 15px;
        right: 20px;
        background: none;
        border: none;
        z-index: 1001;
    }
    .menu .logo-sp {
        position: absolute;
        bottom: 6vh;
        left: 40px;
        width: 110px;
    }
}