@charset "utf-8";

/*////////// ヘッダー //////////*/

header.on-movie {
  display: none;
  position: absolute;
  background-color: rgba(0,0,0,0.3);
  color: #fff;
  top: auto;
  bottom: 0;
}

header.on-movie a {
  color: #fff;
}

header.on-movie nav {
  max-width: 1200px;
  margin: 0 auto;
}

header.on-movie h1 {
  display: none;
}

header.on-movie .g-nav-l {
  flex-grow: 1;
}

header.on-movie .g-nav-r li a {
  border-left: solid 1px #fff;
}

header.on-movie .g-nav-l a::after,
header.on-movie .g-nav-r a::after {
  background-color: #fff;
}

/*////////// メインビジュアル //////////*/

#movie-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100vh;
}

.overlay, #youtube_player {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
}

.overlay{
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

#youtube_player{
  z-index: -2;
}

/* ロゴ描画 */

.logo-anim {
  position: absolute;
  width: min(58.1vh, 581px);
  margin: auto;
  top: 35vh;
  left: 0;
  right: 0;
}

.st1{
  stroke:#fff;
  stroke-dasharray: 2000;
  stroke-dashoffset: 0;
  stroke-width: 1;
  -webkit-animation: hello 4s ease-in 0s forwards;
  animation: hello 4s ease-in 0s forwards;
}
@-webkit-keyframes hello {
  0% {
    stroke-dashoffset: 2000;
    fill:transparent;
  }
  40% {
    stroke-dashoffset: 2000;
    fill:transparent;
  }
  50% {
    fill:transparent;
  }
  100% {
    stroke-dashoffset: 0;
    stroke: transparent;
    fill:#fff;
  }
}

.st7 {
  stroke:#fff;
  stroke-dasharray: 2000;
  stroke-dashoffset: 0;
  stroke-width: 1;
  -webkit-animation: hello2 4s ease-in 0s forwards;
  animation: hello2 4s ease-in 0s forwards;
}
@-webkit-keyframes hello2 {
  0% {
    stroke-dashoffset: 2000;
    fill:transparent;
  }
  40% {
    stroke-dashoffset: 2000;
    fill:transparent;
  }
  50% {
    fill:transparent;
  }
  100% {
    stroke-dashoffset: 0;
    stroke: transparent;
    fill:#b3dd31;
  }
}

.st2 {
  stroke:#fff;
  stroke-dasharray: 2000;
  stroke-dashoffset: 0;
  stroke-width: 1;
  -webkit-animation: hello3 4s ease-in 0s forwards;
  animation: hello3 4s ease-in 0s forwards;
}
@-webkit-keyframes hello3 {
  0% {
    stroke-dashoffset: 2000;
    fill:transparent;
  }
  40% {
    stroke-dashoffset: 2000;
    fill:transparent;
  }
  50% {
    fill:transparent;
  }
  100% {
    stroke-dashoffset: 0;
    stroke: transparent;
    fill:#0ca54d;
  }
}

.st0 {
  stroke:#fff;
  stroke-dasharray: 2000;
  stroke-dashoffset: 0;
  stroke-width: 1;
  -webkit-animation: hello4 4s ease-in 0s forwards;
  animation: hello4 4s ease-in 0s forwards;
}
@-webkit-keyframes hello4 {
  0% {
    stroke-dashoffset: 2000;
    fill:transparent;
  }
  40% {
    stroke-dashoffset: 2000;
    fill:transparent;
  }
  50% {
    fill:transparent;
  }
  100% {
    stroke-dashoffset: 0;
    stroke: transparent;
    fill:#f44b00;
  }
}

.st4 {
  stroke:#fff;
  stroke-dasharray: 2000;
  stroke-dashoffset: 0;
  stroke-width: 1;
  -webkit-animation: hello5 4s ease-in 0s forwards;
  animation: hello5 4s ease-in 0s forwards;
}
@-webkit-keyframes hello5 {
  0% {
    stroke-dashoffset: 2000;
    fill:transparent;
  }
  40% {
    stroke-dashoffset: 2000;
    fill:transparent;
  }
  50% {
    fill:transparent;
  }
  100% {
    stroke-dashoffset: 0;
    stroke: transparent;
    fill:#009fdd;
  }
}

.st6{
  stroke:#fff;
  stroke-dasharray: 2000;
  stroke-dashoffset: 0;
  stroke-width: 1;
  -webkit-animation: hello6 4s ease-in 0s forwards;
  animation: hello6 4s ease-in 0s forwards;
}
@-webkit-keyframes hello6 {
  0% {
    stroke-dashoffset: 2000;
    fill:transparent;
  }
  40% {
    stroke-dashoffset: 2000;
    fill:transparent;
  }
  50% {
    fill:transparent;
  }
  100% {
    stroke-dashoffset: 0;
    stroke: transparent;
    fill:#0059db;
  }
}

.st5 {
  stroke:#fff;
  stroke-dasharray: 2000;
  stroke-dashoffset: 0;
  stroke-width: 1;
  -webkit-animation: hello7 4s ease-in 0s forwards;
  animation: hello7 4s ease-in 0s forwards;
}
@-webkit-keyframes hello7 {
  0% {
    stroke-dashoffset: 2000;
    fill:transparent;
  }
  40% {
    stroke-dashoffset: 2000;
    fill:transparent;
  }
  50% {
    fill:transparent;
  }
  100% {
    stroke-dashoffset: 0;
    stroke: transparent;
    fill:#ed3e96;
  }
}

.st8 {
  stroke:#fff;
  stroke-dasharray: 2000;
  stroke-dashoffset: 0;
  stroke-width: 1;
  -webkit-animation: hello8 4s ease-in 0s forwards;
  animation: hello8 4s ease-in 0s forwards;
}
@-webkit-keyframes hello8 {
  0% {
    stroke-dashoffset: 2000;
    fill:transparent;
  }
  40% {
    stroke-dashoffset: 2000;
    fill:transparent;
  }
  50% {
    fill:transparent;
  }
  100% {
    stroke-dashoffset: 0;
    stroke: transparent;
    fill:#e21313;
  }
}

.st3 {
  stroke:#fff;
  stroke-dasharray: 2000;
  stroke-dashoffset: 0;
  stroke-width: 1;
  -webkit-animation: hello9 4s ease-in 0s forwards;
  animation: hello9 4s ease-in 0s forwards;
}
@-webkit-keyframes hello9 {
  0% {
    stroke-dashoffset: 2000;
    fill:transparent;
  }
  40% {
    stroke-dashoffset: 2000;
    fill:transparent;
  }
  50% {
    fill:transparent;
  }
  100% {
    stroke-dashoffset: 0;
    stroke: transparent;
    fill:#fa0;
  }
}

#txt-catch {
  position: absolute;
  display: none;
	width: 19ch;
  margin: auto;
  color: #fff;
  font-size: min(4vh, 30px);
  text-align: center;
  letter-spacing: 0.2em;
  top: 55vh;
  left: 0;
  right: 0;
	border-right: 2px solid #fff;
	overflow: hidden;
	white-space: nowrap;
	animation: typing 2s steps(17), cursor-blink .4s step-end infinite alternate;
}
@keyframes typing {
	from {
		width: 0;
	}
}
@keyframes cursor-blink {
	50% {
		border-color: transparent;		/*点滅風に見せる*/
	}
}


/*////////// コンテンツ・ミニゲーム //////////*/

#contents {
  width: 100%;
  background-color: #efefef;
}

#minigame {
  width: 100%;
}

#minigame h2 + p {
  padding-top: min(4vw, 40px);
  font-weight: 700;
  text-align: center;
}

.contents-list {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-top: min(5vw, 50px);
}

.contents-img {
  width: 100%;
  overflow:hidden;
}

.contents-list a:hover img {
  transform: scale(1.1);
  transition: 1s all;
}

.slide-item div {
  padding: 1.5em;
}

.contents-title {
  display: -webkit-box;
  overflow: hidden;
  margin: 1em 0 0.6em;
  font-size: min(3vw, 20px);
  font-weight: 700;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

#minigame .contents-title {
  padding: 0 0 0.6em;
}

.contents-title + div {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  padding: 0;
}

/*//////////////////////////////    750px以下    //////////////////////////////*/

@media screen and (max-width: 750px) {

  /*////////// メインビジュアル //////////*/

  #movie-wrap {
    height: 145vw;
    margin-top: 15vw;
  }

  .logo-anim {
    width: 68vw;
    top: 54vw;
  }

  #txt-catch {
    font-size: 4.2vw;
    top: 78vw;
  }

}