.txt_shadow{text-shadow: 0px 10px 10px rgba(0,0,0,0.3);}
.shadow{box-shadow: 0px 10px 10px rgba(0,0,0,0.3);}


/* mainSlide */
.mainSlide{width: 100%; height: 100vh; top: 0; left: 0; background-image: url(/images/main/mainSlide.jpg); background-position: center; background-repeat: repeat; background-size: cover; overflow: hidden;}
.mainSlide .container{height: 100%;}

.mainSlide .textBox{z-index: 10;}
.mainSlide .textBox .titTop{width: 38rem; border-radius: 100px; margin: auto; padding-top: 0.5rem; position: relative;}
.mainSlide .textBox .titTop:before{position: absolute; content: ""; width: 0.4rem; height: 0.4rem; background-color: #000; border-radius: 50%; top: 50%; transform: translateY(-50%); left: 2rem;}
.mainSlide .textBox .titTop:after{position: absolute; content: ""; width: 0.4rem; height: 0.4rem; background-color: #000; border-radius: 50%; top: 50%; transform: translateY(-50%); right: 2rem;}
.mainSlide .textBox .title{letter-spacing: -0.05em;}
.mainSlide .textBox .title h2{width: 100%;}
.mainSlide .textBox .title .textswiper{height: 11rem; border-bottom: 2px solid #fff; margin-left: 0 !important;}
.mainSlide .textBox .title span{color: var(--pointcolor); -webkit-text-stroke: 2px #fff; text-stroke: 2px #fff; display: inline-block;}

.mainSlide .pin{width: 100%; position: absolute; overflow: hidden; top: 50%; transform: translateY(-50%); left: 0; flex-wrap: wrap; align-items: center;}
.mainSlide .pin .textplay{width: 100%; text-align: center;}
.mainSlide .pin .textplay .play{color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,0.3); text-stroke: 2px rgba(255,255,255,0.3); animation: textLoop 80s linear infinite; justify-content: space-around; min-width: 250%; flex-shrink: 0; }
.mainSlide .pin .textplay:nth-child(2) .play{animation-direction: reverse; margin-top: 18rem;}
.mainSlide .pin .textplay .play li{box-sizing: border-box; flex-shrink: 0;}

@keyframes textLoop {
    0%{ transform: translate(0, 0); }
    100%{ transform: translate(-100%, 0);}
}

.mainSlide .scroll_icon{position: absolute; left: 50%; bottom: 3rem; transform: translateX(-50%); width: 1.4rem; height: 4rem; overflow: hidden;}
.mainSlide .scroll_icon i{color: #fff; font-size: 2rem;  animation: bannScroll 1.4s ease infinite; position: absolute; top: 0;}
.mainSlide .scroll_icon i:nth-child(1){animation-delay: 0.5s;}
.mainSlide .scroll_icon i:nth-child(2){}

@keyframes bannScroll{
    0%{ top: 0; opacity: 0; }
    50%{ top: 30%; opacity: 1; }
    100%{ top: 60%;opacity: 0; }
}

@media (max-width:768px) {
    .mainSlide .textBox .titTop{width: 28rem; margin-bottom: 1rem;}
    .mainSlide .textBox .titTop p{font-size: 2rem; letter-spacing: 0.2em;}
    .mainSlide .textBox .title h2{text-align: center;}
    .mainSlide .textBox .title h2 .box{justify-content: center; margin-right: 0;}
    .mainSlide .pin .textplay .play{font-size: 5rem; -webkit-text-stroke: 1px rgba(255,255,255,0.3); text-stroke: 1px rgba(255,255,255,0.3);}
    .mainSlide .pin .textplay:nth-child(2) .play{margin-top: 42rem;}
    .mainSlide .textBox > p{font-size: 2rem;}

    .mainSlide .scroll_icon{bottom: 2rem;}
    
}
@media (max-width:500px) {
    .mainSlide .pin .textplay .play{font-size: 4rem;}
    .mainSlide .pin .textplay:nth-child(2) .play{margin-top: 38rem;}
}


/* chatSwiper */
.chat{position: relative;}
.chat:after{content: ""; position: absolute; width: 37%; height: 100%; top: 0; left: 50%; transform: translateX(-50%); background-image: url(/images/main/chat_bg.png); background-position: center 12rem; background-repeat: no-repeat; background-size: 100%;}

@media (max-width:990px) {
    .chat:after{background-position: center 10rem;}
}
@media (max-width:768px) {
    .chat:after{background-position: center 9rem; width: 55%;}
}
@media (max-width:500px) {
    .chat:after{background-position: center 8rem; width: 70%;}
}


/* count */
.count{}
.count .box{position: relative;}
.count .box:after{content:""; position: absolute; width: 24rem; height: 1.4rem; background-color: #e2e2e2; border-radius: 50%; bottom: 0;filter: blur(3px);-webkit-filter: blur(3px);}
.count .box .txtbox{width: 25rem;}
.count .box .txtbox .cont{align-items: baseline;}

@media (max-width:1400px) {
    .count .box:nth-child(1){padding-left: 8%;}
    .count .box:nth-child(2){padding-right: 8%;}
}
@media (max-width:768px) {
    .count .box:nth-child(1){padding-left: 5%;}
    .count .box:nth-child(2){padding-right: 5%;}
}
@media (max-width:660px) {
    .count .container{flex-wrap:wrap; align-items: center;}
    .count .box{justify-content: center;}
    .count .box:nth-child(1){padding-left: 0%; width: 100%;}
    .count .box:nth-child(2){padding-right: 0%; width: 100%; margin-top: 6rem;}
}


/* reason */
.reason{}
.reason .line{width: 2px; height: 14rem; background-image: linear-gradient(rgba(183,183,183,1),rgba(183,183,183,0)); margin: 3.75rem auto 0;}
.reason .cont{position: relative; width: 100%; background-color: var(--pointcolor); overflow: hidden;}
.reason .cont:after{content: "WE DO"; position: absolute; color: #0e32f3; font-size: 9.375rem; font-weight: 700; top: -1.3rem;left: 0; line-height: 1;}
.reason .cont .section-left{padding-right: calc((100% - var(--layoutwidth)) / 2)}
.reason .cont .txtbox{}
.reason .cont .txtbox .line2{position: relative; width: 27rem; height: 1px;}
.reason .cont .txtbox .line2:after{content: ""; position: absolute; width: 200%; height: 1px; top: 0; right: 0; background-color: #fff;}
.reason .cont .txtbox .moreBtn{border-radius: 100px; border: 2px solid #fff; box-shadow: 6px 6px 20px rgba(0,0,0,0.1); display: inline-block;}
.reason .cont .txtbox .moreBtn a{padding: 1rem 4rem; display: block;}
.reason .cont .swiperBox{width: 33rem;}
.reason .cont .swiperBox .box{}
.reason .cont .swiperBox .box .banSwiper{height: 50rem;}
.reason .cont .swiperBox .box .banSwiper img{display: block; width: 100%; object-fit: cover;}

@media (max-width:1120px) {
    .reason .cont .section-left{padding-right:0%; padding-left: 0;}
    .reason .cont .section-left .txtbox{text-align: center;}
    .reason .cont .txtbox .line2{width: 35rem;}
    .reason .cont .txtbox .line2:after{width: 100%;}
}
@media (max-width:768px) {
    .reason .cont{padding-bottom: 80px;}
    .reason .cont .swiperBox{width: 100%;}
    .reason .cont .swiperBox .box .banSwiper{height: auto;}
    .reason .cont .txtbox .line2{width: 76vw;}
}
@media (max-width:500px) {
    .reason .cont .txtbox .line2{width: 78vw;}
}@media (max-width:400px) {
    .reason .cont .txtbox .line2{width: 100%;}
}


/* portfolios */
.portfolios{}
.portfolios .titbox .container{justify-content: flex-end;}
.portfolios .titbox{position: relative;}
.portfolios .titbox:before{position: absolute; content: ""; top:6.5em; width: 48%; height: 1px; background-color: #232323; left: 0%;}
.portfolios .titbox:after{position: absolute; content: ""; top: 6.5rem; width: 20vw; height: 1px; background-color: var(--pointcolor); right: 0;}
.portfolios .titbox h3{z-index: 10; position: relative;}

.width49{width: 49.8%;}
.width24{width: 24.6%;}
.portfolios .cont_box .boxWrap{}
.portfolios .cont_box .boxWrap .box{margin: 0.1rem 0;}
.portfolios .cont_box .boxWrap .box img.visible{}
.portfolios .cont_box .boxWrap .box img.hover{display: none;}
.portfolios .cont_box .boxWrap .box:hover img.visible{display: none;}
.portfolios .cont_box .boxWrap .box:hover img.hover{display: block;}

.portfolios .boxWrap:nth-child(1) .box:nth-child(1){order:1;}
.portfolios .boxWrap:nth-child(1) .box:nth-child(2){order:2;}
.portfolios .boxWrap:nth-child(1) .box:nth-child(3){order:3;}
.portfolios .boxWrap:nth-child(2) .box:nth-child(1){order:1;}
.portfolios .boxWrap:nth-child(2) .box:nth-child(2){order:2;}
.portfolios .boxWrap:nth-child(2) .box:nth-child(3){order:3;}
.portfolios .boxWrap:nth-child(3) .box:nth-child(1){order:1;}
.portfolios .boxWrap:nth-child(3) .box:nth-child(2){order:2;}
.portfolios .boxWrap:nth-child(3) .box:nth-child(3){order:3;}
.portfolios .boxWrap:nth-child(4) .box:nth-child(1){order:1;}
.portfolios .boxWrap:nth-child(4) .box:nth-child(2){order:2;}
.portfolios .boxWrap:nth-child(4) .box:nth-child(3){order:3;}

.portfolios .more_btn{margin: 5rem auto 0; text-align: center;}
.portfolios .more_btn p{padding: 1rem 9rem; display: inline-block; border-radius: 100px; }

@media (max-width:768px) {
    .portfolios .tit p:nth-child(1){font-size: 1.9rem;}
    .portfolios .titbox:before{top: 5rem; width: 60%;}
    .portfolios .titbox:after{top: 5rem;}

    .portfolios .boxWrap{flex-wrap: wrap;}
    .portfolios .cont_box .boxWrap .box{margin: 0.3rem 0;}
    .portfolios .boxWrap:nth-child(1) .box:nth-child(1){order:1; width: 100%;}
    .portfolios .boxWrap:nth-child(1) .box:nth-child(2){order:2; width: 49.5%;}
    .portfolios .boxWrap:nth-child(1) .box:nth-child(3){order:3;width: 49.5%;}
    .portfolios .boxWrap:nth-child(2) .box:nth-child(1){order:2;width: 49.5%;}
    .portfolios .boxWrap:nth-child(2) .box:nth-child(2){order:1; width: 100%;}
    .portfolios .boxWrap:nth-child(2) .box:nth-child(3){order:3;width: 49.5%;}
    .portfolios .boxWrap:nth-child(3) .box:nth-child(1){order:1; width: 100%;}
    .portfolios .boxWrap:nth-child(3) .box:nth-child(2){order:2; width: 49.5%;}
    .portfolios .boxWrap:nth-child(3) .box:nth-child(3){order:3; width: 49.5%;}
    .portfolios .boxWrap:nth-child(4) .box:nth-child(1){order:2;width: 49.5%;}
    .portfolios .boxWrap:nth-child(4) .box:nth-child(2){order:3;width: 49.5%;}
    .portfolios .boxWrap:nth-child(4) .box:nth-child(3){order:1;width: 100%;}

    .portfolios .more_btn p{width: 100%; padding: 1rem;}
}


/* weStory */
.weStory{position:relative; overflow: hidden;}
.weStory .text_bg{position: absolute; top: -1.4rem; left: 0; color: #f7f7f7;}
.weStory .titBox{z-index: 10; position: relative}
.weStory .titBox .line{width: 1px; height: 3rem; background-color: #232323; margin: 1rem auto 2rem;}

.storySwiper .swiper-slide .swiper-wrapper{}
.storySwiper .swiper-slide{padding: 12rem 20px 7rem; position: relative; opacity: 0.3; cursor: pointer;}
.storySwiper .swiper-slide .inner{border-radius: 1.25rem; border: 0px solid var(--pointcolor); position: relative; padding: 5rem 3rem; box-shadow: 5px 5px 15px rgba(0,0,0,0.05);}
.storySwiper .swiper-slide .inner:after{content: ""; position: absolute; width: 80%; height: 140%;  right: -20px; background-position: right center; background-repeat: no-repeat; background-size: contain;}
.storySwiper .swiper-slide.slide01 .inner:after{background-image: url(/images/main/weStory01.png); bottom: -2rem;}
.storySwiper .swiper-slide.slide02 .inner:after{background-image: url(/images/main/weStory02.png); bottom: -2rem;}
.storySwiper .swiper-slide.slide03 .inner:after{background-image: url(/images/main/weStory03.png); bottom: -2rem;}
.storySwiper .swiper-slide .inner .txtbox{z-index: 10; position: relative;}

.storySwiper .swiper-slide .inner > p{position: absolute; opacity: 0.07; left: 3rem; bottom: -0.7rem;}

.storySwiper .swiper-slide-active {/*transform: scale(1.5);*/ opacity: 1;}
.storySwiper .swiper-slide-active .inner{ border: 2px solid var(--pointcolor);}

.storySwiper .swiper-pagination-bullet{width: 0.75rem; height: 0.75rem; margin: 0 0.5rem !important;}
.storySwiper .swiper-pagination-bullet-active{background-color: var(--pointcolor);}

@media (max-width:768px) {
    .storySwiper .swiper-slide{padding: 0rem 10% 7rem;}
    .storySwiper .swiper-slide .inner{padding: 4rem 3rem 20rem; box-shadow: 5px 5px 15px rgba(0,0,0,0.05);}
    .storySwiper .swiper-slide .inner:after{width: 80%; height: 80%;}
    .storySwiper .swiper-slide .inner .txtbox{width: 100%;}
    .storySwiper .swiper-slide .inner .txtbox p{width: 70%;}
}
@media (max-width:500px) {
    .storySwiper .swiper-slide .inner:after{width: 100%; height: 60%;}
    .storySwiper .swiper-slide .inner .txtbox p{width: 90%;}
}
@media (max-width:400px) {
    .storySwiper .swiper-slide .inner:after{height: 50%;}
    .storySwiper .swiper-slide .inner .txtbox p{width: 100%;}
}


/* textScroll */
.textScroll{position: relative;}
.textScroll .pin{width: 100%; position: relative; overflow: hidden; flex-wrap: wrap; align-items: center;}
.textScroll .pin .textplay{width: 100%; text-align: center;}
.textScroll .pin .textplay .play{ animation: textLoop2 80s linear infinite; justify-content: space-around; min-width: 400%; flex-shrink: 0; }
.textScroll .pin .textplay1 .play{color: #232323;}
.textScroll .pin .textplay2 .play{color: transparent; -webkit-text-stroke: 2px #232323; text-stroke: 2px #232323;}
.textScroll .pin .textplay:nth-child(2) .play{animation-direction: reverse;}
.textScroll .pin .textplay .play li{box-sizing: border-box; flex-shrink: 0;}

@keyframes textLoop2 {
    0%{ transform: translate(0, 0); }
    100%{ transform: translate(-100%, 0);}
}

@media (max-width:500px) {
    .textScroll .pin .textplay .play{font-size: 4rem;}
    .textScroll .pin .textplay2 .play{ -webkit-text-stroke: 1px #232323; text-stroke: 1px #232323;}
}


/* contact */
.contact{}
.contact > .box{border-radius: 1.875rem; width: 90%; margin: auto; padding: 4rem 0; overflow: hidden; box-shadow: 17px 17px 27px rgba(35,35,35,0.2); position: relative;}
.contact > .box .bg_text{position: absolute; top: -1.3rem; right: 0; color: rgba(255,255,255,0.05);}

.contact .box .txtBox{}
.contact .box .txtBox h4{letter-spacing: -0.04em;}
.contact .box .txtBox .line3{position: relative; width: 24rem;}
.contact .box .txtBox .line3:after{content: ""; width: 200%; height: 1px; background-color: #fff; position: absolute; top: 0; right: 0;}

.contact .box .txtBox .agree_box input.agree_checkbox { width: 0; height: 0; display: none;}
.contact .box .txtBox .agree_box input.agree_checkbox + label { position: relative; padding-left: 3rem; font-size: 2.8rem;}
.contact .box .txtBox .agree_box input.agree_checkbox:checked + label{color:var(--pointcolor2);}
.contact .box .txtBox .agree_box input.agree_checkbox + label::before { position: absolute; content: ''; display: inline-block; width: 2rem; height: 2rem; cursor: pointer; border: 2px solid #fff; bottom: 0.8rem; left: 0; background-color: #fff;}
.contact .box .txtBox .agree_box input.agree_checkbox:checked + label::before { background: var(--pointcolor2) url(/images/main/check.png)no-repeat center; background-size: 100%; }
.contact .box .txtBox .form .box{width: 32%;}
.contact .box .txtBox .form .box input{width: 100%; border: none; box-shadow: none; font-size: 1.5rem; padding: 0.8rem 2rem; border-radius: 100px;}
.contact .box .txtBox .form .box input::placeholder{color: rgba(183,183,183,0.5);}
.contact .box .txtBox .form .box input:focus{ border: none !important; box-shadow: none !important;}
.contact .box .txtBox textarea{width: 100%; font-size: 1.5rem;  padding: 0.8rem 2rem;border: none !important; box-shadow: none !important;}
.contact .box .txtBox textarea:focus{border: none !important; box-shadow: none !important;}
.contact .box .txtBox textarea::placeholder{color: rgba(183,183,183,0.5);}

.contact .box .txtBox .keyword{flex-wrap: wrap;}
.contact .box .txtBox .keyword .kw{margin-bottom: 0.4rem;}
.contact .box .txtBox .keyword .kw input{display: none;}
.contact .box .txtBox .keyword .kw input + label{padding: 0.6rem 1.8rem; border: 1px solid #fff; border-radius: 100px; cursor: pointer; display: block;}
.contact .box .txtBox .keyword .kw input:checked + label{background-color:var(--pointcolor2); color: var(--pointcolor); font-weight: 600;}

.contact .box .txtBox .agree_03 input.agree_checkbox{width: 0; height: 0; display: none;}
.contact .box .txtBox .agree_03 input.agree_checkbox + label{position: relative; padding-left: 1.4rem;}
.contact .box .txtBox .agree_03 input.agree_checkbox + label::before { position: absolute; content: ''; display: inline-block; width: 1rem; height: 1rem; cursor: pointer; border: 2px solid #fff; bottom: 0.1rem; left: 0; background-color: #fff;}
.contact .box .txtBox .agree_03 input.agree_checkbox:checked + label::before { background: #fff url(/images/main/chk.png)no-repeat center; background-size: 100%; }
.contact .box .txtBox .submit_btn{padding: 1rem; border: 2px solid #fff; border-radius: 100px; margin: auto; width: 26rem; color: #232323; cursor: pointer;}

@media (max-width:1400px) {
    .contact .box .txtBox{padding-left: 5%; padding-right: 5%;} 
}
@media (max-width:1120px) {
    .contact > .box{width: 90%;}
    .contact .box .txtBox{padding-left: 0%; padding-right: 0%;} 
}
@media (max-width:768px) {
    .contact > .box{padding: 12rem 0 4rem;}
    .contact .box .txtBox .form .box input{padding: 1.4rem 2rem;}
    .contact .box .txtBox .agree_03 input.agree_checkbox + label{font-size: 14px; padding-left: 2.4rem;}
    .contact .box .txtBox .agree_03 input.agree_checkbox + label::before{width: 1.6rem; height: 1.6rem; }
    .contact .box .txtBox .keyword{font-size: 1.4rem;}
}
@media (max-width:500px) {
    .contact .box .txtBox .form{flex-wrap: wrap;}
    .contact .box .txtBox .form .box{width: 100%;}
    .contact .box .txtBox .form .box:nth-child(1){margin-bottom: 0.8rem;}
    .contact .box .txtBox .form .box:nth-child(2){margin-bottom: 0.8rem;}
    .contact > .box .bg_text{top: -1rem;}
    .contact > .box .bg_text p{font-size: 15vw;}
}
@media (max-width:400px) {
    .contact .box .txtBox .agree_box{flex-wrap: wrap;}
    .contact .box .txtBox .agree_box div{width: 100%;}
    .contact .box .txtBox .submit_btn{width: 100%;}
}


/* footer */
.footer{color: rgba(35,35,35,0.4);}
.footer .container .iconBox .icon{width: 3.12rem;}
.footer .master p{border: 1px solid rgba(35,35,35,0.4); display: inline-block; padding: 0.2rem 0.6rem; }

@media (max-width:768px) {
    .footer .container{flex-wrap: wrap;}
    .footer .container .infor{width: 100%;}
    .footer .container .iconBox{margin-top: 6rem;}
}
@media (max-width:500px) {
    .footer .container .infor .boxwrap{flex-wrap: wrap;}
    .footer .container .infor .boxwrap .box{width: 100%;}
    .footer .container .infor .boxwrap .box:nth-child(2){margin-top: 1.4rem;}
}


/* contactBtn */
.contactBtn{display: block;}
.contactBtn.show{display: none;}
.contactBtn .quick{position: fixed; right: 2%; bottom: 7.5rem; z-index: 1000; width: 5rem; height: 5rem; border-radius: 50%; box-shadow: 10px 10px 20px rgba(0,0,0,0.1);}
.contactBtn .quick img{width: 2.6rem;}


/* sub-portfolio */
.moreBtn{background-color: #f3f3f3; }
.moreBtn p{padding: 1.4rem 5rem; background-color: #fff; border-radius: 100px; box-shadow: 6px 6px 20px rgba(0,0,0,0.1); display: inline-block;}

@media (max-width:768px) {
    .moreBtn p{padding: 2rem 1rem; font-size: 2.6rem; width: 100%;}
}
@media (max-width:500px) {
    .moreBtn p{padding: 4vw 0; font-size: 5vw;}
}


/* ytube */
.youtube{position: relative;}
.youtube .youtube_inner{width: 100%; aspect-ratio: 16/9;}
.youtube .youtube_inner iframe{width: 100%; height: 100%; object-fit: cover;}

[pageName=koreaPTP] .youtube{background-color: #e5eeff;}
[pageName=seobreast] .youtube{background-color: #5d4c42;}
[pageName=seobreast] .youtube .youtube_inner{height: 373px;}

@media (max-width:1120px) {
    [pageName=seobreast] .youtube .youtube_inner{height: 29.9vw;}
}
@media (max-width:500px) {
}
