body {
    margin: 0 !important;
}

.adminMain {
    /* display: grid; */
    grid-template-columns: 250px auto;
    /* height: calc(100vh - 80px); */
    padding-top: 80px;
    position: relative;
}


.adminMain .main {
    padding-left: 250px;
}
@media (max-width: 950px) {
    .adminMain .main {
    padding-left: 190px;
    }
}
@media (max-width: 768px) {
    .adminMain{
        overflow: hidden;
    }
    .adminMain .main {
    padding-left: 0;
}
}

.admin__container {
    margin-left: auto;
    width: calc(100vw - 200px);
}

.heading__completed {
    background: #fff;
    border: 1px solid #c6aa60;
    border-radius: 5px;
    color: #c6aa60;
    display: inline-block;
    font-size: 15px;
    margin-top: 10px;
    padding: 15px 20px;
    width: fit-content;
}

.for-admin .contentHead__button {
    margin-top: 40px;
}

.for-admin .contentMain {
    margin-top: 40px;
}

.for-admin .voteDate thead tr th:nth-of-type(1) {
    width: 27.5%;
}

.for-admin .voteDate thead tr th:nth-of-type(2) {
    width: 27.5%;
}

.for-admin .voteDate thead tr th:nth-of-type(n + 3) {
    width: 15%;
}

.for-admin .voteDate tbody tr td:nth-of-type(1) {
    padding: 10px;
}

.for-admin .voteDate tbody tr td:nth-of-type(n + 3) {
    text-align: center;
}

.barGraph__container {
    margin-top: 35px;
    opacity: 0;
    transition: 0.3s;
}

.adminGraphs {
    margin: 110px auto 0;
    max-width: 1126px;
    padding: 0 40px;
}

.adminGraphs__title {
    border-bottom: 2px solid #e2e6ea;
    color: #2c3034;
    font-family: var(--fontNotoJP);
    font-size: 20px;
    font-weight: 700;
    padding: 16px 0;
}

.chart__bar,
.chart__doughnut {
    background: #fff;
    border-radius: 10px;
    box-shadow: 3px 3px 5px rgba(151, 170, 192, 0.2);
    box-sizing: border-box;
    display: block;
    margin-top: 16px;
    padding: 32px 24px;
}

.adminGraphs__wrapper {
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr 1fr;
}

.adminGraph__heading {
    color: #2c3034;
    font-family: var(--fontNotoJP);
    font-size: 18px;
    font-weight: 700;
}

.adminSubmit {
    align-items: center;
    background: #fff;
    border: 3px solid #333;
    border-radius: 12px;
    color: #333;
    cursor: pointer;
    display: flex;
    font-family: "Roboto", "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 700;
    height: 40px;
    justify-content: center;
    width: 100%;
}

.pwordReset {
    color: #333;
    display: block;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.5;
    margin-top: 16px;
    text-align: center;
}

.invalid-feedback {
    color: #f00;
    font-size: 14px;
    margin-top: 4px;
}

.admin_imarkWrap {
    /*  */
    display: inline-block;
    padding: 4px 8px;
}

.admin_imark {
    margin-top: -4px;
}

.admin_imark img {
    pointer-events: none;
}

/* ---------------------------------------
      Navbar
------------------------------------------ */

.admin__header {
    align-items: center;
    background: #fff;
    display: flex;
    height: 80px;
    width: 100%;
    position: fixed;
    z-index: 10000;
}

.admin__navbar {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 0 40px;
    width: 100%;
}

.admin__navbar--logos {
    margin: 0 !important;
    padding: 0;
}

.admin__navbar .nav-link {
    color: #333;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.8;
}

.admin__previewImage {
    display: block;
    height: 200px;
    margin: 0 auto;
    width: auto;
}

.editButtonArea {
    display: flex;
    margin-top: 20px;
    margin-bottom: 40px;
    gap: 20px;
}
.approver__container .editButtonArea {
    justify-content: unset;
    padding-left: 50px;
}

.backButton {
    align-items: center;
    background: #a9a9a9;
    display: flex;
    justify-content: center;
    text-decoration: none;
}

.registrationButton {
    align-items: center;
    background: #3cc4f6;
    display: flex;
    justify-content: center;
    text-decoration: none;
}

.buttonUpdate.green {
    align-items: center;
    background: #4cc297;
    display: flex;
    justify-content: center;
    text-decoration: none;
}

/* ---------------------------------------
      Login Page
  ---------------------------------------- */

.loginCard {
    margin: 0 auto;
    margin-top: 70px;
    padding: 20px;
    width: fit-content;
}

.loginCard .card-header {
    display: grid;
    /* gap: 24px; */
    grid-template-columns: 1fr;
    justify-items: center;
}

.loginCard .card-header p {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
}

.loginForm {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
    margin-top: 16px;
    width: 500px;
}

.loginForm .formRow {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr;
    padding: 10px;
}

.loginForm label {
    color: #333;
    font-family: "Roboto", "Noto Sans JP", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
}

.loginForm input[type="text"],
.loginForm input[type="email"],
.loginForm input[type="password"],
.loginForm select {
    background: #f0f0f0;
    border: 1px solid #333;
    color: #333;
    font-family: "Roboto", "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 400;
    padding: 8px 16px;
}

.password__wrapper {
    position: relative;
}

.password__wrapper button {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
}

.password__wrapper button .admini__passImg {
    width: 20px;
    height: 20px;
}

.loginForm input[type="checkbox"] {
    cursor: pointer;
    opacity: 0;
}

.loginForm .form-check-label {
    cursor: pointer;
}

.loginForm input[type="text"]::placeholder {
    color: #a0aaaa;
}

.loginForm .form-check {
    position: relative;
}

.loginForm .form-check::before {
    background: #fff;
    border: 1px solid #333;
    content: "";
    height: 14px;
    left: 2px;
    position: absolute;
    top: 7px;
    transition: background-color 0.3s ease-in-out;
    width: 14px;
}

.loginForm .form-check::after {
    background: url(../images/icon-tick_white.svg);
    background-repeat: no-repeat;
    background-size: cover;
    content: "";
    height: 7px;
    left: 5px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
}

.loginForm .form-check:has(input[type="checkbox"]:checked)::before {
    background-color: #17ac4d;
}

.loggedInBox {
    align-items: center;
    display: flex;
    gap: 16px;
}

.loggedInBox img {
    height: 25px;
}

.loggedInBox .dropdown-item {
    align-items: center;
    background: #2b3473;
    border-radius: 40px;
    color: #fff;
    display: flex;
    font-size: 16px;
    font-weight: bold;
    justify-content: center;
    letter-spacing: 2px;
    padding: 14px 0 12px;
    text-align: center;
    transition: 0.3s ease-in-out;
    width: 140px;
    text-decoration: none;
}

.loggedInBox .dropdown-item:hover {
    opacity: 0.8;
}

.draggableItem img {
    max-width: 280px;
}

.adminEditButton__group {
    display: flex;
    gap: 40px;
    margin-top: 15px;
}

.buttonPosition {
    background: #17ac4d;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font-family: "Roboto", "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 700;
    height: 40px;
    letter-spacing: 0.05em;
    transition: 0.2s;
    width: 144px;
}

.buttonPosition:hover {
    opacity: 0.7;
}

.draggableItem {
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.draggableItem td:last-child {
    position: relative;
    z-index: 3;
}

.mirrorElement {
    box-sizing: border-box;
    display: flex;
    height: 100%;
    justify-content: "center";
    padding: 0 10px;
    width: 100%;
}

.detail_text{
    font-weight: 400;
    font-size: 14px;
}

/* sp画面調整 */
@media (max-width: 768px){
    .loginCard{
        margin-top: 0;
    }
    .loginForm{
        width: 100%;
    }
    .logo__header{
        width: 250px;
        height: auto;
    }
    .loggedInBox .dropdown-item{
        width: 120px;
        padding: 12px 0 10px
    }
}
@media (max-width: 550px) {
    .homeLogo {
        width: 100%;
    }
}
@media(max-width: 468px){
    .loginCard{
        margin-top: 0;
        padding: 0;
    }
    .logo__header{
        width: 150px;
        height: auto;
    }
    .admin__navbar{
        margin: 0 20px;
    }
    .loggedInBox .dropdown-item{
        width: 100px;
        font-size: 13px;
    }
}
