@charset "UTF-8";
/*
 Theme Name:  twentyseventeen-child
 Theme URI:    https://est4119.jp/topics/wp-content/themes/
 Description:  Twenty Seventeen Child Theme
 Author:       MOOV
 Author URI:   https://www.iflex.co.jp/
 Template:     twentyseventeen
 Version:      2.0
*/

h2:is(:not([class]), .wp-block-heading) {  padding: 0.5em;/*文字周りの余白*/
  color: #010101;/*文字色*/
  background: #eaf3ff;/*背景色*/
  border-bottom: solid 3px #516ab6;/*下線*/}

h1.block-editor-rich-text__editable{
	position: relative;
	background-color: transparent;
	padding: 2px 5px 0px 72px;
	font-weight: 600;
	font-size: 30px;
	color: #2f2f2f;
	letter-spacing: .05em;
	border-top: solid 3px #E30012;
	border-bottom: solid 3px #E30012;
}
h1.block-editor-rich-text__editable:before{
	display: inline-block;
	position: absolute;
	padding: 0em;
	color: white;
	background-image: url(https://est4119.jp/img/common/kokochan__nagoya_s.png);
	font-weight: 600;
	width: 60px;
	text-align: center;
	height: 56px;
	line-height: 56px;
	left: 8px;
	top: calc(50% - 10px);
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	border-radius: 50%;
	background-size: cover;
	content: "";
}

button.spHeaderTelWrapper{
	background-color: #fff;
    padding: 0;
}

html .home{
	width: 100%;
}

html .mobileTopBar{
	padding: 5px;
}

.pcTopBar{
	display: none;
}

.topicsBar{
	font-size: 21px;
	font-weight: 600;
	color: #aa0003;
	background-color: #ededed;
	padding: 5px 0;
}

h2, .home.blog .entry-title{
	font-weight: 600;
	color: #aa0003;
    border-bottom: double 4px #aa0003;	
    padding-bottom: 5px;
}

.entry-header{
	overflow: hidden;
}

.entry-meta{
	display: inline-block;
    vertical-align: text-bottom;
}

.post-categories{
	display: inline-block;
    list-style: none;
    background-color: #aa0003;
    padding: 0 10px;
    float: left;
    margin-right: 7px;
    font-size: 13px;
    font-weight: 600;
}

.post-categories li a{
    color: #fff;
    }
    
.entry-title{
	clear: both;
}

html .breadcrumbs{
    margin: 12px 0;
    font-size: 13px;
}

.page-header{
	display: none;
}

html h2.widget-title{
    background-color: #aa0003;
    text-align: center;
    color: #fff;
    padding: 5px 0 0px;
    font-size: 21px;
    margin-bottom: 0;
}

.site-info{
	display: none;
}

ul{
	list-style: none;
}

.post-thumbnail{
	display: none;
}
.entry-summary .post-thumbnail{
	display: block;
}
.link-more{
	display: inline-block;
	padding: 4px 1em;
	background-color: #aa0003;
	transition: .2s;
	border:1px solid #aa0003;
}
.link-more:hover{
	background-color: #fff;
}
.link-more:hover a{
	color: #aa0003;
}
.link-more a{
	transition: .2s;
	color: #fff;
	font-weight: bold;
	box-shadow: none;
	border: none;
}
.breadWrapper{
	border-top: 2px solid #ededed;
}
.breadWrapper a{
	color: #aa0003;
	text-decoration: underline !important;
}
.breadWrapper  + footer{
	padding-top: 0;
}
.post-thumbnail a{
	box-shadow: none;
}





.entry-content h1{
	position: relative;
    background-color: transparent;
	padding: 2px 5px 0px 72px;
    font-weight: 600;
    font-size: 30px;
    color: #2f2f2f;
	letter-spacing: .05em;
	border-top: solid 3px #E30012;
	border-bottom: solid 3px #E30012;
}

.entry-content h1:before{
    display: inline-block;
    position: absolute;
    padding: 0em;
    color: white;
    background-image: url(https://est4119.jp/img/common/kokochan__nagoya_s.png);
    font-weight: 600;
    width: 60px;
    text-align: center;
    height: 56px;
    line-height: 56px;
    left: 8px;
    top: calc(50% - 10px);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    border-radius: 50%;
    background-size: cover;
    content: "";
}

.entry-content h2{
    padding: 3px 10px 3px 18px;
        border-radius: 0.4em;
    background-color: #E30012;
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 22px;
    letter-spacing: .05em;
    -webkit-filter: drop-shadow(0 5px 0px rgba(193,18,32,1));
    filter: drop-shadow(0 5px 0px rgba(193,18,32,1));
}

.entry-content h3{
    background-color: #abe2c1;
    box-shadow: 0px 0px 0px 6px #abe2c1;
    border: dotted 2px #fff;
    padding: 1px 10px;
    border-radius: .2em;
    width: calc(100% - 12px);
    margin-left: 6px;
    font-size: 22px;
    font-weight: 600;
}

.entry-content h3:after{
	border: none;
}

html body .entry-content h4 {
    padding: 5px 13px;
    color: #474747;
    background-color: #fff1dd;
    border-left: solid 5px #E30012;
    border-radius: unset;
    font-size: 20px;
	font-weight: 600;
}

html body .entry-content h5{
	padding: 5px 13px;
	color: #474747;
	background: transparent;
	border-left: solid 5px #E30012;
	font-weight: 600;
	font-size: 20px;
	font-weight: 200;
}

.entry-content h6{
	font-weight: 200;
	background: linear-gradient(transparent 80%, #FFBE00 80%);
	display: block;
	padding: 0 10px;
	line-height: 1.6em;
}

.entry-content pre{
	background-color: #fddfe3;
    padding: .5em 1em;
    color: white;
    border-radius: 0.5em;
    border: none;
    font-size: 15px;
    color: #333;
}
.entry-summary-inner{
	display: flex;
	flex-wrap: wrap;
}
.entry-summary-inner .post-thumbnail{
	width: 30%;
	margin-right: 5%;
}
.entry-summary-inner p:first-of-type{
	width: 65%;
}
.entry-cateAdd span{
	background-color: #333;
	padding: 2px .8em;
}
.entry-cateAdd span a{
	color: #fff;
	font-weight: 600;
	font-size: 13px;
}
.entry-cateAdd{
	margin-bottom: 6px;
}









@media screen and (min-width: 48em){
	.has-sidebar:not(.error404) #primary{
	    width: 67%;
	}
	
	.has-sidebar #secondary{
		width: 24%;
	}
	
	.wrap{
		max-width: 980px;
		padding: 0;
	}
}

@media screen and (max-width:979px){
	html .wrap{
		width: 90%;
		padding: 0;
		margin: 0 auto;
	}
}
@media screen and (min-width:980px){
	html .wrap{
		padding: 0;
	}
	
	.entry-content .nTxt{
		text-align: center;
	}
}
@media screen and (max-width:767px){
	.entry-summary-inner{
		display: block;
	}
	.entry-summary-inner .post-thumbnail{
		width: 100%;
	}
	.entry-summary-inner p:first-of-type{
		width: 100%;
	}
	
}
/* クチコミページ start */
.CmainImg{
	width: 100%;
    margin-top: -10px;
}

.recruitment{
	text-align: center;
	color:#e65e8a;
	font-size: 16px;
	font-weight: 600;
    margin-top: 10px;
}

.boast{
	text-align:center;
	font-size: 15px;
	font-weight: 600;
	color: #454545;
	margin-top: 5px;
    margin-bottom: 12px;
}

.published{
	text-align: center;
	font-size: 14px;
	color: #454545;
	font-weight: 600;
	margin: 15px 0 20px;
    background-color: #dfdfdf;
    padding: 7px;
    }

 body.page-two-column:not(.archive) #primary #post-20 .entry-content{
	width: 100%;
}

#post-20 .entry-header{
	display: none;
}

.single-post .entry-title, .page .entry-title{
    border-bottom: double 5px #aa0003;
}

html .single .byline, html .group-blog .byline{
	display: none;
}

.entry-content a:focus, .entry-content a:hover, .entry-summary a:focus, .entry-summary a:hover, .comment-content a:focus, .comment-content a:hover, .widget a:focus, .widget a:hover, .site-footer .widget-area a:focus, .site-footer .widget-area a:hover, .posts-navigation a:focus, .posts-navigation a:hover, .comment-metadata a:focus, .comment-metadata a:hover, .comment-metadata a.comment-edit-link:focus, .comment-metadata a.comment-edit-link:hover, .comment-reply-link:focus, .comment-reply-link:hover, .widget_authors a:focus strong, .widget_authors a:hover strong, .entry-title a:focus, .entry-title a:hover, .entry-meta a:focus, .entry-meta a:hover, .page-links a:focus .page-number, .page-links a:hover .page-number, .entry-footer a:focus, .entry-footer a:hover, .entry-footer .cat-links a:focus, .entry-footer .cat-links a:hover, .entry-footer .tags-links a:focus, .entry-footer .tags-links a:hover, .post-navigation a:focus, .post-navigation a:hover, .pagination a:not(.prev):not(.next):focus, .pagination a:not(.prev):not(.next):hover, .comments-pagination a:not(.prev):not(.next):focus, .comments-pagination a:not(.prev):not(.next):hover, .logged-in-as a:focus, .logged-in-as a:hover, a:focus .nav-title, a:hover .nav-title, .edit-link a:focus, .edit-link a:hover, .site-info a:focus, .site-info a:hover, .widget .widget-title a:focus, .widget .widget-title a:hover, .widget ul li a:focus, .widget ul li a:hover{
	box-shadow: none;
	color: #aa0003;
}

html .entry-date{
	    font-size: 14px;
    background-color: #fff;
}

html .wpcr3_pagination .wpcr3_a.wpcr3_current{
	background-color: #aa0003;
}

html .wpcr3_pagination .wpcr3_a:hover{
	background-color: #e65e8a;
}

html .wpcr3_pagination .wpcr3_a{
	transition: .3s;
}
@media screen and (min-width:980px){
	.recruitment{
		font-size: 21px;
	}

	.boast{
		font-size: 27px;
	}
	
	.published{
	    font-size: 18px;
	    margin: 21px 0 47px;
	    background-color: #dfdfdf;
	    padding: 5px 0;
    }

}

 /* wp customer reviews */
html div.wpcr3_review blockquote.wpcr3_content p{
	font-size: 24px;
	color:#969592;	 
}

html div.wpcr3_rating_style1 div{
	width: 170px;
	background-size: 170px;
}

html div.wpcr3_rating_style1_base{
	width: 170px;
	height: 31px;
}

html div.wpcr3_rating_style1_average {
	background: url(newstars.png) 0 -66px no-repeat;
	background-size: 170px;
	height: 31px;
}

html .wpcr3_aggregateRating_ratingValue div.wpcr3_rating_style1_base{
	width: 340px;
	height: 62px;
	background-size: 340px;
	background-image: url(newstars.png);
}

html .wpcr3_aggregateRating_ratingValue div.wpcr3_rating_style1_average {
    background: url(newstars.png) 0 -131px no-repeat;
	background-size: 340px;
	height: 62px;
}

.wpcr3_aggregateRating_reviewCount:before {content: "全";}


html body.page-two-column:not(.archive) #primary .entry-content{
	width: 100%;
}

html .wpcr3_button_1{
    position: relative;
    margin: 18px auto 0;
    font-size: 19px;
    font-weight: 600;
    color: #fff;
    background-color: #e65e8a;
    text-align: center;
    margin-top: 28px;
    padding: 6px 0;
    width: 284px;
    border-radius: 21px;
    background-image: none;
    margin: 0 auto;
    display: block;
    transition: .3s;
    }
    
.wpcr3_aggregateRating_overallText{
    display: block;
    width: 100%;
    text-align: center;
    font-size: 18px;
    background-color:#fad2da;
    color: #e65e8a;
    font-weight: 600;
}

.wpcr3_item_name{
	display: none;
}

.wpcr3_aggregateRating{
	text-align: center;
}

.wpcr3_aggregateRating_overallText{
	padding: 4px 0;
}

.wpcr3_aggregateRating_ratingValue{
    margin: 24px 0 5px;
}

.wpcr3_aggregateRating_reviewCount{
    display: block;
    color: #868686;
    font-weight: 600;
    font-size: 13px;
}

html div.wpcr3_dotline, div.wpcr3_review{
	border-top: 4px dotted #f2acc3 !important;
	font-style: normal;
    padding: 20px 0 0;
    }

html body div.wpcr3_dotline{
	border: none !important;
	padding: 0;
}

div.wpcr3_aggregateRating{
    margin: 70px 0 47px;
    }

html div.wpcr3_review:first-child{
	border-top: 4px dotted #f2acc3;
}

div.wpcr3_review div.wpcr3_review_datePublished{
	font-style: normal;
}

.wpcr3_review_custom_label{
	color: #e65e8a;
	
}

.wpcr3_review_custom{
	font-weight: 600;
}

.wpcr3_review_custom_value{
	color: #454545;	
}

.div.wpcr3_review div.wpcr3_review_custom{
	font-size: 14px;
}

div.wpcr3_review div.wpcr3_review_title{
	margin-top: 5px;
    font-size: 18px;
    font-weight: 600;
}

.wpcr3_review{
	    background-color: #fff;
    padding: 0;

}

.wpcr3_review_ratingValue{
    background-color: #fff;
    display: block !important;
    padding: 20px 0 3px;
}

html body div.wpcr3_review div.wpcr3_review_ratingValue{
	position: static;
}

html div.wpcr3_review blockquote.wpcr3_content p{
	font-size: 14px;
	color:#454545;
}

div.wpcr3_review div.wpcr3_review_datePublished{
    margin: 0px 0 5px 5px;
    vertical-align: bottom;
    }

html .wpcr3_content p{
	font-style:normal;
}

.wpcr3_button_1:hover{
    background-image: none;
    background-color: #ef86b6;
    color: #fff;
    font-weight: 600;
    }

.wpcr3_button_1.wpcr3_cancel_btn:hover{
    background-image: none;
    background-color: #ededed;
    color: #fff;
    font-weight: 600;
    }

html body div.wpcr3_rating_style1_base{
	background: url(newstars.png) 0 -3px/170px no-repeat;
}

html div.wpcr3_review div.wpcr3_review_author{
    font-style: normal;
    vertical-align: baseline;
    }
    
.wpcr3_respond_2{
	display: block;
    background-color: #f6f6f6;
    padding: 30px !important;	
}

.wpcr3_leave_text{
	color: #e65e8a;
}

html body .text-input{
	width: 280px;
    height: 40px;
    margin: 6px 0;
    }
    
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea{
	border: 2px solid #dfdfdf;

}

tr{
	border: none;
}

.comment-field{
	font-weight: 400;
	margin-bottom: 0;
}

div.wpcr3_rating_style1_score div{
	height: 31px;
}

div.wpcr3_rating_style1_score{
	height: 31px;
}

div.wpcr3_rating_style1_status{
	height: 31px;
}

div.wpcr3_rating_style1_score div:hover{
	background-size: 170px;
}

html div.wpcr3_rating_style1_score {
    background: url(newstars.png) 0 0 no-repeat;
    }
    
div.wpcr3_rating_style1_score div:hover{
    background: url(newstars.png) 0 -65px/170px no-repeat;
	
}

.wpcr3_div_2{
	width: 100%;
}

.wpcr3_required wpcr3_ftext{
	width: 100%;
}

.wpcr3_respond_2 textarea{
	height: 130px !important;
}

.wpcr3_check_confirm{
	font-size: 14px;
}

html body .wpcr3_cancel_btn{
	background-color: #c7c7c7;
}

html body .wpcr3_cancel_btn{
	background-color: #e2e2e2;
}

.wpcr3_review_form_text_field{
	padding: 0.2em;
}

.wpcr3_review_form_rating_field td{
    padding: 21px 0;
}

.pl{
	position: relative;
}

.iconKuchikomi{
    width: 26px;
    position: absolute;
	left: 16px;
    top: 10px;
}

.wpcr3_respond_3{
	position: relative;
}

html body .wpcr3_show_btn{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    -webkit- transform: translateX(-50%);
    transition: .3s;
}

html div.wpcr3_review div.wpcr3_review_author {
    display: none !important;
}

.pink{
	font-weight: 600;
    color: #e65e8a;
}

html .site-content {
    padding: 27px 0 0;
}

.wpcr3_respond_2{
    display: none;
}

html .pushbar-ancher-content .home{
    width: 17px;
    margin-right: 5px;
}

html body .pushbar{
	line-height: 1.36;
}

.site-content-contain .icon{
	left: auto;
	background-image: none;
}

.kCaution{
    text-align: center;
    font-size: 14px;
    margin-bottom: 32px;
}

#testai::before, #nyushi::before{
	height: 6rem;
	margin-top: -6rem;
	content: "";
}
 
a.adjust{
	display: block;
	margin-top:-120px;
	padding-top:120px;
	box-shadow:none;
} 
 
@media screen and (max-width: 780px) {
	.wpcr3_review_form_text_field td{
	    width: 100%;
	    display: block;
	    margin-bottom: -12px;
	}

	.wpcr3_review_form_text_field td:nth-child(2){
		display: block;
	    margin: 0;
	    padding: 0;
    }
    
    .wpcr3_review_form_rating_field td{
	    width: 100%;
	    display: block;
	    margin-bottom: -18px;
    }
    
    .wpcr3_review_form_review_field_label{
	        margin-top: 17px;
    display: block;
    }
    
    .wpcr3_div_2{
	    width: 100%;
    }
    
    .wpcr3_table_2{
	    width: 100%;
    }
    
    .wpcr3_table_2 tbody{
	    width: 100%;
    }
    
    .wpcr3_respond_2 textarea{
	    min-width: 300px
    }
    
	.entry-content h1, .entry-post h1{
		font-size: 24px;
	}
	
	.entry-content h2, .entry-post h2{
		font-size: 18px;
	}

	.entry-content h3, .entry-post h3{
		font-size: 18px;
	}

	.entry-content h4, .entry-post h4{
		font-size: 19px;
	}

	.entry-content h4, .entry-post h4{
		font-size: 16px;
	}

	.entry-content h4, .entry-post h4{
		font-size: 15px;
	}
    

}

 /* wp customer reviews end */
/* クチコミページ end */

/* contact form7 start */
body:not(.has-sidebar):not(.page-one-column) .page-header, body.has-sidebar.error404 #primary .page-header, body.page-two-column:not(.archive) #primary .entry-header, body.page-two-column.archive:not(.has-sidebar) #primary .page-header{
	width: 100%;
}

.page .panel-content .entry-title, .page-title, body.page:not(.twentyseventeen-front-page) .entry-title{
	font-size: 25px;
}

.wpcf7-form-control-wrap{
	margin-bottom: 20px;
}

.wpcf7-form-control-wrap{
	display: block;
}
/* contact form7 end */

/* campaign-site 202105 */
.postid-3553.has-sidebar:not(.error404) #primary{
	width: 100%;
}
.postid-3553.has-sidebar #secondary{
	display: none;
}
.postid-4090.has-sidebar:not(.error404) #primary{
	width: 100%;
}
.postid-4090.has-sidebar #secondary{
	display: none;
}
.postid-5208.has-sidebar:not(.error404) #primary{
	width: 100%;
}
.postid-5208.has-sidebar #secondary{
	display: none;
}

#post-3553 .openC-title{
	margin-top: -13px;
	font-size: 2.2em;
    padding: 20px;
	text-align: center;
}
.openC-title{
	margin-top: -13px;
	font-size: 2.2em;
    padding: 20px;
	text-align: center;
}
#post-3553 .openC-button{
	background-color: #E30012;
	color: #fff;
	text-align: center;
	border-radius: 40px;
	display: block;
    box-shadow: 0 4px 0 #b1000e;
    padding: 8px;
    font-weight: 600;
	opacity: 1;
	transition: .3s;
	max-width: 340px;
	cursor: pointer;
}
#post-3553 .openC-button:hover{
	opacity: .6;
}
.opanC-subBenefit{
    padding: 30px 0 60px;
	margin: 60px 0;
}
.block2 {
	position: relative;
	z-index: 0;
	width: 100%;
}
.block2::after{
	content: '';
	position: absolute;
	left:-5vw;
	top: 0;
	transform: skewY(4deg);
	transform-origin: top right;
	z-index: -1;
	width:100vw;
	height:100%;
	background: #ffedf0;
}
.opanC-subTitle{
	font-size: 25px;
    font-weight: 600;
}
.subBenefit-detail{
    font-size: 18px;
    font-weight: 600;
    margin: 6px 0;
    background-color: #E30012;
    color: #fff;
    padding: 2px 1rem;
}
.opanC-subTitle-over{
	display: block;
    margin: 12px 0 -16px;
}
.opanC-subBenefit-h1{
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    position: relative;
    margin-bottom: 1.4rem;
}
.opanC-subBenefit-h1::after{
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%); 
    bottom: -5px;
	width: 80px;
	border-bottom: 1px solid #E30012;
	content: "";
	display: block;
}
.mainVisualAfter{
	display: block;
    margin-top: -1em;
}
.beforeTel{
	text-align:center;margin-bottom:-16px;display:block;
}
.alignChange{
	text-align: left;
}
#post-3553 .openC-button.openC-button-form{
	padding: 20px 8px;
}
.openC-button.openC-button-form{
	padding: 20px 8px;
}
.mapWrapper h3{
	max-width: 340px;
	margin-left: auto;
    margin-right: auto;
}
.opanC-subBenefit-h1-grade{
	margin-top: 4em;
}
.msg-content {
    display: flex;
    justify-content: space-between;
    margin-top: 11px;
}
.msg-content-teacher {
    flex-basis: 31%;
}
.msg-content-teacher-img {
    width: 100%;
}
.msg-content-teacher-name {
    font-size: 12px;
    color: #454545;
    text-align: center;
}
.msg-content-msg {
    font-size: 14px;
    line-height: 27px;
	flex-basis: 68%;
	text-align: left;
}
.msg-content{
	margin-bottom: 40px;
}

.openC-button{
	background-color: #E30012;
	color: #fff;
	text-align: center;
	border-radius: 40px;
	display: block;
    box-shadow: 0 4px 0 #b1000e!important;
    padding: 8px;
    font-weight: 600;
	opacity: 1;
	transition: .3s!important;
	max-width: 340px;
	cursor: pointer;
}
.openC-button:hover{
	opacity: .6;
	color: #fff!important;
}

@media screen and (min-width: 980px) {
	.home .block2::after {
		left: -5%;
		width: 110%;
	}
	.msg-content{
		margin-bottom: 60px;
	}	
	.msg-content-msg {
		flex-basis: calc(100% - 150px);
	}
	.msg-content-teacher-name {
		margin-top: 4px;
	}
	.msg-content-teacher {
		flex-basis: 136px;
	}
	.msg-content {
		align-items: center;
	}
	.mapWrapper{
		text-align: center;
	}
	iframe{
		margin: 0 auto;
		display: block;
	}
	.alignChange{
		text-align:center;
		display: block;
	}
	#post-3553 .openC-button{
		display: block;
		margin: 0 auto;
		font-size: 17px;
	}
	.beforeTel{
		margin: 10px 0;
	}
	.mainVisualAfter{
		text-align: left;
	}
	.block2::after{
		left: calc((980px - 100vw) / 2);
	}
	.opanC-subBenefit{
		padding: 30px 0 130px;
		margin: 160px 0 36px;
	}
	.opanC-subBenefit-h1 {
		font-size: 30px;
		margin-bottom: 2.4rem;
	}
	.opanC-subBenefit-h1::after {
		bottom: -8px;
		border-bottom: 2px solid #E30012;
	}
	.mainCamBefore{
		font-size: 16px;
		font-weight: 700;
		margin-bottom: 10px;
	}
	.openC-button{
		display: block;
		margin: 0 auto;
		font-size: 17px;
	}



}

@media screen and (max-width: 599px) {
	.kCaution{
		text-align: left;
	}
	.boast{
		text-align: left;
	}
	.mapWrapper h3{
		text-align: center;
		padding-top: 3px!important;
	}
}