/*//////////////////common//////////////////*/
h2{
  font-family: 'Noto Serif JP', serif;
}
h2 a{
  text-decoration: none!important;
}


li:before {
    content: none!important;
}
.content ul li{
    padding-left: 0;
    margin-top: 0;
}
.f-container{
    display:flex;
    flex-wrap: wrap;
}
.underline_title {
    position: relative;
    font-size: 16px;
    padding-bottom: 35px;
    margin: 0 auto 30px auto;
    text-align: center;
}
.underline_title::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 2px;
    height: 30px;
    margin: auto;
    background-color: #000;
}
h1.heading {
    width: 100%;
    background: #eeeeee;
    text-align: center;
    font-size: 30px;
    padding: 8px 0;
    font-family: 'Noto Serif JP', serif;

}
.block h2 {
    border-left: 4px solid #000;
    padding-left: 10px;
    margin-bottom: 10px;
}
.heading-primary{
    margin-bottom: 50px;
}
/****お問い合わせボタン****/
.btn{
    max-width: 150px;
    margin: 40px auto 60px auto;
    display: block;
}
.checkbox{
    width: 13px!important;
}
.page_contact .mast{
    display: inline-block;
    background: red;
    padding: 0 8px;
    font-size: 11px;
}
@media only screen and (max-width: 480px){
  h1.heading{
    font-size: 25px;
    padding: 5px;
  }
    .page_contact .input_item{
        display: inline-block;
    }
    .page_contact .mast{
        margin-left: 10px;
    }
}
/****ページネーション****/
.pagenation{
    margin: 50px auto;
}
.pager__item-current{
    padding: 10px!important;
}
.pager__item a{
    color: #000;
}
.pager__item-current, .pager__item:hover, .pager__item a:hover{
    background: #1d2088;
    color: #fff;
}

/*//////////////////page_fornt//////////////////*/
.page_fornt .leadcopy{
    margin: 40px auto!important;
}
.page_fornt .seitoboshu{
    position: relative;
    width: 100%;
    max-width: 630px;
    margin: 0 auto;
    padding: 25px 30px 25px 270px;
    background: #eee;
    border: solid 3px #fff;
    box-shadow: 0 0 0 5px #eee;
    font-size: 14px;
}
.page_fornt .seitoboshu img{
    position: absolute;
    bottom: -8px;
    left: -60px;
}
.page_fornt #topsec2{
    margin: 60px 0;
    padding: 50px 0;
}
.page_fornt #topsec2 .f-container, #topsec3 .f-container{
    justify-content: space-between;
}
.page_fornt #topsec2 li{
    width: 23%;
    list-style: none;
    line-height: 1.5;
}
.page_fornt #topsec2 li a, #topsec3 .block a{
    text-decoration: none;
    color: #000;
}
.page_fornt .link_text{
    display: block;
    margin-top: 10px;
}
.page_fornt #topsec3 .block{
    width: 31%;
    text-align: center;
    font-size: 14px;
    line-height: 1.7;
}
.page_fornt #topsec3 .block_linkimg{
    display: block;
    padding: 5px;
    border: 1px solid #ccc;
}
.page_fornt #topsec3 .block_linktitle{
    margin: 15px 0 10px 0;
    display: block;
    font-size: 18px;
}
.page_fornt #topsec4{
    margin-top: 50px;
}
.page_fornt #topsec4 table, .page_fornt #topsec4 table td{
    background: #fff;
    border: none;
}
.page_fornt #topsec4 table{
    width: 100%;
    margin: 50px auto;
}
.page_fornt #topsec4 table a ,.page_fornt #topsec4 table img{
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 320px;
}
.imgLiquidFill{
  height: 160px;
}

@media only screen and (max-width: 768px){
  .page_fornt .seitoboshu{
      padding:10px;
      margin-top: 10px;
      text-align: center;
  }
  .page_fornt .seitoboshu img {
      margin-top: 10px;
      width: 316px;
      left: 0;
      position: relative;
  }

    .page_fornt #topsec2 li{
        width: 48%;
        margin-bottom: 15px;
    }
}
@media only screen and (max-width: 540px){

    .page_fornt #topsec3 .block{
        width: 48%;
        margin-bottom: 30px;
    }
    .imgLiquidFill{
      height: 120px;
    }
}
@media only screen and (max-width: 480px){
    .page_fornt #topsec2{
        padding: 30px 0;
    }
    .page_fornt #topsec3 .block{
        width: 100%;
    }
}

/*//////////////////page_newscategory page_news//////////////////*/
.page_newscategory .content_ul li, .page_news .content_ul li {
    margin-bottom: 40px;
}
.page_newscategory .content_ul .left, .page_news .content_ul .left{
    width: 30%;
}
.page_newscategory .content_ul .right, .page_news .content_ul .right{
    width: 67%;
}
.page_newscategory .content_ul .date, .page_news .content_ul .date{
    font-size: 11px;
}
.page_newscategory .content_ul .category, .page_news .content_ul .category{
    margin: 5px 0;
}
.page_newscategory .content_ul .category a, .page_news .content_ul .category a{
    padding: 2px 10px;
    background: #ddd;
    display: inline-block;
    font-size: 11px;
    color: #000;
    margin: 5px 10px 15px 0;
}
@media only screen and (max-width: 540px){
    .page_newscategory .content_ul .left, .page_newscategory .content_ul .right, .page_news .content_ul .left, .page_news .content_ul .right{
        width: 100%;
    }
    .page_newscategory .content_ul .left, .page_news .content_ul .left{
        margin-bottom: 10px;
    }
}

/*//////////////////page_about//////////////////*/
.page_about section p{
    margin-bottom: 1em;
}
.page_about section p img{
    margin-top: 30px!important;
}
.page_about section{
    margin-bottom: 60px;
}
.page_about .content3 {
    max-width: 450px;
    margin: 0 auto;
}
.page_about .content3 p:first-child{
    margin-bottom: 40px;
}
@media only screen and (max-width: 540px){
    .page_about .section2{
        padding: 80px 0;
    }
}

/*//////////////////page_guide//////////////////*/

.page_guide section p{
    margin-bottom: 2.5em;
}
.page_guide .section2{
    margin-top: 70px;
}
@media only screen and (max-width: 640px){
    .page_guide .section2{
        padding: 80px 0 30px 0!important;
    }
}

/*//////////////////instructors//////////////////*/
.page_instructors .section1 {
	margin-bottom: 40px;
}
.page_instructors .section1 .cf {
}
.page_instructors .section1 .cf .left {
	width: 30%;
	float: left;
}
.page_instructors .section1 .cf .right {
	width: 65%;
	float: right;
	font-size: 14px;
}
.page_instructors .section2 ul li {
	width: 23.5%;
    float: left;
	text-align: center;
	margin-bottom: 20px;
    margin-right: 2%;
}
.page_instructors .section2 ul li:nth-child(4n){
	margin-right: 0;
}
@media screen and (max-width: 640px) {
    .page_instructors .section1 .cf .left {
		float: none;
		width: 100%;
        text-align: center;
		margin: 0 auto 20px;
	}
    .page_instructors .section1 .cf .left img{
        max-width: 250px;
    }
	.page_instructors .section1 .cf .right {
		float: none;
		width: 100%;
	}
    .page_instructors .section2 ul li {
    	width: 32%;
    }
    .page_instructors .section2 ul li:nth-child(4n){
        margin-right: 2%;
    }
    .page_instructors .section2 ul li:nth-child(3n){
        margin-right: 0;
    }
}

/*//////////////////dojo//////////////////*/
.page_dojo .block {
	margin-bottom: 70px;
}
.page_dojo .block .left {
	width: 50%;
}
.subimage li {
	margin: 0 2% 8px 0!important;
	padding: 0!important;
	width: 32%!important;
    box-sizing: border-box;
    float: left;
    cursor: pointer;
}
	.subimage li:nth-child(3n) {
		margin-right: 0!important;
	}
.subimage li.current {
	position: relative;
}
.subimage li.current:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	border: 4px solid #4347d0;
}
.page_dojo .block .right {
	width: 45%;
}
.page_dojo .block .right p {
	margin-bottom: 10px;
}
.page_dojo .block .right iframe {
	width: 100%;
	height: 400px;
}
@media screen and (max-width: 640px) {
    .page_dojo .block .left {
    	width: 100%;
    }
    .subimage li {
    	width: 32%!important;
    }
    .subimage li:not(:nth-child(3n)) {
    	margin-right: 2%!important;
    }
    .page_dojo .block .right {
    	width: 100%;
    }
    .page_dojo .block .right iframe {
    	height: 200px;
    }

}
/*//////////////////contact//////////////////*/
.page_contact table th,.page_confirm table th {
    width: 190px;
}
.page_contact table td{
    vertical-align: middle;
}
.page_contact input, .page_contact textarea{
    width: 100%;
    padding: 8px 10px;
}
.page_contact table td label{
    margin: 10px 0;
    display: block;
}
.page_contact .input_m{
    max-width: 300px;
}
.page_contact .input_l{
    max-width: 400px;
}
.page_contact .input_s{
    max-width: 150px;
}
@media screen and (max-width: 480px) {
    .page_contact table th, .page_contact table td, .page_confirm table th, .page_confirm table td {
        width: 100%;
        display: block;
    }
    .page_contact table th .mast{
        display: inline-block;
    }
    .page_contact table td{
        padding: 20px 10px;
    }
}
