@charset "utf-8";

/*
============================================================

1.	작 업 일 : 2019.03.27
2.	작 성 자 :  정 연 주
3.	마지막 수정일 : 2019.04.03
4.  마지막 작업자 : 정 연 주

============================================================
*/

/*s ###### 기본화면 모바일 기준 ######*/


/*s=====메인슬라이드=====*/

#visual{
	height:100vh;
}

.swiper-slide .text p{
    color: #fff;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
    line-height: 1.2em;
    text-align: center;
}
.swiper-slide .text p:nth-child(1){
    font-size: 12px;
    letter-spacing: 5px;
    margin-bottom: 10px;
}
.swiper-slide .text p:nth-child(2){
    font-size: 26px;
    letter-spacing: 1.5px;
}

.swiper-slide .text img{width:100%;height:auto;}

.swiper-container .visual1{
    background: url(../img/visual1.jpg) no-repeat center/cover;
}
.swiper-container .visual2{
    background: url(../img/visual2.jpg) no-repeat center/cover;
}
.swiper-container .visual3{
    background: url(../img/visual3.jpg) no-repeat center/cover;
}

.swiper-button-prev{
    background: url(../img/prve.png) no-repeat center/100% auto!important;
}
.swiper-button-next{
    background: url(../img/next.png) no-repeat center/100% auto!important;
}
.scroll{
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 90;
    width: 60px;
    height: 60px;
}

.scroll .hexagon{
    position: absolute;
    top: 0;
    left: 0;
}
.scroll .deco1{
    animation: hex1 9s linear infinite;
}
.scroll .deco2{
    transform: rotate(180deg);
    opacity: 0.7;
    animation: hex2 9s linear infinite;
}
.scroll .hexagon img{
    width: 100%;
    height: auto;
}
.scroll .text{
    color: #fff;
    text-align: center;
    padding: 15px 0;
    font-size: 12px;
}
.scroll .text .s_ani{
    font-size: 7px;
    position: relative;
    animation: scr 1.5s linear infinite;
}
@keyframes hex1{
    0%{transform: rotate(180deg);}
    100%{transform: rotate(-180deg);}
}
@keyframes hex2{
    0%{transform: rotate(-180deg);}
    100%{transform: rotate(180deg);}
}
@keyframes scr{
    0%{top:-8px;}
    50%{top:0px;}
    100%{top:-8px;}
}

/*e=====메인슬라이드=====*/


/*s=====포트폴리오=====*/

#contents .inner{
    padding: 30px 15px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
}
#contents .inner h3{
    margin-bottom: 25px;
    font-size: 20px;
    letter-spacing: 1px;
    color: #222;
}

/*#contents .inner ul{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}*/
/*#contents .inner .p2,
#contents .inner .p3,
#contents .inner .p4{
     display: none;   
}*/

/*#contents .inner ul li{
    width: 49%;
    height: 170px;
    background: #000;
    margin-bottom: 6px;
}*/

/*#contents .inner ul li a{
    display: block;
    width: 100%;
    height: 100%;
}*/
#contents .inner ul li .over{
    display: none;
}

.more_btn{
    width: 75px;
    height: 75px;
    margin: 30px auto;
    position: relative;
	cursor: pointer;
}

.more_btn .deco2{
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(90deg);
    opacity: 0.5;
    transition: all 0.5s;
}

.more_btn img{
    width: 100%;
    height: auto;
}

.more_btn .text{
    position: absolute;
    top: 54%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.more_btn .text p{
    color: #b6b6b6;
    transition: all 0.5s;
}
.more_btn .text p:nth-child(1){
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 2px;
}
.more_btn .text p:nth-child(2){
    font-size: 12px;
    line-height: 1.2em;
    font-weight: bold;
    letter-spacing: -0.2px;
}

.more_btn:hover .deco2{
    animation: hex3 1.5s 1;
}
@keyframes hex3{
    0%{transform: rotate(90deg);}
    100%{transform: rotate(-90deg);}
}
.more_btn:hover p{
    color: #3a6f6b;
}

/*e=====포트폴리오=====*/



/*e ###### 기본화면 모바일 기준 ######*/



/*s ###### 태블릿화면 ###### */

@media screen and (min-width:768px){


    /*s=====메인슬라이드=====*/

    .swiper-slide .text p{
        text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
    }
    .swiper-slide .text p:nth-child(1){
        font-size: 13px;
        letter-spacing: 8px;
    }
    .swiper-slide .text p:nth-child(2){
        font-size: 48px;
        letter-spacing: 3.5px;
    }
    
    .swiper-button-prev,
    .swiper-button-next{
        /*background: none!important;*/
    }

    .scroll{
        bottom: 60px;
        width: 80px;
        height: 80px;
    }

    .scroll .text{
        padding: 28px 0;
    }

    /*e=====메인슬라이드=====*/


    /*s=====포트폴리오=====*/

    #contents .inner{
        padding: 50px 30px;
    }
    #contents .inner h3{
        margin-bottom: 32px;
        font-size: 30px;
        line-height: 1.2em;
        letter-spacing: 2.5px;
    }

    /*#contents .inner ul li{
        width: 32.5%;
        height: 230px;
        margin-bottom: 6px;
    }*/

    .more_btn{
        width: 80px;
        height: 80px;
        margin: 80px auto 30px auto;
    }

    /*e=====포트폴리오=====*/

}

/*e ###### 태블릿화면 ###### */



/*s ###### PC화면 ###### */

@media screen and (min-width:1200px){
    
    /*s=====메인슬라이드=====*/

    #visual{
        position: fixed;
        top: 0;
        left: 0;
    }
    .swiper-slide{
        width: 100%;
        height: 100%;
        backface-visibility: hidden!important;
        background-attachment: scroll!important;
    }
    .swiper-slide .text p:nth-child(2){
        font-size: 55px;
    }
    
    .swiper-slide .text{
        position: relative;
        top: -180px;
        opacity: 0;
        transition: all 1s;
    }
    
    .swiper-slide-active .text{
        position: relative;
        top: 0;
        opacity: 1;
    }
    
    .swiper-button-prev,
    .swiper-button-next{
        background: none!important;
    }
    
    .swiper-button-prev:hover{
        cursor: url(../img/cusor_prev.png),auto;
    }
    .swiper-button-next:hover{
        cursor: url(../img/cusor_next.png),auto;
    }
    
    .swiper-button-next,.swiper-button-prev{
        top:0!important;
        width:30%!important;
        height:100%!important;
        margin-top:0!important;
    }
    .swiper-button-prev,.swiper-container-rtl .swiper-button-next{
        left:0!important;
    }
    .swiper-button-next,.swiper-container-rtl .swiper-button-prev{
        right:0!important;
    }

    .scroll{
        bottom: 80px;
        width: 80px;
        height: 80px;
        cursor: pointer;
    }

    .scroll .text{
        padding: 28px 0;
    }

    /*e=====메인슬라이드=====*/
    
    
    /*s=====포트폴리오=====*/

    #contents{
        position: relative;
        z-index: 50;
        margin-top: 100vh;
        background: #fff;
    }
    #contents .inner{
        padding: 15px 10px;
        box-sizing: border-box;
    }
    #contents .inner h3{
        display: none;
    }
    
    #contents .inner .p2,
    #contents .inner .p3,
    #contents .inner .p4{
         display: block;   
    }
    #contents .inner{
        width: 100%;
        overflow: hidden;
    }
    
    /*#contents .inner ul{
        width: 100%;
		margin:0;
        margin-right: 0.5%;
		display:flex;
		display:block;
    }*/
  /*  #contents .inner ul:last-child{
        margin-right: 0;
    }*/
    #contents .inner ul li{
       /* width: 23.8%;*/
		margin-left:1%;
    /*   height: 450px;
        display: block;
        margin-bottom: 8px*/
		float:left;
    }
    #contents .inner ul li{
        /*background: url(../img/visual1.jpg) no-repeat center/cover;*/
    }
    #contents .inner ul li .over{
        display: block;
        width: 100%;
        height: 100%;
        padding: 4%;
        box-sizing: border-box;
        position: relative;
    }
    #contents .inner ul li .over .bl_bg{
        background: linear-gradient(140deg,#ed942b,#ef5300);
        position: absolute;
        top: 0;
        left: 0;
        width:100%;
        height: 100%;
        z-index: 10;
        opacity: 0;
        transition: all 0.5s;
    }
    #contents .inner ul li a:hover .over .bl_bg{
        opacity: 0.7;
    }
    #contents .inner ul li .over .border{
        position: relative;
        width:100%;
        height: 100%;
        z-index: 20;
    }
    #contents .inner ul li .over .border p{
        background: rgba(255, 255, 255, 0.6);
        transition: all 0.5s;
    }
    #contents .inner ul li .over .border p:nth-child(1),
    #contents .inner ul li .over .border p:nth-child(3){
        width: 0;
        height: 2px;
    }
    #contents .inner ul li .over .border p:nth-child(2),
    #contents .inner ul li .over .border p:nth-child(4){
        width: 2px;
        height: 0;
    }
    #contents .inner ul li a:hover .over .border p:nth-child(1),
    #contents .inner ul li a:hover .over .border p:nth-child(3){
        width: 100%;
        height: 2px;
    }
    #contents .inner ul li a:hover .over .border p:nth-child(2),
    #contents .inner ul li a:hover .over .border p:nth-child(4){
        width: 2px;
        height: 100%;
    }
    #contents .inner ul li .over .border p{
        position: absolute;
    }
    #contents .inner ul li .over .border p:nth-child(1){
        top:0;
        left: 0;
    }
    #contents .inner ul li .over .border p:nth-child(2){
        top:0;
        right: 0;
    }
    #contents .inner ul li .over .border p:nth-child(3){
        bottom: 0;
        right: 0;
    }
    #contents .inner ul li .over .border p:nth-child(4){
        bottom:0;
        left: 0;
    }
    #contents .inner ul li .over .subjet{
        color: #fff;
        width: 60%;
        position: absolute;
        top: 55%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 20;
        opacity: 0;
        transition: all 0.8s;
    }
    #contents .inner ul li a:hover .over .subjet{
        top: 50%;
        opacity: 1;
    }
    #contents .inner ul li .over .subjet h4{
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    #contents .inner ul .high{
        height: 680px;
    }
    
    .more_btn{
        width: 90px;
        height: 90px;
        margin: 60px auto;
    }
    
    /*e=====포트폴리오=====*/
    
}

/*e ###### PC화면 ###### */



/* ================================= */
/* ------------ LOADER ------------- */
/* ================================= */
.loader{
    position:fixed;
    z-index:110000;
    height:100%;
    width:100%;
    left:0;
    right:0;
    overflow:hidden;
    background:#000;
    top:0;
    bottom:0;
}
.cssload-spinner {
	position: absolute;
	width: 33px;
	height: 33px;
	left: 50%;
	top:50%;
}
.cssload-spinner:after, .cssload-spinner:before {
	position: absolute;
	content: "";
	border: 2px solid rgb(255,205,35);
	width: 31px;
	height: 31px;
}
.cssload-spinner:after {
	animation: cssload-spinner1 2.88s linear infinite;
		-o-animation: cssload-spinner1 2.88s linear infinite;
		-ms-animation: cssload-spinner1 2.88s linear infinite;
		-webkit-animation: cssload-spinner1 2.88s linear infinite;
		-moz-animation: cssload-spinner1 2.88s linear infinite;
}
.cssload-spinner:before {
	width: 43px;
	height: 43px;
	margin-left: -6.5px;
	margin-top: -6.5px;
	animation: cssload-spinner2 2.88s linear infinite;
		-o-animation: cssload-spinner2 2.88s linear infinite;
		-ms-animation: cssload-spinner2 2.88s linear infinite;
		-webkit-animation: cssload-spinner2 2.88s linear infinite;
		-moz-animation: cssload-spinner2 2.88s linear infinite;
}
@keyframes cssload-spinner1 {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

@-o-keyframes cssload-spinner1 {
	from {
		-o-transform: rotate(0deg);
	}
	to {
		-o-transform: rotate(360deg);
	}
}

@-ms-keyframes cssload-spinner1 {
	from {
		-ms-transform: rotate(0deg);
	}
	to {
		-ms-transform: rotate(360deg);
	}
}

@-webkit-keyframes cssload-spinner1 {
	from {
		-webkit-transform: rotate(0deg);
	}
	to {
		-webkit-transform: rotate(360deg);
	}
}

@-moz-keyframes cssload-spinner1 {
	from {
		-moz-transform: rotate(0deg);
	}
	to {
		-moz-transform: rotate(360deg);
	}
}

@keyframes cssload-spinner2 {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(-360deg);
	}
}

@-o-keyframes cssload-spinner2 {
	from {
		-o-transform: rotate(0deg);
	}
	to {
		-o-transform: rotate(-360deg);
	}
}

@-ms-keyframes cssload-spinner2 {
	from {
		-ms-transform: rotate(0deg);
	}
	to {
		-ms-transform: rotate(-360deg);
	}
}

@-webkit-keyframes cssload-spinner2 {
	from {
		-webkit-transform: rotate(0deg);
	}
	to {
		-webkit-transform: rotate(-360deg);
	}
}

@-moz-keyframes cssload-spinner2 {
	from {
		-moz-transform: rotate(0deg);
	}
	to {
		-moz-transform: rotate(-360deg);
	}
}

