
.category-wrapper {
  background-color: var(--wht);
  padding: 30px 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 50px auto 80px;
  width: min(900px, 90%);
}

.category-label {
  font-weight: 500;
  color: #333;
}

.divider {
  width: 1px;
  height: 24px;
  background-color: #999;
}

.filter-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 3px 30px;
  border-radius: 20px;
  border: 1px solid var(--blk);
  background: white;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.btn.web { background: #49A15F; color: white; }
.btn.movie { background: #5E89B1; color: white; }
.btn.print { background: #e09446; color: white;}
.btn.all { background: #B2B2B2; color: white; }

.work-title {
  margin-top: 15px;
  font-size: 20px;
}
.work-desc {
  color: #d16b5a;
  font-size: 14px;
}
.works-grid {
  margin-bottom: 220px;
}
.sectionTitle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(24.0px, calc(1.1vw + 19.8px), 36.0px);
  margin-bottom: 80px;
}
.sectionTitle::before,
.sectionTitle::after {
  content: "";
  display: block;
  width: 100px;
  height: 1px;
  background: var(--blk);
}
.sectionTitle::before {
  margin-right: 30px;
}
.sectionTitle::after {
  margin-left: 30px;
}
.work-itemWrap {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 4%;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  width: min(1200px, 95%);
  align-items: start;
}

.work-item {
  margin: 0 auto;
  background: transparent;
  text-align: left;
  opacity: 1;
  transform: scale(1);
  visibility: visible;
  transition: none;
}

.work-item.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.9);
  pointer-events: none;;
}
.work-image {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  width: 100%;
  aspect-ratio: 350 / 240;
  background-color: #EAE9E5;
}
.work-image:has(.tag.web) {
  background-color: color-mix(in srgb, #49A15F 12%, white);
}
.work-image:has(.tag.movie) {
  background-color: color-mix(in srgb, #5E89B1 12%, white);
}
.work-image:has(.tag.print) {
  background-color: color-mix(in srgb, #e09446 22%, white);
}
.work-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-contain {
  object-fit: contain;
}
.tag {
  position: absolute;
  top: 10px;
  left: 20px;
  padding: 3px 30px;
  border-radius: 20px;
  color: var(--wht);
  font-size: 12px;
  z-index: 10;
  border: 1px solid var(--blk);
}
.tag.web { background: #49A15F; }
.tag.movie { background: #5E89B1; }
.tag.print { background: #e09446; }
.work-title {
  font-size: 18px;
  margin: 15px 0 5px 0;
}
.work-desc {
  font-size: 14px;
  color: #D16B5A;
  margin: 0;
}
.wi-tag {
  padding: inherit;
  margin: 2px 0 0;
  list-style: none;
}
.wi-tag li {
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.05em;
  text-decoration: underline;
  margin-right: 1rem;
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover {
   transform: translateY(-5px);
  }
  .work-item a:hover {
  transform: translateY(-5px);
  }
}
@media (max-width: 768px) {
  .work-itemWrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}
@media (max-width: 540px) {
  .page-title {
    margin-bottom: 0;
  }
  .work-itemWrap {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .category-wrapper {
    flex-direction: column;
    padding: 20px 10px;
  }
  .divider {
    display: none;
  }
  .filter-buttons {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  .btn {
    padding: 2px 20px;
  }
}










