@charset "UTF-8";

/*--基本--*/

.contents_related .wrapper_item{
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	align-content: flex-start;
	justify-content: flex-start;
}
.contents_related .inner_item{
	width: 49%;
	box-sizing: border-box;
	display: flex;
	align-items: stretch;
	justify-content: center;
	margin-bottom: 20px;
	border: 1px solid var(--i_border_color);
}
.contents_related .inner_item:nth-of-type(2n){
	margin-left: 2%;
}
.contents_related .inner_item:nth-last-child(1),
.contents_related .inner_item:nth-last-child(2):nth-of-type(2n-1){
	margin-bottom: 0;
}
.contents_related .inner_item a{
	transition: 0.3s ease-in-out;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 15px;
	box-sizing: border-box;
}
.contents_related .inner_item a:hover{
	opacity: 0.8;
	background: var(--i_sub2_color);
}
.contents_related .inner_item div.heading{
	margin-bottom: 0 !important;
}
.contents_related .inner_item_img{
	width: 120px;
	height: 120px;
	background-position: 50% 50%;
	background-size: 70% auto;
	background-repeat: no-repeat;
	box-sizing: border-box;
	background-color: var(--i_noimg_bg_color);
}
.contents_related .inner_item_img img{
	display: block;
	object-fit: cover;
	width: 100%;
	height: 100%;
}
.contents_related .inner_item_txt{
	padding: 0 0 0 20px;
	width: calc(100% - 120px);
	box-sizing: border-box;
}
.contents_related h3{
	display: block !important;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-size: 1.5rem;
	padding: 0 !important;
	margin-bottom: 0 !important;
}
.contents_related h3:before{
	display: none;
}
.contents_related p{
	padding-top: 10px;
	line-height: 1.5;
	word-break: break-all;
}

@media screen and (max-width: 1000px){
	.contents_related .inner_item_img{
		width: 100px;
		height: 100px;
	}
}
@media screen and (max-width: 600px){
	.contents_related .inner_item{
		width: 100%;
		margin-left: auto !important;
		float: none;
	}
	.contents_related .inner_item:nth-last-child(n+2){
		margin-bottom: 15px !important;
	}
	.contents_related .inner_item_txt{
		padding-left: 10px;
	}
	.contents_related .inner_item_txt p{
		padding-top: 5px;
	}
}