/* Common */
.main-section-wrap{
    padding-top:140px;
}
.main-section{
    padding:140px 0;
}
@media (max-width:1024px){
    .main-section-wrap{
        padding-top:0;
    }
    .main-section{
        padding:100px 0;
    }
}
@media (max-width:992px){
}
@media (max-width:768px){
    .main-section{
        padding:60px 0;
    }
}
@media (max-width:576px){
}

/* Visual */
.visual{
    overflow: hidden; height: 980px; background: #fff;
}
.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%; }
.visual .prev,
.visual .next{
    z-index: 2; position: absolute; top: 0; bottom: 0; margin: auto; cursor: pointer !important;
    -webkit-transition: all .35s ease-out .6s; transition: all .35s ease-out .6s;
    opacity: 0;
}
.visual .prev{
    left: 100px; width: 40px; height: 70px; background: url('/child/img/visual/prev.png') no-repeat center;
    -webkit-transform: translateX(-50px); transform: translateX(-50px);
}
.visual .next{
    right: 100px; width: 40px; height: 70px; background: url('/child/img/visual/next.png') no-repeat center;
    -webkit-transform: translateX(50px); transform: translateX(50px);
}
.visual .slide-pagination{
    height: 15px;
    -webkit-transition: all .35s ease-out .6s; transition: all .35s ease-out .6s;
    -webkit-transform: translateY(50px); transform: translateY(50px);
    opacity: 0;
}
.visual .slide-pagination.swiper-pagination-bullets { z-index: 2; position: absolute; bottom: 30px; width: 100%; text-align: center; font-size: 0; }
.visual .slide-pagination.swiper-pagination-bullets .swiper-pagination-bullet{
    margin: 0 5px; width: 14px; height: 100%; background: #ffffff; border-radius: 14px;
    -webkit-transition: all ease .2s; transition: all ease .2s;
}
.visual .slide-pagination.swiper-pagination-bullets .swiper-pagination-bullet-active { width: 45px; }
.visual .background{
    height: 100%;
    background-repeat: no-repeat;
    background-position:center;
    background-size: cover;
    /* -webkit-transition: all ease-in-out 1s; transition: all ease-in-out 1s; */
    /* -webkit-transform: scale(1.1); transform: scale(1.1); */
}
.visual .v1{ background-image:url(/child/img/main/v1.png); }
.visual .v2{ background-image:url(/child/img/main/v2.png); }
.visual .v3{ background-image:url(/child/img/main/v3.png); }
.visual .v4{ background-image:url(/child/img/main/v4.png); }
.visual .v5{ background-image:url(/child/img/main/v5.png); }
.visual .v6{ background-image:url(/child/img/main/v6.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;
}
.visual .swiper-container-horizontal .swiper-pagination{
    bottom:100px;
    left:50%;
    -webkit-transform: translate(-50%,0); -ms-transform: translate(-50%,0); transform: translate(-50%,0);
    max-width: 1650px;
    text-align: left;
    padding:0 15px;
}
.visual .swiper-pagination-bullet{
    display: inline-flex;
    align-items: center;
    width: auto;
    height:auto;
    border-radius: 0;
    background-color: transparent;
    font-size: 16px;
    font-weight:600;
    font-family:"Amiri","Pretendard","NotoKR","Apple SD Gothic Neo",Helvetica,sans-serif,Arial;
    color: #aaa;
    margin:0 10px !important;
    opacity: 1 !important;
    /* text-shadow: 1px 1px 20px #fff; */
}
.visual .swiper-pagination-bullet-active{
    color:#222;
}
.visual .swiper-pagination-bullet-active::after{
    content:'';
    display: block;
    width: 50px;
    height: 1px;
    background-color: #222;
    margin-left: 10px;
}

.visual__con{
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    max-width: 1650px;
    padding: 0 15px;
    margin:auto;
}
.visual__tit{
    font-size: 100px;
    font-weight: 600;
    line-height: 1.2;
    font-family:"Amiri","Pretendard","NotoKR","Apple SD Gothic Neo",Helvetica,sans-serif,Arial;
    color: #222;
    /* text-shadow: 1px 1px 20px #fff; */
}
.visual__txt{
    font-size: 26px;
    font-weight: 300;
    line-height: 1.6;
    color: #222;
    /* text-shadow: 1px 1px 10px #fff; */
}
@media(max-width:1024px){
    .visual { height: 460px; }
    .visual .prev,
    .visual .next { display: none; }
    .visual .swiper-container-horizontal .swiper-pagination{
        bottom:30px;
    }

    .visual__tit{
        font-size: 50px;
    }
    .visual__txt{
        font-size: 18px;
    }
}
@media(max-width:768px){
    .visual { height: calc(100vh - 50px - 88px); }
    .visual .slide-pagination { height: 10px; }
    .visual .slide-pagination.swiper-pagination-bullets { bottom: 20px; }
    .visual .slide-pagination.swiper-pagination-bullets .swiper-pagination-bullet { margin: 0 3px; width: 10px; }
    .visual .slide-pagination.swiper-pagination-bullets .swiper-pagination-bullet-active { width: 30px; }
    .visual .swiper-container-horizontal .swiper-pagination{
        display: none;
        bottom:20px;
    }

    .visual__con{
        align-items: flex-start;
        justify-content: center;
        padding-top: 20vmin;
    }
    .visual__inner{
        text-align: center;
    }
    .visual__tit{
        font-size: 38px;
    }
    .visual__txt{
        font-size: 16px;
    }

    .visual .v1{ background-image:url(/child/img/main/v1-sm.png); }
    .visual .v2{ background-image:url(/child/img/main/v2-sm.png); }
    .visual .v3{ background-image:url(/child/img/main/v3-sm.png); }
    .visual .v4{ background-image:url(/child/img/main/v4-sm.png); }
    .visual .v5{ background-image:url(/child/img/main/v5-sm.png); }
    .visual .v6{ background-image:url(/child/img/main/v6-sm.png); }
}

.text-ani { overflow: hidden; display:block;}
.text-ani >* { display:block; opacity: 0; }
.swiper-slide.swiper-slide-active .text-ani >*{
	animation:textAni 1s ease forwards;
}
.swiper-slide.swiper-slide-active .text-ani:nth-child(1) >* {
	animation-delay: 0.2s;
}
.swiper-slide.swiper-slide-active .text-ani:nth-child(2) >* {
	animation-delay: 0.4s;
}
.swiper-slide.swiper-slide-active .text-ani:nth-child(3) >* {
	animation-delay: 0.6s;
}
.swiper-slide.swiper-slide-active .text-ani:nth-child(4) >* {
	animation-delay: 0.8s;
}
@keyframes textAni{
	0% {
		opacity:0;
		transform:translateY(100%);
	}
	100% {
		opacity:1;
		transform:translateY(0);
	}
}

/* Link */
.main-link{
    display: none;
}
.main-link-items{
    display: flex;
    flex-wrap: wrap;
}
.main-link-item{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 33.3333%;
    min-height: 45px;
    border-bottom:1px solid #ddd;
    background-color: #fff;
    -webkit-transition: all ease-out .2s; -ms-transition: all ease-out .2s; transition: all ease-out .2s;
}
.main-link-item::before{
    content:'';
    position:absolute;
    top:50%;
    left:-1px;
    -webkit-transform: translate(0,-50%); -ms-transform: translate(0,-50%); transform: translate(0,-50%);
    display: block;
    width: 1px;
    height: 15px;
    background-color: #ddd;
}
.main-link__tit{
    font-size: 16px;
    font-weight: 700;
}
@media (min-width:1025px){
    .main-link-item:hover{
        background-color: #eee;
    }
}
@media (max-width:1024px){
}
@media (max-width:992px){
}
@media (max-width:768px){
    .main-link{
        display: block;
    }
}
@media (max-width:576px){
}

/* OUR STORY */
.story-video{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.story-video__left{
    width: 400px;
    padding-right: 35px;
}
.story-video__right{
    width: calc(100% - 400px);
}
.story-video__video-wrap{
    display: none;
    position: relative;
}
.story-video__video-wrap::before{
    content:'';
    position:absolute;
    top:-50%;
    right:calc(-50% - 100px);
    z-index: -1;
    display: block;
    width: 1180px;
    height: 570px;
    background-color: #f5f5f5;
    border-radius: 100px;
}
.story-video__video-wrap.active{
    display: block;
}
.story-video__video{
    position: relative;
    width: 100%;
    padding-top: calc(450/800 * 100%);
    border-radius: 25px;
    overflow: hidden;
    background-color: #222;
}
.story-video__video iframe{
    position: absolute;
    top:50%;
    left:50%;
    -webkit-transform: translate(-50%,-50%); -ms-transform: translate(-50%,-50%); transform: translate(-50%,-50%);
}
.story-video-item{
    position: relative;
    border-bottom:1px solid #e6e6e6;
}
.story-video-item.active::before{
    content:'';
    position:absolute;
    top:0;
    right:-35px;
    display: block;
    width: calc(100% + 35px);
    height: 2px;
    background-color: #222;
}
.story-video-item.active::after{
    content:'';
    position:absolute;
    top:0;
    right:-115px;
    z-index: 1;
    display: block;
    width: 80px;
    height: 2px;
    background-color: #fff;
}
.story-video-item:first-child{
    border-top:1px solid #e6e6e6;
}
.story-video-item__inner{
    position: relative;
    display: flex;
    align-items: center;
    padding:22px 45px 22px 20px;
    cursor: pointer;
}
.story-video__num{
    margin-right: 15px;
}
.story-video-item__inner .icon-arrow{
    display: none;
    position: absolute;
    top:50%;
    right:0;
    -webkit-transform: translate(0,-50%); -ms-transform: translate(0,-50%); transform: translate(0,-50%);
}
.story-video-item.active .icon-arrow{
    display: block;
}
@media (max-width:1200px){
    .story-video__video-wrap::before{display: none;}
}
@media (max-width:992px){
    .story-video__left, .story-video__right{
        width: 100%;
    }
    .story-video-item.active::before{
        right:0;
        width: 100%;
    }
    .story-video-item.active::after{display:none;}
    .story-video__left{
        padding-right: 0;
        margin-bottom: 30px;
    }
}
@media (max-width:768px){
    .story-video-item__inner{
        padding:15px 45px 15px 15px;
    }
}
@media (max-width:576px){
    .story-video__video{
        border-radius: 20px;
    }
}

/* Board */
.main-section--board{
    padding:0;
}
#vue-app .main-section--board .row{
    margin:-15px -30px;
}
#vue-app .main-section--board .row [class*="col-"]{
    padding:15px 30px;
}
.more-btn{
    position: relative;
    display: block;
    width: 40px;
    height: 40px;
}
.more-btn::before, .more-btn::after{
    content:'';
    position:absolute;
    top:50%;
    left:50%;
    -webkit-transform: translate(-50%,-50%); -ms-transform: translate(-50%,-50%); transform: translate(-50%,-50%);
    display: block;
    background-color: #000;
}
.more-btn::before{
    width: 20px;
    height: 1px;
}
.more-btn::after{
    width: 1px;
    height: 20px;
}

.main-board >ul{
    margin:-6px 0;
}
.main-board >ul >li{
    position: relative;
    font-size: 16px;
    color: #7e7e7e;
    padding: 6px 85px 6px 0;
    cursor: pointer;
}
.main-board__tit{
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.main-board__date{
    position: absolute;
    top:50%;
    right:0;
    -webkit-transform: translate(0,-50%); -ms-transform: translate(0,-50%); transform: translate(0,-50%);
    display: inline-block;
}
@media (max-width:1024px){
}
@media (max-width:992px){
}
@media (max-width:768px){
    .main-board >ul >li{
        font-size: 14px;
    }
}
@media (max-width:576px){
}

.main-partners >ul{
    display: flex;
    flex-wrap: wrap;
    margin:0 -5px;
}
.main-partners >ul >li{
    width: 50%;
    padding:0 5px;
}
.main-partners__inner{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 82px;
    border-radius: 8px;
    border:1px solid #e6e6e6;
    padding:5px;
    overflow: hidden;
}

/* WHAT WE DO */
.what-items{
    display: flex;
    flex-wrap: wrap;
    margin:-12px;
}
.what-item{
    width: 33.3333%;
    padding:12px;
}
.what-item__inner{
    position: relative;
    display: block;
    width: 100%;
    padding-top:100%;
    border-radius: 25px;
    overflow: hidden;
    -webkit-transition: all ease-out .2s; -ms-transition: all ease-out .2s; transition: all ease-out .2s;
}
.what-item__con{
    position: absolute;
    top:50%;
    left:50%;
    -webkit-transform: translate(-50%,-50%); -ms-transform: translate(-50%,-50%); transform: translate(-50%,-50%);
    width: 100%;
    height: 100%;
    padding:35px 30px;
}
.what-item__tit, .what-item__txt, .what-item__more{
    -webkit-transition: all ease-out .5s; -ms-transition: all ease-out .5s; transition: all ease-out .5s;
}
.what-item__txt{
    line-height: 1.5;
    /* text-shadow: 1px 1px 10px #fff; */
}
.what-item__more{
    display: inline-block;
    font-size: 16px;
    line-height: 1.2;
    color: #222;
    font-family:"Amiri","Pretendard","NotoKR","Apple SD Gothic Neo",Helvetica,sans-serif,Arial;
    border-bottom:1px solid #999;
}
.what-item__img{
    position: absolute;
    top:50%;
    left:50%;
    z-index: -1;
    -webkit-transform: translate(-50%,-50%); -ms-transform: translate(-50%,-50%); transform: translate(-50%,-50%);
    display: block;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position:center;
    background-size: cover;
}
.what-item__img1{background-image: url(/child/img/main/what-bg.png);}
.what-item__img2{background-image: url(/child/img/main/what-bg2.png);}
.what-item__img3{background-image: url(/child/img/main/what-bg3.png);}
.what-item__img4{background-image: url(/child/img/main/what-bg4.png);}
.what-item__img5{background-image: url(/child/img/main/what-bg5.png);}
.what-item__img6{background-image: url(/child/img/main/what-bg6.png);}
@media (min-width:1025px){
    .what-item__inner:hover{
        background-color: rgba(0,0,0,.5);
    }
    .what-item__inner:hover .what-item__tit,
    .what-item__inner:hover .what-item__txt,
    .what-item__inner:hover .what-item__more{
        color:#fff !important;
        text-shadow: none;
    }
    .what-item__inner:hover .what-item__more{
        border-color:#fff;
    }
}
@media (max-width:1024px){
    .what-items{
        margin:-8px;
    }
    .what-item{
        padding:8px;
    }
    .what-item__con{
        padding: 25px;
    }
}
@media (max-width:768px){
    .what-items{
        margin:-5px;
    }
    .what-item{
        width: 50%;
        padding:5px;
    }
}
@media (max-width:576px){
    .what-item{
        width: 100%;
    }
    .what-item__inner{
        padding-top: calc(320/580 * 100%);
            border-radius: 20px;
    }
    .what-item__img1{background-image: url(/child/img/main/what-bg-sm.png);}
    .what-item__img2{background-image: url(/child/img/main/what-bg2-sm.png);}
    .what-item__img3{background-image: url(/child/img/main/what-bg3-sm.png);}
    .what-item__img4{background-image: url(/child/img/main/what-bg4-sm.png);}
    .what-item__img5{background-image: url(/child/img/main/what-bg5-sm.png);}
    .what-item__img6{background-image: url(/child/img/main/what-bg6-sm.png);}
    .what-item__con {
        padding:25px;
    }
}

/* OUR TREND */
.main-section--trend{
    background-color: #222;
}
.trend-items{
    margin:-12px;
}
.trend-items:after {content:""; display:block; clear:both;}
.trend-item{
    float: left;
    width: 33.3333%;
    padding:12px;
}
.trend-item__inner{
    position: relative;
    display: block;
    width: 100%;
    border-radius: 25px;
    overflow: hidden;
}
.trend-item__inner img{
    width: 100%;
    height: 100%;
}
.trend-item__img{
    line-height: 0;
}
.trend-item__con{
    position: absolute;
    bottom:0;
    left:0;
    display: flex;
    align-items: flex-end;
    padding:0 25px 25px;
    width: 100%;
    height: 90px;
    background-image: -webkit-linear-gradient(to top, rgba(0,0,0,.5), transparent);
    background-image: -moz-linear-gradient(to top, rgba(0,0,0,.5), transparent);
    background-image: -ms-linear-gradient(to top, rgba(0,0,0,.5), transparent);
    background-image: -o-linear-gradient(to top, rgba(0,0,0,.5), transparent);
    background-image: linear-gradient(to top, rgba(0,0,0,.5), transparent);
    transform: translateY(100%); opacity: 0; visibility: hidden;
    -webkit-transition: all ease-out .5s; -ms-transition: all ease-out .5s; transition: all ease-out .5s;
}
.trend-item__txt{
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (min-width:1025px){
    .trend-item__inner:hover .trend-item__con{
        transform: translateY(0); opacity: 1; visibility: visible;
    }
}
@media (max-width:1024px){
    .trend-item__inner{
        border-radius: 20px;
    }
    .trend-item__con{
        transform: translateY(0); opacity: 1; visibility: visible;
    }
}
@media (max-width:768px){
    .trend-items{
        margin:-8px;
    }
    .trend-item{
        padding:8px;
    }
}
@media (max-width:576px){
    .trend-items{
        margin:-2px;
    }
    .trend-item{
        width: 50%;
        padding:2px;
    }
    .trend-item__con{
        padding: 0 15px 15px;
    }
}
@media (max-width:320px){
    .trend-item{
        width: 100%;
    }
}

/* OUR PRODUCTS */
.main-section--product .tab-list{
    max-width: 700px;
    margin: 0 auto 50px;
}
.photo-items-wrap{
    max-width: 1920px;
    margin:auto;
    padding:0 24px;
}
.photo-items{
    display: flex;
    flex-wrap: wrap;
    margin:-12px;
}
.photo-item{
    width: 25%;
    padding:12px;
}
.photo-item__inner{
    position: relative;
    display: block;
    width: 100%;
    padding-top: 100%;
    border-radius: 25px;
    overflow: hidden;
}
.photo-item__con{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: absolute;
    top:50%;
    left:50%;
    z-index: 1;
    -webkit-transform: translate(-50%,-50%); -ms-transform: translate(-50%,-50%); transform: translate(-50%,-50%);
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    padding:20px;
    background-color: rgba(255,255,255,.8);
    border-radius: 25px;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all ease-out .5s; -ms-transition: all ease-out .5s; transition: all ease-out .5s;
}
.photo-item__con-inner{
    width: 100%;
}
.photo-item__img{
    position: absolute;
    top:50%;
    left:50%;
    -webkit-transform: translate(-50%,-50%); -ms-transform: translate(-50%,-50%); transform: translate(-50%,-50%);
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position:center;
    background-size: cover;
    border-radius: 25px;
}
.photo-item__tit{
    font-weight: 600;
    line-height: 1.2;
    max-height: 2.4em;
    overflow: hidden; text-align: center; text-overflow: ellipsis; white-space: normal; word-wrap: break-word; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.photo-item__txt{
    display: block;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.photo-item__more{
    display: inline-block;
    font-size: 16px;
    line-height: 1.2;
    color: #222;
    font-family: "Amiri","Pretendard","NotoKR","Apple SD Gothic Neo",Helvetica,sans-serif,Arial;
    border-bottom: 1px solid #999;
}
@media (min-width:1025px){
    .photo-item__inner:hover .photo-item__con{
        opacity: 1;
        visibility: visible;
    }

    .main-section--product .tab-list--underline:before, .main-section--product .tab-list--underline > li::before{display: none;}
    .main-section--product .tab-list--underline > li span{
        position: relative;
        display: block;
        height: 100%;
    }
    .main-section--product .tab-list--underline > li span::before { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: #222; -webkit-transform: scaleX(0); transform: scaleX(0); -webkit-transform-origin: center; transform-origin: center; opacity: 0; -webkit-transition: all ease-in-out .3s; transition: all ease-in-out .3s; }
    .main-section--product .tab-list--underline > li.on span::before { opacity: 1; -webkit-transform: scaleX(1); transform: scaleX(1); }
}
@media (max-width:1200px){
    .photo-item{
        width: 33.3333%;
    }
}
@media (max-width:1024px){
    .main-section--product .tab-list >li{
        width: 33.3333%;
    }

    .photo-items{
        margin:-20px -12px;
    }
    .photo-item{
        padding: 20px 12px;
    }
    .photo-item__inner{
        display: flex;
        flex-wrap: wrap;
        padding: 0;
        border-radius: 0;
    }
    .photo-item__con{
        order: 2;
        position: static;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        height: auto;
        padding: 10px 0 0;
        opacity: 1;
        visibility: visible;
    }
    .photo-item__tit, .photo-item__txt{
        text-align: left;
    }
    .photo-item__img{
        order: 1;
        position: static;
        top: auto;
        left: auto;
        transform: none;
        padding-top: 100%;
        border-radius: 20px;
    }
    .photo-item__more{display: none;}
}
@media (max-width:768px){
    .main-section--product .tab-list{
        margin-bottom: 35px;
    }

    .photo-items{
        margin:-15px -8px;
    }
    .photo-item{
        width: 50%;
        padding: 15px 8px;
    }
}
@media (max-width:576px){
    .photo-items-wrap{
        padding:0 15px;
    }
    .photo-items{
        margin:-14px -2px;
    }
    .photo-item{
        padding: 14px 2px;
    }
}
@media (max-width:320px){
    .photo-item{
        width: 100%;
    }
}

/* 자사브랜드 */
.main-section--logo{
    padding:16px 0;
    border-top:1px solid #e6e6e6;
    border-bottom:1px solid #e6e6e6;
}
.main-section--logo .img-wrap{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
