
/* 全体のインナー幅調整 */
.container-w100 {
  width: 100%;
}

.page-wrap {
  padding-top: 0;
  padding-bottom: 0;
}





/* ファーストビュー */
/* ーーーーーーーーーーーーーーーーーーーーーー */

.p-te-main-fv__video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -2;
}

.p-te-main-fv__video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-te-main-fv__text-container {
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
  z-index: 2;
  color: white;
  /* width: 50%; */
  width: 100%;
}

@media (max-width: 768px) {
  .p-te-main-fv__text-container {
    left: 50%;
    transform: translate(-50% , -50%);
    width: 100%;
    text-align: center;
  }
}

.p-te-main-fv__sub-copy {
  margin-top: 40px;
}

.p-te-main-fv__main-copy-line,
.p-te-main-fv__sub-copy-line {
  opacity: 0;
  animation: fadeInText 0.5s forwards;
}

.p-te-main-fv__text br {
  display: none;
}
@media (max-width: 768px) {
  .p-te-main-fv__text br {
    display: block;
  }
}


/* メインコピーのテキストスタイル */
.p-te-main-fv__main-copy-line .p-te-main-fv__text {
  font-size: 2.625rem;
  line-height: 1.3;
  letter-spacing: 4px; /* 文字間を少し広げる */
  font-family: var(--font-main);
  font-style: normal;
  font-weight: 600;
}

@media (max-width: 768px) {
  .p-te-main-fv__main-copy-line .p-te-main-fv__text {
    font-size: 1.5625rem;
  }
}
@media (max-width: 369px) {
  .p-te-main-fv__main-copy-line .p-te-main-fv__text {
    font-size: 1.3625rem;
  }
}

.p-te-main-fv__sub-copy-line .p-te-main-fv__text {
  font-size: 1rem;
  line-height: 1.6;
  font-family: var(--font-main);
  font-style: normal;
}

@media (max-width: 768px) {
  .p-te-main-fv__sub-copy-line .p-te-main-fv__text  {
    font-size: 0.75rem;
  }
}

.p-te-main-fv__main-copy-line .p-te-main-fv__text,
.p-te-main-fv__sub-copy-line .p-te-main-fv__text {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  animation: typing 2s steps(30) forwards;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9); /* ふんわりシャドウ */
}

.p-te-main-fv__sub-copy-line .p-te-main-fv__text {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  animation: typing 2s steps(30) forwards;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 1); /* ふんわりシャドウ */
}




.p-te-main-fv__main-copy-line:nth-child(1) .p-te-main-fv__text { animation-delay: 0.5s; }
.p-te-main-fv__main-copy-line:nth-child(2) .p-te-main-fv__text { animation-delay: 2.5s; }
.p-te-main-fv__sub-copy-line:nth-child(1) .p-te-main-fv__text { animation-delay: 5s; }
.p-te-main-fv__sub-copy-line:nth-child(2) .p-te-main-fv__text { animation-delay: 7s; }

@keyframes fadeInText {
  to { opacity: 1; }
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

.p-te-main-fv__scroll-prompt {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 16px;
  text-align: center;
  opacity: 0.8;
  letter-spacing: 1.5px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

.p-te-main-fv__scroll-prompt::after {
  content: "↓";
  display: block;
  font-size: 30px;
  margin-top: 5px;
}

/* .p-te-main-fv__spacer {
  height:  30vh;
  background: transparent;
} */


.p-te-main-fv__section-text.show {
  opacity: 1;
  transform: translateY(0);
}


@media (max-width: 768px) {
  .p-te-main-fv__main-copy-line,
  .p-te-main-fv__sub-copy-line {
    opacity: 1!important;
    animation: unset;
    line-height: 1;
  }

  .p-te-main-fv__main-copy-line .p-te-main-fv__text,
  .p-te-main-fv__sub-copy-line .p-te-main-fv__text {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    width: unset;
    animation: unset;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5); /* ふんわりシャドウ */
  }
  .p-te-main-fv__main-copy-line:nth-child(1) .p-te-main-fv__text { animation-delay: unset; }
  .p-te-main-fv__main-copy-line:nth-child(2) .p-te-main-fv__text { animation-delay:unset; }
  .p-te-main-fv__sub-copy-line:nth-child(1) .p-te-main-fv__text { animation-delay: unset; }
  .p-te-main-fv__sub-copy-line:nth-child(2) .p-te-main-fv__text { animation-delay: unset; }

  .p-te-main-fv__scroll-prompt {
    position: absolute;
    bottom: 55px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 12px;
    text-align: center;
    opacity: 0.8;
    letter-spacing: 1.5px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
  }
  
  .p-te-main-fv__scroll-prompt::after {
    content: "↓";
    display: block;
    font-size: 20px;
    margin-top: 5px;
  }
}

