#main-vis {
  height: 100vh;
  position: relative;
}
#main-vis .scroll {
  font-family: "Montserrat", sans-serif;
  font-size: 0.813em;
  font-weight: 600;
  -ms-writing-mode: tb-lr;
      writing-mode: vertical-lr;
  position: absolute;
  left: 7.8%;
  bottom: 0;
  z-index: 2;
}
#main-vis .scroll span {
  padding-bottom: 150px;
  position: relative;
}
#main-vis .scroll span::before {
  content: "";
  width: 1px;
  height: 145px;
  background: #ACACAC;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}
#main-vis .scroll span::after {
  content: "";
  width: 1px;
  height: 145px;
  background: #1A1A1A;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  -webkit-animation: scroll 1.5s cubic-bezier(1, 0, 0, 1) infinite;
          animation: scroll 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}

#slider {
  height: 100vh;
  position: relative;
}
#slider::before {
  content: "";
  width: 100%;
  height: 100vh;
  position: absolute;
  background: url(../images/top/video_mask.png);
  background-size: 2px 2px;
  z-index: 1;
}
#slider li {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
#slider li img {
  max-width: initial;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

#topnews {
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 40px 0;
}
#topnews::before {
  background: #1A1A1A;
}
#topnews dt {
  font-size: 1.313em;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  letter-spacing: 0.25em;
  width: 120px;
  background: linear-gradient(to right, #ff0000 0%, #0000ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
#topnews dd {
  font-size: 0.813em;
  width: calc(100% - 120px);
}
#topnews dd a {
  color: #fff;
  text-decoration: underline;
}

.headline {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.headline .slide {
  font-size: clamp(2.625rem, 0.301rem + 9.91vw, 6.25rem);
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  letter-spacing: 0.2em;
  overflow: hidden;
  display: inline-block;
  transform: translate(-100%, 0);
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.5s;
}
.headline .slide span {
  display: inline-block;
  transform: translate(100%, 0);
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.5s;
}
.headline .slide.anime {
  transform: translate(0, 0);
}
.headline .slide.anime span {
  transform: translate(0, 0);
}

#asapri {
  padding: 55px 0;
  position: relative;
  z-index: 2;
}
#asapri .logo {
  max-width: 525px;
  width: 55%;
  margin: 0 auto;
  position: -webkit-sticky;
  position: sticky;
  top: 20px;
  z-index: 0;
  opacity: 1;
}
#asapri .logo svg {
  width: 100%;
  height: auto;
}
#asapri .logo #mask .cls-1 {
  fill: none;
  stroke: #FFFFFF;
  stroke-width: 28;
  stroke-miterlimit: 10;
  stroke-linejoin: miter;
}
#asapri .logo #mask .cls-2 {
  fill: none;
  stroke: #FFFFFF;
  stroke-width: 48;
  stroke-miterlimit: 10;
}
#asapri .flex {
  margin-top: 55px;
  overflow: visible;
  align-items: flex-start;
}
#asapri .flex h2 {
  font-size: 2em;
  line-height: 1.938em;
  letter-spacing: 0.05em;
  width: 370px;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}
#asapri .flex .txt {
  max-width: 390px;
  width: calc(100% - 390px);
}
#asapri .flex .txt p {
  font-size: 0.938em;
  line-height: 2em;
}

.pallax {
  position: relative;
  padding: 560px 0 400px 0;
  z-index: 0;
  top: -200px;
}
.pallax .bg01 {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  top: 60px;
  z-index: -1;
  background-color: #1A1A1A;
}
.pallax .bg01::before {
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: url(../images/top/bg_parallax01.png) no-repeat;
  background-size: 100% auto;
}
.pallax .bg01::after {
  content: "";
  position: absolute;
  bottom: -1px;
  width: 100%;
  height: 100%;
  background: url(../images/top/bg_parallax02.png) no-repeat bottom right;
  background-size: 100% auto;
  z-index: 0;
}
.pallax .bg02 {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
}
.pallax .bg02::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  top: -230px;
  background: url(../images/top/bg_parallax02.svg) no-repeat top;
  z-index: 1;
}
.pallax .bg02::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  bottom: 50px;
  background: url(../images/top/bg_parallax02.svg) no-repeat top;
  z-index: 1;
  transform: rotate(-180deg);
}
.pallax .bg03 {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  top: 0px;
}
.pallax .bg03::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
  top: 210px;
  background: url(../images/top/bg_parallax04.png) no-repeat top right;
  z-index: 1;
  background-size: 49% auto;
}
.pallax .bg03::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
  bottom: 330px;
  background: url(../images/top/bg_parallax05.png) no-repeat bottom left;
  z-index: 1;
  background-size: 49% auto;
}

#service {
  color: #fff;
  position: relative;
  z-index: 3;
}
#service .column {
  max-width: 275px;
  text-align: center;
  padding: 45px 0 25px;
}
#service .column h3 {
  font-size: 0.813em;
  margin-top: 15px;
  position: relative;
}
#service .column h3::before {
  content: attr(data-en);
  font-size: 1.313rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 30px;
  padding-left: 0.2em;
}
#service .column h3::after {
  content: "";
  width: 60px;
  height: 2px;
  background: #E3E3EA;
  position: absolute;
  left: 0;
  right: 0;
  top: 2.7em;
  margin: auto;
}
#service .column figure {
  width: 57px;
  margin: 0 auto;
}

#works {
  color: #fff;
  max-width: 1280px;
  width: 100%;
  margin: 120px auto 0 auto;
  position: relative;
  z-index: 1;
}
#works .fadeorder {
  max-width: 990px;
  width: 86.4%;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-left: auto;
}
#works .fadeorder::before {
  content: "";
  width: 28.8%;
  order: 4;
}
#works .fadeorder li {
  width: 28.8%;
  opacity: 0;
  transition: 0.5s;
  transform: translateY(100px);
}
#works .fadeorder li:nth-child(1) {
  order: 1;
}
#works .fadeorder li:nth-child(2) {
  order: 2;
}
#works .fadeorder li:nth-child(3) {
  order: 3;
}
#works .fadeorder li:nth-child(4) {
  order: 5;
}
#works .fadeorder li:nth-child(5) {
  order: 6;
}
#works .fadeorder li:nth-child(6) {
  order: 7;
}
#works .fadeorder.anime li:nth-child(1) {
  opacity: 1;
  transition-delay: 0.2s;
  transform: translateY(0);
}
#works .fadeorder.anime li:nth-child(2) {
  opacity: 1;
  transition-delay: 0.4s;
  transform: translateY(0);
}
#works .fadeorder.anime li:nth-child(3) {
  opacity: 1;
  transition-delay: 0.6s;
  transform: translateY(0);
}
#works .fadeorder.anime li:nth-child(4) {
  opacity: 1;
  transition-delay: 0.8s;
  transform: translateY(0);
}
#works .fadeorder.anime li:nth-child(5) {
  opacity: 1;
  transition-delay: 1s;
  transform: translateY(0);
}
#works .fadeorder.anime li:nth-child(6) {
  opacity: 1;
  transition-delay: 1.2s;
  transform: translateY(0);
}

#news {
  position: relative;
  z-index: 1;
}
#news figure {
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
#news figure a {
  display: block;
  aspect-ratio: 126/85;
  width: 100%;
}
#news figure img {
  max-width: initial;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
#news p {
  font-size: 0.813em;
  margin-top: 15px;
}
#news p.date {
  font-size: 0.625rem;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
#news p.date span {
  font-family: "Noto Sans JP", sans-serif;
  color: #fff;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 20px;
  border-radius: 9999px;
  background: #666;
  margin-right: 10px;
}

@-webkit-keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}
/*@keyframes slide {
    0% { width: 0; }
    100% { width: auto; }
}*/
/*-----------------------------------------------------
Header
----------------------------------------------------- */
/*-----------------------------------------------------
Tb
----------------------------------------------------- */
@media screen and (max-width: 960px) {
  #main-vis {
    height: calc(100svh - 64px);
  }
  #main-vis .scroll {
    left: 10px;
  }
  #slider {
    height: calc(100svh - 64px);
  }
  #slider::before {
    height: calc(100svh - 64px);
  }
  #slider li {
    height: calc(100svh - 64px);
  }
  #asapri .logo {
    top: 120px;
  }
  #asapri .flex h2 {
    font-size: 3.4vw;
    width: 48%;
  }
  #asapri .flex .txt {
    max-width: 390px;
    width: 52%;
  }
  #works ul {
    max-width: initial;
    width: 100%;
    margin-top: 30px;
  }
  #works ul li {
    width: 33.3333333333%;
  }
}
/*-----------------------------------------------------
SP
----------------------------------------------------- */
@media screen and (max-width: 600px) {
  #main-vis .scroll {
    display: none;
  }
  .headline {
    flex-direction: column;
    align-items: flex-start;
  }
  .headline span {
    font-size: 2.625rem;
  }
  #asapri .logo {
    max-width: 183px;
    width: 55%;
  }
  #asapri .flex {
    margin-top: 55px;
  }
  #asapri .flex h2 {
    font-size: 1.625rem;
    line-height: 1.846em;
    width: 100%;
    position: static;
  }
  #asapri .flex .txt {
    max-width: inherit;
    width: 100%;
    margin-top: 15px;
  }
  #asapri .flex .txt p {
    font-size: 0.813em;
    line-height: 2em;
  }
  .pallax {
    padding: 300px 0 100px;
    top: -150px;
  }
  .pallax .bg02::before {
    top: 80px;
  }
  .pallax .bg02::after {
    bottom: -370px;
  }
  .pallax .bg03::before {
    top: 50px;
  }
  .pallax .bg03::after {
    bottom: 170px;
  }
  #service .flex {
    flex-direction: row;
  }
  #service .flex .column {
    width: 45%;
  }
  #works {
    margin-top: 60px;
  }
  #works .fadeorder {
    width: 100%;
  }
  #works .fadeorder::before {
    display: none;
  }
  #works .fadeorder li {
    width: 50%;
  }
  #works .fadeorder li:nth-child(1) {
    display: none;
  }
  #news p {
    font-size: 0.813em;
    margin-top: 15px;
  }
  #news p.date {
    font-size: 0.625rem;
    font-family: "Montserrat", sans-serif;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  #news p.date span {
    font-family: "Noto Sans JP", sans-serif;
    color: #fff;
    letter-spacing: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 20px;
    border-radius: 9999px;
    background: #666;
    margin-right: 10px;
  }
}