
#sub_intro .sub_intro_text{
    text-align: center;
    height: 390px;
}

#sub_intro .sub_intro_text .si_top{
    padding-top : 230px;
}

#sub_intro .sub_intro_text .si_bottom{
    margin-top: 10px;
    color: #9f978c;
}

#sub_intro .sub_intro_text{
    overflow: hidden;
}

#sub_intro .sub_intro_text p{
    opacity: 0;
}

#sub_intro .sub_intro_text .si_top p{
    animation: show_txt .7s ease-in-out forwards;
}

#sub_intro .sub_intro_text .si_bottom p{
    animation: show_txt .7s .4s ease-in-out forwards;
}

@keyframes show_txt {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}










#sub_intro .sub_intro_bg{
    width: 100%;
    height: 500px;
    
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

#sub_intro.sub1_intro .sub_intro_bg{
    background-image: url(../images/sub_intro1.jpg);
}

#sub_intro.sub2_intro .sub_intro_bg{
    background-image: url(../images/sub_intro2.jpg);
}

#sub_intro.sub3_intro .sub_intro_bg{
    background-image: url(../images/sub_intro3.jpg);
}

#sub_intro.sub4_intro .sub_intro_bg{
    background-image: url(../images/sub_intro4.jpg);
}

.sub_route{
    color: #959595;
    
    margin-top: 50px;
    margin-bottom: 140px;
}

.sub_route a:link,
.sub_route a:visited ,
.sub_route a:hover ,
.sub_route a:active {
    color: inherit;
}

.sub_route a{
    width: 684px;
}

.sub_route.type2 ul li{
    max-width: 684px;
}


.sub_route ul li{
    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #665045;
    
    height: 60px;

    cursor: pointer;
}

.sub_route ul li.on{
    background-color: #665045;
    color: white;
}

.sub_route.type3 ul li{
    width: 444px;
}

.sub_route.type2 ul li{
    /*width: 684px;*/
    text-transform: uppercase;
}



/* sub1_1 */
.sub1 .title{
    color: #665045;
}

.sub1 .title span{
    display: block;
    margin-top: 30px;
    margin-bottom: 90px;
}

.sub1 .line{
    width: 40px;
    height: 2px;
    background-color: #959595;

    margin-top: 16px;
    margin-bottom: 40px;
}

ul.flex1 li:nth-child(2n){
    flex-direction: row-reverse;
}

ul.flex1 li:nth-child(2n) .text{
    align-items: flex-end;
}


ul.flex1 li .img,
ul.flex1 li .text{
    width: 50%;
}

ul.flex1 li img{
    width: 100%;
}

ul.flex1 li .text{
    padding: 0 60px;
    box-sizing: border-box;
}

.sub1_flex{
    margin-bottom: 200px;
}



/* sub1_2 */
.sub1_2_section .content{
    width: 100%;
    background-color: #665045;
    color: white;

    padding: 100px 0 160px 13.5%;

    position: relative;
}


.sub1_2_section .slick-slide {
    margin: 0 10px;
  }


/* sub1_3 */
.sub1_3_section .flex2{
    
}

.sub1_3_section .flex2 .text_box{
    padding: 35px 0;   
    border-top : 2px solid #caa08a;
    border-bottom : 2px solid #caa08a;
}

.sub1_3_section .flex2 .circle{
    width: 43px;
    height: 43px;
display: flex;
align-items: center;
justify-content: center;
    margin-bottom: 10px;

    border-radius: 64px;
    background-color: #caa08a;
    color: white;

}

.sub1_3_section ul.flex2 li .text{
    padding: 0 40px; 
}

.sub1_3_section ul.flex2 li:nth-child(2n) .text{
    align-items: normal;
}

.sub1_3_section ul li:nth-child(2n) .text_box {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
}



/* sub2 */
.sub2 .title{
    text-align: center;
    margin: 0 auto;
}

.sub2 .title p{
    color : #665045;
    margin-bottom: 20px;
}

.sub2 .title span{
    text-transform: uppercase;
}

.sub2 .content ul li{

}

.sub2 .content ul li .big{
    margin: 30px 0;
}

.sub2 .content ul li .text{
    text-align: center;
}

.sub2 .content ul li .text p{
    color : #959595;
    line-height: 1.5;
}

.line3{
    width: 40px;
    height: 2px;
    background-color: #a18a7e;
    margin: 30px auto 60px;
}

.sub2 .sub2_flex{
    gap: 110px;
    width: 1100px;
    justify-content: center;
    margin: 0 auto;
}

.content_wrap{
    margin-bottom: 150px;
}


/* sub_3_1 */
.sub3_1_section .content table{
    border-collapse: collapse;
    width: 100%;
    margin-top: 40px;
}

.sub3_1_section .content table td{
    font-size: 18px;
    text-align: center;
    font-family: 'Pretendard-Medium', sans-serif;
    border-bottom: 1px solid #d7d7d7;
}

.sub3_1_section .content table td,
.sub3_1_section .content table th{
    padding: 20px 0;
}

.sub3_1_section .content table td:nth-child(1),
.sub3_1_section .content table th:nth-child(1){
    border-left: none;
    border-right: 1px solid #d7d7d7;
}

.sub3_1_section .content table td:nth-child(2),
.sub3_1_section .content table th:nth-child(2){
    border-left: 1px solid #d7d7d7;
    border-right: none;
}

.sub3_1_section .content table th{
    background-color: #665045;
    color: white;
    font-family: 'Pretendard-Bold', sans-serif;
}



/* sub4_1 */
.sub4_1_section .content{
    padding: 120px 0;
}

.sub4_1_section .content .sub_title{
    margin-bottom: 30px;
}

.sub4_1_section .content .sub_title span{
    color: #665045;
}



/* 문의폼 */
.inquiry_box {
    width: 100%;
    box-sizing: border-box;
}

.little_text {
    width: 100%;
    font-size: 14px;
    color: #555;
    font-family: 'Pretendard-Light', sans-serif;
    margin-bottom: 40px;
}

span.blue_star {
    color: #0d3669;
}

.flex_input {
    width: 100%;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 20px;
    gap: 10px;
}

.flex_input>p {
    font-size: 16px;
    font-family: 'Pretendard-SemiBold', sans-serif;
    color: #665045;
}

span.small_text {
    display: block;
    font-size: 13px;
    font-family: 'Pretendard-Regular', sans-serif;
}

.contect_content {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.contect_content .radio_box {
    width: 90.5%;
    display: flex;
    align-items: center;
}

.radio_box label {
    display: flex;
    align-items: baseline;
}

.radio_box label p {
    font-size: 16px;
    font-family: 'Pretendard-Light', sans-serif;
    margin: 0 40px 0 7px;
}

.selec_box {
    width: 80%;
    height: 45px;
    border: 1px solid #d7d7d7;
    box-sizing: border-box;
    position: relative;
}

.selec_box select {
    font-size: 16px;
    font-family: 'Noto Sans KR', sans-serif;
}

.selec_box i {
    font-size: 14px;
    color: #aeaeae;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
}

.flex_input>input[type='text'] {
    width: 90.5%;
    height: 45px;
    border: 1px solid #d7d7d7;
    box-sizing: border-box;
    font-size: 16px;
    color: #111;
    font-family: 'Pretendard-Regular', sans-serif;
}

.flex_input>input[type='text']::placeholder {
    font-size: 16px;
    color: #999;
    font-family: 'Pretendard-ExtraLight', sans-serif;
}

.flex_half {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex_half>.flex_input {
    width: 48%;
}

.flex_half>.flex_input>p {
    width: 20%;
}

.flex_half>.flex_input>input[type='text'] {
    width: 100%;
}

.phone_input {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.s5_select_box {
    width: 200px;
    height: 45px;
    border: 1px solid #d7d7d7;
    box-sizing: border-box;
    position: relative;
}

.yyyy::placeholder{
    font-size:16px;
    text-align: right !important;
}

.yyyy_wrap{
    position: relative;

}

.s5_select_box i,
.yyyy_wrap i{
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: #666;
    font-size: 14px;
    font-style:normal;
}

.s5_select_box select {
    font-size: 16px;
    color: #111;
    font-family: 'Pretendard-Light', sans-serif;
}

.phone_input input[type='text'] {
    width: 200px;
    height: 45px;
    border: 1px solid #d7d7d7;
    box-sizing: border-box;
    font-size: 16px;
    color: #111;
    font-family: 'Pretendard-Regular', sans-serif;
}

.flex_input2 {
    align-items: baseline;
}

.flex_input2>textarea {
    width: 100%;
    height: 250px;
    border: 1px solid #d7d7d7;
    box-sizing: border-box;
    font-size: 16px;
    color: #111;
    font-family: 'Pretendard-Regular', sans-serif;

    
}



.flex_input2>textarea:focus,
.flex_input>input[type='text']:focus,
.phone_input input[type='text']:focus{
    border: 1px solid #665045;
}

.input_file {
    width: 80%;
    display: flex;
    align-items: center;
}

.file {
    margin-right: 5px;
}

.file>input[type='file'] {
    display: none;
}

.file label {
    cursor: pointer;
    width: 120px;
    height: 45px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #333;
    font-family: 'Pretendard-Light', sans-serif;
}

.input_file>span {
    font-size: 16px;
    color: #333;
    font-family: 'Pretendard-Light', sans-serif;
    margin-left: 10px;
}

.agree_box {
    width: 100%;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #d7d7d7;
}

.agree_box>p {
    font-size: 20px;
    color: #111;
    font-family: 'Pretendard-Regular', sans-serif;
}

.agree_conbox {
    width: 100%;
    height: 150px;
    border: 1px solid #d7d7d7;
    margin-top: 10px;
    padding: 10px 15px;
    box-sizing: border-box;
    font-size: 16px;
    font-family: 'Pretendard-Light', sans-serif;
    line-height: 25px;
    overflow: auto;
}

.agree_conbox table{
  width: 90%;
  border: 1px solid #d7d7d7;
  border-collapse: collapse;
  text-align: center;
}

.agree_conbox table th{
  background-color: #dae3f3;
  padding: 10px 0;
  border-right: 1px solid #fff;
}

.agree_conbox table td{
  padding: 10px 0;
  border-right: 1px solid #d7d7d7;
}

.agree_conbox table th:last-child,
.agree_conbox table td:last-child{
  border: none;
}

.check_box {
    width: 100%;
    margin-top: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.check_box.on i {
    color: #665045 !important;
}

.check_box i {
    color: #d7d7d7;
    font-size: 24px;
    margin-right: 5px;
    margin-left: 5px;
}

.check_box span {
    font-size: 16px;
    height: 22px;
    color : #454545;
}

.inquiry_btn {
    
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.inquiry_btn input[type='button'] {
    width: 230px;
    height: 60px;
    background-color: #665045;
    color: #fff;
    border: 0;
    font-size: 20px;
    font-family: 'Pretendard-Bold', sans-serif;
}



.d_con img {
    display: block;
    margin-bottom: 10px;
    max-width: 100%;
    height: auto !important;
}

.inquiry_box_wrap{
    padding: 50px;
}



/* mobile */
@media screen and (max-width: 767px) {
    #sub_intro .sub_intro_text{
        height: 200px;
    }

    #sub_intro .sub_intro_text .si_top{
        padding-top: 100px;
    }

    #sub_intro .sub_intro_bg{
        height: 200px;
        background-size: cover;
        background-attachment: initial;
    }

    .sub_route{
        margin-top: 30px;
        margin-bottom: 40px;
    }

    .sub1 .title span {
        margin-top: 10px;
        margin-bottom: 30px;
    }

    .sub_route ul li{
        height: 40px;
    }

    ul.flex1 li .text{
        padding: 0 20px;
    }

    .sub1_flex{
        margin-bottom: 70px;
    }

    .sub1 .line{
        margin-top: 8px;
        margin-bottom: 16px;
    }

    .sub1_2_section .content{
        padding: 30px 0 70px 5%;
    }

    .sub1_3_section ul.flex2 li .text{
        padding: 0 15px;
    }

    .sub1_3_section .flex2 .text_box{
        padding: 15px 0;
    }

    .sub1_3_section .flex2 .circle{
        width: 32px;
        height: 32px;
    }

    .sub1_3_section ul.flex1 li .img{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .sub2 .title p{
        margin-bottom: 10px;
    }

    .line3{
        margin: 20px auto 30px;
    }

    .sub2 .sub2_flex{
        gap: 30px;
        width: 100%;
    }

    .sub2 .content ul li .big{
        margin: 20px 0;
    }

    .content_wrap{
        margin-bottom: 50px;
    }

    .sub3_1_section .content table td,
    .sub3_1_section .content table th{
        padding: 10px 0;
    }

    .sub3_1_section .content table td{
        font-size: 12px;
    }

    .sub3_1_section .content table th{
        font-size: 14px;
    }

    .sub3_1_section .content table{
        margin-top: 30px;
    }

    .sub4_1_section .content{
        padding: 30px 0;
    }

    .inquiry_box_wrap{
        padding: 20px;
    }

    .flex_half{
        align-items: baseline;
        flex-direction: column;
    }

    .sub4_1_section .content .sub_title{
        margin-bottom: 0;
    }

    .flex_half>.flex_input{
        width: 100%;
    }

    .phone_input input[type='text'],
    .s5_select_box{
        width: 100px;
    }

    .inquiry_btn input[type='button']{
        width: 100px;
        height: 40px;
        font-size: 14px;
    }

    .inquiry_btn{
        margin-top: 0;
    }

    .flex_input2>textarea{
        margin-bottom: 20px;
    }

    .check_box{
        margin-top: 0px;
    }

}

/* tablet */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .phone_input input[type='text']{
        width: 90px;
    }

    .s5_select_box{
        width: 90px;
    }

    #sub_intro .sub_intro_bg{
        height: 300px;
        background-size: cover;
        background-attachment: initial;
    }

    .sub2 .sub2_flex{
        gap: 90px;
        width: 100%;
    }

    #sub_intro .sub_intro_text{
        height: 300px;
    }

    #sub_intro .sub_intro_text .si_top{
        padding-top: 150px;
    }
}