* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "NotoSans", sans-serif;
}

html {
    font-size: 14px;
}

body {
    font-family: "NotoSans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    background-image: url('/common/images/worker_background.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.layout-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 9999;
}

.header {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    background: transparent;
    padding: 10px 15px;
    color: #a3a3a3;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-bar {
    display: flex;
    align-items: center;
    padding: 3px 5px;
    border-radius: 10px;
    border: 2px solid #c9c9c9;
    background-color: #ffffff;
}

.nav-bar-desktop {
    width: 900px;
}

.nav-item {
    padding: 7px 0;
    border-radius: 10px;
    width: 20%;
}

.nav-item a {
    padding: 2px;
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    display: block;
    text-align: center;
}

.nav-item.active {
    background-color: #6ebb58;
}

.nav-item.active a {
    color: #ffffff;
}

.nav-item.border-right a {
    border-right: 1px solid #c9c9c9;
}

.btn-locale {
    background-color: #ffffff;
    border-radius: 10px;
    border: 2px solid #c9c9c9;
    color: #000000;
    padding: 12px 10px;
}

.btn-locale:hover, .btn-locale.show {
    color: #000000;
    background-color: #ffffff;
    border-color: #c9c9c9;
}

.dropdown-toggle.btn-locale::after {
    vertical-align: 0;
    border-top: .8em solid;
    border-right: .6em solid transparent;
    border-bottom: 0;
    border-left: .6em solid transparent;
}

.btn-locale i {
    font-size: 16px;
    margin-right: 5px;
}

.support-container {
    display: flex;
    width: 100%;
    min-height: 93.5vh;
}

.main-content {
    margin-top: 100px;
    min-height: calc(100vh - 161px);
}

.stresscheck-text > div {
    font-size: 40px;
    font-weight: 700;
    width: 400px;
    margin: 0 auto;
}

.footer-container {
    width: 100%;
}

.footer {
    padding: 20px 200px;
}

.copyright {
    text-align: right;
}

.nav-bar-tablet {
    display: none;
}

.nav-bar-mobile {
    display: none;
}

.dropdown-sp {
    display: none;
}

.header-logo {
    width: 505px;
}

.logo-link {
    display: block;
    width: 100%;
}

.logo-img {
    width: 100%;
}

.user-greeting {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 20px;
    border: 2px solid #6ebb58;
    white-space: nowrap;
}

.user-name {
    color: #333;
    font-size: 15px;
    font-weight: 600;
}

@media screen and (max-width: 1300px) {
    .nav-bar-desktop {
        width: 700px;
    }
}

@media screen and (max-width: 1100px) {
    .nav-bar-desktop {
        width: 630px;
    }
}

@media screen and (max-width: 1024px) {
    body {
        background-image: url('/common/images/responsive/tablet/background.jpeg');
    }

    .header {
        top: 0px;
        flex-wrap: wrap;
    }

    .header-logo {
        width: 300px;
    }

    .nav-bar-desktop {
        display: none;
    }

    .nav-bar-tablet {
        display: flex;
        width: 100%;
    }

    .nav-bar-tablet > div {
        margin: auto;
        width: 900px;
    }

    .nav-bar-tablet > div > .nav-item a {
        font-size: 14px;
    }

    .btn-locale {
        background-color: unset;
        border: unset;
    }

    .btn-locale:hover {
        background-color: unset;
        border: unset;
    }

    .btn-locale > i {
        background-color: #000000;
        color: #ffffff;
        border-radius: 50%;
    }

    .footer {
        padding-left: unset;
        padding-right: 20px;
        padding-bottom: 0;
    }

    .footer-text {
        width: 100%;
        font-size: 10px;
    }

    .main-content {
        min-height: calc(100vh - 135px) !important;
    }
}

@media screen and (max-width: 768px) {
    body {
        background-image: url('/common/images/responsive/mobile/background.jpeg');
    }

    .header-logo {
        width: 250px;
    }

    .text-locale {
        display: none;
    }

    .dropdown-toggle.btn-locale::after {
        display: none;
    }

    .header {
        background-color: rgba(255, 255, 255, 0.6);
    }

    .nav-bar-tablet {
        display: none;
    }

    .nav-bar-mobile {
        display: flex;
    }

    .nav-bar-mobile > div {
        margin: auto;
        width: 610px;
    }

    .nav-item a {
        font-size: 12px;
    }

    .dropdown-sp {
        display: flex;
        justify-content: end;
        padding-right: 20px;
    }

    .footer {
        padding-top: unset;
    }

    .main-content {
        min-height: calc(100vh - 206px) !important;
    }
}

@media screen and (max-width: 510px) {
    .nav-item a {
        font-size: 10px;
    }

    .dropdown-sp > button {
        font-size: 10px;
    }
}

@media screen and (max-width: 410px) {
    .nav-item a {
        font-size: 9px;
    }

    .dropdown-sp > button {
        font-size: 9px;
    }
}

/* アクセシビリティ: フォーカススタイル */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
.btn:focus {
    outline: 3px solid #fbb03b;
    outline-offset: 2px;
}

/* アクセシビリティ: スキップリンク */
.skip-link {
    position: absolute;
    top: -100px;
    left: 10px;
    background-color: #6ebb58;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: bold;
    z-index: 10000;
    text-decoration: none;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 10px;
    outline: 3px solid #fbb03b;
    outline-offset: 2px;
}