@import url(common.css);
@import url(head.css);
@import url(foot.css);
@import url(popular.css);
.indexWrap {
  padding: 0.8rem 3.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.indexWrap .categoryTotal {
  width: calc(100% - 32.4rem - 3.2rem);
  padding-bottom: 3.2rem;
}
.indexWrap .categoryTotal .pcAd {
  display: grid;
  grid-column: span 2;
}
.indexWrap .categoryTotal .mobileAd {
  display: none;
}
.indexWrap .categoryTotal .topTitle {
  font-weight: 500;
  font-size: 2.2rem;
  line-height: 3rem;
  color: #333333;
  padding: 1.1rem 0;
}
.indexWrap .categoryTotal .categoryList {
  display: grid;
  grid-gap: 2.4rem 2.4rem;
  grid-template-columns: repeat(2, calc((100% - 2.4rem) / 2));
}
.indexWrap .categoryTotal .categoryList .category {
  border: 1px solid #F2F2F2;
  border-radius: 1.6rem;
  padding: 1.6rem 2rem;
}
.indexWrap .categoryTotal .categoryList .category .categoryLink {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.indexWrap .categoryTotal .categoryList .category .categoryLink .categoryTitle {
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 2.4rem;
  color: #333333;
  padding: 0.8rem 0;
}
.indexWrap .categoryTotal .categoryList .category .categoryLink .more {
  display: flex;
  align-items: center;
}
.indexWrap .categoryTotal .categoryList .category .categoryLink .more .moreText {
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 2.4rem;
  color: #00AD7C;
}
.indexWrap .categoryTotal .categoryList .category .categoryLink .more img {
  width: 2rem;
  height: 2rem;
  padding: 0 0.8rem;
}
.indexWrap .categoryTotal .categoryList .category .itemList {
  display: grid;
  grid-gap: 0 0.7rem;
  grid-template-columns: repeat(5, calc((100% - 2.8rem) / 5));
}
.indexWrap .categoryTotal .categoryList .category .itemList .item .itemLink .itemImg {
  width: 6.1rem;
  height: 6.1rem;
  border-radius: 1.4rem;
}
.indexWrap .categoryTotal .categoryList .category .itemList .item .itemLink .itemImg:hover {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
}
@media only screen and (max-width: 767px) {
  .indexWrap {
    padding: 0 1.6rem;
    display: block;
  }
  .indexWrap .categoryTotal {
    width: 100%;
    padding-right: 0;
    padding-bottom: 1.6rem;
  }
  .indexWrap .categoryTotal .pcAd {
    display: none;
  }
  .indexWrap .categoryTotal .mobileAd {
    display: block;
  }
  .indexWrap .categoryTotal .categoryList {
    grid-gap: 2.4rem 0;
    grid-template-columns: repeat(1, calc(100% / 1));
  }
  .indexWrap .categoryTotal .categoryList .category {
    padding: 0;
    border: none;
  }
  .indexWrap .categoryTotal .categoryList .category .categoryLink .categoryTitle {
    padding: 1.3rem 0;
  }
  .indexWrap .popularWrap {
    display: none;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1366px) {
  .indexWrap .categoryTotal {
    width: 100%;
    padding-right: 0;
  }
  .indexWrap .categoryTotal .categoryList {
    grid-gap: 1.6rem 1.6rem;
    grid-template-columns: repeat(2, calc((100% - 1.6rem) / 2));
  }
  .indexWrap .popularWrap {
    display: none;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1366px) and (orientation: portrait) {
  .indexWrap .categoryTotal .categoryList .category .itemList .item .itemLink .itemImg {
    width: 5.6rem;
    height: 5.6rem;
  }
}
@media only screen and (min-width: 1367px) {
  .indexWrap {
    padding: 0 2.4rem;
  }
}
