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

.reviews {
  margin-top: 70px;
  margin-bottom: -80px;
}

.reviews .imagebox {
  width: 47%;	
}

.image img {
  margin-top: 10px;	
}

.reviews .textbox {
  margin-top: 20px;
  width: 47%;
  line-height: 1.6;	
}

.reviews h3 {
  color: #172d6d;
  font-family: "Sawarabi Mincho";    
  font-family: 'リュウミン B-KL';
  font-size: 2.6rem;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 7%;
  position: relative;
  margin-left: 20px;
  /*padding-top: 10px;
  padding-right: 30px;
  padding-bottom: 20px;
  padding-left: 20px;*/
  padding-top: 10px;
  padding-right: 20px;
  padding-bottom: 20px;
  padding-left: 20px;
}

.reviews h3::before {
  content: url(../img/mark-left.gif);
  position: absolute;
  top: -20px;
  left: -20px;
}

.reviews h3::after {
  content: url(../img/mark-right.gif);
  position: absolute;
  bottom: -20px;
  right: 10px;
}

.reviews .textbox p {
  font-size: 1.8rem;
  margin-top: 50px;
  line-height: 1.7;	
}

.review02 .textbox {
	float: right;
}

.review01 .image,
.review03 .image {
  margin-left: 90px;
}

.review02 div.image {
	margin-right: 120px;
}

.review01 img {
  opacity: 0;	
}

.review03 {
  margin-bottom: 50px;	
}

.student-profile {
  background: rgba(255,255,255,0.8);
  width: 500px;
  box-shadow: 5px 5px 35px -10px rgba(32, 31, 27, 0.3);
  position: relative;
  padding: 20px 30px 25px;  	
}

.review01 .student-profile {
  bottom: 120px;
  left: -70px;
}

.review02 .student-profile {
  bottom: 120px;
  right: -60px;
}  

.review03 .student-profile {
  bottom: 100px;
  left: -70px;
}

.student-profile p {
 font-size: 1.6rem;
 line-height: 1.6;
}

.student-profile .name{
  font-family: 'リュウミン B-KL';
  font-size: 2.4rem;
  font-weight: bold;
  margin-bottom: 5px;  	
}

.student-profile .name span {
  font-size: 2.0rem;	
}

.student-profile .blog {
  margin-top: 15px;	
}

.student-profile .blog a{
  border: solid 1px;
  padding: 5px 40px;
  font-size: 1.5rem;
  letter-spacing: 1px;
  transition: 0.3s;	
}

.student-profile .blog a:hover {
  background: #172d6d;
  border: solid 1px #172d6d;
  color: #fff;
}

.student-profile .blog i {
  margin-right: 5px;	
}

@media screen and (max-width: 640px) {
	.reviews {
		padding: 0 10px;
	}
	
	.reviews .image {
		text-align: center;
	}
	
	.textbox right .review02 .left {
		float: none;
	}
	
	.review01 .textbox, .review02 .textbox, .review03 .textbox {
		width: 100%;
	}
	
	.review01 .image, .review02 .image, .review03 .image {
		width: 100%;
		height: auto;
		margin: 10px;
	}
	
	.review01 div.image, .review03 div.image {
		margin-right: -20px;
		margin-left: 0;
	}
	
	.review01 img.image, .review03 img.image {
		margin-left: 0;
	}
	
	.review01 .student-profile, .review03 .student-profile {
		width: 100%;	
		margin: 20px 10px -60px 70px;
		text-align: left;
	}
	
	.review02 div.image {
		padding-right: 5px;
		margin: 0;
	}
	
	.review02 img.image {
		margin: 20px 30px -50px 0;
	}
	
	.review02 .student-profile {
		width: 100%;	
		margin: 50px 0 -50px -60px;
		text-align: left;
	}
	
}