@charset "utf-8";

/*一覧表示部分 */
#results_Area {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0 20px;
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
}

/* 満室のとき */
#results_Area .full_Box {
	color: #a20000;
}

.results_Ttl {
	color: #000;
	font-size: min(5vw, 24px);
	text-align: center;
}

/* タブ切り替え */
#result_Tab_Area {
	/* max-width: 1000px;
	width: 100%;
	margin: 0 auto; */
}

.tab_Btn.sp {
	display: none;
}

.tab_Btn {
	justify-content: space-between;
	align-items: stretch;
	gap: 20px;
	width: calc(100% - (350px + 20px));
}

.tab_Btn>li {
	position: relative;
	width: calc((100% - 20px) /2);
	padding: 0 10px;
	color: #25579F;
	background-color: #E5E8F3;
	border-radius: 20px 20px 0 0;
	box-sizing: border-box;
}

.tab_Btn>li div {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	transform: translate(-50%, -50%);
}

.tab_Btn>li i {
	display: block;
	width: 3em;
	height: 3em;
}

.tab_Btn>li p {
	display: block;
	color: #333;
	font-size: min(3vw, 16px);
	line-height: 1.5;
	text-align: left;
}

.tab_Btn>li>p {
	display: block;
	margin-top: 10px;
	color: #333;
	font-size: min(3vw, 16px);
	line-height: 1.5;
	text-align: center;
}

.tab_Btn>li p small {
	display: block;
	width: 100%;
	color: #333;
	font-size: min(3vw, 14px);
	font-weight: 600;
	text-align: center;
}

.tab_Btn>li p em {
	display: inline-block;
	background-image: linear-gradient(to bottom, transparent 80%, #fff100 80%);
	font-size: min(6vw, 40px);
	font-style: normal;
	line-height: 1;
}

.tab_Btn>li i {
	filter: invert(1);
}

.tab_Btn>li.active {
	background-color: #25579F;
}

.tab_Btn>li.active i {
	filter: invert(0);
}

.tab_Btn>li.active p {
	color: #fff;
	font-weight: 600;
}

.tab_Btn>li.active p em {
	text-shadow: 0 0 3px #25579F;
}

.tab_Btn>li.active p small {
	color: #fff;
}

.tab_Box {
	display: none;
}

.tab_Box.active {
	display: block;
	/* width: 100%;
	padding: 20px; */
	background-color: #fff;
	box-sizing: border-box;
}

/* 建物詳細 */
.result_Box>div {
	padding: 20px;
	background-color: #fff;
	border: 10px solid #0055a2;
	box-sizing: border-box;
}

.result_Box>.pagination {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	align-items: center;
	width: 700px;
	max-width: 100%;
	margin: 50px auto 0;
	border: none;
}

.result_Box>.pagination li {
	width: auto;
	border-bottom: none;
}

.result_Box>.pagination li a {
	margin: 0 3px;
	color: #0A51A1;
	text-decoration: none;
	border: 1px solid #0A51A1;
	padding: 5px;
	box-sizing: border-box;
}

.result_Box>.pagination li a img {
	width: 10px;
}

.result_Box>.pagination li.over {
	color: #0A51A1;
}

.result_Box>.pagination li:first-child a,
.result_Box>.pagination li:last-child a {
	border: none;
}

.result_Box>.pagination li a.here,
.result_Box>.pagination li a:hover {
	color: #fff;
	background: #0A51A1;
}

.result_Box>.pagination li a.none {
	opacity: 0.3;
	pointer-events: none;
}

.build_Detail {
	justify-content: flex-start;
	align-items: flex-start;
	gap: 50px;
	margin-bottom: 10px;
}

.build_Detail .build_Main {
	width: 30%;
	aspect-ratio: 1/1;
}

.build_Detail .build_Main>img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.build_Detail .build_Detail_List {
	width: calc(100% - (30% + 50px));
}

.build_Detail .build_Detail_List>li {
	padding: 5px 0;
	border-bottom: 1px dotted #555;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
	box-sizing: border-box;
}

.special_Btn {
	display: block;
	max-width: 700px;
	width: 100%;
	margin: 0 auto 20px;
	padding: 20px;
	color: #fff;
	background-color: #a20000;
	border-radius: 50px;
	font-size: 18px;
	font-weight: 600;
	text-align: center;
	box-sizing: border-box;
}

.more-button {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	max-width: 400px;
	width: 90%;
	margin: 10px auto 0;
	padding: 10px 0;
	border: 1px solid #888;
	border-radius: 50px;
	font-size: 16px;
	font-weight: 600;
	text-align: center;
	box-sizing: border-box;
	transition: .3s;
	cursor: pointer;
}

.more-button:hover {
	opacity: .6;
}

.more-button::before {
	display: block;
	content: '';
	position: relative;
	width: 2em;
	height: 2em;
	background-color: #a20000;
	border-radius: 50px;
	order: 2;
}

.more-button::after {
	display: block;
	content: '';
	width: 0.8em;
	height: 0.8em;
	margin-top: -0.5em;
	margin-left: -2em;
	border-top: 1px solid #fff;
	border-right: 1px solid #fff;
	transform: rotate(135deg);
	transition: .3s;
	order: 2;
	z-index: 2;
}

.more-button.active::after {
	margin-top: 0.5em;
	transform: rotate(315deg);
	transition: .3s;
}

@media only screen and (max-width: 900px) {

	/* ページ見せ方 */
	/* 特集 */
	#main_Vis.feature {
		margin-bottom: 30px;
	}

	#main_Vis.feature .main_Box {
		padding: 10px;
	}

	#main_Vis.feature .main_Ttl>figure {
		opacity: .5;
	}

	#main_Vis.feature .main_Box h3 {
		padding: 15px;
		text-align: left;
		box-sizing: border-box;
	}

	#main_Vis.feature .main_Box h3::before {
		right: 15px;
		width: 30px;
		height: 30px;
	}


	/*一覧表示部分 */
	/* #results_Area {
		width: 100%;
	} */

	/* タブ切り替え */
	#result_Tab_Area {
		max-width: 1000px;
		width: 100%;
		margin: 30px auto;
	}

	.tab_Btn {
		gap: 5px;
		width: 100%;
		margin: 0 auto;
	}

	.tab_Btn>li {
		width: calc((100% - 5px) / 2);
		padding: 10px;
		border-radius: 0 0;
	}

	.tab_Btn>li>p {
		margin-top: 0;
	}

	.tab_Btn>li i {
		width: 1.5em;
		height: 1.5em;
	}

	/* 建物詳細 */
	.result_Box {
		padding: 0;
		background-color: #fff;
		box-sizing: border-box;
	}

	.result_Box>div {
		padding: 10px;
		border: 5px solid #0055a2;
	}

	.build_Detail {
		justify-content: flex-start;
		align-items: flex-start;
		gap: 10px;
		margin-bottom: 10px;
	}

	.build_Detail .build_Detail_List {
		width: calc(100% - (30% + 10px));
	}

	.build_Detail .build_Detail_List>li {
		font-size: 14px;
	}

	.special_Btn {
		margin-bottom: 10px;
		padding: 15px 0;
		font-size: 16px;
	}

	.more-button {
		padding: 10px 0;
	}

	.more-button::before {
		width: 1.5em;
		height: 1.5em;
	}

	.more-button::after {
		width: 0.5em;
		height: 0.5em;
		margin-top: -0.4em;
		margin-left: -1.625em;
	}

	.more-button.active::after {
		margin-top: 0.2em;
	}
}

/* レイアウト変更 */
#search_Wrap {
	position: relative;
	justify-content: center;
	align-items: flex-start;
	gap: 20px;
	max-width: 1200px;
	width: 90%;
	margin: 0 auto;
	padding-bottom: 20px;
}

.result_Box {
	width: calc(100% - (350px + 20px));
	height: fit-content;
}

/* #results_Area {
	width: calc(100vw - (45vw + 20px));
} */

#side_Search {
	display: block;
	max-width: 350px;
	width: 100%;
	height: fit-content;
	background-color: #f0f0f0;
	border-radius: 20px 20px 0 0;
	box-sizing: border-box;
}

#side_Search h5 {
	display: block;
	width: 100%;
	padding: 20px 10px;
	color: #fff;
	background-color: #0055a2;
	border-radius: 20px 20px 0 0;
	font-size: 18px;
	font-weight: 600;
	text-align: center;
	box-sizing: border-box;
}

@media only screen and (max-width: 900px) {
	#search_Wrap {
		width: 100%;
	}

	.result_Box {
		width: 100%;
		height: fit-content;
	}

	#side_Search {
		display: none;
		max-width: 100%;
		width: 100%;
		border-radius: 0;
	}

	#side_Search h5 {
		display: none;
	}
}

.select_Box {
	transform: translateY(-40px);
	margin-top: -40px;
}

.select_Box select {
	display: block;
	margin: 0 0 0 auto;
	padding: 10px;
	background-color: #fff;
	border: 1px solid #555;
	font-size: 15px;
	line-height: 1.2;
	box-sizing: border-box;
	-webkit-appearance: auto;
	appearance: auto;
}

@media only screen and (max-width: 900px) {

	.select_Box {
		transform: translateY(0);
		margin-top: 0;
		padding-bottom: 20px;
	}
}