@charset "utf-8";

/* ==========================================================================
   Instagram Floating Link Button
   ========================================================================== */

/* ヒーロー動画の表示設定 */
#swiper-hero .swiper-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* フローティングバナー（PC: 右下固定） */
.insta-float-banner {
  position: fixed;
  bottom: 24px;
  right: 80px; /* 右下のQロゴフッターと干渉しない位置 */
  z-index: 95;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 18px 8px 10px;
  border-radius: 50px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  color: #333333;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.insta-float-banner:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  background: #ffffff;
  color: #000000;
}

/* Instagram アイコンバッジ */
.insta-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-right: 10px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(220, 39, 67, 0.35);
}

/* 「即興川柳」テキスト */
.insta-btn-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
}

/* スマホ閲覧時：画面下部中央配置（セーフエリア対応） */
@media (max-width: 768px) {
  .insta-float-banner {
    bottom: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: auto;
    max-width: calc(100% - 40px);
    justify-content: center;
    padding: 8px 22px 8px 12px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.96);
  }

  .insta-float-banner:hover {
    transform: translateX(-50%) translateY(-2px);
  }

  .insta-btn-text {
    font-size: 0.84rem;
  }
}