@charset "utf-8";

.mainimgTop {
	height: auto;
	background: none;
}
.mainimgTop h1 {
	padding: 60px 0 10px;
	background: none;
}
.mainimgTop h1 img {
	width: 65px;
	height: auto;
}

.contentsPage h1 {
	margin-bottom: 15px;
}


/* セレクト */
.select {
	text-align: center;
}
.select p {
	display: inline-block;
}
.select ul {
	font-size: 0;
	display: inline-block;
	margin-left: 20px;
}
.select ul li {
	min-width: 100px;
	font-size: 1.2rem;
	line-height: 25px;
	display: inline-block;
	margin: 0 7px;
	background: #F3F3F3;
}
.select ul li a {
	color: #666;
	display: block;
	text-decoration: none;
	background: #F3F3F3;
	-webkit-transition: 0.1s ease-in-out;
	-moz-transition: 0.1s ease-in-out;
	-o-transition: 0.1s ease-in-out;
	transition: 0.1s ease-in-out;
}
.select ul li a:hover,
.select ul li.select a {
	color: #fff;
	background: #000;
}

/* お客様の声 一覧 */
.contentsTop {
	width: 1260px;
	padding-bottom: 100px;
}
.voiceList > div {
	width: 390px;
	position: relative;
	float: left;
	text-align: center;
	margin: 0 12px 25px;
}
/* NEW */
.voiceList > div.new:before {
	font-family: 'Roboto' , "メイリオ",Meiryo,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
	font-style: italic;
	font-size: 1.4rem;
	line-height: 56px;
	text-align: center;
	color: #231815;
	content: "NEW";
	position: absolute;
	top: -23px;
	left: -15px;
	background: #fff;
	border: solid 1px #231815;
	width: 58px;
	height: 58px;
	-moz-border-radius: 60px;
	-webkit-border-radius: 60px;
	border-radius: 60px;
	box-shadow: 0 0 0 3px #fff;
	-webkit-box-shadow: 0 0 0 3px #fff;
	-moz-box-shadow: 0 0 0 3px #fff;
	z-index: 50;
}
/* 動画あり */
.voiceList > div.movie-i::after {
	content: "";
	display: block;
	bottom: 15px;
	right: 15px;
	position: absolute;
	z-index: 51;
	width: 42px;
	height: 36px;
	background: url(../img/icon_movie.svg) no-repeat 0 0 / cover;
}
/* トップ一覧＆その他のお客様 */
.voiceBox {
	width: 804px;
	margin: 0 auto;
}
.voiceBox .cms_image {
	width: 390px;
	position: relative;
}
.voiceBox .cms_image .cms_caption_b,
.voiceList > div > div {
	max-width: 390px;
	font-size: 1.7rem;
	font-weight: bold;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	text-align: center;
	background: rgba(0,0,0,.4);
	-webkit-transition: 0.1s ease-in-out;
	-moz-transition: 0.1s ease-in-out;
	-o-transition: 0.1s ease-in-out;
	transition: 0.1s ease-in-out;
}
.voiceBox .cms_image .cms_caption_b:hover,
.voiceList > div > div:hover {
	background: rgba(0,0,0,.2);
}
.voiceBox .cms_image .cms_caption_b a,
.voiceList > div div a {
	width: 100%;
	height: 100%;
	color: #fff;
	display: table;
	text-decoration: none;
}
.voiceBox .cms_image .cms_caption_b a div,
.voiceList > div > div div {
	display: table-cell;
	padding: 30px;
	vertical-align: middle;
	position: relative;
}
.voiceBox .cms_image .cms_caption_b a div p,
.voiceList > div > div div p {
	font-size: 2.1rem;
	font-weight: bold;
}
.cate01 p,
.cate02 p {
	font-size: 1.7rem;
	font-weight: bold;
}
.cate01 span,
.cate02 span,
.voiceBlock li .infoBox p span {
	font-size: 1.4rem;
	font-weight: bold;
	line-height: 24px;
	color: #fff;
	min-width: 88px;
	display: inline-block;
	position: relative;
	margin: 12px auto 0;
	padding: 0 15px;
	background: #AB8A61;
}
.cate01 span:before,
.cate02 span:before,
.voiceBlock li .infoBox p span:before {
	content: "";
	width: 20px;
	height: 20px;
	border-radius: 20px;
	position: absolute;
	top: 2px;
	left: -5px;
	background: #AB8A61;
}
.cate01 span:after,
.cate02 span:after,
.voiceBlock li .infoBox p span:after {
	content: "";
	width: 20px;
	height: 20px;
	border-radius: 20px;
	position: absolute;
	top: 2px;
	right: -5px;
	background: #AB8A61;
}
.cate02 span,
.cate02 span:before,
.cate02 span:after,
.voiceBlock li .infoBox p span,
.voiceBlock li .infoBox p span:before,
.voiceBlock li .infoBox p span:after {
	background: #758A3B !important;
}
.voiceBox .cms_image.movie-i::after {
	content: "";
	display: block;
	position: absolute;
	bottom: 15px;
	right: 15px;
	width: 42px;
	height: 36px;
	background: url(../img/icon_movie.svg) no-repeat 0 0 / cover;
}

/* ご家族のご紹介 */
.family {
	width: 880px;
	margin-left: auto;
	margin-right: auto;
	padding: 20px;
	border: solid 5px #F3F3F3;
}
.family div {
	width: 518px;
	margin-bottom: 0;
}
.family .cms_image {
	width: 270px;
}
.family .cms_image img {
	border-radius: 5px;
}
.family p {
	font-size: 1.8rem;
	font-weight: bold;
	padding-left: 45px;
	border-bottom: dotted 1px #A9ACAD;
	padding-bottom: 13px;
	margin-bottom: 20px;
	position: relative;
}
.family p:before {
	content: "";
	border: none;
	border-radius: 0;
	left: 0;
	top: 0;
	position: absolute;
	width: 56px;
	height: 35px;
}
.family p:before {
	background: url(../img/office/house_icon.png) no-repeat 5px 0 / 33px auto;
}


/* 担当者メッセージ */
.message {
	background: #F3F3F3;
	padding: 25px 45px;
}
.message h2 {
	font-family: "Yu Gothic",YuGothic,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
	font-size: 2rem;
	padding-left: 40px;
	padding-top: 5px;
	background: url(../img/voice/message_icon.png) no-repeat 0 0 / 28px 36px;
	border-bottom: solid 1px #BCBCBC;
}
.message h2:before {
	display: none;
}
.message .face {
	width: 175px;
	margin-bottom: 0;
}
.message .comment {
	width: 925px;
}
.message .comment p {
	font-size: 1.7rem;
	line-height: 1.2;
	margin-bottom: 15px;
}


/* その他のお客様←→ */
.voiceBox .cms_image.cms_fl .cms_caption_b a:before,
.voiceBox .cms_image.cms_fr .cms_caption_b a:before {
	content: " ";
	width: 22px;
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	z-index: 1;
}
.voiceBox .cms_image.cms_fl .cms_caption_b a:before {
	left: 20px;
	background: url(../img/voice/slide_prev.png) no-repeat 0 center / 22px 18px ;
}
.voiceBox .cms_image.cms_fr .cms_caption_b a:before {
	right: 20px;
	background: url(../img/voice/slide_next.png) no-repeat 0 center / 22px 18px ;
}


/* 過去のお客様の声一覧 */
.voiceBlock ul:after {
	content: "";
	clear: both;
	display: block;
}
.voiceBlock li {
	font-size: 1.9rem;
	font-weight: bold;
	width: 597px;
	float: left;
	display: table;
	margin-bottom: 26px;
	background: #F3F3F3;
}
.voiceBlock li:not(:nth-child(2n)) {
	margin-right: 26px;
}
.voiceBlock li a {
	display: table;
	color: #333;
	text-decoration: none;
}
.voiceBlock li div {
	display: table-cell;
	vertical-align: middle;
}
.voiceBlock li .infoBox {
	width: 332px;
	padding: 10px 25px;
}
.voiceBlock li .infoBox p {
	font-size: 1.5rem;
	margin-bottom: 14px;
}
.voiceBlock li .infoBox p span {
	margin-right: 20px;
	margin-top: 0;
}

/* 過去のお客様の声へのリンクボタン */
.btn_voice a {
	width: 496px;
	font-weight: bold;
	color: #fff;
	text-decoration: none;
	display: table;
	margin: auto;
	border-radius: 3px;
	overflow: hidden;
	background: #758A3B url(../img/arrow01_white.png) no-repeat bottom 12px right 14px / 14px auto;
}
.btn_voice a div {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
}
.btn_voice a .infoBox {
	width: 280px;
	padding: 15px;
}
.btn_voice a div p {
	font-size: 2.1rem;
}

/* ------------------------------
 スマホ用コード
------------------------------ */
@media screen and (max-width: 767px) {
	/* セレクト */

	.select ul {
		display: block;
		margin: 10px 0 0;
	}
	.select ul li {
		min-width: 0;
		width: 30%;
		margin: 0 1.6%;
	}


	/* お客様の声 一覧 */
	.contentsTop {
		width: auto;
		padding-bottom: 70px;
	}
	.voiceList > div {
		width: auto;
		float: none;
		margin: 0 0 15px;
	}
	.voiceList > div > div div {
		padding: 15px;
	}
	.voiceList > div.new:before {
		font-size: 1.1rem;
		line-height: 44px;
		width: 44px;
		height: 44px;
	}

	/* ご家族のご紹介 */
	.family {
		width: auto;
		padding: 20px;
	}
	.family div {
		width: auto;
		margin-bottom: 15px;
	}
	.family .cms_image {
		width: auto;
	}

	.family p {
		font-size: 1.7rem;
	}


	/* 担当者メッセージ */
	.message {
		padding: 8%;
	}
	.message h2 {
		font-size: 1.9rem;
	}
	.message .face {
		width: auto;
		margin-bottom: 15px;
	}
	.message .comment {
		width: auto;
	}
	.message .comment p {
		font-size: 1.6rem;
	}

	/* その他のお客様 */
	.voiceBox {
		width: auto;
	}
	.voiceBox .cms_image {
		width: 49%;
	}
	.voiceBox .cms_image.cms_fl {
		float: left !important;
	}
	.voiceBox .cms_image.cms_fr {
		float: right !important;
	}
	.voiceBox .cms_image .cms_caption_b {
		font-size: 1.5rem;
	}
	.voiceBox .cms_image .cms_caption_b,
	.voiceList > div > div {
		font-size: 1.6rem;
	}
	.voiceBox .cms_image .cms_caption_b a div p,
	.voiceList > div > div div p {
		font-size: 1.8rem;
		line-height: 1.4;
	}

	/* 過去のお客様の声一覧 */
	.voiceBlock li {
		font-size: 1.6rem;
		line-height: 1.4;
		width: 100%;
		float: none;
		margin-bottom: 15px;
	}
	.voiceBlock li:not(:nth-child(2n)) {
		margin-right: 0;
	}
	.voiceBlock li div img {
		width: 100%;
	}
	.voiceBlock li .infoBox {
		width: 60%;
		padding: 10px 20px;
	}
	.voiceBlock li .infoBox p {
		margin-bottom: 10px;
	}

	/* 過去のお客様の声へのリンクボタン */
	.btn_voice a {
		width: 100%;
	}
	.btn_voice a div img {
		width: 100%;
	}
	.btn_voice a .infoBox {
		width: 57%;
	}
	.btn_voice a div p {
		font-size: 1.8rem;
	}
}
@media screen and (max-width: 479px) {
	.voiceBox .cms_image {
		width: auto;
	}
	.voiceBox .cms_image.cms_fl,
	.voiceBox .cms_image.cms_fr {
		float: none !important;
	}

	/* 過去のお客様の声一覧 */
	.voiceBlock li a,
	.voiceBlock li div {
		width: 100%;
		display: block;
	}
	.voiceBlock li .infoBox {
		width: 100%;
		padding: 15px 20px;
	}
}