@charset "UTF-8";
/*
Template: swell
Theme Name: SWELL CHILD
Theme URI: https://swell-theme.com/
Description: SWELLの子テーマ
Version: 1.0.0
Author: LOOS WEB STUDIO
Author URI: https://loos-web-studio.com/

License: GNU General Public License
License URI: http://www.gnu.org/licenses/gpl.html
*/
@charset "UTF-8";

.parent {
	width: 45%;
}

.search-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 60px;
	max-width: 1400px;
	margin: 0 auto;
}


.filter-search-wrapper {
	margin-top: 40px;
	margin-bottom: 40px;
}
.search-flex {
	display: flex;
	flex-wrap: wrap;
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	align-items: flex-start;
	gap: 40px;
}

.search-guidance {
	width: calc(15% - 40px);
}

.clip {
	width: 100%;
	height: 100%;
}

.search-guidance {
	background: black;
	clip-path: polygon(0% 0%, 85% 0%, 100% 50%, 85% 100%, 0% 100%);
}

.clip {
	background: #fff;
	clip-path: polygon(2px 2px, calc(85% - 2px) 2px, calc(100% - 2px) calc(50%), calc(85% - 2px) calc(100% - 2px), 2px calc(100% - 2px));
}
.clipinner {
	padding: 0.5em 1em;
}

.search-tagwrapper {
	width: calc(65% - 40px);
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}
.search-tag {
	width: calc((100% - 20px * 3) / 4);
	position: relative;
}

.search-tag::before,
.tagarrow::before{
	position: absolute;
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	border-bottom: 1px solid #a0a0a0;
	border-right: 1px solid #a0a0a0;
	top: 30%;
	right: 8px;
	transform: translateY(-50%) rotate(45deg);
}

.search-tag select,
.sidesearch-tag select{
	background-color: transparent;
	border: none;
	display: block;
	width: 100%;
	padding-bottom: 0.5em;
	border-bottom: 1px solid #a0a0a0;
	cursor: pointer;
}

.search-tag select:focus-visible,
.sidesearch-tag select:focus-visible{
	outline: -webkit-focus-ring-color none;
}

.sidesearch-tag {
	margin-top: 1em;
	position: relative;
}

.kw-input {
	background-color: transparent;
	border: none;
	display: block;
	width: 100%;
	padding-right: 2em;
	padding-bottom: 0.5em;
	border-bottom: 1px solid #a0a0a0;
}

.formbtn {
	width: 20%;
}
.inventory-search {
	display: block;
	width: 100%;
	max-width: 300px;
	padding: 0.2em 0 0.1em;
	text-align: center;
	font-weight: 700;
	color: #fff;
	background-color: #000;
	cursor: pointer;
}
.inventory-search span{
	font-size: 1.1em;
	letter-spacing: 1em;
	padding-left: 10px;
}
.eyecatch-image {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
	top: 0;
	left: 0;
}
.result-header {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 40px 0;
	border-bottom: 1px solid #aaa;
	margin-bottom: 40px;
}

.order_by {
	position: relative;
}
.order_by > p {
	padding: 0.2em 1em 0.1em;
	border: 1px solid;
}
.sort-filter {
	position: absolute;
	left: 0;
	top: 50px;
	z-index: 4;
	background:#fff;
	width: max-content;
	/*はじめは非表示*/
	visibility: hidden;
	opacity: 0;
	/*アニメーション設定*/
	transition: all .3s;
	padding: 0;
	border: 1px solid;
	border-radius: 10px;
	overflow: hidden;
}
.sort-filter-item {
	transition: all .3s;
	padding: 0.2em 0.5em;
}

@media (hover: hover) {

	.sort-filter-item:hover {
		background: #28BFE7;
	}
}
.order_by:hover .sort-filter {
	visibility: visible;
	opacity: 1;
}

#checkboxes,
#checkboxesLayout {
	display: none;
}

#checkboxes:not(.hidden) {
	position: absolute;
	display: block;
	flex-wrap: wrap;
	width: calc(400% + 60px);
	background-color: antiquewhite;
	padding: 20px;
	top: calc(100% + 10px);
	left: calc(-100% - 20px);
	z-index: 1;
}

#checkboxesLayout:not(.hidden) {
	position: absolute;
	display: flex;
	flex-wrap: wrap;
	width: calc(400% + 60px);
	background-color: antiquewhite;
	padding: 20px;
	top: calc(100% + 10px);
	left: calc(-200% - 40px);
	z-index: 1;
}
#searchTag, #searchTagLayout {
	padding: 0.25em 0.5em;
	border-bottom: 1px solid #a0a0a0;
	cursor: pointer;
}
.checkbox {
	width: 25%;
}

.result-item {
	padding-bottom: 60px;
	border-bottom: 1px solid #aaa;
	margin-bottom: 60px;
	position: relative;
}

.property-link {
	display: inline-block;
	width: 100%;
	height: 0;
	padding-bottom: 60%;
	position: relative;
	vertical-align: bottom;
	overflow: hidden;
}
.type-label {
	position: absolute;
	width: 150px;
	bottom: 0;
	left: 0;
	padding: 0.5rem 0;
	text-align: center;
	background-color: #ffabab;
}
.area-label {
	position: absolute;
	width: 150px;
	bottom: 0;
	left: 150px;
	padding: 0.5rem 0;
	text-align: center;
	background-color: #fff;
}

.search-main {
	width: calc(70% - 30px);
	padding-left: 60px;
}
.flex-list {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	width: 100%;
	height: 100%;
}

.eyecatch-wrapper {
	width: calc(60% - 20px);
}
.property-info {
	width: calc(40% - 20px);
}

.property-item {
	line-height: 2.8;
}

.bold {
	font-weight: 700;
}

.big {
	font-size: 1.6em;
	font-weight: 700;
}

.sideber {
	width: calc(30% - 30px);
	position: relative;
	padding: 0 2em 80px;
}
.sideber::before {
	position: absolute;
	content: "";
	width: calc(100% + (100vw - ((100% * 7 / 3) + 70px + 100%)) / 2);
	height: 100%;
	background-color: #f7edec;
	top: 0;
	left: 0;
	z-index: -1;
}
.kwsearch-tag {
	margin-top: 2em;
	position: relative;
}

.s-input {
	display: block;
	width: 100%;
	background: transparent;
	border: none;
	padding-bottom: 0.5em;
	border-bottom: 1px solid #a0a0a0;
}

.sideinventory-search {
	display: block;
	width: 85%;
	max-width: 300px;
	padding: 0.5em 0;
	text-align: center;
	font-weight: 700;
	margin: 40px auto 0;
	color: #fff;
	background-color: #000;
	cursor: pointer;
}
.current-filter-header,
.change-filter-header,
.narrow-down-filter-header {
	background-color: #f0dddb;
	font-weight: 700;
	font-size: min(2vw, 20px);
	padding: 0.4em 1em;
	margin: 2em 0 1em;
}

.current-filterwrapper p {
	padding-left: 1em;
}

/* チェックボックスデザイン */
input[type="checkbox"] {
	margin: 0;
	padding: 0;
	background: none;
	border: none;
	border-radius: 0;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
input[type="checkbox"] {
	cursor: pointer;
	padding-left: 30px;/*label手前にチェックボックス用の余白を開ける*/
	vertical-align: middle;
	position: relative;
}

input[type="checkbox"]::before,
input[type="checkbox"]::after {
	content: "";
	display: block; 
	position: absolute;
}

input[type="checkbox"]::before {
	background-color: #fff;
	border-radius: 0%;
	border: 1px solid #666464;
	width: 20px;/*チェックボックスの横幅*/
	height: 20px;/*チェックボックスの縦幅*/
	transform: translateY(-50%);
	top: 50%;
	left: 5px;
}

input[type="checkbox"]::after {
	border-bottom: 3px solid #666464;/*チェックの太さ*/
	border-left: 3px solid #666464;/*チェックの太さ*/
	opacity: 0;/*チェック前は非表示*/
	height: 6px;/*チェックの高さ*/
	width: 11px;/*チェックの横幅*/
	transform: rotate(-45deg);
	top: -5px;/*チェック時の位置調整*/
	left: 10px;/*チェック時の位置調整*/
}

input[type="checkbox"]:checked::after {
	opacity: 1;/*チェック後表示*/
}

.favorite-buttonwrapper {
	position: absolute;
	width: 100px;
	height: 100px;
	border: 1px solid #d7d7d7;
	border-radius: 50%;
	background-color: #f7f7f7;
	bottom: 60px;
	right: 0;
	text-align: center;
	line-height: 1.5em;
	font-size: 0.7em;
}
.favorite-button {
	width: 100%;
	background-color: transparent;
	border: none;
	position: absolute;
	left: 0;
	bottom: 10px;
}
.heart {
	display: block;
	position: absolute;
	width: 24px; /* pathのサイズ */
	height: 24px; /* pathのサイズ */
	background: #FF5252; /* 色 */
	clip-path: path("M12 21.593c-5.63-5.539-11-10.297-11-14.402 0-3.791 3.068-5.191 5.281-5.191 1.312 0 4.151.501 5.719 4.457 1.59-3.968 4.464-4.447 5.726-4.447 2.54 0 5.274 1.621 5.274 5.181 0 4.069-5.136 8.625-11 14.402m5.726-20.583c-2.203 0-4.446 1.042-5.726 3.238-1.285-2.206-3.522-3.248-5.719-3.248-3.183 0-6.281 2.187-6.281 6.191 0 4.661 5.571 9.429 12 15.809 6.43-6.38 12-11.148 12-15.809 0-4.011-3.095-6.181-6.274-6.181");
	transform: scale(1.2) translate(calc(-50% / 1.2), calc(-50% / 1.2));
	top: 30%;
	left: 50%;
	transition: 0.3s ease-in-out;
}
.heart.favorited {
	display: block;
	position: absolute;
	width: 24px; /* pathのサイズ */
	height: 24px; /* pathのサイズ */
	background: #FF5252; /* 色 */
	clip-path: path("M12 4.248c-3.148-5.402-12-3.825-12 2.944 0 4.661 5.571 9.427 12 15.808 6.43-6.381 12-11.147 12-15.808 0-6.792-8.875-8.306-12-2.944z");
	transform: scale(1.2) translate(calc(-50% / 1.2), calc(-50% / 1.2));
	top: 30%;
	left: 50%;
}

.sparkle {
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
	animation: sparkle 1s infinite;
}

.good-point-figure-overlay {
	position: absolute;
	left: 0;
	top: 100%;
	width: 100%;
	height: 100%;
	padding: 7%;
	text-align: center;
	background: rgba(120, 65, 65, 0.60);
	z-index: 2;
	-webkit-transition: 0.5s ease;
	transition: 0.5s ease;
}
.good-point-header {
	width: 100%;
	font-size: 20px;
	font-weight: 700;
	line-height: 32px;
	color: #ffffff;
	display: flex;
	justify-content: center;
	gap: 10px;
	border-bottom: 1px solid #fff;
}
.good-point-label {
	position: absolute;
	font-size: 20px;
	transform: rotate(-20deg);
	top: 6%;
	left: 25%;
	font-weight: 100;
}
.good-point-icon {
	top: 5px;
	position: relative;
}
.good-point-text {
	padding-top: 20px;
	line-height: 2;
	color: #fff;
}

@media (hover: hover) {
	.property-link:hover .good-point-figure-overlay{
		top: 20%;
	}
}

.more {

}
.more-content {
	position: relative;
	height: auto;
	max-height: 390px;
	overflow: hidden;
	transition: max-height 1s ease-in-out;
}

.more-btn {
	display: block;
	position: relative;
	margin: 0 auto;
	padding: 6px 50px 6px 30px;
	border: 0;
	margin: 20px auto 0;
	color: #ffffff;
	background-color: #aaa;
	cursor: pointer;
	border-radius: 50px;
}

.more-btn::before {
	content: "";
	background-color: #fff;
	width: 20px;
	height: 20px;
	display: inline-block;
	position: absolute;
	top: 50%;
	right: 25px;
	transform: translateY(-50%);
	border-radius: 50%;
}
.more-btn::after {
	content: "+";
	display: inline-block;
	font-size: 16px;
	font-weight: 700;
	color: #666;
	position: absolute;
	top: 50%;
	right: 28px;
	transform: translateY(-50%);
}
.open.more-btn::after {
	content: "-";
	font-size: 20px;
	top: 48%;
	right: 31px;
}

.sideber-close {
	display: none;
}

.searchtable {
	display: flex;
	width: 100%;
	margin-bottom: 1em;
}

.stations-wrapper {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
}

.searchtable-title {
	min-width: 100px;
	font-weight: 700;
}

@keyframes sparkle {
	0% { opacity: 0; transform: scale(0); }
	50% { opacity: 1; transform: scale(1); }
	100% { opacity: 0; transform: scale(0); }
}

@media screen and (max-width: 1023px) {
	.search-flex {
		flex-direction: column;
	}
	.search-wrapper {
		flex-direction: column;
		gap: 0px;
	}
	.search-main {
		width: 90%;
		max-width: 768px;
		padding-left: 0px;
		margin: 0 auto;
	}
	.sideber {
		width: 90%;
		max-width: 420px;
		padding: 0;
		margin: 0 auto;
		padding-bottom: 60px;
	}
	.sideber::before {
		width: 100vw;
		transform: translateX(-50%);
		left: 50%;
	}
	.search-guidance {
		width: 100%;
		padding: 0.2em 0;
		border: 1px solid #000;
		text-align: center;
		background-color: #fff;
		clip-path: none;
	}
	.search-tagwrapper {
		width: 100%;
	}
	.search-tag {
		width: calc((100% - 20px * 1) / 2);
	}
	.formbtn {
		width: 100%;
	}
	.inventory-search {
		margin: 0 auto;
	}
	#checkboxes:not(.hidden) {
		width: calc(200% + 20px);
	}
	#checkboxesLayout:not(.hidden) {
		width: calc(200% + 20px);
		left: 0;
	}
}


@media screen and (max-width: 767px) {
	.flex-list{
		flex-direction: column;
		gap: 0px;
	}
	.eyecatch-wrapper {
		width: 100%;
		margin: 0 auto;
	}
	.property-info {
		width: 100%;
		margin: 0 auto;
	}
	.property-item {
		line-height: 2.8;
		display: inline-block;
		width: 100%;
	}
	.property-item:nth-of-type(n+5) {
		width: 49%;
	}
	.favorite-buttonwrapper {
		bottom: 17px;
		display: flex;
		width: auto;
		height: auto;
		border: none;
		border-radius: 5px;
		background-color: #fff;
		left: 0;
		right: auto;
		padding: 4px 12px;
	}
	.favorite-main {
		padding-bottom: 60px;
	}
	.favorite-button {
		position: static;
		font-size: 13px;
	}
	.heart {
		position: static;
		transform: scale(1);
		width: 30px;
	}
	.heart.favorited {
		position: static;
		transform: scale(1);
		width: 30px;
	}
	.sort-filter {
		left: auto;
		right: 0;
	}
	.good-point-figure-overlay-sp {
		position: relative;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		padding: 7%;
		text-align: center;
		background: white;
		z-index: 2;
		-webkit-transition: 0.5s ease;
		transition: 0.5s ease;
		margin-bottom: 16px;
	}
	.good-point-header {
		color: #ffabab;
	}
	.good-point-label {
		font-size: 30px;
		left: 6%;
		top: 16%;
	}
	.good-point-text {
		color: #000;
	}
	.result-item::before {
		content: "";
		display: block;
		width: 102vw;
		height: 90%;
		background-color: #f7edec;
		left: -7%;
		bottom: 0;
		position: absolute;
		z-index: -1;
	}
	.sideber {
		position: absolute;
		z-index: 10;
		left: 105%;
		transition: 0.3s ease-in-out;
	}
	.sideber.is-active {
		left: 5%;
	}
	.add-filter {
		position: fixed;
		right: 0;
		top: 100px;
		color: #fff;
		background-color: #000;
		padding: 4px 16px;
		z-index: 5;
	}
	.add-filter p::before {
		content: "";
		display: inline-block;
		width: 0;
		height: 0;
		border-left: 7px solid transparent;
		border-top: 9px solid transparent;
		border-right: 12px solid #fff;
		border-bottom: 9px solid transparent;
		position: relative;
		top: 4px;
		left: -7px;
	}
	.sideber-close {
		display: block;
		position: absolute;
		cursor: pointer;
		width: 100px;
		height: 100px;
		right: 0;
		top: 0;
	}
	.sideber-closeline {
		display: inline-block;
		transition: all 0.4s;
		position: absolute;
		top: 50%;
		left: 50%;
		height: 2px;
		background: #000;
		transform: translate(-50%, -50%);
		width: 50%;
	}
	.sideber-closeline:nth-of-type(1) {
		transform: translate(-50%, -50%) rotate(-22deg);
	}
	.sideber-closeline:nth-of-type(2) {
		transform: translate(-50%, -50%) rotate(22deg);
	}

	.sideber-closetext {
		position: absolute;
		top: 78%;
		left: 50%;
		transform: translate(-50%, -50%);
		font-size: 14px;
		padding-left: 0!important;
	}
	.checkbox{
		width: calc(100% / 3);
	}
	.searchtable {
		flex-direction: column;
	}
}