@charset "utf-8";

@import url('https://fonts.googleapis.com/css?family=East+Sea+Dokdo&display=swap&subset=korean');

.swiper-container {
    width: 100%;
}
.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    min-height: 1px;
    height: auto !important;
}
.swiper-wrapper.auto .swiper-slide {}
.swiper-slide img {
    position: relative;
    z-index: 2;
    width: 100%;
    /* max-width: 2000px; */
}

.swiper-slide .bg {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}
.swiper-slide .bg-img {
    background-size: cover;
    z-index: 2;
}
.swiper-slide .overlay-color {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent);
    z-index: 3;
}
.swiper-slide .left-color,
.swiper-slide .right-color {
    width: 50%;
    z-index: 1;
}
.swiper-slide .left-color {
    right: auto;
}
.swiper-slide .right-color {
    left: auto;
}

.swiper-slide .txt-area {
    display: table;
    position: absolute;
    top: 50%;
    left: 0px;
    width: 100%;
    z-index: 4;
}
.swiper-slide .txt-wrap {
    display: table-cell;
    text-align: left;
    vertical-align: middle;
}
@media (max-width: 1100px) {
    .swiper-slide .txt-wrap {
        font-size: 0.9rem;
    }
}
@media (max-width: 800px) {
    .swiper-slide .txt-wrap {
        font-size: 0.5rem;
    }
}
@media (max-width: 640px) {
    .swiper-slide .txt-wrap {
        font-size: 0.4rem;
    }
}
.swiper-slide .txt-wrap span {
    display: block;
    font-family: 'East Sea Dokdo', cursive;
}
.swiper-slide .txt-wrap .txt-1 {
    color: #FFF;
    font-size: 3em;
    font-weight: 300;
    padding-bottom: 2rem;
    opacity: 0;
}
.swiper-slide .txt-wrap .txt-2 {
    color: #FFF;
    font-size: 5em;
    font-weight: 300;
    padding-top: 2rem;
    padding-bottom: 2rem;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
}
.swiper-slide .txt-wrap .txt-2 b {
    font-weight: 500;
    font-family: 'East Sea Dokdo', cursive;
}

.swiper-slide.slide-index-1 .txt-wrap .txt-1,
.swiper-slide.slide-index-1 .txt-wrap .txt-2 {
    padding-left: 5%;
}

.swiper-slide-active.slide-index-1 .txt-wrap .txt-1 {
    -webkit-animation-name: toright-type1;
    animation-name: toright-type1;
    animation-duration: 4s;
}
.swiper-slide-active.slide-index-1 .txt-wrap .txt-2 {
    -webkit-animation-name: toright-type1;
    animation-name: toright-type1;
    animation-duration: 2.5s;
}

.swiper-slide.slide-index-2 .txt-wrap .txt-1,
.swiper-slide.slide-index-2 .txt-wrap .txt-2 {
    padding-right: 5%;
    text-align: right;
}
.swiper-slide.slide-index-2 .txt-wrap .txt-2 {
    background: linear-gradient(to left, rgba(255, 255, 255, 0.1), transparent);
}

.swiper-slide-active.slide-index-2 .txt-wrap .txt-1 {
    -webkit-animation-name: toleft-type1;
    animation-name: toleft-type1;
    animation-duration: 4s;
}
.swiper-slide-active.slide-index-2 .txt-wrap .txt-2 {
    -webkit-animation-name: toleft-type1;
    animation-name: toleft-type1;
    animation-duration: 2.5s;
}

.swiper-slide-active .txt-wrap .txt-1,
.swiper-slide-active .txt-wrap .txt-2,
.swiper-slide-prev .txt-wrap .txt-1,
.swiper-slide-prev .txt-wrap .txt-2 {
    opacity: 1;
}

.swiper-pagination * {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.swiper-container-horizontal > .swiper-pagination-bullets,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: 5px !important;
}
.swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    opacity: 1 !important;
    border-radius: 50% !important;
    background: none !important;
    background-color: rgba(255, 255, 255, 0.7) !important;
    margin: 0px 5px !important;
}
.swiper-pagination-bullet-active {
    background: #FF511D !important;
}

.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    margin: 0px !important;
    background-image: none !important;
    width: 40px !important;
    height: 80px !important;
    font-size: 10pt;
    transform: translateY(-50%);
}
.swiper-button-next {
    right: 10px !important;
}
.swiper-button-prev {
    left: 10px !important;
}
.swiper-button-next div,
.swiper-button-prev div {
    position: absolute;
    width: 1px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.6);
}
.swiper-button-next:hover div,
.swiper-button-prev:hover div {
    background-color: rgba(255, 255, 255, 1);
}
.swiper-button-next div {
    right: 18px;
}
.swiper-button-prev div {
    left: 18px;
}
.swiper-button-next div.top,
.swiper-button-prev div.top {
    top: 3px;
}
.swiper-button-next div.bottom,
.swiper-button-prev div.bottom {
    top: 50%;
    margin-top: -3px;
}
.swiper-button-next div.top,
.swiper-button-prev div.bottom {
    transform: rotate(-40deg);
}
.swiper-button-next div.bottom,
.swiper-button-prev div.top {
    transform: rotate(40deg);
}

.swiper-button-next span,
.swiper-button-prev span {
    position: absolute;
    top: 5px;
}
.swiper-button-next span {
    right: 30px;
}
.swiper-button-prev span {
    left: 30px;
}


@keyframes toright-type1 {
    0%, 50% {
        -webkit-transform: translateX(-150%);
        transform: translateX(-150%);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}

@-webkit-keyframes toright-type1 {
    0%, 50% {
        -webkit-transform: translateX(-150%);
        transform: translateX(-150%);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toleft-type1 {
    0%, 50% {
        -webkit-transform: translateX(150%);
        transform: translateX(150%);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}

@-webkit-keyframes toleft-type1 {
    0%, 50% {
        -webkit-transform: translateX(150%);
        transform: translateX(150%);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}