body {
  background: #fff;
  padding: 0px;
}
h1 {
  margin-top: 0px;
}

.scubeList {
  display: grid;
  grid-template-columns: repeat(4, calc((100% - (20px * 3)) / 4));
  gap: 20px;
  width: fit-content;
}
.scubeListItem {
  width: 100%;
  border: 1px solid #000;
  background: #fff;
  overflow: hidden;
	max-width: 250px;
}
.scubeLink {
  text-decoration: none;
  color: #333;
}
.scubeLink:hover {
  opacity: 0.7;
}
.scubePic {
  width: 100%;
  aspect-ratio: 1 / 1;
}
.scubePic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scubeInfo {
  padding: 10px 20px;
}
.scubeInfo > * {
  margin-block: 5px;
}
.scubePrice {
  font-size: 20px;
  font-weight: bold;
  float: none;
	color: #EB1A22;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: block;
}
.scubePrice .unit {
  font-size: 15px;
  font-weight: bold;
}
.scubeEllipsis,
.scubeEllipsisItem {
  display: flex;
}
.scubeEllipsisItem::after {
  content: '｜';
}
.scubeEllipsisItem:last-child::after {
  display: none;
}
.scubeLine {
  border-width: 0;
  border-top: 1px solid #999;
}
.scubeComment {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  word-break: break-all;
  white-space: normal;
}

@media (max-width: 750px) {
  /* SP時表示 */
  .scubeList {
    width: 100%;
    grid-template-columns: repeat(1, 1fr);
  }
  .scubeLink {
    display: grid;
    grid-template-columns: 160px auto;
  }
  .scubeListItem {
    width: 100%;
    max-width: none;
  }
  .scubePic {
    width: 160px;
  }
  .scubeInfo {
    padding: 5px 10px;
    font-size: 14px;
  }
}
