/* ========================================
   施工実績アーカイブページ - works-archive.css
   PC版とスマホ版のレスポンシブスタイル
   ======================================== */

/* ===================================
   パンくずリスト
   =================================== */

/* パンくずリストのコンテナ幅を制限 */
.breadcrumb-container {
	max-width: 1280px;
	margin: 0 auto 30px;
	padding: 0 24px;
	box-sizing: border-box;
}

/* ===================================
   ページMV（メインビジュアル）テンプレートパーツ
   Figma node-id: 7652-2821
   =================================== */

/* PC版スタイル */
.page-mv-container {
	position: relative !important;
	height: 235px !important;
	overflow: hidden !important;
	box-sizing: border-box !important;
	margin-bottom: 20px !important;
}

.page-mv-container .page-mv-background {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	pointer-events: none !important;
}

.page-mv-container .page-mv-overlay {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	background: rgba(255, 255, 255, 0) !important; /* オーバーレイを完全に透明に変更（背景画像をはっきり表示） */
	z-index: 1 !important;
}

.page-mv-container .page-mv-image {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: 50% 50% !important;
	opacity: 1 !important; /* 画像を100%不透明に変更 */
	z-index: 0 !important;
}

.page-mv-container .page-mv-content {
	position: absolute !important;
	top: 63px !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	width: 1248px !important;
	max-width: 100% !important;
	padding: 0 124px !important;
	box-sizing: border-box !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 16px !important;
	align-items: flex-start !important;
	z-index: 2 !important;
}

.page-mv-container .page-mv-title {
	font-family: 'Noto Serif JP', sans-serif !important;
	font-size: clamp(42px, calc(2.07vw + 34.25px), 64px) !important;
	font-weight: 400 !important;
	color: #c8102e !important;
	letter-spacing: 5.46px !important;
	line-height: 1.1 !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

.page-mv-container .page-mv-subtitle {
	font-family: 'Noto Serif JP', sans-serif !important;
	font-size: 32px !important;
	font-weight: 400 !important;
	color: #c8102e !important;
	letter-spacing: 1.56px !important;
	line-height: 1.1 !important;
	padding: 0 4px !important;
	margin: 0 !important;
	box-sizing: border-box !important;
}

/* ========================================
   PC版レイアウト (768px以上)
   ======================================== */

/* 2カラムコンテナ */
.works-archive-container {
	display: flex;
	gap: 40px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

/* 左サイドバー (250px固定幅) */
.works-sidebar {
	width: 250px;
	flex-shrink: 0;
}

/* モーダルヘッダー (PC版では非表示) */
.modal-header {
	display: none;
}

.sidebar-inner {
	position: sticky;
	top: 20px;
}

.sidebar-title {
	font-size: 1.5rem;
	font-weight: bold;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid #333;
}

/* こだわり検索ラベル */
.kodawari-label {
	display: inline-flex;
	align-items: center;
	padding: 8px 7px;
	gap: 6px;
	box-sizing: border-box;
}

.kodawari-icon {
	width: 14px;
	height: 14px;
	color: #E7141A;
	flex-shrink: 0;
}

.kodawari-label span {
	font-size: 14px;
	color: #E7141A;
	font-weight: bold;
	line-height: 1;
}

/* 検索ボックス */
.search-box {
	margin-bottom: 20px;
}

.search-label {
	display: block;
	font-weight: bold;
	margin-bottom: 8px;
	font-size: 0.9rem;
	color: #333;
}

.search-input-wrapper {
	position: relative;
	width: 100%;
}

.search-icon {
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	color: #E7141A;
	pointer-events: none;
	width: 22px;
	height: 22px;
}

.keyword-input {
	width: 100%;
	padding: 14px 18px 14px 40px;
	border: 2px solid #E7141A;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.56px;
	color: #191a19;
	box-sizing: border-box;
}

.keyword-input::placeholder {
	color: #191a19;
	font-weight: 500;
	letter-spacing: 0.56px;
}

.keyword-input:focus {
	outline: none;
	border-color: #c82333;
	box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* 人気キーワード */
.popular-keywords {
	margin-top: 20px;
	margin-bottom: 20px;
}

/* 人気キーワードタイトル (PC版でも表示) */
h3.popular-keywords-title {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: #c8102e;
	letter-spacing: 0.56px;
	line-height: 1.4;
	padding: 0 4px;
	margin: 0 0 8px 0;
}

h3.popular-keywords-title:after {
	content: none !important;
	display: none !important;
}

.keyword-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.keyword-tag {
	padding: 12px 20px;
	border: none;
	background: #f1f1f1;
	border-radius: 9999px;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 1.4px;
	color: #191a19;
	cursor: pointer;
	transition: background 0.3s;
	line-height: 1;
	margin-bottom: 0 !important; /* body.grp_works buttonのmargin-bottom: 1remを確実に上書き */
}

.keyword-tag:hover {
	background: #E7141A;
	color: #ffffff;
}

/* アコーディオン */
.filter-accordion {
	border-top: 1px solid #E7141A;
}

.accordion-header {
	width: 100%;
	height: 57px;
	padding: 17px 15px;
	background: #ffffff;
	border: none;
	text-align: left;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 16px;
	font-weight: bold;
	color: #E7141A;
	transition: background 0.3s;
	box-sizing: border-box;
	margin-bottom: 0 !important; /* body.grp_works buttonのmargin-bottomを無効化 */
}

.accordion-header:hover {
	background: #f8f9fa;
}

.accordion-header.is-open {
	background: #ffffff;
}

.accordion-icon {
	position: relative;
	width: 12px;
	height: 12px;
	display: block;
	flex-shrink: 0;
}

/* アイコンを構成している棒 */
.accordion-icon span {
	position: absolute;
	display: inline-block;
	background-color: #E7141A;
	width: 12px;
	height: 2px;
	transition: all 0.3s ease;
}

/* アイコンを構成している横棒 */
.accordion-icon span:nth-of-type(1) {
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

/* アイコンを構成している縦棒 */
.accordion-icon span:nth-of-type(2) {
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%) rotate(90deg);
}

/* 開いているときの横棒 */
.accordion-header.is-open .accordion-icon span:nth-of-type(1) {
	transform: translate(-50%, -50%);
}

/* 開いているときの縦棒（回転して非表示） */
.accordion-header.is-open .accordion-icon span:nth-of-type(2) {
	transform: translate(-50%, -50%) rotate(180deg);
	opacity: 0;
}

.accordion-content {
	padding: 0;
	background: #fff;
	display: none;
}

/* チェックボックス（Figma node-id: 15:9824） */
.filter-checkbox {
	display: flex;
	padding: 10px 24px;
	align-items: center;
	gap: 8px;
	align-self: stretch;
	margin-bottom: 0;
	cursor: pointer;
	box-sizing: border-box;
}

.filter-checkbox input[type="checkbox"] {
	width: 16px;
	height: 16px;
	cursor: pointer;
	margin: 0;
	border: 1px solid #E7141A;
	flex-shrink: 0;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background: #ffffff;
	border-radius: 2px;
	position: relative;
}

.filter-checkbox input[type="checkbox"]:checked {
	background: #E7141A;
	border-color: #E7141A;
}

.filter-checkbox input[type="checkbox"]:checked::after {
	content: '✓';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #ffffff;
	font-size: 12px;
	font-weight: bold;
	line-height: 1;
}

.filter-checkbox span {
	cursor: pointer;
	color: #E7141A;
	font-family: 'Inter', 'Noto Sans JP', sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.64px;
}

/* 色の絞り込み用スタイル */
.filter-checkbox-color .color-label-wrapper {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.filter-color-dot {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.1);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
	flex-shrink: 0;
}

.color-label-text {
	color: #E7141A;
	font-family: 'Inter', 'Noto Sans JP', sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.64px;
}

/* 旧カラードットスタイル（削除済み） */

/* エリア階層型アコーディオン用スタイル（Figma node-id: 412-8619） */
/* 親タームアイテム（チェックボックス + トグルボタンを横並び） */
.area-parent-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 24px;
	border-top: 0.5px solid #E7141A;
	box-sizing: border-box;
}

/* 親タームのチェックボックス */
.area-parent-checkbox {
	flex: 1;
	padding: 0;
	margin: 0;
	border-top: none;
}

/* トグルボタン（「+」「-」アイコン） */
.area-toggle-button {
	width: 24px;
	height: 24px;
	border: none;
	background: transparent;
	cursor: pointer;
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-bottom: 0 !important; /* body.grp_works buttonのmargin-bottomを無効化 */
}

.area-toggle-button:hover {
	opacity: 0.7;
}

/* トグルアイコン（既存の.accordion-iconと同じロジック） */
.area-toggle-icon {
	position: relative;
	width: 12px;
	height: 12px;
	display: block;
	flex-shrink: 0;
}

/* アイコンを構成している棒 */
.area-toggle-icon span {
	position: absolute;
	display: inline-block;
	background-color: #E7141A;
	width: 12px;
	height: 2px;
	transition: all 0.3s ease;
}

/* アイコンを構成している横棒 */
.area-toggle-icon span:nth-of-type(1) {
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

/* アイコンを構成している縦棒 */
.area-toggle-icon span:nth-of-type(2) {
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%) rotate(90deg);
}

/* 開いているときの横棒 */
.area-toggle-button.is-open .area-toggle-icon span:nth-of-type(1) {
	transform: translate(-50%, -50%);
}

/* 開いているときの縦棒（回転して非表示） */
.area-toggle-button.is-open .area-toggle-icon span:nth-of-type(2) {
	transform: translate(-50%, -50%) rotate(180deg);
	opacity: 0;
}

/* 子タームコンテナ */
.area-children-container {
	padding-bottom: 8px;
	background: #fff;
}

/* 子タームチェックボックス */
.area-child-checkbox {
	padding: 4px 44px;
	border-top: none;
}

/* 検索ボタン */
.filter-buttons {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 22px 0;
	align-items: center;
}

.btn-clear {
	padding: 18px 14px;
	background: #ffffff;
	color: #E7141A;
	border: 1px solid #E7141A;
	border-radius: 25px;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.16px;
	cursor: pointer;
	transition: background 0.3s;
	box-sizing: border-box;
	margin-bottom: 0 !important; /* body.grp_works buttonのmargin-bottomを上書き */
	white-space: nowrap;
}

.btn-clear:hover {
	background: #f8f9fa;
}

.btn-search {
	width: 260px;
	padding: 14px 20px;
	background: #E7141A;
	color: #ffffff;
	border: none;
	border-radius: 9999px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 2.24px;
	cursor: pointer;
	transition: background 0.3s;
	box-sizing: border-box;
	margin-bottom: 0 !important; /* body.grp_works buttonのmargin-bottomを上書き */
}

.btn-search:hover {
	background: #c82333;
}

/* 右メインエリア */
.works-main {
	flex: 1;
	min-width: 0;
}

/* スマホ版絞り込みボタン (PC版では非表示) */
.mobile-filter-button {
	display: none;
}

/* 結果件数表示 */
.result-count {
	margin-bottom: 20px;
}

.result-count p {
	margin: 0;
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
	color: #4A4A4A;
}

/* 3カラムグリッドレイアウト */
.works-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	margin-bottom: 40px;
}

/* カード */
.work-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* カード全体のリンク */
.work-card-link {
	display: block;
	text-decoration: none;
	color: inherit;
	transition: opacity 0.3s ease;
}

.work-card-link:hover {
	opacity: 0.9;
}

.work-card-image {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 12px 12px 0 0;
}

.work-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.3s ease;
}

.work-card-link:hover .work-card-img {
	transform: scale(1.05);
}

.work-card-content {
	padding: 9px 11px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.work-card-date {
	font-size: 12px;
	color: #cccccc;
	font-weight: 400;
	padding: 0 4px;
	line-height: 1.4;
	margin-bottom: 0;
}

/* カラードット */
.color-dots {
	display: flex;
	gap: 10px;
	padding: 0 4px;
	margin-bottom: 0;
}

.color-dot {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.1);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* タグ */
.work-card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 0;
}

.catlabel {
	display: inline-block;
	padding: 8px 16px 7px;
	font-size: 13px;
	line-height: 1;
	letter-spacing: 0.52px;
	border-radius: 9999px;
	background: #f1f1f1;
	color: #616161;
	border: none;
	white-space: nowrap;
}

.catlabel.bd {
	background: #f5f5f5;
	color: #666;
	border: 1px solid #e0e0e0;
}

.catlabel.bg {
	background: #f5f5f5;
	color: #666;
	border: 1px solid #e0e0e0;
}

/* タイトル */
h2.work-card-title {
	margin: 0;
	font-size: 18px;
	line-height: 1.4;
	font-weight: 500;
	letter-spacing: 0.72px;
	padding: 0 4px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #616161;
	transition: color 0.3s;
	text-align: left;
}

h2.work-card-title:after {
	content: none;
}

.work-card-link:hover .work-card-title {
	color: #007bff;
}

/* 結果0件 */
.no-results {
	padding: 60px 20px;
	text-align: center;
	font-size: 1.1rem;
	color: #6c757d;
}

/* モーダルオーバーレイ (PC版では非表示) */
.filter-modal-overlay {
	display: none;
}

/* モーダル閉じるボタン (PC版では非表示) */
.modal-close-button {
	display: none;
}

/* ========================================
   スマホ版レイアウト (767px以下)
   ======================================== */

@media (max-width: 767px) {
	/* ===================================
	   ページMV（メインビジュアル）- スマホ版
	   Figma node-id: 7937-17546
	   =================================== */

	.page-mv-container {
		height: 180px !important; /* スマホ版の高さを180pxに変更（zoom: 0.75適用後は135px相当、背景画像が見えるように） */
	}

	.page-mv-container .page-mv-content {
		top: 50% !important;
		transform: translate(-50%, -50%) !important;
		padding: 0 24px !important;
		gap: 8px !important;
	}

	.page-mv-container .page-mv-subtitle {
		font-size: 12px !important;
	}

	/* コンテナ */
	.works-archive-container {
		flex-direction: column;
		padding: 0 24px;
		gap: 0;
	}

	/* サイドバーを非表示 (デフォルト) */
	.works-sidebar {
		display: flex;
		flex-direction: column;
		position: fixed;
		top: 155px;
		left: 0;
		right: 0;
		width: 100%;
		height: calc(100% - 155px);
		background: #fff;
		z-index: 1000;
		transform: translateY(100%);
		transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
		pointer-events: none;
	}

	/* モーダルが開いているとき */
	.works-sidebar.is-open {
		transform: translateY(0);
		pointer-events: auto;
	}

	/* モーダルヘッダー (スマホ版で表示) */
	.modal-header {
		display: flex !important;
		flex-direction: column;
		align-items: center;
		position: relative;
		padding: 32px 24px 12px;
		border-bottom: 1px solid #ebebeb;
		background: #fff;
		flex-shrink: 0;
		z-index: 10;
		border-top-left-radius: 16px;
		border-top-right-radius: 16px;
	}

	.modal-close-button {
		display: flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		left: 17px;
		top: 5px;
		width: 28px;
		height: 28px;
		background: none;
		border: none;
		cursor: pointer;
		padding: 0;
		color: #e7141a;
		margin-bottom: 0 !important; /* body.grp_works buttonのmargin-bottomを無効化 */
	}

	.modal-close-button svg {
		width: 20px;
		height: 20px;
	}

	h2.modal-title {
		font-size: 18px;
		font-weight: 700;
		color: #c8102e;
		letter-spacing: 1.8px;
		line-height: 1;
		margin: 0;
		text-align: center;
	}

	h2.modal-title:after {
		content: none !important;
		display: none !important;
	}

	.modal-count {
		font-size: 16px;
		font-weight: 400;
		color: #b5b5b5;
		letter-spacing: 0.64px;
		line-height: 1.4;
		padding-top: 8px;
	}

	.sidebar-inner {
		position: static;
		padding: 28px 24px 0;
		display: flex;
		flex-direction: column;
		gap: 14px;
		overflow-y: auto;
		flex: 1;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 100px;
	}

	/* 検索ボックス (スマホ版) */
	.search-box {
		margin-bottom: 0;
		width: 100%;
	}

	.search-input-wrapper {
		width: 100%;
	}

	.keyword-input {
		width: 100%;
		padding: 14px 18px 14px 48px;
		border: 1px solid #e7141a;
		border-radius: 8px;
		font-size: 16px;
		font-weight: 500;
		letter-spacing: 0.64px;
		color: #191a19;
		background: white;
	}

	.keyword-input::placeholder {
		color: #cccccc;
		font-weight: 500;
		letter-spacing: 0.64px;
	}

	.search-icon {
		left: 18px;
		width: 22px;
		height: 22px;
		color: #191a19;
	}

	/* 人気キーワード (スマホ版) */
	.popular-keywords {
		margin-top: 0;
		margin-bottom: 0;
		display: flex;
		flex-direction: column;
		gap: 8px;
	}

	h3.popular-keywords-title {
		display: block;
		font-size: 14px;
		font-weight: 700;
		color: #c8102e;
		letter-spacing: 0.56px;
		line-height: 1.4;
		padding: 0 4px;
		margin: 0;
		width: 100%;
	}

	h3.popular-keywords-title:after {
		content: none !important;
		display: none !important;
	}

	.keyword-tags {
		width: 100%;
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}

	.keyword-tag {
		padding: 12px 20px;
		background: #f1f1f1;
		border-radius: 9999px;
		font-size: 14px;
		font-weight: 500;
		letter-spacing: 1.4px;
		color: #191a19;
		border: none;
		cursor: pointer;
		line-height: 1;
		white-space: nowrap;
		margin-bottom: 0 !important; /* body.grp_works buttonのmargin-bottom: 1remを確実に上書き */
	}

	.keyword-tag:hover {
		background: #E7141A;
		color: #ffffff;
	}

	/* アコーディオンリスト (スマホ版) */
	.filter-accordion-list {
		margin-top: 28px;
	}

	/* モーダルオーバーレイ */
	.filter-modal-overlay {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: rgba(0, 0, 0, 0.5);
		z-index: 999;
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.3s ease-out;
	}

	.filter-modal-overlay.is-open {
		opacity: 1;
		pointer-events: auto;
	}

	/* スマホ版絞り込みボタン (Figma node-id: 1-28934) */
	.mobile-filter-button {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 0;
		width: 100%;
		padding: 14px 20px;
		margin-bottom: 20px !important; /* body.grp_works buttonの値を上書き */
		background: #e7141a;
		color: #ffffff;
		border: none;
		border-radius: 9999px;
		font-size: 16px;
		font-weight: 700;
		line-height: 1.4;
		letter-spacing: 2.24px;
		text-align: center;
		cursor: pointer;
		min-height: 44px;
		box-sizing: border-box;
		transition: background 0.3s;
	}

	.mobile-filter-button:active,
	.mobile-filter-button:hover {
		background: #c82333;
	}

	/* メインエリア */
	.works-main {
		width: 100%;
	}

	/* 結果件数 */
	.result-count {
		padding: 10px 15px;
		margin-bottom: 15px;
	}

	.result-count p {
		font-size: 0.9rem;
	}

	/* 2カラムグリッド (581px-767px) */
	.works-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
		margin-bottom: 30px;
	}

	/* カード */
	.work-card {
		max-width: 327px;
		width: 100%;
		margin-inline: auto;
		border-radius: 8px;
		box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
	}

	.work-card-image {
		border-radius: 8px 8px 0 0;
	}

	.work-card-content {
		padding: 9px 11px;
		gap: 16px;
	}

	.work-card-date {
		font-size: 12px;
		color: #cccccc;
		font-weight: 400;
	}

	h2.work-card-title {
		font-size: 18px;
		font-weight: 500;
		letter-spacing: 0.72px;
		text-align: left;
	}

	.color-dots {
		gap: 10px;
	}

	.color-dot {
		width: 14px;
		height: 14px;
	}

	.work-card-tags {
		gap: 7px;
	}

	.catlabel {
		padding: 8px 16px 7px;
		font-size: 13px;
		line-height: 1;
		letter-spacing: 0.52px;
		border-radius: 9999px;
	}

	.sidebar-title {
		font-size: 1.3rem;
		margin-bottom: 15px;
	}

	/* アコーディオン */
	.accordion-header {
		font-size: 0.9rem;
		font-weight: 400;
		padding: 10px 12px;
	}

	.accordion-content {
		padding: 12px;
	}

	.filter-checkbox {
		padding: 10px 0;
		font-size: 0.85rem;
		margin-bottom: 0;
	}

	/* エリア階層型アコーディオン（スマホ版） */
	.area-parent-item {
		padding: 10px 24px;
	}

	.area-parent-checkbox {
		padding: 0;
	}

	.area-child-checkbox {
		padding: 4px 0 4px 44px; /* 左側に44pxのインデント */
	}

	/* 検索ボタン（モーダルフッター固定） */
	.filter-buttons {
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		margin: 0;
		padding: 20px 24px;
		gap: 8px;
		background: #fff;
		border-top: 1px solid #ebebeb;
		z-index: 11;
		box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
	}

	.btn-clear {
		padding: 18px 14px;
		font-size: 16px;
		font-weight: 500;
		min-height: 44px;
		flex-shrink: 0;
	}

	.btn-search {
		padding: 14px 20px;
		font-size: 16px;
		font-weight: 700;
		letter-spacing: 2.24px;
		min-height: 44px;
		flex: 1;
		width: auto;
	}

}

/* ========================================
   タブレット用調整 (768px - 1024px)
   ======================================== */

@media (min-width: 768px) and (max-width: 1024px) {
	.works-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}

	.works-sidebar {
		width: 220px;
	}

	.works-archive-container {
		gap: 30px;
		padding: 0 24px;
	}
}

/* ========================================
   スマホ小画面用調整 (580px以下)
   ======================================== */

@media (max-width: 580px) {
	/* 1カラムグリッド */
	.works-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	/* カード幅を最大限に活用 */
	.work-card {
		max-width: 100%;
	}
}
