* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

.container {
    position: relative;
    width: 100vw;
    height: 100vh;
    color: white;
}

#boardstatus {
    flex: 1;
}

.background-image {
    position: absolute;
    width: 100%;
    height: auto;
    z-index: -3;
}

.background-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    aspect-ratio: 16 / 9;
    background-image: url('../img/①背景/bg.png');
    background-size: cover;
    background-position: center;
    z-index: -10;
}

body {
    color: #fdfbfb;
    position: relative;
    width: 100vw;
    height: 100vh;
    font-family: "Meiryo", sans-serif;
}

.headerbg-image {
    position: absolute;
    width: 100%;
    height: auto;
    z-index: -1;
}

.location .headerlogo-image {
    position: absolute;
    width: 11%;
    height: auto;
    z-index: -1;
    top: 1.5vw;
    left: 2.5%;
}

.location .headertitle-image {
    position: absolute;
    width: 24%;
    height: auto;
    z-index: -1;
    top: 1.2vw;
    left: 50%;
    transform: translateX(-50%);
}

.location .headermeter-image {
    position: absolute;
    text-align: right;
    width: 18%;
    height: auto;
    z-index: -1;
    top: 1.5vw;
    right: 1.5%;
}

main {
    display: flex;
    height: 49.5vw;
    width: 100vw;
    justify-content: space-around;
}

.location.data-container {
    position: absolute;
    max-width: 95%;
    width: 100%;
}

.location .clock-container {
    display: flex;
    gap: 1vw;
    position: absolute;
    top: 8.5vw;
    right: 2.2vw;
    align-items: baseline;
}

.time {
    font-size: 2vw;
    font-weight: bolder;
}

.date {
    font-size: 1.5vw;
}

.board-container {
    position: relative;
    width: 100%;
    top: 12vw;
    left: 0;
    padding: 0 1.5vw;
    bottom: 0.8vw;
    /* 2つの部署を横に並べる場合 */
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
}

.location .department-box {
    position: relative;
    width: 100%;
    margin-bottom: 0.5vw;
    /* left: 5%; */
    background-image: url('../img/⑦行先掲示板/bg_line.png');
    background-size: cover;
    background-position: center;
    /* height: 100% */
}

/* 2つの部署を横に並べる場合 */
.location .department-box:nth-child(1) {
    width: 47%;
    margin-right: 0.1%;
}

.location .department-box:nth-child(2) {
    width: 52.9%;
}


.location .department {
    background-image: url('../img/⑦行先掲示板/division_header.png');
    background-size: cover;
    background-position: center;
    width: 100%;
    font-size: 0.95vw;
    margin-bottom: 2px;
    padding-left: 0.8vw;
    justify-self: start;
}

.location .employee-box {
    color: black;
    width: 100%;
    /* height: 30vw; */
    gap: 0.2vw;
}

.location .row {
    /* 横(Z) */
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-start;
    gap: 0.11vw;
}

.location .employee {
    box-sizing: border-box;
    padding: 0.6vw 0.6vw;
    width: 5.3vw;
    font-size: 0.72vw;
    height: 3.6vw;
    font-weight: 600;
}

.location .presence {
    font-size: 0.8em;
}

.location .location {
    font-size: 0.8em;
    font-weight: 400;
}

.location .office {
    background-image: url('../img/⑦行先掲示板/status_office.png');
    background-size: cover;
    background-position: center;

}

.location .outside {
    background-image: url('../img/⑦行先掲示板/status_out.png');
    background-size: cover;
    background-position: center;
}

.location .absence {
    background-image: url('../img/⑦行先掲示板/status_absence.png');
    background-size: cover;
    background-position: center;
}

.location .telework {
    background-color: #b7e35a;
    background-size: cover;
    background-position: center;
}

.location .business-trip {
    background-color: #7fd2ff;
    background-size: cover;
    background-position: center;
}

.location .paid-leave {
    background-color: blueviolet;
    background-size: cover;
    background-position: center;
}
.scroll {
    overflow-x: hidden;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}


.popup-container {
    width: auto;
    height: 5%;
    background: linear-gradient(135deg, #e5e2e2d1, #e5e2e2d1);
    padding: 1vw 3vw;
    border-radius: 0.5vw;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1vw;
    position: absolute;
    font-family: 'FontAwesome', sans-serif;
    white-space: nowrap;
}

#popupIcon {
    width: 4.5%;
}

#popupText {
    font-size: 1.5vw;
    position: relative;
    top: 2.5px;
    left: 1px;
    color: black;
}