@charset "utf-8";
/* common */
:root {
    --sub1-color: #22213a;
}

#sub_intro {
    width: 100%;
    height: 300px;
    color: #fff;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;

    margin-top: 100px;
}

#sub_content > ul{
    width:100%;
    height:70px;

    display: flex;
    justify-content: center;
}

#sub_content > ul li{
    width: 280px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
}

#sub_content > ul li.on{
    font-family: 'Pretendard-Bold', sans-serif;
    border-bottom: 2px solid var(--red);
    color: var(--red);
}

#sub_content .route{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height:80px;
    color: rgba(130, 130, 130, 1);
}

#sub_content .route span{
    padding: 0 15px;
}

/* sub1 */
.sub1_intro {
    background-image: url("../images/sub_intro1.jpg");
}

/* sub3 */
.sub3_intro {
    background-image: url("../images/sub_intro3.jpg");
}


.sub1_1_section .history_wrap .right ul{
    display: flex;
    flex-direction: column;
}

.sub1_1_section .history_wrap .right ul li{
    border-bottom: 1px solid rgba(217, 217, 217, 1);
    padding: 60px 0;
}

.sub1_1_section .history_wrap .right ul li span{
    color: var(--red);
    font-family: 'Pretendard-Bold', sans-serif;
}

.sub1_1_section .history_wrap .right ul li b{
    font-family: 'Pretendard-Bold', sans-serif;
}

.sub1_1_section .history_wrap .right ul li:first-child{
    padding: 0 0 60px;
}

.sub1_1_section .history_wrap .right ul li:last-child{
    border-bottom: none;
}

.sub1_2_section{
    margin-bottom: 180px;
}

.sub1_2_section .map_wrap{
    padding: 70px 0;

    border-top: 1px solid rgba(204, 204, 204, 1);
    border-bottom: 1px solid rgba(204, 204, 204, 1);
}

.sub1_2_section .map_wrap .text{
    margin-top: 200px;
    color : rgba(81, 81, 81, 1);
}

.sub1_2_section .map_wrap .text li{
    margin-bottom: 15px;    
}

.sub1_2_section .map_wrap .left{
    width: 500px;
}

.sub1_2_section .map_wrap .text li span{
    padding: 0 20px;
}


.sub3_1_section{
    margin-top: 100px;
}

.sub3_1_section .contact_wrap{
    width: 100%;

    display: flex;
    flex-direction: column;
    gap: 40px;
}

.sub3_1_section .contact_wrap .type1.flex_box{
    gap: 40px;
}

.sub3_1_section .contact_wrap .type1 .box{
    width: 50%;

}

.sub3_1_section .contact_wrap .type2{
    width: 100%;

}

.sub3_1_section .contact_wrap p{
    margin-bottom: 15px;
}

.sub3_1_section .btn{
    display: flex;
    align-items: center;
    justify-content: center;

    width: 160px;
    height: 50px;

    border-radius: 64px;
    color: white;
    background-color: var(--red);
    margin: 70px auto 0;

    cursor: pointer;
}

.sub3_1_section .contact_wrap input,
.sub3_1_section textarea{
    width: 100%;
    padding: 18px 30px;

    border-radius: 10px;
    border: 1px solid rgba(204, 204, 204, 1);
}

.sub3_1_section .contact_wrap .box input{
    
}

.sub3_1_section textarea{
    height: 150px;
}


















/* 페이징 */
.page_btn{
    margin-top: 60px;
}

.page_btn a{
    width: 24px;
    height: 24px;
    border-radius: 64px;
    margin: 0 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: rgba(196, 196, 196, 1);
}

.page_btn i{
    color: rgba(196, 196, 196, 1);
    margin: 0 15px;
}

.page_btn a.page_num{
    border:none;
    color: white;
    background-color: black;
}





/* 라디오 버튼 크기 및 스타일 커스텀 */
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;
}

/* 체크됐을 때 내부 동그라미 스타일 */
input[type="radio"]:checked {
    border-color: #302d90; /* 체크됐을 때 테두리 색상 */
}

input[type="radio"]:checked::after {
    content: '';
    width: 10px; /* 내부 동그라미 크기 */
    height: 10px; /* 내부 동그라미 크기 */
    background: #302d90; /* 내부 동그라미 색상 */
    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)
}

.sub2_1_section .filter_btn{
    display: none;
}

.sub2_1_section .ul_list ul li .img_wrap img{
    height: 375px;
}


/* mobile */
@media screen and (max-width: 767px) {

    #sub_intro{
        margin-top: 60px;
    }

    #sub_intro.sub1_intro,
    #sub_intro.sub3_intro{
        padding-top: 60px;
    }

    #sub_intro .route,
    #sub_intro .route .center1 {
        padding: 20px 0;
    }

    #sub_intro .route span {
        padding: 0 8px;
    }

    #sub_content {
        padding: 0;
    }

    #sub_content > ul {
        height: 50px;
    }

    #sub_content > ul li {
        height: 50px;
    }

    #sub_content > ul li{
        width: 35%;
    }

    #sub_content .route{
        height: 50px;
    }

    .sub1_1_section .history_wrap .right ul li{
        padding: 30px 0;
    }

    .sub1_1_section .history_wrap .right ul li:first-child{
        padding: 0 0 30px;
    }

    .sub1_2_section .map_wrap {
        padding: 30px 0;
    }

    .sub1_2_section .map_wrap .left {
        width: 100%;
    }

    .sub1_2_section .map_wrap{
        flex-direction: column;
        gap: 20px;
    }

    .sub1_2_section .map_wrap .text {
        margin-top: 30px;
    }

    .sub1_2_section .map_wrap .text li {
        margin-bottom: 8px;
    }

    .sub1_2_section .root_daum_roughmap {
        width: 100% !important;
    }

    .sub1_2_section {
        margin-bottom: 70px;
    }

    .sub3_1_section {
        margin-top: 30px;
    }

    .sub3_1_section .contact_wrap .type1.flex_box {
        gap: 10px;
    }

    .sub3_1_section .contact_wrap p {
        margin-bottom: 8px;
    }

    #sub_intro.sub1_intro,
    #sub_intro.sub3_intro {
        padding-top: 0px;
    }

    .sub3_1_section {
        margin-top: 10px;
    }

    .sub3_1_section .contact_wrap{
        gap: 15px;
    }

    .sub3_1_section textarea {
        height: 100px;
    }

    .sub3_1_section .btn{
        width: 120px;
        height: 44px;

        margin: 30px auto 0;
    }

    .sub3_1_section .contact_wrap input, .sub3_1_section textarea {
        padding: 10px;
    }

    footer .link{
        text-align: right;
    }

    footer .link img{
        width: 80%;
    }



}

/* tablet */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .sub1_2_section .map_wrap {
        flex-direction: column;
        padding: 30px 0;
        gap: 20px;
    }

    .sub1_2_section .map_wrap .text {
        margin-top: 30px;
    }

    .sub1_2_section {
        margin-bottom: 50px;
    }

    #sub_intro{
        margin-top: 60px;
    }

    .sub3_1_section {
        margin-top: 30px;
    }

    .sub3_1_section .contact_wrap{
        gap: 20px;
    }

    .sub3_1_section .contact_wrap input,
    .sub3_1_section textarea {
        padding: 15px;
    }

    .sub3_1_section .btn{
        margin: 40px auto 0;
    }











}

