.modal-open {
    margin: 0 auto 10px;
    width: 100px;
    height: 30px;
    display: block;
    display: none;
    background-color: #FFFBEF;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-weight: normal;
    font-size: 13px;
    color: #555;
    line-height: 2;
}

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

.modal-overlay {
    width: 100%;
    height: 100%;
    background-color: #021f4b;
    opacity: .5;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10010;
}

.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;
}

.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: 514px;
    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-contents > * {
    display: none;
}
.modal-contents > .js-show {
    display: block;
}

@media screen and (max-width: 750px) {
    .modal {
        padding: 10px 14px;
        width: 84%;
        max-height: 90vh;
        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;
    }
    .modal-close {
        margin: 20px auto 0;
    } 
}