.header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    border-radius: 50px;
}

.header_box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    height: 110px;
    padding: 0 50px;
}

.header_homeLink {
    width: 195px;
}

.header_logo {
    width: 100%;
}

.header_globalMenu {
    display: inline-flex;
    height: 70px;
    padding: 8px 50px;
    border-radius: 50px;
    background-color: var(--colors-persian-green-500);
}

.header_globalMenuItemFrame {
    display: inline-flex;
    gap: 20px;
}

.header_globalMenuItem {
    display: inline-flex;
    align-items: center;
    position: relative;
    gap: 4px;
    border-radius: 30px;
}

.header_globalMenuText {
    width: fit-content;
    color: #ffffff;
    font-weight: 700;
    font-size: 12px;
    white-space: nowrap;
    text-decoration: underline;
}

.header_globalMenuButton {
    display: flex;
    align-items: center;
    gap: 4px;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.header_globalMenuImg {
    width: 30px;
    height: 30px;
}

.header_languageButton {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 150px;
    height: 38px;
    padding: 0 11px;
    border: none;
    border-radius: 30px;
    background-color: #FFFFFF;
    cursor: pointer;
}

.header_languageButtonText {
    color: #2C2921;
    font-weight: 700;
    font-size: 12px;
    font-family: Noto Sans JP;
    line-height: 18px;
    text-decoration: none;
}

.header_languagePullDownIcon {
    width: 12px;
    height: 12px;
}

.header_languageDropdown {
    display: none;
    position: absolute;
    top: 45px;
    z-index: 1;
    border-radius: 10px;
    box-shadow: 2px 2px 10px 0px #469F914D;
    background-color: #ffffff;
}

.header_languageDropdown ::-webkit-scrollbar {
    width: 5px;
}

.header_languageDropdown ::-webkit-scrollbar-track {
    border-radius: 5px;
    background: #D2D2D2;
}

.header_languageDropdown ::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: #469F91;
}

.header_languageDropdownList {
    overflow-y: auto;
    max-height: 160px;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    border-radius: 10px;
}

.headerSp_languageDropdown {
    display: none;
    position: absolute;
    top: 45px;
    right: 0;
    background-color: #ffffff;
    box-shadow: 2px 2px 10px 0px #469F914D;
    z-index: 1;
    text-align: center;
    border-radius: 10px;
}

.headerSp_languageDropdown ::-webkit-scrollbar {
    width: 5px;
}

.headerSp_languageDropdown ::-webkit-scrollbar-track {
    border-radius: 5px;
    background: #D2D2D2;
}

.headerSp_languageDropdown ::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: #469F91;
}

.headerSp_languageDropdownList {
    max-height: 160px;
    overflow-y: auto;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    border-radius: 10px;
}

.csrf_display-none {
    display: none;
}

.header_languageDropdownButton {
    width: 100%;
    height: 28px;
    padding: 0 11px;
    border: 1px #ffffff;
    border-bottom: 1px solid white;
    background-color: #FFFFFF;
    font-weight: 500;
    font-size: 12px;
    font-family: Noto Sans JP;
    cursor: pointer;
}

.header_languageDropdownButton:hover {
    border-radius: 14px;
    background-color: #D8EFE9;
    cursor: pointer;
}

.header_siteMap {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    width: 100%;
    height: 100%;
    overflow: scroll;
    background: #469F91;
}

.header_siteMapContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 100px;
}

.header_siteMapHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100px;
    padding: 0 50px 0 50px;
    cursor: pointer;
}

.header_siteMapCloseIcon {
    cursor: pointer;
}

.header_siteMapMenu {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 80%;
    gap: 20px;
}

.header_siteMapMenuBox {
    color: #ffffff;
    text-align: center;
}

.header_siteMapMenuTitle {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    padding: 20px 0;
    font-weight: 700;
    font-size: 30px;
}

.header_siteMapMenuTitle-highlight {
    padding-right: 10px;
    color: #ffffff;
    font-size: 36px;
    font-weight: 700;
}

.header_siteMapMenuItems {
    font-weight: 500;
    font-size: 18px;
    text-align: left;
}

.header_siteMapMenuListStyle {
    list-style: url("/image/common/sitemap-dash-icon.svg");
}

.header_siteMapMenuRowStyle {
    padding: 10px 0;
}

.header_siteMapMenuLink {
    color: #ffffff;
}

.header_siteMapMenuButton{
    margin: 30px 0 0 -20px;
    padding: 20px 50px;
    border: none;
    border-radius: 50px;
    background: #349283;
    font-size: 20px;
    font-weight: 700;
}

.header_siteMapFooter {
    display: flex;
    width: 80%;
    gap: 25px;
    align-items: center;
}

.header_siteMapFooterMenuItem {
    display: flex;
    align-items: center;
    gap: 4px;
}

.header_siteMapFooterLink {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: underline;
}

.header_siteMapFooterCopyright {
    margin-left: auto;
    color: #ffffff;
    font-size: 14px;
}

.headerSp_frame {
    display: none;
}

.headerSp_naviBar {
    display: none;
}

/* レスポンシブデザイン */
@media (max-width: 480px) {

    .header {
        display: none;
    }

    .headerSp_logo {
        width: 184px;
    }

    .headerSp_frame {
        display: flex;
        position: fixed;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px;
        top: 0;
        left: 0;
        width: 100%;
        height: 70px;
        background-color: var(--01-main-background);
        z-index: 100;
    }

    .headerSp_globalMenu {
        display: inline-flex;
        height: 54px;
        gap: 15px;
        padding: 8px 20px;
        border-radius: 50px;
        background-color: var(--colors-persian-green-500);
    }

    .headerSp_globalMenuButtonFrame {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 40px;
        gap: 4px;
        border-radius: 30px;
    }

    .headerSp_globalMenuButton {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
    }
    
    .headerSp_globalMenuButtonText {
        width: fit-content;
        color: #ffffff;
        font-weight: 400;
        font-size: 10px;
        font-family: "Hiragino Sans-W6", Helvetica;
        letter-spacing: 1px;
    }

    .header_languageButton {
        display: flex;
        align-items: center;
        position: relative;
        gap: 10px;
    }

    .header_languageButtonText {
        text-decoration: none;
        color: #2C2921;
        font-weight: 700;
        font-size: 12px;
        font-family: "Noto Sans JP", sans-serif;
    }

    .header_languageButtonPulldownIcon {
        width: 12px;
        height: 12px;
    }

    .TOP .bread-crumb-wrapper {
        margin-top: 70px;
        padding: 8px 20px;
    }

    .TOP .side-menu {
        display: none;
    }

    .headerSp_naviBar {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100vw;
        z-index: 5000;
        width: 100vw;
        height: 100vh;
        padding: 30px;
        gap: 20px;
        background-color: var(--colors-persian-green-500);
        transition: right 0.5s ease;
    }

    .headerSp_naviBar-show {
        right: 0;
    }

    .headerSp_naviBarMenu {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        position: relative;
        width: 100%;
        gap: 20px;
    }

    .headerSp_naviBarMenuTop {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .headerSp_naviBarMenuLogo {
        width: 184px;
        height: 32px;
    }

    .headerSp_naviBarMenuTopIcon {
        width: 30px;
        height: 30px;
    }

    .headerSP_naviBarMenuItem {
        display: flex;
        align-items: center;
        position: relative;
        gap: 10px;
    }

    .headerSp_logoutFrame {
        display: contents;
    }

    .headerSp_logoutButton {
        display: contents;
    }

    .headerSp_logoutText {
        color: #ffffff; 
        font-weight: 400;
        font-size: 12px;
        font-family: "Noto Sans JP", sans-serif;
        text-decoration: underline;
    }

    #spNav form > button {
        display: contents;
    }

    .header_globalNav {
        display: flex;
        flex-direction: column;
        position: relative;
        width: 100%;
        gap: 40px;
    }

    .header_globalNavTopSection {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .header_globalNavAttendanceManagementButton {
        width: 156px;
        height: 56px;
        padding: 10px 30px;
        border-radius: 50px;
        background-color: #349283;
    }

    .header_globalNavAttendanceManagementButtonText {
        color: #FFFFFF;
        font-weight: 700;
        font-size: 24px;
        font-family: Noto Sans JP;
        line-height: 150%;
    }

    .header_globalNavLinkCategory {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }

    .header_globalNavLinkList {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .header_globalNavText-large {
        color: #FFFFFF;
        font-weight: 700;
        font-size: 24px;
    }

    .header_globalNavText-medium {
        color: #FFFFFF;
        font-weight: 700;
        font-size: 20px;
    }

    .header_globalNavlink {
        color: #FFFFFF;
        font-weight: 500;
        font-size: 16px;
    }

    .header_globalNavlink::before {
        margin-right: 10px;
        content: url("/image/common/sitemap-dash-icon.svg");
    }

    .header_globalNavCopyright {
        color: #FFFFFF;
        font-weight: 400;
        font-size: 14px;
        font-family: "Roboto", sans-serif;
    }

    .header_globalNavMyPagelink {
        color: #FFFFFF;
        font-weight: 500;
        font-size: 16px;
        text-decoration: underline;
    }

    .header_globalNavBottomSection {
        display: flex;
        gap: 50px;
    }
}