/*
Theme Name: Lightning Child
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/
/*改行:br*/
.pc {display: block;}
.sp {display: none;}
@media screen and (max-width: 667px) {
    .pc {display: none;}
    .sp {display: block;}
}
h2.title_h2 {
	font-size: 2.4rem;
	letter-spacing: -0.01em;
}
@media screen and (max-width: 667px) {
	h2.wp-block-heading.is-style-vk-heading-plain.vk-headding-key-visual.title_h2 {
		text-align: center;
		font-size: 2rem;
	}
}
/* Grid style */
.display-posts-listing.grid {
    display: grid;
    grid-gap: 20px;
}
 
.display-posts-listing.grid .title {
    display: block;
}
 
.display-posts-listing.grid img { 
    display: block; 
    max-width: 100%; 
    height: auto;
    margin-bottom: 10px;
}
 
@media (min-width: 600px) {
    .display-posts-listing.grid {
        grid-template-columns: repeat( 2, 1fr );
    }
}
 
@media (min-width: 1024px) {
    .display-posts-listing.grid {
        grid-template-columns: repeat( 4, 1fr );
    }
}
/* Grid style2 */
.display-posts-listing2.grid2 {
    display: grid;
    grid-gap: 12px;
}
 
.display-posts-listing2.grid2 .title {
    display: block;
}
 
.display-posts-listing2.grid2 img { 
    display: block; 
    max-width: 100%; 
    height: auto;
    margin-bottom: 10px;
}
 
@media (min-width: 600px) {
    .display-posts-listing2.grid2 {
        grid-template-columns: repeat( 2, 1fr );
    }
}
 
@media (min-width: 1024px) {
    .display-posts-listing2.grid2 {
        grid-template-columns: repeat( 2, 1fr );
    }
}
/*img*/
img {
	border: 1px solid rgba(0, 0, 0, .125);
}
a img,div.vk_post_imgOuter {
	transition: 0.2s;
	-webkit-transition: 0.2s;
}
a img:hover,div.vk_post_imgOuter:hover {
	opacity: 0.6;
}
img.attachment-medium.size-medium.wp-post-image {
    width: 100%;
	height: 150px;
    object-fit: cover;
}
.listing-item img, .wp-block-columns.box_4 img {
    max-height: auto;
}
@media screen and (max-width:667px) {
	.listing-item img, .wp-block-columns.box_4 img { max-height: 200px;}
	.listing-item { margin-bottom: 10px;}
	img.attachment-medium.size-medium.wp-post-image {
		height: auto;
	}
	figure.imgsize img {
    width: 100%;
	}
}
.mgb10 {
	margin-bottom:10px;
}
.site-header-logo.site-header-logo--scrolled--nav-center img {
    border: none;
}
/*TOP title*/
h3.titlepr_h3 {
    color: #0068b7;
    font-size: 16px;
    font-weight: normal;
}
h3.titlepr_h3 a {
	font-size:14px;
	color:#333;
	font-weight: 600;
}
div.top_pr p.pr_txt {
    margin-bottom:5px;
	font-size:12px;
	color:#808080;
}
p.top_titletxt {
    color: #828282;
    line-height: 1.4;
    font-size: 14px;
}
figure.cap_txt figcaption {
    font-size: 1.2rem;
    text-shadow: 0 0 5px white;
    padding: 0.3em 0.5em;
    background: -webkit-repeating-linear-gradient(-45deg, #cce7ff, #cce7ff 3px, #e9f4ff 3px, #e9f4ff 7px);
    background: repeating-linear-gradient(-45deg, #cce7ff, #cce7ff 3px, #e9f4ff 3px, #e9f4ff 7px);
    text-align: center;
}
@media screen and (max-width:667px) {
	h2.wp-block-heading {
		text-align: center;
        white-space: nowrap;
	}
}


/*TOP navi*/
nav#global-nav ul li a:hover {
    background-color: #0068b71a;
}
/*カテゴリーラベル*/
span.category-display {
    background-color: #d0ffcd;
    padding: 4px 7px;
    font-size: 12px;
    border-radius: 5px;
}
.listing-item a.title {
    padding-top: 5px;
}
/*経営者ブログ*/
.listing-item span.date {
    font-size: 0.75rem;
    color: gray;
}
a.title {
    color: #333;
    font-size: 14px;
    font-weight: 600;
}
/*表示順*/
.card-body {
display: flex;
flex-direction: column;
}

.vk_post .vk_post_title {
order: 2;
}

.vk_post .vk_post_date {
order: 1;
}
/*card*/
.card-body {
    padding: 0.5rem;
}
.vk_post_date.card-date.published {
    margin-bottom: 0.4rem;
}
/*ねりさぽらぼとは*/
#post-5312 p.mgb10 {
    margin-bottom: 5px;
}