html{
    font-size: 10px;
}

.popup *{
    box-sizing: border-box;
    font-family:'Noto Sans KR';
    text-align: left;
    outline: none;
}
.popup .free_form{
    display: none;
    overflow-y: scroll;
}
.popup .free_form .bg{
    position: fixed;
    background-color: #000;
    opacity: 0.75;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9998;
}
.popup .free_form .box{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 54rem;
    height: 72rem;
    padding: 3rem 3rem 5rem 3rem;
    background-color: #fff;
    border-radius: 10px;
    z-index: 9999;
}
.popup .free_form .box > img{
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 1;
    cursor: pointer;
}
.popup .free_form .box h3{
    font-size: 2rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e5e5e5;
    font-weight: 500;
}
.popup .free_form .box > p{
    font-size: 1.5rem;
    line-height: 2.5rem;
    font-weight: 300;
    margin-top: 2rem;
    color: #858585;
}
.popup .free_form .box > .b{
    margin-top: 2.5rem;
    color: #252525
}
.popup .free_form .box > p b{
    font-size: 1.5rem;
    line-height: 2.5rem;
}
.popup .free_form .box form{
    margin-top: 3.5rem;
    background-color: #f9fafc;
    border-radius: 10px;
    padding: 4.5rem 3rem;
}
.popup .free_form .box form h4{
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 3rem;
    text-align: center;
}
.popup .free_form .box form .input{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width:100%;
    margin-bottom: 1rem;
}
.popup .free_form .box form .input input{
    line-height: 4.3rem;
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    width: 100%;
    padding: 0 1.5rem;
    font-size: 1.4rem;
    box-sizing : border-box;
    background-color: #fff
}
.popup .free_form .box form .input .select{
    width: 100%;
    position: relative;
}
.popup .free_form .box form .input .select span{
    width: 100%;
    line-height: 4.3rem;
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    background-color: #fff;
    display: block;
    padding: 0 1.5rem;
    font-size: 1.4rem;
    cursor: pointer;
}
.popup .free_form .box form .input .select span img{
    position: absolute;
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%);
}
.popup .free_form .box form .input .select ul{
    position: absolute;
    width: 100%;
    top: -0.1rem;
    left: 0;
    border: 1px solid #d9d9d9;
    background-color: #fff;
    border-radius: 5px;
    z-index: 1;
    height: calc(4.5rem * 6);
    overflow-y: scroll;
    border: 1px solid #000;
    display: none;
}
.popup .free_form .box form .input .select ul::-webkit-scrollbar{
    display: none;
}
.popup .free_form .box form .input .select ul li{
    width: 100%;
    position: relative;
}
.popup .free_form .box form .input .select ul li button{
    width: 100%;
    line-height: 4.4rem;
    padding: 0 1.5rem;
    cursor: pointer;
    display: block;
    text-align: left;
    border: unset;
    border-bottom: 1px solid #d9d9d9;
    background-color: #fff;
    font-size: 1.4rem;
    font-weight: 500;
}
.popup .free_form .box form .input .select ul li:last-child button{
    border-bottom: none;
}
.popup .free_form .box form .input .select ul li button:hover{
    background-color: #f9f9f9;
}
.popup .free_form .box form .input .select ul li img{
    position: absolute;
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%) rotate(180deg);
}
.popup .free_form .box form > button{
    line-height: 5rem;
    width: 100%;
    color: #fff;
    background-color: #000;
    font-size: 1.5rem;
    border-radius: 5px;
    margin-bottom: 2rem;
    border: unset;
    text-align: center;
    cursor: pointer;
}
.popup .free_form .box form .text{
    width: 100%;
    background-color: #fff;
    padding: 1.5rem 1.5rem 0 1.5rem;
    border-radius: 5px;
    border: 1px solid #d9d9d9;
    height: 8.5rem;
    position: relative;
    margin-bottom: 2rem;
    overflow: hidden;
}
.popup .free_form .box form .text::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5rem; 
    background: linear-gradient(to bottom, #ffffff00 0%, #fdfdfdff 100%);
    pointer-events: none;
}
.popup .free_form .box form textarea{
    width: 100%;
    color: #aeaeae;
    border: none;
    resize: none;
    height: 100%;
    line-height: 1.5;
    font-size: 1.3rem;
    box-shadow: inset 0 0 0 0 #000;
}
.popup .free_form .box form textarea::-webkit-scrollbar{
    width: 2px;
}
.popup .free_form .box form textarea::-webkit-scrollbar-thumb{
    background-color: #d9d9d9;
}
.popup .free_form .box form .checkbox{
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}
.popup .free_form .box form .checkbox.t1{
    margin-bottom: 1rem;
}
.popup .free_form .box form .checkbox div{}
.popup .free_form .box form .checkbox div input{}
.popup .free_form .box form .checkbox div img{
    width: 18px;
}
.popup .free_form .box form .checkbox span{
    font-size: 1.3rem;
    color: #858585;
}
.popup .free_form .box form > p{
    margin-top: 1.5rem;
    font-size: 1.3rem;
    color: #858585;
}
@media all and (max-width:960px){
	html{font-size:9px;}
}
@media (max-width:650px) {
    .popup .free_form{
        padding: 4.6296vw 4.6296vw 6.4815vw 4.6296vw;
    }
    .popup .free_form .box{
        width: 88.8889vw;
        height: 144.4444vw;
    }
    .popup .free_form .box h3{
        font-size: 3.7037vw;
        padding-bottom: 4.6296vw;
    }
    .popup .free_form .box > p,
    .popup .free_form .box > p b{
        font-size: 3.3333vw;
        line-height: 5.0926vw;
    }
    .popup .free_form .box > p{
        margin-top: 3.7963vw;
    }
    .popup .free_form .box > p .b{
        margin-top: 5.5556vw
    }

    .popup .free_form .box form{
        margin-top: 5.6019vw;
        padding: 7.4074vw 2.3148vw 6.4815vw;
    }
    .popup .free_form .box form h4{
        font-size: 3.7037vw;
        margin-bottom: 4.1667vw;
    }
    .popup .free_form .box form .input{
        gap: 1.3889vw;
        margin-bottom: 2.3148vw;
    }
    .popup .free_form .box form .input input,
    .popup .free_form .box form .input .select span{
        line-height: 7.6852vw;
    }
    .popup .free_form .box form .input .select ul{
        height: calc(7.8704vw * 5);
    }
    .popup .free_form .box form .input .select ul li button{
        line-height: 7.6852vw;
    }
    .popup .free_form .box form > button{
        line-height: 12.0370vw;
        margin-bottom: 4.1667vw;
        font-size: 3.3333vw;
    }
    .popup .free_form .box form .text{
        height: 23.1481vw;
        margin-bottom: 3.7037vw;
    }
    .popup .free_form .box form textarea{
        font-size: 2.3148vw;
        line-height: 3.2917vw;
    }
    .popup .free_form .box form .checkbox div img{
        width: 2.9630vw;
    }
    .popup .free_form .box form .checkbox span{
        font-size: 2.3148vw;
    }
    .popup .free_form .box form .checkbox.t1{
        margin-bottom: 1.8519vw;
    }
    .popup .free_form .box form > p{
        font-size: 2.3148vw;
    }
}
@media all and (max-width:640px){
	html{font-size:8px;}
}