@charset "utf=8";

.top-image {
  width: 70%;
  height: 520px;
  overflow: hidden;
}

.top-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.category-container {
  padding: 0 7% 50px;
}

.category-life h3 {
  font-size: 23px;
  font-weight: 500;
  padding-top: 58px;
  padding-bottom: 12px;
}

.category-life .items-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2em;
  justify-content: start;
}

@media (max-width: 900px) {
  .category-life .items-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .category-life .items-container {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

.category-life .items-container .items a {
  display: block;
}

.category-life .items-container .items a img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  border: 1px solid #eee;
  height: auto;
}

.items dl {
  position: relative;
}

.items dt {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.8;
}

.items .price {
  padding-top: 5px;
  font-weight: 600;
  position: absolute;
  right: 0;
}


/* @media (max-width: 800px) {
  .category-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .category-container {
    grid-template-columns: 1fr;
  }
} */