/* ==========================================================================
   観光スポット ギャラリーカルーセル

   対象: トップページの観光スポット紹介セクション、画像スライダー、
         ドットインジケーター、サイド画像のホバーエフェクト
   関連HTML: front-page.php / src/index.html
   関連JS: main.js のギャラリー切り替え処理
   ========================================================================== */

.gallery-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
  transform: scale(1.05);
}

.gallery-image.active {
  opacity: 1;
  transform: scale(1);
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-side {
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-side:hover {
  opacity: 0.8;
}

.gallery-side:hover img {
  transform: scale(1.05);
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.gallery-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.gallery-dot.active {
  background: white;
  transform: scale(1.2);
}

.gallery-side img {
  transition: transform 0.5s ease;
}

.gallery-side:hover img {
  transform: scale(1.08);
}
