@charset "UTF-8";

/* 좌측 네비게이션 */

#item .category-left-nav {
  width: 100%;
  height: auto;
  position: fixed;
  left: 0;
  top: 60px;
  z-index: 999;
  transition: 0.5s;
  padding-left: 20px;
  box-sizing: border-box;
  display: none;
  transition: 0.3s;
}

#item .category-left-nav .nav-next-bt {
  width: 30px;
  height: 30px;
  position: absolute;
  right: 10px;
  top: 15px;
  background: url('../img/b-ar.png') no-repeat;
  background-size: cover;
  cursor: pointer;
  z-index: 1000;
  border-radius: 50px;
}

#item .category-left-nav .nav-prev-bt {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 15px;
  right: 30px;
  background: url('../img/b-al.png') no-repeat;
  background-size: cover;
  cursor: pointer;
  z-index: 1000;
  border-radius: 50px;
}

#item .category-left-nav ul {
  width: 200%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  position: absolute;
  left: 0;
  padding: 10px;
  background-color: #eee;
}

#item .category-left-nav ul li {
  width: 8.3333333%;
  transition: 0.5s;
  box-sizing: border-box;
  text-align: center;
}

#item .category-left-nav ul li:nth-child(9) {
  position: relative;
}

#item .category-left-nav ul li a {
  font-weight: 700;
  font-size: 18px;
  color: #666;
  font-family: 'NanumSquare', sans-serif;
  font-weight: 400;
  padding: 0 2px;
  box-sizing: border-box;
  word-break: keep-all;
  font-weight: 600;
}

#item .category-left-nav ul li:hover a {
  color: #ff6b65;
}

#item .category-left-nav.sticky {
  display: block;
}

/* 배너 */

section.category-main {
  padding-top: 60px;
}

section.category-main .sub-banner {
  width: 100%;
  height: 200px;
  background: url('../img/sub/category_banner.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

section.category-main .sub-banner .ban-text {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

section.category-main .sub-banner .ban-text .ban-ment {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  left: 0;
  right: 0;
  margin: auto;
  text-align: center;
}

section.category-main .sub-banner .ban-text .ban-title {
  font-size: 2rem;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  color: #fff;
  text-align: center;
}

section.category-main .sub-banner .ban-text .ban-text {
  font-size: 1rem;
  color: #d2dfe8;
  font-weight: 400;
  font-family: 'Lato', sans-serif;
  text-align: left;
  display: block;
  line-height: 20px;
  padding-left: 30px;
}

section.category-main .sub-banner .ban-text .ban-text strong {
  background: #ff6b65;
  font-weight: 700;
  padding: 0 3px;
}

/* 아이템 표시 영역 */

#item {
  width: 1200px;
  margin: auto;
  margin-top: 60px;
}

#item .category .content-box {
  width: 100%;
}

#item .content-box .title-box h2 {
  width: 100%;
  font-size: 30px;
  font-weight: 900;
  font-family: "Noto Sans KR", sans-serif;
  color: #454545;
}

#item .content-box .body-box {
  width: 100%;
}

#item .content-box .con-list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: space-between;
  margin-bottom: 70px;
}

#item .content-box .con-list li {
  font-family: 'NanumSquare', sans-serif;
  width: 32%;
  height: 380px;
  margin-top: 80px;
  border-radius: 4px;
  cursor: pointer;
  box-sizing: border-box;
}

#item .content-box .con-list .list-top {
  background: url('../img/sub/item_exam.jpg') no-repeat center;
  background-size: cover;
  transition: 300ms;
  overflow: hidden;
}

#item .content-box .con-list li:hover .list-top {
  transform: scale(1.05);
}

#item .content-box .list-top {
  width: 100%;
  height: 80%;
  overflow: hidden;
}

#item .content-box .list-top img {
  width: 100%;
}

#item .content-box .list-bot {
  width: 100%;
  height: 20%;
  text-align: center;
}

#item .content-box .list-bot .bot1 {
  width: 100%;
  height: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0px 15px;
}

#item .content-box .list-bot .bot1 h3 {
  border-bottom: 2px solid #666;
  margin-bottom: 10px;
  font-size: 22px;
}

#item .content-box .list-bot .bot2 {
  width: 100%;
  height: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#item .content-box .list-bot .bot2 div {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 20px;
  margin: 0 10px;
}

#item .content-box .con-list li .list-bot .bot2 .bot2-left {
  background-color: #eee;
  border-radius: 30px;
  color: #555;
  font-weight: 600;
  font-size: 17px;
}

#item .content-box .con-list li .list-bot .bot2 .bot2-right {
  border: 1px solid #aaa;
  border-radius: 30px;
  color: #6e6f6f;
  font-weight: 600;
  font-size: 17px;
}

#item .content-box .con-list li:hover .list-bot .bot2-right {
  border: 1px solid #9c9d9d;
  background-color: #9c9d9d;
  color: #fff;
}

/* 스크롤 탑버튼 */

.top-bt {
  width: 50px;
  height: 50px;
  border-radius: 100px;
  border: 1px solid #ac2121;
  background-color: #ac2121;
  color: #fff;
  font-weight: 700;
  text-align: center;
  position: fixed;
  right: 100px;
  bottom: 100px;
  z-index: 1000;
  display: none;
}

/* 반응형 */

@media all and (max-width: 1640px) {
  .top-bt {
    right: 1%;
  }

  footer {
    clear: both;
  }
}

@media all and (max-width: 1200px) {
  #item .content-box .title-box {
    padding-left: 0;
    box-sizing: border-box;
    font-size: 24px;
  }

  #item {
    width: 100%;
    float: none;
    margin: auto;
    margin-right: 0;
    padding-top: 40px;
  }

  #item .body-box {
    margin-top: -40px;
  }

  .category-left-nav {
    display: none;
  }
}

@media all and (max-width: 900px) {
  #item {
  }

  #item .content-box .con-list li {
    width: 48%;
  }

  #item .category-left-nav.sticky {
    display: none;
  }
  section.category-main {
    padding-top: 0;
  }
}

@media all and (max-width: 560px) {
  #item .content-box .title-box {
    text-align: center;
    padding-left: 0;
    font-size: 18px;
  }

  #item .content-box .con-list {
    justify-content: center;
  }

  #item .content-box .con-list li {
    width: 90%;
  }
}
