@charset "utf-8";

/* 基本設定 */
  /* body {
      font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
      background-color: #f9f9f9;
      margin: 0;
      padding: 20px;
      color: #333;
  } */

  /* 外側の枠（表示領域） */
  .slideshow-container {
      max-width: 600px;
      position: relative;
      margin: auto;
      margin-bottom: 30px;
      background: #fff;
      padding: 5px;
      /* padding: 20px; */
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
      overflow: hidden; /* はみ出しを隠す */
      touch-action: pan-y; /* 縦スクロールは許可、横スワイプはJSで制御 */
  }

  /* スライドのレール（横長の帯） */
  .slider-track {
      display: flex;
      width: 100%;
      /* アニメーション設定: 0.6秒かけて滑らかに移動 */
      transition: transform 0.6s ease-in-out; 
  }

  /* 個々のスライド */
  .mySlides {
      min-width: 100%; 
      box-sizing: border-box;
      text-align: center;
      padding: 0 10px;
  }

  /* 画像のスタイル */
  .slide-image {
      width: 100%;
      height: auto;
      /* max-width: 400px; */
      display: block;
      margin: 20px auto;
      filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.2));
      user-select: none;
      -webkit-user-drag: none;
  }

  /* テキストエリア */
  .text-header {
      font-size: 1.6rem;
      /* font-size: 1.2rem; */
      font-weight: bold;
      color: #002e5d;
      text-align: left;
      margin-bottom: 10px;
  }

  .text-body {
      font-size: 1.5rem;
      /* font-size: 0.9rem; */
      color: #333;
      text-align: left;
      line-height: 1.6;
      margin-top: 10px;
  }

  /* 前へ・次へボタン */
  .prev, .next {
      cursor: pointer;
      position: absolute;
      top: 50%;
      width: auto;
      padding: 16px;
      margin-top: -50px;
      font-weight: bold;
      font-size: 40px;
      transition: 0.3s ease;
      user-select: none;
      background: transparent;
      border: none;
      z-index: 10;
  }

  .prev { left: 0; color: #00c3ff; }
  .next { right: 0; color: #ff0080; }

  .prev:hover, .next:hover { opacity: 0.7; }

  /* ドットインジケーター */
  .dot-container {
      text-align: center;
      margin-top: 20px;
  }

  .dot {
      cursor: pointer;
      height: 12px;
      width: 12px;
      margin: 0 8px;
      background-color: transparent;
      border: 2px solid #00c3ff;
      border-radius: 50%;
      display: inline-block;
      transition: background-color 0.3s ease;
  }

  .active, .dot:hover {
      background-color: #00c3ff;
  }