@charset "utf-8";

.riyuu .waku{
	margin: 70px auto;
	width: 650px;
	position: relative;
	border: #A2A2A2 solid 1px;
	border-radius: 15px;
	background-color: #fff;
	padding: 100px 30px 30px 30px;
}
.riyuu img{
	position: absolute;
	top: -75px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}
.riyuu .title{
	color: #5BD3AB;
	font-size: 43px;
	line-height: 55px;
	font-weight: bold;
}
.riyuu hr{
	border: solid 1px #383838;
	margin: 30px 0;
}
.riyuu .p{
	text-align: justify;	
}
.riyuu .small_p{
	font-size: 	15px;
	text-align: right;
}

.kouji_BGimg{
	background-image: url("../images/riyuu_BG.png");
	background-position: bottom right;
	background-repeat: no-repeat;
	height: 500px;
	margin-top: -450px;
	position: relative;
	z-index: -1;
	background-size: contain;
}
.kouji_text{
	width: 1070px;
	display: flex;
	margin: auto;
}
.kouji_text img{
	margin-right: auto;
	margin-left: 0;
}
/*------メリット-------*/

.merit_BG{
	background-color: #E7FBE0;
}
.kahen_haba2{
	width: 1400px;
}
.house_merit{
	display: flex;
	flex-flow: wrap;
	justify-content: center;
}
.house_merit img{
	width: 435px;
	filter: drop-shadow(0px 0px 10px rgba(0,0,0,0.4));
	margin: 10px;
}

@media screen and (max-width: 1500px){
  /*--ここにスマホに適したCSSを記述します*/
	.kahen_haba2,.kahen_haba{
		width: 90%;
		min-width: 700px;		
		}

}
@media screen and (max-width: 1196px){
  /*--ここにスマホに適したCSSを記述します*/
	
	.kouji_text{
		width: 700px;
}
}
@media screen and (max-width: 1100px){
  /*--ここにスマホに適したCSSを記述します*/
	.kahen_haba{
		width: 90%;
		min-width: 700px;
		}
	.house_merit img{
		width: 330px
		}
	.denkimenu img,.kara_img{
		width: 310px;		
		}
	.kouji_text{
		width: 670px;
}
}