.archive-title {
  font-size: 2rem;
  font-weight: bold;
  margin-top: 3rem;
  margin-bottom: 2rem;
  text-align: center;
}

.case-archive-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 4rem;
}

.case-archive-item {
  flex: 1 1 calc(33.333% - 2rem);
  max-width: 400px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.case-archive-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.case-archive-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.case-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.case-content {
  padding: 1.2rem 1.5rem;
}

.case-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--color-text);
}

.case-excerpt {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* タブレット：2列 */
@media (max-width: 1024px) {
  .case-archive-item {
    flex: 1 1 calc(50% - 2rem);
  }
}

/* スマホ：1列 */
@media (max-width: 640px) {
  .case-archive-item {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
