#slider-type04-Bg {
  margin: 6rem 0;
  background-image: url(../img/tab_bgm.png);
  background-size: 90%;
  background-repeat: no-repeat;
  background-position: top center;
  width: 100%;
  height: auto;
}

.tabBox {
  text-align: center;
  padding-top: 15rem;
}
.tab-menus ul {
  overflow: hidden;
  margin: 0 auto;
}
.tab-menus ul li {
  overflow: hidden;
  float: left;
  margin-right: 2rem;
  margin: 0 auto;
  width: 48%;
  margin-bottom: 1rem;
  margin-left: 0.5rem;
}
.tab-menus ul li:hover {
  cursor: pointer;
}
.tab-menus ul li:hover p {
  background-color: #cf1515;
  color: white;
  /* border: 1px solid #d92c2c; */
}
.aa {
  color: #444;
  display: block;
  border: 2px solid #444;
  border-radius: 30px;
  transition: 0.3s;
  padding: 1rem 2rem;
  font-family: "S-CoreDream-3Light";
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.11);
  font-size: 1.6rem;
}
.tab-contents {
  width: 100%;
  overflow: hidden;
}
.tab-contents ul {
  width: 100%;
  height: auto;
  float: left;
  margin-top: 4.6rem;
  overflow: hidden;
  padding: 0rem;
}
.tab-contents ul li {
  float: left;
  width: 48.4%;
  margin-right: 26px;
  margin-bottom: 2%;
  overflow: hidden;
  transition: 0.5s;
  position: relative;
  margin-right: 1rem;
}

#con02-tab-con05 ul li,
#con02-tab-con07 ul li,
#con02-tab-con10 ul li {
  width: 100%;
}
.tab-contents ul li .box {
  width: 100%;
  height: auto;
  background-color: rgba(42, 150, 203, 0.63);
  position: absolute;
  top: 0px;
  opacity: 0;
  transition: 0.5s;
  overflow: hidden;
}
.tab-contents ul li .box i {
  position: relative;
  margin-top: 4rem;
  font-size: 2rem;
  cursor: pointer;
  color: white;
  margin-bottom: 3rem;
}
.tab-contents ul li:hover .box {
  opacity: 1;
}
.tab-contents ul li:nth-of-type(even) {
  margin-right: 0rem;
}
.tab-contents ul li .box {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 142, 213, 0.85);
  position: absolute;
  left: 0;
  top: 0px;
  transition: 0.5s;
  z-index: 9;
  opacity: 0;
  padding-top: 20px;
}
.tab-contents ul li .box .button {
  cursor: pointer;
  width: 51px;
  height: 51px;
  margin: 0 auto;
}
.tab-contents ul li a {
  transition: 0.5s;
  transform-origin: center;
}
.tab-contents ul li:hover a {
  transform: scale(1.15);
}
.ee {
  width: 100%;
  padding: 1rem 0rem;
}
.ee ul li {
  float: left;
  font-size: 1.5rem;
}
.ee ul li img {
  width: 15px;
}
.ee ul li p {
  margin-left: 10%;
  display: block;
  width: 230px;
  margin-top: -12px;
}
.ee ul li:nth-of-type(2) p {
  margin-top: -10px;
}
.ee ul li:nth-of-type(2) img {
  margin-top: 10px;
}
.active {
  color: white;
  background-color: #cf1515;
  border-radius: 30px;
  border: 2px solid #cf1515;
}

@media screen and (min-width: 1200px) {
  #slider-type04-Bg {
    /* margin: 6rem 0; */
    background-image: url(../img/tab_bg.png);
    background-size: cover;
    background-position: top center;
    width: 100%;
    height: auto;
  }
  #slider-type04 .tab-menus {
    display: inline-block;
    font-size: 2.2rem;
    line-height: 1.2em;
    padding: 1rem;
    padding-bottom: 0.5rem;
    color: #fff;
  }
  #slider-type04-Wrap {
    padding: 17% 0 2% 0;
  }
  .tabBox {
    text-align: center;
    padding-top: 0rem;
  }
  .tab-menus ul li {
    margin-left: 1rem;
    width: 19%;
  }

  /* .tab-menus ul li:nth-of-type(1),
  .tab-menus ul li:nth-of-type(6) {
    margin-left: 0;
  } */

  .tab-contents ul {
    width: 1200px;
  }
  #con02-tab-con01 ul li,
  #con02-tab-con02 ul li,
  #con02-tab-con03 ul li,
  #con02-tab-con04 ul li,
  #con02-tab-con06 ul li,
  #con02-tab-con08 ul li,
  #con02-tab-con09 ul li {
    width: 282px;
    height: 160px;
  }

  #con02-tab-con05 ul li,
  #con02-tab-con07 ul li,
  #con02-tab-con10 ul li {
    width: 100%;
  }

  .tab-contents ul li .box {
    left: 0;
    top: 0px;
    z-index: 9;
    padding-top: 60px;
  }

  .aa {
    color: #444;
    display: block;
    border: 2px solid #444;
    border-radius: 30px;
    transition: 0.3s;
    padding: 1rem 2rem;
    font-family: "S-CoreDream-3Light";
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.11);
    font-size: 2rem;
  }
  .active {
    color: white;
    background-color: #cf1515;
    border-radius: 30px;
    border: 2px solid #cf1515;
  }
  .bb ul li > img {
    transition: all ease 1s;
  }
  .ee ul li img {
    width: 20px;
  }
  .ee ul li p {
    width: 300px;
    margin-top: -10px;
  }
  .ee ul li:nth-of-type(2) img {
    margin-top: 0px;
  }
  .ee ul li:nth-of-type(2) p {
    margin-top: -10px;
  }
  .tab-contents ul li .box .button {
    cursor: pointer;
    width: 51px;
    height: 51px;
    margin: 0 auto;
  }
  .tab-contents ul li a {
    transition: 0.5s;
    transform-origin: center;
  }
  .tab-contents ul li:nth-of-type(4),
  .tab-contents ul li:nth-of-type(8),
  .tab-contents ul li:nth-of-type(12),
  .tab-contents ul li:nth-of-type(16),
  .tab-contents ul li:nth-of-type(20),
  .tab-contents ul li:nth-of-type(24),
  .tab-contents ul li:nth-of-type(28) {
    margin-right: 0px;
  }
  .tab-contents ul li:nth-of-type(2),
  .tab-contents ul li:nth-of-type(6),
  .tab-contents ul li:nth-of-type(10),
  .tab-contents ul li:nth-of-type(14),
  .tab-contents ul li:nth-of-type(18),
  .tab-contents ul li:nth-of-type(22),
  .tab-contents ul li:nth-of-type(26),
  .tab-contents ul li:nth-of-type(30) {
    margin-right: 2rem;
  }
}

#slider {
  padding-top: 5%;
  overflow: hidden;
  position: relative;
  width: 100%; // 이미지 보여지는 뷰 부분
  height: 200px;
}
.image-box {
  width: 5280px; // 원본+클론의 총 합
  height: 100%;
  display: flex;
  flex-wrap: nowrap;
  animation: bannermove 40s linear infinite;
}
.image-box div {
  padding: 1rem;
}
@keyframes bannermove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-50%, 0);
  }
}
