@charset "UTF-8";

/***************************** 
*
* baserCMSブログ、before & After
*
**************************** */

	div, th, td, form, a, p , ul,ol,li{
		box-sizing:border-box;
	}
	figure{
		margin:0;
	}
	img {
		max-width:100%;
		height:auto;
	}
	div{
		_outline:1px dotted #CCCCCC;
		
	}

.img-caption{
	position:relative;
	top:40px;
	z-index:1;
}

.case-before .imgbox-cover,
.case-after .imgbox-cover{
	border-radius:5px;
	padding:10px;
	overflow:hidden;
}
.case-before .imgbox-cover img,
.case-after .imgbox-cover img{
	border-radius:5px;
}





/* アスペクト比正方形 */

.slide {
	position:relative;
	min-height:50px;
}

.slide::before{
	content:"";
	width:100%;
	padding-top:100%;
	box-sizing:content-box;
	display:block;
}

.slide > *{
	border-radius:5px;
	overflow:hidden;
	position:absolute;
	top:0;
	bottom:0;
	left:10px;
	right:0;
	width:cacl(100% - 10px);
	margin:auto;
	height:100%;
	text-align:center;
}
.slide-inside img{
	width:100%;
	height:100%;
	object-fit: cover;
}


	.case-single .case-title{
		margin-bottom:20px;
	}
	.case-before ,
	.case-after {
		text-align:center;
		margin-bottom:20px;
	}


.blog-case .img-caption{
	font-size:1.8rem;
	text-align:center;
	margin-bottom:10px;
}


.blog-case .img-caption span{
	display:inline-block;
	background:#000000;
	border-radius:20px;
	padding:3px 30px;
	text-align:center;
	font-weight:bold;
	color:#FFFFFF;
}
	
.case-index .case-post{
	border-bottom:3px solid #CCCCCC;
}
.case-index .case-post .post-before-after{
	border-bottom:3px solid #CCCCCC;
}

.case-index .post-content-comment{
	display:none;
}

.case-index .post-more{
	text-align:right;
}

.case-index .post-more a {
	display:inline-block;
	background:#000000;
	color:#FFFFFF;
	padding:3px 10px;
	
}
.case-index hr {
	display:none;
}
	

@media screen and (max-width:768px){
	.img-caption{
		top:20px;
	}
.case-before .imgbox-cover,
.case-after .imgbox-cover{
	border-radius:5px;
	padding:0px;
	overflow:hidden;
}
	
	
.blog-case .img-caption{
	font-size:1.6rem;
	text-align:center;
	margin-bottom:10px;
	line-height:1.3;
}


.blog-case .img-caption span{
	display:inline-block;
	background:#000000;
	border-radius:20px;
	padding:3px 10px;
	text-align:center;
	font-weight:bold;
	color:#FFFFFF;
}
	
}