#header .header-lang.site-language-switcher .lang-open-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    padding: 0 10px;
    background-image: none !important;
    white-space: nowrap;
    overflow: visible;
    cursor: pointer;
}

#header .site-language-switcher .language-globe {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

#header .site-language-switcher .lang-open-btn strong {
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
}

#header .site-language-switcher .lang-open-btn .arrow {
    display: inline-flex;
    align-items: center;
    margin: 0;
    transition: transform 0.2s ease;
}

#header .site-language-switcher .arrow svg {
    display: block;
    width: 10px;
    height: 10px;
}

#header .site-language-switcher.is-open .arrow {
    transform: rotate(180deg);
}

#header .site-language-switcher > ul[hidden] {
    display: none !important;
}

.site-language-menu {
    display: none !important;
    position: fixed;
    z-index: 100000;
    width: 144px;
    min-width: 144px;
    margin: 0;
    padding: 5px;
    list-style: none;
    border: 1px solid rgba(0, 87, 72, 0.14);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 53, 44, 0.16);
    box-sizing: border-box;
}

.site-language-menu.is-open {
    display: block !important;
}

.site-language-menu > li {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    text-align: left;
    list-style: none;
}

.site-language-menu > li > a {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 13px;
    background-image: none !important;
    border-radius: 4px;
    color: #243e38;
    font-family: Arial, "Microsoft YaHei", "Noto Sans JP", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    white-space: nowrap;
}

.site-language-menu > li > a[aria-current="true"] {
    color: #005748;
    font-weight: 700;
    background-color: #edf6f2;
}

.site-language-menu > li > a:hover,
.site-language-menu > li > a:focus-visible {
    color: #fff;
    background-color: #005748;
}

#header .site-language-switcher .lang-open-btn:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

@media (max-width: 1024px) {
    #header .header-lang.site-language-switcher .lang-open-btn {
        height: 36px;
        gap: 5px;
        padding: 0 8px;
    }

    #header .site-language-switcher .lang-open-btn strong {
        font-size: 12px;
    }

    #header .site-language-switcher .language-globe {
        width: 16px;
        height: 16px;
        flex-basis: 16px;
    }

    #header .site-language-switcher .arrow svg {
        width: 9px;
        height: 9px;
    }

    .site-language-menu > li > a {
        min-height: 44px;
    }
}

@media (max-width: 360px) {
    #header .logo a,
    #header.top-fixed .logo a,
    #header.open .logo a,
    body.m-nav-open #header .logo a {
        width: 124px !important;
    }
}

@media (min-width: 1025px) {
    #header #gnb > ul {
        margin-right: calc(3% + 150px);
    }

    #header .logo a,
    #header.top-fixed .logo a,
    #header.open .logo a {
        width: 200px !important;
        background-size: contain !important;
    }
}

@media (min-width: 1025px) and (max-width: 1439px) {
    #header .logo {
        margin-left: 0 !important;
    }

    #header .logo a,
    #header.top-fixed .logo a,
    #header.open .logo a {
        width: 150px !important;
    }

    #header #gnb > ul > li > a {
        font-size: 16px;
        padding: 0 12px;
    }
}

@media (min-width: 1025px) and (max-width: 1199px) {
    #header #gnb > ul > li > a {
        font-size: 14px;
        padding: 0 6px;
    }
}
