/* 서브페이지 백그라운드, 메뉴 */
#sub_background_wrap {
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
#sub_background {
  width: 100%;
  height: 400px;
  display: inline-block;
  color: #fff;
  position: relative;
  text-align: center;
  z-index: 0;
  animation: scale 30s linear infinite;
}

#sub_background::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: rgba(0, 0, 0, 0.3);
  content: '';
}

#sub_background .snb_tit {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

#sub_background .snb_tit h1 {
  font-size: 40px;
  letter-spacing: -1.5px;
  z-index: 1;
}

#sub_background .snb_tit h2 {
  font-size: 16px;
  letter-spacing: 0px;
  margin-top: 10px;
  z-index: 1;
}

.l10 {
  background: url('../img/content/sub_bg_01.png') no-repeat center center;
  background-size: cover;
}
.l20 {
  background: url('../img/content/sub_bg_03.png') no-repeat center center;
  background-size: cover;
}
.l30 {
  background: url('../img/content/sub_bg_02.png') no-repeat center center;
  background-size: cover;
}
.l40 {
  background: url('../img/content/sub_bg_04.png') no-repeat center center;
  background-size: cover;
}
.l50 {
  background: url('../img/content/sub_bg_05.png') no-repeat center center;
  background-size: cover;
}
.l60 {
  background: url('../img/content/sub_bg_06.png') no-repeat center center;
  background-size: cover;
}

@keyframes scale {
  25% {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
  }
  50% {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
  }
  75% {
    -webkit-transform: scale(1.3);
    -moz-transform: scale(1.3);
    -ms-transform: scale(1.3);
    -o-transform: scale(1.3);
    transform: scale(1.3);
  }
  100% {
    -webkit-transform: scale(1.4);
    -moz-transform: scale(1.4);
    -ms-transform: scale(1.4);
    -o-transform: scale(1.4);
    transform: scale(1.4);
  }
}

#sub_menu {
  width: 100%;
  display: inline-block;
  border-bottom: 1px solid #dcdcdc;
}

#sub_menu .wrap {
  width: 100%;
  margin: 0 auto;
}

#sub_menu .wrap .depth01 {
  display: flex;
}

#sub_menu .wrap .depth01 > li {
  position: relative;
  letter-spacing: -1px;
  font-size: 14px;
  background: url('../img/warrow.png') no-repeat center right;
  background-position-x: calc(100% - 20px);
  cursor: pointer;
  width: calc(100% / 3);
  max-width: 240px;
  height: 60px;
  line-height: 60px;
  padding: 0px 20px;
  border-right: 1px solid #dcdcdc;
}

#sub_menu .wrap .depth01 > li:nth-child(1) {
  width: inherit;
  border-left: 1px solid #dcdcdc;
}

#sub_menu .wrap .depth01 > li i {
  vertical-align: middle;
  font-size: 18px;
}

#sub_menu .wrap .depth01 > li img {
  margin-left: 50px;
  vertical-align: middle;
}

#sub_menu .wrap .depth01 > li.on {
  font-weight: 500;
}

/* 2차메뉴 시작 */
#sub_menu .wrap .depth01 > li > ul {
  display: none;
  cursor: pointer;
  position: absolute;
  z-index: 3;
  background: #fff;
  border: 1px solid #dcdcdc;
  border-bottom: 0;
  width: calc(100% + 2px);
  left: -1px;
}

#sub_menu .wrap .depth01 > li > ul > a > li {
  border-bottom: 1px solid #dcdcdc;
  line-height: 50px;
  padding: 0px 20px;
  background: url('../img/warrow.png') no-repeat center right;
  background-position-x: calc(100% - 20px);
}

#sub_menu .wrap .depth01 > li > ul > a > li:hover {
  background-color: #f9f9f9;
  transition: 0.2s ease all;
}

@media all and (max-width: 768px) {
  #sub_background {
    min-height: 200px;
    padding-top: 120px;
    padding-bottom: 50px;
  }
  #sub_menu .wrap .depth01 > li {
    width: calc(100% / 2);
  }
}

/* 회사개요 */
.intro .intro-line {
  width: 1px;
  height: 30px;
  background: #c5c5c5;
  margin: 20px auto;
}
.intro .intro-bg {
  background: url('../img/content/intro_bg.png') no-repeat center right;
  height: 300px;
  background-size: cover;
}
.intro .intro-bg p {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.intro .intro-bg img {
  width: 20px;
  filter: invert(100%) sepia(2%) saturate(7459%) hue-rotate(57deg)
    brightness(107%) contrast(105%);
}
.intro .intro-bg span {
  display: flex;
  margin: 10px 0;
  color: #fff;
}

/* 조직도 */
.org_img {
  width: 100%;
}

/* 오시는길 */
.map .map_info li div:first-child {
  width: 150px;
}
.map .map_info li {
  height: 45px;
  border-bottom: solid 1px #fff;
  display: flex;
  align-items: center;
  justify-content: start;
}
.map .bg_light {
  background: linear-gradient(to left, #1d2088, #00a0e9);
  border-radius: 5px;
}

@media all and (max-width: 768px) {
  .map .map_info li {
    height: 70px;
  }
  .map .map_info li div:first-child {
    width: 100px;
  }
}

/* 스테인리스 정보 */
.stainless-table {
}
.stainless-table tbody tr:first-child th {
  background: var(--main-c);
  color: #fff;
  border-right: solid 1px #fff;
}
.stainless-table th,
.stainless-table td {
  padding: 1rem;
}
.stainless-table tbody th,
.stainless-table tbody td {
  border-right: solid 1px #ddd;
}
.stainless-table tbody th:last-child,
.stainless-table tbody td:last-child {
  border-right: none !important;
}

.corrosion .txt-box {
  min-height: 170px;
}
.corrosion .section02 {
  background: url(../img/content/stainless03_img01.png) no-repeat center center;
  background-size: cover;
}
.corrosion .section02 .txt-content {
  backdrop-filter: blur(50px);
}

/* 제품소개 */
#productTab {
  border: none;
}
#productTab li {
  width: 33.3%;
}
#productTab li button {
  width: 100%;
  height: 50px;
  border: solid 1px #ddd;
  border-right: none;
  border-radius: unset;
  color: #222;
}
#productTab li:nth-child(3n) button {
  border: solid 1px #ddd;
}
#productTab li:last-child button {
  border: solid 1px #ddd;
}
#productTab li button.active {
  background-color: var(--main-c);
  color: #fff;
  border: solid 1px var(--main-c);
}
#productTabContent h2 {
  color: var(--main-c);
  padding: 30px;
  position: relative;
}
#productTabContent h2::before {
  content: '';
  position: absolute;
  display: block;
  width: 15px;
  height: 15px;
  background-color: var(--main-c);
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
#productTabContent .accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23fff' class='bi bi-plus' viewBox='0 0 16 16'%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3E%3C/svg%3E");
}
#productTabContent .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23fff' class='bi bi-dash' viewBox='0 0 16 16'%3E%3Cpath d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/%3E%3C/svg%3E");
}

@media all and (max-width: 768px) {
  #productTab li {
    width: 50%;
  }
  #productTab li:nth-child(3n) button {
    border-right: none;
  }
  #productTab li:nth-child(2n) button {
    border-right: solid 1px #ddd;
  }
}
@media all and (max-width: 480px) {
  #productTab li {
    width: 100%;
  }
  #productTab li button {
    border-right: solid 1px #ddd !important;
  }
  #productTabContent h2 {
    padding: 20px;
  }
  #productTabContent h2::before {
    width: 10px;
    height: 10px;
  }
}
