.wrap {
  position: relative;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.inner {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 250px 100px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

/* main */
.main {
  position: relative;
  width: 100%;
  background-color: #f8f8f4;
}
.gnb ul li:nth-child(2) a {
  color: #000;
  font-weight: 500;
}
.category-search {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
}
.category {
  position: relative;
}
.category .sorting {
  display: flex;
  width: 100%;
  align-items: flex-start;
}
.category .sorting li {
  display: flex;
  padding: 0px 20px;
  align-items: center;
  border-left: 1px solid #d9d9d9;
}
.category .sorting li:first-child {
  display: flex;
  padding: 0 20px 0 0;
  align-items: center;
  border: 0;
}
.category .sorting li a {
  color: #ccc;
  font-family: "Gmarket Sans TTF";
  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  line-height: 20px; /* 111.111% */
}
.category .sorting li.on a {
  color: #000;
}
.category .sorting li:hover a {
  color: #000;
}
.search-box {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
}
.search-box .select {
  position: relative;
  display: flex;
  width: 170px;
  height: 50px;
  padding: 0px 10px;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  border-bottom: 1px solid #d9d9d9;
  cursor: pointer;
}
.search-box .select span {
  color: #000;
  font-family: "Gmarket Sans TTF";
  font-size: 16px;
  font-weight: 300;
  line-height: 20px;
}
.search-box .select .sub {
  position: absolute;
  top: 55px;
  left: 0;
  width: calc(100% - 20px);
  margin: 0 10px;
  /* display: block; */
  display: none;
  background-color: #f8f8f4;
  border: 1px solid #ddd;
  z-index: 5;
}
.search-box .select .sub li {
  padding: 0px 10px;
  color: #999;
  font-family: "Gmarket Sans TTF";
  font-size: 16px;
  font-weight: 300;
  line-height: 40px;
  border: 1px solid #ddd;
  cursor: pointer;
}

.search-box .select .sub li:hover {
  color: #000;
  border: 1px solid #000;
}
.search-box .search {
  display: flex;
  width: 300px;
  height: 50px;
  padding: 0px 10px;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  border-bottom: 1px solid #d9d9d9;
}
.search-box .search input {
  position: relative;
  height: 100%;
  background-color: #f8f8f4;
  border: 0;
  color: #000;
  font-family: "Gmarket Sans TTF";
  font-size: 16px;
  font-weight: 300;
  line-height: 20px;
}
.search-box .search input::placeholder {
  color: #ccc;
}
.search-box .search .search-btn {
  position: relative;
  width: 48px;
  height: 48px;
  background-color: #f8f8f4;
  border: 0;
}

/* 카드소팅 */
.works-box {
  position: relative;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}
.works-box > article {
  position: relative;
  width: 33.33%;
  padding: 50px;
  transition: opacity 0.3s;
  opacity: 1;
  cursor: pointer;
}
.works-box > article.hide {
  opacity: 0;
  pointer-events: none;
}
.works-box > article > div {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  width: 100%;
  height: 100%;
  /* overflow: hidden; */
}
.works-box > article > div > span {
  color: #000;
  font-family: "Gmarket Sans TTF";
  font-size: 24px;
  font-weight: 500;
  line-height: 30px;
}
.works-box > article > div > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease-in-out;
}
.works-box > article > div > p {
  color: #000;
  font-family: "Gmarket Sans TTF";
  font-size: 16px;
  font-weight: 300;
  line-height: 20px;
}
