/* Visual */
.visual{
    height: 548px; background: #000;
}
.visual .swiper-container{
    height: 100%;
    -webkit-transition: all ease-in-out .6s; transition: all ease-in-out .6s;
    opacity: 0;
}
.visual .swiper-wrapper { height: 100%; }
.visual .swiper-slide { overflow: hidden; height: 100%; }


@keyframes move {
  0%{transform: translate(-101%, 0);}
  100%{transform: translate(0, 0);}
}

.visual .background{
    height: 548px;
    -webkit-transition: all ease-in-out 1s; transition: all ease-in-out 1s;
    -webkit-transform: scale(1.1); transform: scale(1.1);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%; height: 100%; background-color: #fff
}
.visual .background--1 { background-image: url('/child/img/visual/v1.png');}
.visual .background--2 { background-image: url('/child/img/visual/v2.png');}
.visual .background--3 { background-image: url('/child/img/visual/v3.png');}
.visual .swiper-container-initialized { opacity: 1; }
.visual .swiper-container-initialized .background { -webkit-transform: none; transform: none; }
.visual .swiper-container-initialized .prev,
.visual .swiper-container-initialized .next,
.visual .swiper-container-initialized .slide-pagination{
    -webkit-transform: none; transform: none;
    opacity: 1;
}

.product-img-wrap{
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 100%;
    display: block;
    background-color: #fff;
    margin-bottom: 18px;
}

.product-img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #dfdfdf;
    box-sizing: border-box;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.prd-info h4{
    font-size: 22px;
    line-height: 24px;
    font-weight: 500;
    color: #212121;
    margin-bottom: 6px;
}

.prd-info p{
    font-size: 16px;
    line-height: 1;
    color: #707070;
}

.visual-container{
    max-width: 1230px;
    padding: 0 15px;
    margin: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.visual-txt p{
    line-height: 30px;
    background-color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    width: fit-content;
    padding: 0 5px;
}

.visual-txt1 p{
    color: #18a6f7;
}

.visual-txt2 p{
    color: #f3c434;
}

.visual-txt3 p{
    color: #19bfbe;
}

.visual-txt h1{
    font-size: 62px;
    line-height: 72px;
    font-weight: 700;
}

.visual-txt img{
    display: block;
    margin-top: 36px;
}
.visual-ani{
    overflow: hidden;
}

.visual-ani>*{
    position: relative;
    top: 100%;
}

.swiper-slide-active .visual-ani>*{
    animation: ani forwards 0.7s ease-out
}

.swiper-slide-active .visual-ani:nth-child(1)>*{
    animation-delay: 0.3s
}
.swiper-slide-active .visual-ani:nth-child(2)>*{
    animation-delay: 0.6s
}
.swiper-slide-active .visual-ani:nth-child(3)>*{
    animation-delay: 0.6s
}
.swiper-slide-active .visual-ani:nth-child(4)>*{
    animation-delay: 0.9s
}

@keyframes ani {
    0%{
        top: 100%;
    }
    100%{
        top: 0;
    }
}

@media(max-width:1024px){
    .visual { height: 460px; }

    .visual-txt p {
        margin-bottom: 10px;
        line-height: 22px;
        font-size: 20px;
        padding: 0 5px;
    }

    .visual-txt h1 {
        font-size: 48px;
        line-height: 58px;
    }

    .visual-txt img {
        margin-top: 16px;
        height: 20px;
    }
}
@media(max-width:768px){
    .visual { height: 800px; }

    .visual .background--1 { background-image: url('/child/img/visual/v1-mo.png');}
    .visual .background--2 { background-image: url('/child/img/visual/v2-mo.png');}
    .visual .background--3 { background-image: url('/child/img/visual/v3-mo.png');}

    .visual-container{
        justify-content: flex-start;
        padding: 84px 70px;;
    }

    .visual-txt p {
        margin-bottom: 10px;
        line-height: 24px;
        font-size: 22px;
        padding: 0 5px;
    }

    .visual-txt h1 {
        font-size: 52px;
        line-height: 62px;
    }

    .visual-txt img {
        margin-top: 18px;
        height: unset;
    }

    .product-img-wrap{
        margin-bottom: 10px;
    }

    .prd-info h4{
        font-size: 18px;
        line-height: 20px;
        margin-bottom: 4px;
    }

    .prd-info p{
        font-size: 14px;
    }
}
@media(max-width:500px){
    .visual { height:  500px;}

    .visual-container{
        justify-content: flex-start;
        padding: 50px 15px 0;
    }

    .visual-txt p {
        margin-bottom: 14px;
        line-height: 20px;
        font-size: 16px;
        padding: 0 5px;
    }

    .visual-txt h1 {
        font-size: 34px;
        line-height: 44px;
    }

    .visual-txt img {
        margin-top: 20px;
        max-width: 90%;
    }
}

.main-section{padding: 100px 0}
.main-section:nth-child(2n){background-color: #f9f9f9;}
.main-section:first-child{padding-top: 150px;}
.main-section:last-child{padding-bottom: 150px;}

.product-slide-header{display: flex; align-items: flex-end; width: 100%; position: relative; margin-bottom: 22px;}
.product-slide-header h3{font-size: 42px; font-weight: 600; margin-right: 20px; line-height: 1}
.slide-btn{display: flex; position: absolute; right: 0;}
.product-arrow {border: 1px solid #dfdfdf; cursor: pointer;}
.product-arrow-next{border-left: 0}
.product-slide-header a{
    color: #636363;
    font-size: 16px;
    font-weight: 500;
}
.product-slide-header a img{
    position: relative;
    top: -1px;
}

.visual-control-container{
    position: relative;
}

.visual-control{
    position: absolute;
    bottom: 0;
    transform: translate(0, 50%);
    left: 15px;
    z-index: 10;
    height: 46px;
    border: 1px solid #dfdfdf;
    display: flex;
    align-items: center;
    background-color: #fff;
}

.prev, .next{
    height: 100%;
    width: 46px;
    display: block;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.prev{
    background-image: url('/child/img/visual/prev.png');
    border-right: 1px solid #dfdfdf;
}

.next{
    background-image: url('/child/img/visual/next.png');
    border-left: 1px solid #dfdfdf;
}

.visual .slide-pagination{
    bottom: 0;
    width: 100px;
    text-align: center;
    font-size: 16px;
}

.swiper-pagination-total{
    color: #9e9e9e;
}

@media(max-width:1024px){
    .visual{margin-bottom: 30px;}
    .main-section{padding: 50px 0}
    .main-section:last-child{padding-bottom: 50px;}

    .product-slide-header h3{font-size: 30px;}

    .visual-control{
        left: 10px;
        height: 38px;
    }

    .prev, .next{
        height: 100%;
        width: 38px;
    }

    .visual .slide-pagination{
        font-size: 14px;
        width: 70px;
    }

}
@media(max-width:768px){
    .product-slide-header{margin-bottom: 10px; padding-right: 70px;}
    .product-slide-header a{font-size: 14px;}
    .product-slide-header h3{margin-right: 10px;}
    .product-arrow{
        width: 30px;
        height: 30px;
    }
}
