@charset "UTF-8";
/* =======================================================
* history.php
* ======================================================= */
@media screen and (min-width: 769px) {
  #property-list .space-x > * {
    margin-right: 15px;
  }
}

#property-list .space-x > *:last-child {
  margin-right:  0;
}

@media screen and (min-width: 1390px) {
	#property-list .content.space-x {
		position: relative;
	}

	.property-list-btn-area {
		position: absolute;
		bottom: 0;
	}
}

.property-item {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
  background: #fff;
  border-radius: 4px;
  margin-bottom: 30px;
  padding: 25px;
}

.property-item .content {
  display: flex;
  flex-wrap: nowrap;
}

.property-item .images {
  display: grid;
  grid-template-columns: repeat(3, 200px);
  grid-gap: 15px;
}

.property-item .thumbnail {
  aspect-ratio: 1;
  width: 100%;
  position: relative;
}

.property-item .thumbnail::after {
  content: '';
  display: block;
  padding-bottom: 100%;
}

.property-item .thumbnail img {
  border: 2px solid #E3E2E2;
  border-radius: 4px;
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-item .thumbnail .full_buy {
  width: 179px;
  height: 37px;
  top: unset;
  bottom: 80px;
  left: 9px;
  transform: none;
  border: none;
}
@media screen and (max-width: 845px) {
    .property-item .thumbnail .full_buy {
      bottom: 144px;
      left: 78px;
    }
}


@media screen and (max-width: 1300px) {
  .property-item .images {
    margin-bottom: 15px;
  }
}

@media screen and (max-width: 845px) {
  .property-item .images {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }

  .property-item .thumbnail:first-child {
    grid-column-start: 1;
    grid-column-end: 3;
  }
}

#form-container {
  padding-bottom: 0;
}

.article {
  width: 270px;
}

.article p a {
	display: block;
  color: #808452;
	padding-top: 4%;
}

.article p i {
  padding-left: 4%;
}

.btn-area .btn {
  width: 320px;
  margin-bottom: 4%;
}

.btn-area .btn a {
  font-size: 18px;
}

.btn-area .btn img {
  width: 22px;
  vertical-align: text-top;
  margin-right: 5px;
}

.pagefeed {
  max-width: 1300px;
  margin: 0 auto;
}

.space-x:nth-of-type(10) {
  margin-bottom: 8%;
}

.property-rank {
  position: relative;
  counter-increment: rank;
}

.property-rank::before {
  /*content:"第" counter(rank) " 位";*/
  content: counter(rank);
  display: block;
  width: 49px;
  height: 49px;
  line-height: 49px;
  background-color: #151515;
  border-radius: 50%;
  color: #FFF;
  font-size: 18px;
  position: absolute;
  top: -15px;
  left: -35px;
  text-align: center;
  padding: 10px;
  z-index: 1;
}
@media screen and (max-width: 1389px) {
  #property-list {
    padding: 0 4%;
  }

  .property-rank::before {
    width: 42px;
    height: 42px;
    line-height: 42px;
    font-size: 22px;
    top: -10px;
    left: -10px;
  }
}

.property-rank:first-of-type::before {
  background-color: #A58D44;
}

.property-rank:nth-of-type(2)::before {
  background-color: #AAA;
}

.property-rank:nth-of-type(3)::before {
  background-color: #A26C30;
}

@media screen and (min-width: 846px) and (max-width: 1390px) {
	.property-item {
		display: block;
	}

	.space-x .article {
		display: flex;
		width: 100%;
		align-items: center;
		justify-content: space-between;
	}
}

/* =======================================================
* max-width: 768px
* ======================================================= */
@media screen and (max-width: 768px) {
  .property-item .content {
    flex-wrap: wrap;
  }

  .property-item .content > * {
    width: 100%;
  }

  .property-item .content > *:first-child {
    margin-bottom: 15px;
  }

  #property-list .space-x {
    display: block;
  }

  .btn-area .btn {
    width: 100%;
  }

  .nav_links {
    justify-content: center;
  }

}
