@charset "UTF-8";

/* =====================================================
--------------------------------------------------------
基本設定（共通）
--------------------------------------------------------
===================================================== */

/* {{yonezawa 20250925 SP閲覧時の上部余白を修正}} */
main {
	--header-height: 0;
}

main:has(> .map) {
	--header-height: 77px;
}

.modal-dialog {
	position: fixed;
	top: 0;
	left: 50%;
	translate: -50% 0;
	overflow-x: hidden;
	overflow-y: auto;
	z-index: 4;
	padding-bottom: 48px;
	width: 100%;
	max-width: 1024px;
	height: 100%;
	max-height: 100vh;
	background: #fff;
	border: none;
}

.modal-dialog:has(.search-button-area) {
	padding: 0;
}


@supports (-webkit-touch-callout: none) {
	.modal-dialog {
		max-height: 100dvh;
	}
}

.modal-dialog::backdrop {
	opacity: 0.5;
	background: var(--color-black);
}

.modal-dialog_body {
	/* {{yonezawa 20250925 SP閲覧時の上部余白を修正}} */
	/* padding: 0 16px; */
	padding: var(--header-height) 16px 0;
}

@media screen and (min-width: 1024px) {
	.modal-dialog {
		top: 100px;
		height: fit-content;
		max-height: calc(100vh - 200px);
		border-radius: 8px;
	}
}



/* リンク */
.modal-dialog a {
	color: var(--color-link-text);
}

@media (any-hover:hover) {
	.modal-dialog header button {
		transition: all 0.5s;
	}
	.modal-dialog a:hover,
	.modal-dialog header button:hover {
		opacity: 0.5;
	}
}



/* checkbox */
.modal-dialog [type="checkbox"] {
	margin-right: 8px;
}

.modal-dialog .disabled:has([type="checkbox"]),
.modal-dialog [type="checkbox"].disabled {
	filter: unset;
}



/* button非活性 */
.modal-dialog button[disabled] {
	opacity: 0.5;
}

@media (any-hover:hover) {
	.modal-dialog button.c--link-main[disabled]:hover {
		background: var(--color-housecom-green);
	}
}



/* 該当0件 */
.modal-dialog .not-applicable {
	width: 100%;
}










/* =====================================================
--------------------------------------------------------
ヘッダー（共通）
--------------------------------------------------------
===================================================== */

.modal-dialog header {
	z-index: 2;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 32px 16px 16px;
	border-bottom: 1px solid var(--color-grey-origin);
	background: #fff;
}

.modal-dialog:has(.condition) {
	left: 0;
	translate: unset;
	min-height: 100lvh;
}

@supports (-webkit-touch-callout: none) {
	/* .modal-dialog {
		max-height: 100dvh;
	} */
	.modal-dialog:has(.condition) {
		padding-bottom: 48px;
	}
}

.modal-dialog header a {
	display: flex;
	align-items: center;
	color: var(--color-link-text);
	font-size: 16px;
}

.modal-dialog header a::before {
	rotate: 180deg;
	margin: 0 8px 0 -8px;
	color: var(--color-black);
	font-family: 'icomoon';
	font-size: 32px;
	content: '\e90d';
}

.modal-dialog header button::before {
	font-family: 'icomoon';
	font-size: 32px;
	content: '\e92d';
}

@media screen and (min-width: 1024px) {
	.modal-dialog header a {
		font-size: 18px;
	}
}









/* =====================================================
--------------------------------------------------------
見出し（共通）
--------------------------------------------------------
===================================================== */

.modal-dialog h2 {
	margin: 24px 0;
	font-size: 20px;
	font-weight: bold;
}

.modal-dialog_body > h3 {
	margin: 24px 0 16px;
	font-size: 16px;
	font-weight: bold;
}

.modal-dialog h3:has(+ .line-pref) {
	margin: 24px 0 0;
	font-size: 18px;
	font-weight: bold;
}

/* 2行 */
.modal-dialog h3:has(span) {
	margin: 24px 0 0;
}

.dialog-list h3:has(span) {
	margin: 0;
}

.modal-dialog_body > h3:has(span) span {
	display: block;
	color: var(--color-grey-dark);
	font-size: 14px;
	font-weight: normal;
}

.modal-dialog h3:has(+ .line-pref) span {
	display: block;
	font-size: 14px;
	color: var(--color-grey-dark);
}



/* 見出し + 件数 の1行表示（大区分） */
.heading-number {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 24px 0 16px;
	font-size: 16px;
	font-weight: bold;
}

.heading-number span {
	display: block;
	color: var(--color-grey-dark);
	font-size: 14px;
	font-weight: normal;
}



/* 検索窓の前 */
.modal-dialog h2:has(+ .free-word-search),
.modal-dialog h3:has(+ .free-word-search) {
	font-size: 18px;
}



/* 検索窓の後 */
.free-word-search[class] + h2 {
	margin: 24px 0 16px;
	font-size: 18px;
}


@media screen and (min-width: 1024px) {
	.modal-dialog h2:has(+ .free-word-search),
	.modal-dialog h3:has(+ .free-word-search) {
		margin: 32px 0;
		font-size: 20px;
	}
	.free-word-search[class] + h2 {
		margin: 32px 0 16px;
		font-size: 20px;
	}
}

@media screen and (min-width: 1024px) {
	.modal-dialog h2 {
		margin: 32px 0;
		font-size: 24px;
	}
	.modal-dialog_body > h2 + ul + h2 {
		font-size: 20px;
	}
	.modal-dialog_body > h3 {
		margin: 32px 0 16px;
		font-size: 20px;
	}
	.modal-dialog h3:has(+ .line-pref) {
		font-size: 20px;
	}
	.modal-dialog h3:has(+ .line-pref) span {
		display: inline-block;
		font-size: 16px;
	}
	.modal-dialog_body > h3:has(span) span {
		display: inline-block;
		margin: 0 0 0 16px;
		font-size: 16px;
	}
	.heading-number {
		margin: 32px 0 16px;
		font-size: 18px;
	}
	.heading-number h3 {
		margin: 0;
	}
	.heading-number span {
		font-size: 16px;
	}
}









/* =====================================================
--------------------------------------------------------
条件の一覧（共通）
--------------------------------------------------------
===================================================== */

/* 基本の3分割 */
.checkbox-list,
.checkbox-list > ul {
	display: flex;
	flex-flow: row wrap;
	gap: 24px 16px;
}

.checkbox-list:has(ul) {
	gap: 24px;
}

.checkbox-list li,
.checkbox-list > ul li {
	width: 100%;
}

.modal-dialog li a {
	width: 100%;
}



/* 選択肢と件数を横並びにする */
.modal-dialog label,
.checkbox-list li:not(:has(label)) {
	display: flex;
	align-items: flex-start;
	line-height: 1.25;
}

.modal-dialog label > *:not(input),
.modal-dialog .select-all label {
	margin: 0.275em 0 0;
}



/* 件数表示 */
.modal-dialog:not(:has(.condition)) label span:last-of-type,
.checkbox-list li:not(:has(label)) span:last-of-type,
.line label span:last-of-type,
.line li span:last-of-type,
.pref > li ul li span {
	margin: 0 0 0 auto;
	color: var(--color-grey-dark);
}



/* 全選択 */
.modal-dialog li.select-all,
.condition label.select-all {
	display: block;
	padding: 0;
	width: 100%;
	font-weight: bold;
}

.modal-dialog li.select-all label,
.modal-dialog li.select-all a {
	width: fit-content;
}

.modal-dialog li.select-all[class] span {
	margin: 0.275em 0 0;
	width: fit-content;
	color: var(--color-link-text);
	transition: all 0.5s;
}

@media (any-hover:hover) {
	.modal-dialog li.select-all span:hover {
		opacity: 0.5;
	}
}

@media screen and (min-width: 1024px) {
	.checkbox-list li {
		width: calc((100% - 16px * 2) / 3);
	}
	.checkbox-list > ul li {
		width: calc((100% - 16px * 2) / 3);
	}
	.line label span:last-of-type {
		margin: 0.175em 0 0 auto;
	}

	.modal-dialog label > *:not(input),
	.modal-dialog .select-all label {
		margin: 0.175em 0 0;
	}
	.modal-dialog:not(:has(.condition)) label span:last-of-type,
	.checkbox-list li:not(:has(label)) span:last-of-type,
	.line label span:last-of-type,
	.line li span:last-of-type,
	.pref > li ul li span,
	.modal-dialog li.select-all[class] span {
		margin-top: 0.175em;
	}
}










/* =====================================================
--------------------------------------------------------
「～を選ぶ」「この条件で検索」（共通）
--------------------------------------------------------
===================================================== */

.search-button-area {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-items: center;
	gap: 32px;
	position: -webkit-sticky;
	position: sticky;
	left: 0;
	bottom: 0;
	translate: -16px 0;
	margin-top: 32px;
	padding: 24px 16px;
	width: calc(100% + 32px);
	border-top: 2px solid var(--color-grey-light);
	background: #fff;
	z-index: 1;
}

.search-button-area > * {
	padding: 12px 16px;
	width: 100%;
    max-width: 342px;
	border-radius: 4px;
	font-size: 18px;
	font-weight: bold;
	text-align: center;
}

@media screen and (min-width: 1024px) {
	.search-button-area {
		margin-top: 48px;
		padding: 32px 16px 48px;
	}
	.search-button-area > * {
		width: 342px;
		font-size: 20px;
	}
}










/* =====================================================
--------------------------------------------------------
「もっと見る」（共通）
--------------------------------------------------------
===================================================== */

.search-read-more {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-items: center;
	gap: 32px;
}

.search-read-more:has(button) {
	margin-top: 32px;
}

.search-read-more > * {
	padding: 12px 16px;
	width: 100%;
	max-width: 342px;
	border-radius: 4px;
	border-width: 2px;
	font-size: 18px;
	font-weight: bold;
}

.search-read-more:has(button[disabled]) {
	display: none !important;
}

.search-read-more button[disabled] {
	opacity: 0.5;
}

@media screen and (min-width: 1024px) {
	.search-read-more > * {
		font-size: 20px;
	}
}










/* =====================================================
--------------------------------------------------------
フリーワード（共通）
--------------------------------------------------------
===================================================== */

.modal-dialog .free-word-search {
	display: flex;
	justify-content: space-between;
	gap: 0 16px;
}

.modal-dialog .free-word-search form {
	display: contents;
}

.modal-dialog .free-word-search input {
	width: calc(100% - 90px);
	padding: 12px 16px;
	font-size: 16px;
}

.modal-dialog .free-word-search .c--link-main {
	width: 90px;
	line-height: 1;
	font-size: 18px;
}

@media screen and (min-width: 1024px) {
	.modal-dialog .free-word-search {
		justify-content: flex-start;
		gap: 0 32px;
	}
	.modal-dialog .free-word-search input {
		width: 450px;
	}
}










/* =====================================================
--------------------------------------------------------
検索方法を選ぶ [C111]
--------------------------------------------------------
===================================================== */

.method {
	display: flex;
	flex-flow: row wrap;
	gap: 16px;
}

.method li {
	width: calc((100% - 16px) / 2);
}

.method li::before,
.method li::after {
	left: 8px;
	font-size: 32px;
	z-index: 1;
	pointer-events: none;
}

.method li a {
	display: flex;
	flex-flow: row wrap;
	padding: 12px 8px 12px 40px;
	width: 100%;
	height: 100%;
}

@media (any-hover:hover) {
	.method li:has(a:hover)::before,
	.method li:has(a:hover)::after {
		opacity: 0.5;
	}
}

@media screen and (min-width:375px) {
	.method li a {
		font-size: 16px;
	}
	.method li a span {
		width: 100%;
		font-size: 18px;
	}
}

@media screen and (min-width:1024px) {
	.method li::before,
	.method li::after {
		font-size: 40px;
	}
	.method li a {
		padding-left: 48px;
		font-size: 18px;
	}
	.method li a span {
		font-size: 20px;
	}
}



/* エリア */
h2:has(+ .method-area) {
	margin-bottom: 16px;
	font-size: 16px;
}

.method-area {
	display: flex;
	flex-flow: row wrap;
	gap: 24px 16px;
	gap: 16px;
}

.method-area li {
	display: flex;
	align-items: flex-start;
	line-height: 1.25;
	width: calc((100% - 16px) / 2);
}

.method-area li a {
	width: 100%;
}

@media screen and (min-width: 1024px) {
	.method {
		gap: 24px;
	}
	.method li {
		width: calc((100% - 24px * 3) / 4);
	}
	h2:has(+ .method-area) {
		font-size: 20px;
	}
	.method-area li {
		width: calc((100% - 16px * 5) / 6);
	}
}










/* =====================================================
--------------------------------------------------------
沿線の切り替え [C111-1][C111-8]
--------------------------------------------------------
===================================================== */
/* 都道府県で絞り込む */
.line-pref {
	margin-top: 16px;
}

.line-pref select {
	padding: 4px 40px 4px 8px ;
}

.line-pref::before {
	rotate: 0deg;
	width: 14px;
	height: 12px;
	clip-path: polygon(0 0, 100% 0%, 50% 100%);
	background: var(--color-black);
	content: '';
}

.line-pref.show::before {
	rotate: 180deg;
}



/* タブ */
.line > ul {
	display: flex;
}

.line > ul li {
	margin: 16px 0;
	padding: 0 0 8px;
	width: calc(100% / 3);
	border-bottom: 4px solid var(--color-grey-pale);
	color: var(--color-link-text);
	text-align: center;
	cursor: pointer;
}

.line > ul li.active {
	border-color: var(--color-housecom-blue);
	color: var(--color-black);
	font-weight: bold;
}

@media screen and (min-width: 1024px) {
	.line {
		margin-top: 32px;
	}
	.line > ul li {
		margin: 0 0 32px;
		padding: 0 0 16px;
	}
}



/* 中身 */
.line_list {
	display: none;
}

.line_list.active {
	display: flex;
	flex-direction: column;
	gap: 24px 8px;
}

.line_list.active div,
.line_list.active div dd ul {
	display: flex;
	flex-wrap: wrap;
	gap: 24px 8px;
	width: 100%;
}

.line_list.active div dt {
	color: var(--color-grey-dark);
	font-weight: bold;
	width: 1em;
}

.line_list.active div dd {
	display: flex;
	flex-wrap: wrap;
	gap: 24px 0;
	width: calc(100% - 1em - 8px);
}

.line_list.active label {
	width: 100%;
	display: flex;
}

.line_list.active div dd ul li {
	display: flex;
	width: 100%;
}

@media screen and (min-width: 1024px) {
	.line_list.active,
	.line_list.active div {
		gap: 24px;
	}
	.line_list.active div dt {
		font-size: 18px;
	}
	.line_list.active div dd {
		width: calc(100% - 1em - 32px);
		gap: 24px;
	}
	.line_list.active label {
		width: calc((100% - 48px) / 3);
	}
	.line_list.active div dd ul {
		gap: 24px;
	}
	.line_list.active div dd ul li {
		width: calc((100% - 24px * 2) / 3);
	}
}



/* 該当0件（路線） */
.line_list.active > .not-applicable-line {
	position: relative;
	display: block;
	margin: 0 auto;
	padding: 12px 12px 12px 44px;
	width: 100%;
	max-width: 400px;
	border-radius: 4px;
	border: 3px solid var(--color-link-cv);
	color: var(--color-link-cv);
	font-size: 18px;
	font-weight: bold;
	text-align: center;
}

.line_list.active > .not-applicable-line::before {
	position: absolute;
	top: 50%;
	left: 16px;
	translate: 0 -50%;
	color: var(--color-link-cv);
	font-family: 'icomoon';
	font-weight: normal;
	content: '\e93e';
}










/* =====================================================
--------------------------------------------------------
チェックボックス＆詳細 [C111-3]
--------------------------------------------------------
===================================================== */

/* 沿線 */
.applicable-items {
	display: flex;
	flex-flow: row wrap;
	margin-left: auto;
	width: calc(100% - 32px);
	line-height: 1;
}

.applicable-items li {
	display: contents;
	width: fit-content;
	color: var(--color-black);
	font-size: 12px;
}

.applicable-items li:not(:last-of-type)::after {
	display: inline-block;
	content: "、";
}

.checkbox-list li.disabled .applicable-items li {
	color: var(--color-black);
	font-size: 12px;
}

@media screen and (min-width: 1024px) {
	.checkbox-list:has(.applicable-items) > li {
		width: calc((100% - 24px * 2) / 3);
	}
	.applicable-items {
		margin-top: 8px;
	}
	.applicable-items li {
		font-size: 14px;
		word-break: break-all;
		
	}
}










/* =====================================================
--------------------------------------------------------
詳細のみ [C111-10/17/18/19]
--------------------------------------------------------
===================================================== */

.add-note {
	align-items: flex-start;
}

.add-note li {
	flex-flow: row wrap;
}

.add-note li h3 {
	width: fit-content;
	max-width: calc(100% - 7em);
}

.add-note li h3 span {
	color: inherit;
}

.add-note li p,
.add-note li .applicable-items {
	width: 100%;
}










/* =====================================================
--------------------------------------------------------
都道府県を選ぶ [C-111-4/8/16/20]
--------------------------------------------------------
===================================================== */

.pref {
	display: flex;
	flex-flow: row wrap;
	gap: 24px;
}

.pref > li {
	display: flex;
	flex-flow: row wrap;
	align-items: flex-start;
	gap: 0 32px;
	width: 100%;
	font-size: 16px;
}

.pref > li > span {
	margin-bottom: 16px;
	width: 100%;
	font-weight: bold;
}

.pref > li ul {
	display: flex;
	flex-flow: row wrap;
	gap: 24px;
	width: 100%;
}

.pref > li ul li {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	width: calc((100% - 24px) / 2);
}

.pref h3 {
	color: var(--color-grey-dark);
}

@media screen and (min-width: 1024px) {
	.pref > li > span {
		margin: 0;
		width: 100px;
		text-align: right;
	}
	.pref > li ul {
		gap: 24px 32px;
		width: calc(100% - 100px - 32px);
	}
	.pref > li ul li {
		width: calc((100% - 32px * 3) / 4);
	}
}










/* =====================================================
--------------------------------------------------------
地図から探す [C111-8]
--------------------------------------------------------
===================================================== */

.map-link {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 12px;
}

.modal-dialog_body:has(.map-link) h2:is([id]) {
	margin: 24px 0;
	font-size: 20px;
}

.modal-dialog_body:has(.map-link) > h3 {
	font-size: 18px;
}

.map-link > a {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	padding: 16px 24px 16px 16px;
	border-radius: 24px;
	line-height: 1;
	white-space: nowrap;
}

.map-link > a::after {
	position: absolute;
	right: 16px;
	top: 50%;
	translate: 0 -50%;
	font-family: 'icomoon';
}

.map-link > .c--link-sub {
	width: calc((100% - 12px) / 2);
	border: 1px solid var(--color-grey-origin);
	color: var(--color-link-text);
}

.map-link > .c--link-sub::after {
	font-size: 20px;
	color: var(--color-black);
	content: '\e94f';
}

.map-link > .c--link-main {
	width: 100%;
	color: var(--color-black);
	font-size: 18px;
}

.map-link > .c--link-main::after {
	font-size: 32px;
	font-weight: normal;
	content: '\e961';
}

@media screen and (min-width: 1024px) {
	.map-link {
		flex-wrap: nowrap;
		gap: 0 32px;
	}
	.modal-dialog:has(.map-link) h2:is([id]) {
		margin: 32px 0;
	}
	.map-link > .c--link-sub,
	.map-link > .c--link-main {
		width: calc((100% - 32px * 2) / 3);
		font-size: 18px;
	}
	.map-link > .c--link-main {
		order: 1;
	}
}










/* =====================================================
--------------------------------------------------------
通勤・通学時間 [C111-14/15]
--------------------------------------------------------
===================================================== */

.time {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 16px 0;
	width: 100%;
	max-width: 572px;
}

.time > p {
	width: fit-content;
	font-size: 18px;
	font-weight: bold;
}

.time > p:first-of-type {
	width: 100%;
}

.time_station {
	width: 100%;
}

.time_select span {
	display: none;
}

.time_minutes {
	width: calc(100% - 24px - 9em)
}

.time p span {
	display: inline-block;
	width: fit-content;
}

/* {{-- yonezawa 20251024 チェックFB No.183 対応 --}} */
/* {{-- 駅名入力用のテキストフィールド iPhone用にフォントサイズを指定 --}} */
.time #research_name,
.time [name="station_time"] {
	font-size: 16px;
}

.time input,
.time_minutes {
	width: 100%;
}

@media screen and (min-width:375px) {
	.time {
		justify-content: space-between;
	}
	.time input {
		width: calc(100% - 32px - 3.8em);
	}
	/* .time .c--select {
		width: calc(100% - 32px - 15em);
	} */
	.time_station {
		width: calc(100% - 24px - 4em);
	}
	.time_minutes {
		width: calc(100% - 32px - 9em);
	}
	.time_minutes + p {
		display: contents;
	}
}

@media screen and (min-width: 1024px) {
	.time {
		gap: 32px;
	}
	.time > p {
		font-size: 20px;
	}
	.time_minutes + p span {
		display: inline-block;
	}
	.time_station {
		width: calc(100% - 32px - 4em);
	}
	.time_minutes {
		width: calc(100% - 32px - 9em - 6em);
	}
	.time_minutes + p {
		display: block;
	}
	.time_minutes + p span:last-of-type {
		display: inline-block;
	}
}










/* =====================================================
--------------------------------------------------------
大学の五十音[C111-19]
--------------------------------------------------------
===================================================== */

.campus {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	width: 100%;
	max-width: 480px;
}

.campus li {
	overflow: hidden;
	width: calc((100% - 24px * 4) / 5);
	aspect-ratio: 1;
	border-radius: 4px;
	border: 1px solid var(--color-grey-origin);
	font-size: 16px;
	line-height: 1;
}

.campus li:has(a:empty) {
	visibility: hidden;
	pointer-events: none;
	cursor: auto;
}

.campus li.disabled {
	display: grid;
	background: var(--color-grey-pale);
	color: var(--color-grey-dark);
	place-items: center;
	pointer-events: none;
	cursor: auto;
}

.campus li:empty {
	visibility: hidden;
	pointer-events: none;
	cursor: auto;
}

.campus li a {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	cursor: pointer;
	background: #fff;
	color: var(--color-link-text);
}
@media screen and (min-width: 1024px) {
	.campus {
		margin-top: 32px;
		flex-direction: column;
		width: calc(49px * 10 + 24px * 9);
		height: calc(49px * 5 + 24px * 4);
	}
	.campus > li {
		width: 49px;
		height: 49px;
	}
}










/* =====================================================
--------------------------------------------------------
学区・校区 [C-111-20/21/22/23/24]
--------------------------------------------------------
===================================================== */

.modal-dialog:has(.school-district) h3:has(+ .pref) {
	font-size: 18px;
}

.modal-dialog:has(.school-district):not(:has(.pref)) h3:not(:has(+ span)) {
	font-size: 16px;
}

.school-district[class] {
	margin-top: 32px;
	padding: 16px;
	border-radius: 4px;
	border: 1px solid var(--color-grey-origin);
}

.school-district h2 {
	display: flex;
	align-items: center;
	gap: 0 4px;
	position: relative;
	margin: 0 0 16px 0;
	padding-left: 40px;
	border-bottom: none;
	font-size: 18px;
}

.school-district h2::before {
	position: absolute;
	top: 50%;
	left: 0;
	translate: 0 -50%;
	font-family: 'icomoon';
	font-size: 30px;
	font-weight: normal;
	content: '\e93e';
}

.school-district p {
	font-size: 16px;
}

@media screen and (min-width: 1024px) {
	.school-district[class] {
		margin-top: 48px;
	}
	.modal-dialog:has(.school-district) h3:has(+ .pref) {
		font-size: 20px;
	}
	.modal-dialog:has(.school-district):not(:has(.pref)) h3,
	.modal-dialog:has(.school-district):not(:has(.pref)) h3:not(:has(+ span)) {
		font-size: 18px;
	}
}










/* =====================================================
--------------------------------------------------------
詳細条件 [C112]
--------------------------------------------------------
===================================================== */

.condition label {
	align-items: center;
	width: calc((100% - 16px) / 2);
}

.condition label:not(:has([disabled])) {
	color: var(--color-link-text);
}

.condition label input {
	flex-shrink: 0;
}

.condition h3 {
	margin: 24px 0 8px;
	font-size: 16px;
	font-weight: bold;
}

.condition h4 {
	width: 100%;
	margin: 16px 0 8px;
	font-weight: bold;
}

.condition h3 + p {
	text-align: center;
	font-weight: bold;
}

.condition > div:has(> label) {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.modal-dialog > .form-condition div:has([type="range"]) + p {
	display: flex;
	justify-content: space-between;
	margin: 8px 0 0;
}

.modal-dialog > .form-condition .double-range:has([type="range"]) + p {
	margin: 32px 0 16px;
}

.modal-dialog > .form-condition input[value="100"] {
	background: var(--color-housecom-blue);
}



/* 条件を保存 */
.condition .save-button {
	display: flex block;
	justify-content: center;
	align-items: center;
	gap: 0 8px;
	width: fit-content;
	margin: 32px auto 48px;
	padding: 16px 20px;
	line-height: 1;
}

.condition .save-button::before {
	position: static;
	translate: 0;
	color: var(--color-black);
	font-family: 'icomoon';
	font-size: 16px;
	content: '\e929';
}



/* 件数と検索ボタン */
.condition .fixed-menu {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	max-width: 1024px;
	height: 64px;
	z-index: 2;
	display: flex;
	justify-content: space-around;
	align-items: center;
	padding: 8px;
	border-top: 1px solid var(--color-grey-origin);
	background: #fff;
	font-weight: bold;
}

.condition .fixed-menu p {
	width: 8em;
	text-align: right;
	font-size: 16px;
}

.condition .fixed-menu p span {
	margin: 0 4px 0 0;
	font-size: 22px;
}

.condition .fixed-menu button {
	padding: 16px;
	line-height: 1;
	background: var(--color-housecom-green);
	font-size: 18px;
}



/* レンジスライダー */
.modal-dialog .double-range_note {
	padding-top: 8px;
}





/* {{yonezawa 20250925 再検索（dialog）での「該当する○○は見つかりませんでした」のスタイルを追加}} */
dialog .not-applicable {
    position: relative;
    padding: 12px 16px 12px 42px;
    width: 100%;
    border-radius: 4px;
    border: 3px solid var(--color-link-cv);
    color: var(--color-link-cv);
    font-size: 18px;
    font-weight: bold;
}

dialog .not-applicable span {
	position: relative;
}

dialog .not-applicable:not(:has(::before)) span::before {
	position: absolute;
	top: 50%;
	left: -32px;
	translate: 0 -50%;
	color: var(--color-link-cv);
	font-family: 'icomoon';
	font-weight: normal;
	content: '\e93e';
}

@media screen and (min-width: 748px) {
	dialog .not-applicable {
		margin: auto;
	}
}

@media screen and (min-width: 1024px) {
    dialog .not-applicable {
        padding-left: 44px;
        font-size: 20px;
        text-align: center;
    }
}