/* =========================
   リセット
========================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========================
   レイアウト共通
========================= */
.fv-wrapper,
.section2-wrapper,
.section13-wrapper {
  position: relative;
  width: 100%;
}

/* =========================
   CTA 共通
========================= */
.fv-wrapper .cta {
  position: absolute;
  left: 10%;
  bottom: 24%;
  width: 45%;
  z-index: 3;
}

.fv-wrapper .cta a {
  position: relative;
  display: block;
}

.cta-img {
  transition: opacity 0.2s ease, transform 0.3s ease;
}

.cta-img.active {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

/* hover（PC） */
@media (hover: hover) {
  .fv-wrapper .cta a:hover .normal {
    opacity: 0;
  }
  .fv-wrapper .cta a:hover .active {
    opacity: 1;
  }
}


/* =========================
   section12：中央配置CTA（PC）
========================= */
.fv-wrapper.centered .cta {
  left: 50%;
  bottom: 15%;
  width: 55%;
  transform: translateX(-50%);
}



/* =========================
   YouTube埋め込み
========================= */
.overlay-video {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  aspect-ratio: 16 / 9;
  z-index: 2;
}

.overlay-video iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* section13 微調整 */
.section13-wrapper .overlay-video {
  top: 60%;
}

/* =========================
   SP（スマホ）
========================= */
@media screen and (max-width: 768px) {
  .overlay-video {
    width: 94%;
    top: 70%;
  }

  .section13-wrapper .overlay-video {
    top: 65%;
  }

  .fv-wrapper .cta,
  .fv-wrapper.centered .cta {
    left: 50%;
    bottom: 6%;
    width: 90%;
    transform: translateX(-50%);
  }
}
