.works {
  padding: 80px 20px;
}

.works-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.works-title {
  text-align: center;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 60px;
}

.works-card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.works-card-item {
  height: 100%;
}

.works-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  text-decoration: none;
  color: #222;
  border-radius: 4px;
  overflow: hidden;
}

.works-card-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.works-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.works-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 24px;
}

.works-card-category {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.works-card-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
}

.works-card-date {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.works-card-excerpt {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 24px;
  flex-grow: 1;
}

.works-card-button {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  margin-top: auto;
}

@media screen and (max-width: 1024px) {
  .works-card-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .works-title {
    font-size: 36px;
  }

  .works-card-list {
    grid-template-columns: 1fr;
  }

  .works-card-title {
    font-size: 24px;
  }
}