.nav {
  top: 76px;
}
.nav li {
  border-width: 2px !important;
  width: 100%;
  margin: 0 1%;
}
.nav li a {
  padding: 12px 3%;
}

.main_b {
  margin: 0 auto 0;
}
.main_b .content_b .top_search h4 {
  margin: 30px 0 10px;
}
.main_b .content_b .top_search h4:first-of-type {
  margin-top: 0;
}
@media screen and (max-width: 768px) {
  .main_b {
    margin: 0 auto 0;
  }
}

.content_b.top_page {
  width: 100%;
}

.sidemenu {
  width: 28%;
  padding: 2%;
}
@media screen and (max-width: 768px) {
  .sidemenu {
    width: 100%;
    padding: 0 0 0;
  }
  .sidemenu h3 {
    text-align: center;
    font-size: 180%;
  }
}

/****************** toppage ******************/
.top_search {
  max-width: 960px;
  margin: 45px auto 0;
  padding: 2%;
  background-color: #eef8f0;
}

@media screen and (max-width: 768px) {
  .top_search {
    padding: 2%;
    width: 96%;
    margin: 0 auto 0;
  }
}
/****/
.search-form h4 {
  font-size: 1.2rem;
  margin: 15px 0 10px;
  color: #74a46e;
}
.search-form .form-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}
.search-form .form-checkbox-group label {
  padding: 5px 10px;
  font-size: 16px;
}
.search-form input[type=text] {
  width: 100%;
  max-width: 500px;
  padding: 5px 10px;
}
.search-form input[type=textarea] {
  width: 100%;
  max-width: 500px;
  padding: 5px 10px;
}
.search-form input[type=submit] {
  margin: 25px auto;
  display: block;
  background-color: #ff9d00;
  border: none;
  padding: 12px 10px;
  width: 50%;
  max-width: 200px;
  min-width: 100px;
}
.search-form input[type=checkbox] {
  margin: 0 5px 0 0;
  /* font-size: 15px; */
}
@media screen and (max-width: 768px) {
  .search-form .search-form .form-checkbox-group label {
    padding: 8px 28px;
    font-size: 16px;
  }
}

/* search.php */
.blog_page {
  padding: 4% 0 0;
}
@media screen and (max-width: 768px) {
  .blog_page {
    padding: 0 0;
  }
  .blog_page .result p {
    margin: 0;
  }
}

li.deta_link p {
  margin: 0;
}

li.deta_link .pref {
  display: none;
}

li.t-block .pref {
  display: block;
}

/* archive.php - earch.php */
.category-article li {
  width: 100%;
  margin: 0 0 10px;
}
.category-article li .pref {
  padding: 0 10px;
  margin: 0 0 10px;
  background-color: #fdf9db;
  width: 100%;
}
.category-article li:nth-child(odd) .label_box {
  background-color: #f8f8f8;
}
.category-article li .label_box {
  border: 3px solid #83b0a6;
  padding: 0 1% 1% 1%;
}
.category-article li .label_box > p {
  padding: 0 4px;
}
.category-article li .label_box .category {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.category-article li .label_box .category span {
  margin: 5px 5px 2px 0;
  background: #fff;
  padding: 0 5px;
  color: #658c70;
  font-size: 90%;
  border-radius: 6px;
  border: 2px dotted #79a384;
}
.category-article li .label_box .txt_box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 98%;
  margin: 0 auto;
}
.category-article li .label_box .txt_box .class_title {
  font-size: 122% !important;
  width: 98%;
  border-bottom: dotted 2px #ccc;
  margin: 0 auto 10px;
}
.category-article li .label_box .txt_box .class_title span {
  background: #ede7d4;
  padding: 5px;
  font-size: 84%;
  color: #886d2e;
}
@media screen and (max-width: 768px) {
  .category-article li .label_box .txt_box .class_title span {
    padding: 0 5px;
    display: block;
    margin: 0 0 10px;
  }
}
.category-article li .label_box .txt_box .img {
  width: 20%;
  overflow: hidden;
  max-height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.category-article li .label_box .txt_box .img img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
}
.category-article li .label_box .txt_box .txt_box_l {
  width: 80%;
  padding: 0 1%;
}
.category-article li .label_box .txt_box .txt_box_l p {
  margin: 0 0 10px;
}
.category-article li .label_box .txt_box .txt_box_l .blog_link {
  margin-bottom: 10px;
}
.category-article li .label_box .txt_box .txt_box_l .blog_link a {
  display: block;
  background: #f8973b;
  padding: 1% 3%;
  border-radius: 25px;
  color: #fff;
  width: 80%;
  max-width: 270px;
  position: relative;
  transition: 0.6s;
}
.category-article li .label_box .txt_box .txt_box_l .blog_link a::after {
  display: block;
  content: "";
  width: 15px;
  height: 15px;
  border-right: 3px solid #FFF;
  border-top: 3px solid #FFF;
  transform: rotate(45deg);
  position: absolute;
  right: 21px;
  top: 34%;
}
.category-article li .label_box .txt_box .txt_box_l .blog_link a:hover {
  background: #fcab60;
}
.category-article li .label_box .txt_box .txt_box_l .blog_link.to_mailform a {
  max-width: 380px;
  background: #3fa070;
}
.category-article li .label_box .txt_box .txt_box_l .blog_link.to_mailform a:hover {
  background: #7eb392;
}
@media screen and (max-width: 768px) {
  .category-article li .label_box .txt_box .txt_box_l {
    width: 100%;
  }
  .category-article li .label_box .txt_box .txt_box_l .blog_link.to_mailform a {
    width: 100%;
  }
}

/* single.php */
/* single */
.lesson_detail_box table tr th {
  width: 18%;
  padding: 1%;
  background-color: #f1f2df;
  border-bottom: 10px solid #fff;
}
.lesson_detail_box table tr td {
  width: 78%;
  padding: 1%;
}
.lesson_detail_box table tr td .lesson_detail {
  display: flex;
  flex-wrap: wrap;
  line-height: 1.6em;
}
.lesson_detail_box table tr td .lesson_detail .lecturer_name {
  width: 70%;
}
.lesson_detail_box table tr td .lesson_detail .image_box {
  width: 30%;
  max-width: 500px;
  margin: 10px 0;
  text-align: center;
}
.lesson_detail_box table tr td .lesson_detail .image_box img {
  width: auto !important;
  max-width: 100%;
  height: auto;
  max-height: 300px;
}
.lesson_detail_box table tr td .lesson_detail .message {
  font-size: 90%;
  line-height: 1.7em;
}
.lesson_detail_box table tr td .taikenkai {
  color: #f37878;
  border: solid 2px #ffabab;
  width: 38px;
  text-align: center;
  border-radius: 50%;
}
.lesson_detail_box table tr td span {
  font-size: 96%;
  color: #535353;
  background: #cce3b8;
  padding: 5px;
}
.lesson_detail_box table tr td .to_mailform {
  width: 100%;
  max-width: 500px;
}
.lesson_detail_box table tr td .to_mailform a {
  display: block;
  padding: 10px 0;
  text-align: center;
  background: #3fa070;
  border-radius: 35px;
  color: #fff;
  font-size: 120%;
}
@media screen and (max-width: 768px) {
  .lesson_detail_box table tr td .lesson_detail .lecturer_name {
    width: 100%;
  }
  .lesson_detail_box table tr td .to_mailform a {
    font-size: 86%;
  }
}

/* pager */
.main_b .content_b h2.screen-reader-text {
  display: none;
}

.nav-links {
  width: 90%;
  margin: 0 auto;
}
.nav-links ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.nav-links ul.page-numbers li {
  margin: 5px;
}
.nav-links ul.page-numbers li .page-numbers {
  display: block;
  display: block;
  text-align: center;
  border-radius: 10px;
  padding: 5px 15px;
  color: #fff;
  font-size: 120%;
  color: #83b0a6;
  border: #83b0a6 solid 2px;
  transition: 0.6s;
}
.nav-links ul.page-numbers li .page-numbers.current {
  background-color: #83b0a6;
  color: #fff;
}
.nav-links ul.page-numbers li .page-numbers.current:hover {
  background-color: #83b0a6;
}
.nav-links ul.page-numbers li .page-numbers.next {
  width: 100px;
}
.nav-links ul.page-numbers li .page-numbers.prev {
  width: 100px;
}
.nav-links ul.page-numbers li .page-numbers:hover {
  background-color: #c7dfda;
}

/**/
.content_b.pages_box .content-title-box {
  margin: 30px 45px 0;
}

.mailform_lesson {
  padding: 2%;
  margin: 0 auto;
  width: 90%;
  /* max-width: 650px; */
}
.mailform_lesson label {
  width: 90%;
  max-width: 590px;
  color: #568051;
  font-weight: bold;
}
.mailform_lesson label span {
  color: #ea8908;
}
.mailform_lesson input,
.mailform_lesson textarea {
  width: 90%;
  max-width: 590px;
  padding: 0 5px;
}
.mailform_lesson p.form_txt span {
  font-size: 90%;
}

.wpcf7 input[type=url],
.wpcf7 input[type=email],
.wpcf7 input[type=tel],
.wpcf7 input[type=text] {
  width: 90%;
  max-width: 590px;
  padding: 0 5px;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
  max-width: 400px;
  padding: 10px;
  border-radius: 15px;
  background: #ff9100;
  border: solid 3px #7f5710;
}

.submitbtn {
  text-align: center;
  margin: 50px 0;
}

.form_subbox {
  margin: 0 0 40px;
}/*# sourceMappingURL=each.css.map */