@charset "UTF-8";

/* LOADING LOGO */
#loading {
  display: block;
  position: fixed;
  left: 0;
  text-align: center;
  width: 100%;
  height: 100%;
  top: 0;
  background-color: #000;
  z-index: 100;

  background-image: url("/wp/wp-content/themes/ryukyuYKK/_assets/img/common/loading_sp@1.5x.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

}
#graph {
  position: absolute;
  top: 60px;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  margin: auto;
} /* graph */

#loading_logo_image {
  aspect-ratio: 600 / 61;
  max-width: 300px;

  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;

  & img {width: 100%;}
}
@media (min-width: 768px) {
  #loading {
    background-image: url("/wp/wp-content/themes/ryukyuYKK/_assets/img/common/loading_pc@1.5x.webp");
  }
  #loading_logo_image {
    max-width: 450px;
  }
  #graph {height: 6px;top: 100px;}
}


@media (max-width: 767px){
  .is_index_header-logo {display: none;}
}

.main_lead_wrap {
  position: absolute;
  width: 100%;
  height: fit-content;

  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 10;

  padding: 0 20px;
}

.main_lead {
  display: block;
  width: calc(453px / 1.75);
  height: auto;
}


@media (min-width: 768px){
  .is_index_header-logo {
    position: absolute;
    top: 50px;
    left: 50px;
    z-index: 10;
    width: 363px;
  }

  .main_lead_wrap {
    max-width: 1512px;
    padding: 0 36px;
  }

  .main_lead {
    width: 453px;
  }
}



#loading_sequence {
  position: fixed;
  top: -120%;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 101;
  transition: 1.6s;
  background-color: #fff;

  &.ready {top: 0;}

  & .scafold_container {
    height: 100%;

    & .background {
      display: block;
      height: 100%;
      position: relative;

      & source,
      & img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;

        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
      }
    }
  }

  & .official_logo {
    position: absolute;
    width: 250px;
    height: fit-content;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;

    opacity: 1;
    transition: 1.5s;
  }
  &.show_image {
    & .official_logo {
      opacity: 0;
    }
  }

  &.hide_image {
    opacity: 0;
  }
}

.topMv.top-swiper {
  height: 100vh;

  & .swiper-slide {
    & source,
    & img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
}

@media (min-width: 768px){
  #loading_sequence {
    & .official_logo {
      width: 500px;
    }
  }
}

@media (max-width: 767px){
  .scafold_container {
    height: 100%;

    & .background {
      display: block;
      height: 100%;
      position: relative;

      & source,
      & img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;

        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
      }
    }
  }
}


/* 2024.11.12 ADD */
.data_view_contents {
  width: calc(100% - 30px);
  margin: auto;

  & iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
  }
}

.workPic .swiper .swiper-wrapper .swiper-slide iframe,
.sketchfab-embed-wrapper iframe {
  width: 100%;
  height: 100%;
}

.l-strength {
  margin-bottom: 45px;
  li {
    margin-top: 45px;
  }
}

@media (min-width: 768px){
  .data_view_contents {
    width: 100%;
    max-width: 640px;
  }

  .l-strength {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin-top: 95px;
    margin-bottom: 125px;

    li {
      max-width: 373px;
      margin-top: 0;
    }
  }
}

/* END 2024.11.12 ADD */


/* 2024.12.16 ADD */
@media (min-width: 1080px){
  .process {
    justify-content: center;
    li {max-width: 255px;}
  }
}
/* END 2024.12.16 ADD */
/* 2024.12.26 ADD */
#main .secTopProduct {
  & .btn_wrapper {
    display: flex;
    justify-content: center;
    grid-row-gap: 25px;
    flex-direction: column;
    margin: 4.5rem auto 0;
    & .btn {margin: auto;width: 210px;}
  }
}
#flow {
  padding-top: 56px;
  margin-top: -56px;
}
@media (min-width: 1080px){
  #main .secTopProduct {
    & .btn_wrapper {
      grid-column-gap: 50px;
      flex-direction: inherit;
      grid-row-gap: 0;
      margin: 9rem auto 0;
      & .btn {margin: 0;width: 240px;}
    }
  }

  #flow {
    padding-top: 115px;
    margin-top: -100px;
  }
}
/* END 2024.12.26 ADD */
