@charset "UTF-8";
/* CSS Document */

/*==============================
コンテンツ設定
==============================*/

/*ページビジュアル*/
#pageVisual{
	background: url(../img/voice/bg_main.webp) no-repeat center center / cover;
}

/*ページビジュアル  見出し英語*/
#pageVisual .pageNav h2::after{
	content: "VOICE";
}

/*voice全体*/
#voice{
	background: #333;
}

/*お客様の声リスト全体*/
.voiceBox{
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 80px;
}

/*お客様の声リスト*/
.voiceBox > li{
	padding: 20px;
	width: 100%;
	background: #e5e5e5;
	display: flex;
}

/*お客様の声 写真*/
.voiceBox .photoBox{
	max-width: 100%;
	flex: 1;
	position: relative;
}

.voiceBox .photoBox .photo img{
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

/*お客様の声 インフォメーション*/
.voiceBox .photoBox .info{
	padding: 5px 10px;
	max-width: 100%;
	background: #333;
	position: absolute;
	top: -5px;
	left: -5px;
}

/*お客様の声 個人情報、住宅情報共通*/
.voiceBox .personal,
.voiceBox .status{
	color: #fff;
	font-size: 1.6rem;
	line-height: 1.5;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: flex;
	justify-content: left;
}

/*お客様の声 個人情報の2つ目*/
.voiceBox .personal span:nth-child(2){
	margin: 0 10px 0 0;
}

/*お客様の声 個人情報の1つ目の装飾*/
.voiceBox .personal span:first-child::after{
	content: "・";
}

/*お客様の声 住宅情報の装飾*/
.voiceBox .status span::after{
	content: "／";
}

/*お客様の声 住宅情報の装飾 最後*/
.voiceBox .status span:last-child::after{
	content: "";
}

/*テキスト情報*/
.voiceBox .txtBox{
	padding: 20px 40px;
	flex: 1;
	display: flex;
	justify-content: center;
	flex-direction: column;
}

/*テキスト情報 見出し*/
.voiceBox .txtBox h3 {
	padding: 0 0 0 20px;
	font-size: 2.4rem;
	border-left: 4px solid #1a1a1a;
	line-height: 1.8;
	display: block;
	overflow: hidden;
}

/*テキスト情報 装飾用共通*/
.voiceBox .txtBox h3::before,
.voiceBox .txtBox h3::after {
	content: "";
	display: block;
	height: 0;
}

/*テキスト情報 装飾用 上*/
.voiceBox .txtBox h3::before {
	margin-top: -0.3em;/*line-hightの打ち消し*/
}

/*テキスト情報 装飾用 下*/
.voiceBox .txtBox h3::after {
	margin-bottom: -0.3em;/*line-hightの打ち消し*/
}

/*テキスト*/
.voiceBox .txtBox p {
	margin: 20px 0 0 0;
	font-size: 1.4rem;
	line-height: 2;
	text-align: justify;
	font-family:"ヒラギノ角ゴPro W3", "Hiragino Kaku Gothic Pro",Osaka, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
}

/*==============================
レスポンシブ設定
==============================*/

/*960px以下の場合*/
@media screen and (max-width:960px){

	/*==============================
	コンテンツ設定
	==============================*/


	/*お客様の声リスト*/
	.voiceBox > li{
		padding: 60px;
		flex-direction: column;
	}

	/*テキスト情報*/
	.voiceBox .txtBox{
		padding: 30px 0 0 0;
	}
		

}

/*768px以下の場合*/
@media screen and (max-width:768px){

	/*==============================
	コンテンツ設定
	==============================*/

	/*お客様の声リスト*/
	.voiceBox > li{
		padding: 40px;
	}

}

/*600px以下の場合*/
@media screen and (max-width:600px){

	/*==============================
	コンテンツ設定
	==============================*/

	/*お客様の声リスト*/
	.voiceBox > li{
		padding: 30px;
	}

	/*テキスト情報*/
	.voiceBox .txtBox{
		padding: 20px 0 0 0;
	}

	/*テキスト情報 見出し*/
	.voiceBox .txtBox h3 {
		padding: 0 0 0 10px;
		font-size: 2rem;
	}

}

/*430px以下の場合*/
@media screen and (max-width:430px){

	/*==============================
	コンテンツ設定
	==============================*/


	/*ページビジュアル*/
	#pageVisual{
		background: url(../img/voice/bg_main_sp.webp) no-repeat center center / cover;
	}

	/*お客様の声リスト*/
	.voiceBox > li{
		padding: 0;
	}

	/*お客様の声 インフォメーション*/
	.voiceBox .photoBox .info{
		background: #4D4D4D;
		top: 0;
		left: 0;
	}

	/*お客様の声 個人情報、住宅情報共通*/
	.voiceBox .personal,
	.voiceBox .status{
		font-size: 1.2rem;
		line-height: 1.4;
	}

	/*テキスト情報*/
	.voiceBox .txtBox{
		padding: 20px;
	}


	/*テキスト情報 見出し*/
	.voiceBox .txtBox h3 {
		font-size: 1.8rem;
	}


	
}




































