/* ── alignfull の余白＆グローバルパディングをリセット ── */
.bc-zoom-slider.alignfull {
    position: relative;
    left: 50%;
    width: 100vw;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    max-width: none !important;
    padding: 0 !important;
    box-sizing: border-box;
  }
  
  /* 全体で横スクロールを隠す */
div:has(.bc-zoom-slider) {
    overflow-x: hidden !important;
}
  
  /* スライダー全体 */
  .bc-zoom-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
  }
  
  /* 各スライド */
  .zoom-slide {
    position: absolute;
    inset: 0;
  }
  
  /* 背景画像だけズーム & テキストは別レイヤー */
  .zoom-slide .wp-block-cover__image-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 8s ease;
    z-index: 1;
  }
  .zoom-slide .wp-block-cover__inner-container {
    position: relative;
    z-index: 2;
  }
  
  /* フェード */
  .zoom-slide {
    opacity: 0;
    transition: opacity 2s ease;
  }
  .zoom-slide[style*="opacity: 1"] {
    opacity: 1;
  }
  
  /* ページ送り矢印 */
  .arrow-prev,
  .arrow-next {
    position: absolute;
    bottom: 20px;
    color: #ffffff7e;
    font-size: 1.25rem;
    background: none;
    padding: 0;
    cursor: pointer;
    z-index: 3;
  }
  .arrow-prev { right: 60px; }
  .arrow-next { right: 20px; }
    .arrow-prev:hover,
    .arrow-next:hover {
      color: #ffffff;
      transition: color 0.3s ease;
    }
  
  /* スクロールインジケーター */
  .bc-zoom-slider .scroll-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 98px;
    background-color: #ccc;
    overflow: visible;
    z-index: 3;
  }
  .bc-zoom-slider .scroll-indicator::before {
    content: "SCROLL";
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    writing-mode: vertical-rl;
    font-size: 9px;
    color: #fff;
  }
  .bc-zoom-slider .scroll-indicator .fill {
    background-color: #fff;
    width: 100%;
    height: 0;
    transition: height 8s linear;
  }
  
  /* ブロックエディタ自動マージンを打ち消し */
  .bc-zoom-slider.alignfull.is-layout-constrained > * {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
  }