@charset "utf-8";
/*----------------------------------------------------
	ページリンク
----------------------------------------------------*/
.pagelink {
  margin-top: 60px;
  padding: 20px 0;
  width: 100%;
  position: relative;
}
.pagelink .oldpage {
  position: absolute;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.pagelink .newpage {
  margin-right: 0px;
  position: absolute;
  right: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.pagelink .listlink {
  width: 178px;
  position: absolute;
  left: 50%;
  top: 0;
  margin-left: -89px;
}
.pagelink .back {
  text-align: center;
}
.pagelink a {
	padding: 0 30px;
	background-color: #FCAE25;
	line-height: 40px;
	border-radius: 20px;
  color: #fff;
  height: 40px;
  display: inline-block;
  text-decoration: none;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
@media screen and  (max-width: 767px) {
	.pagelink {
		margin-top: 50px;
		padding: 10px 0;
	}
	.pagelink a {
		padding: 0 20px;
		line-height: 30px;
		border-radius: 15px;
		font-size: 11px;
		font-size: 1.1rem;
		height: 30px;
	}
}
/*----------------------------------------------------
	投稿ページスタイル
----------------------------------------------------*/
.post_info{
	margin-bottom: 15px;
}
.single_post_title{
	position: relative;
	font-size: 26px;
	font-size: 2.6rem;
	padding-bottom: 5px;
	padding-left: 15px;
	border-bottom: solid 1px #ccc;
	font-weight: 700;
	margin-bottom: 10px;
}
.single_post_title:before{
	content: "";
	display: block;
	height: 85%;
	width: 8px;
	background-color: #f5535d;
	position: absolute;
	left: 0;
	top: 0;
}
.post_info{
	text-align: right;
}
.post_info a{
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 12px;
    font-size: 1.2rem;
    padding: 0 10px;
}

.post_info.cram-school-session a,
.post_info.cram-school-news a{
	border: solid 1px #0d6fc2;
	color: #0d6fc2;
}
.post_info.cram-school-session a:hover,
.post_info.cram-school-news a:hover{
	background-color: #0d6fc2;
	color: #fff;
}
.post_info.after-school-session a,
.post_info.after-school-news a{
	border: solid 1px #f5535d;
	color: #f5535d;
}
.post_info.after-school-session a:hover,
.post_info.after-school-news a:hover{
	background-color: #f5535d;
	color: #fff;
}

.wysiwyg-fild em,
.wysiwyg-fild em span{
	font-style: italic !important;
}
.wysiwyg-fild strong,
.wysiwyg-fild strong span{
	font-weight: 600 !important;
}
.wysiwyg-fild em strong,
.wysiwyg-fild strong em{
	font-weight: 600 !important;
	font-style: italic !important;
}
.wysiwyg-fild ul{
	list-style: disc;
	padding-left: 1.5em;
	margin-top: 28px;
	margin-bottom: 10px;
}
.wp-block-button__link,
.wp-block-table,
.wp-block-file{
	margin-top: 28px;
	margin-bottom: 10px;
}
.wp-block-file__button{
    padding: .5em 1em;
}
.wysiwyg-fild ol{
	list-style-type: decimal;
	list-style-position: inside;
	margin-bottom: 8px;
}
.wysiwyg-fild blockquote {
    position: relative;
    padding: 10px 15px 10px 50px;
    box-sizing: border-box;
    font-style: italic;
    background: #efefef;
    color: #555;
	margin-top: 28px;
	margin-bottom: 10px;
}

.wysiwyg-fild blockquote:before{
    display: inline-block;
    position: absolute;
    top: 10px;
    left: -3px;
    content: "“";
    font-family: sans-serif;
    color: #cfcfcf;
    font-size: 90px;
    line-height: 1;
}

.wysiwyg-fild blockquote p {
    padding: 0;
    margin: 10px 0;
    line-height: 1.7;
}

.wysiwyg-fild blockquote cite {
    display: block;
    text-align: right;
    color: #888888;
    font-size: 0.9em;
}
.wp-block-heading{
	margin-top: 28px;
	margin-bottom: 10px;
}
.wysiwyg-fild h1 {
	position: relative;
	font-size: 26px;
	font-size: 2.6rem;
	padding-bottom: 5px;
	padding-left: 15px;
	margin-bottom: 10px;
	border-bottom: solid 1px #ccc;
	font-weight: 700;
}
.wysiwyg-fild h1:before{
	content: "";
	display: block;
	height: 85%;
	width: 8px;
	background-color: #f5535d;
	position: absolute;
	left: 0;
	top: 0;
}
.wysiwyg-fild h2 {
    position: relative;
	font-size: 20px;
	font-size: 2rem;
	margin-bottom: 10px;
	font-weight: 700;
	padding: 10px 0;
}
.wysiwyg-fild h2:before{
  position: absolute;
  content: '';
  left: 0;
  bottom: 0;
  width: 100px;
  height: 2px;
  background: #f5535d;
  z-index: 1;
}
.wysiwyg-fild h2:after{
	 position: absolute;
  content: '';
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #eee;
}
.wysiwyg-fild h3 {
	font-size: 19px;
	font-size: 1.9rem;
	margin-bottom: 9px;
	font-weight: 700;
	padding-left: 10px;
	border-left: solid 4px #f5535d;
}
.wysiwyg-fild h4 {
	font-size: 18px;
	font-size: 1.8rem;
	margin-bottom: 8px;
	font-weight: 700;
}
.wysiwyg-fild h5 {
	font-size: 17px;
	font-size: 1.7rem;
	margin-bottom: 8px;
	font-weight: 700;
}
.wysiwyg-fild h6 {
	font-size: 16px;
	font-size: 1.6rem;
	margin-bottom: 8px;
	font-weight: 700;
}
.wysiwyg-fild p {
	margin-top: 28px;
	margin-bottom: 10px;
}
.wysiwyg-fild p a{
	color: #0d6fc2;
	text-decoration: underline;
}
.wysiwyg-fild p a:hover{
	text-decoration: none;
}
h1 em,
h2 em,
h3 em,
h4 em,
h5 em,
h6 em{
	font-weight: 700;
}
@media screen and  (max-width: 767px) {
	.single_post_title{
		font-size: 20px;
		font-size: 2rem;
	}
	.wysiwyg-fild h1 {
		font-size: 19px;
		font-size: 1.9rem;
	}
	.wysiwyg-fild h2 {
		font-size: 18px;
		font-size: 1.8rem;
	}
	.wysiwyg-fild h3 {
		font-size: 17px;
		font-size: 1.7rem;
	}
	.wysiwyg-fild h4 {
		font-size: 16px;
		font-size: 1.6rem;
	}
	.wysiwyg-fild h5 {
		font-size: 15px;
		font-size: 1.5rem;
	}
	.wysiwyg-fild h6 {
		font-size: 14px;
		font-size: 1.4rem
	}
}


.aligncenter{
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignright{
	float: none;
    margin: 0 0 0 auto;
    display: block;
}
.alignleft{
	float: none;
    margin: 0 auto 0 0 ;
    display: block;
}

/*----------------------------------------------------
	追記
----------------------------------------------------*/
.supervision{
    border: solid 3px #f5535d;
    background-color: #fff;
    border-radius: 10px;
	margin-bottom: 40px;
    min-height: 330px;
}
.supervision .title{
	background-color: #f5535d;
	text-align: center;
	color: #fff;
	margin-bottom: 10px;
	padding: 10px 0;
}
.supervision .image{
	position: absolute;
	left: 40px;
	  top: 50%;
	  -webkit-transform: translateY(-50%);
	  transform: translateY(-50%);
}

.supervision .txt_box{
	position: relative;
	padding: 30px;
	padding-left: 330px;
}
.supervision .txt_box .prof_info .left{
	float: left;
	width: 40%;
	
}
.supervision .txt_box .prof_info .right{
	float: right;
	width: 60%;
	
}
.supervision .image img{
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
}
.paint_detail_wrap{
	border: solid 1px #f5535d;
	padding: 5px 15px 10px;
	margin-bottom: 30px;
}
.ba_imagewrap{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: nowrap;
    justify-content:space-between;
	margin-bottom: 30px;
}
.ba_imagewrap > div{
	position: relative;
	width: 46%;
}
.ba_imagewrap .before:after{
	content: "";
	position: absolute;
	right: -40px;
    top: 50%;
    -webkit-transform: translateY(-50%); /* Safari用 */
    transform: translateY(-50%);
    display: inline-block;
    width: 20px;
    height: 40px;
    background: #cccccc;
    clip-path: polygon(0 0, 0 100%, 100% 50%);
}
.ba_imagewrap .title{
	position: absolute;
	left: 0;
	top: 0;
	display: inline-block;
	font-weight: 700;
	padding: 2px 20px;
	background-color: #999;
	color: #fff;
}
.ba_imagewrap .after .title{
	background-color: #f5535d;
	color: #fff;
}
@media screen and  (max-width: 767px) {
	.supervision .txt_box .prof_info .left,
	.supervision .txt_box .prof_info .right{
		float: none;
		width: 100%;

	}
	.supervision .txt_box .prof_info .left{
		margin-bottom: 20px;
	}
	.supervision .image{
		position: inherit;
		left: 0;
		top: 0%;
		webkit-transform: none;
		transform: none;
		width: 50%;
		display: inline-block;
	}
	.name_wrap{
		padding: 30px 0;
		float: right;
		width: 50%;
		display: inline-block;
	}
	.supervision .image img{
		  width: 120px;
		  height: 120px;
	}
	.supervision .txt_box{
		padding: 20px;
	}
	.paint_detail_wrap{
		padding: 0 10px 5px;
	}
	.single-works-post .wysiwyg-fild h1{
		font-size: 18px;
		font-size: 1.8rem;
        padding: 5px 0 5px 35px;
	}
	.single-works-post .wysiwyg-fild h2{
		font-size: 16px;
		font-size: 1.6rem;
	}
	.ba_imagewrap{
		display: block;
	}
	.ba_imagewrap > div {
		width: 100%;
	}
	.ba_imagewrap .before{
		margin-bottom: 40px;
	}
	.ba_imagewrap .before:after{
		content: "";
		position: absolute;
		right: 0;
		left: 0;
		top: auto;
		bottom: -30px;
		margin: 0 auto;
		-webkit-transform: none; /* Safari用 */
		transform: none;
        display: inline-block;
        width: 30px;
        height: 15px;
        background: #cccccc;
        clip-path: polygon(0 0, 100% 0%, 50% 100%);
	}
}