.error-message {
    background-color: #f8d7da;
    border-color: #f5c2c7;
    border-radius: 0.25rem;
    color: #842029;
    margin-bottom: 1rem;
    padding: 1rem 1.5rem 1rem 1rem;
    position: relative;
}

.message-close-button {
    position: absolute;
    right: .25rem;
    top: .25rem;
    font-size: 1.25rem;
}

.additional-question-answer-button {
    min-width: 70px;
}

.additional-question-submit-button {
    display: block;
    height: 50px;
    margin: 40px 0 50px 0;
}

.reject-dialog {
    z-index: 750;
}

.optional-item {
    position: relative;
}

.excluded {
    background: #aaa;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.33;
}

.item-box {
    position: relative;
}

/*ダメ*/
.box-for-hiding-check{
    background: #aaa;
    height: 35px;
    left: 0;
    opacity: 0.33;
    position: absolute;
    width: 35px;
}

.group-information {
    white-space: pre-wrap;
    word-break: break-all;
}

.courseSelect__checkbox__excluded {
    padding-left: 36px;
    padding-right: 30px;
    position: relative
}

.courseSelect__checkbox__excluded:before {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: 13px auto;
    border-radius: .25rem;
    content: "";
    display: block;
    height: 24px;
    left: 0;
    position: absolute;
    top: 0;
    transition: all .1s ease-in-out;
    width: 24px;
    opacity: 1;
}

@media (min-width: 768px) {
    .courseSelect__checkbox__excluded {
        padding-left: 55px
    }

    .courseSelect__checkbox__excluded:before {
        background-size: 20px auto;
        height: 32px;
        width: 32px
    }
}

@media (min-width: 808px) {
    .modalBox__box--patient-link {
        min-height: 400px;
        max-height: 600px;
        height: auto;
        padding: 3rem 2rem;
        width: 475px
    }
}

.textarea-for-admin {
    width: 100%;
    height: 120px;
}

.answer-required {
    color: #ff5878;
    display: inline-block;
    font-size: .875rem;
    padding-left: 5px;
}

.required-answer-list {
    list-style: initial;
    margin-left: 20px;
}

.inspection-time-head {
    display:inline-block;
    margin-left:20px;
    width: 4rem;
}

.inspection-time-first {
    display:inline-block;
    margin-left:10px;
    width: 4rem;
}

.inspection-time {
    display: inline-block;
    margin-left: calc(25px + 4rem);
}

.maintenance-title {
    color: #f00;
}

.maintenance-title {
    color: #f00;
}

.custom-select {
    position: relative;
}
.custom-select select {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
}

.text-nowrap {
    white-space: nowrap;
}

/* カレンダーローディング表示 */
.calendar-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    border-radius: 6px;
}

@media (min-width: 768px) {
    .calendar-loading {
        border-radius: 8px;
    }
}

.calendar-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #001E62;
    border-radius: 50%;
    animation: calendar-spin 1s linear infinite;
}

@keyframes calendar-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}