@charset "UTF-8";
.list-grid1 {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* ★ 4列に固定 */
  gap: 1.5rem;
  margin: 0 auto;
  padding: 1rem;
  box-sizing: border-box;
}

.list {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.list figure {
  margin: 0;
}

.list img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.list .text {
  padding: 1rem;
}

.list h4 {
  font-weight: bold;
  font-size: 1rem;
  color: #003b4f;
  margin: 0 0 0.5rem;
}

.list .price {
  font-weight: bold;
  color: #f26860;
  margin-bottom: 0.5rem;
  display: block;
}

.list p {
  font-size: 0.9rem;
  color: #333;
  margin: 0;
}

/* レスポンシブ対応 */
@media screen and (max-width: 1024px) {
  .list-grid1 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .list-grid1 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 480px) {
  .list-grid1 {
    grid-template-columns: 1fr;
  }
}
