.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto;
}

.gallery img {
  display: inline-block;
  width: 200px;
  height: auto;
  border: 2px solid #ccc;
  border-radius: 5px;
  transition: transform 0.3s, box-shadow 0.3s;
  /* 画像をクリックすると拡大 */
  cursor: pointer;
  &:hover {
    transform: scale(2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
}

/* survey additions */
.photo {
  display: inline-block;
  text-align: center;
}
.photo img {
  width: 200px;
  border-radius: 6px;
}
.photo figcaption {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.like-btn {
  background: transparent;
  border: 1px solid #888;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}
.like-btn.liked {
  background: #ffebee;
  border-color: #ff6b6b;
  color: #ff6b6b;
}
.count {
  min-width: 28px;
  padding: 4px 8px;
  background: #f3f3f3;
  border-radius: 12px;
  font-weight: 600;
}
