/*______ 物件一覧 div版（s01_search） ______*/
/* ボタン（.prop-item__btn）は style_add_common.css */

/* 共通の列幅：チェック｜写真｜データ5列 */
.prop-sort,
.prop-item{
	display: grid;
	grid-template-columns: 40px 100px 1fr;
	background: #fff;
	line-height: 1.5;
}

/* 並び替え見出し（PCでは表の見出し行の見た目） */
.prop-sort{
	margin: 15px 0 0;
	border: 1px solid #ccc;
	background: #eee;
}

.prop-sort__all,
.prop-sort__photo{
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	border-right: 1px solid #ccc;
	font-weight: bold;
}

.prop-sort__all span{
	display: none;
}

.prop-sort__keys{
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	margin: 0;
	padding: 0;
	list-style: none;
}

.prop-sort__keys li{
	padding: 7px 5px 6px;
	text-align: center;
	border-left: 1px solid #ccc;
	font-weight: bold;
}

.prop-sort__keys li:first-child{
	border-left: none;
}

.prop-sort__keys a{
	display: block;
	color: #333;
	text-decoration: none;
}

.prop-sort__keys a:hover{
	color: #666;
}

/* 物件1件 */
.prop-item{
	grid-template-areas:
		"check photo data"
		"check photo name"
		"btn   btn   btn";
	border: 1px solid #ccc;
	border-top: none;
}

.prop-item__check{
	grid-area: check;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	border-right: 1px dotted #ccc;
}

.prop-item__photo{
	grid-area: photo;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 5px;
	border-right: 1px dotted #ccc;
	text-align: center;
	font-size: 80%;
}

.prop-item__photo a{
	display: block;
}

.prop-item__photo img{
	display: block;
	width: 80px;
	height: 60px;
	object-fit: contain;
	margin: 0 auto 3px;
}

.prop-item__name{
	grid-area: name;
	margin: 0;
	padding: 6px 10px;
	border-top: 1px dotted #ccc;
	font-weight: bold;
}

.prop-item__name a{
	color: #00478b;
}

/* データ5列 */
.prop-item__data{
	grid-area: data;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	margin: 0;
}

.prop-item__cell{
	border-left: 1px dotted #ccc;
}

.prop-item__cell:first-child{
	border-left: none;
}

/* PCでは見出しは上の並び替え行が担うので、項目名は読み上げ用に残して非表示 */
.prop-item__cell dt{
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.prop-item__cell dd{
	margin: 0;
	padding: 10px 5px;
	text-align: center;
}

.prop-item__cell dd p{
	margin: 0;
}

.prop-item__cell--price dd{
	height: 100%;
	box-sizing: border-box;
	background: #ffffee;
	font-weight: bold;
}

.prop-item__cell--price dd span{
	color: #f00;
}
