.scube-context {
  min-height: 250px;
}

.scube-context :where(*, *::before, *::after) {
  box-sizing: border-box;
  margin: 0;
}

.scube-list {
  display: grid;
  grid-template-columns: repeat(1, max-content);
  list-style: none;
  gap: 20px;
  padding-top: 0px;
  justify-content: center
}

.scube-item {
  border: 1px solid #D3D3D3;
  width: 182px;
  position: relative;
}

.scube-item:hover img {
  opacity: 0.7;
}

.scube-comment {
  border-bottom: 1px solid #D3D3D3;
  line-height: 15px;
  overflow: hidden;
  color: #333333;
  background: #FCC0C8;
  padding: 5px 0;
  position: relative;
  height: 25px;
}

.scube-comment span {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  position: absolute;
  left: 100%;
}

.scube-property {
  display: flex;
  flex-direction: column;
  gap: 0
}

.scube-img {
  display: block;
  max-width: 100%;
  max-height: 100%;

}

.scube-text {
  border-top: 1px solid #D3D3D3;

}

/* 金額の数値*/
.scube-price {
  font-size: 19px;
  line-height: 1.1;
  text-align: center;
  color: #FF6600;
  background: #FFFFFF;
  font-weight: bold;
  padding-top: 6px;
}

/* 金額の単位（万、円）*/
.scube-price .unit {
  font-size: 0.6em;
  color: #333333;
}

.scube-info {
  text-align: center;
  font-size: 12px;
  color: #666666;
  background: #FCC0C8;
  line-height: 14px;
  padding: 5px 0 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.scube-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

/* ランキング */
.ranking-block {
  padding-top: 41px;
}

.scube-ranking-context {
  min-height: 160px;
}

.scube-ranking-context :where(*, *::before, *::after) {
  box-sizing: border-box;
  margin: 0;
}

.scube-ranking-list {
  display: grid;
  grid-template-columns: repeat(5, max-content);
  list-style: none;
  gap: 12px;
  padding-top: 0px;
  justify-content: center
}

.scube-ranking-item {
  border: 1px solid #D3D3D3;
  width: 90px;
  position: relative;
}

.scube-ranking-item:hover img {
  opacity: 0.7;
}

.scube-ranking-property {
  display: flex;
  flex-direction: column;
  gap: 0
}

.scube-ranking-img {
  display: block;
  max-width: 100%;
  max-height: 100%;

}

.scube-ranking-text {
  border-top: 1px solid #D3D3D3;

}

/* 金額の数値*/
.scube-ranking-price {
  font-size: 12px;
  line-height: 1.1;
  text-align: center;
  color: #d60a00;
  background: #FFFFFF;
  font-weight: bold;
  padding: 4px 0;
}

.scube-ranking-info {
  padding-top: 2px;
  text-align: center;
  font-size: 10px;
  color: #666666;
  line-height: 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 3px;
}

.scube-ranking-address23,
.scube-ranking-other {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scube-ranking-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

/* ペット */
.scube-pet-context {
  min-height: 485px;
}

.scube-pet-context :where(*, *::before, *::after) {
  box-sizing: border-box;
  margin: 0;
}

.scube-pet-list {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  list-style: none;
  gap: 10px;
  padding-top: 0px;
  justify-content: center;
}

.scube-pet-item {
  border: 1px solid #D3D3D3;
  width: 139px;
  position: relative;
}

.scube-pet-item:hover img {
  opacity: 0.7;
}

.scube-pet-comment {
  border-bottom: 1px solid #D3D3D3;
  line-height: 15px;
  overflow: hidden;
  color: #FFFFFF;
  background: #71B1F4;
  padding: 3px 0;
  position: relative;
  height: 21px;
}

.scube-pet-comment span {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  position: absolute;
  left: 100%;
}

.scube-pet-property {
  display: flex;
  flex-direction: column;
  gap: 0
}

.scube-pet-img {
  display: block;
  max-width: 100%;
  max-height: 100%;

}

.scube-pet-text {
  border-top: 1px solid #D3D3D3;
  padding: 2px 0 4px;
}

/* 金額の数値*/
.scube-pet-price {
  font-size: 18px;
  line-height: 1.1;
  text-align: center;
  color: #B70000;
  background: #FFFFFF;
  font-weight: bold;
}

/* 金額の単位（万、円）*/
.scube-pet-price .unit {
  font-size: 0.6em;
  color: #333333;
}

.scube-pet-info {
  padding-top: 2px;
  text-align: center;
  font-size: 12px;
  color: #666666;
  background: #FFFFFF;
  line-height: 14px;
  flex-grow: 1;
}

.scube-pet-other {
  margin-top: 4px;
}

.scube-pet-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

/* 駐車場 */
.scube-parking-comment {
  background-color: #EA847F;
  padding: 3px 0;
  position: relative;
  height: 21px;
}
