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

/* ===================================
   施工事例詳細ページ - メインコンテナ
   =================================== */
.works-detail-container {
	max-width: 1440px;
	margin-inline: auto;
	padding: 0 16px;
	box-sizing: border-box;
}

/* タイトル〜ビフォーアフターセクション */
.works-overview-section {
	max-width: 1000px;
	margin-inline: auto;
	box-sizing: border-box;
}

/* コンテンツ内部は1000px */
.works-detail-container .property-data-content,
.works-detail-container .construction-report-content {
	max-width: 1000px;
	margin-inline: auto;
}

/* ========================================
   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;
}

/* こだわり検索ラベル */

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

.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: 'Oswald', 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: 'Oswald', 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;
}

/* 子タームアイテム（孫を持つ場合のラッパー） */
.area-child-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 4px 24px 4px 44px;
	box-sizing: border-box;
}

.area-child-item .area-child-checkbox {
	flex: 1;
	padding: 0;
	margin: 0;
}

/* 孫タームコンテナ */
.area-grandchildren-container {
	padding-bottom: 4px;
	background: #fff;
}

/* 孫タームチェックボックス */
.area-grandchild-checkbox {
	padding: 4px 44px 4px 64px;
	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) {
	/* コンテナ */
	.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;
	}

	/* アコーディオン */
	.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のインデント */
	}

	/* 子タームアイテム（孫を持つ場合のラッパー）スマホ版 */
	.area-child-item {
		padding: 4px 12px 4px 44px;
	}

	/* 孫タームチェックボックス（スマホ版） */
	.area-grandchild-checkbox {
		padding: 4px 0 4px 64px; /* 左側に64pxのインデント */
	}

	/* 検索ボタン（モーダルフッター固定） */
	.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%;
	}
}

/* ========================================
   施工事例詳細ページ - タイトル・日付セクション
   Figma node-id: 56-6895
   ======================================== */

/* PC版スタイル */
.works-detail-header {
	box-sizing: border-box;
}

.works-header-inner {
	border-bottom: 1px solid #c8102e;
	padding: 16px 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	box-sizing: border-box;
}

.works-detail-title {
	font-size: clamp(24px, calc(0.518vw + 22.06px), 32px);
	font-weight: 700;
	color: #191a19;
	line-height: 1.4;
	margin: 0;
	padding: 0;
}

.works-detail-date {
	font-size: 12px;
	color: #191a19;
	line-height: 1.4;
	letter-spacing: 0.48px;
}

/* ========================================
   施工事例詳細ページ - サブタイトル・カラードット・タクソノミーラベル
   Figma node-id: 1-34116
   ======================================== */

/* PC版スタイル */
.works-detail-meta {
	display: flex;
	flex-direction: column;
	gap: 21px;
	margin-top: 21px;
	box-sizing: border-box;
}

.works-detail-subtitle {
	font-size: clamp(17px, calc(0.194vw + 16.27px), 20px);
	font-weight: 600;
	color: #191a19;
	line-height: 1.4;
	margin: 0;
	padding: 0;
}

/* カラードット（詳細ページ用） */
.works-detail-meta .color-dots {
	gap: 8px;
	padding: 0;
}

/* タクソノミーラベル（詳細ページ用） */
.works-detail-meta .work-card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 0;
}

/* スマホ版スタイル (767px以下) */
@media (max-width: 767px) {
	.works-detail-meta .color-dots {
		gap: 8px;
		padding: 0 4px;
	}

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

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

/* ========================================
   施工事例詳細ページ - ビフォーアフターセクション
   Figma node-id: 1-34127
   ======================================== */

/* PC版スタイル */
.works-before-after {
	margin-top: 34px;
	box-sizing: border-box;
}

.works-before-after-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
}

/* ビフォー画像コンテナ */
.before-image-container {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.before-after-title {
	font-size: clamp(16px, calc(0.259vw + 15.03px), 20px);
	font-weight: 600;
	color: #191a19;
	line-height: 1.4;
	margin: 0;
	padding: 0 4px;
	text-align: center;
}

.before-image-wrapper {
	width: 100%;
	max-width: 330px;
	height: auto;
	border: 9px solid white;
	box-sizing: border-box;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.before-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* 矢印 */
.arrow-container {
	display: flex;
	align-items: center;
	justify-content: center;
	transform: rotate(90deg);
	flex-shrink: 0;
}

.arrow-icon {
	display: block;
}

/* アフター画像コンテナ */
.after-image-container {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.after-image-wrapper {
	width: 100%;
	max-width: 610px;
	height: auto;
	border: 10px solid white;
	box-sizing: border-box;
	position: relative;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.after-image-wrapper a {
	display: block;
	width: 100%;
	position: relative;
	overflow: hidden;
}

.after-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* 拡大アイコン（虫眼鏡） */
.after-image-wrapper .ico_glass {
	display: block;
	position: absolute;
	z-index: 1;
	right: 18px;
	bottom: 18px;
	background: #000;
	border-radius: 50%;
	width: 37px;
	height: 37px;
}

.after-image-wrapper .ico_glass:before {
	content: '';
	display: block;
	width: 17px;
	height: 17px;
	box-sizing: border-box;
	border-radius: 50%;
	border: solid 2px #fff;
	position: absolute;
	top: 8px;
	left: 9px;
}

.after-image-wrapper .ico_glass:after {
	content: '';
	display: block;
	height: 2px;
	width: 6px;
	background: #fff;
	position: absolute;
	bottom: 9px;
	right: 8px;
	transform: rotate(45deg);
}

/* スマホ版スタイル (767px以下) */
@media (max-width: 767px) {
	.works-before-after-inner {
		flex-direction: column;
		gap: 18px;
	}

	.before-image-container {
		gap: 8px;
		align-items: center;
	}

	.before-after-title {
		line-height: 1.6;
		text-align: center;
	}

	.before-image-wrapper {
		width: 100%;
		max-width: 200px;
		height: auto;
		border: 9px solid white;
	}

	.arrow-container {
		transform: rotate(180deg);
	}

	.arrow-icon {
		width: 87px;
		height: 20px;
		filter: brightness(0) saturate(100%) invert(95%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(95%) contrast(92%);
	}

	.after-image-container {
		gap: 8px;
		align-items: center;
	}

	.after-image-wrapper {
		width: 100%;
		max-width: 327px;
		height: auto;
		border: 10px solid white;
	}

	/* 拡大アイコン（スマホ版） */
	.after-image-wrapper .ico_glass {
		width: 32px;
		height: 32px;
		right: 8px;
		bottom: 8px;
	}

	.after-image-wrapper .ico_glass:before {
		width: 12px;
		height: 12px;
		top: 6px;
		left: 6px;
	}

	.after-image-wrapper .ico_glass:after {
		width: 5px;
		height: 2px;
		bottom: 8px;
		right: 7px;
	}

	/* Magnific Popup スマホ対応 */
	.mfp-container {
		padding: 0 10px;
	}

	.mfp-img {
		max-width: 100%;
		max-height: 90vh;
		width: auto;
		height: auto;
		object-fit: contain;
	}

	.mfp-figure:after {
		display: none;
	}
}

/* ========================================
   物件データセクション
   ======================================== */

/* PC版スタイル */
.works-property-data {
	margin-top: 60px;
	padding: 0 0 180px 0;
	box-sizing: border-box;
}

/* タイトルラベル */
.property-data-title {
	position: relative;
	width: 100%;
	max-width: 498px;
	height: 40px;
	margin-bottom: 60px;
	overflow: hidden;
}

.works-detail-container .property-data-title {
	/* 画面左端に配置: コンテナのパディング分を打ち消す */
	margin-left: -16px;
}

/* 1440px以上の場合、コンテナの左余白も打ち消す */
@media (min-width: 1440px) {
	.works-detail-container .property-data-title {
		margin-left: calc(-1 * (16px + (100vw - 1440px) / 2));
	}
}

.property-data-title-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	clip-path: inset(0);
}

.property-data-title-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	margin: 0;
	padding: 0;
	font-size: clamp(16px, calc(0.129vw + 15.52px), 18px);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 2.16px;
	color: #ffffff;
	white-space: nowrap;
	z-index: 1;
}

/* 2カラムレイアウト */
.property-data-content {
	display: flex;
	gap: 28px;
	box-sizing: border-box;
}

/* 左側: データリスト */
.property-data-list {
	width: 376px;
	flex-shrink: 0;
}

.data-items {
	margin: 0;
	padding: 0;
	background: transparent;
	box-sizing: border-box;
}

.data-item {
	display: flex;
	align-items: flex-start;
	border-top: 1px solid #c8102e;
	padding: 8px 0 6px;
	box-sizing: border-box;
}

.data-item:first-child {
	border-top: 1px solid #c8102e;
}

.data-item:last-child {
	border-bottom: 1px solid #c8102e;
}

.data-term {
	width: 103px;
	flex-shrink: 0;
	padding: 8px 12px;
	font-size: 14px;
	font-weight: 700;
	color: #191a19;
	line-height: 1.4;
	letter-spacing: 0.56px;
	margin: 0;
	box-sizing: border-box;
}

.data-details {
	flex: 1;
	padding: 8px 12px;
	font-size: clamp(14px, calc(0.129vw + 13.52px), 16px);
	font-weight: 400;
	color: #191a19;
	line-height: 1.4;
	letter-spacing: 0.64px;
	margin: 0;
	box-sizing: border-box;
}

/* 右側: 担当店舗・コメント */
.property-data-right {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 36px;
}

/* 担当店舗 */
.property-showroom {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 0 24px;
	box-sizing: border-box;
}

.showroom-image {
	width: 100%;
	max-width: 327px;
	overflow: hidden;
}

.showroom-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.showroom-name {
	font-size: clamp(14px, calc(0.129vw + 13.52px), 16px);
	font-weight: 400;
	color: #191a19;
	line-height: 2;
	letter-spacing: 0.64px;
	margin: 0;
	padding: 0 4px;
}

/* セクションタイトル（H6） */
.property-section-title {
	font-size: 17px;
	font-weight: 600;
	color: #191a19;
	line-height: 1.4;
	margin: 0;
	padding: 0 4px;
	display: flex;
	align-items: center;
	gap: 6px;
}

/* アイコン付き見出し */

/* コメントセクション */
.property-comment-section {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 0 24px;
	box-sizing: border-box;
}

.property-comment-text {
	font-size: 14px;
	font-weight: 400;
	color: #191a19;
	line-height: 2;
	letter-spacing: 0.56px;
	margin: 0;
}

/* スマホ版スタイル (767px以下) */
@media (max-width: 767px) {
	.works-property-data {
		padding: 0;
		margin-bottom: 40px;
	}

	.property-data-title {
		max-width: 262px;
		margin-bottom: 21px;
	}

	.property-data-title-text {
		left: 16px;
		transform: translateY(-50%);
		letter-spacing: 1.92px;
	}

	.property-data-content {
		flex-direction: column;
		padding: 0;
		gap: 28px;
	}

	.property-data-list {
		width: 100%;
	}

	.data-items {
		padding: 0;
	}

	.property-showroom {
		padding: 0;
	}

	.property-comment-section {
		padding: 0;
	}



	.showroom-image {
		max-width: 100%;
		height: auto;
		aspect-ratio: 327 / 239;
	}
}

/* ========================================
   シミュレーションボタン
   Figma node-id: 284-11446
   ======================================== */

.simulation-button-wrapper {
	padding: 0 24px;
	margin-top: 28px;
	box-sizing: border-box;
}

.simulation-button {
	position: relative;
	display: flex;
	align-items: center;
	width: 328px;
	height: 94px;
	border-radius: 47px;
	background-color: #2CAC6E;
	box-shadow: 3px 3px 0px 0px #238a58;
	text-decoration: none;
	overflow: visible;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	box-sizing: border-box;
}

.simulation-button:hover {
	transform: translateY(2px);
	box-shadow: 1px 1px 0px 0px #238a58;
}

/* 女性の画像 */
.simulation-woman-image {
	position: absolute;
	left: 0;
	top: 0;
	width: 72px;
	height: 94px;
	overflow: hidden;
	border-radius: 47px 0 0 47px;
	z-index: 1;
}

.simulation-woman {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

/* メインコンテンツエリア */
.simulation-button-content {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-left: 72px;
	box-sizing: border-box;
}

/* 「この事例で」バッジ */
.simulation-button-badge {
	position: absolute;
	left: 85px;
	top: 8px;
	background-color: #ffffff;
	padding: 2px 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 2px;
}

.badge-text-main {
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.78px;
	color: #e7141a;
	white-space: nowrap;
}

/* メインテキスト */
.simulation-button-text {
	position: absolute;
	left: 83px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	gap: 2px;
	z-index: 2;
	margin-top: 12px;
}

.simulation-button-line1,
.simulation-button-line2 {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.18;
	color: #ffffff;
	white-space: nowrap;
}

/* 「無料です♪」画像 */
.simulation-button-free {
	position: absolute;
	right: 12px;
	top: 12px;
}

.free-badge-image {
	display: block;
	height: auto;
	max-width: 78px;
	width: auto;
}

/* スマホ版 */
@media (max-width: 767px) {
	.simulation-button-wrapper {
		padding: 0;
	}

	.simulation-button {
		width: 100%;
		max-width: 328px;
		margin: 0 auto;
	}
}
