@font-face {
  font-family: "CNN";
  src: url("../assets/fonts/cnn.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
.top-loading {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: "Roboto", sans-serif;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.is-loaded .top-loading {
  pointer-events: none;
}
.top-loading.is-hidden {
  opacity: 0;
  visibility: hidden;
}
.top-loading-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
}
.top-loading-inner {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  transition: opacity 0.25s ease;
}
.is-loaded .top-loading-inner {
  opacity: 0;
}
.top-loading-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  opacity: 0;
  transform: translateX(0) translateY(0) translateZ(0) scale(1.1);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.top-loading.is-logo-visible .top-loading-logo {
  opacity: 1;
  transform: translateX(0) translateY(0) translateZ(0) scale(1);
}
.top-loading-indicator {
  position: absolute;
  right: 0;
  bottom: 80px;
  left: 0;
  max-width: 200px;
  margin: 0 auto;
  color: #333333;
}
.top-loading-progress {
  position: relative;
  width: 0;
  height: 1px;
  background-color: #cccccc;
  transition: width 0.35s cubic-bezier(0.5, 0.125, 0.25, 1);
}
.top-loading-progress-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.top-loading-progress-line-inner {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 25%;
  height: 100%;
  background-color: #333333;
  transform: translateZ(0);
  transition: transform 0.5s cubic-bezier(0.5, 0.125, 0.25, 1);
}
.top-loading-progress-number {
  position: absolute;
  top: 50%;
  left: 100%;
  margin-left: 10px;
  font-size: 10px;
  transform: translate3d(0, -50%, 0);
}
@keyframes progress-line {
  0% {
    transform: translateZ(0);
  }
  50% {
    transform: translate3d(400%, 0, 0);
  }
  to {
    transform: translate3d(400%, 0, 0);
  }
}
.main-pv {
  position: relative;
  height: calc(100vh - 55px);
  min-height: 600px;
  overflow: hidden;
  font-family: "Roboto", sans-serif;
  line-height: 1.75;
}
.main-pv-movie {
  position: relative;
  z-index: 0;
  width: 100%;
  height: inherit;
  min-height: inherit;
  overflow: hidden;
}
.main-pv-movie::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 170, 255, 0.25);
  pointer-events: none;
}
.main-pv-movie video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.main-pv-text {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: inherit;
  min-height: inherit;
}
.main-pv-text .text-container {
  position: relative;
  width: 100%;
  height: 100%;
}
.main-pv-text .text-main {
  position: relative;
  width: 100%;
  height: 100%;
}
.main-pv-text .text-item {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.main-pv-text .text-item.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
}
.main-pv-text .text-body {
  width: 100%;
  text-align: center;
}
.main-pv-text .text-box {
  color: rgba(255, 255, 255, 0.5);
  font-size: 85px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.07em;
  transition: 0.3s ease-out;
}
.main-pv-text .text-box.text-box-sp {
  font-family: "CNN", sans-serif;
  font-weight: 400;
}
.main-pv-text .text-box.text-box-alt {
  font-size: 65px;
}
.main-pv-text .text-box.text-box-sub {
  color: rgba(255, 255, 255, 0.625);
  font-size: 30px;
  font-family: "kozuka-mincho-pro", serif;
  font-weight: 900;
  font-style: normal;
  line-height: 1.25;
}
.main-pv-text .text-box + .text-box.text-box-sub {
  margin-top: 0.25em;
}
.main-pv-text .text-inline {
  position: relative;
  display: inline-block;
}
.main-pv-text .text-char {
  display: inline-block;
  opacity: 0;
  backface-visibility: hidden;
  transform: translate3d(-50px, 0, 0);
  transition: transform 0.5s cubic-bezier(0.35, 0.1, 0.2, 1), opacity 0.3s cubic-bezier(0.35, 0.1, 0.2, 1);
}
.main-pv-text .text-item.is-active .text-char {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.main-pv-text .text-item.is-text-complete .text-char {
  transition: none;
}
.main-pv-text .text-pagination {
  position: absolute;
  top: 0;
  bottom: 0;
  left: auto;
  right: 50px;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-flow: column;
  justify-content: center;
  width: auto;
  margin-top: auto;
  margin-bottom: auto;
}
.main-pv-text .text-pagination-number {
  position: relative;
  display: block;
  color: #ffffff;
  font-size: 18px;
}
.main-pv-text .text-pagination-number:not(:first-child) {
  padding-top: 5px;
  margin-top: 5px;
}
.main-pv-text .text-pagination-number:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  display: flex;
  justify-content: center;
  width: 36px;
  height: 1px;
  background-color: #ffffff;
  transform: translateX(-50%) translateY(-1px);
}
.main-pv-scroll {
  position: absolute;
  bottom: 30px;
  right: 80px;
  z-index: 1;
  color: #ffffff;
  backface-visibility: hidden;
  transform: rotateZ(90deg);
  transform-origin: right bottom;
}
.main-pv-scroll .scroll-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}
.main-pv-scroll .scroll-text {
  display: block;
  position: relative;
  margin-left: 10px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.main-pv-scroll .scroll-bar {
  position: relative;
  display: block;
  width: 70px;
  height: 1px;
  margin: auto;
  background-color: #ffffff;
  animation: scroll-down 2s cubic-bezier(0.75, 0, 0.25, 1) infinite;
}
@keyframes scroll-down {
  0% {
    transform: scaleX(0);
    transform-origin: left;
  }
  50% {
    transform: scaleX(1);
    transform-origin: left;
  }
  51% {
    transform: scaleX(1);
    transform-origin: right;
  }
  to {
    transform: scaleX(0);
    transform-origin: right;
  }
}
@media (max-width: 767px) {
  .top-loading-logo img {
    width: 120px;
    height: auto;
  }
  .top-loading-indicator {
    bottom: 60px;
    max-width: 150px;
  }
  .main-pv {
    min-height: 520px;
  }
  .main-pv-text .text-body.text-body-sp {
    height: calc((38vw / 430 * 100) * 3 + (16vw / 430 * 100) * (1.25 * 2 + 0.25));
  }
  .main-pv-text .text-box {
    font-size: calc(42vw / 430 * 100);
    letter-spacing: 0.05em;
  }
  .main-pv-text .text-box.text-box-alt {
    font-size: calc(38vw / 430 * 100);
  }
  .main-pv-text .text-box.text-box-sub {
    font-size: calc(16vw / 430 * 100);
  }
  .main-pv-text .text-char {
    transform: translate3d(-25px, 0, 0);
  }
  .main-pv-text .text-item.is-active .text-char {
    transform: translate3d(0, 0, 0);
  }
  .main-pv-text .text-pagination {
    top: auto;
    right: auto;
    bottom: 20px;
    left: 20px;
    margin-top: 0;
    margin-bottom: 0;
  }
  .main-pv-text .text-pagination-number {
    font-size: 14px;
  }
  .main-pv-text .text-pagination-number:not(:first-child)::before {
    width: 21px;
  }
  .main-pv-scroll {
    right: 45px;
    bottom: 20px;
  }
  .main-pv-scroll .scroll-text {
    font-size: 12px;
  }
  .main-pv-scroll .scroll-bar {
    width: 50px;
  }
}
