@charset "utf-8";

/*=====================================================================================
	
	Document    : style-s.css
	Description : スマホ用（幅640px以下）
 
=====================================================================================*/

@media screen and (max-width:420px) {
	.md {
		padding-top:35px;
		background-size:auto 28% !important;
	}
}


/*---------------------------------------------------------------------------

   建てた方の声

---------------------------------------------------------------------------*/

.voice-box .sname {
	text-align:center;
	display:block;
}

.voice-box .sname h3 {
	padding-top:4% !important;
	padding-bottom:4.5% !important;
}

.voice-box .q {
	width:100%;
	float:none;
	margin-left:0;
	margin-top:0 !important;
	margin-bottom:5%;
	text-align:center;
}


@media screen and (max-width:420px) {
	.voice-box .sname h3 {
		padding-top:4.5% !important;
		padding-bottom:5% !important;
	}

	.voice-box .q {
		margin-bottom:7%;
	}

	.voice-box .q img {
		max-width:70%;
	}
}


/*-------------------------------------------------------
   photo
-------------------------------------------------------*/

.voice-photo ul {
	margin-top:-5%;
}

.voice-photo li {
	margin-top:5%;
}
	
@media screen and (max-width:420px) {
	.voice-photo ul {
		margin-top:-4%;
	}

	.voice-photo li,
	.voice-photo li:nth-child(2n),
	.voice-photo li:nth-child(3n+3) {
		width:48%;
		float:left;
		margin-right:4%;
		margin-top:4%;
	}

	.voice-photo li:nth-child(2n) {
		margin-right:0;
	}
}

