.top_bg {
  position: relative;
  width: 100%;
}

.top_bg::before {
  content: '';
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100vh;
  position: fixed;
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% auto;
  background-color: #4eeaff;
  animation-name: mainbg;
  animation-duration: 4s;
  animation-delay: 0s;
  animation-fill-mode: forwards;
}

.webp .top_bg::before {
  width: 100%;
  background-image: url(../img/top/top.webp);
}

.no-webp .top_bg::before {
  width: 100%;
  background-image: url(../img/top/top.jpg);
}

@keyframes mainbg {
  0% {
    background-size: 100% auto;
  }

  100% {
    background-size: 105% auto;
  }
}

.top {
  position: relative;
  width: 100%;
  height: 100vh;
}

.top-logo {
  position: fixed;
  z-index: -1;
  width: 44%;
  top: 6%;
  right: 8%;
}

.top-catch {
  position: absolute;
  width: 30%;
  top: 20%;
  left: 10%;
}

.top-catch-text {
  position: fixed;
  z-index: -1;
  width: 30%;
  top: 20%;
  left: 10%;
  text-align: center;
  font-size: min(28px, 2.8vw);
  font-weight: 600;
  letter-spacing: 0.15em;
}

/* ワイドディスプレイ対応 */
@media screen and (min-aspect-ratio: 2/1) {
  .top-logo {
    top: 17.5%;
  }

  .top-catch-text {
    top: 10%;
    right: 15%;
    left: initial;
  }
}

a.anchor {
  display: block;
  margin-top: -80px;
  padding-top: 80px;
}

@media screen and (min-width: 1px) and (max-width: 750px) {

  .top_bg::before {
    background-size: 100% auto;
  }

  .webp .top_bg::before {
    width: 100%;
    background-image: url(../img/top/sp_top.webp);
  }
  
  .no-webp .top_bg::before {
    width: 100%;
    background-image: url(../img/top/sb_top.jpg);
  }

  .top-logo {
    position: fixed;
    width: 90%;
    top: 18%;
    right: 5%;
  }
  
  .top-catch {
    position: absolute;
    width: 100%;
    top: 10%;
    left: 0;
  }

  .top-catch-text {
    width: 100%;
    top: 10%;
    left: 0;
    font-size: min(20px, 5.13vw);
  }

}

@media screen and (min-width: 751px) and (max-width: 1024px) {
  .top_bg::before {
    background-position: center center;
    background-size: contain;
  }
  
  .webp .top_bg::before {
    width: 100%;
    background-image: url(../img/top/tb_top.webp);
  }
  
  .no-webp .top_bg::before {
    width: 100%;
    background-image: url(../img/top/tb_top.jpg);
  }
  
  .top-logo {
    position: fixed;
    width: 60%;
    top: 18%;
    right: 20%;
  }
  
  .top-catch {
    position: absolute;
    width: 100%;
    top: 8%;
    left: 0;
  }

  .top-catch-text {
    width: 100%;
    top: 10%;
    left: 0;
    text-align: center;
    font-size: min(24px, 2.96vw);
    font-weight: 600;
    letter-spacing: 0.15em;
  }

}

@media screen and (min-width: 1025px) {

}