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

.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: 22px;
  padding-top: 0px;
  justify-content: center
}

.scube-item {
  width: 227px;
  position: relative;
}

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

.scube-comment {
  line-height: 14px;
  overflow: hidden;
  color: #666666;
  background: #F7F7F7;
  text-decoration: underline;
  padding: 0 4px;
}

.scube-comment span {
  display: inline-block;
  font-size: 12px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

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

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

}

/* 金額の数値*/
.scube-price {
  padding-top: 4px;
  font-size: 18px;
  line-height: 1.1;
  text-align: center;
  color: #CC3300;
  background: #F7F7F7;
  font-weight: bold;
}

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

.scube-info {
  padding: 2px 4px;
  text-align: center;
  font-size: 12px;
  color: #666666;
  background: #F7F7F7;
  line-height: 1.1;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#cornerBukken .scube-other {
  padding-block: 2px;
}

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

/* 貸家 */
.contents3d {
  position:absolute;
  top:45px;
  left:43px;
}

.contents3e {
  position:absolute;
  top:45px;
  left:356px;
}

.contents3f {
  position:absolute;
  top:45px;
  left:670px;
}

.scube-house-context {
  min-height: 137px;
}

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

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

.scube-house-item {
  border: 1px solid #999;
  width: 264px;
  position: relative;
}

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

.scube-house-comment {
  line-height: 14px;
  overflow: hidden;
  color: #000;
  padding: 8px 4px;
  background-color: #e1c775;
}

.scube-house-comment span {
  display: inline-block;
  font-size: 12px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  text-decoration: underline;
}

.scube-house-property {
  display: flex;
  flex-direction: row;
}

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

.scube-house-text {
  border-top: 1px solid transparent;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

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

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

.scube-house-info {
  padding: 3px;
  text-align: center;
  font-size: 12px;
  color: #666666;
  background: #fff;
  line-height: 1.1;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.scube-house-other {
  margin-top: auto;
}

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

/* 売買 */
.contents5b {
  position: absolute;
  top: 40px;
  left: 60px;
}

.scube-sale-context {
  min-height: 810px;
}

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

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

.scube-sale-item {
  border: 1px solid #999;
  width: 287px;
  position: relative;
}

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

.scube-sale-comment {
  border-bottom: 1px solid #999;
  line-height: 14px;
  overflow: hidden;
  color: #fff;
  background: #6e5f94;
  height: 33px;
  display: flex;
  align-items: center;
  text-align: center;
}

.scube-sale-comment span {
  display: inline-block;
  font-size: 12px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-decoration: underline;
}

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

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

}

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

}

/* 金額の数値*/
.scube-sale-price {
  font-size: 18px;
  line-height: 1.1;
  text-align: center;
  color: #8A2626;
  background: #fff;
  font-weight: bold;
  padding-top: 4px;
}

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

.scube-sale-info {
  padding: 4px;
  text-align: center;
  font-size: 12px;
  color: #666666;
  background: #fff;
  line-height: 1.1;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}


.scube-sale-other {
  min-height: 1em;
  margin-top: 5px;
}

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

.img_new {
  background-image: url(//www.rals.co.jp/fudosan/img/new_4.gif);
  width: 25px;
  height: 13px;
  background-repeat: no-repeat;
  margin: 0 3px 0 0;
  display: inline-block;
  background-position: center bottom;
}

.scube-stage {
  position: absolute;
  top: 0;
  left: 0;
  color: #FF0000;
  background-color: #FFFFFF;
  text-align: center;
  white-space: nowrap;
  line-height: 1;
  font-size: 12px;
  padding: 2px 0;
  opacity: 0.8;
  max-width: 100%;
  width: 100%;
  font-weight: bold;
  z-index: 1;
}

.scube-stage-1 {
  color: #666666;
}
