/* 作品一覧用グリッド */
.works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

@media screen and (min-width: 600px) {
  .works-grid {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
}

@media screen and (min-width: 900px) {
  .works-grid {
    grid-template-columns: repeat(3, minmax(160px, 1fr));
  }
}

.works-grid a img {
  transition: transform 0.3s, opacity 0.3s;
}
.works-grid a:hover img {
  transform: translateY(-4px);
  opacity: 0.85;
}

/* 作品一覧用 */
.profile-list + .list-title {
  margin-top: 1em;
}

.work-links {
  margin-top: 1.5em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6em;
}

.work-links a {
  font-size: 0.85rem;
  padding: 0.4em 1em;
  border: 1px solid #ccc;
  border-radius: 999px;
  text-decoration: none;
  color: #000;
	min-width: 220px;
  text-align: center;
  transition: background 0.3s, color 0.3s;
}

.work-links a:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.work-meta {
  margin: 0.4em 0 1.2em;
  text-align: center;
  font-size: 0.8rem;
  color: #666;
}

.work-meta span + span::before {
  content: "／";
  margin: 0 0.4em;
}

.work-title {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
}