@charset "utf-8";
/* layout.css는 전체적인 레이아웃 스타일을 정의합니다. */
#wrapper{overflow:hidden;position:relative;}
#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:14px;font-weight:bold;text-align:center;text-decoration:none;line-height:50px}

.contain {position:relative; max-width:1260px; padding-left:30px; padding-right:30px; margin:0 auto;}

/* header */
#wrapper {padding-top:108px;}
#header {position:fixed; top:0; left:0; width:100%; z-index:100; background:#fff;}
#header .contain{max-width:1260px;}

.header .contain {display:flex; justify-content:space-between; align-items:center; height:64px;}

.sitelogo img {height:37px;}

.top-search {width:358px; margin-top:10px;}
.top-search form {display:flex; align-items:center; gap:2px;}
.top-search .input {flex:1 1 auto; min-width:0; width:1%; height:36px; padding:0 18px; font-family:'Pretendard',sans-serif; font-size:13px; line-height:1.3em; border:1px solid #d1d1d1;}
.top-search .submit {width:16px; height:16px; border:0; background:none;}

#gnb {background:#800000;}
#gnb>ul {display:flex; justify-content:space-between; width:100%; max-width:1140px; padding:0 30px; margin:0 auto;}
#gnb>ul>li {position:relative; text-align:center;}
#gnb>ul>li>a {display:block; color:#fff; font-family:'Pretendard',sans-serif; font-size:15px; font-weight:500; line-height:44px;}
#gnb .submenu {display:none; position:absolute; left:50%; z-index:2; width:240px; margin-left:-120px; background:#800000; text-align:center;}
#gnb .submenu ul {padding:10px 0;}
#gnb .submenu ul li a {display:block; padding:8px; color:#ccc; font-size:16px; line-height:1.3em;}
#gnb .submenu ul li a:hover {color:#fff;}

/* main */
#main #container {font-family:'Pretendard',sans-serif;}
#main #container .contain {max-width:1140px;}

.main-hero .image {position:relative;}
.main-hero .image:before {content:''; display:block; padding-bottom:32.29%;}
.main-hero .image img {position:absolute; top:0; left:0; width:100%; height:100%; object-fit:cover; transition:5s linear; transform:scale(1.07);}
.main-hero .caption {position:absolute; top:50%; left:80px; width:70%; max-width:816px; padding:50px 20px; background:rgba(0,0,0,.4); opacity:0; transition-delay:1s; transition-duration:1.4s; transform:translate(30px,-50%); color:#fff;}
.main-hero .caption h2 {margin-bottom:17px; font-family:'Poppins', sans-serif; font-size:40px; font-weight:500; line-height:1.33em; letter-spacing:-.04em;}
.main-hero .caption p {font-size:17px; line-height:1.5em;}
.main-hero .caption .tt {margin-bottom:7px; font-size:20px; font-weight:600; line-height:1.5em;}
.main-hero .caption .more {display:flex; align-items:center; justify-content:center; position:absolute; bottom:0; left:40px; width:114px; height:35px; transform:translateY(50%); background:#800000; font-size:15px;}
.main-hero .caption.st2 {max-width:460px;}
.main-hero .swiper-slide-active .image img {transform:scale(1);}
.main-hero .swiper-slide-active .caption {opacity:1; transform:translate(0,-50%);}
.main-hero .swiper-pagination {left:0; bottom:30px; width:100%; text-align:center; line-height:0;}
.main-hero .swiper-pagination-bullet {margin:0 4px; width:20px; height:4px; background:#fff; opacity:.5; border-radius:2px;}
.main-hero .swiper-pagination-bullet-active {opacity:1;}

.main-product {padding:20px 0 40px; text-align:center; overflow:hidden;}
.main-product h2 {margin-bottom:15px; color:#2c2c2c; font-family:'Poppins', sans-serif; font-size:26px; font-weight:500; line-height:1.3em; letter-spacing:-.04em;}
.main-product h2 span {display:inline-block; padding:0 20px; border-bottom:3px solid #800000;}
.main-product .items {display:grid; grid-template-columns:repeat(3, 1fr); gap:9px;}
.main-product .item {display:block; background:#f8f8f8;}
.main-product .item .thumb {overflow:hidden;}
.main-product .item .thumb img {display:block; width:100%; transition:.2s;}
.main-product .item .cnt {padding:20px;}
.main-product .item .tit {margin:-.03em 0 20px; color:#2c2c2c; font-size:20px; font-weight:600; line-height:1.33em; letter-spacing:-.04em;}
.main-product .item .more {display:inline-flex; align-items:center; justify-content:center; width:80px; height:34px; background:#fff; border:1px solid #2c2c2c; border-radius:30px; color:#2c2c2c; font-family:'Poppins', sans-serif; font-size:14px; font-weight:600; transition:.2s;}
.main-product .item:hover .thumb img {transform:scale(1.05);}
.main-product .item:hover .more {background:#800000; border-color:#800000; color:#fff;}

.m-head {margin-bottom:17px;}
.m-head p {margin-bottom:2px; color:#800000; font-size:13px; font-weight:700; line-height:1.3em;}
.m-head h2 {font-family:'Poppins','Pretendard', sans-serif; font-size:26px; font-weight:600; line-height:1.3em;}

.main-cases {padding:30px 0; background:#f8f8f8; text-align:center; overflow:hidden;}
.main-cases .swiper-slide {width:33.33333333%;}
.main-cases .item {display:block;}
.main-cases .item .thumb {overflow:hidden; margin-bottom:12px;}
.main-cases .item .thumb img {display:block; width:100%; transition:.2s;}
.main-cases .item .tit {color:#2c2c2c; font-weight:500; line-height:1.4em; letter-spacing:-.04em;}
.main-cases .item:hover .thumb img {transform:scale(1.05);}

.main-cs {padding:40px 0 50px; overflow:hidden;}
.main-cs .contain {display:grid; grid-template-columns:repeat(2, 1fr); gap:30px;}

.main-marchinery ul {display:grid; gap:10px;}
.main-marchinery ul li a {display:flex; align-items:center; height:85px; padding:20px; background:#f8f8f8;}
.main-marchinery .date {width:66px; font-family:'Poppins','Pretendard', sans-serif; color:#a8a8a8; font-size:14px; font-weight:500; line-height:1.33em;}
.main-marchinery .tit {flex:1 1 auto; min-width:0; width:1%; height:1.33em; overflow:hidden; word-break:break-all; white-space:nowrap; text-overflow:ellipsis; color:#2c2c2c; font-size:18px; font-weight:600; line-height:1.33em; letter-spacing:-.04em;}
.main-marchinery .more {margin-left:1em; font-family:'Poppins','Pretendard', sans-serif; color:#a8a8a8; font-size:14px; font-weight:500; line-height:1.33em;}

.main-contact .items {display:grid; grid-template-columns:repeat(2, 1fr); border:1px solid #eee;}
.main-contact .item:first-child {border-right:1px solid #eee;}
.main-contact .item {padding:57px 30px;}
.main-contact .ico {width:40px;}
.main-contact .tit {margin:20px 0; color:#2c2c2c; font-size:20px; line-height:1.3em; letter-spacing:-.04em;}
.main-contact .tit strong {font-weight:600;}
.main-contact .txt {color:#878787; font-size:15px; line-height:1.87em; letter-spacing:-.03em;}
.main-contact .txt dl {display:flex;}
.main-contact .txt dt {min-width:50px; color:#505050; font-weight:700;}

/* sub page */
.sub-visual {position:relative; height:300px; z-index:0;}
.sub-visual .background {position:absolute; top:0; left:0; width:100%; height:100%; background-position:center; background-size:cover;}
.sub-visual .background.type2{background-position:80% 0;}
.sub-visual .tit{color:#fff;position:absolute;z-index:1;font-family:'NanumSquare',sans-serif;font-weight:800;left:50%;top:50%;transform:translate(-50%,-50%);font-size:40px;text-shadow:0px 5px 5px rgba(0,0,0,.3);}
 
#lnb{position:relative;}
#lnb:after{content:'';width:100%;height:1px;background-color:#ddd;position:absolute;bottom:0;left:0;}
.lnb{max-width:1200px;margin:0 auto;}
.lnb ul{display:flex;}
.lnb ul li{flex:1;}
.lnb ul li a{display:flex;justify-content:center;align-items:center;height:60px;line-height:60px;color:#242424;font-size:20px;font-weight:500;width:100%;position:relative;}
.lnb ul li a:after{content:'';width:1px;height:100%;background-color:#ddd;position:absolute;right:0;top:0;}
.lnb ul li:first-child a:before{content:'';width:1px;height:100%;background-color:#ddd;position:absolute;left:0;top:0;}
.lnb ul li.active a{background-color:#800000;color:#fff;}

#lnb2{position:relative;margin-bottom:60px;}
#lnb2:before{content:'';width:100%;height:1px;background-color:#ddd;position:absolute;left:0;top:0;}
#lnb2:after{content:'';width:100%;height:1px;background-color:#ddd;position:absolute;left:0;bottom:0;}
.lnb2{position: relative;}
.lnb2:before{content:'';width:1px;height:100%;background-color:#ddd;position:absolute;left:0;top:0;}
.lnb2 ul{display:flex;}
.lnb2 ul li{flex:1;}
.lnb2 ul li a{display:flex;justify-content:center;align-items:center;height:60px;line-height:60px;font-size:18px;font-weight:500;color:#242424;position:relative;}
.lnb2 ul li a:before{content: '';width:1px;height:100%;background-color:#ddd;position:absolute;right:0;top:0;}
.lnb2 ul li.active a{color:#800000;}
.lnb2 ul li.active a:after{content:'';width:100%;height:3px;background-color:#800000;position:absolute;bottom:0;left:0;z-index:1;}

.sub-title{text-align:center;margin:55px 0 56px;}
.sub-title h2{padding-bottom:28px;position:relative;font-size:30px;font-weight:500;color:#242424;}
.sub-title h2:after{content:'';width:60px;height:3px;background-color:#800000;position:absolute;left:50%;margin-left:-30px;bottom:0;}

.real-cont {padding:0 0 100px;}

/* floating */
.floating {position:fixed; bottom:30px; right:30px; z-index:80; width:48px;}
.floating .link-item {display:block; margin-top:12px;}
.floating .link-item img {border-radius:100%; box-shadow: 0px 2px 14px 0px rgba(0, 0, 0, 0.1);}

/* footer */
#footer {padding:70px 0; background:url('../images/common/footer-bg.jpg') 50% 50%/cover no-repeat; color:#fff; font-family:'Pretendard',sans-serif;}
#footer address {font-style:normal;}
#footer a:hover {text-decoration:underline;}

.foot-links-wrap {display:flex; flex-wrap:wrap; justify-content:space-between; gap:20px; margin-bottom:100px;}

.foot-logo img {height:60px;}

.foot-links {font-size:18px; font-weight:700; line-height:1.33em;}
.foot-links ul {display:flex; flex-wrap:wrap; gap:6px 60px;}

.foot-info .comp-name {margin-bottom:20px; font-size:18px; font-weight:700; line-height:1.33em;}
.foot-info address {color:#c1c1c1; font-size:14px; line-height:1.5em;}
.foot-info address span {display:inline-block; margin:0 28px 4px 0;}
.foot-info address strong {margin-right:.5em;}

.foot-copy {margin-top:6px; color:#c1c1c1; font-size:11px; line-height:1.3em; letter-spacing:-.02em;}
.foot-copy span {display:inline-block;}
.foot-copy .bar {margin:0 .5em;}
.foot-copy .designed {margin-right:35px;}
.foot-copy .policy-link {display:inline-flex; gap:5px 20px; color:#fff; font-weight:500;}

/* for mobile */
.only-mobile {display:none;}
.btn-m-menu {display:none; position:absolute; top:50%; margin-top:-12px; right:30px; width:24px; height:24px;  text-align:center; text-indent:-9999em; z-index:99; transition:all 0.5s ease-in-out;}
.btn-m-menu span {position:absolute; right:0; top:50%; margin-top:-1px; height:2px; width:16px;background:#242424;}
.btn-m-menu span:before,
.btn-m-menu span:after {content:" "; position:absolute; right:0; width:24px; height:2px; background:#242424; transition-duration:0.3s, 0.3s; transition-delay:0.3s, 0s;}
.btn-m-menu span:before {top:-9px; transition-property:top, transform;}
.btn-m-menu span:after {bottom:-9px; transition-property:bottom, transform;}
.mobile-navigation {position:fixed; top:0; right:0; padding:20px 0; width:400px; height:100%; overflow:auto; transition:.3s ease-in-out; -ms-transform:translateX(100%); transform:translateX(100%); background:#fff; z-index:202;}
.mobile-navigation .home {margin-bottom:20px; padding-left:15px;}
.mobile-navigation .home img {height:23px;}
.mobile-navigation .nav-menu>ul{margin-top:30px;}
.mobile-navigation .nav-menu>ul>li {border-bottom:1px solid #dfdfdf;}
.mobile-navigation .nav-menu>ul>li>a {position:relative; padding:12px 15px; display:block; color:#454545; font-size:18px; font-weight:500; line-height:1.3em;}
.mobile-navigation .nav-menu>ul>li a:after{content:""; position:absolute; top:50%; right:15px; transform:translateY(-75%) rotate(45deg); width:10px; height:10px; border-right:2px solid #2c2c2c; border-bottom:2px solid #2c2c2c;}
.mobile-navigation .nav-menu>ul>li.active>a {color:#800000}
.mobile-navigation .nav-menu>ul>li.active>a:after {transform:translateY(-35%) rotate(-135deg); border-color:#800000;}
.mobile-navigation .nav-menu .submenu {display:none; margin:-1px 0 0 0; padding:0 15px 15px;}
.mobile-navigation .nav-menu .submenu>ul:after {content:"";display:block;clear:both;}
.mobile-navigation .nav-menu .submenu>ul>li>a {display:block; position:relative; padding:5px 15px; color:#454545; font-size:16px; font-weight:400; line-height:1.3em;}
.mobile-navigation .nav-menu .submenu>ul>li>a:after {display:block; content:"";position:absolute; top:14px; left:5px; width:4px; height:4px; background:#dfdfdf; border-radius:50%; transition:.3s ease-in-out;}
.mobile-navigation .nav-menu .submenu>ul>li>a:hover{color:#800000}
.mobile-navigation .nav-menu .submenu>ul>li>a:hover:after {background:#800000}
.mobile-navigation .close {position:absolute; top:20px; right:15px; width:24px; height:24px; text-indent:-9999em; overflow:hidden;}
.mobile-navigation .close:before,
.mobile-navigation .close:after {content:" "; position:absolute; top:12px; left:0; width:100%; height:2px; background:#2c2c2c;}
.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:201;}

html.menu-opened {overflow:hidden;}
html.menu-opened .mobile-navigation {-ms-transform:translateX(0); transform:translateX(0); }
html.menu-opened .mobile-overlay {display:block;}