@charset "utf-8";

/********************
// 작은 데스크탑 분기점 (모바일/태블릿)
********************/
@media only screen and (max-width: 1200px) {
/** 공용 **/
.inner { width: calc(100% - 120px); }
.pipeSpecRow > div {flex:none; width:100%;}
.facilitiesinner {width:100%;}
.productionFilterinner {width:100%;}
.offshorePlantMenu {display:none;}
.offshorePlantSelectWrap {display:block;}
.offshorePlantFilterSection {border-bottom:0;}
/** 해더 **/
.header-inner { padding: 0 20px; height: 64px; } /* 모바일에서 높이 덮어쓰기 */
.logo { width: 120px; } /* 모바일에서 너비 덮어쓰기 */

.gnb-pc, .header-sub, .btn-contact-pc { display: none !important; }

/* 햄버거 버튼 */
.btn-hamburger { display: flex; flex-direction: column; justify-content: space-between; background: none; border: none; cursor: pointer; }
.btn-hamburger span { display: block; background: #111; }

/* 모바일 풀스크린 메뉴 */
.header-mobile { display: block; position: fixed; top: 0; left: 100%; background: #fff; z-index: 1000; transition: left 0.4s cubic-bezier(0.25, 1, 0.5, 1); display: flex; flex-direction: column; }
.header.is-mobile-open .header-mobile { left: 0; }

.mobile-top { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #ECECEC; }
.btn-close { background: none; border: none; cursor: pointer; }
.mobile-menu-wrap {     flex: 1;     overflow-y: auto;     padding-bottom: 80px;     -ms-overflow-style: none;     scrollbar-width: none; }
.mobile-menu-wrap::-webkit-scrollbar {    display: none; }
.mobile-menu-item { border-bottom: 1px solid #ECECEC; }
.mobile-menu-title { text-align: left; background: none; border: none; cursor: pointer; }

/* 모바일 아코디언 */
.mobile-sub { max-height: 0; overflow: hidden; background: #F2F6FC; transition: max-height 0.3s ease; display: flex; flex-direction: column; }
.mobile-menu-item.is-open .mobile-sub { max-height: 400px; }
.mobile-menu-item.is-open .mobile-menu-title { color: #3B72DF; }
.mobile-btn-contact { position: absolute; bottom: 0; left: 0; }



/** 메인 **/
.mainBanner{background:url('/img/mainBanner-t.jpg?v=20260929'); background-size:cover; background-position:center;}
.facilities__manufacturing:not([hidden]) + .facilities__inspection:not([hidden]) {margin-top:80px;}
.facilitiesFilter button {min-height:64px;}
.paintiogGrid > :first-child {grid-column:1 / -1;}
.productList { flex: none; height: 165px;  background-size: cover;   background-position: center;  background-repeat: no-repeat;  transition: height 0.7s cubic-bezier(0.7, 0, 0.2, 1);   cursor: pointer;  overflow: hidden;   position: relative;  }
.productList:hover {  height: 240px;  flex: none; }
.productList .desc {  width: 100%;   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-grid {    display: grid;    grid-template-columns: repeat(2, 1fr);    gap: 20px;    padding-bottom: 120px; }
.promise-grid .card:nth-child(even) {    transform: translateY(160px);}

.facilitiesFilter {display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); overflow-x:visible;}
.facilitiesFilter button {width:100%; min-width:0; grid-column:span 2; white-space:normal;}
.facilitiesFilter button:nth-last-child(-n+2) {grid-column:span 3;}

.certificateGrid{display:grid; grid-template-columns: repeat(3 , 1fr); gap:48px 24px;}
.trayGird{grid-template-columns:minmax(0,1fr) 80px minmax(0,1fr); row-gap:32px;}
/** 절단 가공 통합 **/
.cuttingGird {display:grid; grid-template-columns:repeat(2,1fr); row-gap:48px;}
/** 도장 통합 **/
.paintingGird {display:grid; grid-template-columns:repeat(2,1fr); row-gap:32px;}


/********************
** 제품소개
********************/
/** 원자력 **/
/** 해양플랜트 **/
/** 조선(상선) 및 육상 플랜트 **/
.shipbuildingCntgrid {display:grid; grid-template-columns:repeat(2,1fr); row-gap:40px;}
.shipbuildingCntgrid2 {grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr); row-gap:40px;}
.shipbuildingCntgrid2 > :nth-child(4) {display:none;}
.unitSupportGrid {grid-template-columns:minmax(0,1fr); gap:40px;}
.unitSupportImageGrid {gap:12px;}
.onshoreMachineGallery {grid-template-columns:minmax(0,1fr); gap:32px;}
.onshoreMachineInfo {gap:32px;}
.onshoreMachineThumbList {grid-template-columns:repeat(4,minmax(0,1fr));}
/** 파이프 레이저 **/
.pipegrid {display:grid; grid-template-columns:repeat(1,1fr);}
/** 도장 공통요소 **/
.paintiogGrid {display:grid; grid-template-columns:repeat(2,1fr);}
/** 분체도장 **/
.powderGrid {display:grid; grid-template-columns:repeat(1,1fr);}
}







/********************
// 모바일 분기점
********************/
@media only screen and (max-width: 768px) {
    .inner{width: calc(100% - 40px);}
    .footGrid{display:none;}
    .productList { flex: none; height: 114px;  background-size: cover;   background-position: center;  background-repeat: no-repeat;  transition: height 0.7s cubic-bezier(0.7, 0, 0.2, 1);   cursor: pointer;  overflow: hidden;   position: relative;  }
    .productList:hover {  height: 200px;  flex: none; }
    .promise-grid { display: grid; grid-template-columns: repeat(1, 1fr); padding-bottom: 0; }

    .mainBanner{background:url('/img/mainBanner-m.jpg?v=20260929'); background-size:cover; background-position:center;}
    .facilities__manufacturing:not([hidden]) + .facilities__inspection:not([hidden]) {margin-top:60px;}
    .facilitiesFilter button {padding:12px 8px;}
    .cuttingProcess__cad span {font-size:28px;}
    
    /* 모바일은 단차가 없으므로 모두 동일하게 시작/끝 */
    .promise-grid .card:nth-child(odd),
    .promise-grid .card:nth-child(even) { 
        transform: translateY(50px);
    }
    .promise-grid .card.is-visible:nth-child(odd),
    .promise-grid .card.is-visible:nth-child(even) {
        opacity: 1;
        transform: translateY(0);
    }
    .certificateGrid{display:grid; grid-template-columns: repeat(2 , 1fr); gap:32px 12px;}
    .historyDot{border:3px solid #4674CA; ; left: 0px; top: 0px; transform: translateX(-50%);}


    .trayGird{grid-template-columns:minmax(0,1fr); row-gap:8px;}
    .trayGird > :not(.trayBox){display:none !important;}
    /** 절단 가공 통합 **/
    .cuttingGird {display:grid; grid-template-columns:repeat(1,1fr); row-gap:40px;}
    /** 도장 통합 **/
    .paintingGird {display:grid; grid-template-columns:repeat(1,1fr); row-gap:40px;}


    /********************
    ** 제품소개
    ********************/
    /** 원자력 **/
    /** 해양플랜트 **/
    /** 조선(상선) 및 육상 플랜트 **/
    .shipbuildingCntgrid {display:grid; grid-template-columns:repeat(2,1fr); row-gap:32px;}
    .shipbuildingCntgrid2 {grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr); row-gap:32px;}
    .unitSupportGrid {gap:32px;}
    /** 도장 공통요소 **/
    .paintiogGrid {display:grid; grid-template-columns:repeat(1,1fr);}
}
