@charset "utf-8";
/* CSS Document */

/*================================
一覧ページ　カテゴリ
================================*/
#category{
	width: 958px;
	margin: 0 auto;
	display: flex;
	justify-content: center;
}
.category_btn{
	position: relative;
	padding-bottom: 50px;
	border: #fff 1px solid;
	box-shadow: 2px 2px 5px 1px rgba(0,0,0,0.2);
}
.category_btn:hover,
.category_btn:focus{ border: #73E2FF 1px solid;}

.category_btn a{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	color: #000;
	font-size: 16px;
	border: #fff 2px solid;
	background-color: rgba(0,0,0,0.2);
}
.category_btn a.active{ background-color: transparent;}
.category_btn a:hover,
.category_btn a:focus{
	background-color: transparent;
}
.category_btn .category_icon{
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
	width: 70px;
	height: 70px;
}
.category_btn a span{
	position: absolute;
	bottom: 5px;
	display: block;
	width: 100%;
	text-align: center;
}
@media (min-width: 768px) {
	#category{
		position: relative;
		top: -60px;
	}
	.category_btn{
		width: 215px;
		margin-right: 15px;
	}
	.category_btn:last-child{ margin-right: 0;}
}
@media (max-width: 767px) {
	#category{
		margin-top: 20px;
		width: 96%;
		padding: 0 2%;
		flex-wrap: wrap;
	}
	.category_btn{
		width: 48%;
		max-width: 260px;
		margin: 1%;
	}
}


/*================================
一覧ページ　非公開物件
================================*/
#private_property{
	text-align: center;
	padding-bottom: 20px;
}
/* 吹き出し本体 */
.balloon{
  position: relative;
  padding: 15px 15px 45px;
  background-color: #fff;
  border: #000 2px solid;
  border-radius: 15px;
	z-index: 3;
	display: inline-block;
	text-align: left;	
}
.balloon:hover{ background-color: #F0F8FC;}
.balloon:hover::after{ border-top: 15px solid #F0F8FC;}
/* アイコンを下に表示 */
.balloon::before{
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  bottom: -15px;
  border-top: 15px solid #000;
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
}
.balloon::after{
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  bottom: -12px;
  border-top: 15px solid #fff;
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
}
.balloon a{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.balloon a span{
	position: absolute;
	background-color: #255B9A;
	padding: 2px;
	display: block;
	width: 100%;
	max-width: 160px;
	color: #fff;
}
.balloon a span:hover,
.balloon a span:focus{ color: #fff;}
.balloon p{ margin-bottom: 10px;}
.balloon p span{
	margin-right: 10px;
}
.balloon p small{
	color: #255B9A;
	font-size: 14px;
}
@media (min-width: 768px) {
	.balloon a span{
		bottom: 15px;
		right: 15px;
	}
	.balloon::before{ left: 25px;}
	.balloon::after{ left: 25px;}
}
@media (max-width: 767px) {
	.balloon a span{
		bottom: 15px;
		left: 50%;
		transform: translateX(-50%);
		-webkit-transform: translateX(-50%);
	}
	.balloon::before{
		left: 50%;
		transform: translateX(-50%);
		-webkit-transform: translateX(-50%);
	}
	.balloon::after{
		left: 50%;
		transform: translateX(-50%);
		-webkit-transform: translateX(-50%);
	}
	.balloon p small{
		display: block;
		margin-top: 5px;
	}
}

/*================================
一覧ページ　物件情報
================================*/

/*物件数表示---------------------*/
#property_num{
	max-width: 750px;
	margin: 0 auto;
}
#property_num p{
	font-size: 24px;
	letter-spacing: 0.1em;
}
#property_num p span{
	font-size: 40px;
	color: #FF8300;
	vertical-align: -2px;
}

/*物件の並び替え---------------------*/
#property_sort{
	font-size: 20px;
	margin: 20px 0 30px;
}
#property_sort dl ul{ display: flex;}
#property_sort dl ul li:last-child{ margin-right: 0;}
#property_sort dl ul li a{
	border: #000 1px solid;
	background-color: #fff;
	display: block;
	height: 30px;
	line-height: 30px;
	display: block;
	text-align: center;
	color: #4D4D4D;
	text-decoration: none;
	width: 100%;
}
#property_sort dl ul li a:hover,
#property_sort dl ul li a:focus{ background-color: rgba(0,0,0,.05)}
#property_sort dl ul li a.active,
#property_sort dl ul li a.active:hover,
#property_sort dl ul li a.active:focus{
	background-color: #000;
	color: #fff;
}
@media (min-width: 768px) {
	#property_sort dl{
		display: flex;
		align-items: center;
		justify-content: center;
	}
	#property_sort dl dt{ margin-right: 30px;}
	#property_sort dl ul{ font-size: 16px;}
	#property_sort dl ul li{ margin-right: 10px;}
	#property_sort dl ul li{ width: 100px;}
}
@media (max-width: 767px) {
	#property_sort dl dt{ margin-bottom: 5px;}
	#property_sort dl ul{
		font-size: 14px;
	}
	#property_sort dl ul li{width: 20%;}
	#property_sort dl ul li a{ border-right: none;}
	#property_sort dl ul li:last-child a{ border-right: #000 1px solid;}

}

/*物件一覧---------------------*/
.propertybox{
	position: relative;
	box-shadow: 2px 2px 5px 1px rgba(0,0,0,0.2);
	margin-bottom: 40px;
	background-color: #fff;
}
.propertybox a{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.propertybox a span{
	position: absolute;
	background-color: #F38F1E;
	padding: 2px;
	display: block;
	width: 100%;
	max-width: 160px;
	color: #fff;
}
.propertybox a span::after{
	content: '';
	display: inline-block;
	position: absolute;
	top: 7px;
	right: 10px;
	width: 0;
  height: 0;
  border-left: 8px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
.propertybox:hover{ background-color: #FBF8DF;}
.propertybox a:hover span,
.propertybox a:focus span{ color: #fff;}
.property_photo{
	display: flex;
	margin: 20px 0;
}
.property_photo .trimming:last-child{ margin-right: 0;}
 .trimming {
  position: relative; /* 基準位置とする */
  overflow: hidden;   /* はみ出た分を非表示 */
}
.trimming img {
  position: absolute; /* 相対位置とする */
  top: 50%;           /* 上から50%の位置 */
  left: 50%;          /* 左から50%の位置 */
  transform: translate(-50%, -50%); /* 画像のサイズの半分だけ位置を戻す */
	width: auto;
  height: 100%;
}
.trimming_wide{
  position: relative;
  overflow: hidden;
	background-color: #fff;
}
.trimming_wide img {
  position: absolute; /* 相対位置とする */
  top: 50%;           /* 上から50%の位置 */
  left: 50%;          /* 左から50%の位置 */
  transform: translate(-50%, -50%); /* 画像のサイズの半分だけ位置を戻す */
	width: auto;
  height: 100%;
}
@media (min-width: 1200px) {
	.trimming {
		width: 230px;
		height: 230px;
	}	
	.trimming_wide{
		width: 470px;
		height: 230px;
	}
}
@media (min-width: 992px) and (max-width: 1199px){
	.trimming {
		width: 215px;
		height: 215px;
	}
	.trimming_wide{
		width: 440px;
		height: 230px;
	}
}
@media (min-width: 992px) {
	.propertybox{ padding: 0 15px 10px;}
	.propertybox a span{
		bottom: 15px;
		right: 15px;
	}
	.property_photo{
		width: 486px;
		padding-right: 15px; 
		border-right: #808080 1px solid;
	}
	.property_info{
		padding-left: 15px;
		flex: 1;
	}
	.property_photo .trimming{ margin-right: 10px;}
}
@media (max-width: 991px) {
	.propertybox{ padding: 0 10px 60px;}
	.propertybox a span{
		bottom: 15px;
		left: 50%;
		transform: translateX(-50%);
		-webkit-transform: translateX(-50%);
	}
	.property_photo{
		max-width: 460px;
		margin-left: auto;
		margin-right: auto;
		justify-content: center;
	}
	.trimming {
		width: 50%;
		height: 50%;
		padding-top: 50%;
	}
	.trimming_wide{
		width: 100%;
		padding-top: 50%;
	}
  .trimming img { width: 100%;}
	.property_info{
		border-top: #808080 1px solid;
		padding-top: 15px;
	}
}

/*================================
一覧ページ　ナビゲーション
================================*/
.pagination{
	justify-content: center;
	margin: 60px 0;
}
.pagination .page-item .page-link{ color: #000;}
.pagination .page-item.active .page-link{
	background-color: #F38F1E;
	border-color: #F38F1E;
	color: #fff;
}