.popup {
    background: #EEEEEE;
    border: 1px solid #F15F22;
    box-sizing: border-box;
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.15);
    padding: 4.5em;
    max-width: 35.375em;
    margin: 50px auto;
    position: relative;
    z-index: 1;
    color: #000000;
    width: 95%;
}
.popup .row1 {
    margin: 0 auto 0.33em;
    font-size: 3em;
    color: #F15F22;
    line-height: 0.9;
    font-weight: 700;
}
.popup .row2 {
    margin: 0 -10% 0.5em 0;
    font-size: 1.5em;
}
.popup .row3 {
    font-size: 1.125em;
}
.popup .row3 .item {
    margin: 0 auto 1em;
}
.popup .row4 {
    margin: 0 auto 3.5em;
}
.popup .row4 .custom_checkbox_wrap {
    margin: -0.3em 0.5em 0 0;
}
.popup .row5 {
    font-size: 1.125em;
    text-align: center;
}
.popup .row5 .orange_button {
    width: 100%;
    max-width: 100%;
    padding: 0.5em;
}
/*type2*/
.popup.type2 {
    /*padding: 4.5em 3.375em 0 6.25em;*/
    padding: 3em;
    max-width: 40.25em;
}
.popup.type2 .row2 {
    margin: 0 auto;
}
.popup .row6 {
    display: flex;
    align-items: center;
    margin: 0 -3.375em 0 -6.25em;
}
.popup .row6 .image {
    width: 55%;
}
.popup .row6 .text {
    width: 45%;
}
.popup .row6 .text .sub_row1 {
    font-size: 1.125em;
    margin: 0 auto 2em;
}
.popup .row6 .text .sub_row1 b,
.popup .row6 .text .sub_row1 strong {
    font-size: 1.333em;
}
.popup .row6 .text .sub_row2 {
    line-height: 1;
}
.popup .row6 .text .sub_row2 .signature {
    max-width: 100%;
    mix-blend-mode: multiply;
}
/**/
.popup.type3 {
    max-width: 42.3125em;
}
/**/
.popup.type4 {
    padding: 4.5em;
    max-width: 73.125em;
}
.popup.type4 .row1 {
    margin: 0 auto 1em;
    text-align: center;
}
.popup.type4 .row3 {
    display: flex;
    margin: -0.5em -0.8em 2.5em;
    flex-wrap: wrap;
}
.popup.type4 .row3 .item {
    margin: 0.5em 0.8em;
    width: calc(50% - 1.6em);
}
.popup.type4 .row3 .custom_input_wrap .custom_textarea_input {
    height: 5.2em;
}/*
.popup.type4 .row3 .item.custom_input_wrap + .item + .item.custom_file_input_wrap {
    margin: -2em 0.8em 0.5em;
}*/
.popup.type4 .row5 .orange_button {
    width: 28em;
}
.popup .row7 {
    margin: 0 auto 2em;
}
.popup .row7 .sub_row1 {
    margin: -0.875em -0.875em 0.875em;
}
.popup .row7 .sub_row1:last-child {
    margin: -0.875em;
}
.popup .row7 .sub_row2 {
    margin: -0.875em;
}
.popup .row7 .slide {
    display: block;
    margin: 0.875em;
}
.popup .row7 .slide .image {
    display: block;
    width: 100%;
}
.popup .row8 {
    font-size: 1.5em;
}
@media(max-width: 1699px) {
    .popup {
        font-size: 0.94vw;
    }
}
@media(max-width: 1199px) {
    .popup {
        font-size: 1.5vw;
    }
}
@media(max-width: 767px) {
    .popup, .popup.type2,
    .popup.type4 {
        font-size: 1em;
        padding: 1em;
    }
    .popup .row1,
    .popup.type4 .row1 {
        font-size: 2em;
        margin: 0 auto 0.5em;
        text-align: left;
    }
    .popup .row2,
    .popup.type2 .row2 {
        font-size: 1em;
        margin: 0 auto 1em;
    }
    .popup .row3 {
        font-size: 1em;
    }
    .popup.type4 .row3 {
        margin: 0 auto;
    }
    .popup.type4 .row3 .item {
        width: 100%;
        margin: 0 auto 1em;
    }
    .popup.type4 .row3 .item.custom_input_wrap + .item + .item.custom_file_input_wrap {
        margin: 0 auto 1em;
    }
    .popup .row4 {
        margin: 0 auto 1em;
    }
    .popup .row5 {
        font-size: 1em;
    }
    .popup .row6 {
        margin: 0 auto;
    }
    .popup .row6 .image {
        display: none;
    }
    .popup .row6 .text {
        width: 100%;
    }
    .popup .row6 .text .sub_row1 {
        font-size: 1em;
    }
    .popup .row7 {
        margin: 0 auto 1em;
    }
    .popup .row7 .sub_row1 {
        margin: -0.5em -0.5em 0.5em;
    }
    .popup .row7 .sub_row1:last-child {
        margin: -0.5em;
    }
    .popup .row7 .sub_row1 .slide {
        margin: 0.5em;
    }
    .popup .row7 .sub_row2 {
        margin: -0.5em;
    }
    .popup .row7 .sub_row2 .slide {
        margin: 0.5em;
    }
    .popup .row8 {
        font-size: 1em;
    }
}