
@import url(//fonts.googleapis.com/css?family=Lato);

/*投稿タイプ 教室案内************************************************/
.branch-list{
	background: #f5f0ea url(./images/posttypes/tree-img.png) bottom right no-repeat;
	padding-top: 80px;
}
.branch-list .col-md-6.branch-outer{
	margin-bottom: 30px;
}
a.school-box{
	display: block;
	background-color: #fff;
	height: 100%;
	padding: 15px 15px 50px;
}
.school-box h2{
	font-size: 24px;
}

.branch-icon {
    float: right;
    position: absolute;
    top: 0px;
    right: 12px;
}


.school-box p{
	margin-bottom: 0px;
}
p.branch-tel{
	font-size: 20px;
	font-weight: 700;
}
p.branch-add{
	font-size: 17px;
}
p.branch-area{
	font-size: 17px;
	margin-top: 15px;
}
p.branch-comment{
	margin-top: 15px;
}
.branch-area span,
.branch-comment span{
	color: #39835b;
	font-weight: 700;
}

.school-box .gmap {
	margin-top: 20px;
}
.school-box .gmap iframe{
	width: 100%;
	height: 400px;
}

.button{
	display: block;
	background-color: #0082ce;
	color: #fff;
	line-height: 36px;
	width: 110px;
	text-align: left;
	position: absolute;
	padding-left: 25px;
	bottom: -35px;
	right: -10px;
	font-weight: 700;
}
.button::after{
	content: '';
	width: 13px;
	height: 13px;
	border: 0px;
	border-top: solid 2px #fff;
	border-right: solid 2px #fff;
	-ms-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	position: absolute;
	top: 11px;
	right: 10px;
}

.single-branch-wrapper {
    padding: 0;
    background-color: #f5f0ea;
    padding-bottom: 40px;
}
.single-branch-wrapper .branch-outer {
    background-color: #fff;
    padding: 30px;
    -webkit-box-shadow: 0 10px 6px -6px #777;
       -moz-box-shadow: 0 10px 6px -6px #777;
            box-shadow: 0 10px 6px -6px #777;
}
.school-single .branch-icon {
	position: static;
	text-align: left;
	float: none;
    top: auto;
    right: auto;
    display: inline-block;
}
.school-single .branch-title{
	margin-bottom: 20px;

}

.school-single .branch-img{
	margin-bottom: 20px;
	text-align: center;
}

.school-single .branch-map{
	text-align: center;
	margin-top: 20px;
}


.branch-news h3{
    color: #ffffff;
    font-size: 27px;
    padding: 16px 0 16px 30px;
    margin: 20px 0 25px;
    background-color:  #2171ba;
    line-height: 30px;
    width: 100%;
}
.branch-news h3 a.more{
	display: block;
    float: right;
    width: 135px;
    line-height: 30px;
    color: #2171ba;
    background-color: #fff;
    font-size: 18px;
    padding-left: 10px;
    margin-right: 15px;
    position: relative;
}
.branch-news h3 a.more::after{
	content: '';
	width: 13px;
	height: 13px;
	border: 0px;
	border-top: solid 2px #2171ba;
	border-right: solid 2px #2171ba;
	-ms-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	position: absolute;
	top: 8px;
	right: 14px;
}

.school-single a.news-list {
    width: 90%;
    margin: 0 auto 0;
}

/*固定ページ 先生紹介************************************************/


.page-teachers{
	background: #f5f0ea url(./images/posttypes/tree-img.png) bottom right no-repeat;
	padding-top: 80px;
}

.page-teachers .col-md-6.teacher-outer{
	margin-bottom: 30px;
}

.teacher-box{
	padding: 15px 15px;
	background-color: #fff;
	-webkit-box-shadow: 0 10px 6px -6px #777;
	   -moz-box-shadow: 0 10px 6px -6px #777;
	        box-shadow: 0 10px 6px -6px #777;
	height: 100%;
}

.teacher-box h2{
    font-size: 24px;
}

.teacher-box h3{
	color: #0083cf;
	font-size: 17px;
	font-weight: 700;
    margin-top: 15px;
    margin-bottom: 4px;
}

/*共通************************************************/


/* ページ送り */
ul.pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
ul.pagination .page-item.active .page-link{
    background-color:  #0083cf;
    border-color:  #0083cf;
    border-radius: 0 0;
}
ul.pagination .page-link {
    color:  #0083cf;
    background-color: #fff;
    border: 1px solid #0083cf;
    border-radius: 0 0;
}

ul.pagination .page-link a{
    color:  #0083cf;
}
ul.pagination .page-item:last-child .page-link {

    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-radius: 0 0;
}
ul.pagination .page-item:first-child .page-link {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-radius: 0 0;
}
span.nav-previous {
	display: block;
	border: 1px solid #0083cf;
	padding: 10px 10px;
	width: 48%;
	margin-bottom: 10px;
	float: left;
}
span.nav-next {
	display: block;
	border: 1px solid #0083cf;
	padding: 10px 10px;
	width: 48%;
	text-align: right;
	margin-bottom: 10px;
	float: right;
}

span.nav-previous a,
span.nav-next a{
	color: #0083cf;
}
.effect
{
  position: relative;
}
.effect:after
{
  z-index: -1;
  position: absolute;
  content: "";
  bottom: 15px;
  right: 10px;
  left: auto;
  width: 50%;
  top: 80%;
  max-width:300px;
  background: #777;
  -webkit-box-shadow: 0 15px 10px #777;
  -moz-box-shadow: 0 15px 10px #777;
  box-shadow: 0 15px 10px #777;
  -webkit-transform: rotate(3deg);
  -moz-transform: rotate(3deg);
  -o-transform: rotate(3deg);
  -ms-transform: rotate(3deg);
  transform: rotate(3deg);
}


/*レスポンシブ*/

@media (min-width: 1201px) {

	.branch-news .col-lg-8 {
	    /*margin-left: -90px;*/
	}
}
@media (min-width: 992px) {
	.navbar .navbar-nav #menu-item-40.show > .nav-link,
	 .navbar .navbar-nav #menu-item-40.active > .nav-link,
	  .navbar .navbar-nav #menu-item-40.nav-link.show,
	   .navbar .navbar-nav #menu-item-40.nav-link.active {
	    border-bottom: none;
	}
	.branch-news .col-lg-8 {
	   /* margin-left: -50px;*/
	}

}

@media (max-width: 1200px) {

}
@media (max-width: 1200px) and  (min-width: 992px) {
	.col-lg-4 .school-cat-batch {
	    width: 107px;
	    margin-left: 0px;
	}

}
@media (max-width: 991px) and  (min-width: 768px) {
	.branch-title .branch-icon img {
	    width: 48%;
	}

}




@media (max-width: 991px) {

	.news-list .col-lg-8 {
	    line-height: 1.2;
	    margin-top: 10px;
	}
}

@media (max-width: 767px) {

	h2.archive-h2 {
	    font-size: 22px!important;
	}
	.single-branch-wrapper .branch-outer{
		padding:10px;
	}
	.branch-news h3 {
	    font-size: 1.4rem;
	    padding-left: 4px;
	}

	.branch-news h3 a.more{
	    width: 100px;
	    font-size: 15px;
	    padding-left:5px;
	    margin-right: 5px;
	}
	.branch-news h3 a.more::after{
		content: '';
		    width: 9px;
		    height: 9px;
		    border: 0px;
		    border-top: solid 2px #2171ba;
		    border-right: solid 2px #2171ba;
		    -ms-transform: rotate(45deg);
		    -webkit-transform: rotate(45deg);
		    transform: rotate(45deg);
		    position:absolute;
		    top: 10px;
		    right: 7px;
	}


	span.nav-previous, 
	span.nav-next {
		width: 100%;
		float: none;
	}



}
@media (min-width: 577px) {

}
@media (max-width: 576px) {


}



@media (max-width: 450px) {
	.branch-title .branch-icon img {
	    width: 48%;
	}
	.page-teachers{
		padding-top: 45px;
	}
	.branch-list{
		padding-top: 5px;
	}	
}

@media (max-width: 320px) {

}



/* =======================================================
 採用ページ
 =======================================================*/

h2.recruit-h2 {
    font-size: 33px;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    margin-top: 30px;
}
h2.recruit-h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    display: inline-block;
    width: 172px;
    height: 4px;
    left: 50%;
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: #0083cf;
}

.page-recruit ul {
    list-style: none;
    font-size: 17px;
    padding: 0 0;
    margin: 0 0;
}
.recruit-intro{
	text-align: center;
}
.tab_box {
    margin-top: 30px;
    margin: 30px auto;
    font-size: 19px;
    width: 100%;
    max-width: 900px;
}
/* *****************************************************
*  cyuto,itaku
* *****************************************************/
div.cyuto{
	margin-bottom: 70px;
}

div.itaku{
	margin-bottom: 70px;
}

ul.tab{
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content:space-between;
	justify-content:space-between;
	margin-bottom: 40px;
}

ul.tab li{
	width: 48%;
}

ul.tab li a{
	display: block;
	padding: 20px 0;
	background: #fffff0;
	color: #0781c8;
	border: 3px solid #0781c8;
	font-size: 21px;
	font-weight: bold;
	text-align: center;
	letter-spacing: 0.2em;
}

ul.tab li a.current{
	background: #0781c8;
	color: #fff;
}

/* contents-list
-------------------------------------------------------*/
.contents-list {
	max-width: 900px;
	width: 100%;
	margin: 0 auto;
	border-top: 1px solid #808080;
}

.contents-list > li {
	border-bottom: 1px solid #808080;
}

.contents-list > li dl {
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
}

.contents-list > li dl dt {
	width: 30%;
	padding: 20px 0;
	font-size: 1.2rem;
	font-weight: bold;
	line-height: 1.4em;
}

.contents-list > li dl dd {
	width: 70%;
	padding: 20px 0;
	/*font-size: 1.6rem;*/
	line-height: 1.4;
	letter-spacing: 0.1em;
}

.contents-list > li dl dd > ul li{
	position: relative;
}

.contents-list > li dl dd > ul li::before{
	position: relative;
	content: "・";
	display: inline-block;
}

/*   from_btn
* *****************************************************/
div.from-btn{
	margin-bottom: 70px;
}

div.from-btn a{
	display: block;
	width: 740px;
	margin: 0 auto;
	padding: 20px 0;
	background: #fffff0;
	color: #0781c8;
	border: 3px solid #0781c8;
	font-size: 27px;
	font-weight: bold;
	text-align: center;
	-moz-transition: all 1s cubic-bezier(0.25, 0.1, 0.25, 1);
	-webkit-transition: all 1s cubic-bezier(0.25, 0.1, 0.25, 1);
	-o-transition: all 1s cubic-bezier(0.25, 0.1, 0.25, 1);
	-ms-transition: all 1s cubic-bezier(0.25, 0.1, 0.25, 1);
	transition: all 1s cubic-bezier(0.25, 0.1, 0.25, 1);
}

div.from-btn a:hover{
	opacity: 0.6;
}

/* *****************************************************
*  media queries
* *****************************************************/
@media screen and (max-width: 767px){
/* ------------------------------------------------------*/
/* main_visual
-------------------------------------------------------*/
div.main_visual {
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-bottom: 50px;
	padding-bottom: 20px;
}

div.main_visual > div {
	-ms-flex-order:2;
	-webkit-order:2;
	order:2;
	width: 100%;
	padding: 0;
}

div.main_visual > div h2 {
	margin-bottom: 0;
	font-size: 2.4rem;
}

div.main_visual figure {
	-ms-flex-order:1;
	-webkit-order:1;
	order:1;
	width: 100%;
	margin-bottom: 20px;
}

div.main_visual figure img {
	width: 100%;
}

/* comment
-------------------------------------------------------*/
div.comment{
	margin-bottom: 50px;
}

div.comment h3{
	font-size: 2.0rem;
	line-height: 1.4;
}

div.comment_wrap p{
	width: 100%;
	margin-bottom: 20px;
	font-size: 1.6rem;
	line-height: 1.6;
}

div.comment_wrap figure{
	width: 100%;
}

/* cyuto,itaku
-------------------------------------------------------*/
div.cyuto,
div.itaku{
	margin-bottom: 30px;
}

div.cyuto h3,
div.itaku h3{
	padding-top: 11px;
	font-size: 2.0rem;
}

ul.tab{
	margin-bottom: 20px;
	padding: 0;
}

ul.tab li a {
    padding: 13px 0;
    border: 2px solid #0781c8;
    font-size: 18px;
}

ul.tab li a.current{
	background: #0781c8;
	color: #fff;
}

/* contents-list
-------------------------------------------------------*/
.contents-list {
	width: auto;
}

.contents-list > li > dl {
	display: block;
	padding: 20px 0;
}

.contents-list > li > dl > dt {
	width: auto;
	margin-bottom: 15px;
	padding: 0;
	color: #0781c8;
	font-family: "游明朝","YuMincho","ヒラギノ明朝 ProN W6","Hiragino Mincho ProN","Hiragino Mincho Pro","ＭＳ 明朝",serif;
	font-size: 1.2rem;
}

.contents-list > li > dl > dd {
	width: auto;
	padding: 0;
	font-weight: normal;
}

/* from-btn
-------------------------------------------------------*/
div.from-btn{
	margin-bottom: 30px;
}

div.from-btn a{
	width: 100%;
	font-size: 27px;
	padding: 15px 0;

}
/* ------------------------------------------------------*/
}


.page-common h2{
	margin: 30px 0 20px;
}

.page-common h3{
	margin: 30px 0 20px;
}