@charset "UTF-8";

/* リセット */
code { display: inline !important; margin: 0 !important; }

/* ------------------------------ 投稿ページ START ------------------------------ */
/* サイドバー */
.widget-title.sub-section-title { padding: 0 5px 5px; color: var(--color-main); font-size: 1rem; line-height: 1.2; }
:is(.post-type-post, .archive, .single) .widget_nav_menu>ul li a { padding: 0.85em 1.5em; border: 1px solid #ccc; border-radius: 5px; background-color: #fff; color: #333; transition: all 0.3s; }
:is(.post-type-post, .archive, .single) .widget_nav_menu>ul li a:hover { color: var(--color-main); }
:is(.post-type-post, .archive, .single) .widget_nav_menu>ul li>ul.children { margin-left: 1.5em; }
:is(.post-type-post, .archive, .single) .widget_nav_menu>ul li.current-cat>a { border-color: var(--color-main); background: var(--color-main); color: #fff; }

/* アーカイブページ */
:is(.blog, .archive) .main-section { margin-bottom: 30px; }
.archive-header { margin-bottom: var(--space-m); }
.vk_posts-layout-card-noborder { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; gap: 30px; margin: 0; }
.card.card-noborder { margin: 0; width: 100% !important; }
.card-noborder .vk_post_imgOuter { aspect-ratio: 3/2; border-color: var(--color-border); background-color: var(--color-base); background-image: none !important; background-size: contain; background-repeat: no-repeat; transition: all 0.3s; overflow: hidden; }
.card-noborder .vk_post_imgOuter:before { display: none; }
.vk_post_imgOuter>a::after { display: none; }
.card-noborder .vk_post_imgOuter_singleTermLabel { top: 5px; right: 5px; }
.card-noborder .vk_post_imgOuter_img { position: static; height: 100%; object-fit: contain; border-radius: 0; transition: all 0.3s; }
.card-noborder:hover .vk_post_imgOuter_img { transform: scale(1.1); }
.card-noborder .card-body { padding-top: 15px; }
.vk_post .vk_post_title { font-size: clamp(1.125rem, 1.08rem + 0.23vw, 1.25rem); }
.vk_post .vk_post_date i { display: none; }
.pagination { margin-top: var(--space-m); }

/* シングルページ */
.single .entry-header { margin-bottom: var(--space-m); }
.single .entry-header h1 { margin: 0 0 10px; }
.entry-meta { color: var(--vk-color-text-light); font-size: 1rem; }
.entry-meta-item-date i { display: none; }
.entry-meta-data-list dl { margin: 0; }
.single .site-body .entry-footer { margin: var(--space-m) 0 0; }

.single .entry-body .single-main-thumb {
	margin-bottom: var(--space-s);
	border: 1px solid var(--color-border);
}
.single .entry-body .single-main-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.single .entry-body p { line-height: 1.8; }
.single .entry-body ul {
	margin: 0;
}
.single .entry-body :is(ul,ol) li:not(:last-child) {
	margin-bottom: 0.8lh;
}
.single .entry-body table td:first-child {
	width: 30% !important;
	border-right: none;
	border-left: none;
	background: var(--color-base);
	color: var(--color-main);
	font-weight: 700;
	text-align: left;
}
.single .entry-body table td {
	border-right: none;
	border-left: none;
}
.single .entry-body table td a {
	text-decoration: underline !important;
}
/* ------------------------------ 投稿ページ END ------------------------------ */


/* ------------------------------ 施工実績 START ------------------------------ */
/* アーカイブ */
.post-type-works .archive-header-title {
	color: var(--color-main);
}
.post-type-works .card-noborder .vk_post_imgOuter {
	aspect-ratio: 4/3;
}
.post-type-works .card-noborder .vk_post_imgOuter_img {
	object-fit: cover;
}
.post-type-works .card-noborder .vk_post_imgOuter_singleTermLabel {
	display: none;
}
.post-type-works .vk_post_taxonomies {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 5px 0 0;
}
.post-type-works .vk_post_taxonomy_title {
	display: none;
}
.post-type-works .vk_post_taxonomy_terms {
	margin: 0;
	padding: 0;
	color: #fff;
}
.post-type-works .vk_post_taxonomy_terms a {
	transition: all 0.3s;
}
.post-type-works .vk_post_taxonomy-works-area .vk_post_taxonomy_terms a {
	color: var(--color-bk);
}
.post-type-works .vk_post_taxonomy-works-cat .vk_post_taxonomy_terms a {
	display: inline-block;
	padding: 2px 12px;
	border-radius: 999px;
	background: var(--term-color);
	color: #fff;
}

/* シングル */
.post-type-cases .gallery:not(.gallery-columns-1) .gallery-item img {
	aspect-ratio: 4/3;
}
.post-type-works.single .entry-header {
	display: inline-block;
	margin-bottom: 10px;
}
.post-type-works.single .entry-header h1 {
	margin: 0;
	font-size: clamp(1.75rem, 1.386rem + 1.82vw, 2.75rem);
	line-height: 1.4;
}
.post-type-works.single .gallery:not(.gallery-columns-1) .gallery-item img {
	aspect-ratio: 4/3;
}
.post-type-works.single  .site-body .entry-footer {
	display: none;
}
.post-type-works.single .entry-meta-data-list dd a {
	margin: 0;
}
/* ------------------------------ 施工実績 END ------------------------------ */


/* ------------------------------ レスポンシブ（992px以下） START ------------------------------ */
@media (max-width: 992px) {
	/* 投稿 */
	.single .main-section { margin-bottom: var(--space-l); }
}
/* ------------------------------ レスポンシブ（992px以下） END ------------------------------ */


/* ------------------------------ レスポンシブ（768px以下） START ------------------------------ */
@media (max-width: 768px) {
	/* 投稿 */
	.vk_posts-layout-card-noborder {
		gap: 30px 20px;
	}
}
/* ------------------------------ レスポンシブ（768px以下） END ------------------------------ */


/* ------------------------------ レスポンシブ（576px以下） START ------------------------------ */
@media (max-width: 576px) {
	/* 投稿 */
	.vk_posts-layout-card-noborder {
		grid-template-columns: repeat(1, 1fr);
	}
}
/* ------------------------------ レスポンシブ（576px以下） END ------------------------------ */