@charset "UTF-8";
/*
 * 講師紹介リスト用CSS
 * スキン：shimarigaoに最適化しているので、ほかのスキンだと崩れる場合があります
 */
#instructors-list .instructors-list--wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 20px 20px;
}
#instructors-list .instructor--card {
  position: relative;
  width: calc(50% - 10px);
  box-sizing: border-box;
  border: 1px solid var(--wp--preset--color--key-color);
  padding: 5px;
  margin: 0;
}
@media screen and (max-width: 480px) {
  #instructors-list .instructor--card {
    width: 100%;
  }
}
#instructors-list .instructor--card .instructor-photo--box {
  overflow: hidden;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}
#instructors-list .instructor--card .instructor-photo--box img {
  width: auto;
  max-width: none;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media screen and (max-width: 774px) {
  #instructors-list .instructor--card .instructor-photo--box img {
    width: 180px;
    height: 180px;
  }
}
#instructors-list .instructor--card .instructor-photo--box img.instructor-img-90 {
  -o-object-position: right top;
     object-position: right top;
}
#instructors-list .instructor--card .instructor-photo--box img.instructor-img-92 {
  -o-object-position: right 60%;
     object-position: right 60%;
}
#instructors-list .instructor--card .instructor-name--box .instructor-name {
  text-align: center;
  font-size: 1.3em;
  padding: 0 0 3px;
  margin-bottom: 1em;
  border-bottom: 1px solid var(--sgm-site-key-text-color, var(--wp--preset--color--key-color));
}
#instructors-list .instructor--card .instructor-name--box .instructor-name::before, #instructors-list .instructor--card .instructor-name--box .instructor-name::after {
  content: none;
}
#instructors-list .instructor--card .instructor-text--box {
  white-space: pre-wrap;
  margin-left: 1rem;
  margin-right: 1rem;
  margin-bottom: 140px;
}
#instructors-list .instructor--card .instructor-btn--box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  margin-bottom: 0;
  right: 50%;
  transform: translateX(50%);
  bottom: 1rem;
  width: 100%;
}
#instructors-list .instructor--card .instructor-btn--box .instructor-btn {
  display: block;
  width: 75%;
  text-align: center;
  margin-top: auto;
  padding: 0.5rem 1rem;
  text-decoration: none;
  font-size: 1.2rem;
  color: var(--sgm-site-key-text-color);
  border: 1px solid var(--sgm-site-key-text-color);
  transition: 0.3s;
}
#instructors-list .instructor--card .instructor-btn--box .instructor-btn:hover {
  background-color: var(--sgm-site-key-text-color);
  color: #fff;
}
#instructors-list .instructor--card .instructor-btn--box .instructor-btn:not(:last-child) {
  margin-bottom: 0.8rem;
}