@charset "UTF-8";

/* 物件機能 共通トークン */

:root {
	--oknw-bg: #f6f9fb;
	--oknw-chip: #f2f6f9;
}

/* 一覧ページ */

.post-type-archive-property .l-content,
.single-property .l-content {
	margin-bottom: 0;
	padding-top: 0;
}
.property-archive__section {
	margin: 0;
}
.property-archive__section--sold {
	margin-inline: calc( 50% - 50vw + var(--swl-scrollbar_width, 0px) / 2 );
	padding-inline: calc( 50vw - 50% - var(--swl-scrollbar_width, 0px) / 2 );
	background: var(--oknw-bg);
}
.property-archive__title {
	margin: 0 0 48px;
	text-align: center;
	font-weight: 500;
	font-size: 40px;
	line-height: 1.4;
	color: var(--color_main);
}
.property-archive__title::after {
	content: "";
	display: block;
	width: 196px;
	height: 16px;
	margin: 12px auto 0;
	background: url("../../img/underline-brush.png") no-repeat center / contain;
}
.property-archive__lead {
	margin: 0 0 32px;
	text-align: center;
	font-size: 14px;
	color: var(--oknw-gray);
}

/* 物件を探す（トップ） */

#property-search {
	padding-bottom: 160px !important;
}

/* 検索フォーム */

.property-search {
	margin: 0 auto 56px;
	background: var(--oknw-bg);
	border: 1px solid var(--oknw-card-border);
	border-radius: var(--oknw-radius);
	box-shadow: 0 8px 20px rgba(26, 51, 64, .08);
	padding: 28px 32px 24px;
}
.property-search__row {
	display: flex;
	gap: 24px;
	align-items: flex-end;
	margin-bottom: 20px;
}
.property-search__row--submit {
	justify-content: center;
	margin-bottom: 0;
}
.property-search__row--submit:has( + .property-search__license ) {
	margin-bottom: 16px;
}
.property-search__license {
	margin: 0;
	text-align: center;
	font-size: 12px;
	color: var(--oknw-gray);
}
.property-search__field {
	display: block;
	min-width: 0;
}
.property-search__field--area,
.property-search__field--layout {
	flex: 1 1 0;
}
.property-search__field--price {
	flex: 2 1 0;
}
.property-search__field--freeword {
	flex: 1 1 auto;
}
.property-search__label {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 8px;
	color: var(--oknw-navy);
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}
.property-search__label::before {
	content: "";
	display: inline-block;
	width: 3px;
	height: 12px;
	border-radius: 2px;
	background: var(--oknw-blue);
	align-self: center;
}
.property-search__select,
.property-search__input {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--oknw-card-border);
	border-radius: 4px;
	background: #fff;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", sans-serif;
	font-size: 14px;
	color: var(--oknw-navy);
}
.property-search__input::placeholder {
	color: var(--oknw-gray);
	opacity: 1;
}
.property-search__select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 36px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%233d556f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 12px 8px;
	cursor: pointer;
}
.property-search__select::-ms-expand {
	display: none;
}
.property-search__select:focus,
.property-search__input:focus {
	outline: none;
	border-color: var(--oknw-blue);
	background-color: #fff;
}
.property-search__price {
	display: flex;
	align-items: center;
	gap: 8px;
}
.property-search__error {
	margin: 8px 0 0;
	color: #d63b3b;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", sans-serif;
	font-size: 12px;
	line-height: 1.5;
}
.property-search__select--invalid,
.property-search__select--invalid:focus {
	border-color: #d63b3b;
}
.property-search__price .property-search__select {
	flex: 1 1 0;
}
.property-search__tilde {
	flex: 0 0 auto;
	color: var(--oknw-gray);
	font-size: 14px;
}
.property-search__button {
	flex: 0 0 auto;
	min-width: 260px;
	height: 48px;
	padding: 0 40px;
	border: none;
	border-radius: 24px;
	background: var(--oknw-blue);
	color: #fff;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", sans-serif;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: opacity .2s;
}
.property-search__button:hover {
	opacity: .85;
}

/* 一覧ツールバー（該当件数・並び替え） */

.property-tools {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 28px;
}
.property-tools__count {
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", sans-serif;
	font-size: 14px;
	color: var(--oknw-navy);
}
.property-tools__num {
	margin: 0 2px;
	font-size: 28px;
	font-weight: 700;
	line-height: 1;
	color: var(--oknw-orange);
}
.property-tools__select {
	appearance: none;
	-webkit-appearance: none;
	height: 40px;
	padding: 0 36px 0 14px;
	border: 1px solid var(--oknw-card-border);
	border-radius: 4px;
	background-color: var(--oknw-bg);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%233d556f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 12px 8px;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", sans-serif;
	font-size: 14px;
	color: var(--oknw-navy);
	cursor: pointer;
}
.property-tools__select::-ms-expand {
	display: none;
}

/* 物件カードグリッド */

.property-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	margin: 0;
}
.property-archive .property-list {
	margin-bottom: 56px;
}
.property-archive__section--sold .property-list {
	margin-bottom: 0;
}
.property-list__empty {
	text-align: center;
	padding: 48px 0;
	color: var(--oknw-gray);
}

/* 物件カード */

.property-card {
	background: #fff;
	border: 1px solid var(--oknw-card-border);
	border-radius: var(--oknw-radius);
	overflow: hidden;
	box-shadow: 0 8px 20px rgba(26, 51, 64, .08);
	position: relative;
	display: block;
	color: inherit;
	text-decoration: none;
}
.property-card__thumb {
	aspect-ratio: 3 / 2;
	background: #ccdbe5;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #73808f;
	font-size: 13px;
}
.property-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.property-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--oknw-orange);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 2px;
}
.property-card__badge--sold {
	background: var(--oknw-gray);
}
.property-card--sold .property-card__thumb {
	opacity: .55;
}
.property-card__body {
	padding: 18px 18px 16px;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", sans-serif;
}
.property-card__name {
	margin: 0 0 13px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--oknw-navy);
}
.property-card__price,
.property-card__location {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
	color: var(--oknw-navy);
}
.property-card__price::before,
.property-card__location::before {
	content: "";
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin-left: 3px;
	background-repeat: no-repeat;
	background-position: left center;
	background-size: contain;
}
.property-card__price {
	margin-bottom: 6px;
	font-weight: 700;
	color: var(--oknw-blue);
}
.property-card__location {
	margin-bottom: 15px;
}
.property-card__price::before {
	background-image: url("../../img/icon-yen.svg");
}
.property-card__location::before {
	background-image: url("../../img/icon-pin.svg");
}
.property-card__specs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 19px;
}
.property-card__spec {
	background: var(--oknw-chip);
	border-radius: 4px;
	padding: 3px 8px;
	font-size: 12px;
	line-height: 1.4;
	color: var(--oknw-navy);
}
.property-card__foot {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
}
.property-card__meta {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	line-height: 1.4;
	color: var(--oknw-navy);
}
.property-card__meta::before {
	content: "";
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	margin-left: 6px;
	border-radius: 50%;
	background: var(--oknw-blue);
}

.property-card__price--ask {
	font-weight: 400;
	color: var(--oknw-navy);
}
.property-card--hidden {
	display: none;
}

/* 住替えCTA */

.property-cta {
	margin: 0;
	text-align: center;
}
.property-cta__button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 280px;
	padding: 20px 40px;
	border-radius: 100px;
	background: var(--oknw-blue);
	color: #fff;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	box-shadow: 0 2px 2px rgba(0, 0, 0, .1), 0 4px 8px -4px rgba(0, 0, 0, .2);
	transition: box-shadow .25s;
}
.property-cta__button:hover {
	color: #fff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .12), 0 12px 24px -12px rgba(0, 0, 0, .3);
}
.property-cta__badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1;
	padding: 4px 12px;
	border: 1px solid var(--oknw-blue);
	border-radius: 100px;
	background: #fff;
	color: var(--oknw-blue);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}
.property-cta__badge::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 8px solid #fff;
}
.property-cta__label {
	display: block;
}

/* ページネーション */

.property-archive__pagination {
	margin: 0 0 56px;
}
.property-archive__pagination ul,
.property-archive__pagination ul:hover {
	display: flex;
	justify-content: center;
	gap: 8px;
	height: auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	line-height: normal;
	list-style: none;
	background: none;
	box-shadow: none;
}
.property-archive__pagination li {
	display: block;
}
.property-archive__pagination a,
.property-archive__pagination span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 8px;
	border: 1px solid var(--oknw-card-border);
	border-radius: 4px;
	font-size: 14px;
	color: var(--oknw-navy);
}
.property-archive__pagination .current {
	background: var(--oknw-blue);
	border-color: var(--oknw-blue);
	color: #fff;
}
.property-archive__pagination .dots,
.property-archive__pagination .dots:hover {
	min-width: 0;
	padding: 0 4px;
	border: none;
	background: none;
	box-shadow: none;
	color: var(--oknw-navy);
}

/* 成約済み物件 もっと見る */

.property-archive__more {
	margin: 40px 0 0;
	text-align: center;
}
.property-archive__more-button {
	min-width: 260px;
	height: 48px;
	padding: 0 40px;
	border: 1px solid var(--oknw-blue);
	border-radius: 24px;
	background: #fff;
	color: var(--oknw-blue);
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", sans-serif;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: opacity .2s;
}
.property-archive__more-button:hover {
	opacity: .85;
}

/* 準備中パネル */

.property-soon {
	max-width: 640px;
	margin: 32px auto 0;
	padding: 40px 32px;
	background: #fff;
	border: 1px dashed var(--oknw-card-border);
	border-radius: var(--oknw-radius);
	text-align: center;
	color: var(--oknw-gray);
}
.property-soon__title {
	display: block;
	margin-bottom: 8px;
	font-size: 18px;
	color: var(--oknw-navy);
}
.property-soon__text {
	margin: 0;
}

/* 詳細ページ ヘッダー */

.post-type-archive-property .oknw-footer__wave {
	background: var(--oknw-bg);
}
.property-archive--no-sold .oknw-footer__wave {
	background: #fff;
}
.property-detail__head {
	margin-bottom: 32px;
	padding: 48px 0 0;
}
.property-detail__head--no-thumb {
	margin-bottom: 48px;
}
.property-detail__location {
	margin: 0;
	font-size: 13px;
	color: var(--oknw-gray);
}
.property-detail__title {
	margin: 4px 0 8px;
	font-size: 30px;
	font-weight: 500;
	color: var(--oknw-navy);
}
.property-detail__price {
	margin: 0;
	font-size: 30px;
	font-weight: 700;
	color: var(--oknw-blue);
}
.property-detail__price small {
	font-size: 15px;
}
.property-detail__thumb {
	margin: 0 0 40px;
	aspect-ratio: 16/9;
	width: 100%;
	height: auto;
	border-radius: var(--oknw-radius);
	overflow: hidden;
}
.property-detail__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* 詳細ページ スペック表 */

.property-detail__section {
	margin: 0 0 64px;
}
.property-detail__heading {
	display: flex;
	align-items: baseline;
	gap: 16px;
	margin: 0 0 16px;
	font-size: 22px;
	font-weight: 500;
	color: var(--oknw-navy);
	border-bottom: 2px solid var(--oknw-blue);
	padding-bottom: 8px;
}
.property-detail__date {
	font-size: 13px;
	font-weight: 400;
	color: var(--oknw-gray);
}
.property-detail__table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 4px;
	margin: 0 0 12px;
	font-size: 15px;
}
.property-detail__table th {
	width: 160px;
	background: #f5f7fb;
	border-radius: 4px;
	padding: 10px 16px;
	font-weight: 500;
	text-align: left;
	color: var(--oknw-navy);
}
.property-detail__table td {
	padding: 10px 0 10px 20px;
	color: var(--oknw-text);
}

/* 詳細ページ 免許番号 */

.property-legal {
	margin: 0;
	font-size: 13px;
	text-align: left;
	color: var(--oknw-gray);
}

/* 詳細ページ 関連記事 */

.property-related {
	margin: 0 0 56px;
}
.property-related__heading {
	margin: 0 0 16px;
	font-size: 20px;
	color: var(--oknw-navy);
	font-weight: 500;
}
.property-related__link {
	display: block;
	padding: 16px 20px;
	border: 1px solid var(--oknw-card-border);
	border-radius: var(--oknw-radius);
	margin-bottom: 12px;
	color: var(--oknw-navy);
}
.property-related__link:last-child {
	margin-bottom: 0;
}

/* 詳細ページ 戻るリンク */

.property-detail .property-cta {
	margin: 0 0 48px;
}
.property-detail__back {
	margin: 0 0 48px;
	text-align: center;
}
.property-detail__back a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 16px;
	color: var(--oknw-navy);
}
.property-detail__back a::before {
	content: "";
	flex: 0 0 auto;
	width: 12px;
	height: 12px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M8 2L4 6l4 4' fill='none' stroke='%233d556f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* 新着物件スライダー（トップ） */

#property-new {
	position: relative;
	overflow: hidden;
}
#property-new::before {
	content: "";
	position: absolute;
	left: calc( 50% - 464px );
	right: 0;
	bottom: 0;
	height: 413px;
	background: #f5f7fb;
	border-radius: var(--oknw-radius) 0 0 var(--oknw-radius);
	z-index: -1;
}
.property-swiper {
	position: relative;
	margin: 0;
}
.property-swiper__container {
	overflow: visible;
	clip-path: inset( -40px 0 );
}
.property-swiper .property-swiper__slide {
	height: auto;
}
.property-swiper__slide .property-card {
	height: 100%;
}
.property-swiper__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 48px;
	height: 48px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--oknw-blue);
	border-radius: 50%;
	background: #fff no-repeat center / 24px 24px;
	box-shadow: 0 8px 20px rgba(26, 51, 64, .08);
	transform: translateY(-50%);
	cursor: pointer;
	transition: opacity .25s;
}
.property-swiper__arrow--prev {
	left: -76px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15 6L9 12l6 6' fill='none' stroke='%230057a8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.property-swiper__arrow--next {
	right: -76px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%230057a8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.property-swiper__arrow:hover {
	opacity: .8;
}
.property-swiper__arrow.swiper-button-disabled {
	opacity: .3;
	pointer-events: none;
}
.property-swiper__arrow.swiper-button-lock {
	display: none;
}
@media (max-width: 1199px) {
	.property-swiper__arrow--prev {
		left: -16px;
	}
	.property-swiper__arrow--next {
		right: -16px;
	}
}
