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

.teacherslist {
	margin-bottom: 50px;
}

.teacherslist h2 {
	margin:50px 0px 40px;
}

.teacherslist h2 span {
	padding:10px 150px;
	font-size:35px;
border-image: url("../image/h2_line.png") 18;
border-style:solid;
border-width:18px; 
	}
@media (max-width:1200px) {
.teacherslist h2 span {
	padding:10px 80px;
}
}
@media (max-width: 767px) {
.teacherslist h2 span {
	padding:10px 20px;
border-image: url("../image/h2_line.png") 18;
border-style:solid; border-width:10px; 
}
}
.timestamp {
	color:#C00;}
.caption {
	text-align:center;
	margin-top:30px;
	font-size:18px;
	font-weight:bold;
	margin:0px 15%;}
@media (max-width: 767px) {
.caption {
	margin:0px 5%;}
}
.caption em {
	color:#C00;
	font-style: normal;
	}
.teacherslist_area {
	margin-top:50px;}
.teacherslist_area .col-sm-3 {
	margin:0px;
	padding:0px;}
.teacherimg {
	margin-top:20px;}
.katagaki {
	font-size:16px;
	margin-top:10px;}	
.name {
	font-size:16px;}
.name span {
	font-size:12px;}
.interview {
	border:2px #000 solid;
	text-align:left;
	padding:30px 15px;
	font-size:12pt;
	}
.interview dt {
	color:#FF6600;
	text-decoration: underline;
	margin-top:5px;
}
.interview dd {
	margin-bottom:5px;}

.balloon1-right {
  position: relative;
  display: inline-block;
  margin: 1.5em 15px 1.5em 0;
  padding: 7px 10px;
  min-width: 120px;
  max-width: 100%;
  color: #000;
  font-size: 16px;
  background: #AED9E5;
  border-radius: 13px;
}

.balloon1-right:before {
  content: "";
  position: absolute;
  top: 30%;
  left: 100%;
  margin-top: -15px;
  border: 15px solid transparent;
  border-left: 30px solid #AED9E5;
}

.balloon1-right p {
  margin: 0;
  padding: 15px;
  text-align:left;
}
.comment01 {
	margin-right:10%;}
.comment02 {
	margin-left:10%;
}
.commentimg {
	padding-top:20px;
	display:table-cell;
	vertical-align: middle;
	margin:auto
}
.commentimg img {
	width:90%;}
.footerimg {
	text-align:center;}
.footerimg img { width:10%;
margin:1%}


.ribbon {
  display: inline-block;
  position: relative;
  height: 30px;
  text-align: center;
  box-sizing: border-box;
  margin-bottom:30px;
}
.ribbon:before {/*左側のリボン端*/
  content: '';
  position: absolute;
  width: 20px;
  bottom: -10px;
  left: -15px;
  z-index: -2;
  border: 15px solid #DFA800;
  border-left-color: transparent;/*山形に切り抜き*/
}

.ribbon:after {/*右側のリボン端*/
  content: '';
  position: absolute;
  width: 20px;
  bottom: -10px;
  right: -15px;
  z-index: -2;
  border: 15px solid #DFA800;
  border-right-color: transparent;/*山形に切り抜き*/
}

.ribbon span {
  display: inline-block;
  position: relative;
  margin: 0;
  padding: 0 20px;
  line-height: 30px;
  font-size: 18px;
  color: #FFF;
  background: #FFC000;/*真ん中の背景色*/
}
.ribbon span:before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 10px transparent;
  border-right: solid 15px #B78900;/*左の折り返し部分*/
}
.ribbon span:after {
  position: absolute;
  content: '';
  top: 100%;
  right: 0;
  border: none;
  border-bottom: solid 10px transparent;
  border-left: solid 15px #B78900;/*右の折り返し部分*/
}


@media (max-width: 767px) {
.comment01 {
	margin-right:0px;}
.comment02 {
	margin-left:0px;
}

.commentimg img {
	width:80%;}
}
@media (max-width: 450px) {
.commentimg {
	padding-top:50px;}
}