@charset "utf-8";
@media (min-width: 1440px) {
  html {
    overflow-y: scroll;
  }
}


/* end reset browser styles */
div.headerWrap {
  position: relative;
  top: -18px;
  left: 0;
  width: 1100px;
  height: 100px;
  margin: 0 auto;
  z-index: 10;
}
div.headerWrap > div {
  width: 1100px;
  height: 100px;
  position: relative;
  top: 10px;
  left: 0;
  margin: 0 auto;
  background: linear-gradient(#56ccf2 0%, #2f80ed 100%);
  border-radius: 0 0 5px 5px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6),
              inset 0 0 8px 1px rgba(0, 0, 0, 0.2),
              0 0 5px rgba(0, 0, 0, 0.5);
}
div.headerWrap > div h1 {
  position: absolute;
  top: -10px;
  left: 0;
}

/* === 새 네비게이션 === */
.main-nav {
  position: absolute;
  left: 350px;
  top: 10px;
  height: 60px;
  z-index: 13;
}
.nav-list {
  display: flex;              /* float 제거 → flex */
  gap: 60px;                  /* 메뉴 간 간격 */
  list-style: none;
  margin: 0;
  padding: 0;
  height: 80px;
  align-items: center;
}
.nav-list > li {
  position: relative;
}
.nav-list > li > a {
  font: 600 18px/3.5 "Pretendard", sans-serif;
  color: #fff;
  text-decoration: none;
  padding: 10px 5px;
  text-shadow: 0 0 3px rgba(0,0,0,0.5);
  transition: color 0.3s ease;
}
.nav-list > li > a:hover {
  color: #ffcc66;
}

/* === 드롭다운 === */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px; /* 카드형이므로 조금 넓게 */
  padding: 15px;
  display: grid;
  gap: 10px; /* 카드 간격 */
  
  background: linear-gradient(to right, #0ed2f7, #b2fefa); /* 밝은 그라데이션 */
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}
.dropdown li {
  list-style: none;
}
.dropdown li a {
  display: block;
  padding: 12px 15px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.25);
  color: #004d5a;  /* 기본: 짙은 남색 */
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}
.dropdown li a:hover {
  background: linear-gradient(90deg, #56ccf2 0%, #2f80ed 100%); /* 메인메뉴 배경과 같은 그라데이션 */
  color: #ffffff;  /* hover 시 흰색 글자 */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.nav-list > li:hover .dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

div.bg {
  position: relative;
  width: 100%;
  height: 500px;
  background: #eee;
  margin-bottom: 20px;
  top: -178px;
  background: url(newimg/cleanroom.jpg) no-repeat center 60%;
  background-size: cover;
}
div.bg p {
  font: 800 2.9em "Pretendard", sans-serif;
  color: #f0f3fc;
  text-align: center;
  margin: 0;
  
  text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
   padding-top: 230px;
}

div.bg p span {
  display: inline-block;
  will-change: transform, opacity;
}
#line1 {
  position: relative;
  top: 20px; /* 원하는 만큼만 아래로 */
  margin-bottom: 0; /* 불필요한 기본 간격 제거 */
}
div.bg span#line2 {
  display: block;
  font: 700 60px/1.6 "Pretendard", sans-serif;
  color: #ffcc66;
  text-align: center;
  margin-top: 10px;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
  will-change: transform, opacity;
}



div.conbody {
  margin-top: -370px;
  position: relative;
}
div.service {
  width: 100%;
  text-align: center;
  position: relative;
  top: 140px;
  z-index:10px;
}

.wrap1 {
  width: 100%;
  position: relative;
  height: 120px;
  top: 145px;
  left: 0;
}
.wrap1 .info {
  width: 1060px;
  background: linear-gradient(to right, #0ed2f7, #b2fefa);
  height: 120px;
  margin: 0 auto;
  position: relative;
}
.wrap1 .info span:first-child {
  color: WHITE;
  font: bold 40px "Pretendard", sans-serif;
  position: absolute;
  top: 23px;
  left: 70px;
  text-shadow: 0 0 5px #ccc;
}
.wrap1 .info span:nth-child(2) {
  color: WHITE;
  font: normal 15px "Pretendard", sans-serif;
  position: absolute;
  bottom: 25px;
  left: 75px;
  text-shadow: 0 0 3px #ccc;
}
.wrap1 .info span:nth-child(3) {
  color: #1b3a4b;
  font: bold 16px "Pretendard", sans-serif;
  position: absolute;
  top: 12px;
  left: 730px;
}
.wrap1 .info span:nth-child(4) {
  color: #004d5a;
  font: bold 30px "Pretendard", sans-serif;
  position: absolute;
  top: 35px;
  left: 730px;
}
.wrap1 .info span:nth-child(5) {
  color: #004d5a;
  font: bold 30px "Pretendard", sans-serif;
  position: absolute;
  top: 75px;
  left: 730px;
}
.wrap1 .info .phone {
  position: absolute;
  top: 40px;
  left: 620px;
}
.wrap1 .info .phone i {
  color: #fff;
  font-size: 60px;
  opacity: 0.2;
  position: absolute;
  top: -5px;
  left: 10px;
}
.wrap1 .info .phone i:nth-child(2) {
  animation: ani linear 1.5s 0s infinite;
}
.wrap1 .info .phone i:nth-child(3) {
  animation: ani linear 1.5s 0.5s infinite;
}
.wrap1 .info .phone i:nth-child(4) {
  animation: ani linear 1.5s 1s infinite;
}
@keyframes ani {
  0% {
    opacity: 0.6;
    transform: scale(1.2);
    transform-origin: left center;
  }
  100% {
    opacity: 0;
    transform: scale(1.5);
    left: 70px;
  }
}
/* 전체 컨테이너 */
.wrap {
  width: 100%;
  margin-top: 179px;
}

.mbg {
  width: 1070px;
  margin: 10px auto 40px auto;
  overflow: hidden; /* float 해제 */
}

/* 각 제품 블록 */
.mbg figure {
  width: 259px;
  margin: 6px 4px 37px 4px;
  float: left;
  text-align: center;
}

/* 이미지 박스 */
.img-box {
  width: 259px;
  height: 200px;
  position: relative;
  overflow: hidden;
}
.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 원본 비율 유지하면서 채우기 */
  display: block;
}

/* overlay */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.55);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s ease;
}
.img-box:hover .overlay {
  opacity: 1;
}

/* 원형 버튼 */
.icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #024983c4; /* 황금색 */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: scale(0.6);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.img-box:hover .icon-circle {
  transform: scale(1);
  opacity: 1;
}

/* SVG 체인 아이콘 */
.chain-icon {
  transform: rotate(-30deg); /* 대각선 기본 상태 */
  transition: transform 0.3s ease, stroke 0.3s ease;
}
.icon-circle:hover .chain-icon {
  transform: rotate(60deg);       /* hover 시 회전 */
  stroke: #000;                   /* hover 시 검정색으로 변경 */
  stroke-width: 4.5;   
  color:red;           /* hover 시 살짝 두껍게 */
}

/* 캡션 */
.mbg figcaption {
  font: 600 13px "Pretendard", sans-serif;
  color: #313131;
  padding-top: 5px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}


div.newboard {
  clear: both;
  width: 100%;
  height: auto;
  position: relative;
  top: 1px;
  overflow: hidden;
  margin-bottom: 13px;
}
div.newboard .freeboard {
  width: 1100px;
  position: relative;
  margin: 0 auto;
  height: 220px;
}
div.newboard .freeboard > div:first-child {
  position: absolute;
  width: 525px;
  top: 1px;
  left: 20px;
}
div.newboard .freeboard > div:last-child {
  width: 526px;
  position: absolute;
  top: 1px;
  left: 552px;
}
.td1 {
  width: 642px;
}
.gnav {
  background: url(img/66.jpg) no-repeat;
  width: 642px;
  height: 39px;
}
.gnav ul {
  margin: 0;
}
.gnav li {
  list-style: none;
  float: left;
  width: 100px;
  padding-top: 10px;
}
.gnav li:first-child {
  margin-left: 30px;
}
.gnav li:nth-child(3) {
  width: 170px;
}
.gnav li a {
  font: 500 18px "Pretendard", sans-serif;
  display: block;
  color: #fff;
  text-decoration: none;
  text-align: center;
  transition: 0.2s;
}
.gnav li a:hover {
  color: aqua;
}
div.footer {
  width: 100%;
  height: 130px;
  background: #1ec0ff;
  clear: both;
  font: normal 15px/1.8 "Pretendard";
  color: #666;
}
div.footer div:first-child {
  width: 1050px;
  height: 50px;
  margin: 0 auto;
}
div.footer div:nth-child(2) {
  width: 100%;
  background: #f5f4f4;
}
div.footer div:nth-child(2) div {
  padding: 12px;
  height: 140px;
}
div.footer div:nth-child(2) div span {
  font-size: 12px;
  letter-spacing: 2px;
  font-variant: small-caps;
}
