* {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    color: black;
    position: absolute;
}

body {
    background: rgb(248, 248, 248);
    background: rgb(254 ,254, 254);
}
button {
    background: none;
    border: none;
    cursor: pointer;
}
textarea {
    resize: none;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.nav {
    display: block;
    width: 100%;
    height: 40px;
    font-size: 15px;
    background: none;
    transition: all 0.6s ease;
    position: fixed;
    z-index: 4000;
}



.nav-pc {
    width: 100%;
    height: 40px;
    background-color: rgba(248, 248, 248, 0.8);
    background-color: rgba(254, 254, 254, 0.8);
    backdrop-filter: saturate(1.8) blur(20px);
    -webkit-backdrop-filter: blur(8px) saturate(180%);
    padding: 0 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-pc a {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s;
}
.nav-pc a:hover, .nav-mobile a:hover {
    color:rgb(48, 83, 83);
    text-shadow: 0 0 8px rgba(20, 69, 69, 0.5);
}

.nav-pc .nav-sides {
    display: flex;
    align-items: center;
    justify-content:center;
    gap: 64px;
}
.language-button {
    padding: 0;
}

.language-select {
    position: relative;
    width: 82px;
    height: 36px;
}

.language-select>button {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    cursor: pointer;
}

.language-select img {
    width: 28px;
    height: auto;
    display: block;
}

.language-options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    display: none;
    background: #fff;
    border: 1px solid #ddd;
    z-index: 1000;
}

.language-select:hover .language-options {
    display: block;
}

.language-options button {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 0;
    background: #fff;
    cursor: pointer;
}

.language-options button:hover {
    background: #f5f5f5;
}

.nav-avatar {
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgb(186, 192, 214);
}
.nav-pc .nav-avatar {
    border: 2px solid rgb(186, 192, 214);
}
.nav-mobile {
    display: none;
    width: 100%;
    height: 100%;
    padding: 0 10px;
    align-items: center;
    justify-content: space-between;
}

.nav-mobile .menu {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#mobile_menu {
    display: none;
    width: 100%;
    padding: 12px;
    align-items: center;
    justify-content: space-between;
}
#mobile_menu>div {
    display:flex;
    gap: 10px;
    align-items: center;
}
#mobile_menu + * {
    padding-top: 40px;
}

footer {
    margin: 160px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.main-footer {
    display: flex;
    gap: 32px;
    align-items: first baseline;
    justify-content: center;
    margin-bottom: 80px;
}
.ft-part {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ft-part-title {
    font-weight: 500;
    font-size: 14px;
}
.ft-part-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
}
.ft-part-links a:hover {
    text-decoration: underline;
}
.legal-footer {
    font-size: 12px;
    font-weight: 400;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
}
.legal-footer a {
    font-weight: 600;
}
.legal-footer a:hover {
    color: rgb(117, 116, 116);
}
.site-err {
    display: flex;
    width: 100%;
    margin: 80px 0;
    align-items: center;
    justify-content: center;
    gap: 24px;
}
.site-err h1 {
    color: rgb(1, 172, 1);
    font-size: 64px;
    margin: 0;
}
.site-err span {
    color: rgb(153, 151, 151);
    font-size: 20px;
}

.no-padding {
    padding: 0;
}
@media screen and (max-width: 1024px) {
    .nav {
        display: block;
    }
    .nav-mobile {
        display: none;
    }
    .nav-pc {
        padding: 0 40px;
    }
}

@media screen and (max-width: 768px) {
    .nav {
        display: block;
        width: 90%;
        height: 80px;
        font-size: 14px;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);

        background: rgba(255, 255, 255, 0.28);
        border-radius: 36px;

        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(8px) saturate(180%);

        border: 1px solid rgba(255, 255, 255, 0.35);

        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10), inset 0 1px 1px rgba(255, 255, 255, 0.35);
    }
    .nav-lang, .nav-pc {
        display: none;
    }
    #mobile_menu {
        display: flex;
    }
    .nav-mobile {
        display: flex;
    }
    #mobile_menu + * {
        padding: 0;
    }

    .legal-footer {
        flex-direction: column;
        gap: 10px;
    }
    .legal-footer-sp {
        display: none;
    }
}