header {
    z-index: 998;
    position: fixed;
    padding-left: 300px;
    width: 100%;
}

main {
    padding-top: 70px;
    padding-left: 300px;
    width: 100%;
}

footer {
    padding-left: 300px;
    width: 100%;
}

@media only screen and (max-width : 992px) {
    header, main, footer {
        padding-left: 0;
    }
}

.sidenav .collapsible > .active .collapsible-header .chevron {
    transform: rotate(-90deg);
}

.site-logo {
    margin-left: 20px;
    padding: 10px;
    width: 65px;
}

.horizontal li {
    display: inline;
}

.wrap-panel {
    padding-left: 5px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/materialicons/v142/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
}

.center-display {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.select-field.login {
    width: 300px;
    text-align: left;
}

.input-field.login {
    width: 300px;
}

.card.login {
    margin: 40px;
    width: 60%;
}

.entrance {
    width: 200px;
}

.modal-qr {
    width: 50%;
}

@media only screen and (max-width: 1024px) {
    .card.login {
        margin: 8px;
        width: 95%;
    }
}

/* iPhone 14 Pro Max */
@media only screen and (max-width: 430px) {
    .card.login {
        margin: 8px;
        width: 95%;
    }

    .entrance {
        width: 169px;
    }

    .modal-qr {
        width: 90%;
    }
}

/* iPhone XR, Pixel 7 */
@media only screen and (max-width: 414px) {
    .card.login {
        margin: 8px;
        width: 95%;
    }

    .entrance {
        width: 161px;
    }

    .modal-qr {
        width: 90%;
    }
}

/* iPhone 12 Pro */
@media only screen and (max-width: 390px) {
    .card.login {
        margin: 8px;
        width: 95%;
    }

    .entrance {
        width: 150px;
    }

    .modal-qr {
        width: 90%;
    }
}

/* iPhone SE */
@media only screen and (max-width: 375px) {
    .card.login {
        margin: 8px;
        width: 95%;
    }

    .entrance {
        width: 143px;
    }

    .modal-qr {
        width: 90%;
    }
}

@media only screen and (max-width: 320px) {
    .card.login {
        margin: 8px;
        width: 95%;
    }

    .entrance {
        width: 117px;
    }

    .modal-qr {
        width: 90%;
    }
}

/**************************************************************************************************/
/* 待機画面                                                                                       */
/**************************************************************************************************/
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: black;
    opacity: 0.8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999;
    user-select: none;
}

.load-text {
    color: white;
    font-size: 12pt;
}

.load-blink {
    animation: blink 2s linear infinite;
}

.load-absolute {
    position: absolute;
}

.load-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 10px solid rgba(255, 255, 255, 0.5);
    border-top-color: rgba(255, 255, 255, 1);
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/**************************************************************************************************/
/* ファイルドロップ関係                                                                           */
/**************************************************************************************************/
.drop-area {
    border: 2px dotted #999;
    padding: 8px;
    text-align: center;
}

/**************************************************************************************************/
/* テキストエリア関係                                                                             */
/**************************************************************************************************/
textarea.auto-adjust {
    overflow-y: hidden;
    resize: none;
}

/**************************************************************************************************/
/* PDFキャンバス関係                                                                              */
/**************************************************************************************************/
.pdf-canvas {
    width: 100%;
}

/**************************************************************************************************/
/* ページ先頭まで戻るボタン                                                                       */
/**************************************************************************************************/
#scrollToTopButton {
    position: fixed;
    bottom: 20px; /* 画面下からの位置 */
    right: 20px; /* 画面右からの位置 */
    display: none;
    z-index: 998; /* 他の要素より前面に表示 */
}