body {
    margin: 10px;
    padding: 10px;
}

/* メンテナンスメニュー */
.contents {
    position: relative; 
    margin: auto;
    width: 800px;
    font-size: 14px;
}

.back_to_top {
    position: absolute;
    font-size: 18px;
    top: 0;
    left: 0;
    margin: 10px;
}

#pagetitle {
    margin: auto;
    margin-bottom: 20px;
    width: fit-content;
    font-size: 25px;
}

/* テーブルタグの書式 */
.maintanance-menu {
    float: left;
    margin-bottom: 20px;
    border-collapse: collapse;
}

.maintanance-menu th {
    box-sizing: border-box;
    padding: 0px 5px 0px 5px;
    margin: 0;
    border: 1px solid black;
    white-space: nowrap;
    background-color: aqua;
}

.maintanance-menu td {
    box-sizing: border-box;
    padding: 0px 5px 0px 5px;
    margin: 0;
    border: 1px solid black;
    white-space: nowrap;
}

.operation-manual {
    font-size: 14px;
    border-collapse: collapse;
}

.operation-manual th {
    box-sizing: border-box;
    padding: 10px;
    margin: 0;
    border: 1px solid black;
    white-space: nowrap;
    background-color: whitesmoke;
    text-align: left;
}

.operation-manual td {
    box-sizing: border-box;
    padding: 10px;
    margin: 0;
    border: 1px solid black;
    white-space: nowrap;
    text-align: left;
}

/* ユーザー名（email）入力欄 */
#newUser {
    margin: 0;
    padding: 2;
    width: 300px;
}

/* ボタン類 */
.opt-buttons {
    margin: 0;
    padding: 0;
    width: 120px;
    background:#fff7cc;
    border: 1px solid gray;
    border-radius: 0;
    font-size: 12px;
    cursor: pointer;
}
.allow {
    width: 100px;
    background:lightgreen;
}
.revoke {
    width: 80px;
    background:lightpink;
}

.manual {
    margin-left: 20px;
    width: 120px;
    height: 50px;
    border-radius: 10px;
    background:whitesmoke;
    font-size: 16px;
}

.auth-state-toggle {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px 10px 5px 10px;
    top: 10px;
    right: 10px;
    color: white;
    border: none;
    border-radius: 5px;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    font-size: 14px;
}

.auth-state-toggle a {
    color: white;
    text-decoration: none;
}

/* フローティングするローディングエリア */
#loading {
    display: none;
    position: fixed;
    margin: 0px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    align-content: center;
    background: rgba(0, 0, 0, 0.5);
    z-index: 888;
    text-align: center;
}

/* スピナー本体 */
.spinner {
    margin: auto;
    width: 60px;
    height: 60px;
    border: 6px solid #ccc;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* 回転アニメーション */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* モーダルウィンドウ */
.modal-overlay {
    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: 999;
}

.modal {
    background: white;
    padding: 20px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.modal-buttons {
    display: flex;
    justify-content: center;
}

.modal-buttons button {
    margin: 10px 20px;
    width: 100px;
    height: 30px;
    font-size: 14px;
    cursor: pointer;
    background-color: #3498db;
    border-radius: 5px;
    border: none;
    color: WHITE;
}

.accessPeriodSelect {
    display: none;
}
