@charset "utf-8";

/* 学校紹介 */
.principal span {
  font-size: 1.5rem;
}

.school_event {
    margin: 0 15px;
    list-style: disc;
}
.school_event li {
  margin-bottom: 15px;
}


.faculty-table {
  width: 100%;
  border-collapse: collapse;
}

.faculty-table th,
.faculty-table td {
  padding: 15px 0;
  border-bottom: 1px solid #333;
  vertical-align: top;
  font-size: 16px;
}

.faculty-table th {
  font-weight: bold;
  text-align: left;
  background: none;
}

.faculty-table tr td:nth-child(1),
.faculty-table tr th:nth-child(1) {
  width: 15%;
  padding-left: 10px;
}

.faculty-table tr td:nth-child(2),
.faculty-table tr th:nth-child(2) {
  width: 20%;
}

.faculty-table tr td:nth-child(3),
.faculty-table tr th:nth-child(3) {
  width: 65%;
}


.text-right {
  text-align: right;
}


.joho-box ul {
  margin: 0 0 0 15px;
  list-style: circle;
}

.joho-box li {
  margin-bottom: 10px;
}



/* モニター幅960px以下 */
@media only screen and (max-width:960px){
  .principal {
    justify-content: space-around;
  }

}

/* スマートフォン 横(ランドスケープ) */
@media only screen and (max-width:767px){

  .faculty-table thead {
    display: none;
  }

  .faculty-table tr {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #333;
  }

  .faculty-table td {
    display: flex;
    flex-wrap: nowrap;
    border: none;
    padding: 4px 0;
    line-height: 1.6;
  }

  .faculty-table td::before {
    width: 3.5rem;
    flex-shrink: 0;
    font-weight: bold;
    color: #333;
    display: inline-block;
  }
  
  .faculty-table tr td:nth-child(1),
  .faculty-table tr th:nth-child(1) {
    width: 100%;
    padding-left: 0px;
  }

  .faculty-table tr td:nth-child(2),
  .faculty-table tr th:nth-child(2) {
    width: 100%;
  }

  .faculty-table tr td:nth-child(3),
  .faculty-table tr th:nth-child(3) {
    width: 100%;
  }

  .faculty-table td:nth-child(1)::before {
    content: "役職：";
  }
  .faculty-table td:nth-child(2)::before {
    content: "名前：";
  }
  .faculty-table td:nth-child(3)::before {
    content: "学歴：";
  }
  .faculty-table td:nth-child(1):empty::before {
    content: "";
    width: 0;
  }

  .joho-box img {
    margin-bottom: 15px;
  }

}

/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:480px){

  


}
