@charset "utf-8";

/* ここから個別のスタイル設定 */

@media (hover: hover) {
	.checkitem:hover {
		background-color: #eee;
	}
}
.checkitem label{
	line-height: 2.1;
	display: flex;
	display: -webkit-flex;
	align-items: center;
	gap: 6px;
}

.filter-title {
	font-size: clamp(14px, 0.9vw, 20px);
	font-weight: 700;
}
.filter-header {
	font-size: clamp(14px, 0.9vw, 20px);
	font-weight: 700;
}
.refine-search {
	display: block;
	width: 100%;
	max-width: 420px;
	padding: 0.6em 0 0.5em;
	text-align: center;
	font-weight: 700;
	color: #fff;
	background-color: #fbb03b;
	cursor: pointer;
	border-radius: 6px;
	border: none;
}

.kw-input {
	width: 100%;
	max-width: 420px;
	background-color: #fff;
	margin-top: 40px;
	margin-bottom: 40px;
}
.sidebar {
	margin-bottom: 40px;
}

.checkitem-wrapper {
	display: none;
	transition: max-height 0.3s ease-in-out; /* トグルのアニメーション効果の追加 */
	overflow: hidden; /* 子要素が溢れるのを防ぐ */
	max-height: 0; /* 初めは高さ0に設定 */
}

.checkitem-wrapper.is-active {
	display: block;
	max-height: 5000px; /* これはあなたの内容に合わせて調整してください。大きな値を設定しても問題ありません */
}

.municipality-title{
	position:relative;
	cursor: pointer;
}

.municipality-title::before,
.municipality-title::after {
	content:'';
	position:absolute;
	right:10px;
	top:10px;
	width:12px;
	height:1px;
	background-color:#000;
}
.municipality-title::before {
	transform:rotate(90deg);
}


@media screen and (max-width: 479px) {
	p {
		font-size: 3.6vw;
	}

	.sidebar {
		width: 100%;
	}
	.filter-header {
		font-size: 3.6vw;
		background-color: #fbb03b;
		color: #fff;
		margin: 1.5em calc((100% - 100vw) / 2) 0;
		padding: 4px 20px;
	}

	.municipality-title {
		margin-top: 1.5em;
	}
	.filter-header {
		margin-top: 1.5em;
	}
	.checkitem {
		position: relative;
	}
	.checkitem::before {
		content: "";
		position: absolute;
		width: calc(100% + 40px);
		height: 1px;
		background-color: #ddd;
		bottom: 0;
		left: 50%;
		transform: translateX(-50%);
	}
	.checkitem label{
		font-size: 3.6vw;
		line-height: 3.6;
	}
	.refine-search {
		max-width: none;
	}
}
