.teacher__list--flex {
  display: flex;
  width: 100%;
  color: #fff;
  justify-content: space-between;
  flex-wrap: wrap;
}

.teacher__flex__box {
  display: block;
  margin-bottom: 15px;
  padding: 15px;
  width: 350px;
  background-color: #000;
  box-shadow: 5px 5px 15px rgba(0,0,0,0.5);
}

.teacher__profile {
  display: flex;
  padding-bottom: 15px;
}

.teacher__box__photo {
  display: block;
  margin: 0 15px 0 0;
  padding: 0;
}
.teacher__box__proflink::after {
  position: absolute;
  display: block;
  margin-top: -20px;
  width: 90px;
  height: 20px;
  background-color: #0066ff;
  content: "プロフィール";
  text-align: center;
  line-height: 1.2rem;
  font-size: .8rem;
}
.teacher__box__proflink {transition: 0.3s;}
.teacher__box__proflink:hover {transform: rotate(10deg);}


.teacher__profile__text {
  width: 100%;
}

.teacher__box__title, .teacher__box__name, .teacher__box__kana {
  margin: 0;
  padding: 0;
  line-height: 1rem;
}

.teacher__box__title {
  font-size: 1rem;
}

.teacher__box__name {
  font-size: 2rem;
  line-height: 2.5rem;
  font-weight: 900;
  color: #00acff;
}
.teacher__box__name span {
  display: block;
  color: #00acff;
  font-weight: 900;
}
/* 卍さんの名前を文字詰め、調整 */
.teacher__box__name span:nth-child(1) {
  /* font-size: 1.2rem;
  line-height: 1.5rem; */
  letter-spacing: -2px;
}

.teacher__box__kana {
  font-size: .8rem;
}

.teacher__box__url {
  position: absolute;
  display: block;
  margin-top: 80px;
  width: 90px;
  height: 20px;
  background-color: #0066ff;
  text-align: center;
  line-height: 1.2rem
}

.teacher__box__url a {
  color: #fff;
  font-size: .7rem;
  text-decoration: none;
}

.teacher__items__box {
  border-top: 1px solid #00acff;
}
.teacher__items__box table {
  border-collapse:collapse;
}
.teacher__items__box tr {
  border-bottom: 1px solid #00acff;
}

.teacher__items__list {
  display: flex;
  width: 100%;
  height: 3rem;
  border-bottom: 1px solid #00acff;
  justify-content: space-between;
}

.teacher__items {
  display: block;
  height: 2.8rem;
  font-size: .8rem;
  /*line-height: 2.8rem;*/
  /* 幅360pxな４～５年前の端末向けの対応 - 2021/03/10 */
  line-height: 1rem;
}
td.teacher__items {display: table-cell;}
td.teacher__items:nth-child(1) {
  line-height: 1rem;
  font-weight: 500;
}
.teacher__items--button a {
  display: block;
  padding: 5px 0;
  height: 2rem;
  line-height: 1.4rem;
  /*background-color: #0066ff;*/
  text-decoration: none;
  /*color: #fff;*/
  border-radius: 5px;
  white-space: nowrap;
  transition: 0.5s;
  text-align: center;
  font-weight: 500;
}
/*.teacher__items--button a:hover {
  background-color: #fff;
  color: #0066ff;
}*/
td.teacher__items--button {
 text-align: right;
 width: 4rem;
}


/* ステータス */
.status__wait {
  background-color: #666;
  color: #fff;
}
.status__view {
  background-color: #fff;
  color: #0066ff;
}
/*.status__view:hover {
  background-color: #0066ff;
  color: #fff;
}*/
.status__buy {
  background-color: #0066ff;
  color: #fff;
}
/*.status__buy:hover {
  background-color: #fff;
  color: #0066ff;
}*/
.status__view:hover, .status__buy:hover {
  transform: scale(1.5, 1.5);
}


/* 2021/12/24 - プロフィールページ実装用 */
.page--profile--teacher h2.profile-item {margin-top: 10px;}
.teacher--blank, .teacher--blank tbody {width: 100%;}
.teacher--blank {
  margin: -10px auto 0 auto;
  padding: 0;
}
.teacher--blank tbody {
  display:flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.teacher--blank tr {
  display: flex;
  width: 330px;
  font-size: .8rem;
  border-bottom: 1px solid #00acff;
}
.teacher--blank td.teacher__items  {
  display: flex;
  height: 45px;
  line-height: normal;
  align-items: center;
  word-break: keep-all;
}
.teacher--blank td.teacher__items:nth-child(1) {width: 130px;}
.teacher--blank td.teacher__items:nth-child(2) {width: 85px;}
.teacher--blank td.teacher__items:nth-child(3) {width: 45px; justify-content: end;}
.teacher--blank td.teacher__items:nth-child(4) {width: 70px; justify-content: end;}
.teacher--blank .teacher__items--button a {width: 100%;}



@media screen and (max-width: 1000px) {

  .teacher__list--flex {
    justify-content: center;
  }

  .teacher__flex__box {
    padding-bottom: 0;
    width: 100%;
    min-height: auto;
  }

  .teacher__box__title {font-size: .9rem;}

  .teacher__box__name.arrow_down {
    background: url(./arrow_down.png) no-repeat right center/25px;
  }
  .teacher__box__name.arrow_up {
    background: url(./arrow_up.png) no-repeat right center/25px;
  }

  .teacher__items__box {
    display: none;
    padding-bottom: 15px;
  }

  .teacher__items:nth-child(1) {
    width: 120px;
  }


  .teacher__items {font-size: .7rem;}
  .teacher__items:nth-child(1) {width: calc( 95% - 110px );}
  .teacher__items:nth-child(2) {width: calc( 80% - 110px );}
  .teacher__items:nth-child(3) {width: 40px; justify-content: end;}
  .teacher__items:nth-child(4) {width: 70px;}


  /* 2021/12/24 - プロフィールページ実装用 */
  .page--profile--teacher h2.profile-item {margin-top: 20px;}
  .teacher--blank tr {width: 100%;}
  /*.teacher--blank td.teacher__items {font-size: .7rem;}
  .teacher--blank td.teacher__items:nth-child(1) {width: calc( 60% - 60px + 75px );}
  .teacher--blank td.teacher__items:nth-child(2) {width: calc( 40% - 60px + 75px );}*/
  .teacher--blank td.teacher__items:nth-child(1) {width: calc( 95% - 120px );}
  .teacher--blank td.teacher__items:nth-child(2) {width: calc( 80% - 120px );}
  .teacher--blank td.teacher__items:nth-child(3) {width: 50px; justify-content: end; padding-right: 5px;}
  .teacher--blank td.teacher__items:nth-child(4) {width: 70px; justify-content: end;}

}
