@charset "utf-8";

.header {top: 0; left: 0; background: #fff; z-index: 999; border-bottom: 1px solid #ECECEC; }

/* 로고 및 유틸 버튼 */
.logo img { display: block; }
.header-util { display: flex; align-items: center; gap: 20px; }


.gnb-pc{top:0; left:50%; transform: translate(-50%, 0);}

/* 그리드 설정 (1:1 정렬) */
.gnb-list, .sub-column-list { 
    display: grid; 
    grid-template-columns: repeat(6, 1fr); 
    margin: 0 auto;
}

/* 상단 GNB 아이템 */
.gnb-item { display: flex; align-items: center; justify-content: center; }
.gnb-item a { font-size: 18px; color: #111; transition: 0.2s; cursor: pointer; }
.gnb-item a:hover,
.gnb-item.is-active a { color: #3B72DF; font-weight: 700; }

/* 하단 서브 드롭다운 */
.header-sub { position: absolute; top: 100%; left: 0; background: #fff; border-top: 1px solid #ECECEC; max-height: 0; overflow: hidden; opacity: 0; visibility: hidden; transition: max-height 0.4s ease, opacity 0.3s ease; }
.header.is-hover .header-sub { max-height: 800px; opacity: 1; visibility: visible; border-bottom: 1px solid #ECECEC;}


/* 서브메뉴 컬럼 */
.sub-column {     display: flex; flex-direction: column; align-items: center;     border-top: 3px solid transparent;     margin-top: -1px;     transition: 0.2s;}
.sub-column a { transition: 0.2s; }
.sub-column a:hover { color: #3B72DF; font-weight: 700; }
.sub-column.is-active { background-color: #F4F7FB; border-top: 3px solid #3B72DF; }

/* 모바일 전용 요소 초기 숨김 */
.btn-hamburger, .header-mobile { display: none; }



.eventTxt {    opacity: 0;  }
  
.eventTxt.is-animated {    opacity: 1;   }
.char-anim { display: inline-block; opacity: 0; transform: translateY(15px); animation: slideUpSmooth 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; } 
@keyframes slideUpSmooth {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/********************
** 메인
********************/
.mainBanner{background:url('/img/mainBanner.jpg?v=20260929'); background-size:cover; background-position:center;}
.header > .inner {gap:32px;}
.header .gnb-pc {position:static; flex:1; min-width:0; transform:none;}
.header .gnb-list {grid-template-columns:repeat(6,minmax(0,1fr));}
.header .gnb-item {width:auto; min-width:0;}
.header .gnb-item a {padding:0 8px; font-size:16px; line-height:140%; word-break:keep-all;}
.header .header-util {flex-shrink:0;}
.header-sub-inner {width:80dvw; margin:0 auto; padding-left:82px; padding-right:164px; box-sizing:border-box;}
.header .sub-column-list {width:100%; grid-template-columns:repeat(6,minmax(0,1fr));}
.header .sub-column {width:auto; min-width:0;}
.header .sub-column a {width:100%; padding:16px 8px; box-sizing:border-box; font-size:16px; line-height:140%;}

/* --- 기존 코드 유지 --- */
.productList:nth-child(1) { background-image: url('/img/product-001.jpg'); }
.productList:nth-child(2) { background-image: url('/img/product-002.jpg'); }
.productList:nth-child(3) { background-image: url('/img/product-003.jpg'); }
.productList:nth-child(4) { background-image: url('/img/product-004.jpg'); }
.productList:nth-child(5) { background-image: url('/img/product-005.jpg'); }
.productList {  flex: 1;  background-size: cover;   background-position: center;  background-repeat: no-repeat;  transition: flex 0.7s cubic-bezier(0.7, 0, 0.2, 1);   cursor: pointer;  overflow: hidden;   position: relative; } 
.productList > * { position: relative; z-index: 1; }
.productList:hover { flex: 4;  }
.productList::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 50%); opacity: 0;  transition: opacity 0.7s cubic-bezier(0.7, 0, 0.2, 1);  pointer-events: none; } 
.productList:hover::after {opacity: 1; }
.productList .desc { width: 600px;  word-break: keep-all; opacity: 0; max-height: 0;  overflow: hidden; transform: translateY(30px);  margin-top: 0; transition: all 0.4s ease-out; transition-delay: 0s;  }
.productList:hover .desc { opacity: 1; max-height: 150px;  transform: translateY(0);  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1); transition-delay: 0.3s;  }

.promise{background: url('/img/promiseBg.jpg'); background-size:cover; background-position:left;}
.promise-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding-bottom: 160px; }
.promise-grid .card:nth-child(even) { transform: translateY(160px); }
.promise-grid .card { opacity: 0;  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.promise-grid .card:nth-child(odd) { transform: translateY(50px); } 
.promise-grid .card:nth-child(even) { transform: translateY(210px);  } 
.promise-grid .card.is-visible:nth-child(odd) {opacity: 1; transform: translateY(0); } 
.promise-grid .card.is-visible:nth-child(even) {opacity: 1; transform: translateY(160px); }


/********************
** 연혁
********************/
.historyDot{border:4px solid #4674CA; ; left: 0px; top: 0px; transform: translateX(-50%);}
.histroyList {border-left:1px solid #D9DADE}

/********************
** 제품소개
********************/
/** 원자력 **/
.unclearCntBox {border:1px solid #D9DADE;}
/** 해양플랜트 **/
.offshorePlantMenu {display:flex; align-items:stretch; flex-wrap:wrap; border-bottom:1px solid #D9DADE;}
.offshorePlantMenu button {position:relative; cursor:pointer; background-color:#fff; transition:color .2s;}
.offshorePlantMenu button.active::after {content:""; position:absolute; right:0; bottom:-1px; left:0; height:2px; background-color:#3C62B9;}
.offshorePlantMenu button:focus-visible {outline:2px solid #4674CA; outline-offset:-2px;}
.offshorePlantSelectWrap {display:none;}
.offshorePlantSelect {box-sizing:border-box;}
.tableRightLine {border-right:1px solid #D9DADE;}
.tableTopLine {border-top:1px solid #D9DADE;}
.tableBottomLine {border-bottom:1px solid #D9DADE;}
.offshorePlantCntBox {border:1px solid #EEEEF0;}
.offshorePlantCntBox[hidden] {display:none;}
/** 조선(상선) 및 육상 플랜트 **/
.shipbuildingCntgrid {display:grid; grid-template-columns:repeat(4,1fr);}
.shipbuildingCntgrid2 {display:grid; grid-template-columns:repeat(3,minmax(0,1fr) 20px) minmax(0,1fr); align-items:stretch;}
.shipbuildingCntgrid2 > * {min-width:0;}
.unitSupportGrid {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px;}
.unitSupportImageGrid {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px;}
.unitSupportImageGrid img {display:block; min-width:0; height:auto;}
.onshoreMachineGallery {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:40px;}
.onshoreMachineMain, .onshoreMachineInfo {min-width:0;}
.onshoreMachineMain img {display:block; height:auto;}
.onshoreMachineThumbList {display:grid; grid-template-columns:repeat(4,minmax(0,120px)); gap:12px;}
.onshoreMachineThumb {display:block; min-width:0; padding:0; background:none; cursor:pointer;}
.onshoreMachineThumb img {display:block; height:auto; filter:grayscale(1); opacity:.5; transition:filter .2s, opacity .2s;}
.onshoreMachineThumb.is-active img {filter:grayscale(0); opacity:1;}
.onshoreMachineThumb:focus-visible {outline:2px solid #3C62B9; outline-offset:3px;}
/** 파이프 레이저 **/
.pipegrid {display:grid; grid-template-columns:repeat(3,1fr);}
.pipeCntBoxLine {border:1px solid #EEEEF0;}
.pipeSpecRow > div {flex:1 1 0; width:auto; min-width:0; box-sizing:border-box;}
.pipeSpecRow table {width:100%; table-layout:fixed;}
/** 도장 공통요소 **/
.paintiogGrid {display:grid; grid-template-columns:repeat(3,minmax(0,1fr));}
/** 분체도장 **/
.paintionCntBox {border:1px solid #EEEEF0;}
.powderGrid {display:grid; grid-template-columns:repeat(2,1fr);}
/** 액체도장 **/
.liquidGrid {display:grid; grid-template-columns:repeat(2,1fr);}

/*******************
** 제조설비 및 시험설비
*******************/
.tableFix{table-layout: fixed;}
.tableBox{overflow-x:auto;}
.facilitiesTable{min-width: 660px;}
.facilitiesTable th{border-top:1px solid #D9DADE; border-bottom:1px solid #D9DADE; border-right: 1px solid #D9DADE;}
.facilitiesTable th:last-child{border-right: none;}
.facilitiesTable td{ border-bottom:1px solid #D9DADE; border-right: 1px solid #D9DADE;}
.facilitiesTable td:last-child{border-right: none;}
.facilitiesFilterPlaceholder{height:0;}
.facilitiesFilterSection{position:relative; z-index:9; background:#fff; transition:opacity .2s, visibility .2s;}
.facilitiesFilterSection.is-fixed{position:fixed; top:var(--facilities-filter-top, 0px); left:0; width:100%;}
.facilitiesFilterSection.is-hidden{opacity:0; visibility:hidden; pointer-events:none;}
.facilitiesFilter {display:flex; flex-wrap:nowrap; overflow-x:auto;}
.facilitiesFilter button{flex:1 0 auto; width:auto; min-width:0; white-space:nowrap; box-sizing:border-box; cursor:pointer; transition:background-color .2s, color .2s;}
.facilitiesFilter button:focus-visible{outline:2px solid #3c62b9; outline-offset:2px;}

/*******************
** 생산공정도
*******************/
.productionFilterPlaceholder{height:0;}
.productionFilterSection{position:relative; z-index:9; background:#fff; transition:opacity .2s, visibility .2s;}
.productionFilterSection.is-fixed{position:fixed; top:var(--production-filter-top, 0px); left:0; width:100%;}
.productionFilterSection.is-hidden{opacity:0; visibility:hidden; pointer-events:none;}
.productionFilter{display:grid; grid-template-columns:repeat(3,1fr);}
.productionFilter button{width:100%; min-width:0; box-sizing:border-box; cursor:pointer; transition:background-color .2s, color .2s;}
.productionFilter button:focus-visible{outline:2px solid #3c62b9; outline-offset:2px;}
.productSubMenuGrid a{width:100%; min-width:0; min-height:56px; box-sizing:border-box; display:flex; align-items:center; justify-content:center; line-height:1.3; transition:background-color .2s, color .2s;}
.productSubMenuGrid a:focus-visible{outline:2px solid #3c62b9; outline-offset:-2px;}
/** 케이블트레이 **/
.trayGird {display:grid; grid-template-columns:repeat(2,minmax(0,1fr) 120px) minmax(0,1fr); row-gap:60px;}
.trayGird > *{min-width:0;}
.trayGird > .wdf > .bcog0{box-sizing:border-box;}
.trayBox {border:1px solid #5A8FD7;}
/** 절단 가공 통합 **/
.cuttingGird {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); row-gap:84px;}
/** 도장 통합 **/
.paintingGird {display:grid; grid-template-columns:repeat(3,1fr); row-gap:56px;}
.paintingBox {border:1px solid #EEEEF0;}

/*******************
** 인증서
*******************/
.certificateGrid{display:grid; grid-template-columns: repeat(4 , 1fr); gap:60px 40px;}


/*******************
** 미디어룸
*******************/
.mediaBox{border-top: 2px solid #26272B; border-bottom:2px solid #26272B;}
.mediaLsit{border-bottom:1px solid #D9DADE}
.mediaLsit:last-child{border-bottom:none;}
.page.active{background:#E1ECF8}
.mediaViewBox{max-width: 1152px;}
.custom-checkbox input[type="checkbox"] {    display: none;  }
.custom-checkbox {    display: inline-flex;    align-items: center;    cursor: pointer;  }
.custom-checkbox .check-icon {    background-image: url('/img/chkOff.svg');     background-size: contain;    background-repeat: no-repeat;    background-position: center;  }
.custom-checkbox input[type="checkbox"]:checked + .check-icon {    background-image: url('/img/chkOn.svg');   }


.adminLogin{background:url('/img/loginBg.jpg'); background-size:cover; background-position:center;}

/*******************
** 푸터
*******************/
.footGrid{display:grid; grid-template-columns: repeat(6 , 1fr);}

/*******************
** 로그인
*******************/
.loginBg {background:url('/img/mainBanner.jpg'); background-size:cover; background-position:center;}

/*******************
** 상담신청 리스트
*******************/
.contactTable th {border-top:1px solid #D9DADE; border-bottom:1px solid #D9DADE; border-right:1px solid #D9DADE;}
.contactTable th:last-child{border-right:0;}
.contactTable td {border-bottom:1px solid #D9DADE; border-right:1px solid #D9DADE;}
.contactTable td:last-child{border-right:0;}

/*******************
** 고객문의 상세
*******************/
.consultCntLine {border-top:1px solid #D9DADE;}
.consultCntLine:last-child {border-bottom:1px solid #D9DADE;}

/* Homepage review: page-scoped layouts. */
.facilities__manufacturing:not([hidden]) + .facilities__inspection:not([hidden]) {margin-top:120px;}
.facilitiesLayout [hidden] {display:none;}
.facilitiesFilter button {padding-left:12px; padding-right:12px; line-height:140%; overflow-wrap:normal;}
.cuttingProcess__cad {display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; aspect-ratio:484 / 320; background:#edf3fb; color:#24599f; border:1px solid #d2e0f2; box-sizing:border-box;}
.cuttingProcess__cad span {font-size:36px; font-weight:700; line-height:140%;}
.contactForm {max-width:1152px;}
.contactForm .inputBox {min-width:0;}
.contactForm .custom-checkbox {min-width:0;}
.contactForm .check-icon {flex-shrink:0;}
.contactForm .label-text {line-height:160%;}
.siteFooter {border-top:1px solid #eeeef0;}
.siteFooter__row {flex-wrap:wrap;}

/* Customer inquiry attachments: match existing inquiry input fields. */
.inquiryAttachmentBox{position:relative;width:100%;}
.inquiryAttachmentControl{display:flex;align-items:stretch;min-height:56px;border:1px solid #B8BAC1;border-radius:4px;background:#fff;overflow:hidden;}
.inquiryAttachmentStatus{display:flex;align-items:center;flex:1;min-width:0;padding:12px 16px;color:#B8BAC1;font-size:16px;line-height:1.5;}
.inquiryAttachmentChoose{border:0;border-left:1px solid #4674ca;padding:0 24px;cursor:pointer;white-space:nowrap;background:#4674ca;color:#fff;}
.inquiryAttachmentChoose:hover{background:#3c62b9;}
.inquiryAttachmentChoose:focus-visible,.inquiryAttachmentList button:focus-visible{outline:2px solid #2282D5;outline-offset:-3px;}
.inquiryAttachmentHint,.inquiryAttachmentFormats{font-size:13px;line-height:1.5;color:#777;}
.inquiryAttachments{row-gap:10px;}
.inquiryAttachments .inquiryAttachmentInput{position:absolute;width:1px;height:1px;min-height:0;padding:0;border:0;opacity:0;overflow:hidden;pointer-events:none;}
.inquiryAttachmentList{list-style:none;margin:0;padding:0;}
.inquiryAttachmentList:empty{display:none;}
.inquiryAttachmentList li{display:flex;align-items:center;gap:16px;padding:14px 16px;margin-top:10px;background:#f7f8fa;border-radius:4px;font-size:14px;color:#777;}
.inquiryAttachmentName{flex:1;min-width:0;overflow-wrap:anywhere;color:#333;}
.inquiryAttachmentList button{border:0;background:none;color:#777;cursor:pointer;white-space:nowrap;}
.inquiryAttachmentError{margin-top:10px;font-size:13px;line-height:1.5;color:#EE3131;}
.inquiryAttachmentError[hidden]{display:none;}
.inquiryAttachmentDownloads{display:flex;flex-direction:column;gap:12px;overflow-wrap:anywhere;}
@media(max-width:1280px){.inquiryAttachmentControl{min-height:48px;}.inquiryAttachmentStatus{font-size:14px;}}
@media(max-width:767px){.inquiryAttachmentControl{min-height:44px;}.inquiryAttachmentStatus{font-size:12px;padding:10px 12px;}.inquiryAttachmentChoose{padding:0 16px;}.inquiryAttachmentHint,.inquiryAttachmentFormats{font-size:12px;}.inquiryAttachmentList li{gap:10px;padding:12px;font-size:12px;}}

.contactForm button:disabled{opacity:.6;cursor:wait;}
