@charset "utf-8";
@import url("common.css");

#wrap {height:100%; min-height:900px;}
#wrap header {width:5rem; height:100%; padding:0; position:fixed; left:0; top:0; z-index:10001;}
#wrap header > div:nth-of-type(1) {width:5rem; height:100%; min-height:600px; position:absolute; left:0; top:0; padding:0; border-right:1px solid rgba(255,255,255,.5); background:rgba(0,0,0,.3); z-index:10000;}
#wrap header.type2 > div:nth-of-type(1) {background:#0099e8; border-right:1px solid #0099e8; transition:all linear .5s;}
#wrap header.gnbon > div:nth-of-type(1) {background:#fff; border-right:1px solid #fff; transition:all linear .5s;}
#wrap header.gnboff > div:nth-of-type(1) {background:rgba(0,0,0,.3); transition:all .5s .2s;}
#wrap header h1 a {width:100%; height:100%; display:block; padding:0; background:url('../imgs/cmm/logo.png') no-repeat center center; background-size:100%;}
#wrap header h1.type2 a {background:url('../imgs/cmm/logo2.png') no-repeat center center; background-size:100%;}
#wrap header.gnbon h1 a {opacity:.6;}
#wrap header.type2.gnbon h1.type2 a {background:url('../imgs/cmm/logo.png') no-repeat center center; background-size:100%;}
.main {width:100%; height:100%; overflow:hidden; position:relative;}
.main_con {width:100%; height:100%; display:flex; box-sizing: content-box; position: relative; transition-property: transform;}
.main_con > div {width:50%; height:100%; flex-shrink: 0;}
.main01 {position:relative;}
.main01 > div.main_vr {width:100%; height:100%; position:absolute; left:0; top:0; z-index:1000;}
.main_vr > div {width:100%; height:100%; position:absolute; left:0; top:0; z-index:100; opacity:0;}
.main_vr > div:nth-of-type(1) {background:url('../imgs/main/main0101.jpg') no-repeat left center; background-size:cover; transform:scale(1.1, 1.1);}
@keyframes mainmt01 {
	0% {
		transform:scale(1.1, 1.1);
		opacity:1;
	}
	85% {
		transform:scale(1, 1);
		opacity:1;
	}
	100% {
		transform:scale(1, 1);
		opacity:0;
	}
}
.main_vr > div:nth-of-type(2) {background:url('../imgs/main/main0102.jpg') no-repeat left top; background-size:cover; transform:scale(1.1, 1.1);}
.main_vr > div:nth-of-type(3) {background:url('../imgs/main/main0103.jpg') no-repeat left center; background-size:cover; transform:scale(1.1, 1.1);}
.main_vr > div.on {animation:mainmt01 11s linear both; z-index:1000; opacity:1;} 
.main01 > div.txt_mt {position:absolute; left:10rem; top:auto; bottom:2.9375rem; z-index:1000; color:#fff; font-size:1.4rem; font-family:'LibreBaskervilleR';}
.main01 > div.txt_mt > span {margin-bottom:1.5rem; display:block; opacity:0; transform:translate(40px 0);}
.main01 > div.txt_mt > span.on {animation:maintxt 1s 1s ease-in-out both;}
.main01 > div.txt_mt > span.remove {animation:fadeout .7s ease-in-out;}
.main01 > div.txt_mt > strong {font-size:6rem; line-height:7rem; display:block;}
.main01 > div.txt_mt > strong span {display:inline-block; opacity:0; transform:translate(50px, 0);}
.main01 > div.txt_mt > strong span.on {-webkit-animation:maintxt .8s 1s ease-in-out both; animation:maintxt .8s 1s ease-out both;}
.main01 > div.txt_mt > strong span.remove {-webkit-animation:fadeout 1s ease-in-out; animation:fadeout 1s ease-out;}
@keyframes maintxt {
	0% {
		transform:translate(50px, 0);
		opacity:0;
	}
	100% {
		transform:translate(0, 0);
		opacity:1;
	}
}

@keyframes maintxt02 {
	0% {	
		opacity:0;
	}
	100% {		
		opacity:1;
	}
}

@keyframes fadeout {
	0% {		
		transform:translate(0, 0);
		opacity:1;
	}
	100% {		
		transform:translate(0, 0);
		opacity:0;
	}
}

.main02 {position:relative; background:#fff url('../imgs/main/dongwon.png') no-repeat -2.375rem center; transition:all linear 1s; background-size:320px; padding-left:5rem; overflow:hidden; z-index:10000;}
.main02.active {background-position:1.4375rem center; transition:all linear 1s;}
.main02_txt {width:calc(50% - 10rem); position:absolute; left:5rem; top:50%; margin-top:-7.1rem; transform:translate(0,0)); transition:all linear 1s; font-size:1.2rem; line-height:2rem;}
.main02_txt span, .main02_txt strong {font-size:1.6rem; font-family:'LibreBaskervilleR'; color:#000;}
.main02_txt strong {font-size:4rem; display:block; line-height:4rem; margin:1.2rem 0 3rem;}
.main02.active .main02_txt {transform:translate(6.25rem, 0); transition:all linear 1s;}
.main02 > div.main02_con {width:50%; height:100%; padding:0; position:absolute; right:0; top:0;}
.main02 > div.main02_con > div {width:calc(100% + 20px); height:100%; overflow:auto; overflow-x:hidden; padding:23.5rem 5rem 0 0;}
.main02_con ul {width:100%; padding:4.5rem 0 5rem; font-size:1.2rem; line-height:2rem;}
.main02_con ul li {padding-left:6rem; position:relative; word-break:keep-all;}
.main02_con ul li + li {margin-top:12rem;}
.main02_con ul li + li:after {content:""; position:absolute; left:6rem; top:-7.2rem; width:3rem; height:3rem; background:url('../imgs/bg/sep.png') no-repeat left top; background-size:100%;}
.main02_con ul li:nth-of-type(1) {background:url('../imgs/ico/best01.png') no-repeat left top; background-size:4.6rem;}
.main02_con ul li:nth-of-type(2) {background:url('../imgs/ico/best02.png') no-repeat left top; background-size:4.3rem;}
.main02_con ul li:nth-of-type(3) {background:url('../imgs/ico/best03.png') no-repeat left top; background-size:4rem;}
.main02_con ul li:nth-of-type(4) {background:url('../imgs/ico/best04.png') no-repeat left top; background-size:4.1rem;}
.main02_con ul li > strong, .main02_con ul li > span {font-size:3.2rem; display:block; color:#000; font-family:'LibreBaskervilleR'; line-height:100%;}
.main02_con ul li > span {font-size:1.4rem; margin:1.2rem 0 1.2rem; line-height:100%;}
.main02_con ul li > span em {color:#ca0000;}
.main02_con ul li > span > span {display:inline;}
.main02_con ul li > p {width:19rem;}
.main02_con ul li:nth-of-type(2) > p {width:20rem;}
.main02_con ul li:nth-of-type(3) > p {width:14rem;}
.main02_con ul li:nth-of-type(4) > p {width:14rem;}
.main02_con ul li > p span {display:inline;}

.btn_slide {width:100%; position:fixed; left:0; bottom:3.75rem; padding-right:3.75rem; text-align:right; background:transparent; z-index:10000;}
.btn_slide > button {width:2.4375rem; height:1.25rem; position:relative;}
.btn_slide > button:after {content:""; width:2.4375rem; height:1px; background:#fff; position:absolute; left:0; top:50%;} 
.btn_slide > button.swiper-button-disabled {display:none;}
.btn_slide.type2 > button:after {background:#000;}
.btn_slide > button:before {content:""; width:.8rem; height:.8rem; border-right:1px solid #fff; transform:rotate(45deg); position:absolute; left:-.4rem; top:-.3rem;}
.btn_slide.type2 > button:before {border-right:1px solid #000;} 
.btn_slide > button:nth-of-type(2):before {content:""; transform:rotate(135deg); left:auto; right:-.4rem; top:-.3rem;} 
.btn_slide > button + button {margin-left:2rem;}
.btn_slide > button span {font-size:0 ! important; line-height:0 ! important; text-indent:-3000em;}

.main03, .main04 {position:relative;}
.main03 > div, .main04 > div.moving {width:100%; height:100%; position:absolute; left:0; top:0; z-index:100;}
.main03 > div > div {width:100%; height:100%; position:relative; overflow:hidden;}
.main03 > div > div > div:nth-of-type(1) {width:100%; height:100%; transform:scale(1.2, 1.2);}
.business, .business > div:nth-of-type(1) {width:100%; height:100%; background:url('../imgs/main/main03.jpg') no-repeat left top; background-size:cover;}
.belief, .belief > div:nth-of-type(1) {background:url('../imgs/main/main0301.jpg') no-repeat center center; background-size:cover;}
.speed, .speed > div:nth-of-type(1) {background:url('../imgs/main/main0302.jpg') no-repeat center center; background-size:cover;}
.safe, .safe > div:nth-of-type(1) {background:url('../imgs/main/main0303.jpg') no-repeat center center; background-size:cover;}
.satisfaction, .satisfaction > div:nth-of-type(1) {background:url('../imgs/main/main0304.jpg') no-repeat center center; background-size:cover;}

.main03 > div > div > div:nth-of-type(1).on {-webkit-animation:mainmt02 12.5s ease-in-out infinite; z-index:1000; animation:mainmt02 12.5s ease-in-out infinite; z-index:1000;}
@keyframes mainmt02 {
	0% {
		transform:scale(1.2, 1.2);
	}
	85% {
		transform:scale(1, 1);
		opacity:1;
	}
	90% {
		transform:scale(1, 1);
		opacity:0;
	}
	100% {
		transform:scale(1.2, 1.2);
		opacity:1;
	}
}

.txt_area {position:absolute; left:3.875rem; top:50%; margin-top:-85px; color:#fff; font-size:1.2rem; line-height:2rem; transform:translate(0, 0); transition:all linear 1s; z-index:1000;}
.active .txt_area {transform:translate(6.25rem, 0); transition:all linear 1s;}
.txt_area > span, .txt_area > strong {font-size:1.6rem; font-family:'LibreBaskervilleR';}
.txt_area > span {opacity:0;}
.business ~ div > .txt_area > span {opacity:1;}
.txt_area > span.on {-webkit-animation:maintxt02 .8s 1s ease-out both; animation:maintxt02 1.2s 1s ease-out both;}
.txt_area > strong {font-size:4rem; line-height:4rem; margin:1rem 0 3.2rem; display:block;}
.txt_area > strong span {display:inline-block; opacity:0; transform:translate(50px, 0);}
.business > div.txt_area > strong span.on, .main04 .txt_area > strong span.on {-webkit-animation:maintxt .8s 1.5s ease-in-out both; animation:maintxt .8s 1.5s ease-in-out both;}
.txt_area > p > span {display:block; opacity:0;}
.txt_area > p > span.on { -webkit-animation:maintxt02 1.2s 2s ease-in-out both; animation:maintxt02 1.2s 2s ease-in-out both;}
.interaction {position:absolute; right:3.75rem; top:50%; margin-top:-172.5px; z-index:1000;}
.main03 .interaction {margin-top:-10.78125rem;}
.interaction li {width:6rem;}
.interaction li + li {margin-top:1.5rem;}
.interaction li button, .interaction li a {width:100%; height:100%; position:relative; padding:6rem 0 0; display:block; text-align:center;}
.interaction li button:after, .interaction li a:after {content:""; width:6rem; height:6rem; border-radius:100%; background:rgba(0,0,0,.5); position:absolute; left:0; top:0;} 
.interaction li button:hover:after, .interaction li.on button:after, .interaction li a:hover:after, .interaction li.on a:after {background:#0099e8;}
.interaction li button:before, .interaction li a:before {content:""; width:6rem; height:6rem; position:absolute; left:0; top:0; background:url('../imgs/ico/belief.png') no-repeat center center; background-size:2.8rem; z-index:2;}
.interaction li:nth-of-type(2) button:before {background-image:url('../imgs/ico/speed.png'); background-size:2.8rem;}
.interaction li:nth-of-type(3) button:before {background-image:url('../imgs/ico/safe.png'); background-size:3rem;}
.interaction li:nth-of-type(4) button:before {background-image:url('../imgs/ico/best.png'); background-size:2.7rem;}
.interaction li button span, .interaction li a span {color:#fff; font-size:1.2rem; margin-top:.3rem; display:block;}

.main04 .txt_area {z-index:1000;}
.main04 .moving, .main04 .moving > div {height:100%; overflow:hidden;}
.main04 .moving > div > div {width:100%; height:100%; transform:scale(1.2, 1.2);}
.office, .office > div:nth-of-type(1) {background:url('../imgs/main/main0401.jpg') no-repeat center center; background-size:cover;}
.branch, .branch > div:nth-of-type(1) {background:url('../imgs/main/main0402.jpg') no-repeat center center; background-size:cover;}
.map, .map > div:nth-of-type(1) {background:url('../imgs/main/main0401.jpg') no-repeat center center; background-size:cover;}
.main04 .moving > div > div.on {-webkit-animation:mainmt02 12.5s ease-in-out infinite; z-index:1000; animation:mainmt02 12.5s ease-in-out infinite; z-index:1000;}

.main04 .interaction {margin-top:-127px;}
.main04 .interaction li a:before {width:6rem; height:6rem; border-radius:100%; background-image:url('../imgs/ico/main0401.png'); background-size:2.5rem;}
.main04 .interaction li a:hover:after, .main04 .interaction li.on a:after {background:#ffe200;}
.main04 .interaction li:nth-of-type(2) a:before {background-image:url('../imgs/ico/main0402.png'); background-size:2.4rem;}
.main04 .interaction li:nth-of-type(3) a:before {background-image:url('../imgs/ico/main0403.png'); background-size:1.6rem;}
.main04 .interaction li a:hover:before, .main04 .interaction li.on button:before {background:url('../imgs/ico/main0401_on.png') no-repeat center center; background-size:2.5rem;}
.main04 .interaction li:nth-of-type(2) a:hover:before, .main04 .interaction li:nth-of-type(2).on a:before {background:url('../imgs/ico/main0402_on.png') no-repeat center center;  background-size:2.4rem;}
.main04 .interaction li:nth-of-type(3) a:hover:before, .main04 .interaction li:nth-of-type(3).on a:before {background:url('../imgs/ico/main0403_on.png') no-repeat center center; background-size:1.6rem;}

.ncall {z-index:10000;}

@media only screen and (max-width:1279px) {
	#wrap {height:100%; min-height:600px;}

	.main_vr > div:nth-of-type(1) {background:url('../imgs/main/main0101_1280.jpg') no-repeat center center; background-size:cover;}
	.main_vr > div:nth-of-type(2) {background:url('../imgs/main/main0102_1280.jpg') no-repeat center center; background-size:cover;}
	.main_vr > div:nth-of-type(3) {background:url('../imgs/main/main0103_1280.jpg') no-repeat center center; background-size:cover;}
	.main_con > div {width:50%; height:100%;}
	.main02 {background:#fff url('../imgs/main/dongwon.png') no-repeat 1.8175rem center; background-size:246px;}
	.main02_txt {width:21.625rem;; position:absolute; top:50%; margin-top:-7.75rem; transform:translate(0,0)); transition:all linear 1s;}
	.main02_txt span, .main02_txt strong {font-size:1.1875rem; font-family:'LibreBaskervilleR'; color:#000;}
	.main02_txt strong {font-size:3rem; display:block; line-height:4rem; margin-bottom:1.6875rem;}
	.main02.active .main02_txt {transform:translate(4.25rem, 0); transition:all linear 1s;}
	.main02 > div.main02_con {width:68.2%; height:auto; padding:0 5rem 0 0; float:right; margin-top:-178px; top:50%;}
	.main02 > div.main02_con > div {width:100%; height:auto; overflow:hidden; padding-top:0;}
	.main02_con ul {width:100%; padding:0; display:flex; flex-wrap:wrap; justify-content:space-between;}
	.main02_con ul li {width:calc(50% - 2rem);}
	.main02_con ul li:nth-of-type(even) {margin-left:0;}
	.main02_con ul li + li {margin-top:0;}
	.main02_con ul li:nth-of-type(2) ~ li {margin-top:7.5rem;}
	.main02_con ul li + li:after {content:""; position:static; left:0; top:0; width:0; height:0; background:none;}
	.main02_con ul li:nth-of-type(2) ~ li:after {content:""; position:absolute; left:4.75rem; top:calc(-2.875rem - 30px); width:1.875rem; height:1.875rem; background:url('../imgs/bg/sep.png') no-repeat left top;}
	.main02_con ul li:nth-of-type(1) {background:url('../imgs/ico/best01.png') no-repeat left top; background-size:3.0625rem;}
	.main02_con ul li:nth-of-type(2) {background:url('../imgs/ico/best02.png') no-repeat left top; background-size:3.4375rem;}
	.main02_con ul li:nth-of-type(3) {background:url('../imgs/ico/best03.png') no-repeat left top; background-size:2.875rem;}
	.main02_con ul li:nth-of-type(4) {background:url('../imgs/ico/best04.png') no-repeat left top; background-size:2.9375rem;}
	.main02_con ul li > strong, .main02_con ul li > span {font-size:2.375rem; display:block; color:#000; font-family:'LibreBaskervilleR'; line-height:100%;}
	.main02_con ul li > span {font-size:1rem; margin:1rem 0 .875rem;}

	.business, .business > div:nth-of-type(1) {width:100%; height:100%; background:url('../imgs/main/main03_1280.jpg') no-repeat center center; background-size:cover;}
	.belief, .belief > div:nth-of-type(1) {background:url('../imgs/main/main0301_1280.jpg') no-repeat center center; background-size:cover;}
	.speed, .speed > div:nth-of-type(1) {background:url('../imgs/main/main0302_1280.jpg') no-repeat center center; background-size:cover;}
	.safe, .safe > div:nth-of-type(1) {background:url('../imgs/main/main0303_1280.jpg') no-repeat center center; background-size:cover;}
	.satisfaction, .satisfaction > div:nth-of-type(1) {background:url('../imgs/main/main0304_1280.jpg') no-repeat center center; background-size:cover;}

	.office, .office > div:nth-of-type(1) {background:url('../imgs/main/main0401_1280.jpg') no-repeat center center; background-size:cover;}
	.branch, .branch > div:nth-of-type(1) {background:url('../imgs/main/main0402_1280.jpg') no-repeat center center; background-size:cover;}
	.map, .map > div:nth-of-type(1) {background:url('../imgs/main/main0401_1280.jpg') no-repeat center center; background-size:cover;}
}

@media only screen and (max-width:1023px) {
	#wrap {height:100%; min-height:600px;}
	.main_vr > div:nth-of-type(1) {background:url('../imgs/main/main0101_768.jpg') no-repeat center center; background-size:cover;}
	.main_vr > div:nth-of-type(2) {background:url('../imgs/main/main0102_768.jpg') no-repeat left center; background-size:cover;}
	.main_vr > div:nth-of-type(3) {background:url('../imgs/main/main0103_768.jpg') no-repeat left center; background-size:cover;}
	.main_con > div {width:100%; height:100%;}
	.main02_txt {width:21.625rem;; position:absolute; top:50%; transform:translate(0,0)); transition:all linear 1s;}
	.main02_txt span, .main02_txt strong {font-size:1.1875rem; font-family:'LibreBaskervilleR'; color:#000;}
	.main02_txt strong {font-size:3rem; display:block; line-height:4rem; margin-bottom:1.6875rem;}
	.main02.active .main02_txt {transform:translate(4.25rem, 0); transition:all linear 1s;}
	.main02 > div.main02_con {width:40rem; height:auto; padding:0 3.75rem 0 0; float:right; margin-top:-320px; top:50%;}
	.main02 > div.main02_con > div {width:100%; height:auto; overflow:hidden; padding-top:0;}
	.main02_con ul {width:100%; padding:0 0 60px;}
	.main02_con ul li {width:100%; float:none; clear:both;}
	.main02_con ul li:nth-of-type(even) {margin-left:0;}
	.main02_con ul li + li {margin-top:7.5rem;}
	.main02_con ul li:nth-of-type(2) ~ li {margin-top:7.5rem;}
	.main02_con ul li + li:after {content:""; position:static; left:0; top:0; width:0; height:0; background:none;}
	.main02_con ul li:nth-of-type(2) ~ li:after {content:""; position:absolute; left:4.75rem; top:calc(-2.875rem - 30px); width:1.875rem; height:1.875rem; background:url('../imgs/bg/sep.png') no-repeat left top;}
	.main02_con ul li > strong, .main02_con ul li > span {font-size:2.375rem; display:block; color:#000; font-family:'LibreBaskervilleR'; line-height:100%;}
	.main02_con ul li > span {font-size:1rem; margin:1rem 0 .875rem;}

	.business, .business > div:nth-of-type(1) {width:100%; height:100%; background:url('../imgs/main/main03_768.jpg') no-repeat center center; background-size:cover;}
	.belief, .belief > div:nth-of-type(1) {background:url('../imgs/main/main0301_768.jpg') no-repeat center center; background-size:cover;}
	.speed, .speed > div:nth-of-type(1) {background:url('../imgs/main/main0302_768.jpg') no-repeat center center; background-size:cover;}
	.safe, .safe > div:nth-of-type(1) {background:url('../imgs/main/main0303_768.jpg') no-repeat center center; background-size:cover;}
	.satisfaction, .satisfaction > div:nth-of-type(1) {background:url('../imgs/main/main0304_768.jpg') no-repeat center center; background-size:cover;}

	.office, .office > div:nth-of-type(1) {background:url('../imgs/main/main0401_768.jpg') no-repeat center center; background-size:cover;}
	.branch, .branch > div:nth-of-type(1) {background:url('../imgs/main/main0402_768.jpg') no-repeat center center; background-size:cover;}
	.map, .map > div:nth-of-type(1) {background:url('../imgs/main/main0401_768.jpg') no-repeat center center; background-size:cover;}
}