.kv-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* スライドショー */
.slider .slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s;
}
.slider .active {
  opacity: 1;
}

/* グラデーション帯共通（4色グラデ） */
.gradient-top,
.gradient-bottom {
  position: absolute;
  width: 100%;
  background: linear-gradient(135deg, #FF08EF, #FD82F5, #FAD7F6, #EDF562);
  z-index: 2;
  pointer-events: none;
}

.gradient-top {
  top: 0;
}

.gradient-bottom {
  bottom: 0;
}

/* キャッチコピー */
.headline-text {
  position: absolute;
  left: 5%;
  z-index: 3;
  color: white;
  font-size: 2.2rem;
  font-weight: bold;
  font-family: 'Noto Sans JP', sans-serif;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* スマホ表示 */
@media screen and (max-width: 768px) {
  .kv-container {
    height: 100vh;
  }

  .gradient-top {
    height: 100px;
    clip-path: polygon(0 0, 100% 0, 100% 65%, 0 100%);
  }

  .gradient-bottom {
    height: 120px;
    clip-path: polygon(0 40%, 100% 0, 100% 100%, 0% 100%);
  }

  .headline-text {
    top: 9%;
    font-size: 1.6rem;
  }
}

/* PC表示 */
@media screen and (min-width: 1025px) {
  .kv-container {
    height: 110vh; /* 上下スペースを広めにとる */
  }

  .gradient-top {
    height: 220px;
    clip-path: polygon(0 0, 100% 0, 100% 60%, 0 100%);
  }

  .gradient-bottom {
    height: 220px;
    clip-path: polygon(0 30%, 100% 0, 100% 100%, 0% 100%);
  }

  .headline-text {
    top: 26%;
    font-size: 2.4rem;
  }
}
