.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
  align-items: stretch;
}

.works-card {
  background: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%; /* グリッドセルの高さを合わせる */
  box-sizing: border-box; /* 余白の影響をなくす */
}

.works-card:hover {
  transform: translateY(-5px);
}

.works-content {
  flex-grow: 1;
  padding: 15px;
  text-align: left;
  font-weight: 500;
  position: relative;
}

.works-card button {
  margin-top: auto; /* ボタンを一番下に配置 */
}

.works-thumbnail {
  position: relative;
}

.works-thumbnail .company-name {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #333;
  color: #fff;
  padding: 6px 8px;
  font-size: 14px;
  line-height: 1rem;
}

.works-thumbnail img {
  width: 100%;
  height: auto;
}

.works-title {
  font-size: 16px;
  font-weight: 600;
  margin: 24px 0 0 0;
}

.works-title a:hover {
  color: #419cc0;
}

.works-category {
  font-size: 12px;
  line-height: 1.4;
  background: #eeeeee;
  border-radius: 0;
  padding: 0 2px;
  display: inline-block;
  margin: 16px 0 4px 0;
  position: absolute;
  top: 0;
}

.category-badge {
  display: inline-block;
  background: #0073aa;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.9em;
}

.industry-category {
  background: #00000080;
  font-size: 12px;
  line-height: 1;
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0px;
  padding: 4px;
  color: #fff;
}

.tag-category .tag-item {
  font-size: 12px;
  display: inline-block;
}

.works-content-footer {
}
/* ACF */

.interview-meta {
  background: #f8f8f8;
  padding: 20px;
  border-radius: 5px;
}
.interview-meta p {
  font-size: 16px;
  margin: 5px 0;
}
.interview-meta a {
  color: #0073aa;
  text-decoration: none;
}
.interview-meta a:hover {
  text-decoration: underline;
}
.company-pr {
  background: #fff;
  padding: 10px;
  border-left: 4px solid #0073aa;
}
