/***************************
 Author: 신지민
 Description: 사업소개 페이지 스타일 시트
****************************/


/* .sub_visual.business_bg1 .sv_bg {
    height: 47.25rem;
    background-image: url(https://ydpfoundation.giringrim.co.kr/theme/s007/img/sub/sv_bg2_1.jpg);
}
.sub_visual.business_bg2 .sv_bg {
    height: 47.25rem;
    background-image: url(https://ydpfoundation.giringrim.co.kr/theme/s007/img/sub/sv_bg2_2.jpg);
}
.sub_visual.business_bg3 .sv_bg {
    height: 47.25rem;
    background-image: url(https://ydpfoundation.giringrim.co.kr/theme/s007/img/sub/sv_bg2_3.jpg);
} */
.sub_visual.business_bg .sv_txt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: calc(1420px + 5rem);
    width: 100%;
    font-size: 2.375rem;
    color: #fff;
    font-weight: 300;
    line-height: 56px;
    letter-spacing: -0.95px;
    padding: 0 2.5rem;
    /* padding-top: 7.5rem; */
    /* margin: 0 auto; */
    z-index: 2;
}
.sub_visual.business_bg .sv_txt .company1_slogan {
    margin-bottom: 1rem;
}
body > #topNav {
	opacity: 0;
}
#topNav.top-fixed {
    position: fixed;
    top: 40px;
	box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.05);
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
}
#topNav.top-fixed.scroll-up {
    top: calc(5.5rem + 2.5rem);
    transition: 0.4s ease-in-out;
}
#topNav.top-fixed.scroll-down {
    top: 40px;
    transition: 0.4s ease-in-out;
}
.tab-wrap {
    position: absolute;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%);
    max-width: 50rem;
    width: 100%;
    height: 4.375rem;
    background: #fff;
    border-radius: 9999px;
    padding: 0.5rem;
}
.tab-wrap ul {
    position: relative;
    display: flex;
    gap: 0.5rem;
    padding: 0;
    width: 100%;
    height: 100%;
    border-radius: 9999px;
    z-index: 1;
}
.tab-wrap ul li {
    width: 100%;
    height: 100%;
}
.tab-wrap ul li .nav-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    font-size: 1.125rem;
    color: #000;
    font-weight: 700;
    letter-spacing: -0.45px;
    line-height: normal;
}
.tab-wrap ul li.on .nav-link {
    color: #fff;
}
.tab-wrap ul li.on .nav-link,
.tab-wrap ul li._hover .nav-link {
    color: #fff;
    transition: all 0.5s ease;
}
.move-line-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 1rem);
    height: calc(100% - 1rem);
}
.move-line {
    position:absolute;
    bottom:0; 
    left:0; 
    width:0; 
    height: 100%;
    background: #FAA74A;
    border-radius: 9999px;
    transition : all 0.5s ease;
}

@media (hover:hover) {
    .tab-wrap ul li .nav-link:hover {
        color: #fff;
        transition: all 0.5s ease;
    }
}

.pg-business .sec1 .conbox {
    display: flex;
    align-items: center;
    gap: 6.5rem;
    padding: 5rem 0;
    margin: 0;
}

.pg-business .sec1 .conbox .txtBox {
    width: 40%;
    /* word-break: keep-all; */
}
.pg-business .sec1 .conbox .con-left.txtBox {
    padding-left: 5rem;
}
.pg-business .sec1 .conbox .con-right.txtBox {
    padding-right: 5rem;
}
.pg-business .sec1 .conbox .imgBox {
    width: 60%;
}

.pg-business .sec1 .conbox .txtBox h4 {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.9px;
    line-height: 2.875rem;
    margin-bottom: 1.5rem;
}
.pg-business .sec1 .conbox .txtBox p {
    font-size: 1.125rem;
    line-height: 2rem;
    letter-spacing: -0.45px;
}

.pg-business .sec2 {
    position: relative;
    width: 100%;
    /* height: 200vh; */
}
.pg-business .sec2 .con-bg {
    position: sticky;
    top: 0;
    width: 100%;
    height: 61.25rem;
    /* height: 100vh; */
    background: url(/theme/s007/img/sub/business/bg_1.png) no-repeat center / cover;
    clip-path: inset(0 50% 0 50%);
}
.pg-business .sec2 .con-bg .inner {
    display: flex;
    align-items: center;
    height: 100%;
}
.pg-business .sec2 .conbox {
    font-size: 2.5rem;
    color: #fff;
    font-weight: 700;
    line-height: 3.75rem;
    letter-spacing: -1px;
}
.pg-business .sec3 {
    padding-bottom: 7.5rem;;
}
.pg-business .sec3 .tit-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: calc(1420px + 5rem);
    padding-top: 7.5rem;
    padding-bottom: 3.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    margin: 0 auto;
}
.pg-business .sec3 .tit-wrap h3 {
    font-size: 3.5rem;   
    font-weight: 700;
    letter-spacing: -1.4px;
}
.pg-business .sec3 .tit-wrap .btn_more {
    font-size: 1.125rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.45px;
    background: #222;
    border-radius: 28px;
    padding: 1.125rem 2rem;
}
.pg-business .sec3 .tit-wrap .btn_more:hover {
    background-color: #4E4E4E;
}
.swiper_wrap {
    max-width: 78.6875rem;
    width: 100%;
    margin: 0 auto;
}
.activity-news {
    padding-bottom: 4.5rem;
    opacity: 0;
    overflow: visible;
}
.activity-news.swiper-container-initialized {
    opacity: 1;
}
.activity-news .imgBox {
    border-radius: 1.25rem;
    overflow: hidden;
}
.activity-news .news-tit {
    margin-top: 1.25rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.6px;
    line-height: 2.125rem;
}
.activity-news .date {
    display: block;
    margin-top: 1.25rem;
    font-size: 1rem;
    color: #999;
    letter-spacing: -0.4px;
}
.activity-news .swiper-el-btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    display: flex;
    gap: 1.5rem;
    width: 8.5rem;
}
.activity-news .swiper-el-btn .swiper-btn {
    position: static;
    width: 3.5rem;
    height: 3.5rem;
    color: transparent;
}
.activity-news .swiper-el-btn .swiper-button-prev {
    background: url(/theme/s007/img/sub/business/ic_arrow_left.svg) no-repeat center / cover;
}
.activity-news .swiper-el-btn .swiper-button-next {
    background: url(/theme/s007/img/sub/business/ic_arrow_right.svg) no-repeat center / cover;
}
.activity-news .swiper-pagination-wrap {
    display: none;
}
.activity-news .custom-pagination {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    padding: 0 1em;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    color: #aaa;
    font-size: 0.875rem;
    z-index: 2;
}
.activity-news .custom-pagination .current {
    color: #FAA74A;
}
.activity-news .custom-pagination .pageSlash {
    font-size: 0.5rem;
    margin: 0 0.25rem 0;
}
.activity-news .custom-pagination .progress_bar {
    position: relative;
    width: calc(100% - 3.375rem);
    height: 2px;
    margin-left: 0.5rem;
    background-color: #ddd;
}

.activity-news .custom-pagination .progress_bar .progress_fill {
    position: absolute;
    inset: 0;
    display: block;
    height: 100%;
    background-color: gold;
}

.pg-business .sec3 .imgBox img {
    width: 100%;
	aspect-ratio: 1 / 0.75;
	object-fit: cover;
}
@media screen and (max-width: 1440px) {
    .sub_visual.business_bg .sv_bg {
        height: 90vw;
    }
    .pg-business .sec1 .conbox {
        gap: 4rem;
    }
    .pg-business .sec1 .conbox .con-left.txtBox {
        padding-left: 1.5rem;
    }
    .pg-business .sec1 .conbox .con-right.txtBox {
        padding-right: 1.5rem;
    }
}
@media screen and (max-width: 1280px) {
    /* .pg-business .sec3 .tit-wrap {
        padding-left: 1rem;
        padding-right: 1rem;
    } */
    .sub_visual.business_bg .sv_bg {
        height: 105vw;
    }
    .sub_visual.business_bg .sv_txt {
        padding: 0 1rem;
    }
}
@media screen and (max-width: 1023px) {
    .sub_visual.business_bg .sv_bg {
        height: 135vw;
    }
    .pg-business .sec1 .conbox {
        gap: 2.5rem;
        padding: 2.5rem 0;
    }
}
@media screen and (max-width: 800px) {
    .sub_visual.business_bg .sv_bg {
        height: 70vw;
    }
    
    .pg-business .sec3 {
        padding-bottom: 5rem;;
    }

	/* 사업소개 페이지에만 적용 */
	.mo_top_btn {bottom: 7.25rem;}
	.footer .footer_wrap {
        padding: 2.5rem 0 8.5rem;
    }
	/* end */


    .sv_cnt.load.sv_cnt_b {
        align-items: flex-start;
    }
    .sv_cnt.load.sv_cnt_b .sv_tit span {
        padding-top: 4.313rem;
    }
    .sub_height2 {
        height: 21.75rem;
    }
    .sub_visual.business_bg .sv_bg {
        display: block;
    }
    /* .sub_visual.business_bg1 .sv_bg {
        background-image: url(https://ydpfoundation.giringrim.co.kr/theme/s007/img/sub/sv_bg2_1_m.jpg);
    }
    .sub_visual.business_bg2 .sv_bg {
        background-image: url(https://ydpfoundation.giringrim.co.kr/theme/s007/img/sub/sv_bg2_2_m.jpg);
    }
    .sub_visual.business_bg3 .sv_bg {
        background-image: url(https://ydpfoundation.giringrim.co.kr/theme/s007/img/sub/sv_bg2_3_m.jpg);
    } */
    .sub_visual.business_bg .sv_txt {
        top: 0;
        left: 0;
        transform: translate(0, 0);
        font-size: 1.125rem;
        line-height: 2rem;
        letter-spacing: -0.45px;
        padding-left: 1rem;
        padding-right: 1rem;
        padding-top: 10rem;
    }
    .sub_visual.business_bg .sv_txt .company1_slogan {
        margin-bottom: 0.5rem;
        max-width: 15rem;
    }
	body > #topNav {
		opacity: 1;
	}
    #topNav.top-fixed {
        top: auto;
        /* bottom: 0; */
        bottom: 4rem;
		box-shadow: -10px 0 10px rgba(0, 0, 0, 0.05);
        background: #fff;
    }
    #topNav.scroll-up,
    #topNav.top-fixed.scroll-up {
        top: auto;
        bottom: 4rem;
        transition: 0.4s ease-in-out;
    }
    #topNav.scroll-down,
    #topNav.top-fixed.scroll-down {
        top: auto;
        bottom: 0.5rem;
        transition: 0.4s ease-in-out;
    }
    .tab-wrap {
        position: fixed;
        bottom: 4rem;
        max-width: none;
		width: 95%;
        height: 3.063rem;
        background: #fff;
        /* border-radius: 20px 20px 0 0; */
        box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
        padding: 0.25rem;
        z-index: 998;
    }
    .tab-wrap ul {
        max-width: none;
		gap: 0;
    }
    .tab-wrap ul li .nav-link {
        font-size: 0.8125rem;
        font-weight: 600;
        text-align: center;
		color: #000;
    }
    .tab-wrap ul li.on .nav-link {
        /* color: #FAA74A; */
		color: #fff;
    }
    
    .move-line-wrap {
        width: calc(100% - 0.5rem);
        height: calc(100% - 0.5rem);
    }
    .move-line {
        transition: none;
    }
    @media (hover:hover) {
        .tab-wrap ul li .nav-link:hover {
            color: #fff;
        }
    }

    .pg-business .sec1 .conbox {
        gap: 1.25rem;
        padding: 1.5rem 0;
    }
    .pg-business .sec1 .conbox.f-col-reverse {
        flex-direction: column-reverse;
    }
    .pg-business .sec1 .conbox.f-col{
        flex-direction: column;
    }
    .pg-business .sec1 .conbox .imgBox {
        width: calc(100% + 1rem);
    }
    .pg-business .sec1 .conbox .con-left.imgBox {
        margin-left: -1rem;
    }
    .pg-business .sec1 .conbox .con-right.imgBox {
        margin-right: -1rem;
    }
    .pg-business .sec1 .conbox .txtBox {
        width: 100%;
        padding: 0 !important;
    }
    .pg-business .sec1 .conbox .txtBox h4{
        font-size: 1.375rem;
        line-height: 2.25rem;
        margin-bottom: 0.5rem;
        letter-spacing: -0.55px;
    }
    .pg-business .sec1 .conbox .txtBox p {
        font-size: 1rem;
        letter-spacing: -0.4px;
    }
    .pg-business .sec2{
        margin-top: 3.5rem;
    }
    .pg-business .sec2 .con-bg .inner {
        align-items: flex-start;
    }
    .pg-business .sec2 .conbox {
        font-size: 1.375rem;
        line-height: 2.25rem;
        letter-spacing: -0.55px;
        margin-top: 5rem;
    }
    .pg-business .sec2 .con-bg {
        height: 26.25rem;
        background-image: url(/theme/s007/img/sub/business/bg_1_m.png);
    }

    .pg-business .sec3 .tit-wrap{
        padding-top: 3.5rem;
        padding-bottom: 1.5rem;
    }
    .pg-business .sec3 .tit-wrap h3{
        font-size: 2rem;
    }
    .pg-business .sec3 .tit-wrap .btn_more {
        width: 2rem;
        height: 2rem;
        font-size: 0;
        border-radius: 9999px;
        background: #222 url(/theme/s007/img/sub/business/ic_plus.svg) no-repeat center / 12px 12px;
        padding: 0;
    }

    .activity-news {
        padding-bottom: 2.5rem;
    }
    .activity-news .news-tit {
        font-size: 1.125rem;
        letter-spacing: -0.45px;
        line-height: 1.75rem;
        margin-top: 1rem;
    }
    .activity-news .date {
        font-size: 0.875rem;
        letter-spacing: -0.35px;
        margin-top: 1rem;
    }
    .activity-news .swiper-el-btn {
        display: none;
    }
    .activity-news .swiper-pagination-wrap {
        display: block;
    }
}
@media screen and (max-width: 600px) {
    .sub_visual.business_bg .sv_bg {
        height: 85vw;
    }
}
@media screen and (max-width: 480px) {
    .sub_visual.business_bg .sv_bg {
        height: 105vw;
    }
}