@charset "utf-8";
/**
/* 先生紹介 CSS
----------------------------------------------- */
.page-header{
	position: relative;
	background: #fbf7e9;
	margin-top: 135px;
	padding-top: 40px;
	padding-bottom: 130px;
}
.page-header::before,
.page-header::after{
	content: '';
	position: absolute;
	display: inline-block;
	z-index: 1;
}
.page-header::before{
	background: url(../image/common/header_bg2_l.png) center center no-repeat;
	background-size: cover;
	width: 482px;
	height: 740px;
	top: 140px;
	left: -265px;
}
.page-header::after{
	background: url(../image/common/header_bg2_r.png) center center no-repeat;
	background-size: cover;
	width: 630px;
	height: 675px;
	top: 230px;
	right: -340px;
}
.page-header .header-view{
	position: relative;
	z-index: 2;
}
.page-header .header-view .pc_img{
	border-radius: 32px;
	-webkit-border-radius: 32px;
	-moz-border-radius: 32px;
}
.page-header .header-view .view-img:before {
	background: rgba(38, 30, 28, 0.1);
	position: absolute;
	top: 0;
	left: 0; 
	display: block;
	width: 100%;
	height: 100%;
	content: "";
	border-radius: 32px;
	-webkit-border-radius: 32px;
	-moz-border-radius: 32px;
}
.page-header .header-view .view-ttl{
	position: absolute;
	bottom: -16px;
	right: -16px;
	text-align: center;
}
.teacher-guide{
	position: relative;
	background: url(../image/common/bg_top.png) top center no-repeat;
	padding: 100px 0 0 0;
	margin-top: -50px;
}
.teacher-guide .page-grid{
	position: relative;
	z-index: 1;
}
.teacher-guide .guide-ttl{
	text-align: center;
	margin-bottom: 40px;
}
.teacher-guide .teacher-head{
	padding-bottom: 80px;
}
.teacher-guide .teacher-head .page-grid{
	max-width: 800px;
}
.teacher-guide .teacher-head .commentArea{
	position: relative;
	background: url(../image/teacher/pond.png) center center no-repeat;
	background-size: cover;
	padding: 40px 50px 70px 50px;
}
.teacher-guide .teacher-head .commentArea::before,
.teacher-guide .teacher-head .commentArea::after{
	content: '';
	position: absolute;
	display: inline-block;
}
.teacher-guide .teacher-head .commentArea::before{
	background: url(../image/teacher/bird.png) center center no-repeat;
	background-size: cover;
	width: 132px;
	height: 63px;
	top: -30px;
	left: 15px;
}
.teacher-guide .teacher-head .commentArea::after{
	background: url(../image/teacher/crab.png) center center no-repeat;
	background-size: cover;
	width: 155px;
	height: 81px;
	bottom: 45px;
	right: 0px;
}
.teacher-guide .teacher-head .commentArea p{
	position: relative;
	background-color: #ccf5f7;
	background-image: linear-gradient(90deg, transparent 0%, transparent 50%, #ccf5f7 50%, #ccf5f7 100%),
                    linear-gradient(180deg, #ccf5f7 3px, transparent 3px);
	background-image: linear-gradient(90deg, transparent 0%, transparent 50%, #ccf5f7 50%, #ccf5f7 100%),
                    linear-gradient(180deg, #ffffff 3px, transparent 3px);
	background-size: 9px 100%,
                   100% 3em;
	line-height: 3em;
	font-size: 16px;
	font-weight: 500;
	padding-bottom: 4px;
	text-align: center;
}
.teacher-guide .teacher-head .commentArea p::before{
	content: '';
	position: absolute;
	display: inline-block;
	background-color: #ccf5f7;
	width: 100%;
	height: 4px;
	top: 0px;
	left: 0;
}
.teacher-guide .teacher-body{
	position: relative;
	background: url(../image/common/bg_y.png) top center no-repeat;
	background-size: cover;
	padding: 120px 0 140px 0;
}
.teacher-guide .teacher-body::before,
.teacher-guide .teacher-body::after{
	content: '';
	position: absolute;
	display: inline-block;
}
.teacher-guide .teacher-body::before{
	content: '';
	display: block;
	position: absolute;
	background-image: url(../image/common/tree_bg1.png), url(../image/common/fox2.png);
	background-repeat: no-repeat;
	background-position: left -30px top 32%, left 0 bottom 15%;
	background-size: 157px 454px, 153px 239px;
	width: 100%;
	height: 100%;
	top: 30px;
}
.teacher-guide .teacher-body::after{
	content: '';
	display: block;
	position: absolute;
	background-image: url(../image/common/bear2.png), url(../image/common/tree_bg2.png);
	background-repeat: no-repeat;
	background-position: right -20px top 32%, right -25px bottom 20%;
	background-size: 195px 258px, 157px 478px;
	width: 100%;
	height: 100%;
	top: 30px;
}
.teacher-guide .teacher-list .teacher-items{
	position: relative;
	width: 28%;
	text-align: center;
	margin: 0 2.666666% 70px 2.666666%;
}
.teacher-guide .teacher-list .teacher-items .imgArea{
	margin-bottom: 20px;
}
.teacher-guide .teacher-list .teacher-items .imgArea img{
	border-radius: 50% 50% 50% 50%/70% 70% 70% 70%;
	vertical-align: top;
}
.teacher-guide .teacher-list .teacher-items .name{
	font-size: 22px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.075em;
	margin-bottom: 20px;
}
.teacher-guide .teacher-list .teacher-items .profile{
	font-size: 13px;
	font-weight: 500;
	line-height: 2;
}
.teacher-guide .teacher-list .teacher-items .messageArea{
	z-index: 1;
    position: absolute;
    bottom: calc(100% - 20px);
    left: 50%;
    width: 300px;
    margin: 0 auto 0 -150px;
    padding: 20px;
    background: #fff;
    border: 1px solid #957a78;
    text-align: left;
    font-size: 12px;
    display: none;
    border-radius: 10px;
}
.teacher-guide .teacher-list .teacher-items .messageArea::after,
.teacher-guide .teacher-list .teacher-items .messageArea::before{
    position: absolute;
    left: 0;
    right: 0;
    content: "";
    width: 0;
    height: 0;
    margin: auto;
    border-style: solid;
    border-width: 18px 10.5px 0;
}
.teacher-guide .teacher-list .teacher-items .messageArea::before{
    z-index: 2;
    bottom: -18px;
    border-color: #957a78 transparent transparent;
}
.teacher-guide .teacher-list .teacher-items .messageArea::after{
    z-index: 3;
    bottom: -16px;
    border-color: #fff transparent transparent;
}
.teacher-guide .teacher-list .teacher-items:hover .messageArea{
    display: block;
}
.teacher-guide .teacher-list .teacher-items .messageArea p{
	font-size: 12px;
	font-weight: 500;
	line-height: 1.8;
	letter-spacing: 0.075em;
	text-align: left;
}
@media only screen and (max-width: 767px) {
	.page-header{
		margin-top: 70px;
		padding-top: 0;
		padding-bottom: 20%;
	}
	.page-header::before{
		content: none;
	}
	.page-header::after{
		background: url(../image/common/sp_header_bg_r.png) center center no-repeat;
		background-size: contain;
		width: 100%;
		height: 74%;
		top: -45%;
		right: -50%;
		z-index: 3;
	}
	.page-header .header-view{
		width: 100%;
	}
	.page-header .header-view .view-img:before {
		border-radius: 0;
		-webkit-border-radius: 0;
		-moz-border-radius: 0;
	}
	.page-header .header-view .view-ttl{
		width: 50%;
		bottom: -35px;
		right: 5px;
	}
	.teacher-guide{
		background-size: 200%;
		padding: 15% 0 0 0;
		margin-top: -10%;
	}
	.teacher-guide::before,
	.teacher-guide::after{
		content: none;
	}
	.teacher-guide .guide-ttl{
		margin-bottom: 8%;
	}
	.teacher-guide .guide-ttl img{
		width: 70%;
	}
	.teacher-guide .teacher-head{
		position: relative;
		padding-bottom: 6%;
	}
	.teacher-guide .teacher-head .page-grid{
		width: 100%;
	}
	.teacher-guide .teacher-head .commentArea{
		background: url(../image/teacher/pond-sp.png) center bottom no-repeat;
		background-size: cover;
		padding: 10% 5% 15% 5%;
		text-align: center;
		margin-bottom: 6%;
	}
	.teacher-guide .teacher-head .commentArea::before{
		background-size: contain;
		width: 26%;
		height: 15%;
		top: -4%;
		left: 2%;
	}
	.teacher-guide .teacher-head .commentArea::after{
		background-size: contain;
		width: 34%;
		height: 20%;
		bottom: -6%;
		right: 2%;
	}
	.teacher-guide .teacher-head .commentArea p{
		background-color: transparent;
		background-image: none;
		display: inline;
		line-height: 3;
		font-size: 3.8vw;
		font-weight: 500;
		padding-bottom: 0;
		text-align: center;
		border-radius: 0;
		border-bottom: 4px dotted #ffffff;
	}
	.teacher-guide .teacher-head .commentArea p::before{
		content: none;
	}
	.teacher-guide .teacher-head .iconArea{
		width: 90%;
		margin: auto;
	}
	.teacher-guide .teacher-head .iconArea img{
		width: 35%;
	}
	.teacher-guide .teacher-body{
		background-size: 200%;
		padding: 15% 0 25% 0;
	}
	.teacher-guide .teacher-body::before{
		background: #fbf7e9;
		top: 5%;
	}
	.teacher-guide .teacher-body::after{
		content: none;
	}
	.teacher-guide .teacher-list .teacher-items{
		width: 47%;
		margin: 0 6% 8% 0;
	}
	.teacher-guide .teacher-list .teacher-items:nth-child(3n){
		margin: 0 6% 8% 0;
	}
	.teacher-guide .teacher-list .teacher-items:nth-child(2n){
		margin: 0 0 8% 0;
	}
	.teacher-guide .teacher-list .teacher-items .imgArea{
		margin-bottom: 5%;
	}
	.teacher-guide .teacher-list .teacher-items .imgArea img{
		border-radius: 60% 60% 60% 60%/70% 70% 70% 70%;
	}
	.teacher-guide .teacher-list .teacher-items .name{
		font-size: 4.2vw;
		margin-bottom: 5%;
	}
	.teacher-guide .teacher-list .teacher-items .profile{
		font-size: 3.2vw;
	}
	.teacher-guide .teacher-list .teacher-items .messageArea{
		position: relative;
		display: block;
		bottom: auto;
		left: auto;
		width: 100%;
		margin: 15px 0 0;
		padding: 10px;
		font-size: 3.2vw;
	}
	.teacher-guide .teacher-list .teacher-items .messageArea::after,
	.teacher-guide .teacher-list .teacher-items .messageArea::before{
	    border-width: 18px 10.5px 0;
	}
	.teacher-guide .teacher-list .teacher-items .messageArea::before{
	    top: -10px;
		bottom: auto;
		border-width: 0 12px 10px;
		border-color: transparent transparent #957a78;
	}
	.teacher-guide .teacher-list .teacher-items .messageArea::after{
	   top: -9px;
		bottom: auto;
		border-width: 0 12px 10px;
		border-color: transparent transparent #fff;
	}
	.teacher-guide .teacher-list .teacher-items .messageArea p{
		font-size: 3.2vw;
	}
}
@media only screen and (min-width: 768px) and (max-width: 1024px){
	.page-header{
		margin-top: 110px;
		padding-top: 20px;
		padding-bottom: 100px;
	}
	.page-header::before{
		content: none;
	}
	.page-header::after{
		width: 419px;
		height: 550px;
		top: -150px;
		right: -200px;
	}
	.page-header .header-view .view-ttl{
		width: 220px;
		bottom: -45px;
		right: -20px;
	}
	.teacher-guide{
		padding: 80px 0 0 0;
		margin-top: -40px;
	}
	.teacher-guide::before,
	.teacher-guide::after{
		content: none;
	}
	.teacher-guide .guide-ttl{
		margin-bottom: 30px;
	}
	.teacher-guide .guide-ttl img{
		width: 400px;
	}
	.teacher-guide .teacher-head{
		padding-bottom: 20px;
	}
	.teacher-guide .teacher-head .commentArea{
		padding: 40px 50px 60px 50px;
	}
	.teacher-guide .teacher-head .commentArea::before{
		width: 110px;
		height: 52px;
		top: -25px;
		left: 15px;
	}
	.teacher-guide .teacher-head .commentArea::after{
		width: 130px;
		height: 67px;
		bottom: 45px;
		right: -7px;
	}
	.teacher-guide .teacher-head .commentArea p{
		font-size: 15px;
	}
	.teacher-guide .teacher-body{
		padding: 80px 0 120px 0;
	}
	.teacher-guide .teacher-body::before,
	.teacher-guide .teacher-body::after{
		content: none;
	}
	.teacher-guide .teacher-list .teacher-items{
		width: 32%;
		margin: 0 2% 50px 0;
	}
	.teacher-guide .teacher-list .teacher-items:nth-child(3n){
		margin: 0 0 50px 0;
	}
	.teacher-guide .teacher-list .teacher-items .imgArea{
		margin-bottom: 15px;
	}
	.teacher-guide .teacher-list .teacher-items .imgArea img{
		border-radius: 60% 60% 60% 60%/70% 70% 70% 70%;
	}
	.teacher-guide .teacher-list .teacher-items .name{
		font-size: 20px;
		margin-bottom: 15px;
	}
	.teacher-guide .teacher-list .teacher-items .profile{
		font-size: 12px;
	}
	.teacher-guide .teacher-list .teacher-items .messageArea{
		bottom: calc(100% - 20px);
		width: 110%;
		margin: 0 auto 0 -55%;
		padding: 10px;
		font-size: 12px;
	}
	.teacher-guide .teacher-list .teacher-items .messageArea::after,
	.teacher-guide .teacher-list .teacher-items .messageArea::before{
	    border-width: 14px 8.5px 0;
	}
	.teacher-guide .teacher-list .teacher-items .messageArea::before{
	    bottom: -15px;
	}
	.teacher-guide .teacher-list .teacher-items .messageArea::after{
	    bottom: -13px;
	}
}
