.modal-open {
    margin: auto;
    width: 100px;
    height: 30px;
    display: block;
    background-color: transparent;
    border: 1px solid var(--basic);
    border-radius: 1px;
    font-weight: normal;
    font-size: 13px;
    color: var(--basic);
    line-height: 2;
	transition:.1s;
}
.modal-open:hover{
	background: var(--basic);
	color: #fff;
}

/* 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;
    max-height: 70%;
    overflow-y: auto;
}

.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: var(--basic);
    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: 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;
    }
    .modal-close {
        margin: 20px auto 0;
    }
}


/* ----------------------------------------------------------
WTC_DEV-9073
---------------------------------------------------------- */
.modal-btn-wrapper {
    width: 90%;
    max-width: 530px;
    z-index: 10021;
    margin: 0 auto;
    position: fixed;
    top: 30px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    max-height: 70%;
    display: none;

}

.modal-close {
    margin: 0;
    position: absolute;
    top: 45px;
    left: -45px;
    width: 40px;
    height: 40px;
    background-color: #ccc;
    border-radius: 50%;
    border: none;
    font-size: 29px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.modal-btn {
    margin: 40px auto 0;
    width: 230px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--main);
    border: 1px solid var(--main);
    border-radius: 4px;
    font-weight: normal;
    color: #fff;
    transition: .3s;
}

.modal-btn:hover {
    cursor: pointer;
}

.modal-btn.checked {
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    color: #555;
}

@media screen and (max-width: 750px) {
    .modal-btn-wrapper {
        width: 84%;
        max-height: 80vh;
    }

    .modal-close {
        left: -25px;
        width: 30px;
        height: 30px;
        font-size: 21px;
    }
}


/* ----------------------------------------
WTC_DEV-9074 ポップアップ
---------------------------------------- */
.overlay {
    display: none; /* 最初は非表示 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
}

.popup {
    position: relative;
    z-index: 1000;
    padding: 30px;
    width: 90%;
    max-width: 640px;
    background-color: var(--or);
    position: fixed;
    top: 40%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
    color: #555;
    font-size: 16px;
    text-align: left;
    z-index: 10020;
    display: none;
}

.popup .popup-close {
    margin: 0;
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background-color: #ccc;
    border-radius: 50%;
    border: none;
    font-size: 29px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.popup-txt {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.7em;
    margin-bottom: 2.6rem;
}

.popup-txt > span {
    position: relative;
    font-size: 1.6rem;
    font-weight: bold;
    background: #fff;
    color: var(--or);
    padding: 4px 12px;
    border-radius: 50vw;
}

.popup-txt > span:before {
    content: "";
    position: absolute;
    top: 75%;
    left: 50%;
    margin-left: -15px;
    border: 13px solid transparent;
    border-top: 13px solid #fff;
}

.popup .dl-li {
    flex-wrap: nowrap;
    justify-content: center;
    margin-bottom: 0;
}

.popup .dl-li li {
    width: 100%;
    margin-right: 1%;
}

.popup .dl-li li:nth-child(n+4) {
    display: none;
}

.popup .dl-label {
    padding: 3.5rem 1rem 1rem;
}

@media screen and (max-width: 750px) {
    .popup {
        width: 77%;
    }

    .popup .popup-close {
        left: -10px;
        width: 30px;
        height: 30px;
        font-size: 21px;
    }

    .popup-txt {
        font-size: 1.6rem;
        line-height: 2em;
        margin-bottom: 2rem;
    }

    .popup-txt > span {
        font-size: 1.4rem;
    }
}


@media screen and (max-width: 500px) {
    .popup .dl-li {
        display: block;
    }

    .popup .dl-li li {
        margin-right: 0;
    }

    .popup .dl-label {
        display: flex;
        align-items:flex-start;
        padding: 1.4rem 1rem 1.4rem;
    }

    .dl-li .detail .service {
        font-weight: bold;
        margin-bottom: 0.4rem;
        margin-right: 3.2rem;
    }

    .dl-li li .img {
        flex-shrink: 0;
        width: 30%;
        margin-right: 0.2rem;
    }
}