@charset "utf-8";
/* layout.css는 전체적인 레이아웃 스타일을 정의합니다. */ 

:root {
	/* font */

	/* height */
	--header-height:80px;

	--color-primary:#ce0e2d;
}

#skipToContent a {z-index:100000;position:absolute;top:0;left:0;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
#skipToContent a:focus, 
#skipToContent a:active {width:200px;height:50px;background:#21272e;color:#fff;font-size:var(--font-size-14);font-weight:bold;text-align:center;text-decoration:none;line-height:50px;outline-color:#f37736;}

.only-desktop-tablet {display:block;}
.only-desktop {display:block;}
.only-tablet {display:none;}
.only-mobile {display:none;}

#wrapper {padding-top: var(--header-height);}

/* header */
#header {position:fixed; top:0; left:0; width:100%; z-index:100; transition:.3s; background: #fff;}
#header .contain {max-width:1860px; position:relative; display:flex; align-items:center; justify-content:space-between; height:var(--header-height); z-index:10;}

/* #header.header-fixed {background:#242424; box-shadow:0px 3px 10px rgba(0,0,0,0.1);} */
/* #header.header-fixed .gnb-wrap {border-top:1px solid #ddd;border-bottom:1px solid #ddd;} */
/* #header.header-fixed .sitelogo a {background-image:url(../images/common/logo-on.png);} */

#gnb {flex:1 1 auto; min-width:0; width:1%;}
#gnb>ul {display:flex;justify-content:flex-end; margin:0 -37.5px;} 
#gnb>ul>li {position:relative; padding:0 37.5px;}
#gnb>ul>li>a {position:relative; display:flex; align-items:center; justify-content:center; font-size:var(--font-size-18); letter-spacing:-.03em; line-height:1.4em; color:#121212; height:var(--header-height);}
#gnb>ul>li:hover>a {text-decoration:underline; text-underline-offset:3px; color: #ce0e2d;}

#gnb .submenu {position:absolute; left:0; width:100%; height:0; overflow:hidden;}
#gnb .submenu>ul {padding:20px 25px; text-align:center;}
#gnb .submenu>ul>li>a {display:block; padding:7.5px 0; font-size:var(--font-size-16); font-weight:400; color:#454545; line-height:1.33em; letter-spacing:-.03em;}
#gnb .submenu>ul>li>a:hover {text-decoration:underline; text-underline-offset:3px; font-weight:700;}

/* 
.submenu-bg {display:none; position:absolute; width:100%; left:0; background:#fff; opacity:.8; border-top:1px solid #ddd;}

#sub #header .gnb-wrap {border-top:1px solid #ddd;border-bottom:1px solid #ddd;} */


/* for mobile */
.btn-m-menu {margin-left:30px;display:none; position:relative; width:26px; height:26px;}
.btn-m-menu span {position:absolute; left:0; right:0; top:50%; height:2px; margin-top:-1px; background:var(--color-primary);}
.btn-m-menu span:before,
.btn-m-menu span:after {content:" "; position:absolute; left:0; right:0; height:2px; background:var(--color-primary);}
.btn-m-menu span:before {top:-9px;}
.btn-m-menu span:after {bottom:-9px;}

#sub .btn-m-menu span {background:#fff;}
#sub .btn-m-menu span:before,
#sub .btn-m-menu span:after {background:#fff;}

#header.header-fixed .btn-m-menu span,
#header.header-fixed .btn-m-menu span:before,
#header.header-fixed .btn-m-menu span:after {background:var(--color-primary);}

#header:hover .btn-m-menu span,
#header:hover .btn-m-menu span:before,
#header:hover .btn-m-menu span:after {background:var(--color-primary);}

.mobile-navigation {display:none; position:fixed; top:0; right:0; width:300px; height:100%; overflow:auto; transition:.2s linear; -ms-transform:translateX(100%); transform:translateX(100%); background:#fff; z-index:102;}
.mobile-navigation .home {display:flex; align-items:center; height:80px; padding:0 20px; color:#242424; font-size:19px; font-weight:700; line-height:1.5em;}
.mobile-navigation .home img {}
.mobile-navigation .nav-menu>ul {border-top:1px solid #ddd;}
.mobile-navigation .nav-menu>ul>li {border-bottom:1px solid #ddd;}
.mobile-navigation .nav-menu>ul>li>a {position:relative; padding:10px 48px 10px 20px; display:block; color:#242424; font-size:19px; font-weight:700; line-height:1.5em;}
/* .mobile-navigation .nav-menu>ul>li>a:after {content:""; position:absolute; top:50%; right:20px; transform:translateY(-75%) rotate(45deg); width:11px; height:11px; border-right:2px solid #505050; border-bottom:2px solid #505050;} */
.mobile-navigation .nav-menu>ul>li.active>a {color:#fff; background:var(--color-primary);}
/* .mobile-navigation .nav-menu>ul>li.active>a:after {transform:translateY(-35%) rotate(-135deg); border-color:#fff;} */
.mobile-navigation .nav-menu .submenu {display:none; background:#f8f8f8; color:#454545; font-size:16px; font-weight:400; line-height:1.5em;}
.mobile-navigation .nav-menu .submenu ul li {border-top:1px solid #e5e5e5;}
.mobile-navigation .nav-menu .submenu ul li a {display:block; padding:12px 20px;}
.mobile-navigation .nav-menu .submenu ul li a:hover {color:var(--color-primary);}
.mobile-navigation .close {position:absolute; top:25px; right:15px; width:26px; height:26px; text-indent:-9999em; overflow:hidden;}
.mobile-navigation .close:before,
.mobile-navigation .close:after {content:" "; position:absolute; top:12px; left:0; width:100%; height:3px; background:#242424; border-radius:3px;}
.mobile-navigation .close:before {transform:rotate(45deg);}
.mobile-navigation .close:after {transform:rotate(-45deg);}
.mobile-overlay {display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:#000; opacity:0.6; z-index:101;}

html.menu-opened {overflow:hidden;}
html.menu-opened .mobile-navigation {-ms-transform:translateX(0); transform:translateX(0);}
html.menu-opened .mobile-overlay {display:block;}

/* main */
#main #container .contain {max-width:1860px;}

.main-visual {position:relative; overflow:hidden; color:#fff;}
.main-visual .item {position:relative; height: calc(100vh - var(--header-height));}
.main-visual .item img {width:100%; height:100%; object-fit: cover;}
.main-visual .inner {padding:0 20px; position:absolute; top:50%; transform:translateY(-50%); left:0; width:100%; z-index:2; text-align: center;}
.main-visual .inner h2 {font-size:var(--font-size-72); font-weight: 600; letter-spacing: -.03em; line-height: 1.17em; text-shadow: 0px 3px 5px rgba(0, 0, 0, 0.1);}

.scrolldown {position:absolute; left:50%; bottom:3px; color:#fff; font-family:'Pretendard', sans-serif; transform:translateX(-50%);}
.scrolldown .track {position:relative; margin:0 auto; width:2px; height:80px; background:rgba(255,255,255,.5); overflow:hidden;}
.scrolldown .track span {position:absolute; width:100%; top:0; height:0px; background:var(--color-primary); animation:scrollDown 2.5s linear infinite;}

@keyframes scrollDown{
	0%{height: 0px;}
	100%{height: 100%;}
}


.main-doc .tit {font-size: var(--font-size-60);  font-weight: 600; letter-spacing: -.03em; line-height: 1.2em; color: #121212;}

.our-team {margin: 60px 0; display: flex; background-image: url(/images/main/our-team.jpg); padding: 148px 0; width: 100%; background-position: 50%; background-repeat: no-repeat; background-size: cover;}
.our-team .tit {padding-left: 200px; margin-right: 240px;}
.our-team .tit span {color: var(--color-primary);}
.our-team ul {flex:1 1 auto; min-width:0; width:1%;}
.our-team ul li {position: relative; margin-bottom: 75px; padding-left: 40px; font-size: var(--font-size-24); line-height:1.2em; font-weight: 600; color: #121212;}
.our-team ul li:last-child {margin-bottom: 0;}
.our-team ul li span {color: var(--color-primary);}
.our-team ul li::before {content: ''; position: absolute; width: 30px; height: 2px; background-color: var(--color-primary); left: 0; top: 16%; transform: translateY(-16%);}
.our-team ul li p {margin-top: 20px; font-size: var(--font-size-20); line-height:1.2em; font-weight: 400; color: #505050;}

.portfolio {background-image: url(/images/main/portfolio.jpg); padding: 108px 100px; width: 100%; background-position: 50%; background-repeat: no-repeat; background-size: cover;}
.portfolio .tit {padding-left: 100px; color: #fff;}
.portfolio .wrap {display: flex; align-items: center; background-color: rgba(255, 255, 255, 0.1); padding: 10px 100px;  height: 190px;}
.portfolio .wrap:nth-child(2) {margin:75px 0 40px;}
.portfolio .wrap>p {width: 12%; margin-right: 80px; color: #fff; font-size: var(--font-size-32); letter-spacing: -.03em; line-height: 1.2em; font-weight: 600;}
.portfolio .wrap ul {display: flex; margin: 0 -10px;  flex:1 1 auto; min-width:0; width:1%;}
.portfolio .wrap ul li {padding: 0 10px; flex: 1; text-align: center;}
.portfolio .wrap ul li p {margin-top: 15px; text-align: center; font-size: var(--font-size-16); color: #fff; letter-spacing: -.03em; line-height: 1.38em;}

.contact .tit-wrap {display: flex; padding-left: 100px; margin:200px 0 60px;}
.contact .tit-wrap .map-info {margin-left: 260px;}
.contact .tit-wrap .map-info>p {position: relative; margin-bottom: 30px;  padding-left: 40px; font-size: var(--font-size-24); color: #121212; font-weight: 600; letter-spacing: -.03em; line-height: 1.38em;}
.contact .tit-wrap .map-info>p::before {content: ''; position: absolute; width: 30px; height: 2px; background-color: var(--color-primary); left: 0; top: 14px;}
.contact .tit-wrap .map-info ul {padding-left: 40px; display: flex; margin: 0 -55px;}
.contact .tit-wrap .map-info ul li {padding: 0 55px;}
.contact .tit-wrap .map-info ul li .box {display: flex; align-items: center; font-size: var(--font-size-20); color: #505050; letter-spacing: -.03em; line-height: 1.38em;}
.contact .tit-wrap .map-info ul li .box .img {margin-right: 10px;}
.contact .map-wrap {margin-bottom: 55px;}
.contact .map-wrap iframe {width: 100%;}

/* sub */
#contArea {max-width:1260px; padding-left:30px; padding-right:30px; margin:0 auto;}
#contArea.wide {max-width:100%; padding-left:0; padding-right:0;}
#contArea.wide .sub-title {padding-left:10px; padding-right:10px;}

.contain {width:100%; max-width:1860px; padding-left:30px; padding-right:30px; margin:0 auto;}

/* footer */
#footer {position:relative; color:#878787; line-height:1.5em; letter-spacing:-.03em; }
#footer .contain {max-width:1860px; }
#footer span {display:inline-block;}
#footer a:hover {text-decoration:underline;}

#footer .footer {border-top: 1px solid #ddd; display: flex; justify-content: space-between; padding: 60px 0;}

#footer .f-tit {display: flex; align-items: flex-end;}
#footer .f-tit h2 {margin-right: 35px; font-size: var(--font-size-18); font-weight: 700; letter-spacing: -.03em; line-height: 1.2em; color: #121212;}
#footer .f-tit p {font-size: var(--font-size-16); line-height: -.03em; line-height: 1.2em;}

#footer address {font-style:normal; margin-top: 15px;}
#footer address span {margin:12px 35px 0 0; font-size: var(--font-size-16); letter-spacing: -.03em; line-height: 1.2em;}

#footer .f-right {display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end;}