/* 기본 스타일 */



@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.8/dist/web/variable/pretendardvariable.css");


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    color: #202c4b;
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    list-style: none;
    letter-spacing: -2%;
  }
  

  body {
    font-family: Arial, sans-serif;
    line-height: 1.4;
    
  }

  h2{
    font-size: 2.1rem;
  }
  p{
    font-size: 1.2rem;
  }

  .mobr, .flip{
    display: none;
  }


  header, nav, footer {
  }
  header{
    position: fixed;
    width: 100%;
    padding: 10px 10%;
    z-index: 9999;
    top: 0;
    overflow: hidden;
    box-sizing: border-box;
  }

  #header{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
  }
  header:hover{
    background: #fff;
    transition: all 1s;
  }
  .logo a{
    display: block;
    width: 180px;
  }
  .logo a img{
    display: block;
    width: 100%;
  }
  .menu{
    display: flex;
    gap: 20px;
    align-items: center;
  }
  nav a {
    padding: 0 24px;
    font-size: 18px;
    font-weight: 500;
  }
  nav a:hover{
    color: #165478;
    transition: 0.3s;
  }
  nav a.active {
    font-weight: bold;
    text-decoration: underline;
  }


  /* 스크롤 시 배경색 변경용 클래스 */
header.scrolled {
  background-color: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: all 0.3s;
}

/* 햄버거 버튼 */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span {
  width: 25px;
  height: 2px;
  background-color: #333;
  display: block;
}

/* 모바일 메뉴 */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 250px;
  height: 100%;
  background: white;
  box-shadow: -2px 0 5px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  padding: 60px 20px;
  transition: right 0.3s ease;
  z-index: 9998;
}
.mobile-menu a {
  margin-bottom: 30px;
  font-size: 18px;
  color: #000;
  text-decoration: none;
}
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: #000;
}

/* 메뉴 열렸을 때 */
.mobile-menu.open {
  right: 0;
}

  main {
    position: relative;
  }
  .main-image {
    width: 100%;
    height: 90vh;
    background: url('img/main.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
  }
  .main-image h2{
    width: 80%;
    margin: -11% auto 0 auto;
    font-weight: 600;
  }
  .main-con, .history, .subcon01 {
    margin: 180px 10%;
  }
  .con-title{
    text-align: center;
    margin-bottom: 80px;
  }
  .con-title h2{
    margin-bottom: 20px;
  }
  .features {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 20px;
  }
  .item {
    flex: 1;
    text-align: center;
    border-radius: 20px;
  }
  .features .item .imgWR{
    border-radius: 20px;
    height: 400px;
  }
  .features .item .imgWR span{
    display: block;
    border-radius: 20px;
    width: 100%;
    height: 100%;
    color: #fff;
    padding: 34px;
    font-size: 1.1rem;
    text-align: left;
  }
  .features .item:nth-child(odd) .imgWR span{
    background: linear-gradient(180deg, #202C4B 0%, rgba(32, 44, 75, 0.00) 100%);
  }
  .features .item:nth-child(even) .imgWR span{
    background: linear-gradient(180deg, #165478 0%, rgba(22, 84, 120, 0.00) 100%);
  }
  .features .item:nth-child(1) .imgWR{
    background: url('img/factory01.jpg') center/cover no-repeat;
  }

  .features .item:nth-child(2) .imgWR{
    background: url('img/factory02.jpg') center/cover no-repeat;
  }

  .features .item:nth-child(3) .imgWR{
    background: url('img/factory03.jpg') center/cover no-repeat;
  }

  .features .item:nth-child(4) .imgWR{
    background: url('img/factory04.jpg') center/cover no-repeat;
  }
  .features .item:nth-child(even){
    margin-top: 70px;
  }

.main-info{
    display: flex;
    margin: 180px 10%;
}
.main-info .textWR{
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
}
.main-info .textWR h2{
    margin-bottom: 80px;
}
.tit-deco01{
    z-index: -9;
    display: block;
    width: 180px;
    height: 20px;
    background: #39efff;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-90px);
}

.tit-deco02{
    z-index: -9;
    display: block;
    width: 120px;
    height: 20px;
    background: #39efff;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-60px);
}

.tit-deco03{
    z-index: -9;
    display: block;
    width: 140px;
    height: 20px;
    background: #39efff;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-70px);
}
.main-info .textWR p{
    font-size: 1.3rem;
    line-height: 32px;
    margin-bottom: 42px;

}
.main-info .textWR p:last-child{
  margin-top: 50px;
}

.main-info .imgWR{
    width: 45%;
    background: url('img/infoImg.jpg') center/cover no-repeat;
    border-radius: 80px 0;
    height: 400px;
    margin-top: 60px;
}

  footer{
    background-color: #323232;
    width: 100%;
    height: auto;
  }


/* footer */



footer{
    width: 100%;
    background: #222223;
}
footer>div{padding: 20px 0;margin: 0 auto;width: 80%;}
footer span{width: 90%;height: 1px;background: rgb(76, 76, 76);;display: block;margin: 0 auto;}

.footer_up{display: flex;justify-content:space-between;}
.footer_up ul{float: left;text-align: left;}
.footer_up ul li{box-sizing: border-box;padding: 5px 10px;font-size: 14px;color: #eee;}
.footer_up ul li:first-child{font-weight: 700;color: rgb(161, 161, 161);}
.footer_down{position: relative;}
.footer_down img{width: 120px;}
.footer_down small{position: absolute;right: 0;bottom: 35px;color: #eee;font-size: 12px;}






/*  회사소개  */


.sub-top-image, .sub-top-image02, .sub-top-image03{
    width: 100%;
    height: 30vh;
    margin-top: 80px;
}
.sub-top-image{
    background: url('img/subtop.jpg') center/cover no-repeat;
}
.top02{
    background: url('img/factory02.jpg') center/cover no-repeat;
}
.top03{
    background: url('img/factory01.jpg') center/cover no-repeat;
}
.sub-top-image span{
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}
.sub-top-image h2{
    font-weight: 600;
}

.historyIMG{
    display: flex;
    justify-content: center;
    align-items: center;
} 
.historyIMG img{
    display: block;
}
.point-img{
    width: 450px;
    height: 560px;
    border-radius: 80px 0;
    background: url('img/main.jpg') center bottom /cover no-repeat;
}

.features .item img{
    width: 100%;
    border: 1px solid #e7e7e7;
  }
  

  /* 제품소개 */

.tabs {
    margin-top: 50px;
    padding-bottom: 40px;
    background-color: #ffffff;
    width: 100%;
    margin: 0 auto;}
  
  .tab_item {
    width: calc(100%/6);
    height: 50px;
    border-bottom: 1px solid #165478;
    line-height: 50px;
    border-radius: 16px 16px 0 0;
    font-size: 16px;
    color: #202c4b;
    display: block;
    float: left;
    text-align: center;
    font-weight: 700;
    transition: all 0.2s ease;
  }
  .tab_item:hover {
    opacity: 0.75;
  }
  
  input[name="tab_item"] {
    display: none;
  }
  
  .tab_content {
    display: none;
    clear: both;
    overflow: hidden;
  }
  .tab_content div{
    margin-top: 50px;
  }

  .tab_content h2{ 
    font-size: 1.6rem;
    font-weight: 500;
  }
  .tab_content p{
    font-size: 1rem;
    font-weight: 400;
  }
  .products{
    display: flex;
    padding-top: 20px;
    flex-wrap:wrap;
    row-gap: 50px;
  }
  .products li{
    width: calc(100%/4);
    text-align: center;
  }
  .products li img{
    width: 100%;
    margin-bottom: 16px;
  }
  
  
  #pattern:checked ~ #pattern_content,
  #unpattern:checked ~ #unpattern_content,
  #chemical:checked ~ #chemical_content,
  #cosmetic:checked ~ #cosmetic_content,
  #mini:checked ~ #mini_content,
  #oil:checked ~ #oil_content {
    display: block;
  }
  
  .tabs input:checked + .tab_item {
    background-color: #165478;
    color: #fff;
  }


  .productsWR{
    display: flex;
    gap: 10px;
  }

  .productsWR .item{
    flex-grow: 1;
  }
  .productsWR .item img{
    width: 100%;
  }

  /* 공장장비 */

  .equipment{
    padding: 180px 0;
  }

  .swiper-container {
    width: 100%;
    height: auto;
    position: relative;
    
  }
  .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
  }
  .swiper-button-next{
    margin-right: 100px;
  }
  .swiper-button-prev{
    margin-left: 100px;
  }
  .swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction{
    position: relative;
    bottom: 100px;
  }
  .toolsImg{
    display: flex;
    width: 100%;
    padding: 40px 10%;
    height: 550px;
    gap: 32px;
  }
  .toolsImg img{
    width: 50%;
  }


  .sub04Con{
    padding: 180px 10% 0 10%; 
  }
  .sub04Con img{
    width: 100%;
    padding: 50px 0;
    display: block;
  }
  .setting{
    font-size: 1.3rem;
  }
  .setting li{
    margin-bottom: 10px;
    display: flex;
    gap: 8px;
  }
  .setting li span{
    display: block;
    width: 6px;
    height: 6px;
    background: #202c4b;
    border-radius: 50%;
    margin-top: 12px;
  }

  
  .mobileSlider{
    display: none !important;
  }

.rwd-table {
    width: 100%;
    border-collapse: collapse;
  }
  .tdDeco{
    display: inline-block;
    width: 9px;
    height: 9px;
    background-color: #165478;
    border-radius: 50%;
    margin-right: 10px;

  }
  .tableTit{
    margin-top: 100px;
    margin-bottom: 10px;
  }
  
  .rwd-table tr:first-child {
    border-top: none;
    background: #165478;
  }
  .rwd-table tr:last-child {
    border: none;
  }
  
  .rwd-table tr {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    background-color: #f5f9fc;
  }
  
  .rwd-table tr:nth-child(odd):not(:first-child) {
    background-color: #ebf3f9;
  }
  
  .rwd-table th {
    display: none;
    color: #fff;
  }
  
  .rwd-table td {
    display: block;
  }
  
  .rwd-table td:first-child {
    margin-top: .5em;
  }
  
  .rwd-table td:last-child {
    margin-bottom: .5em;
  }
  
  .rwd-table td:before {
    content: attr(data-th) ": ";
    font-weight: bold;
    width: 120px;
    display: inline-block;
    color: #000;
  }
  
  .rwd-table th,
  .rwd-table td {
    text-align: left;
  }
  
  .rwd-table {
    color: #333;
    border-radius: .4em;
    overflow: hidden;
  }
  
  .rwd-table tr {
    border-color: #bfbfbf;
  }
  
  .rwd-table th,
  .rwd-table td {
    padding: .5em 1em;
  }
  @media screen and (max-width: 601px) {
    .rwd-table tr:nth-child(2) {
      border-top: none;
    }
  }
  @media screen and (min-width: 600px) {
    .rwd-table tr:hover:not(:first-child) {
      background-color: #d8e7f3;
    }
    .rwd-table td:before {
      display: none;
    }
    .rwd-table th,
    .rwd-table td {
      display: table-cell;
      padding: .25em .5em;
    }
    .rwd-table th:first-child,
    .rwd-table td:first-child {
      padding-left: 0;
    }
    .rwd-table th:last-child,
    .rwd-table td:last-child {
      padding-right: 0;
    }
    .rwd-table th,
    .rwd-table td {
      padding: 1em !important;
    }
  }
  

  #daumRoughmapContainer1750156967495{
    margin: 0 auto;
  }

  .location{
    padding: 150px 0;
  }




  /* 반응형 */



  
/* 반응형 처리 */
@media (max-width: 1024px) {
  .menu {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  h2{
    font-size: 1.4rem;
  }
  header{
    padding: 10px 20px;
  }
  .logo a{
    width: 160px;
  }
  
  #header{
    height: 46px;
  }
    .tit-deco01{
      width: 120px;
      height: 16px;
      top: 16px;
      transform: translateX(-60px);
    }
    .tit-deco02{
      height: 16px;
      width: 112px;
      top: 44px;
      transform: translateX(-56px);
    }
    .tit-deco03{
      height: 16px;
      width: 100px;
      top: 16px;
      transform: translateX(-50px);
    }
    .main-con, .history, .subcon01{
      margin: 140px 6%;
    }
    .main-info{
      margin: 140px 6% ;
    }
    .equipment{
      padding: 140px 0 ;
    }
    .sub04Con{
      padding: 140px 6% 0 6%;
    }
    .sub-top-image, .sub-top-image02, .sub-top-image03{
      margin-top: 66px;
    }
    .historyIMG{
      flex-direction:column;
    }
    .point-img{
      height: 230px;
    }
    .historyIMG img{
      width: 85%;
    }

    #daumRoughmapContainer1750156967495{
      width: 90% !important;
    }
    
  .swiper-button-next{
    margin-right: 0;
  }
  .swiper-button-prev{
    margin-left: 0;
  }
  .toolsImg{
    height: 370px;
  }
  .toolsImg img{
    height: 300px;
  }
  .setting li{
    font-size: 18px;
  }
  .features .item .imgWR{
    height: 300px;
  }
}

  @media (max-width: 700px) {
    
    .feature {
      width: 100%;
    }
    nav {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
    }
    nav a {
      margin: 5px;
    }
    h2 {
      font-size: 20px;
    }
    .tab_content h2{
      font-size: 17px;
    }
    .tab_content p{
      font-size: 13px;
    }
    p{
        font-size: 14px;
    }
    .feature p {
      font-size: 0.9em;
    }
    .main-image h2{
        width: 92%;
        margin: -30% auto 0 auto;
    }
    .main-con{
        margin: 70px 4%;
    }
    .equipment{
      padding: 70px 0;
    }
    .sub04Con{
      padding: 70px 4% 0 4%;
    }
    .pcSlider{
      display: none;
    }
    .toolsImg{
      height: 260px;
    }
    .toolsImg img{
      width: 100%;
      height: 200px;
    }
    .swiper-button-prev,.swiper-button-next{
      scale: 0.7;
    }
    .swiper-pagination-bullet{
      width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 5px)) !important;
      height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 5px)) !important;
    }
    header{
      padding: 4px 16px;
    }
    .logo a{
      width: 132px;
    }
    .main-image{
      height: 80vh;
      background-size: 230%;
      background-position-y: top;
    }
    .con-title{
      margin-bottom: 30px;
    }
    .features{
      flex-direction:column;
    }
    
    .features .item .imgWR span{
      font-size: 16px;
      border-radius: 12px;
      padding: 24px;
    }
  .features .item:nth-child(even){
    margin-top: 0;
  }
  .features .item .imgWR{
    height: 200px;
    border-radius: 12px;
  }
  .main-info .textWR p{
    font-size: 16px;
    line-height: 25px;

  }
  .main-info{
    flex-direction:column;
    margin: 70px 4%;
    padding-bottom: 50px;
  }
  .main-info .textWR{
    width: 100%;
  }
  h4{
    font-size: 16px;
  }
  .pc-space{
    display: none;
  }
  .main-info .imgWR{
    display: none;
  }

  footer>div{
    width: 92%;
  }
  .footer_up{
    flex-direction:row;
    flex-wrap:wrap;
  }
  footer span{
    width: 90%;
  }
  .footer_down img{
    width: 90px;
  }
  .footer_down small{
    bottom: 26px;
    font-size: 10px;
  }
  .footer_up ul li{
    font-size: 12px;
  }

  .point-img{
    width: 100%;
    height: 180px;
    border-radius: 40px 0;
  }
  .historyIMG img{
    width: 110%;
  }
  .main-con, .history, .subcon01{
    margin: 60px 4%;
  }
  .subcon01{
    padding-bottom: 50px;

  }
  .sub-top-image, .sub-top-image02, .sub-top-image03{
    margin-top: 54px;
  }

  .location{
    padding: 100px 0;
  }

  .wrap_map{
    height: 250px !important;
  }
  .aboutConWR{
    flex-direction: row;
    gap: 1%;
  }
  .products li{
    width: calc(100%/2);
  }

  .tabs{
    padding-bottom: 0;
  }
  .aboutConWR .item {
    width: 49%;
    flex: none;
  }
  .tab_item{
    width: calc(100%/3);
    height: 40px;
    line-height: 40px;
    margin-bottom: 10px;
    border-radius: 12px 12px 0 0;
    font-size: 14px;
  }
  .tab_content div{
    margin-top: 20px;
  }
  .setting li{
    font-size: 15px;
    margin-left: 5%;
  }
  .setting li span{
    width: 5px;height: 5px;
    margin-top: 10px;
  }
  .mobile-menu a{
    font-size: 16px;
  }
  .tableTit{
    margin-top: 80px;
    font-size: 16px;
  }
  .tdDeco{
    width: 6px;
    height: 6px;
    margin-right: 4px;
  }
  .rwd-table th, .rwd-table td{
    padding: 5px 5px;
    font-size: 13px;
  }
  .mobr{
    display: block;
  }
  }


  @media (max-width: 340px) {
    .mobr{
      display: none;
    }
    .flip{
      display: block;
    }
    .setting li{
      margin-left: 0;
    }
  }