/* main */
.main {
    padding-top: 100px;
    position: relative;
    width: 100%;
    height: 837px;
    overflow: hidden;
}
.main::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(../img/main_img1.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform-origin: center;
    animation: zoomInOut 6s ease-in-out infinite;
    z-index: -1;
}
@keyframes zoomInOut {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
.main .center1{
    height: 100%;
}
.main_title{
    gap: 35px 0;
}
.main_title .line{
    width: 27px;
    height: 2px;
    background-color: #ffffff;
}

/* main_section1 */
.main_section1{
    padding: 180px 0 130px;
    background-color: #f9fff5;
}
.ms1_con {
    margin-top: 70px;
}
.ms1_con li{
    width: 24%;
    padding: 60px 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
}
.ms1_con .txt_box{
    padding: 0 2vw;
    gap: 10vw 0;
}
.ms1_con .txt_box .txts{
    gap: .3vw 0;
}
.ms1_con .list1{
    background-image: url(../img/ms1_bg1.webp);
}
.ms1_con .list2{
    background-image: url(../img/ms1_bg2.webp);
}
.ms1_con .list3{
    background-image: url(../img/ms1_bg3.webp);
}
.ms1_con .list4{
    background-image: url(../img/ms1_bg4.webp);
}

/* main_section2 */
.main_section2{
    padding: 100px 0 155px;
    background-color: #f9fff5;
}
.ms2_con{
    margin-top: 60px;
}
.ms2_con .tabs{
    gap: 0 15px;
}
.ms2_con .tab-link{
    padding: 17px 0;
    width: 20%;
    border: 1px solid #cccccc;
    box-sizing: border-box;
    border-radius: 10px;
    color: #9e9e9e;
}
.ms2_con .tab-link.current{
    background-color: #37be00;
    color: #ffffff;
}
.ms2_con .tab-content{
    display: none;
}
.ms2_con .tab-content.current{
    display: block;
    margin-top: 50px;
}
.ms2_con .empty_box{
    width: 60%;
}
.ms2_con .tab_box{
    height: 549px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
}
.ms2_con  .tab-1 .tab_box{
    background-image: url(../img/ms2_bg1.webp);
}
.ms2_con  .tab-2 .tab_box{
    background-image: url(../img/ms2_bg2.webp);
}
.ms2_con .tab-3 .tab_box{
    background-image: url(../img/ms2_bg3.webp);
}
.ms2_con .tab-4 .tab_box{
    background-image: url(../img/ms2_bg4.webp);
    height: 442px;
    background-size: contain;
}
.ms2_tab_cont{
    width: 40%;
    gap: 8vw 0;
}
.ms2_tab_cont .line{
    background-color: #ffffff;
    width: 32px;
    height: 2px;
    margin: 25px 0;
}

/* main_section3 */
.main_section3{
    padding: 140px 0 180px;
    background-color: #ecf7e6;
}
.ms3_con{
    margin-top: 75px;
}
.ms3_con li{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
    width: 32%;
}
.ms3_con .list1{
    height: 609px;
    background-image: url(../img/ms3_bg1.webp); 
}
.ms3_con .list2{
    height: 709px;
    background-image: url(../img/ms3_bg2.webp); 
}
.ms3_con .list3{
    height: 609px;
    background-image: url(../img/ms3_bg3.webp); 
}
.ms3_con .list1 .empty_box{
    height: 17vw;
}
.ms3_con .list2 .empty_box{
    height: 23vw;
}
.ms3_con .list3 .empty_box{
    height: 18vw;
}
.ms3_con .txt_box{
    padding: 0 2vw;
    gap: 2vw 0;
}

/* mobile */
@media screen and (max-width: 767px){ 
    /* main */
    .main {
        padding-top: 80px;
        height: 770px;
    }
    .main_title {
        gap: 15px 0;
    }

    /* main_section1 */
    .main_section1{
        padding: 100px 0;
    }
    .ms1_con{
        margin-top: 40px;
        gap: 30px 0;
    }
    .ms1_con li{
        width: 48%;
        padding: 30px 0;
    }
    .ms1_con .txt_box{
        gap: 5vw 0;
    }
    .ms1_con .txt_box .txts {
        gap: 1vw 0;
    }

    /* main_section2 */
    .main_section2 {
        padding: 50px 0 100px
    }
    .ms2_con {
        margin-top: 40px;
    }
    .ms2_con .tab-link{
        width: 24%;
        padding: 12px 0;
    }
    .ms2_con .empty_box{
        display: none;
    }
    .ms2_con .tab_box {
        height: 300px;
        background-position: right center;
    }
    .ms2_con .tab-4 .tab_box{
        height: 200px;
        background-position: unset;

    }
    .ms2_tab_cont{
        gap: 4vw 0;
        width: unset;
        padding-left: 2vw;
    }

    /* main_section3 */
    .main_section3{
        padding: 100px 0;
    }
    .ms3_con{
        margin-top: 40px;
        flex-direction: column;
        gap: 30px 0;
    }
    .ms3_con li{
        width: 100%;
    }
    .ms3_con .list1 {
        height: 430px;
    }
    .ms3_con .list1 .empty_box {
        height: 60vw;
    }
    .ms3_con .list2 {
        height: 390px;
    }
    .ms3_con .list2 .empty_box {
        height: 60vw;
    }
    .ms3_con .list3 {
        height: 320px;
    }
    .ms3_con .list3 .empty_box {
        height: 45vw;
    }
}

/* tablet */
@media screen and (min-width: 768px) and (max-width: 1024px){
    /* main */
     .main_title {
        gap: 20px 0;
    }

    /* main_section1 */
    .main_section1{
        padding: 120px 0;
    }
    .ms1_con{
        margin-top: 45px;
        gap: 35px 0;
    }
    .ms1_con li{
        width: 48%;
        padding: 35px 0;
    }
    .ms1_con .txt_box{
        gap: 7vw 0;
    }
    .ms1_con .txt_box .txts {
        gap: 3vw 0;
    }

    /* main_section2 */
    .main_section2 {
        padding: 60px 0 120px
    }
    .ms2_con {
        margin-top: 45px;
    }
    .ms2_con .empty_box{
        width: 40%;
    }
    .ms2_con .tab-link{
        width: 24%;
        padding: 16px 0;
    }
    .ms2_con .tab_box {
        background-position: right;
    }
    .ms2_tab_cont{
        width: 60%;
        gap: 6vw 0;
    }

    /* main_section3 */
    .main_section3{
        padding: 120px 0;
    }
    .ms3_con{
        margin-top: 45px;
    }
    .ms3_con li{
        height: unset !important;
    }
    .ms3_con .list1 .empty_box {
        height: 30vw;
    }
    .ms3_con .list2 .empty_box {
        height: 30vw;
    }
    .ms3_con .list3 .empty_box {
        height: 30vw;
    }


} 