/* Reset CSS */

:root,
body,
h1,
h2,
h3,
p,
ul,
li,
a,
input,
input[type="checkbox"],
input[type="radio"],
input[type="submit"],
input[type="button"],
label,
button,
select,
textarea {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}

input,
button,
select,
textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent;
    border: none;
    border-radius: 0;
    font: inherit;
    outline: none;
    cursor: pointer;
}

textarea {
    resize: vertical;
}

select::-ms-expand {
    display: none;
}


/* Global Styles */

:root {
    --c0: #fbfbfb;
    --c1: #efefef;
    --c2: #e3e3e3;
    --c3: #cacaca;
    --c4: #b2b2b2;
    --c5: #a6a6a6;
    --c6: #9a9a9a;
    --c7: #757575;
    --c8: #444444;
    --c9: #2c2c2c;
    --c-key: #ed6c00;
    --c-a25: rgba(115, 116, 119, 0.25);
    --c-a75: rgba(115, 116, 119, 0.75);
}

@media (prefers-color-scheme: dark) {
     :root {
        --c0: #2c2c2c;
        --c1: #383838;
        --c2: #444444;
        --c3: #5d5d5d;
        --c4: #757575;
        --c5: #818181;
        --c6: #8d8d8d;
        --c7: #b2b2b2;
        --c8: #e3e3e3;
        --c9: #fbfbfb;
        --c-key: #ed6c00;
        --c-a25: rgba(115, 116, 119, 0.25);
        --c-a75: rgba(115, 116, 119, 0.75);
    }
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
    min-height: 0vw;
}

*::before,
*::after {
    box-sizing: border-box;
}

body {
    height: 100vh;
    height: 100dvh;
    width: 100vw;
    margin: 0;
    padding: 0;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    /*padding: env(safe-area-inset-top, 20px) env(safe-area-inset-right, 20px) env(safe-area-inset-bottom, 20px) env(safe-area-inset-left, 20px);*/
    overflow: hidden;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: var(--c9);
    background-color: var(--c0);
    /*c1*/
    transition: 0.5s;
}

body.login {
    background-image: url(../images/background.jpg);
    background-size: cover;
}

a {
    text-decoration: none;
    color: var(--c-key);
}

.loading {
    width: 100%;
}

.loading>div:first-child {
    margin: 10px auto;
    width: 120px;
}

.loading>div:last-child {
    margin: 0 auto;
    width: 200px;
    text-align: center;
}

.loading svg {
    fill: none;
    stroke: var(--c-key);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 230 230;
    animation: loader 1.4s infinite cubic-bezier(0.4, 0, 0.3, 1), loading 1.2s infinite linear;
    vertical-align: middle;
}

@keyframes loader {
    from {
        stroke-dashoffset: 230;
    }
    to {
        stroke-dashoffset: -230;
    }
}

@keyframes loading {
    from {
        transform: none;
    }
    to {
        transform: rotate(360deg);
    }
}

#container {
    display: flex;
    width: 100%;
    height: 100vh;
    height: 100svh;
    justify-content: center;
    align-items: center;
    /*max-width: 1280px;*/
    margin: 0 auto;
    overflow: hidden;
}

.login #container {
    justify-content: center;
    align-items: center;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    height: 100svh;
    background-color: var(--c0);
}

#header-content {
    width: 100%;
    height: 56px;
    color: transparent;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-color: var(--c1);
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: var(--c2);
}

#header-content .user-info {
    height: 40px;
    margin: 7px 10px;
    border-radius: 20px;
    padding: 5px 22px;
    background-color: var(--c1);
    border-width: 1px;
    border-style: solid;
    border-color: var(--c2);
}

#header-content .user-info>div {
    height: 15px;
    line-height: 17px;
    font-size: 12px;
    color: var(--c8);
}

#main-content {
    width: 100%;
    padding: 10px;
    background-color: var(--c0);
    /*border-radius: 8px 0 0 8px;*/
}

#dynamic-content {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    overflow-x: hidden;
}

#dynamic-content>div {
    flex-grow: 0;
    flex-shrink: 0;
}

#dynamic-content>div.grow {
    flex-grow: 1;
}

#footer-content {
    width: 100%;
    height: 30px;
    padding: 3px;
    font-size: 8px;
    text-align: center;
    background-color: var(--c1);
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: var(--c2);
}

.form-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding: 24px;
    background: var(--c1);
    row-gap: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 2px 5px 12px rgba(0, 0, 0, 0.2);
}

.form-wrapper {
    position: fixed;
    inset: 0;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--c-a75);
    z-index: 100;
}

.form-header,
.form-content,
.form-footer {
    width: 100%;
    display: flex;
}

.form-header {
    justify-content: space-between;
}

.form-title {
    height: 28px;
    line-height: 28px;
    font-size: 24px;
    font-weight: 600;
}

svg.form-close {
    fill: none;
    stroke: var(--c7);
    cursor: pointer;
}

svg.form-close:hover {
    stroke: var(--c5);
}

.form-content {
    flex-direction: column;
    align-items: center;
    min-height: 280px;
}

.form-footer {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 10px;
    width: 100%;
    margin-top: 18px;
}

.form-content>div,
.form-content>form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recordform_employeeinfo {
    border-width: 1px;
    border-style: solid;
    border-color: var(--c3);
    border-radius: 5px;
    margin-bottom: 10px;
    background-color: var(--c0);
    padding: 6px;
}

.recordform_employeeinfo .label {
    font-size: 11px;
    color: var(--c7);
}

.recordform_employeeinfo .logout {
    text-align: right;
    color: var(--c7);
}

.recordform_employeeinfo .logout button {
    display: inline-block;
    margin: 1px 2px;
    padding: 0 12px;
    list-style: none;
    height: 32px;
    background: var(--c-key);
    text-align: center;
    font-size: 14px;
    line-height: 30px;
    font-weight: 500;
    color: var(--c0);
    border-width: 1px;
    border-style: solid;
    border-color: var(--c-key);
    border-radius: 4px;
}

#form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 8px;
}

.logo img {
    height: 24px;
    width: auto;
}

.title {
    /*height: 48px;
    line-height: 28px;*/
    font-size: 24px;
    font-weight: 600;
}

.subtitle {
    /*height: 28px;
    line-height: 22px;*/
    font-size: 18px;
    font-weight: 600;
}

.subheading {
    /*height: 20px;
    line-height: 18px;*/
    font-size: 14px;
    font-weight: 600;
}

.message {
    font-size: 10px;
}

.input {
    position: relative;
    width: 100%;
}

.input.yymm {
    width: 120px;
}

.input.date {
    width: 120px;
}

.input .label {
    position: absolute;
    top: 5px;
    left: 8px;
    font-size: 11px;
    color: var(--c7);
}

.input-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}

.input-group:has(> :nth-child(2))>.input {
    max-width: calc(50% - 5px);
}

.form-ui select,
.form-ui .input input[type="text"],
.form-ui .input input[type="password"],
.form-ui .input .text,
.form-ui .input ul {
    width: 100%;
    /*height: 55px;*/
    font-size: 18px;
    font-weight: 500;
    color: var(--c8);
    border-width: 1px;
    border-style: solid;
    border-color: var(--c5);
    border-radius: 5px;
    background-color: var(--c0);
    padding: 20px 6px 6px 6px;
    overflow: hidden;
    cursor: pointer;
}

.form-ui>.date {
    width: 150px;
}

.select-form {
    border-width: 1px;
    border-style: solid;
    border-color: var(--c3);
    background-color: var(--c0);
    min-height: 100px;
    max-height: 280px;
    overflow-x: auto;
    padding: 8px;
}

.reason-rabel {
    display: inline-block;
    border-width: 1px;
    border-style: solid;
    border-color: var(--c3);
    background: var(--c0);
    border-radius: 0.2rem;
    padding: 4px 6px;
    margin: 3px 2px;
}

.reason-rabel.invisible {
    display: none;
}

.reason-rabel>i {
    color: var(--c-key);
    /*padding: 4px;*/
    font-size: 14px;
    margin-right: 3px;
}

.reason-rabel>span {
    color: var(--dark-grey);
    font-size: 15px;
}

button:focus,
button:hover {
    outline: none;
    color: var(--c0);
    background: var(--c-key);
}

.input input[type="date"]::after {
    content: attr(data-date);
    display: inline-block;
    position: absolute;
    top: 3px;
    left: 3px;
}

.input input[type="date"]::-webkit-datetime-edit {
    visibility: hidden;
}

div.input:has(select)::before {
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top-width: 8px;
    border-top-style: solid;
    border-top-color: var(--c-key);
    content: "";
    position: absolute;
    right: 11px;
    top: 24px;
    width: 0;
}

.input ul {
    display: flex;
    justify-content: space-between;
}

.input ul>li {
    display: block;
    list-style: none;
    height: 100%;
    background: var(--c5);
    width: 50%;
    text-align: center;
    line-height: 38px;
    height: 38px;
    font-size: 15px;
    font-weight: 600;
    color: var(--c0);
    border-width: 1px;
    border-color: var(--c-key);
}

.input ul>li:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.input ul>li:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.input ul>li.selected {
    background-color: var(--c-key);
}

.togglelabel {
    width: 122px;
}

.toggle {
    width: 96px;
}

.toggle ul {
    display: flex;
}

.toggle ul>li,
.togglebutton {
    display: block;
    margin: 1px 0;
    list-style: none;
    height: 32px;
    background: var(--c1);
    width: 48px;
    text-align: center;
    font-size: 14px;
    line-height: 30px;
    font-weight: 500;
    color: var(--c7);
    border-width: 1px;
    border-style: solid;
    border-color: var(--c5);
}

.toggle ul>li:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border-right-width: 0;
}

.toggle ul>li:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.togglebutton {
    margin-left: 4px;
    border-radius: 4px;
}

.toggle ul>li.selected,
.togglebutton.checked {
    color: var(--c0);
    border-color: var(--c-key);
    background-color: var(--c-key);
}

.approver {
    width: 250px;
}

div.button {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 14px;
}

.form-container div.button {
    justify-content: flex-end;
}

div.button>button.button,
.form-footer>button.button {
    height: 38px;
    line-height: 38px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    padding-left: 24px;
    padding-right: 24px;
    margin-top: 2px;
    margin-bottom: 2px;
    cursor: pointer;
    background-color: var(--c-key);
    color: var(--c0);
    white-space: nowrap;
}

button.button.fullwidth {
    width: 100%;
}

button.button.misc {
    color: var(--c7) !important;
    background-color: var(--c2) !important;
}

.or {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between;
    width: 100%;
    height: 18px;
    align-items: center;
    margin: 10px auto;
}

.or .line {
    margin: 5px 0;
    height: 1px;
    width: calc((100% - 80px) / 2);
    background-color: var(--c5);
}

.or .text {
    font-size: 16px;
}

.space {
    height: 24px;
}

label {
    display: block;
}

.recordform {
    display: none;
}

.recordform.is_show {
    position: fixed;
    inset: 0;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--c-a75);
}

.recordform.is_show>.form-item {
    /*width: 320px;
    height: 240px;
    background-color: #d4d4d4;*/
    position: relative;
    z-index: 100;
}

.progressbar {
    position: relative;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 24px;
    z-index: 0;
}

.progressbar li {
    position: relative;
    list-style-type: none;
    text-align: center;
    text-transform: uppercase;
    color: var(--c7);
    font-size: 10px;
    font-weight: 600;
    counter-increment: steps;
}

.progressbar.item2 li {
    width: calc(100% / 2);
}

.progressbar.item3 li {
    width: calc(100% / 3);
}

.progressbar.item4 {
    width: calc(100% + 60px);
}

.progressbar.item4 li {
    width: calc(100% / 4);
}

.progressbar.item5 {
    width: calc(100% + 50px);
}

.progressbar.item5 li {
    width: calc(100% / 5);
}

.progressbar.item6 {
    width: calc(100% + 40px);
}

.progressbar.item6 li {
    width: calc(100% / 6);
}

.progressbar li:before {
    display: block;
    width: 20px;
    height: 20px;
    margin: 7px auto 5px auto;
    content: "";
    line-height: 20px;
    font-size: 10px;
    text-align: center;
    border-radius: 50%;
    background-color: var(--c3);
    content: counter(steps);
}

.progressbar li:after {
    position: absolute;
    z-index: -1;
    top: 15px;
    left: -50%;
    width: 100%;
    height: 3px;
    content: "";
    background-color: var(--c3);
}

.progressbar li:first-child:after {
    content: none;
}

.progressbar li.active,
.progressbar li.complete {
    color: var(--c-key);
}

.progressbar li.active:before,
.progressbar li.complete:before {
    background-color: var(--c-key);
    color: var(--c0);
}

.progressbar li.active:after,
.progressbar li.complete:after {
    background-color: var(--c-key);
}


/* 装飾 */

u.progressbar {
    margin: 40px 0 !important;
}

.record_table {
    border-collapse: collapse;
    border-width: 2px;
    border-style: solid;
    border-color: var(--c5);
}

.record_table th,
.record_table td {
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: var(--c2);
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: var(--c2);
    font-size: 16px;
    /*padding: 5px 2px;*/
}

.record_table th {
    width: 72px;
}

.record_table td {
    width: calc(100% - 72px);
}

.record_table span {
    font-size: 11px;
    color: var(--c7);
}

.record_table .arrow {
    width: 100%;
    text-align: center;
    margin: 5px 0;
}

.editor.active {
    margin: 12px 8px 0 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#selector {
    position: fixed;
    inset: 0;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.01);
    z-index: 250;
}

#selector>div {
    background-color: var(--c1);
    box-shadow: 0 1px 3px var(--c5);
    margin-top: 50px;
    width: 300px;
    padding: 10px;
    border-radius: 8px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.date table {
    border-collapse: collapse;
}

#selector #selectorHeader {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    height: 36px;
}

#selector .header-title {
    padding: 7px 15px;
    color: var(--c7);
}

#selector #selectorHeader .header-nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 90px;
    height: 36px;
}

#selector #selectorHeader .header-nav>div {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    width: 36px;
    height: 36px;
    text-align: center;
    line-height: 36px;
    color: var(--c7);
    cursor: pointer;
}

#selector #selectorMain {
    width: 100%;
}

#selector th {
    width: 40px;
    height: 32px;
    padding: 5px 0;
    font-size: 11px;
    font-weight: 400;
    color: var(--c5);
}

#selector td {
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--c7);
}

#selector td.selected {
    border-radius: 50%;
    background-color: var(--c3);
    color: var(--c-key);
}

#selector td.today {
    color: var(--c-key);
}

#selector td.today.selected {
    border-radius: 50%;
    background-color: var(--c-key);
    color: var(--c0);
}

#selector td.disabled {
    color: transparent;
}

.content-wrapper>main {
    width: 100%;
    flex: 1;
    overflow-x: hidden;
    overflow-y: auto;
    /*background-color: var(--c1);*/
}

.functionsMenu {
    width: 100%;
    margin-top: 12px;
}

.functionsMenu ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-x: auto;
    white-space: nowrap;
    gap: 6px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.functionsMenu ul::-webkit-scrollbar {
    display: none;
}

.functionsMenu li {
    height: 32px;
    padding: 6.5px 12px;
    border-width: 1px;
    border-style: solid;
    border-color: var(--c5);
    border-radius: 16px;
    /*margin: 0 6px 8px 0;*/
    font-size: 14px;
    line-height: 14px;
    background-color: var(--c1);
}

.functionsMenu li.selected {
    background-color: var(--c0);
}

.functionsMenu span {
    display: inline-block;
    border-radius: 50%;
    background-color: var(--c-key);
    width: 22px;
    height: 22px;
    text-align: center;
    line-height: 20px;
    font-size: 15px;
    font-weight: 500;
    top: -1px;
    position: relative;
    margin-left: 4px;
    margin-right: -7px;
    color: var(--c0);
    margin-top: -2px;
}

.window {
    background-color: var(--ui-form-bg-color);
    padding: 12px;
    border-radius: 3px;
    box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.menu-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    cursor: pointer;
    z-index: 99;
}

.nav-menu {
    position: fixed;
    top: 0;
    left: -280px;
    height: 100vh;
    height: 100svh;
    width: 280px;
    color: var(--c8);
    background-color: var(--c2);
    /*c1*/
    box-sizing: border-box;
    box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
    z-index: 98;
    transition: left 0.3s ease-in-out;
}

.nav-menu .logo {
    margin-left: 44px;
    padding: 11px 4px 6px 0;
    width: auto;
    height: 56px;
}

.nav-menu .logo img {
    width: 100%;
    height: auto;
    margin-top: 8px;
}

.nav-menu.slide-in {
    left: 0px;
    transition: left 0.3s ease-in-out;
}

.nav-menu ul {
    list-style: none;
    margin: 0 2px;
    overflow-x: auto;
}

.nav-menu ul::-webkit-scrollbar {
    display: none;
}

.nav-menu li {
    height: 40px;
    padding: 4px;
}

.nav-menu li:hover {
    background-color: var(--c3);
}

.nav-menu li a {
    padding: 6px;
    display: block;
    width: calc(100% - 4px);
    height: 100%;
    text-decoration: none;
    color: var(--c8);
    font-size: 14px;
    border-left-style: solid;
    border-left-width: 3px;
    border-left-color: transparent;
}

.nav-menu li a.selected {
    border-left-color: var(--c-key);
}

.nav-menu i {
    display: inline-block;
    width: 32px;
    font-size: 18px;
    text-align: center;
}

.nav-menu span {
    display: inline-block;
    line-height: 22px;
    margin-left: 5px;
}

table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

table th,
table td {
    padding: 10px 0;
    font-size: 14px;
}

table tr:nth-child(odd) {
    background-color: var(--light-gray);
}

#upload-area {
    margin: 0 5px;
    padding: 20px 20px 80px 20px;
    border-width: 2px;
    border-style: solid;
    border-color: var(--c8);
    background-color: var(--c1);
}

#upload-area:hover {
    border-color: var(--c7);
    background-color: var(--c0);
}

.upload-button {
    position: absolute;
    width: 100%;
    bottom: 5px;
}

.table-wrapper {
    margin: 32px;
    max-height: 320px;
    overflow-y: scroll;
}

.namekana div:first-child {
    font-size: 65%;
}

.form-item {
    position: relative;
}

.form-item.center {
    justify-content: center;
    gap: 20px;
}

.form-item>label,
.form-item>.label {
    display: block;
    width: 100%;
}

.homeBtn {
    display: flex;
    flex-wrap: wrap;
    /*justify-content: space-around;*/
    gap: 8px;
}

.homeBtn>div {
    width: 28vw;
    height: 22vw;
    background-color: var(--c0);
    border-radius: 8px;
    box-shadow: 0 1px 3px var(--c5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.group {
    width: 100%;
    background-color: var(--c1);
    border-width: 1px;
    border-style: solid;
    border-color: var(--c2);
    border-radius: 8px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.data-item {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    background-color: var(--c0);
    padding: 6px 0;
}

.data-item:hover {
    background-color: var(--c1);
}

.data-item:first-child {
    border-radius: 6px 6px 0 0;
}

.data-item:last-child {
    border-radius: 0 0 6px 6px;
}

#data-container>div {
    display: none;
}

#data-container>div.visible {
    display: flex;
    flex-direction: column;
    gap: 1px;
    border-width: 1px;
    border-style: solid;
    border-color: var(--c3);
    border-radius: 8px;
}

.data-item-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: calc(100% - 32px);
}

.data-item-content>div {
    flex-shrink: 0;
    border-left-width: 1px;
    border-left-style: solid;
    border-left-color: var(--c3);
    margin-left: 5px;
    padding-left: 5px;
    line-height: 34px;
}

.data-item-content>.support {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 280px;
}

.data-item-content>.support>.source_location,
.data-item-content>.support>.destination_location {
    width: 100%;
}

.data-item-content>.support>.to {
    width: 40px;
    text-align: center;
}

.data-item-content>.support>.to>.sp {
    display: inline;
}

.data-item-content>.support>.to>.pc {
    display: none;
}

.data-item-content>.date {
    width: 90px;
}

.data-item-content>.datetime {
    width: 45px;
    font-size: 14px;
    line-height: 17px;
}

.data-item-content>.datetime>div {
    width: 100%;
}

.data-item-content .label {
    font-size: 11px;
    color: var(--c5);
}

.data-item-content>.employee {
    width: 180px;
    display: flex;
    flex-direction: row;
}

.data-item-content>.employee>.code {
    width: 65px;
}

.data-item-content>.employee>.name {
    width: 115px;
}

.data-item-content>.attendancedatetime {
    width: 95px;
}

.data-item-content>.reason {
    width: 245px;
    /*display: flex;*/
    white-space: nowrap;
    overflow: hidden;
}

.data-item-content>.type {
    width: 115px;
}

.data-item-content.admin>.type {
    width: 125px;
    display: flex;
    flex-direction: row;
}

.data-item-content>.status {
    max-width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.data-item-content>.status.label {
    font-size: 14px;
    line-height: 14px;
}

.data-item-content>.status>div {
    margin: -2px 0;
}

.data-item-content.normal>.status {
    border: 0;
    width: 24px;
}

.editbutton {
    order: -1;
    width: 20px;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: right;
    line-height: 14px;
}

.editbutton>i {
    left: 2px;
    position: relative;
}

.content {
    width: 100%;
    overflow: hidden;
    height: 0;
    transition: height 0.3s ease;
}

.content.active {
    height: auto;
    transition: height 0.3s ease;
}

.checkbox {
    cursor: pointer;
    display: inline-block;
    padding: 5px 0 5px 36px;
    position: relative;
    width: auto;
    user-select: none;
}

.checkbox::before {
    background-color: var(--c0);
    border-width: 1px;
    border-style: solid;
    border-color: var(--c5);
    border-radius: 3px;
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    left: 5px;
    margin-top: -12px;
    position: absolute;
    top: 50%;
}

.checkbox::before:hover {
    background-color: var(--c1);
}

.checkbox::after {
    border-right-width: 4px;
    border-right-style: solid;
    border-right-color: var(--c-key);
    border-bottom-width: 4px;
    border-bottom-style: solid;
    border-bottom-color: var(--c-key);
    content: "";
    display: block;
    height: 24px;
    left: 15px;
    margin-top: -16px;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: rotate(45deg);
    width: 12px;
}

.checkbox.checked::after {
    opacity: 1;
}

input[type="checkbox"]:checked+.checkbox02::before {
    border-color: #666;
}

input[type="checkbox"]:checked+.checkbox02::after {
    opacity: 1;
}

@media screen and (min-width: 520px) {
    #footer-content {
        height: 20px;
        padding: 6px;
    }
    .form-container {
        padding: 44px;
        width: 440px;
    }
    .container h2 {
        margin: 0;
    }
    .content-wrapper {
        width: calc(100vw - 56px);
    }
    .content-wrapper>main {
        padding: 0 5px;
    }
    .menu-toggle {
        display: none;
    }
    .nav-menu {
        display: block;
        position: relative;
        left: 0;
        width: 64px;
        box-shadow: none;
    }
    .nav-menu .logo {
        padding: 6px;
        margin-left: 0;
    }
    .nav-menu .logo img {
        width: auto;
        height: 30px;
    }
    .nav-menu li {
        height: 56px;
        padding: 10px 4px 18px 4px;
    }
    .nav-menu span {
        display: block;
        font-size: 8px;
        font-weight: 700;
        margin: 0 -8px;
        text-align: center;
        white-space: nowrap;
    }
    .content-wrapper>main {
        width: calc(100vw - 56px);
        border-radius: 3px;
    }
    br.sp {
        display: none;
    }
    .homeBtn {
        gap: 12px;
    }
    .homeBtn>div {
        width: 180px;
        height: 120px;
        border-radius: 8px;
        box-shadow: 0 1px 3px var(--c5);
    }
    #main-content {
        padding: 14px;
    }
    .group {
        padding: 12px;
    }
}

@media screen and (min-width: 960px) {
    .content-wrapper {
        width: calc(100vw - 280px);
    }
    .nav-menu {
        width: 280px;
    }
    .nav-menu .logo img {
        width: 100%;
        height: auto;
    }
    .nav-menu li {
        height: 40px;
        padding: 4px;
    }
    .nav-menu span {
        display: inline;
        line-height: 22px;
        margin: 0 0 0 5px;
        font-size: 14px;
        font-weight: 400;
        text-align: left;
    }
    .content-wrapper>main {
        width: calc(100vw - 280px);
    }
    .homeBtn {
        gap: 24px;
    }
    .homeBtn>div {
        width: 250px;
        height: 180px;
        border-radius: 8px;
        box-shadow: 0 1px 3px var(--c5);
    }
    #main-content {
        padding: 18px;
    }
    .data-item-content>.support {
        width: 600px;
        max-width: 600px;
        flex-direction: row;
    }
    .data-item-content>.support>.source_location,
    .data-item-content>.support>.destination_location {
        width: 280px;
    }
    .data-item-content>.support>.to>.sp {
        display: none;
    }
    .data-item-content>.support>.to>.pc {
        display: inline;
    }
}

.fa-circle-check {
    color: green;
}

.fa-circle-xmark {
    color: red;
}

.fa-circle-question {
    color: gray;
}