@charset "UTF-8";

/*
==============
	top_mainvis.css
==============
*/
section {
  position: relative;
  z-index: 1;
  background-color: white;
  &.whats_vectorsign {
    border-top: 2px solid rgba(78, 78, 209, 1);
    box-shadow: 0 -6px 4px rgba(0, 0, 0, 0.15);
  }
  &.cta {
    width: 100%;
    max-width: unset !important;
    margin: unset !important;
    ul {
      max-width: 900px !important;
      margin: 0 auto;
      li {
        flex: 1;
      }
    }
  }
}
footer {
  position: relative;
  z-index: 1;
  background-color: white;
}
.mainvis {
  position: sticky;
  top: 74px;
  z-index: 0;
  padding: unset;
  margin: unset;
  background-image: url("/assets/images/top/vis_mainvis.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-top: 2px solid rgba(78, 78, 209, 1);
  @media (max-width: 480px) {
    background-image: url("/assets/images/top/vis_mainvis_sp.webp");
  }
  .container_top {
    container-name: mainvis;
    container-type: inline-size;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    max-width: 1000px;
    margin-inline: auto;
    padding-inline: 16px;
    .group {
      order: 2;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 3cqw 0;
      width: fit-content;
      margin-bottom: 6cqw;
      padding: 3cqw 4cqw;
      border-radius: 0.4cqw;
      background-color: rgba(78, 78, 209, 0.9);
      color: white;
      cursor: default;
      @media (max-width: 480px) {
        width: 100%;
        margin-bottom: 4cqw;
        padding: 4cqw;
      }
      h1 {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.8cqw;
        width: fit-content;
        font-size: 1.4cqw;
        letter-spacing: 0.35cqw;
        @media (max-width: 480px) {
          font-size: 3cqw;
        }
        span {
          font-weight: 800;
          font-size: 4.6cqw;
          letter-spacing: 0;
          @media (max-width: 480px) {
            font-size: 8cqw;
          }
        }
      }
      .btn_wrap {
        display: flex;
        gap: 0 2cqw;
        @media (max-width: 480px) {
          gap: 0 4cqw;
        }
        .btn {
          all: initial;
          padding: 1em 2em;
          border: 2px solid white;
          border-radius: 100vmax;
          background-color: white;
          font-weight: bold;
          font-size: 2cqw;
          cursor: pointer;
          transition: transform 0.15s;
          @media (max-width: 480px) {
            padding: 1em 1em;
            font-size: 4cqw;
          }
          &.-regist {
            background-color: rgba(226, 89, 138, 1);
            color: white;
          }
          &.-about {
            color: #393939 !important;
          }
          &:hover {
            transform: scale(1.03);
          }
        }
      }
    }
    h2 {
      order: 1;
      margin: 6cqw 0 4cqw;
      line-height: 1;
      font-size: 4cqw;
      text-shadow: 0.04em 0.04em 0 rgba(255, 255, 255, 1);
      @media (max-width: 480px) {
        width: 100%;
        margin: 8cqw 0 64cqw;
        text-shadow:
          0.06em 0.06em 0.01em rgba(255, 255, 255, 1),
          -0.06em 0.06em 0.01em rgba(255, 255, 255, 1),
          0.06em -0.06em 0.01em rgba(255, 255, 255, 1),
          -0.06em -0.06em 0.01em rgba(255, 255, 255, 1);
        overflow: hidden;
      }
      > span {
        position: relative;
        right: -30cqw;
        opacity: 0;
        &:nth-of-type(1) {
          animation: catchcopy1 0.2s 0.5s ease-out forwards;
        }
        &:nth-of-type(2) {
          animation: catchcopy2 0.2s 0.75s ease-out forwards;
        }
        &:nth-of-type(3) {
          animation: catchcopy3 0.3s 1.5s ease-out forwards;
          span {
            margin-inline: unset;
            font-size: 1.75em;
            line-height: 1.3;
          }
        }
        span {
          margin-inline: -1cqw;
          color: rgba(78, 78, 209, 0.9);
          font-size: 2em;
        }
      }
      @media (max-width: 480px) {
        font-size: 7cqw !important;
      }
    }
    img {
      position: absolute;
      top: 0;
      right: 0;
      height: 100%;
    }
  }
}
@keyframes catchcopy1 {
  to {
    right: 0;
    opacity: 1;
  }
}
@keyframes catchcopy2 {
  to {
    right: 0;
    opacity: 1;
  }
}
@keyframes catchcopy3 {
  to {
    right: 0;
    opacity: 1;
  }
}
/*
section.mainvis {
  margin: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  background-image: url("/assets/images/top/vis_mainvis.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
section.mainvis img {
  max-width: 100%;
}
section.mainvis ul {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
}
section.mainvis ul li {
  width: 50%;
  position: relative;
}
section.mainvis ul li:first-child img {
  margin-left: 50px;
}
section.mainvis .wrap_btn {
  position: absolute;
  bottom: 60px;
  left: 0;
  right: 0;
  margin: auto;
  max-width: 460px;
}
section.mainvis .wrap_btn a {
  font-size: 16px;
  line-height: 50px;
  color: #fff;
  padding: 0 0;
  margin: 10px auto;
  border-radius: 40px;
  width: 60%;
  display: block;
}
section.mainvis .wrap_btn a:first-child {
  background: #e05b8a;
}
section.mainvis .wrap_btn a:first-child:hover {
  background: #fff;
  color: #e05b8a !important;
}
section.mainvis .wrap_btn a:last-child {
  color: #5f57ca;
  background: #fff;
  font-size: 14px;
}
section.mainvis .wrap_btn a:last-child:hover {
  background: #5f57ca;
  color: #fff !important;
}
section.mainvis .wrap_btn a:hover,
section.top_block.cta li a.btn:hover {
  background: #eee;
  color: #5f57ca !important;
}

@media (max-width: 767px) {
  section.mainvis .wrap_btn {
    bottom: 5px;
    left: auto;
    right: 5px;
  }
  section.mainvis .wrap_btn a.btn {
    font-size: 14px;
    line-height: 40px;
    padding: 0 10px;
    width: auto;
  }
  section.mainvis .wrap_btn a.btn:last-child {
    font-size: 12px;
  }
}
*/
