@charset "utf-8";
.section {
    font-size: 3vw;
    text-align: center;
}

/* .sec1 슬라이더에 대한 CSS 설정 */
.sec1 .swiper-container {
    width: 100%;
    height: 100%;
    position: relative;
}
.scrollDwon {
    width: 100px;
    height: 50px;
    padding-top: 36px;
    position: absolute;
    background: url(../images/common/umbrage.png) no-repeat top;
    left: 50%;
    bottom: 50px;
    margin-left: -50px;
    z-index: 1;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    box-sizing: border-box;
}
.slide1-1 h2 {
    color: #f4f4f4;
}
.sec1 .slide1-1 {
    background: url(../images/main/mainvisual2.png) no-repeat center;
}
.sec1 .slide1-2 {
    background: url(../images/main/mainvisual.png) no-repeat center;
}
.sec1 .slide1-3 {
    background: url(../images/main/mainvisual3.png) no-repeat center;
}
.sec1 .swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-size: 120%;
}
.sec1 .swiper-slide-active {
    animation: viewOut 4.3s ease;
}
@keyframes viewOut {
    from {
        background-size: 120%;
    }
    to {
        background-size: 100%;
    }
}
.sec1 .swiper-slide h2 {
    font-size: 60px;
    line-height: 70px;
    color: #f4f4f4;
}
.sec1 .swiper-slide-active h2 {
    opacity: 0; /* 초기 상태에서 투명하게 설정 */
    transform: translateY(30px); /* 아래에서 시작 */
    animation: fadeUp 1s ease forwards; /* 애니메이션 1초 동안 진행 */
}
.sec1 .swiper-slide-active h2:nth-child(1) {
    animation-delay: 0.3s; /* 첫 번째 h2에 0.3초 딜레이 */
}
.sec1 .swiper-slide-active h2:nth-child(2) {
    animation-delay: 0.6s; /* 두 번째 h2에 0.6초 딜레이 */
}
.sec1 .swiper-button-next,
.sec1 .swiper-button-prev {
    color: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.sec1 .swiper-button-next {
    right: 45px;
}

.sec1 .swiper-button-prev {
    left: 45px;
}

.sec1 .swiper-pagination {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

#wrap .sec1 .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.9);
    width: 8px;
    height: 8px;
    margin: 0 6px;
}

#wrap .sec1 .swiper-pagination-bullet-active {
    background: #f4f4f4; /* 활성화된 슬라이더의 색상 */
}
/* 메인 섹션2 */
.sec2 .titBox {
    padding-bottom: 30px;
}
.sec2 h2 {
    font-size: 50px;
    line-height: 60px;
    opacity: 0;
}
.sec2 p {
    font-size: 18px;
    line-height: 28px;
    opacity: 0;
}
.sec2 h2:nth-child(1) {
    animation-delay: 0.2s;
}
.sec2 h2:nth-child(2) {
    animation-delay: 0.4s;
}
#sec2Fade3 {
    animation-delay: 0.7s;
}
#sec2Fade4 {
    animation-delay: 0.7s;
}
.conBox {
    padding-top: 50px;
}
.conBox li {
    width: 330px;
    height: 330px;
    float: left;
    margin-right: 40px;
    background: #ff0000;
    opacity: 0;
}
.conBox h4 {
    font-size: 26px;
    color: #f4f4f4;
    position: absolute;
    top: 35px;
    left: 35px;
}
.conBox h3 {
    font-size: 26px;
    color: #f4f4f4;
    position: absolute;
    bottom: 46px;
    right: 30px;
}
.conBox p {
    position: absolute;
    font-size: 14px;
    font-weight: bold;
    bottom: 20px;
    right: 30px;
    color: #fff;
    opacity: 1;
}
.conBox li:last-child h4 {
    color: #000;
}
.conBox li:last-child h3 {
    color: #000;
}
.conBox li:last-child p {
    color: #000;
}
.conBox li:nth-child(1) {
    background: url(../images/main/con01.png) no-repeat;
    animation-delay: 1.2s;
}
.conBox li:nth-child(2) {
    background: url(../images/main/con02.png) no-repeat;
    animation-delay: 1.3s;
}
.conBox li:nth-child(3) {
    background: url(../images/main/con03.png) no-repeat;
    animation-delay: 1.4s;
}
.conBox li:nth-child(4) {
    background: #e7e7e7 url(../images/common/ci.png) no-repeat center;
    animation-delay: 1.5s;
    margin-right: 0;
    border-top-left-radius: 59px;
}
.conBox li a {
    height: 100%;
    display: block;
}
/* .sec3 슬라이더에 대한 CSS 설정 */
.sec3 .swiper-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.sec3 .swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.sec3 .swiper-pagination {
    top: 20%;
    left: -35.7%;
    z-index: -1;
    /*transform: translateX(-50%);*/
}

#wrap .sec3 .swiper-pagination-bullet {
    background: #ddd;
    opacity: 1;
    width: 8px;
    height: 8px;
    margin: 0 10px;
}

#wrap .sec3 .swiper-pagination-bullet-active {
    background: #1353a0; /* 활성화된 슬라이더의 색상 */
}
/*섹션3 슬라이드*/
.sec3Box li {
    width: 50%;
    height: 720px;
    float: left;
    text-align: left;
}
.sec3Box li:first-child {
    padding: 190px 0;
    padding-right: 60px;
}
.sec3Box li:last-child {
    background: url(../images/main/con04.png);
}
.sec3Box li h2 {
    font-size: 50px;
    line-height: 60px;
    animation-delay: 0.2s;
    opacity: 0;
}
.sec3Box li h2:nth-child(2) {
    padding-bottom: 50px;
    animation-delay: 0.4s;
}
.sec3Box li p {
    opacity: 0;
    font-size: 18px;
    line-height: 28px;
    animation-delay: 0.7s;
}
/*섹션3 슬라이드2*/
.sec3Box2 li:last-child {
    background: url(../images/main/con05.png);
}
/*섹션3 슬라이드3*/
.sec3Box3 li:last-child {
    background: url(../images/main/con06.png);
}
.sec3Box .swiper-slide-active h2 {
    animation-delay: 0s;
}
.rightArrow {
    width:110px;
    margin-top:50px;
    font-size: 15px;
    font-weight: bold;
    color: #000;
    animation-delay: 1s;
    opacity:0;
    display:block;
}
.rightArrow::after {
    content: "⟶"; /* 화살표 모양 */
    transition: 0.3s;
    font-size: 18px; /* 화살표 크기 */
    margin-left:10px;
}
.rightArrow:hover::after {
    transition: 0.3s;
    margin-left:20px;
}
/*섹션4*/
.sec4 h2 {
    font-size: 50px;
    opacity: 0;
}
.sec4 h2:nth-child(1) {
    animation-delay: 0.2s;
}
.sec4 h2:nth-child(2) {
    animation-delay: 0.4s;
}
.sec4 h4 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #f4f4f4;
}
.sec4 p {
    font-size: 18px;
    line-height: 28px;
    color: #f4f4f4;
}
.sec4 a {
    height: 100%;
    display: block;
}
.sec4Box {
    width: 1440px;
    margin: 70px auto;
    background: url(../images/main/con07.png) no-repeat center;
    background-size: cover;
    border-radius: 25px;
}
.sec4BoxOn{
    width: 100%;
    transition:0.6s ease-in-out;
    border-radius: 0;
}
.sec4Box li {
    width: 50%;
    height: 420px;
    float: left;
    box-sizing: border-box;
    padding: 130px;
}
.sec4Box .verticalLing {
    width: 1px;
    height: 260px;
    background-color: rgba(255, 255, 255, 9);
    position: absolute;
    top: 390px;
    left: 50%;
}
