.mainimg_fixbg{
	position: fixed;
}
.mainbg {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 111;
}
.mainmovie{
  width: 100vw;
  height: 100dvh;
  object-fit: cover;
}

.mainimg_fixbg_filter{
	content:"";
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-color: rgba(255,255,255,0.95);
}
.mainbg_text {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 6%;
    height: max-content;
    margin: auto;
    line-height: 1.7;
    font-size: .54rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    width: fit-content;
    animation: optextFade 1.0s ease-in forwards;
    animation-delay: 0.2s;
    opacity: 0;
    color: #C35427;
	/*
    -webkit-text-stroke: 4px #ffffff;
    text-stroke: 2px black;
    paint-order: stroke;
	*/
    text-shadow: #fff 0 0 9px, #fff 0 0 9px, #fff 0 0 9px, #fff 0 0 9px, #fff 0 0 9px, #fff 0 0 9px, #fff 0 0 9px, #fff 0 0 9px, #fff 0 0 9px, #fff 0 0 9px;
}

@keyframes optextFade {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
.main_blue {
  width: 100%;
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1111;
}

.main_blue_text {
    flex: 0 1 auto;
    width: fit-content;
    font-size: .36rem;
    font-weight: 500;
    text-align: center;
    line-height: 2.2;
    margin-top: -60px;
    margin-left: 33px;
    letter-spacing: 0.15em;
    transition: 0.7s;
}

.main_blue_text.show{
  opacity: 1!important;
}

.top_empty {
  width: 100%;
  height: 1300px;
}

.top-scroll-anime{
  transition-duration: 1s;
  transition-delay: 0.2s;
}

.contents {
  padding-top: 2800px;
  position: relative;
  top: 0;
  left: 0;
  z-index: 11111;
  background-color: #EFEFEF;
}

header {
  z-index: 111111;
}

footer {
  background-color: #fff;
  position: relative;
  z-index: 11111;
}
@media screen and (min-width: 801px) and (max-width: 900px) {
.mainbg_text{
    font-size: .45rem;
}
}
@media screen and (max-width: 800px) {

  .background-image video {
    height: 100dvh;
    transition: 0.5s;
  }

  .mainbg {
    height: 100dvh;
    transition: 0.5s;
  }
  
  .mainmovie {
    height: 100dvh;
    transition: 0.5s;
  }
  .main_blue {
    height: 100dvh;
    transition: 0.5s;
  }

.mainbg_text {
    font-size: .32rem;
    writing-mode: vertical-rl;
	top: 11.5%;
    left: 0;
    right: 0;
    margin: auto;
}

    .top-scroll-anime p {
        font-size: .16rem;
        margin-bottom: 5px;
        margin-left: 14px;
    }

 .main_blue_text {
    font-size: .21rem;
    writing-mode: vertical-rl;
    line-height: 3.1;
    margin-top: 6px;
    letter-spacing: 0.06em;
    margin: 14px auto 0;
}

	.top-scroll-anime {
        left: 2px;	
		right: auto;
		bottom: 7px;
	}

  .scroll-anime-border {
    height: 79px;
  }

  .main_blue img {
    top: 5px;
    width: 165px;
  }

 .contents {
   padding-top: 2500px;
  }
}

