﻿@charset "UTF-8";
body {
  font-family: "Noto Sans JP", "メイリオ", "Meiryo", "ＭＳ ゴシック",
    "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", sans-serif;
}
/* スライド */
.lp-slide {
  margin: 0 auto;
  max-width: 1100px;
  width: 100%;
}
/* 画像のスタイル */
.slide-img {
  width: 100%;
  object-fit: contain;
  position: relative;
}
/* 文字のスタイル */
.text {
  color: #fff;
  font-size: 2vw;
  font-weight: 500;
 text-shadow: 2px 2px 4px #000;
  position: absolute;
  top: 5%;
  left: 5%;
}
/* アニメーションのキーフレーム設定 */
@keyframes fade-text {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}
/* テキストのアニメーション設定 */
.swiper-slide-active .text {
  animation-name: fade-text;
  animation-duration: 1s;
  animation-delay: 1.5s;
  animation-fill-mode: both;
}

/* ----------------------------------------------------------- */
/* ナビゲーションボタンと矢印のスタイル */
/* ----------------------------------------------------------- */
/* ナビゲーションボタンの丸いコンテナを定義 */
.mySwiper .swiper-button-next,
.mySwiper .swiper-button-prev {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s;
}

/* 矢印 の初期表示の色とサイズを設定 */
.mySwiper .swiper-button-next::after,
.mySwiper .swiper-button-prev::after {
  color: #afafaf;
  font-size: 24px;
  font-weight: bold;
  transition: color 0.3s;
}

/* PC環境でのホバー効果 */
.mySwiper .swiper-button-next:hover,
.mySwiper .swiper-button-prev:hover {
  background-color: rgba(0, 0, 0, 1.0);
}
.mySwiper .swiper-button-next:hover::after,
.mySwiper .swiper-button-prev:hover::after {
  color: #fff;
}

/* ----------------------------------------------------------- */
/* スマホ・タブレット向け調整 */
/* ----------------------------------------------------------- */
@media (hover: none) and (pointer: coarse) {
  /* スマホ・タブレットでは、ホバーとアクティブ（タップ）時のスタイルを初期状態に戻す */
  .mySwiper .swiper-button-next:active,
  .mySwiper .swiper-button-prev:active,
  .mySwiper .swiper-button-next:hover,
  .mySwiper .swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.3);
    color: #afafaf;
  }
  
  /* :after 擬似要素のスタイルも初期状態に戻す */
  .mySwiper .swiper-button-next:active::after,
  .mySwiper .swiper-button-prev:active::after,
  .mySwiper .swiper-button-next:hover::after,
  .mySwiper .swiper-button-prev:hover::after {
    color: #afafaf;
  }
}