@charset "UTF-8";
/*
Theme Name: yamashita_voice
Author: LeadDesign
Description: All
*/
.voices {
	border-bottom: 1px solid #313131;
	margin: 0 0 30px 0;
	padding: 0 0 36px 0;
}
.voices .voices_container {
	display:-webkit-flex;
	display:flex;
}
.voices .voices_container .voices_image {
	width: 256px;
}
.voices .voices_container .voices_info {
	width: calc(100% - 256px);
	padding: 0 0 0 20px;
}
.voices .voices_container .voices_image img {
	height: 250px;
	width: 250px;
	object-fit: cover;
	object-position: center center;
	font-family: 'object-fit: cover; object-position: bottom;';
	box-shadow: 6px 6px #cdc294;
}
.voices .voices_container .voices_info h4 {
	font-size:  16px;
	padding: 20px 0 10px 0;
	margin: 15px 0 0 0;
	position:  relative;
}
.voices .voices_container .voices_info h4:before {
	content: '';
	width: 30px;
	height: 3px;
	background-color: #80af3e;
	display: block;
	position: absolute;
	left: 0;
	top: -6px;
}
.voices .voices_container .voices_info span {
	display: block;
	font-size: 13px;
	color: #aaaaaa;
	font-weight: 100;
	padding: 0 0 10px 0;
}
.voices .voices_container .voices_info p {
	font-size: 15px;
	padding: 0 0 20px 0;
}
.voices .voices_container .voices_info a {
	width: 180px;
	font-size: 14px;
	font-weight: 300;
	padding: 3px 15px 3px 15px;
	text-align: center;
	background-color: #fff;
}
.voices .voices_container .voices_info a:after {
	content: ">";
	padding: 0 0 0 10px;
}
/* お客様の声詳細ページ */
.voices_child {
	padding: 0 0 30px 0;
}
.voices_child .voices_container {
	display: -webkit-flex;
	display: flex;
	align-items: center;
	border: 1px solid #313131;
	box-shadow: 6px 6px #cdc294;
	margin: 0 0 6px 0;
}
.voices_child .voices_container .voices_image {
	width: 300px;
}
.voices_child .voices_container .voices_info {
	width: calc(100% - 306px);
	padding: 0 20px 0 20px;
}
.voices_child .voices_container .voices_info h4 {
	font-size:  16px;
	padding: 10px 0 10px 0;
}
.voices_child .voices_container .voices_info span {
	display: block;
	font-size: 13px;
	color: #aaaaaa;
	font-weight: 100;
	padding: 0 0 0 0;
}
.voices_child .voices_container .voices_info p {
	font-size: 15px;
	padding: 0 0 0 0;
}
.voices_qa {
	padding: 0 0 20px 0;
	display: -webkit-flex;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}
.voices_qa .voices_qa_info {
	width: calc(100% - 300px);
}
.voices_qa .voices_qa_image {
	width: 300px;
}
.voices_qa .voices_qa_image img {
	height: 150px;
	width: 300px;
	object-fit: cover;
	object-position: center center;
	font-family: 'object-fit: cover; object-position: bottom;';
	box-shadow: 6px 6px #cdc294;
}
.voices_qa h5 {
	font-size:  16px;
	padding: 10px 0 10px 0;
	margin: 30px 0 0 0;
	position:  relative;
}
.voices_qa h5:before {
	content: '';
	width: 30px;
	height: 3px;
	background-color: #80af3e;
	display: block;
	position: absolute;
	left: 0;
	top: -6px;
}
.voices_qa p {
	font-size: 14px;
	line-height: 2;
	padding: 0 20px 0 0;
}
@media screen and (max-width:750px) {
	.voices {
		margin: 0 0 20px 0;
		padding: 0 0 20px 0;
	}
	.voices .voices_container {
		flex-wrap: wrap;
	}
	.voices .voices_container .voices_image {
		width: 100%;
		padding: 0 0 0 0;
	}
	.voices .voices_container .voices_info {
		width: 100%;
		padding: 0 0 0 0;
	}
	.voices .voices_container .voices_image img {
		height: 250px;
		width: calc(100% - 6px);
	}
	.voices .voices_container .voices_info h4 {
		font-size:  15px;
		padding: 15px 0 10px 0;
		margin: 30px 0 0 0;
	}
	.voices .voices_container .voices_info p {
		font-size: 13px;
		line-height: 2;
	}
	.voices .voices_container .voices_info a {
		margin: 0 auto;
		width: 160px;
		font-size: 13px;
		padding: 2px 15px 2px 15px;
	}
	.voices .voices_container .voices_info a:after {
		padding: 0 0 0 8px;
	}
	/* お客様の声詳細ページ */
	.voices_child {
		padding: 0 0 20px 0;
	}
	.voices_child .voices_container {
		flex-wrap: wrap;
	}
	.voices_child .voices_container .voices_image {
		width: 100%;
	}
	.voices_child .voices_container .voices_image img {
		height: 250px;
		width: 100%;
		object-fit: cover;
		object-position: center center;
		font-family: 'object-fit: cover; object-position: bottom;';
	}
	.voices_child .voices_container .voices_info {
		width: 100%;
		padding: 20px;
	}
	.voices_child .voices_container .voices_info h4 {
		font-size:  15px;
	}
	.voices_child .voices_container .voices_info span {
		font-size: 12px;
	}
	.voices_child .voices_container .voices_info p {
		font-size: 13px;
		line-height: 2;
	}
	.voices_qa .voices_qa_info {
		width: 100%;
		order: 1;
	}
	.voices_qa .voices_qa_image {
		width: calc(100% - 6px);
		order: 2;
		padding: 20px 0 0 0;
	}
	.voices_qa h5 {
		font-size:  15px;
	}
	.voices_qa p {
		font-size: 13px;
		padding: 0;
	}
}