/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jan 21 2025 | 05:15:54 */
/* 特集ブロックに .esx-list-style-b6-frame	 を追加 */

/* .esx-list-style-b6-frame */
.esx-list-style-b6-frame {
	padding: 20px 0;
}
.esx-list-style-b6-frame .es-list-item a,
.esx-list-style-b6-frame figure.wp-block-image {
	position: relative;
	border: 8px solid var(--b-main-color);
	border-radius: 4px;
	box-shadow: var(--b-box-shadow-gray-4);
	transition: .35s ;
}
.esx-list-style-b6-frame .es-list-item a:hover, 
.esx-list-style-b6-frame figure.wp-block-image:hover {
	box-shadow: var(--b-box-shadow-off);
	transform: translate3d(0, 4px, 0);
	cursor: pointer;
}
.esx-list-style-b6-frame a .es-list-figure::after, 
.esx-list-style-b6-frame .wp-block-image img::after {
	position: absolute;
	content: ' ';
	display: block;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	transition: .35s ;
}
.esx-list-style-b6-frame .es-list .es-list-content h3.wrap,
.esx-list-style-b6-frame .uagb-columns__inner-wrap .wp-block-image figcaption {
	width: 100%;
	margin: 0 auto;
	padding: 8px 0 0;
	text-align: center;
	font-size: 1.2rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	color: #fff;
	background-color:  var(--b-main-color);
}
.esx-list-style-b6-frame .es-list a:hover img, 
.esx-list-style-b6-frame .wp-block-image:hover img {
	transform: none;
}
.esx-list-style-b6-frame .es-list a:hover h3.wrap, 
.esx-list-style-b6-frame .wp-block-image:hover figcaption {
	text-decoration: none;
}
.esx-list-style-b6-frame .wp-block-image:hover {
	opacity: 0.7;
}
.esx-list-style-b6-frame .es-list a:hover .es-list-figure::after,
.esx-list-style-b6-frame .wp-block-image:hover img::after {
	background-color: rgba(0,0,0,0.2);
}
@media (max-width: 480px) {
	.esx-list-style-b6-frame {
		padding: 20px 10px !important;
	}
	.esx-list-style-b6-frame .es-list .es-list-content h3.wrap, 
	.esx-list-style-b6-frame .uagb-columns__inner-wrap .wp-block-image figcaption {
		font-size: 0.8rem;
	}
}

/* 特集画像がPC3列時、SP2列に */
@media (max-width: 480px) {
	.esx-list-style-b6-frame .has-3-columns>* {
		width: calc(50% - 10px);
	}
	.esx-list-style-b6-frame .has-3-columns>*:not(:nth-child(3n+1)) {
		margin: 0 0 20px 0;
	}
	.esx-list-style-b6-frame .has-3-columns {
		justify-content: space-between;
	}
}


/* カラムブロックをSP2列に */
@media (max-width: 480px) {
	.esx-list-style-b6-frame .uagb-columns__inner-wrap {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	.esx-list-style-b6-frame .uagb-columns__inner-wrap .wp-block-uagb-column {
		width: calc(50% - 10px) !important;
	}
	.esx-list-style-b6-frame .uagb-columns__inner-wrap .wp-block-uagb-column .uagb-column__inner-wrap {
		padding: 0;
	}
	.esx-list-style-b6-frame .uagb-columns__inner-wrap .wp-block-uagb-column {
		margin: 0 0 14px 0;
	}
	.esx-list-style-b6-frame .uagb-columns__inner-wrap .wp-block-uagb-column .uagb-column__inner-wrap figure {
		margin:  0 0 6px 0;
	}
}