@charset "UTF-8";

.modal-open {
    overflow: hidden;
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

body:not(.modal-open) .modal,
body:not(.modal-open) .modal-backdrop {
    display: none !important;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
}

.modal-dialog-scrollable {
    display: flex;
    max-height: calc(100% - 1rem);
}

.modal-dialog-scrollable .modal-content {
    max-height: calc(100vh - 1rem);
    overflow: hidden;
}

.modal-dialog-scrollable .modal-header,
.modal-dialog-scrollable .modal-footer {
    flex-shrink: 0;
}

.modal-dialog-scrollable .modal-body {
    overflow-x: hidden;
    overflow-y: auto;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar {
    width: 5px;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-track {
    background-color: transparent;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-thumb {
    min-height: 40px;
    background-color: rgba(0,0,0,.4);
    border-radius: 5px;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

.modal-dialog-scrollable .modal-body::-webkit-scrollbar-corner {
    background-color: transparent;
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}

.modal-dialog-centered.modal-dialog-scrollable {
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.modal-dialog-centered.modal-dialog-scrollable .modal-content {
    max-height: none;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 16px !important;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.09),
        0 1px 16px rgba(0, 0, 0, 0.16);
    outline: 0;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}

.modal-backdrop.show {
    opacity: 0.03 !important;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.rich-modal-header {
    position: relative;
    color: #000;
    font-family: "Hiragino Sans", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
}

.rich-modal-close {
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
}

.rich-modal-close img {
    vertical-align: unset;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

.rich-modal-body {
    padding: 0;
    text-align: center;
}

.mt-3 {
    margin-top: 1rem !important;
}

.modal-text-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
    padding: 0 24px;
}

.modal-text-list li {
    display: flex;
    gap: 4px;
}

.modal-text-list li::before {
    content: "\25CF";
    display: block;
}

.modal-text-list li span {
    color: #212529;
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
    text-align: left;
}

.modal-text-list li.modal-text-underline span {
    text-decoration: underline;
    text-decoration-color: #FFF78C;
    text-decoration-thickness: 4px;
    text-underline-offset: 1px;
}

.modal-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem 0;
    border-top: 1px solid #dee2e6;
}

.style-modal-footer {
    display: flex;
    justify-content: center !important;
    border-top: 0;
}

.d-flex {
    display: flex !important;
}

.btn {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border: 1px solid transparent;
    background-color: transparent;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
}

.whitebutton {
    border: 1px solid #a9151a;
    border-radius: 40px;
    background: #fff !important;
    color: #a9151a;
    font-family: "Hiragino Sans", sans-serif;
    font-style: normal;
    line-height: 150%;
    white-space: nowrap;
}

.whitebutton:hover,
.whitebutton:focus {
    border: 1px solid #dd181f !important;
    color: #dd181f !important;
}

.whitebutton-l {
    width: 84.5%;
    min-width: 240px;
    height: 48px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }

    .modal-dialog-scrollable {
        max-height: calc(100% - 3.5rem);
    }

    .modal-dialog-scrollable .modal-content {
        max-height: calc(100vh - 3.5rem);
    }

    .modal-dialog-centered {
        min-height: calc(100% - 3.5rem);
    }

    .whitebutton-l {
        min-width: 412px;
    }
}

@media (min-width: 768px) {
    .rich-modal-body {
        padding: 24px;
    }

    .modal-text-list {
        padding: 0;
    }
}