.slideshow-container {
    width: 900px;  /* 幅を固定値に変更 */
    height: 300px; /* 高さを新たに設定 */
    position: relative;
    margin: auto;
    overflow: hidden; /* コンテナ外の内容を隠す */
  }
  
  .mySlides {
    display: none;
    position: relative; /* 相対位置を設定 */
    width: 100%;  /* コンテナ全体に広がるよう設定 */
    height: 100%; /* コンテナの高さに合わせる */
  }
  
  .mySlides img {
    width: 100%;  /* 画像をコンテナの幅に合わせる */
    height: 100%; /* 画像をコンテナの高さに合わせる */
    object-fit: cover; /* 画像を切り取ってコンテナに合わせる */
    object-position: center; /* 画像の中央をコンテナの中央に配置 */
  }
  
 /* スライドショーのフェードエフェクトを改善 */
 .mySlides {
    position: absolute;  /* 位置を絶対位置に設定 */
    width: 100%;  /* コンテナ全体に広がるよう設定 */
    height: 100%; /* コンテナの高さに合わせる */
    opacity: 0;  /* 初期状態は透明 */
    transition: opacity 1s ease-in-out;  /* 透明度の変更にトランジションを適用 */
  }
  
  .mySlides img {
    width: 100%;  /* 画像をコンテナの幅に合わせる */
    height: 100%; /* 画像をコンテナの高さに合わせる */
    object-fit: cover; /* 画像を切り取ってコンテナに合わせる */
    object-position: center; /* 画像の中央をコンテナの中央に配置 */
  }
  
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 3px;
    user-select: none;
    z-index: 3;  /* ナビゲーションボタンを前面に保持 */
  }
  
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  .prev {
    left: 0;
    border-radius: 0 3px 3px 0;
  }
  
  