@charset "UTF-8";

@import url("https://fonts.googleapis.com/css?family=Staatliches&display=swap");
body {
  font-family: "Staatliches", cursive;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.main-content {
	  margin-bottom:0em;
}

.main-section {
  height: 100vh;
  background-color: #313234;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-section:nth-child(odd) {
    background-color: #1C1C1C;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding-right: calc(50vw - 50%);
    padding-left: calc(50vw - 50%);	
}
main .progress-bar {
  position: fixed;
  top: 0;
  height: 3px;
  width: 0;
  background-image: linear-gradient(90deg, #B8C1E5 0%, #FF2E38 100%);
  z-index: 11;
  transition: width 0.2s;
  will-change: width;
}

.text-animation {
  position: absolute;
  z-index: 3;
}
.text-animation__container {
/*   font-size: 8vw; */
  font-size: clamp(43px, 8vw, 150px);	
  padding: 0 1.2vw;
  overflow: hidden;
}
.text-animation__container span {
  color: #fff;
  display: inline-block;
  letter-spacing: -5px;
  transform: translate3d(0, 200px, 0);
  will-change: transform;
}
.text-animation__container span:nth-child(1) {
  transition-delay: 0ms;
}
.text-animation__container span:nth-child(2) {
  transition-delay: 50ms;
}
.text-animation__container span:nth-child(3) {
  transition-delay: 100ms;
}
.text-animation__container span:nth-child(4) {
  transition-delay: 150ms;
}
.text-animation__container span:nth-child(5) {
  transition-delay: 200ms;
}
.text-animation__container span:nth-child(6) {
  transition-delay: 250ms;
}
.text-animation__container span:nth-child(7) {
  transition-delay: 300ms;
}
.text-animation__container span:nth-child(8) {
  transition-delay: 350ms;
}
.text-animation__container span:nth-child(9) {
  transition-delay: 400ms;
}
.text-animation__container span:nth-child(10) {
  transition-delay: 450ms;
}
.text-animation__container span:nth-child(11) {
  transition-delay: 500ms;
}
.text-animation__container span:nth-child(12) {
  transition-delay: 550ms;
}
.text-animation__container span:nth-child(13) {
  transition-delay: 600ms;
}
.text-animation__container span:nth-child(14) {
  transition-delay: 650ms;
}
.text-animation__container span:nth-child(15) {
  transition-delay: 700ms;
}
.text-animation__container span:nth-child(16) {
  transition-delay: 750ms;
}
.text-animation__container span:nth-child(17) {
  transition-delay: 800ms;
}
.text-animation__container span:nth-child(18) {
  transition-delay: 850ms;
}
.text-animation__container span:nth-child(19) {
  transition-delay: 900ms;
}
.text-animation__container span:nth-child(20) {
  transition-delay: 950ms;
}
.text-animation--up span {
  transform: translate3d(0, -200px, 0);
  transition: transform 1.15s cubic-bezier(0.6, 0, 0.2, 1);
}
.text-animation--middle span {
  transform: translate3d(0, 0, 0);
  transition: transform 1.15s cubic-bezier(0.6, 0, 0.2, 1);
}

.head-logo {
   margin-bottom: -22%;
/*    position: absolute; */
   display: flex;
   justify-content: space-around;	
}

@media screen and (max-width: 834px){
	.head-logo img {
		max-width: 50%;
	  }
/* 	.head-logo {*/
/* 	   margin-bottom: -22%;
 	   position: absolute;
	   margin-left: 16%; */
/* 	   animation-name:fadeIn;
	   animation-duration:4s;		 */
	/*}*/
}

div.head-logo {
  animation-name: fadeIn;
  animation-duration: 5s;
  animation-timing-function: ease;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-fill-mode: backwards;
  animation-delay: 8.5s;	
}
 
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* .head-logo fadein-logo {
    opacity: 0;
    transform: translate(0,0);
    transition: all 1.5s;
    transform: translate(0,-30px);	
} */

/* スクロールダウンの位置 */
/* .scroll {
  position: absolute;
  right: 50%;
  top: 10%;
  font-size:xx-small;
  color:white;
} */
/* 線のアニメーション部分 */
/* .scroll::before {
  animation: scroll 2s infinite;
  border-bottom: 1px solid white;
  border-left: 1px solid white;
  content: "";
  height: 1em;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  width: 1em;
} */
/* 線のアニメーション */
/* @keyframes scroll {
  0% {
    opacity: 0;
    transform: rotate(-45deg) translate(0, 0);
  }
  40% {
    opacity: 1;
  }
  80% {
    opacity: 0;
    transform: rotate(-45deg) translate(-20px, 20px);
  }
  100% {
    opacity: 0;
  }
} */