.mask {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    position: fixed;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 205;
}
._modal {
    background-color: white;
    border-radius: 2px;
    opacity: 1;
    max-width: 50%;
    max-height: 90%;
    padding: 20px;
    z-index: 206;
}
._modal .modal-title {
    padding: 0 0 10px 0;
}
._modal .modal-title h2 {
    margin: 0;
}
._modal .modal-contents p {
    margin: 0 0 10px 0;
}
._modal .modal-contents h2 {
    margin: 20px 0 10px 0;
}
._modal .modal-contents {
    max-height: 600px;
    overflow: auto;
}
._modal .modal-action {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}
@media screen and (max-width: 767px) {
    ._modal .modal-contents::-webkit-scrollbar {
        width: 5px;
    }

    ._modal .modal-contents::-webkit-scrollbar-track {
        background-color: lightgray;
        border-radius: 4px;
    }

    ._modal .modal-contents::-webkit-scrollbar-thumb {
        border-radius: 4px;
        background-color: gray;
    }
}
@media screen and (max-width: 940px) {
    ._modal {
        max-width: 90%;
        max-height: 90%;
    }
}
@media screen and (max-height: 868px) {
    ._modal .modal-contents {
        max-height: 500px;
        overflow: auto;
    }
}
@media screen and (max-height: 700px) {
    ._modal .modal-contents {
        max-height: 400px;
        overflow: auto;
    }
}
@media screen and (max-height: 600px) {
    ._modal .modal-contents {
        max-height: 300px;
        overflow: auto;
    }
}
@media screen and (max-height: 500px) {
    ._modal .modal-contents {
        max-height: 200px;
        overflow: auto;
    }
}
@media screen and (max-width: 1500px) and (min-width: 1200px) {
    ._modal {
        max-width: 65%;
    }
}
