html body {
    font-family: 'イワタ新ゴシックE';
    width: 1000px;
    margin: 0 auto;
    padding: 0;
    font-size: 16px;
    color: #292929;
  }

  li{
      list-style-type: none;
  }
  
  a {
    text-decoration: none;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }

  .poster{
    height: 50%;
    width: 50%;
    display: block;
    margin-left: 250px;
}  
  
  .text-box{
      margin-bottom: 10px;
  }
  
  .main-text{
      width: 900px;
      margin: 30px auto;
      text-align: center;
      font-size: 34px;
      font-weight: bold;
  }
  .green-attention{
      color: #009380;
  }
  .teacher-title{
      font-size: 35px;
      border: 1px solid;
      width: 300px;
      text-align: center;
  }
  
  /* --- 修正：.teacher-img --- */
.teacher-img {
    display: inline-block; /* blockから変更 */
    background-size: cover;
    background-position: center; /* 位置を中央に */
    
    /* アイコンサイズに縮小 */
    height: 40px; 
    width: 40px;
    
    /* 円形にする場合は追加 */
    border-radius: 4px; 
    
    /* margin-top: 6px; などをリセット */
    margin: 0;
}
.muto {
    background-image: url(../img/muto_name.jpg) !important; /* パスを修正 */
    background-size: 115% !important;
    background-repeat: no-repeat;
}
  
  .shida {
    background-image: url(../img/shida_name.png) !important; /* パスを修正 */
    background-size: 115% !important;
    background-repeat: no-repeat;
}
  
  .hayashi{
    background-image: url(../img/hayashi_name.jpg) !important; /* パスを修正 */
    background-size: 115% !important;
    background-repeat: no-repeat;
  }

  .tachiwaki{
    background-image: url(../img/tachiwaki_name.jpg) !important; /* パスを修正 */
    background-size: 115% !important;
    background-repeat: no-repeat;
}

.murase{
    background-image: url(../img/murase_name.jpg) !important; /* パスを修正 */
    background-size: 115% !important;
    background-repeat: no-repeat;
}

.saki{
    background-image: url(../img/saki_name.jpg) !important; /* パスを修正 */
    background-size: 115% !important;
    background-repeat: no-repeat;
}
  
  .teacher-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0,1fr));
    gap:20px;
    max-width:1000px;
    margin:0 auto;
    margin-top: 20px;
  }
  
  .teacher-text{
    text-align: left;
    margin: 10px;
  }
  
  .teacher-content{
    position:relative;
    border:1px solid;
  }
  
  /* --- 修正：.teacher-name --- */
.teacher-name {
    font-size: 26px;
    font-weight: bold;
    /* margin-left: 10px; 不要 */
    text-align: center;
    
    /* 横並びにする設定を追加 */
    display: flex;
    align-items: center;    /* 縦方向の中央揃え */
    justify-content: center; /* 横方向の中央揃え */
    gap: 10px;               /* 画像と名前の間の隙間 */
    margin-bottom: 5px;
}
  
  .teacher-movie{
      font-size: 25px;
      color: #fff;
      width: 90%;
      background-color: #000;
      align-items: center;
      margin: 0 auto;
      text-align: center;
      display: flex;
      justify-content: center;
  }

  .movie-area{
    margin: 7px auto;
    display: flex;
    justify-content: center;
}
  
  #ts_cm-banner-area {
    margin: 20px auto;
    width: 780px;
}
.ts_cm-btn {
    height: 100%;
    width: 100%;
    display: block;
    margin: auto;
}
.ts_cm-img {
    height: 100%;
    width: 100%;
    display: block;
}

.small-text{
    font-size: 20px;
}
