/* 서브 네브 */
.sub-nav{
    border-bottom: 1px solid #eee;
    width: 100%;
}
.sub-nav .container{
    display: flex;
    align-items: center;
}
.sub-nav .home-btn{
    width: 50px;
    text-align: center;
    border-left: 1px solid #ddd;
    padding: 20px 10px;
    box-sizing: border-box;
}
.sub-nav .sub{
    border-left: 1px solid #ddd;
    width: 200px;
    padding: 20px 10px;
    box-sizing: border-box;
}
.sub-nav .sub .page{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sub-nav .sub2{

    background-color: var(--point-color1);
}
.sub-nav .sub2 .page{
    color: white;
}
.sub-nav .sub .page-list{
    position: absolute;
    top: 100%;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    z-index: 10;
    background-color: white;
    box-shadow: 0px 0px 10px -5px rgba(0,0,0,0.5);
}
.sub-nav .sub .page-list span{
    border-bottom: 1px solid #ddd;
    padding: 10px;
}

/* 1 */
.section1{
    width: 100%;
    height: 600px;
}
.section1 img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.section1 .bg{
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    position: absolute;
    top: 0; left:0;
}
.section1 .text-box{
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    color: white;
}
.section1 .text-box h5{
    color: rgba(255,255,255,0.6)
}

/* 2 */
.section2{
    top: 100px;
}
.section2 .section-title{
    text-align: center;
}
.section2 .btn-group{
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
    width: 100%;
}
.section2 .btn{
    width: 100%;
}

/* 3 */
.section3{
    transform: translateY(50%);
    z-index: 5;
}
.section3 .container{
    background-image: url(img/sub4-1.jpg);
    background-size: cover;
    background-position: center;
    height: 420px;
}
.section3 .container h2{
    position: absolute;
    top: 50%; left: 0px;
    padding-left: 50px;
    padding-right: 50px;
    transform: translateY(-50%);
    color: white;
    word-break: keep-all;
}

/* 4 */
.section4{
    background-color: #eee;
    padding-top:300px;
    padding-bottom: 200px;
    height: 400px;
}
.section4 .container{
    display: flex;
}
.section4 .section-title{
    width: 100%;
    flex:3;
}
.section4 h2::before{
    content:'';
    display: block;
    width: 30px;
    height:3px;
    background-color: var(--point-color1);
    margin-bottom: 20px;
}
.section4 .news{
    flex:7;
}
.section4 .news .img-group{
    margin-bottom: 30px;
}
.section4 .news .img-group img{
    width: 100%;
    height: 300px;
    object-fit: cover;
}
.section4 .news .text-box p{
    color: #666;
    margin-top: 10px;
}
@media(max-width: 1350px){
    .section4 .container{
        display: block;
    }
    .section4 .news .img-group img{height: 250px;}
}

/* 5 */
.section5{
    padding-top: 50px;
    padding-bottom: 50px;

}
.section5 .container{
    display: flex;
}
.section5 .section-title{
    width: 100%;
    flex:3;
}
.section5 h2::before{
    content:'';
    display: block;
    width: 30px;
    height:3px;
    background-color: var(--point-color1);
    margin-bottom: 20px;
}
.section5 .news{
    flex:7;
}
.section5 .news .img-group{
    margin-bottom: 30px;
}
.section5 .news .img-group img{
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position:50% 80%;
}
.section5 .news .text-box p{
    color: #666;
    margin-top: 10px;
}
@media(max-width: 1350px){
    .section5 .container{
        display: block;
    }
    .section5 .news .img-group img{height: 250px;}
}

/* 6 */
.section6{
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #eee;
}
.section6 .container{
    display: flex;
}
.section6 .section-title{
    width: 100%;
    flex:3;
}
.section6 h2::before{
    content:'';
    display: block;
    width: 30px;
    height:3px;
    background-color: var(--point-color1);
    margin-bottom: 20px;
}
.section6 .news{
    flex:7;
}
.section6 .news .img-group{
    margin-bottom: 30px;
}
.section6 .news .img-group img{
    width: 100%;
    height: 300px;
    object-fit: cover;
}
.section6 .news .text-box p{
    color: #666;
    margin-top: 10px;
}
@media(max-width: 1350px){
    .section6 .container{
        display: block;
    }
    .section6 .news .img-group img{height: 250px;}

}

/* 7 */
.section7{
    padding-top: 50px;
    padding-bottom: 50px;

}
.section7 .container{
    display: flex;
}
.section7 .section-title{
    width: 100%;
    flex:3;
}
.section7 h2::before{
    content:'';
    display: block;
    width: 30px;
    height:3px;
    background-color: var(--point-color1);
    margin-bottom: 20px;
}
.section7 .news{
    flex:7;
}
.section7 .news .img-group{
    margin-bottom: 30px;
}
.section7 .news .img-group img{
    width: 100%;
    height: 300px;
    object-fit: cover;
}
.section7 .news .text-box p{
    color: #666;
    margin-top: 10px;
}
@media(max-width: 1350px){
    .section7 .container{
        display: block;
    }
    .section7 .news .img-group img{height: 250px;}
    .section-title{
        margin-bottom: 20px;
    }
}