.popup{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
}


/* 고객사 popup */
.case_box{
    width: 600px;
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
}

.case_box h1{
    font-size: 28px;
    font-family: 'Pretendard-SemiBold', sans-serif;
    text-align: center;
    background-color: #3b251b;
    color: #fff;
    padding: 20px 0;
}

.case_content{
  padding: 40px;
}

.case_box_title{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.case_box_title h2{
  font-size: 24px;
  line-height: 34px;
  font-family: 'Pretendard-SemiBold', sans-serif;
  margin: 30px 0 50px;
}

.case_box_ct h3{
  font-size: 18px;
  margin-bottom: 15px;
  font-family: 'Pretendard-Light', sans-serif;
}

.case_box_ct p{
  font-size: 15px;
  line-height: 30px;
}

/*i.close_btn{*/
/*  font-size: 30px;*/
/*  position: absolute;*/
/*  top: 32px;*/
/*  right: 32px;*/
/*  cursor: pointer;*/
/*  color: #fff;*/
/*}*/

/* 리소스 popup */
.resource_box{
    width: 700px;
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
}

.resource_box h1{
    font-size: 28px;
    font-family: 'Pretendard-SemiBold', sans-serif;
    text-align: center;
    background-color: #3b251b;
    color: #fff;
    padding: 20px 0;
}

.resource_content{
  padding: 40px;
}

.resource_content h2{
  font-size: 24px;
  font-family: 'Pretendard-SemiBold', sans-serif;
}

.resource_content h3{
  font-size: 16px;
  font-family: 'Pretendard-Light', sans-serif;
  margin-top: 30px;
}

.rs_form{
  padding-bottom: 30px;
  border-bottom: 1px solid #ccc;
}

.rs_input {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.rs_input>p {
    font-size: 16px;
    font-family: 'Pretendard-Regular', sans-serif;
    width: 12%;
}

.rs_input>input[type='text'] {
    width: 90.5%;
    height: 40px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 16px;
    color: #111;
    font-family: 'Pretendard-Regular', sans-serif;
}

.rs_input>input[type='text']::placeholder {
    font-size: 15px;
    color: #999;
    font-family: 'Pretendard-ExtraLight', sans-serif;
}

.rs_half {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rs_half>.rs_input {
    width: 48%;
}

.rs_half>.rs_input>p {
    width: 25%;
}

.rs_half>.rs_input>input[type='text'] {
    width: 75%;
}

i.close_btn{
    font-size: 30px;
    position: absolute;
    top: 32px;
    right: 32px;
    cursor: pointer;
    color: #fff;
}



/*개인정보처리방침*/
.f_agree_popbox{
  width: 700px;
  background-color: #fff;
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.f_agree_popbox h1{
  font-size: 20px;
  font-family: 'Pretendard-Bold', sans-serif;
  text-align: center;
  background-color: #3b251b;
  color: #fff;
  padding: 35px 0;
}

.agree_content{
  padding: 20px 40px 40px 40px;
  height: 400px;
  overflow-y: scroll;
  /*font-size: 20px;*/
    font-size: 14px;
  font-family: 'Pretendard-Medium', sans-serif;
  line-height: 1.4em;

  color : #222 !important;
  white-space: pre-wrap;
}

.popup .agree_content2{
  height: 250px;
}

.agree_content > div{
  margin-bottom: 30px;
}

.agree_content p{
  font-family: 'Pretendard-SemiBold', sans-serif;
}

.agree_content > div > div{
  margin-bottom: 15px;
}

.agree_content table{
  border-collapse: collapse;
  border: 1px solid #ccc;
  margin: 10px 0;
  width: 100%;
}

.agree_content table th,
.agree_content table td{
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
  padding: 5px 10px;
}

.agree_content table th{
  background-color: #eee;
}

.f_table03 tr td:nth-child(2){
  text-align: center;
}

.f_table04 tr td:last-child{
  cursor: pointer;
}

.agree_content >div:last-child{
  text-align: right;
  margin-top: 40px;
}



/* mobile */
@media screen and (max-width: 767px) {
    .popup{
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 999999;
        background-color: rgba(0, 0, 0, 0.6);
        display: none;
    }


    /* 고객사 popup */
    .case_box{
        width: 85%;
        box-sizing: border-box;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #fff;
    }

    .case_box h1{
        font-size: 22px;
        text-align: center;
        background-color: #604b41;
        color: #fff;
        padding: 15px 0;
    }

    .case_content{
        padding: 30px 20px;
    }

    .case_box_logo{
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .case_box_title{
        display: flex;
        align-items: baseline;
        justify-content: space-between;
    }

    .case_box_title h2{
        font-size: 18px;
        line-height: 26px;
        margin: 30px 0 30px;
    }

    .case_box_ct h3{
        font-size: 14px;
        margin-bottom: 15px;
    }

    .case_box_ct p{
        font-size: 12px;
        line-height: 24px;
    }

    i.close_btn{
        font-size: 26px;
        position: absolute;
        top: 18px;
        right: 20px;
        cursor: pointer;
        color: #fff;
    }

    /* 리소스 popup */
    .resource_box{
        width: 85%;
        box-sizing: border-box;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #fff;
        overflow-y: scroll;
        height:500px;
    }

    .resource_box h1{
        font-size: 22px;
        text-align: center;
        background-color: #604b41;
        color: #fff;
        padding: 15px 0;
    }

    .resource_content{
        padding: 30px 20px;
    }

    .resource_content h2{
        font-size: 18px;
    }

    .resource_content h3{
        font-size: 16px;
        margin-top: 30px;
    }

    .rs_form{
        padding-bottom: 30px;
        border-bottom: 1px solid #ccc;
    }

    .rs_input {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 20px;
    }

    .rs_input>p {
        font-size: 14px;
        width: 25%;
    }

    .rs_input>input[type='text'] {
        width: 75%;
        height: 35px;
        border: 1px solid #ccc;
        box-sizing: border-box;
        font-size: 14px;
        color: #111;
    }

    .rs_input>input[type='text']::placeholder {
        font-size: 14px;
        color: #999;
    }

    .rs_half {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    i.close_btn{
        font-size: 20px;
        position: absolute;
        top: 18px;
        right: 20px;
        cursor: pointer;
        color: #fff;
    }




    /*개인정보처리방침*/
    .f_agree_popbox{
        width: 95%;
        background-color: #fff;
        box-sizing: border-box;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .f_agree_popbox h1{
        font-size: 18px;
        text-align: center;
        background-color: #604b41;
        color: #fff;
        padding: 15px 0;
    }

    .agree_content{
        padding: 30px 20px;
        height: 50vh;
        overflow-y: scroll;
        font-size: 12px;
        line-height: 1.4em;
    }

    .agree_content > div{
        margin-bottom: 30px;
    }

    .agree_content p{
    }

    .agree_content > div > div{
        margin-bottom: 15px;
    }

    .agree_content table{
        border-collapse: collapse;
        border: 1px solid #ccc;
        margin: 10px 0;
        width: 100%;
    }

    .agree_content table th,
    .agree_content table td{
        border-bottom: 1px solid #ccc;
        border-right: 1px solid #ccc;
        padding: 5px;
    }

    .agree_content table th{
        background-color: #eee;
    }

    .f_table03 tr td:nth-child(2){
        text-align: center;
    }

    .f_table04 tr td:last-child{
        cursor: pointer;
    }

    .agree_content >div:last-child{
        text-align: right;
        margin-top: 40px;
    }

}


/* tablet */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .f_agree_popbox{
        width: 90%;
    }

    .f_agree_popbox h1{
        font-size: 20px;
        padding: 25px 0;
    }

    .agree_content{
        font-size: 16px;
    }

    i.close_btn{
        top: 20px;
        right: 20px;
    }
}



