@charset "utf-8";

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

	*お客様の声

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

#case {
	padding: 90px 0;
}

#case-box {
	width: 90.625%;
	margin: 0 auto;
}

.case-box {
	width: 100%;
	background-color: #FFF;
	padding: 80px;
	display: inline-block;
	vertical-align: top;
}

.case-box-inner {
	width: 100%;
	padding-bottom: 87px;
	margin-bottom: 40px;
	border-bottom: 1px solid #282828;
	position: relative;
}

.voice-box{
	width: 100%;
	position: relative;
}

.case-main-img {
	width: 100%;
	height: 520px;
	margin: 0 0 100px;
	overflow: hidden;
}

.case-main-img img {
width: 100%;
height: auto;
}

.top-box {
	position: absolute;
	padding: 0;
	bottom: -65px;
	right: -10px;
	width: 365px;
}


.ttl {
	font-size: 24px;
	font-weight: bold;
	letter-spacing: 0.1em;
	line-height: 1.5;
	background:var(--color11);
	padding: 10px;
}

.name{
	font-size: 14px;
	line-height: 1;
	background:var(--color11);
	padding: 10px;
	margin: 0;
}

.voice-message{
	margin: 0 auto 100px;
	font-size: 0;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
}
.voice-message dt{
	width: 50%;
	padding-right: 20px;
	font-size: 17px;
	line-height: 1.9;
}

.voice-message dd{
	width: 50%;
	margin: 0 auto;
}

.voice-message img{
	width: 100%;
}
.wrapper{
	margin-bottom: 15px;
}

.voicebn{
	width: 100%;
	margin: 0 auto;
}





.txt {
	line-height: 2.2;
}


.top-wrapper {
	/*	position: relative;*/
	margin-bottom: 20px;
}

.top-wrapper::after {
	content: "";
	clear: both;
	display: block;
}

/*--- ul ---*/
#case-box ul {
	display: inline-block;
	width: 100%;
}

#case-box ul li {
	display: inline-block;
	width: calc((100% - 5px - 20px) / 2);
	margin-bottom: 35px;
	vertical-align: top;
	position: relative;
}

/*--- trim タテ画像調整 ---*/
.trim {
	/*	display: inline-block;*/
	overflow: hidden;
	width: 100%;
	/* トリミングしたい枠の幅 */
	padding-bottom: 72%;
	/* トリミングしたい枠の高さ */
	position: relative;
	vertical-align: top;
	margin-bottom: 10px;
}

/* “新築” のみ画像比変更 */
#case.works .trim {
	padding-bottom: 67.6%;
	/* トリミングしたい枠の高さ */
}


/* 高さに合わせてリサイズ、はみ出た分をトリミング */
.trim img {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	width: auto;
	height: 100%;
}

/* 左側にmargin */
#case-box ul li:nth-child(1),
#case-box ul li:nth-child(3),
#case-box ul li:nth-child(5),
#case-box ul li:nth-child(7) {
	margin-right: 20px;
}

#case-box ul li:last-child {
	margin-bottom: 55px;
}

#case-box ul li .cap {
	width: 100%;
	display: inline-block;
}

/*--- 「before」「after」のマーク ---*/
span.before {
	width: 70px;
	font-family: din-condensed, sans-serif;
	font-size: 21px;
	color: #fff;
	text-align: center;
	background-color: #3c3c3c;

	position: absolute;
	top: 0;
	left: 0;
}

span.after {
	width: 70px;
	font-family: din-condensed, sans-serif;
	font-size: 21px;
	color: #fff;
	text-align: center;
	background-color: #dd9a52;

	position: absolute;
	top: 0;
	left: 0;
}


/*--- 「お客様の声」「担当者コメント」 ---*/
.voice {
	line-height: 2.2;
	margin-bottom: 80px;
}

.comment .txt {
	line-height: 2.2;
}

.koe,
.com {
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 15px;
}

.wrapper::after {
	content: "";
	clear: both;
	display: block;
}

.prof-img {
	width: 98px;
	text-align: center;
	float: left;
	margin-right: 20px;
}

.prof-img img {
	width: 100%;
	height: auto;
	border-radius: 50%;
}

/*--- アクセス ---*/
.access {
	margin-bottom: 70px;
}

span.title {
	font-family: din-condensed, sans-serif;
	font-size: 14px;
	display: block;
	margin-bottom: 20px;
}

span.ja {
	font-size: 14px;
	font-weight: bold;
}

span.add {
	font-size: 16px;
	display: block;
	margin-bottom: 15px;
}


/*--- “このシリーズの施工事例一覧” ---*/
.s-archive {
	width: 324px;
	font-size: 18px;
	font-weight: bold;
	margin-top: 60px;
}

.s-archive a:hover {
	opacity: 0.7;
	filter: alpha(opacity=70);
	-ms-filter: "alpha(opacity=70)";
	-webkit-transition: opacity .4s ease-out;
	-moz-transition: opacity .4s ease-out;
	-ms-transition: opacity .4s ease-out;
	transition: opacity .4s ease-out;
}

.s-archive p {
	margin-bottom: 24px;
}

.s-archive img {
	width: 100%;
}

.ft-other{
	width: 90%;
	margin: 0 auto;
}

.ft-other h4{
	padding-bottom: 20px;
}

/*--------------------// SP //--------------------*/
@media screen and (max-width: 750px) {
	#case {
		padding: 0;
		margin-bottom: 60px;
	}

	.case-box {
		width: 100%;
		padding: 30px 15px;
	}

	.btn {
		display: none;
	}

	.case-main-img {
		margin: 20px 0;
		height: auto;
	}
	.case-main-img img{

	}
	.case-box-inner {
		margin-bottom: 20px;
	}


	.drawing .cont {
		display: block;
		width: 100%;
		margin-bottom: 30px;
	}

	.drawing .cont:nth-of-type(1) {
		margin-right: 0;
		width: 100%;
	}


	#case.model .top-wrapper {
		margin-bottom: 25px;
	}

	#case.model .top-box {
		margin-bottom: 25px;
	}

	.top-box .ttl {
		font-size: 18px;
	}

	.top-box.reform .txt {
		float: none;
		width: 100%;
	}

	.top-box.reform table {
		float: none;
		width: 100%;
		margin-bottom: 40px;
	}

	#case.model .top-box table {
		margin-bottom: 20px;
	}

	.top-box.reform table th {
		width: 130px;
	}

	#case-box ul {
		display: block;
	}

	#case-box ul li {
		display: block;
		width: 100%;
		margin-bottom: 22px;
	}

	#case-box ul li:nth-child(1),
	#case-box ul li:nth-child(3),
	#case-box ul li:nth-child(5),
	#case-box ul li:nth-child(7) {
		margin-right: 0px;
	}

	#case-box ul li:last-child {
		margin-bottom: 50px;
	}

	.prof-img {
		margin-right: 25px;
		margin-bottom: 0px;
	}

}



/* 20190819バナー追加 */
.wrapper{
	display: -webkit-box;
  	display: -ms-flexbox;
  	display: flex;
	-ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
	-webkit-box-pack: justify;
     -ms-flex-pack: justify;
   justify-content: space-between;
}

.wrapper .left{
	width:100%;
	box-sizing:border-box;
	padding-right:6%;
}

.wrapper .right{
	width:360px;
	min-width:360px;
}

.wrapper .right img{
	width:100%;
}

.lineup_ttl{
	width: 100%;
	height: 112px;
	box-sizing: border-box;
	padding-top:12px;
	line-height: 1.6;
	text-align: center
}
.lineup_ttl h4{font-size: 20px;margin-bottom: 5px; color: #fff}
.lineup_ttl p.line1{margin-top:12px}
.lixil .lineup_ttl{background: #ff6000}
.wrapper .right p{
	margin:0;
	padding: 0;
}

@media screen and (max-width: 1281px) {
	.case-main-img{
		height: auto;
	}
}

/*--------------------// SP //--------------------*/
@media screen and (max-width: 750px) {
	.wrapper{
		display:block;
	}

	.wrapper .left{
		width:100%;
		margin-bottom:50px;
		padding-right:0;
	}

	.wrapper .right{
		width:100%;
		min-width:unset;
		max-width:360px;
		margin:0 auto;
	}
	.voice-message{
		display: block;
	}
	.voice-message dt,.voice-message dd{
		width: 100%;
		padding-right: 0px;
		margin: 0 auto 1em;
	}
}
@media screen and (max-width: 414px) {
	.top-box{
		width: 75%;
		height: auto;
		padding: 0;
}
	.case-main-img{
	    margin: 0 0 75px 0;
	}
}


@media screen and (max-width: 320px) {

	.case-main-img{
	    margin: 0 0 85px 0;
	}
}
