.modal-open {
    margin: auto;
    width: 100px;
    height: 30px;
    display: block;
    background: rgba(0,0,0,.4);
    border-radius: 4px;
    font-weight: normal;
    font-size: 13px;
    color: #fff;
    line-height: 2;
    border-style: none;
}

/* Modal Window */
.wp_modal-overlay,
.modal-overlay,
.wp_modal,
.modal {
    display: none;
}

.wp_modal-overlay,
.modal-overlay {
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: .5;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10010;
}
.wp_modal,
.modal {
    padding: 30px;
    width: 90%;
    max-width: 530px;
    background-color: #fff;
    position: fixed;
    top: 30px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
    color: #555;
    font-size: 16px;
    text-align: left;
    z-index: 10020;
    max-height: 70%;
    overflow-y: auto;
}
.wp_modal-close,
.modal-close {
    margin: 40px auto 0;
    width: 200px;
    height: 40px;
    display: block;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-weight: normal;
    color: #555;
}

.modal-head-container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.modal-name {
    font-weight: bold;
    font-size: 21px;
}
.modal-company {
    margin: 20px 0;
}
.modal-logo {
    margin-right: 26px;
    border: solid 1px #e9eef3;
    width: 150px;
    display: block;
    object-fit: contain;
    object-position: 50% 50%;
    overflow: hidden;
    aspect-ratio: 6 / 4;
}

.modal-note {
    margin: 40px 0;
    line-height: 1.8;
}

.modal-price-box {
    margin: 0 auto 20px;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    text-align: center;
}

.modal-price-box th,
.modal-price-box td {
    padding: 10px 30px;
    border: solid 1px #e9eef3;
}
.modal-price-box th {
    background: #678AB1;
    color: #fff;
}
.modal-price-box td {
    text-align: left;
}

.modal-contents > * {
    /* display: none; */
}
.modal-contents > .js-show {
    display: block;
}

@media screen and (max-width: 750px) {
    .wp_modal,
    .modal {
        padding: 10px 14px;
        width: 84%;
        max-height: 80vh;
        overflow-y: scroll;
    }
    .modal-name {
        font-size: 19px;
    }
    .modal-logo {
        width: 100px;
        height: 100px;
    }
    .modal-note {
        margin: 10px 0;
    }
    .modal-price-box {
        margin: 0 auto 20px;
        width: 100%;
        font-size: 14px;
    }
    .modal-price-box th,
    .modal-price-box td {
        padding: 10px;
    }
    .wp_modal-close,
    .modal-close {
        margin: 20px auto 0;
    }
}
