/**
 * Anemone Premium Carousel Style
 * Center Mode カルーセルデザイン
 */

.anemone-fv-slider-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 40px 0 20px;
  background-color: #f7f0d6; /* 一瞬黒くチラつくのを防止するため明るいゴールド/ベージュトーンに固定 */
  background-image: url('../images/fv-background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-sizing: border-box;
}

.anemone-fv-swiper {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px 0 100px;
  overflow: visible;
  opacity: 0; /* JS初期化前・スティング再生前のチラつきを0秒化するため初期隠蔽 */
  transition: opacity 0.4s ease;
}

/* スライダー準備完了（またはスティング終了時）に表示 */
.anemone-fv-swiper.is-ready {
  opacity: 1;
}

/* スライドの基本状態 (切替スピードを 0.6s -> 0.45s に短縮してキレ良く) */
.anemone-fv-swiper .swiper-slide {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.45s ease, 
              filter 0.45s ease;
  transform: scale(0.80);
  opacity: 0.5;
  filter: blur(2px);
  box-sizing: border-box;
}

/* アクティブスライド（中央：1.05倍に拡大し、メリハリを最大化） */
.anemone-fv-swiper .swiper-slide-active {
  transform: scale(1.05); /* 等倍から1.05倍へ拡大し、中央の主役感を引き立てる */
  opacity: 1;
  filter: blur(0);
}

/* スライド内画像のスタイリング（角丸を無くしてシャープにし、アネモネ標準のアイキャッチ比率 16:9 に統一） */
.anemone-fv-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9; /* アネモネWEBの記事アイキャッチ画像と完全一致させ、バナー作成・運用の手間をゼロに */
  border-radius: 0; /* 角丸なし（シャープ仕様） */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  object-fit: cover;
  transition: box-shadow 0.4s ease, transform 0.4s ease, opacity 0.4s ease;
}

/* 中央のアクティブ画像のみ、シャドウを少し強くして浮かび上がらせる */
.anemone-fv-swiper .swiper-slide-active img {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.22);
}

/* 画像クリック時のホバーエフェクト（バナーリンク用） */
.anemone-fv-swiper .swiper-slide a {
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
}

/* マウスオーバー（ホバー）時にアネモネゴールド（#c9a84c）の光彩エフェクトがふわっと広がる演出 */
.anemone-fv-swiper .swiper-slide a:hover img,
.anemone-fv-swiper .swiper-slide a:focus img {
  box-shadow: 0 0 25px rgba(201, 168, 76, 0.8), 0 15px 35px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px); /* 少し浮き上がらせる */
  opacity: 1;
}

/* --- 左右ナビゲーションボタン（矢印）のカスタマイズ --- */
.anemone-fv-swiper .swiper-button-next,
.anemone-fv-swiper .swiper-button-prev {
  color: #c9a84c; /* 矢印の色をアネモネゴールドに変更 */
  background-color: rgba(255, 255, 255, 0.85); /* 背景サークル（白半透明） */
  width: 46px;
  height: 46px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease, transform 0.3s ease;
  z-index: 50 !important; /* スライドのリンクが重なるのを防ぐためz-indexを引き上げて!importantを付与 */
}

/* 矢印ボタンのホバー挙動 */
.anemone-fv-swiper .swiper-button-next:hover,
.anemone-fv-swiper .swiper-button-prev:hover {
  background-color: rgba(255, 255, 255, 1);
  transform: scale(1.05);
}

/* 矢印のアイコンサイズ調整 */
.anemone-fv-swiper .swiper-button-next::after,
.anemone-fv-swiper .swiper-button-prev::after {
  font-size: 18px;
  font-weight: bold;
}

/* 画面端に密着させないよう少し内側に寄せる */
.anemone-fv-swiper .swiper-button-prev {
  left: 20px;
}
.anemone-fv-swiper .swiper-button-next {
  right: 20px;
}

/* モバイル（スマホ）での矢印の非表示化（スワイプ中心のため邪魔にならないようにする） */
@media (max-width: 767px) {
  .anemone-fv-swiper .swiper-button-next,
  .anemone-fv-swiper .swiper-button-prev {
    display: none; /* スマホではスワイプしやすいよう矢印を非表示 */
  }
  .anemone-fv-slider-wrapper {
    padding: 20px 0 10px; /* 下部の無駄な余白を45pxから10pxに縮小 */
  }
  .anemone-fv-swiper {
    padding: 10px 0 75px; /* 下部パディングを75pxにして、画像とドットの間の適度な距離を確保 */
  }
  .anemone-fv-swiper .swiper-pagination {
    bottom: 15px !important; /* ドット位置を調整し、ドット直下の余白を狭める */
  }
  .anemone-fv-swiper .swiper-slide img {
    border-radius: 0;
    aspect-ratio: 16 / 9;
  }
}

/* --- ページネーション（ドット）のカスタマイズ --- */
.anemone-fv-swiper .swiper-pagination {
  bottom: 25px !important; /* 下部パディング100pxに合わせて位置を25pxに設定（画像下端と75px以上の間隔を確保して別物感を強調） */
  z-index: 50 !important; /* スライドバナーリンクと重なってクリックが遮られるのを防ぐためにz-indexを明示 */
}

.anemone-fv-swiper .swiper-pagination-bullet {
  background: #ffffff; /* 通常のドットカラーを白に統一 */
  opacity: 0.6;
  width: 14px; /* ドットサイズをさらに拡大（押しやすさ向上） */
  height: 14px;
  margin: 0 10px !important; /* 間隔をさらに広げてタップミスを防ぐ */
  transition: background-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}

/* アクティブなドット（宇宙背景に映えるようアネモネゴールドに変更） */
.anemone-fv-swiper .swiper-pagination-bullet-active {
  background: #c9a84c; /* アクティブ時にアネモネゴールドを適用 */
  opacity: 1;
  transform: scale(1.15); /* アクティブなドットを少し大きく */
}

/* ==========================================
   ロゴスティング (現行 anemone-web.com と100%完全一致する上品な表現)
   ========================================== */

/* オーバーレイコンテナ (z-indexを999にしてスライダー画像の一瞬の露出を100%防止) */
.anemone-fv-sting-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999; /* スライダー全体の上に最前面で確実に表示 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  opacity: 1;
  transition: opacity 0.4s ease-out; /* 0.8s -> 0.4s に短縮してパッとキレ良く切り替える */
  pointer-events: auto;
  overflow: hidden;
  box-sizing: border-box;
  padding: 0;
}

/* 超軽量189KB動画: 背景としてコンテナ一杯に配置 (現行サイトと同じ動画) */
.anemone-fv-sting-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

/* フェードアウト中クラス */
.anemone-fv-sting-overlay.is-fading {
  opacity: 0;
  pointer-events: none;
}

/* ロゴスティングコンテンツ保持枠 */
.anemone-fv-sting-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
  padding: 20px;
  box-sizing: border-box;
}

/* 現行公式FVロゴ画像（FVlogo_img.png - 文字・球体がすべて一体になった公式本物素材） */
.anemone-fv-sting-fvlogo-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  margin: 0 auto;
  opacity: 0;
  transform: scale(0.96);
  animation: stingFvLogoNaturalFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
  /* 余計なCSSシャドウやフィルターを一切かけず、公式素材本来の品格を100%維持 */
}

@keyframes stingFvLogoNaturalFade {
  0% {
    opacity: 0;
    transform: scale(0.96);
  }
  100% {
    opacity: 1;
    transform: scale(1.0);
  }
}

@media (max-width: 767px) {
  .anemone-fv-sting-fvlogo-img {
    max-width: 320px;
  }
}


