@charset "UTF-8";
/*講師紹介　一覧＆詳細*/
/*講師一覧*/
.lecturer h1 {
  margin-bottom: 60px;
}

.lecturer-box {
  overflow: hidden;
  margin-bottom: 30px;
}
.lecturer-box a {
  overflow: hidden;
  padding: 20px;
  border: 2px solid #ccc;
  display: block;
  box-shadow: 0 0 3px #ccc;
  position: relative;
  top: 0;
  left: 0;
}
.lecturer-box a:hover {
  background: #fff2f2;
  border: 2px solid #8e2940;
}

.lecturer-imgbox {
  margin: 0 auto 10px auto;
  overflow: hidden;
  max-width: 150px;
  max-height: 150px;
}

.lecturer-box .lecturer-imgbox img {
  -webkit-transition: .5s ease;
  -moz-transition: .5s ease;
  -ms-transition: .5s ease;
  -o-transition: .5s ease;
  transition: .5s ease;
  width: 100%;
  transform: scale(1);
  display: block;
}

.lecturer-box:hover .lecturer-imgbox img {
  transform: scale(1.1);
}

.lecturer h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.excerpt-box p {
  line-height: 1.2;
  font-size: 1.4rem;
  margin-bottom: 0;
}

.eyecatching img {
  max-width: 400px;
  width: 100%;
}

@media (max-width: 991px) {
  .eyecatching img {
    max-width: 300px;
  }

  .post-content h1 {
    font-size: 2.4rem;
    margin-bottom: 30px;
  }
}
@media (max-width: 575px) {
  .lecturer h1{
    margin-bottom: 30px;
  }
  .lecturer-box a {
    padding: 10px;
    border: 1px solid #ccc;
  }
  .lecturer-box a:hover {
    border: 1px solid #8e2940;
  }
  .lecturer-box a .lecturer-imgbox {
    max-width: 100px;
    max-height: 100px;
  }
  .lecturer-box a .post-content h1 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
}
/*講師詳細*/
.single-lecturer h1 {
  text-align: left;
}
.single-lecturer h1::after {
  border: none;
}
.single-lecturer h2 {
  margin: 0;
  background: none;
  padding: 0;
  border: none;
}

.lecturer-table table {
  border: 1px solid #ccc;
  width: 100%;
}
.lecturer-table table tr {
  width: 100%;
}
.lecturer-table table tr:not(:last-child) {
  border-bottom: 1px dotted #ccc;
}
.lecturer-table table th {
  vertical-align: middle;
  background: #f3f3f3;
  width: 20%;
  min-width: 8em;
  padding: 10px;
}
.lecturer-table table td {
  padding: 10px;
  vertical-align: middle;
  width: 80%;
}

.lecturer-link a {
  color: #3366ff;
  font-weight: bold;
}

.single-news h2 {
  margin-bottom: 10px;
  border-bottom: none;
  font-weight: bold;
  font-size: 2.4rem;
}
.single-news h2:first-letter {
  font-size: 2.4rem;
  color: #333;
}
.single-news h2:after {
  border-bottom: none;
}

@media (max-width: 767px) {
  .lecturer-table table,
  .lecturer-table table tbody,
  .lecturer-table table tr,
  .lecturer-table table th,
  .lecturer-table table td {
    display: block;
    width: 100%;
  }
}
