.works-heading {
  position: relative;
  display: block;
  margin-bottom: 50px;
  text-align: center;
}

.works-section {
  padding: 80px 20px;
}

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

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.works-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(0);
  opacity: 1;
  transition: all 0.6s ease;
  overflow: hidden;
  position: relative;
  display: block;
}

.works-thumb {
  width: 50%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin: 0 auto 1rem;
}

.works-thumb:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.works-section-title {
  text-align: center;
  font-size: 2rem;
  color: #374769;
  font-weight: 700;
  margin-bottom: 40px;
  letter-spacing: 0.05em;
  position: relative;
}

.works-item-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #374769;
  margin-bottom: 0.5rem;
  text-align: center;
}

.works-category {
  display: block;
  background-color: #e2f0ff;
  color: #0070c0;
  padding: 4px 12px;
  font-size: 0.8rem;
  border-radius: 20px;
  margin: 0 auto 0.75rem;
  font-weight: normal;
  text-align: center;
}

.works-summary {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.works-tags {
  margin-bottom: 1rem;
}

.works-tag {
  display: inline-block;
  background-color: #ffefc5;
  color: #7b5e00;
  padding: 4px 10px;
  font-size: 0.75rem;
  margin: 4px 6px 4px 0;
  border-radius: 12px;
}

.works-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(to right, #ff7200, #ff9a4c);
  color: white;
  padding: 10px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.3s, transform 0.2s;
}

.works-btn:hover {
  background: linear-gradient(to right, #e66100, #ff8000);
  transform: translateY(-2px);
}

.works-btn::after {
  content: "→";
  font-weight: bold;
}

.works-bg-label {
  position: absolute;
  top: -20px;
  left: 50%;
  width: 100%;
  max-width: 90vw;
  transform: translateX(-50%);
  font-size: 4.5rem;
  color: rgba(55, 71, 105, 0.05);
  font-weight: 900;
  letter-spacing: 0.5rem;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  white-space: nowrap;
  text-align: center;
}