/* •nav• */
.glass-nav {
    outline: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(247, 246, 243, 0.6);
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.027);
}
#mobile-nav {
    display: none;
}
#main-nav {
  border-radius: 999px;
  position: fixed;
    top: 24px;
    right: 28px;
    z-index: 1000;
  padding: .5em;
}
    #main-nav ul {
        margin: 0;
        padding: .25em .5em;
        flex-direction: row;
            gap: .75em;
            align-items: center;

        font-size: var(--text-xs);
        letter-spacing: var(--track-nav);
        font-weight: var(--w-medium);
    }
    .nav_active {
        position: relative;
    }
        .nav_active::before {
            content: "";
            position: absolute;
            left: 50%;
            right: 50%;
            transform: translateX(-50%);
            bottom: 5%;
            height: 1px;
            width: 75%;
            background-color: black;
        }
    #main-nav a:hover {
        font-weight: bold;
    }
    #main-nav_hr {
        border: .25px solid black;
        background-color: black;
        width: .25px;
        height: 25px;
    }
    #main-nav img {
        max-width: var(--icon);
        display: block;
    }
        #main-nav img:hover {
            background-color: rgb(97, 95, 95);
        }
    .nav-rail {
        border-radius: 999px;
        padding: .5em;
    }
    /* 📱  •nav•-mobile 📱 */
    @media (max-width: 550px) {
        #main-nav {
            display: none;
        }
        #mobile-nav {
            display: flex;
                gap: 1em;
                align-items: center;
                justify-content: center;
            width: 90dvw;
            position: fixed;
                bottom: 5%;
                left: 50%;
                transform: translateX(-50%);
            z-index: 1;
            padding: .125em .5em;
        }
            #mobile-nav ul {
                width: 100%;
                display: flex;
                    align-items: center;
                    justify-content: flex-start;
                    gap: 1em;
                overflow-x: auto;

                font-size: var(--text-sm);
                letter-spacing: var(--track-nav);
                font-weight: var(--w-medium);
            }
                #mobile-nav ul li {
                    text-align: center;
                    padding: 0;
                    flex-shrink: 0;
                }
    }
    @media (max-width: 767px) {
        #mobile-nav ul {
            width: calc(95% - var(--btn-width));
        }
    }
    @media (max-width: 950px) and (max-height: 600px) {
        #main-nav { 
            display: none; 
        }
        #mobile-nav { 
            display: flex; 
                align-items: center;
                justify-content: center;
            position: fixed;
                bottom: 5%;
                left: 50%;
                transform: translateX(-50%);
            width: 90dvw;
            z-index: 1;
        }
            .nav-rail {
                display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 2em;
                width: 100%;
            }
    }

    /* Aぁ translation button ぁA */
#translator {
    position: fixed;
        bottom: 1rem;
        right: 1rem;
        z-index: 2000;
    border-radius: 10px;
    aspect-ratio: 1/1;
    padding: .125em;
    display: flex;
        align-items: center;
        justify-content: center;
    width: var(--btn-width);

    background: rgba(250, 202, 202, 0.75);
    backdrop-filter: blur(10px);
}
#mobile-translator {
    border-radius: 10px;
    padding: .125em;
    display: flex;
        align-items: center;
        justify-content: center;
    width: 40px;
    aspect-ratio: 1/1;

    background: rgba(250, 202, 202, 0.75);
    backdrop-filter: blur(10px);
}
    .lang-btn {
        border-radius: 10px;
        background: none;
        padding: 0;
        margin: 0 auto;
        aspect-ratio: 1/1;
        width: calc(var(--btn-width) * 0.9);
        place-items: center;
        line-height: 1;

        font-size: var(--text-xs);
        font-weight: 700;
        letter-spacing: 0.08em;
        cursor: pointer;
    }
    /* 📱 Aぁ translation button ぁA 📱 */
    @media (max-width: 767px) {
        #translator {
            display: none;
        }
    }
    @media (max-width: 950px) and (max-height: 500px) {
        #translator {
            display: none;
        }
    }