@charset "utf-8";
/* common */
:root {
    /* --sub1-color: #22213a;
    --sub2-color: #22213a; */
}

#sub_intro {
    width: 100%;
    height: 330px;
    color: #fff;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;

    margin-top: 90px;

    display: flex;
    align-items: center;
    justify-content: center;
    
}

.sub{
    padding: 110px 0;   
}

.sub .small_title{
    color : #777777;
}


/* sub_route */
.route_fix{
    width: 100%;
    height: 53px;
    background-color: white;
    margin-top: -32px;
    position: relative;
    top: 0;
    z-index: 5;

    border: 1px solid #cccccc;

    display: flex;
    align-items: center;
}

.route_fix .sub_center{
    height: 100%;
    display: flex;
}

.home{
    width: 60px;
    /* height: 100%; */
    height: 53px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-right: 1px solid #ccc;
}

.sub_menubox{
    width: 230px;
    height: 100%;
    position: relative;
    box-sizing: border-box;
}

.menu_inner{
    width: 100%;
    /* height: 100%; */
    height: 53px;
    border-right: 1px solid #ccc;
    padding: 0 20px 0 30px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.menu_title{
    color: #111;
}

.menu_inner i{
    color: #fff;
    font-size: 18px;
}

.sub_menubox ul{
    width: calc(100% + 1px);
    position: absolute;
    top: 53px;
    left: -1px;
    background-color: white;
    box-sizing: border-box;
    z-index: 9;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s, visibility .5s;

    border: 1px solid #ccc;
}

.sub_menubox.on ul{
    opacity: 1;
    visibility: visible;
}

.sub_menubox ul li{
    font-size: 14px;
    color: #777777;
    font-family: 'Pretendard-Regular', sans-serif;
    cursor: pointer;

    border-bottom: 1px solid #ccc;
    padding: 16px 22px;
}


.sub_menubox ul li:last-child{
    border-bottom: none;
}

.sub_menubox ul li:hover{
    font-family: 'Pretendard-Bold', sans-serif;
}

.sub_menubox .menu_title.on{
    font-family: 'Pretendard-Bold', sans-serif;
    color : var(--orange);
}



/* sub1 */
.sub1_intro {
    background-image: url("../images/sub_intro1.jpg");
}

.sub2_intro {
    background-image: url("../images/sub_intro2.jpg");
}

.sub3_intro {
    background-image: url("../images/sub_intro3.jpg");
}

.sub4_intro {
    background-image: url("../images/sub_intro4.jpg");
}

.sub5_intro {
    background-image: url("../images/sub_intro5.jpg");
}

.sub6_intro {
    background-image: url("../images/sub_intro6.jpg");
}

.sub7_intro {
    background-image: url("../images/sub_intro7.jpg");
}

#sub_intro .sub_intro_text{
    /* position:relative;    */
}

#sub_intro .sub_intro_text .si_top{
    
}

.sub1_section .section1 .dual{
    gap:25px;
}

.sub1_section .table_area table{
    border-collapse: collapse;
    width: 100%;
}

.sub1_section .table_area table tr td{
    border: 1px solid #ccc;
}

.sub1_section .table_area table tr td:nth-child(1){
    background-color: #b5a08a;
    color: white;
    font-size: 20px;
    font-family: 'Pretendard-Medium', sans-serif;
    text-align: center;
    /* padding: 20px 30px; */
    width: 150px;
    height: 55px;
    box-sizing: border-box;
}

.sub1_section .table_area table tr td:nth-child(1) p{
    text-align: justify;
    margin: 0 30px;
    transform: translateY(25%);
}


.sub1_section .table_area table tr td:nth-child(1) p:after{
    content: '';
    display: inline-block;
    width: 100%;
}

.sub1_section .table_area table tr td:nth-child(2){
    padding: 20px 30px;
    color: #111;
    font-size: 18px;
    font-family: 'Pretendard-Light', sans-serif;
}


.sub4_2_section .red_btn{
    background-color: #ea0000;
    border-radius: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*width: 300px;*/
    /*height: 60px;*/

    width: 560px;
    height: 90px;

    margin: 0 auto;
}

.sub5_section .section1 ul{
    display: flex;
    flex-wrap: wrap;
    gap: 60px 20px;

    justify-content: space-between;
}

.sub5_section .section1 ul li{
    width: 360px;
    text-align: center;
}

.sub5_section .section1 ul li .title{
    text-align: center;
}

.sub5_section .img_wrap{
    width: 100%;
    height: 240px;

    margin-bottom: 30px;
}

.sub5_section .img_wrap img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.page_btn{
    margin-top: 80px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #222;
    font-family: 'Pretendard-Medium', sans-serif;
}

.page_btn a{
    width:35px;
    height:35px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.page_btn .page_num{
    color : var(--orange);

    position: relative;

}


.page_btn .page_num::after {
    content: "";
    position: absolute;
    left: 52%;
    bottom: 7px;
    height: 1px;
    width: 10px;
    transform: translate(-50%, 0%);
    background: var(--orange);
}

.page_btn .arrow_btn{
    font-size: 24px;
    /* transform: translateY(2px); */
}


.input_form .input_wrap{
    border-bottom: 1px solid #111;
    padding: 20px 0;
    display: flex;

    width: 48%;
    align-items: center;
}

.input_form .input_wrap2,
.input_form .input_wrap2 textarea{
    width: 100%;
}

.input_form .input_wrap .input_title{
    width: 150px; 
    min-width: 150px;
}

.input_form .input_wrap label{
    font-size: 20px;
    cursor: pointer;
}

.input_form .input_wrap input[type="text"],
.input_form textarea{
    font-family: 'Pretendard-Regular', sans-serif;
    font-size: 20px;

    border-radius: 4px;

    width: 100%;
    padding : 16px 20px;    
}

.input_form .input_wrap input[type="text"],
.input_form textarea{
    /* border:none; */
    border: 1px solid white;
    transition: 0.2s;
}

.input_form .input_wrap input[type="text"]::placeholder,
.input_form textarea::placeholder{
    color: #777777;
    font-size: 20px;
}

.input_form .input_wrap input[type="text"]:focus,
.input_form textarea:focus{
    border: 1px solid #111;
    
}

.input_form .input_wrap .input_title span{
    color :var(--orange);
}

.input_submit{
    border: 1px solid black;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 140px;
    height: 55px;
    margin: 0 auto;
}




.input_form .input_wrap2{
    align-items: baseline;
}

.input_form textarea{
    height: 300px;
}


.sub7_section .section4{
    padding: 0;
}

.sub7_section .section4 .center2{
    align-items: flex-end;
}

.sub7_section .section4 .text_area{
    padding-left: 60px;
}



/* 라디오 버튼 크기 및 스타일 커스텀 */
input[type="radio"] {
    appearance: none; /* 기본 스타일 제거 */
    -webkit-appearance: none;
    width: 12px;
    height: 22px;
    border: 1px solid #ddd; /* 테두리 색상 옅게 */
    border-radius: 50%; /* 동그라미 모양 */
    margin: 0;
    cursor: pointer;
    position: relative;    

    margin-right: 10px;
    transform: translateY(3px);
}



/* 체크됐을 때 내부 동그라미 스타일 */
input[type="radio"]:checked {
    border-color: #111; /* 체크됐을 때 테두리 색상 */
}

input[type="radio"]:checked::after {
    content: '';
    width: 10px; /* 내부 동그라미 크기 */
    height: 10px; /* 내부 동그라미 크기 */
    background: #111; /* 내부 동그라미 색상 */
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* 커스텀 select  */
.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
}

.custom-select {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid #d7d7d7;
}

.custom-select_trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #3b3b3b;
    height: 3vw;
    line-height: 0px;
    background: #ffffff;
    cursor: pointer;
    padding: 0 0.5vw;
}

.custom-options {
    width: 100.1%;
    position: absolute;
    display: block;
    top: 100%;
    left: -1px;
    right: 0;
    border: 1px solid #d7d7d7;
    border-top: 0;
    background: #fff;
    transition: all 0.5s;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 2;
}

.custom-select.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.custom-option {
    position: relative;
    display: block;
    padding: 0 0.5vw;
    line-height: 57px;
    cursor: pointer;
    transition: all 0.5s;
}

.custom-option:hover {
    cursor: pointer;
    background-color: #f6f6f6;
}

.custom-option.selected {
    color: #ffffff;
    background-color: var(--main-color)
}



/* mobile */
@media screen and (max-width: 767px) {

    .sub4_2_section .red_btn{
        width: 300px;
        height: 60px;
    }

    #sub_intro{
        margin-top: 60px;
        height: 250px;
    }

    .sub{
        padding: 50px 0 70px;
    }

    /*.sub1_section img{*/
    .sub img{
        width: 100%;
    }

    .sub1_section .section1 .dual{
        flex-direction: column;
    }

    .sub_menubox{
        width: 150px;
    }

    .sub1_section .table_area table tr td:nth-child(1){
        font-size: 16px;
        width: 130px;
    }

    .sub1_section .table_area table tr td:nth-child(2){
        font-size: 14px;
        padding: 10px 20px;
    }

    .sub1_section .table_area table tr td:nth-child(1) p{
        margin: 0 20px;
    }

    .sub_menubox ul li{
        font-size: 12px;
    }

    .sub_menubox .menu_title.on,
    .sub_menubox .menu_title{
        font-size: 12px;
    }

    .sub5_section .img_wrap{
        width: 100%;
        height: 200px;
        margin-bottom: 20px;
    }

    .sub5_section .section1 ul{
        gap: 30px 0px;
        width: 100%;
    }

    .sub5_section .section1 ul li {
        width: 100%;
    }

    .page_btn{
        margin-top: 50px;
    }

    .input_form .input_wrapper{
        flex-direction: column;
    }

    .input_form .input_wrap .input_title{
        width: 80px;
        min-width: 80px;
    }

    .input_form .input_wrap{
        width: 100%;
        padding: 10px 0;
    }

    .input_form .input_wrap input[type="text"]::placeholder,
    .input_form textarea::placeholder{
        font-size: 13px;
    }

    .input_form .input_wrap input[type="text"], .input_form textarea {
        font-size: 13px;
        padding: 8px;
    }

    .input_form .input_wrap label{
        font-size: 13px;
    }

    .input_form .radio_wrap{
        padding: 6px 10px;
    }

    input[type="radio"] {
        width: 16px;
        height: 16px;
        padding: 0 7px;
    }

    .input_form .input_wrap2 textarea{
        height: 200px;
    }

    .input_submit{
        width: 120px;
        height: 40px;
    }

    .sub7_section .section4 .center2{
        flex-direction: column;
        width:100%;
    }

    .sub7_section .section4 .text_area{
        padding-left: 0;
    }

}
/* tablet */
@media screen and (min-width: 768px) and (max-width: 1024px) {

    #sub_intro{
        margin-top: 60px;
        height: 250px;
    }

    .sub{
        padding: 50px 0 70px;
    }

    /*.sub1_section img{*/
    .sub img{
        width: 100%;
    }

    .sub1_section .section1 .dual{
        flex-direction: column;
    }

    .sub_menubox{
        width: 150px;
    }

    .sub1_section .table_area table tr td:nth-child(1){
        font-size: 16px;
        width: 130px;
    }

    .sub1_section .table_area table tr td:nth-child(2){
        font-size: 14px;
        padding: 10px 20px;
    }

    .sub1_section .table_area table tr td:nth-child(1) p{
        margin: 0 20px;
    }

    .sub_menubox ul li{
        font-size: 12px;
    }

    .sub_menubox .menu_title.on,
    .sub_menubox .menu_title{
        font-size: 12px;
    }

    .sub5_section .img_wrap{
        width: 100%;
        height: 200px;
        margin-bottom: 20px;
    }

    .sub5_section .section1 ul{
        gap: 20px 0px;
        width: 100%;
        justify-content: space-between;
    }

    .sub5_section .section1 ul li {
        width: 48%;
    }

    .page_btn{
        margin-top: 50px;
    }

    .input_form .input_wrapper{
        flex-direction: column;
    }

    .input_form .input_wrap .input_title{
        width: 80px;
        min-width: 80px;
    }

    .input_form .input_wrap{
        width: 100%;
        padding: 10px 0;
    }

    .input_form .input_wrap input[type="text"]::placeholder,
    .input_form textarea::placeholder{
        font-size: 13px;
    }

    .input_form .input_wrap input[type="text"], .input_form textarea {
        font-size: 13px;
        padding: 8px;
    }

    .input_form .input_wrap label{
        font-size: 13px;
    }

    .input_form .radio_wrap{
        padding: 6px 10px;
    }

    input[type="radio"] {
        width: 16px;
        height: 16px;
        padding: 0 7px;
    }

    .input_form .input_wrap2 textarea{
        height: 200px;
    }

    .input_submit{
        width: 120px;
        height: 40px;
    }

    .sub7_section .section4 .center2{
        flex-direction: column;
        width:100%;
    }

    .sub7_section .section4 .text_area{
        padding-left: 0;
    }
}

