:root{
  --member-page-font-color: #979797; 
  /* 
  var(---member-page-font-color)*/
}

.member-kind {
  margin: 1rem 2rem 0.5rem 2rem;
  font-size: 2rem;
}

.student-kind{
  margin: 2rem auto 1rem 2rem;
  font-size: 1.4rem;
}

.student-number{
  margin-left: 3rem;
}

.teachers {
  margin-top: 0;
  padding: 4rem 4rem 0 4rem;
}

.students {
  margin: 0rem 4rem 8rem 0rem;
  padding: 0rem 4rem;
}

.teacher {
  margin: 3rem 2rem 8rem 2rem;
  border-bottom: solid;
}

.short-prof{
  margin-bottom: 2rem;
  display:flex;
  align-items:center;
}
.details-title{
  padding: 1px;
  box-shadow: 2px 2px 2px rgba(0,0,0,0.15);
}

.details-title:hover{
  box-shadow: 2px 2px 2px rgba(0,0,0,0.7);
}

.short-prof img{
  box-shadow: 5px 5px 5px rgba(0,0,0,0.6);
  width: 13vw;
}

.short-prof .short-prof-text {
  margin-left: 2rem;
}

.details-wrapper {
  margin-top: 1rem;
  display: flex;
}

.details-title {
  margin-right: 0.5rem;
}

/* 吹き出し本体の背景色用 */
.popup {
  position: relative;
  display: none;
  background: #fff;
  padding: 16px;
  font-weight: bold;
  color: #000;
  border: 4px solid #d5d5d5;
  box-sizing: border-box;
}

/* 吹き出しのしっぽ：本体の背景色用 */
.popup:before {
  content: "";
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  border: 12px solid transparent;
  border-bottom: 12px solid #fff;
  z-index: 2;
}

/* 吹き出しのしっぽ：枠線の色用 */
.popup:after {
  content: "";
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  border: 14px solid transparent;
  border-bottom: 14px solid #d5d5d5;
  z-index: 1;
}

ul .teachers{
  padding: 0;
}



/* タブレット用 */
@media screen and (max-width: 959px) {
  .teachers{
    padding: 0;
  }

  .students{
    padding: 0;
  }
  .short-prof img{
    width: 20vw;
  }
}

/* スマホ用 */
@media screen and (max-width: 480px) {
  .short-prof img{
    width: 30vw;
  }
  .details-title{
    font-size: 0.5rem;
  }
}
