/* 施工実績（Works）  
--------------------------------------------------*/
/* レイアウト */
.worksContent {
	padding-top: 10px;
}
.single-works.no-sidebar .sidebar,
.post-type-archive-works .sidebar,
.tax-works_category .sidebar {
	display: none !important; /* 既にimportantがついているため */
}
.single-works.no-sidebar .content-in.wrap .main,
.post-type-archive-works .content-in.wrap .main,
.tax-works_category .content-in.wrap .main {
	width: 100%;
}

/* 施工画像 */
.worksContentImages {
	display: flex;
	gap: 50px;
}
@media screen and (max-width: 768px) {
	.worksContentImages {
		flex-direction: column;
		gap: 80px;
	}
}
.worksContentImages_before {
	position: relative;
	width: calc(35% - 25px);
}
.worksContentImages_after {
	width: calc(65% - 25px);
}
@media screen and (max-width: 768px) {
	.worksContentImages_before {
		width: 100%;
	}
	.worksContentImages_after {
		width: 100%;
	}
}
.worksContentImages_label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
    font-size: 16px;
    color: #fff;
    white-space: nowrap;
    min-width: 80px;
    height: 25px;
    padding-bottom: .1em;
    border-radius: 5px;
}
.worksContentImages_before .worksContentImages_label {
	background-color: #333333;
}
.worksContentImages_after .worksContentImages_label {
	background-color: #f7ab00;
}
.worksContentImages picture {
	position: relative;
	display: block;
	width: 100%;
	margin-top: 15px;
}
@media screen and (max-width: 768px) {
	/* sp時の矢印の基準値コンテナを変更 */
	.worksContentImages picture {
		position: static;
	}
	.worksContentImages_before picture {
		width: 60%;
	}
}
.worksContentImages img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	aspect-ratio: 4 / 3;
}
.worksContentImages_before picture::after {
	display: block;
	content: '';
	position: absolute;
	bottom: 0;
	right: 0;
	background-image: url("../images/work/work_arrow.png");
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	transform: translateX(25px) translateY(175%);
	width: calc(256px / 3);
	height: calc(149px / 3);
}
@media screen and (max-width: 768px) {
	.worksContentImages_before picture::after {
		right: 0;
		left: 50%;
		transform: translateX(-50%) translateY(170%) rotate(90deg) scale(.8, -.8);
	}
}

/* 施工情報 */
.worksContentInfo {
	margin-top: 60px;
	max-width: 680px;
	margin-left: auto;
	margin-right: auto;
}
@media screen and (max-width: 768px) {
	.worksContentInfo {
		margin-top: 30px;
		max-width: 100%;
		width: 100%;
	}
}
.worksTable {
	border-collapse: separate;
	border-radius: 8px;
	border: 0;
	padding: 5px 20px 10px;
	overflow: hidden;
	margin-top: 15px;
	margin-bottom: 0;
	background-color: #f7f7f7;
}
.worksTable * {
	border: 0;
}
.worksTable tr {
	background-color: transparent !important;
}
.worksTable th,
.worksTable td {
	background-color: transparent !important;
	padding: 5px 0;
	border-bottom: solid 1px #d6d6d6;
	vertical-align: middle;
	font-size: 14px;
}
@media screen and (max-width: 768px) {
	.worksTable th,
	.worksTable td {
		font-size: 11px;
	}
}
.worksTable th {
	width: 130px;
	padding-right: 5px;
}

@media screen and (max-width: 768px) {
	.worksTable th {
		width: 55px;
	}
}

/* その他の施工実績 */
.worksOtherPosts {
	margin-top: 120px;
	margin-bottom: 120px;
}
@media screen and (max-width: 768px) {
	.worksOtherPosts {
		margin-top: 60px;
		margin-bottom: 60px;
	}
}
.worksOtherPosts .worksOtherPostsTtl {
	text-align: center;
	color: #0099D9;
	border: 0 !important;
	font-size: 28px;
	padding-left: 0;
	margin-bottom: 60px;
}
@media screen and (max-width: 768px) {
	.worksOtherPosts .worksOtherPostsTtl {
		font-size: 20px;
		margin-bottom: 20px;
	}
}
.worksPostSliderItem a {
	display: block;
}
.worksPostSliderItem a:hover {
	opacity: 0.8;
}
@media screen and (max-width: 768px) {
	.worksPostSliderItem a:hover {
		opacity: 1;
	}
}
.worksPostPicList {
	display: flex;
	gap: 40px;
	padding: 0 !important;
	list-style: none;
}
.worksPostPicList > li {
	flex-grow: 0;
	flex-shrink: 0;
	width: calc((100% - 120px) / 4);
	margin: 0 !important;
}
@media screen and (max-width: 768px) {
	.worksPostPicList {
		gap: 20px;
	}
	.worksPostPicList > li {
		width: calc((100% - 40px) / 3);
	}
}
.worksPostSlider ul li {
	margin: 0;
}
.worksPostPicList img,
.worksPostSlider img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	aspect-ratio: 4 / 3;
}
.worksPostSlider .splide__pagination {
	bottom: -30px;
	transform: translateY(100%);
}
.worksPostSlider .splide__pagination__page {
	margin: 10px;
}
@media screen and (max-width: 768px) {
	.worksPostSlider .splide__pagination {
		bottom: -20px;
	}
	.worksPostSlider .splide__pagination__page {
		margin: 7px;
	}
}
.worksPostSlider .splide__pagination__page.is-active {
	background-color: #0099D9;
	transform: scale(1.0);
}
.worksOtherPosts .btnWrap {
	margin-top: 120px;
}
.worksOtherPosts .btnWrap {
	max-width: 380px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
#worksOtherPosts.worksOtherPosts .btnWrap a.blue {
	position: relative;
	justify-content: center;
    background-color: #0099D9;
    border-radius: 30px;
    box-shadow: 0 6px 0 0 #004EA2;
    font-size: 18px;
    height: 60px;
}
#worksOtherPosts.worksOtherPosts .btnWrap a.blue i {
	display: none;
}
#worksOtherPosts.worksOtherPosts .btnWrap a.blue:after {
	font-family: 'Font Awesome 5 Free';
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
    content: '\f054';
    font-size: 0.9em;
    font-weight: 900;
}

/* Works一覧ページ */
.worksArchiveNavTtl {
	font-size: 16px;
	padding-bottom: 1.0em;
	border-bottom: solid 1px #333;
	font-weight: 600;
}
.worksArchiveNavList {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	gap: 15px 40px;
	padding: 20px;
	margin: 0;
	margin-bottom: 30px;
}

.worksArchiveNavList li {
	flex-grow: 0;
	flex-shrink: 0;
	width: calc((100% - 120px) / 4);
}

@media screen and (max-width: 768px) {
	.worksArchiveNavList {
		gap: 15px 20px;
		padding: 20px 10px;
		margin: 0;
		margin-bottom: 20px;
	}
	.worksArchiveNavList li {
		width: calc((100% - 20px) / 2);
	}
}

.worksArchiveNavList li a {
	font-size: 16px;
	position: relative;
	color: #333;
	font-weight: 600;
	padding-left: 1.5em;
}
.worksArchiveNavList li a:hover {
	opacity: 0.8;
}
@media screen and (max-width: 768px) {
	.worksArchiveNavList li a:hover {
		opacity: 1;
	}
}
.worksArchiveNavList li a::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	border-top: solid 7px transparent;
	border-bottom: solid 7px transparent;
	border-right: solid 10px transparent;
	border-left: solid 10px #0099D9;
	transform: translateY(-50%);
}
.worksArchiveList {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	list-style: none;
	padding: 0;
}
@media screen and (max-width: 600px) {
	.worksArchiveList {
		display: flex;
		flex-direction: column;
	}
}
@media screen and (max-width: 1023px) {
	.worksArchiveList {
		gap: 30px;
	}
}
.worksArchiveItem {
	flex-grow: 0;
	flex-shrink: 0;
	width: calc((100% - 80px) / 3);
}
@media screen and (max-width: 600px) {
	.worksArchiveItem {
		width: 100%;
	}
}
@media screen and (min-width: 601px) and (max-width: 1023px) {
    .worksArchiveItem {
        width: calc((100% - 60px) / 3);
    }
}
.worksArchiveItemLink {
	display: block;
}
@media screen and (min-width: 769px) {
	.worksArchiveItemLink:hover {
	opacity: 0.8;
}
	.worksArchiveItemLink:hover img {
		transform: scale(1.05);
	}
}
.worksArchiveItemImage picture {
	overflow: hidden;
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
}
.worksArchiveItemImage img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 4 / 3;
	transition: transform 0.2s ease-in-out;
}
.worksArchiveItemTtl {
	font-size: 16px;
	color: #333;
	font-weight: 600;
	margin-top: 15px;
}
.worksArchiveItemCats {
	margin-top: 10px;
}
.worksArchiveItemCats ul {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 5px;
}
.worksArchiveItemCats ul li {
	background-color: #0062B1;
	color: #fff;
	font-size: 13px;
	border-radius: 4px;
	padding: .2em .6em .3em;
}
.worksArchivePagination {
	margin-top: 50px;
}
@media screen and (max-width: 600px) {
	.worksArchivePagination {
		margin-top: 30px;
	}
}