/* intro1_wrap 시작 */


.main1_wrap {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    max-width: 1100px;
    margin: 180px auto 100px;
    gap: 100px;
}

.main1_wrap .main1_tit {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: calc(56% - 0px);
    gap: 20px;
}

.main1_wrap .main1_tit h2 {
    color: var(--black-text);
    font-size: 34px;
    font-weight: 400;
    line-height: 1.3;
    padding-right: 10px;
}

.main1_wrap .main1_tit h2 span {
    font-weight: 600;
    background: linear-gradient(transparent 60%, #dbf0ff 60%);
}


.main1_wrap .main1_tit h1 {
    font-size: var(--main-title2);
    line-height: 1.2;
}

.main1_wrap .main1_tit h1 span {
    color: var(--main-color);
}

.main1_wrap .main1_tit p {
    color: var(--black-text);
    font-size: var(--sub-title);
    line-height: 1.3;    
}

.main1_wrap .main1_tit p span {
    font-weight: 700;
}

.main1_wrap .main1_tit a {
    background: var(--bg5);
    color: var(--white-text);
    font-size: 24px;
    display: inline-flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    font-weight: 500;
    gap: 10px;
    border-radius: 500px;
    padding: 15px 50px;
    margin-top: 40px;
    z-index: 9;
}

.main1_wrap .main1_tit a img {
    max-width: 30px;
}

.main1_wrap .main1_txt {
    width: calc(44% - 0px);
}

@media (max-width: 1299px) {
    .main1_wrap .main1_tit a {
        width: 85% !important;
    }
}

@media (max-width: 999px) {
    .main1_wrap {
        width: 92%;
        gap: 50px;
    }

    .main1_wrap .main1_tit h1 {
        font-size: 42px;
    }

    .main1_wrap .main1_tit p {
        font-size: 20px;
    }
    
    .main1_wrap .main1_tit a {
        font-size: 22px;
        padding: 20px;
        width: 82% !important;
    }
}

@media (max-width: 767px) {
    .main1_wrap {
        flex-wrap: wrap;
        margin: 160px auto;
    }

    .main1_wrap .main1_tit,
    .main1_wrap .main1_txt {
        width: 100%;
    }

    .main1_wrap .main1_tit h2 {
        font-size: 1.8rem;
    }

    .main1_wrap .main1_tit h1 {
        font-size: 2.5rem;
    }
    .main1_wrap .main1_tit p {
        font-size: 1.2rem;
    }

    .main1_wrap .main1_tit a {
        font-size: 1.4rem;
        width: 77% !important;
        max-width: 100%;
    }
}

@media (max-width: 575px) {
    .main1_wrap {
        flex-wrap: wrap;
        margin: 130px auto;
    }

    .main1_wrap .main1_tit h2 {
        font-size: 1.3rem;
    }

    .main1_wrap .main1_tit h1 {
        font-size: 2rem;
    }
    .main1_wrap .main1_tit p {
        font-size: 1rem;
    }

    .main1_wrap .main1_tit a {
        font-size: 1.1rem;
        width: 72% !important;
    }
}

@media (max-width: 475px) {
    .main1_wrap .main1_tit a {
        width: 68% !important;
    }
}

@media (max-width: 375px) {
    .main1_wrap .main1_tit a {
        width: 65% !important;
    }
}

@media (max-width: 350px) {
    .main1_wrap .main1_tit a {
        width: 62% !important;
    }
}

@media (max-width: 320px) {
    .main1_wrap .main1_tit a {
        width: 60% !important;
    }
}

/* main1_wrap 끝 */


/* main2_wrap 시작 */


.main2_wrap {
    background: var(--deepblue-color50);
    padding: 100px 30px 0;
    text-align: center;
    background-image: url(../img/pages/index/main2_bg.png);
    background-repeat: no-repeat;
    /* background-size: cover; */
    height: 800px;
    background-position: center 350px;
}


.main2_wrap .main2_tit h3 {
    font-size: var(--main-title);
    line-height: 1.2;
    
}

.main2_wrap .main2_tit h4 {
    font-size: var(--sub-title);
    font-weight: 300;
    line-height: 1.3;
    margin: 8px 0;
    padding: 0 33vw;
}

.main2_wrap .main2_tit p {
    font-size: var(--content-text2);
    color: var(--red-text);
}

.main2_wrap .main2_tit h3 span {
    color: var(--deepblue-color500);
}


.main2_wrap .main2_txt {
    position: relative;
    max-width: 500px;
    height: 100%;
    margin: 0 auto;
}

.main2_wrap .main2_txt img {
    position: absolute;
}

.main2_wrap .main2_txt img:first-child {
    left: 0;
    bottom: 150px;
}

.main2_wrap .main2_txt img:last-child {
    right: 0;
    top: 150px;
}

@media (max-width: 999px) {

    .main2_wrap .main2_tit h4  {
        padding: 0 20vw;
    }
}


@media (max-width: 767px) {
    
    .main2_wrap {
        height: 600px;
        background-position: center 250px;
        padding: 70px 30px;
    }

    .main2_wrap .main2_tit h3 {
        font-size: 1.8rem;
        line-height: 1.2;
        
    }

    .main2_wrap .main2_tit h4 {
        font-size: 1.1rem;
        padding: 0;
        margin: 8px 0;
    }

    .main2_wrap .main2_tit p {
        font-size: 1rem;
    }
}


@media (max-width: 575px) {
    .main2_wrap .main2_txt img {
        display: none;
    }

}

@media (max-width: 375px) {
    .main2_wrap {
        height: 700px;
        background-position: center 280px;
    }
}
/* main2_wrap 끝 */
 


/* main3_wrap 시작 */

.main3_wrap {
    padding: 120px 0px 0;
    margin: 0 auto;
    text-align: center;
    max-width: 1100px;
    width: 92%;
}

.main3_wrap .main3_tit h3 {
    font-size: var(--main-title2);
}

.main3_wrap .main3_tit p {
    font-size: var(--sub-title);
    line-height: 1.3;
    margin-top: 10px;
    font-weight: 200;
    padding: 0 14vw;
}

.main3_wrap .main3_txt {
    height: 100%;
    position: relative;
}

/*main3_tab css*/
.main3_tab {

}

.main3_tabnav {
    font-size: 0;
    width: 100%;
    color: var(--gary-background30);
    display: flex;
    align-items: center;
    justify-content: center;
}
.main3_tabnav li {
    padding: 20px;
}


.main3_tabnav li a {
    display: block;
    padding: 15px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    color: var(--gary-text60);
    font-size: 22px;
    transition: 0.3s;    
    border: 2px solid var(--white-text);
}

.main3_tabnav li a:hover {
    background: var(--bg2);
    color: var(--main-color);
}

.main3_tabnav li a.active {
    background: var(--bg2);
    color: var(--main-color);
    border: 2px solid var(--main-color);
    font-weight: 500;
}

.main3_tabcontent {
    padding: 20px 20px 0 20px;
}


.main3_tabcontent > div {
    display: flex;
    flex-wrap: wrap;
}

#main3_tab1 {
    text-align: left;
    align-items: center;
    justify-content: space-between;
}

#main3_tab1 > div:first-child {
    width: calc(50% - 0px);
}

#main3_tab1 > div h4 {
    font-size: var(--main-title2);
    line-height: 1.2;
}

#main3_tab1 > div p {
    font-size: var(--sub-title2);
    margin-top: 10px;
    line-height: 1.4;
    padding-right: 130px;
}

#main3_tab1 > div span {
    color: var(--main-color);
}

#main3_tab1 > div img {
    max-width: 360px;
    width: 100%;
}


#main3_tab2 {
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

#main3_tab2 > div:first-child {
    /* width: calc(50% - 0px); */
}

#main3_tab2 > div h4 {
    font-size: var(--main-title2);
    line-height: 1.2;
}

#main3_tab2 > div > p {
    font-size: var(--sub-title2);
    margin-top: 10px;
    line-height: 1.4;
    width: 60%;
    margin: 10px auto;
}

#main3_tab2 > div span {
    color: var(--main-color);
}

#main3_tab2 > div {
    border-radius: 25px;
    width: 100%;
}

/* 착한임대인 css */

#main3_tab2 .kind_txt {
    display: flex;
    align-items: center;
    background: var(--main-color);
    color: var(--white-text);
    text-align: left;
    justify-content: space-between;
    gap: 30px;
    padding: 40px 50px;
}

#main3_tab2 .kind_txt > div:first-child {
    max-width: 350px;
    width: 100%;
}

#main3_tab2 .kind_txt > div h5 {
    font-size: 32px;
}

#main3_tab2 .kind_txt > div p {
    font-size: 19px;
    line-height: 1.4;
    font-weight: 300;
    margin-top: 15px;
}

#main3_tab2 .kind_txt > div p span {
    color: var(--white-text);
    font-weight: bold;
}

#main3_tab2 .kind_txt img {
    max-width: 480px;
    width: 100%;
    margin-bottom: -47px;
}

/* 연세살이 css */
#main3_tab2 .yonsei_txt {
    width: calc(40% - 25px);
    background: var(--main-color);
    color: var(--white-text);
    padding: 40px 30px;
}

#main3_tab2 .yonsei_txt > div h5 {
    font-size: 32px;
}

#main3_tab2 .yonsei_txt > div p {
    font-size: 19px;
    line-height: 1.4;
    font-weight: 300;
    margin: 15px 0;
}

#main3_tab2 .yonsei_txt > div img {
    margin-top: 100px;
}

/* 렌탈페이 장점 css */

#main3_tab2 .rt_txt {
    width: calc(60% - 0px);
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: left;
}

#main3_tab2 .rt_txt > div {
    display: flex;
    width: 100%;
    border: 1px solid var( --gary-background30);
    background: var(--white-text);
    color: var(--black-text);
    border-radius: 25px;
    padding: 40px;
    align-items: center;
    gap: 30px;
}

#main3_tab2 .rt_txt > div h5 {
    font-size: var(--sub-title);   
}

#main3_tab2 .rt_txt > div p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--gary-background50);
}


@media (max-width: 767px)  {

    .main3_tit {
        padding: 0 30px;
    }

    .inroe2_tabnav li a {
        font-size: 1.2rem;
    }


    .main3_wrap .main3_tit h3 {
        font-size: 1.8rem;
    }

    .main3_wrap .main3_tit p {
        padding: 0;
        font-size: 1.1rem;
    }

    .main3_tabnav {
        overflow-x: auto;
    }

    .main3_tabnav li {
        flex-shrink: 0;
        padding: 20px 10px;
    }

    .main3_tabnav li a {
        font-size: 1.2rem;
        padding: 15px 20px;
    }
    

    #main3_tab1 {
        text-align: center;
        align-items: center;
    }

    #main3_tab1 > div:first-child {
        width: calc(100% - 0px);
    }

    #main3_tab1 > div h4 {
        line-height: 1.2;
        font-size: 2rem;
    }

    #main3_tab1 > div p {
        padding-right: 0px;
        font-size: 1.2rem;
    }

    #main3_tab1 > div img {
        max-width: 100%;
    }

    #main3_tab2 > div h4 {
        font-size: 1.5rem;
    }

    #main3_tab2 > div > p {
        font-size: 1rem;
        width: 100%;
    }

    /* 착한임대인 css */

    #main3_tab2 .kind_txt {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    #main3_tab2 .kind_txt > div h5 {
        font-size: 1.8rem;
    }

    #main3_tab2 .kind_txt > div p {
        font-size: 1.2rem;
    }

    #main3_tab2 .kind_txt img {
        margin-bottom: 0;
    }

    /* 연세살이 css */

    #main3_tab2 .yonsei_txt {
        width: 100%;
    }

    #main3_tab2 .yonsei_txt > div h5 {
        font-size: 1.8rem;
    }

    #main3_tab2 .yonsei_txt > div p {
        font-size: 1.2rem;
    }

    #main3_tab2 .yonsei_txt > div img {
        margin-top: 20px;
    }

    /* 렌탈페이 장점 css */

    #main3_tab2 .rt_txt {
        width: 100%;
    }

}


@media (max-width: 575px) {

    .main3_tabnav {
        justify-content: flex-start;
    }

    .main3_tabnav li a {
        font-size: 1rem;
        padding: 15px;
    }
    #main3_tab1 > div h4 {
        font-size: 1.5rem;
    }

    #main3_tab1 > div p {
        font-size: 1rem;
    }

    /* 착한임대인 css */

    #main3_tab2 .kind_txt > div h5 {
        font-size: 1.5rem;
    }

    #main3_tab2 .kind_txt > div p {
        font-size: 1rem;
    }

    /* 연세살이 css */

    #main3_tab2 .yonsei_txt > div h5 {
        font-size: 1.5rem;
    }

    #main3_tab2 .yonsei_txt > div p {
        font-size: 1rem;
    }

    /* 렌탈페이 장점 css */

    #main3_tab2 .rt_txt > div {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 10px;
    }

    #main3_tab2 .rt_txt > div h5 {
        font-size: 1.3rem;
    }

    #main3_tab2 .rt_txt > div p {
        font-size: 1rem;
    }
    
}

/* main3_wrap 끝 */

/* main4_wrap 시작 */

.main4_wrap {
    max-width: 1800px;
    margin: 100px auto;
    border-radius: 35px;
    background: var(--bg2);
    padding: 80px;
}

.main4_wrap  .main4_tit {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

.main4_wrap .main4_tit > div:first-child {
    padding-right: 5vw;
}

.main4_wrap .main4_tit h3 {
    font-size: var(--main-title2);
    line-height: 1.3;
    font-weight: 400;
}

.main4_wrap .main4_tit h3 span {
    font-weight: 600;
}

.main4_wrap .main4_tit p {
    font-size: var(--sub-title);
    line-height: 1.3;
    margin-top: 10px;
    font-weight: 300;
}

.main4_wrap .main4_tit lottie-player {
    max-width: 650px;
    width: 100%;
}


/*main4_tab css*/

.main4_wrap .main4_txt {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}
.main4_tab {
    display: flex;
    height: 100%;
    justify-content: space-between;
}
.main4_tabnav {
    font-size: 0;
    width: calc(20% - 20px);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    z-index: 1;
    gap: 20px;
    height: 100%;
    overflow-y: auto;
}

.main4_tabnav li {
    width: 100%;
    text-align: center;
}


.main4_tabnav li a {
    display: block;
    padding: 30px;
    border-radius: 10px;
    text-decoration: none;
    background: var(--white-text);
    transition: 0.1s;
    opacity: 0.6;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.main4_tabnav li a img {
    height: 100%;
}

.main4_tabnav li a.active {

}

.main4_tabnav li a:hover {
    opacity: 1;
}

.main4_tabnav li a.active {
    border: 2px solid var(--main-color);
    opacity: 1;
}

.main4_tabcontent {
    border-top: none;
    width: calc(80% - 20px);
    position: relative;
}

.main4_tabcontent .main4_swiper .swiper-slide img {
    height: 100%;
    object-fit: cover;
}

/* 모달 팝업 영역 시작 */

.main4_modal {
    width:100%;
    text-align:center;
}

.main4_modal button{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 15px 50px;
    border-radius: 50px;
    background: var(--deepblue-color500);
    color: var(--white-text);
    cursor:pointer;
    font-weight: 500;
    font-size: var(--content-text);
    margin: 40px auto 0;
}

.modal4_wrap{
    background-color:rgba(0,0,0,.3);
    justify-content:center;
    align-items:center;
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    display:none;
    padding:15px;
    z-index: 99;
}

.modal4_popup {
    width:100%;
    max-width:720px;
    height: 665px;
    background-color:#ffffff;
    border-radius:10px;
    overflow:hidden;
    background: var(--gary-background5);
    box-shadow: 5px 10px 10px 1px rgba(0,0,0,.3);
    padding: 30px;
    text-align: center;
    position: relative;
      
    background-image: url(../img/pages/index/main4_popup_bg.png);
    background-position: center 160px;
    background-size: cover;
    background-repeat: no-repeat;
}

.modal4_popup .popup_head {
    width:100%;    
}

.modal4_popup .popup_head h4 {
    font-size: var( --sub-title);
}

.modal4_popup .popup_head p {
    font-size: var(--content-text2);
    padding: 15px 5vw;
}

.modal4_popup .popup_body {
    width:100%;
}


.modal4_popup .popup_body .app_nav {
    width: 210px;
    height: 440px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-42.5%, -32%);
    border-radius: 30px;
    overflow: hidden;
}

.modal4_popup .popup_body .swiper-pagination-bullet {
    width: 5px;
    height: 5px;
    margin: 0 2px;
}


.modal4_popup .popup_foot {
    position: absolute;
    top: 30px;
    right: 30px;
    cursor: pointer;
}

.modal4_popup .popup_foot img {
    width: 30px;
}


/* 모달 팝업 영역 끝 */


@media (max-width: 999px) {
    .main4_wrap {
        padding: 50px;
    }

    .main4_tab {
        height: 400px;
    }
}

@media (max-width: 767px) {
    .main4_wrap {
        width: 92%;
        padding: 30px;
    }

    .main4_wrap .main4_tit {
        flex-wrap: wrap;
    }
    
    .main4_wrap .main4_tit > div:first-child {
        padding: 0;
    }
    
    .main4_wrap .main4_tit h3 {
        font-size: 1.8rem;
    }

    .main4_wrap .main4_tit p {
        padding: 0;
        font-size: 1.1rem;
    }

    .main4_tab {
        flex-direction: column;
        height: auto;
    }

    .main4_tabcontent {
        width: 100%;
    }

    .main4_tabnav {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        width: 100%;
        margin-top: 10px;
    }

    .main4_tabnav li {
        flex-shrink: 0;
        width: 33%;
        height: 100%;
    }

    .main4_modal button {
        font-size: 1.6rem;
    }

    .modal4_popup .popup_head h4 {
        font-size: 1.7rem;
    }

    .modal4_popup .popup_head p {
        font-size: 1rem;
        padding: 10px 0;
    }

    .modal4_popup .popup_body .app_nav {
        width: 27.5vw;
    }
}

@media (max-width: 575px) {
    .main4_tab {
        gap: 15px;
    }
    .main4_tabnav li a {
        padding: 20px 15px;
        height: 70px;
    }

    .modal4_popup .popup_head h4 {
        font-size: 1.2rem;
    }

    .modal4_popup .popup_head p {
        font-size: 0.9rem;
        padding: 10px 0;
    }

    .main4_modal button {
        font-size: 1.2rem;
        width: 100%;
        padding: 15px 10px;
    }
       

    .modal4_popup .popup_body .app_nav {
        width: 168px;
        height: 365px;
        transform: translate(-42.5%, -39%);
    }

    .modal4_popup .popup_foot {
        width: 20px;
        top: 15px;
        right: 15px;
    }
}

@media (max-width: 375px) {
    .main4_modal button {
        font-size: 1rem;
        width: 100%;
        padding: 15px 10px;
    }
}

/* main4_wrap 끝 */


/* main5_wrap 시작 */

.main5_wrap {
    margin: 0 auto;
    text-align: center;
}

.main5_wrap .main5_tit h3 {
    font-size: var(--main-title2);
    line-height: 1.2;
    font-weight: 400;
}

.main5_wrap .main5_tit h3 p {
    font-weight: 700;
}

.main5_wrap .main5_tit div > p {
    font-size: var(--sub-title);
    line-height: 1.3;
    margin-top: 10px;
    font-weight: 200;
    padding: 0 24vw;
}

.main5_txt .main5_map {
    max-width: 1100px;
    width: 100%;
    margin: 30px auto;
}

.main5_txt .main5_content {
    background: var(--gary-background5);
    padding: 400px 70px 70px;
    margin-top: -350px;
}

.main5_txt .main5_content .swiper {
    overflow: visible;
}

.main5_txt .main5_content .swiper-slide {
    background: var(--white-text);
    overflow: hidden;
    border-radius: 15px;
}

.main5_txt .main5_content .swiper-slide > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
    text-align: left;
}

.main5_txt .main5_content .swiper-slide > div h4 {
    font-size: 14px;
    font-weight: 300;
    color: #8f8f8f;
    display: flex;
    gap: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.main5_txt .main5_content .swiper-slide > div h5 {
    font-size: var(--content-text2);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    width: 100%;
}


.main5_txt .main5_content .swiper-slide > div p {
    padding: 0;
    font-size: 16px;
    font-weight: 500;
}

@media (max-width: 999px) {

    .main5_wrap .main5_tit div > p {
        padding: 20px 30px;
    }

    .main5_txt .main5_map {
        padding: 0px 30px;
    }
    .main5_txt .main5_content {
        padding: 350px 70px 70px;
    }
    .main5_txt .main5_content .swiper-slide > div h4 {
        font-size: 0.9rem;
    }

    .main5_txt .main5_content .swiper-slide > div h5 {
        font-size: 1rem;
    }

    .main5_txt .main5_content .swiper-slide > div p {
        font-size: 0.9rem;
    }
}

@media (max-width: 767px)  {
    .main5_wrap .main5_tit h3 {
        font-size: 1.8rem;
    }
    .main5_wrap .main5_tit div > p {
        font-size: 1.1rem;
    }

}
/* main5_wrap 끝 */


/* main6_wrap 시작 */

.main6_wrap {
    display: flex;
    margin: 70px auto;
    width: 100%;
    padding: 0 80px;
    gap: 30px;
    max-width: 1600px;
}

.main6_wrap .main6_tit > div,
.main6_wrap .main6_txt > div {
    display: flex;    
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.main6_wrap .main6_tit {
    width: calc(30% - 40px);
    display: flex;
    flex-direction: column;
}

.main6_wrap .content_tit {
    padding: 20px;
    border-top: 5px solid #000000;
}

.main6_wrap .content_tit h3 {
    font-size: var(--content-text);
    font-weight: 600;
}

.main6_wrap .content_tit a {
    font-size: var(--content-text2);
    color: var(--gary-background40);
    font-weight: 400;
}

.main6_wrap .main6_tit a {
    height: 100%;
}

.main6_wrap .main6_tit a img,
.main6_wrap .main6_txt a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main6_wrap .main6_tit .youtube_content {
    position: relative;
}

.main6_wrap .main6_tit .youtube_content div {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 2;
    color: var(--white-text);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 5px;
}

.main6_wrap .main6_tit .youtube_content a::after {
    display: block;
    content: '';
    width: 100%;
    height: 100%;
    background: antiquewhite;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(-180deg,rgba(199, 121, 121, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.main6_wrap .main6_tit .youtube_content div h6 {
    font-size: var(--content-text2);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    font-weight: 500;
}

.main6_wrap .main6_tit .youtube_content div p {
    font-weight: 300;
    font-size: 16px;
}


.main6_wrap .main6_txt {
    width: calc(70% - 40px);
}

.main6_wrap .main6_txt .news_content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.main6_wrap .main6_txt .news_content li {
    width: calc(50% - 20px);
    background: var(--white-text);
    border-radius: 15px;
    transition: 0.3s;
}

.main6_wrap .main6_txt .news_content li:hover {
    box-shadow: 0 0px 15px 0 rgba(0, 0, 0, 0.1), 0 0px 10px 0 rgba(0, 0, 0, 0.1);
}

.main6_wrap .main6_txt .news_content div {
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
}

.main6_wrap .main6_txt .news_content div h6 {
    font-size: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.main6_wrap .main6_txt .news_content div span {
    width: 20%;
    color: var(--gary-background40);
}


@media (max-width: 767px) {
    .main6_wrap {
        flex-wrap: wrap;
        flex-direction: column;
        padding: 0 30px;
    }

    .main6_wrap .main6_tit,
    .main6_wrap .main6_txt {
        width: 100%;
    }


    .main6_wrap .content_tit h3 {
        font-size: 1.5rem;
    }

    .main6_wrap .main6_tit a {
        font-size: 1.2rem;
    }

    .main6_wrap .main6_txt .news_content div h6 {
        font-size: 1rem;
    }

    .main6_wrap .main6_txt .news_content div span {
        font-size: 0.9rem;
    }

}

@media (max-width: 575px) {
    .main6_wrap .content_tit h3 {
        font-size: 1rem;
    }
    .main6_wrap .main6_tit > .content_tit,
    .main6_wrap .main6_txt > .content_tit {
        padding: 8px;
    }

    .main6_wrap .content_tit a {
        font-size: 0.9rem;
    }

    .main6_wrap .main6_txt .news_content {
        gap: 5px;
    }
    .main6_wrap .main6_txt .news_content li {
        width: calc(100% - 10px);
    }
}


/* main6_wrap 끝 */


/* main7_wrap 시작 */

.main7_wrap {
    max-width: 1800px;
    padding: 90px 30px;
    background-image: url(../img/pages/index/main7_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 35px;
    margin: 70px auto;
    color: var(--white-text);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 92%;
}

.main7_wrap .main7_tit {
    display: flex;
    text-align: left;
    max-width: 1100px;
    margin: auto;
    gap: 100px;
    margin-bottom: 70px;
}

.main7_wrap .main7_tit div {
    width: calc(80% - 20px);
}

.main7_wrap .main7_tit h3 {
    padding-right: 18vw;
    font-size: var(--main-title2);
}

.main7_wrap .main7_tit h3 span {
    color: #01E6B7;
}

.main7_wrap .main7_tit p {
    font-size: 20px;
    line-height: 1.4;
    margin-top: 10px;
    font-weight: 200;
}

.main7_wrap .main7_tit p span {
    font-weight: 700;
}

.main7_wrap .main7_tit img {
    max-width: 290px;
    height: 100%;
    object-fit: cover;
    width: 100%;
    border-radius: 10px;
}

.main7_wrap .main7_txt {
    max-width: 1100px;
    width: 92%;
}

.main7_wrap .main7_txt h4 {
    width: 100%;
    text-align: left;
    font-size: var(--content-text2);
    font-weight: 400;
}

.main7_wrap .main7_txt .green_way {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 30px;
    margin: 20px 0;
}

.main7_wrap .main7_txt .green_way > div {
    width: calc(31% - 30px);
    position: relative;
}

.main7_wrap .main7_txt .green_way > div::after {
    display: block;
    content: '→';
    font-size: var(--content-text2);
    font-weight: 300;
    position: absolute;
    top: 0;
    right: -45px;
    transform: translate(50%, 50%);
}

.main7_wrap .main7_txt .green_way > div:last-child::after {
    display: none;
}


.main7_wrap .main7_txt .green_way > div h5 {
    padding: 15px;
    border: 1px solid var(--white-text);
    border-radius: 10px;
    font-size: var(--content-text2);
    font-weight: 300;
    position: relative;
}

.main7_wrap .main7_txt .green_way > div p {
    font-size: 16px;
    font-weight: 100;
    padding: 15px;
}


.main7_wrap .main7_txt > h6 {
    font-size: 17px;
    color: var(--gary-text20);
    font-weight: 200;
    padding: 0 10vw;
}

.main7_wrap > a {
    background: #005B48;
    display: flex;
    gap: 10px;
    border-radius: 50px;
    padding: 15px 50px;
    font-size: var(--content-text2);
    margin-top: 30px;
    justify-content: center;
}


@media (max-width: 999px) {
    .main7_wrap .main7_tit {
        gap: 30px;
    }
    .main7_wrap .main7_tit h3 {
        padding: 0;
    }
}

@media (max-width: 767px) {
    .main7_wrap {
        width: 100%;
        border-radius: 0;
    }
    .main7_wrap .main7_tit {
        flex-direction: column;
    }
    .main7_wrap .main7_tit div {
        width: 100%;
        text-align: center;
    }

    .main7_wrap .main7_tit h3 {
        font-size: 2rem;
    }
    
    .main7_wrap .main7_tit p {
        font-size: 1.2rem;
    }

    .main7_wrap .main7_tit img {
        max-width: 100%;
    }

    .main7_wrap .main7_txt h4 {
        font-size: 1.2rem;
    }

    .main7_wrap .main7_txt .green_way {
        flex-direction: column;
        gap: 50px;
    }

    .main7_wrap .main7_txt .green_way > div {
        width: 100%;
    }

    
    .main7_wrap .main7_txt .green_way > div::after {
        content: '↓';
        bottom: 0px;
        left: 50%;
        transform: translate(-50%, 100%);
    }


    .main7_wrap .main7_txt .green_way > div h5 {
        font-size: 1.1rem;
    }

    .main7_wrap .main7_txt .green_way > div p {
        font-size: 1rem;
    }

    .main7_wrap .main7_txt > h6 {
        padding: 0;
        font-size: 0.9rem;
    }

    .main7_wrap > a {
        width: 100%;
        padding: 15px;
        font-size: 1.2rem;
    }
}


@media (max-width: 575px) {
    .main7_wrap .main7_tit h3 {
        font-size: 1.8rem;
    }

    .main7_wrap .main7_tit p {
        font-size: 1.1rem;
    }
}
/* main7_wrap 끝 */


/* main8_wrap 시작 */

.main8_wrap {
    max-width: 1100px;
    margin: 100px auto;
}

.main8_wrap .main8_tit {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.main8_wrap .main8_tit h3 {
    font-size: var(--main-title);
}

.main8_wrap .main8_tit h5 {
    font-size: var(--content-text);
}

.main8_wrap .main8_tit h5 span {
    color: var(--main-color);
}

.main8_wrap .main8_tit p {
    font-size: var(--sub-title);
    padding: 0 8vw;
}

.main8_wrap .main8_tit p span {
    font-weight: 700;
}

.main8_wrap .main8_txt {
    max-width: 400px;
    width: 100%;
    margin: 30px auto;
}

.main8_wrap .main8_txt a img {
    width: 46%;
}

.main8_wrap .main8_txt .rt_web_btn {
    background: var(--main-color);
    color: var(--white-text);
    border-radius: 50px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 15px ;
    gap: 10px;
    font-size: var(--content-text2);
    width: 92%;
    margin: 0 auto;
}

.main8_wrap .main8_txt .rt_web_btn img {
    max-width: 30px;
}


@media (max-width: 767px) {
    .main8_wrap {
        width: 92%;
    }
    .main8_wrap .main8_tit h3 {
        font-size: 1.8rem;
    }

    .main8_wrap .main8_tit h5 {
        font-size: 1.5rem;
    }

    .main8_wrap .main8_tit p {
        font-size: 1.1rem;
        padding: 0;
    }
    
    .main8_wrap .main8_txt .rt_web_btn {
        font-size: 1.2rem;
    }
}

/* main8_wrap 끝 */
