.works-container {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  margin: 0 auto;
  overflow-x: hidden;
  transition: background 0.3s linear;
}
.works-container span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  font-family: "Soak Up The Sun Script", sans-serif;
  font-size: 500px;
  font-weight: 400;
  line-height: 300px; /* 60% */
}
.works-inner {
  position: relative;
  margin: 0;
  padding: 0;
  overscroll-behavior: none;
  height: 100%;
  overflow-y: auto;
}

.works-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.works-contents {
  position: relative;
  width: 100%;
  max-width: 1500px;
  display: grid;
  justify-items: center;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding-top: 100vh;
  padding-bottom: 100vh;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 560px);
}
.works-contents .item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.works-contents .item p {
  color: #fff;
  font-family: "Gmarket Sans TTF";
  font-size: 24px;
  font-weight: 500;
  line-height: 30px;
}
.works-contents img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.1s ease-out;
}

.works-contents .item:nth-child(1) {
  grid-area: 1/1/1/1;
}

.works-contents .item:nth-child(2) {
  grid-area: 2/3/2/3;
}
.works-contents .item:nth-child(3) {
  grid-area: 3/1/3/1;
}
.works-contents .item:nth-child(4) {
  grid-area: 4/3/4/3;
}
.works-contents .item:nth-child(5) {
  grid-area: 5/1/5/1;
}
.works-contents .item:nth-child(6) {
  grid-area: 6/3/6/3;
}

/* 스크롤바 스타일링 (선택사항) */
.works-container::-webkit-scrollbar {
  width: 8px;
}

.works-container::-webkit-scrollbar-track {
  background: #2c2c2c;
}

.works-container::-webkit-scrollbar-thumb {
  background: #777;
  border-radius: 4px;
}

.works-container::-webkit-scrollbar-thumb:hover {
  background: #222;
}
