/* ------------------------------
    popup
------------------------------ */
.popup {
    padding: 24px 24px 10px;
    margin: 20px auto;
    background: #fff;
    border: 1px solid #707070;
    position: relative;
}

.popup input[type="text"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    border: none;
    border-radius: 0;
    padding: 0;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.popup .bold {
    font-weight: bold;
}

.popup .taC_pc {
    text-align: center !important;
}

.popup .fs3 {
    font-size: 20px !important;
}

.popup .fs25 {
    font-size: 18px !important;
}

.popup-modal-dismiss {
    position: absolute;
    width: 30px;
    height: 30px;
    background: #fff;
    border: 1px solid #707070;
    border-radius: 50%;
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
    transition: 0.3s;
}

.popup-modal-dismiss a {
    display: block;
}

.popup-modal-dismiss:before,
.popup-modal-dismiss:after {
    content: "";
    display: block;
    position: absolute;
    width: 1px;
    height: 10px;
    top: 50%;
    left: 50%;
    background: #787878;
    transform-origin: center center;
    margin-top: -5px;
}

.popup-modal-dismiss:before {
    transform: rotate(-45deg);
}

.popup-modal-dismiss:after {
    transform: rotate(45deg);
}

.pop_ttl1 {
    position: relative;
    line-height: 1;
    font-weight: bold;
    padding-bottom: 1em;
    margin-bottom: 19px;
}

.pop_ttl1:before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    width: calc(100% + 70px);
    left: -24px;
    height: 1px;
    background: #707070;
    opacity: 0.36;
}

.pop_radio {
    margin-bottom: 14px;
    margin-left: 7px;
}

.popform_input {
    margin-bottom: 11px;
    padding: 14px 20px;
}

.popform_input input {
    width: 175px;
}

.popform_input .input_date {
    width: 63px;
    background: #fff;
    align-items: center;
    color: #ddd;
}

.popform_input .input_date input {
    width: 3em;
    text-align: center;
    color: #787878;
}

.popform_input th {
    padding-top: 10px;
    padding-bottom: 10px;
}

.popform_input table tr:first-child th {
    padding-top: 0;
}

.popup .btnwrap {
}

.popup .btnwrap2 {
    padding-bottom: 14px;
    margin-top: 56px;
}

.poptxt_error {
    margin-top: 77px;
    line-height: 2.4;
}

.input_group button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    border: none;
    border-radius: 0;
    padding: 0;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}

@media screen and (min-width: 769px) {
    .popup {
        max-width: 630px;
    }

    .popup-modal-dismiss {
        right: 5px;
    }

    .popup-modal-dismiss:hover {
        background: #fff;
    }

    .popup-modal-dismiss:hover:before,
    .popup-modal-dismiss:hover:after {
        background: #0e2851;
    }

    .poptxt_error2 {
        margin-top: 60px;
        padding-bottom: 30px;
        line-height: 2.4;
    }

    .pot_ttl3 {
        padding-top: 20px;
    }

    .popform_input input {
        padding: 6px;
    }
}

@media screen and (max-width: 768px) {
    .popup {
        margin: 8vw auto 4vw;
        width: 90vw;
        padding: 4vw;
    }

    .popup-modal-dismiss {
        width: 9vw;
        height: 9vw;
    }

    .pop_ttl1 {
        padding-bottom: 1em;
        margin-bottom: 4vw;
    }

    .pop_ttl1:before {
        width: calc(100% + 8vw);
        left: -4vw;
    }

    .pop_radio {
        margin-bottom: 3vw;
        margin-left: 2vw;
    }

    .popform_input {
        margin-bottom: 3vw;
        padding: 0.5em;
    }

    .popform_input input {
        width: 100%;
        padding: 6px 3px;
    }

    .popform_input .input_date {
        width: 7em;
    }

    .popform_input .input_date input {
        width: 3em;
        text-align: center;
    }

    .popform_input th {
        padding-top: 0.6em;
        padding-bottom: 0.6em;
    }

    .popup .btnwrap2 {
        padding-bottom: 2vw;
        margin-top: 6vw;
    }

    .poptxt_error,
    .poptxt_error2 {
        margin-top: 5vw;
        line-height: 2;
    }
}

mfp-bg（overlay） .mfp-bg {
    opacity: 0;
    /*transition: all 0.4s ease-out;*/
    background: #f5f5f5 !important;
}

.mfp-bg.mfp-removing {
    opacity: 0;
}

.mfp-bg.mfp-ready {
    opacity: 0.3;
}

/* mfp-content */
.mfp-wrap .mfp-content .popup {
    opacity: 0;
    /*	transition: all 0.4s ease-out;*/
}

.mfp-wrap.mfp-ready .mfp-content .popup {
    -webkit-animation-duration: 0.3s;
    animation-duration: 0.3s;
    animation-fill-mode: forwards;
    opacity: 0;
    -webkit-animation-name: mfpIn;
    animation-name: mfpIn;
}

.mfp-wrap.closeanim .mfp-content .popup {
    -webkit-animation-duration: 0.15s;
    animation-duration: 0.15s;
    animation-fill-mode: forwards;
    -webkit-animation-name: mfpOut;
    animation-name: mfpOut;
    opacity: 1;
}

.mfp-wrap.mfp-removing .mfp-content .popup {
    opacity: 0;
}

.mfp-close {
    display: none !important;
}

input.coupon_code {
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}

@keyframes mfpIn {
    0% {
        opacity: 0;
        -webkit-transform: scale(0.3);
        -ms-transform: scale(0.3);
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        -webkit-transform: scale(1.05);
        -ms-transform: scale(1.05);
        transform: scale(1.05);
    }

    70% {
        -webkit-transform: scale(0.95);
        -ms-transform: scale(0.95);
        transform: scale(0.95);
    }

    100% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes mfpOut {
    0% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }

    100% {
        opacity: 0;
        -webkit-transform: scale(0.3);
        -ms-transform: scale(0.3);
        transform: scale(0.3);
    }
}
