/* ------------------------------------------------
 */
.post-type-archive-teacher .p-sec-h,
.tax-school-cat.-post-type-teacher .p-sec-h {
  text-align: center;
}
.post-type-archive-teacher .archive-meta,
.tax-school-cat.-post-type-teacher .archive-meta {
  text-align: right;
}

/* ------------------------------------------------
   excerpt
 */
.entries.-teacher > * {
  margin-bottom: 20px;
}
.entries.-teacher .-title {
  text-align: center;
  max-height: 1.5em;
  overflow-y: hidden;
}
.entries.-teacher .-terms:not(:last-child) {
  margin-bottom: 10px;
}
.entries.-teacher .-terms.-course {
  height: 3em;
  overflow-y: hidden;
}
.entries.-teacher .entry-term:not(:last-child) {
  margin-right: 0;
}
.entries.-teacher .entry-term:not(:last-child)::after {
  content: "、";
}
.entries.-teacher .-summary {
  border-top: 2px solid #EEE;
  margin-top: 10px;
  padding-top: 10px;
  font-size: 12px;
}

@media screen and (min-width: 768px) {
  .entries.-teacher .-fig img {
    width: 160px;
    height: 160px;
    border-radius: 80px;
  }
  .entries.-teacher .-body {
    padding: 20px;
  }
  .entries.-teacher .-fig {
    margin-bottom: 20px;
  }
  .entries.-teacher .-title {
    font-size: 20px;
  }
}
@media screen and (max-width: 767px) {
  .entries.-teacher .-fig img {
    width: 80px;
    height: 80px;
    border-radius: 40px;
  }
  .entries.-teacher .-h {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .entries.-teacher .-body {
    padding: 10px;
  }
  .entries.-teacher .-fig {
    margin-bottom: 10px;
  }
  .entries.-teacher .-title {
    font-size: 14px;
  }
  .entries.-teacher .-cat:not(:last-child) {
    margin-bottom: 10px;
  }
}

/* ------------------------------------------------
   single
*/
.entry.-single.teacher .-catch {
  position: absolute;
  width: 100%;
  background: #EFEFEF;
  padding: 10px 30px;
  font-size: 24px;
  line-height: 40px;
}
.entry.-single.-person .-terms:not(:last-child) {
  margin-bottom: 20px;
}
@media screen and (min-width: 768px) {
  .entry.-single.teacher .-catch {
    padding: 10px 30px;
    font-size: 24px;
    line-height: 40px;
  }
  .entry.-single.teacher .-body {
    padding: 110px 50px 50px;
  }
  .entry.-single.teacher .-fig {
    flex: 0 0 300px;
    max-width: 300px;
  }
  .entry.-single.teacher .-fig img {
    width: 300px;
    height: 300px;
    border-radius: 150px;
  }
  .entry.-single.teacher .-cnt {
    margin-left: 50px;
  }
  .entry.-single.teacher .-title {
    font-size: 40px;
    margin: 0 0 40px;
  }  
}
@media screen and (max-width: 767px) {
  .entry.-single.teacher .-catch {
    padding: 5px 15px;
    font-size: 16px;
    line-height: 20px;
  }
  .entry.-single.teacher .-body {
    padding-top: 50px;
  }
}

/* ------------------------------------------------
 */
.teacher .slick-dots li {
  margin: 0;
}
.teacher .slick-dots li button::before {
  width: 20px;
  height: 20px;
  font-size: 10px;
  line-height: 20px;
}


.teacher-info {
  border-top: 1px solid #EEE;
}
.teacher-info > dl > * {
  border-bottom: 1px solid #EEE;
  padding: .75em;
  margin: 0;
}
.teacher-info > dl > dt {
  font-weight: bold;
  white-space: nowrap;
}
.teacher-info a.entry-term.-school-cat {
  color: inherit;
}
.teacher-info .entry-term.-course-cat,
.teacher-info .entry-term.-lesson-style {
  background: url(../images/7YspmlFPKc8q.png) no-repeat left center;
  background-size: 1em;
  padding-left: 1.5em;
}
@media screen and (min-width: 768px) {
  .teacher-info {
    display: table;
  }
  .teacher-info,
  .teacher-message {
    margin-top: 40px;
  }
  .teacher-info > dl {
    display: table-row;
  }
  .teacher-info > dl > * {
    display: table-cell;
  }
  .teacher-info > dl > dt {
    padding-right: 2.5em;
  }
}
@media screen and (max-width: 767px) {
  .teacher-info,
  .teacher-message {
    margin-top: 40px;
  }
  .teacher-info > dl > dt {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .teacher-info > dl > dd {
    padding-top: .5em;
  }
}
