/*
カスタムCSS
- メインビジュアルのアニメーション設定
*/

/* ログイン時の表示・非表示 */

.logged-in .loggin-menu a {
  display: none !important;
}

.logged-menu a {
  display: none !important;
}

.logged-in .logged-menu a {
  display: inline-block !important;
}

/* 〜599px：SP横
------------------------------ */
@media screen and (max-width: 599px) {
}

/* 480px〜599px：SP横
------------------------------ */
@media screen and (min-width: 480px) and (max-width: 599px) {
}

/* 600px〜999px：タブレット
------------------------------ */
@media screen and (min-width: 600px) and (max-width: 999px) {
}

/* 600px〜：タブレット以上
------------------------------ */
@media screen and (min-width: 600px) {
}

/* 〜999px：タブレット以下
------------------------------ */
@media screen and (max-width: 999px) {
}

/* 1000px〜：小型PC以上
------------------------------ */
@media screen and (min-width: 1000px) {
}

/* 1000px〜1279px：小型PC
------------------------------ */
@media screen and (min-width: 1000px) and (max-width: 1279px) {
}

/* 1280px〜：大型PC
------------------------------ */
@media screen and (min-width: 1280px) {
}





/*====*/
/* メインビジュアル */
/*====*/


/*=== スクロールダウン  ====*/
.scrolldown2 {
  /*描画位置※位置は適宜調整してください*/
  position: absolute;
  bottom: 5px;
  left: 50%;
}

/*Scrollテキストの描写*/
.scrolldown2 span {
  /*描画位置*/
  position: absolute;
  left: 10px;
  bottom: 10px;
  /*テキストの形状*/
  color: #191919;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  /*縦書き設定*/
  writing-mode: vertical-rl;
}

/* 丸の描写 */
.scrolldown2:before {
  content: "";
  /*描画位置*/
  position: absolute;
  bottom: 0;
  left: -4px;
  /*丸の形状*/
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #191919;
  /*丸の動き1.6秒かけて透過し、永遠にループ*/
  animation: circlemove 3s ease-in-out infinite, cirlemovehide 3s ease-out infinite;
}

/*下からの距離が変化して丸の全体が上から下に動く*/
@keyframes circlemove {
  0% {
    bottom: 45px;
  }
  100% {
    bottom: -5px;
  }
}
/*上から下にかけて丸が透過→不透明→透過する*/
@keyframes cirlemovehide {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  80% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}
/* 線の描写 */
.scrolldown2:after {
  content: "";
  /*描画位置*/
  position: absolute;
  bottom: 0;
  left: 0;
  /*線の形状*/
  width: 2px;
  height: 50px;
  background: #191919;
}

/*=== スクロールダウンここまで  ====*/
#Yojigen_poketto {
  width: 120px;
  height: auto;
}

#Yojigen_poketto .logosine {
  fill: #ffffff;
  animation: logo .3s ease-in 1.5s forwards, off .6s ease-in-out 3.2s forwards;
}

.text .logo, .text .logo svg {
  height: 60px;
}

.text .logo svg {
  width: 200px;
}

.text .logo .logosine {
  fill: #191919;
}

.text {
  font-family: "M PLUS 1p","Hiragino Kaku Gothic Pro","Meiryo","MS Pgothic",knowledge-reg,helvetica,arial,sans-serif;
  opacity: 0;
  position: absolute;
  z-index: 7;
  text-align: left;
  margin: -50px 0 0 -150px;
  width: 400px;
  height: auto;
  top: 50%;
  left: 50%;
  font-size: 18px;
  font-weight: 700;
  animation: on .6s ease-in-out 3.7s forwards;
}
.text p {
  white-space: nowrap;
  overflow: hidden;
  width: 100%;
  -webkit-margin-before: 0em;
          margin-block-start: 0em;
  -webkit-margin-after: 0em;
          margin-block-end: 0em;
  animation: type .3s steps(60, end) 3.7s;
}
.text p:nth-child(2) {
  animation: type2 .5s steps(60, end) 3.7s;
}
.text button {
  border: 0;
  opacity: 0;
  background: #191919;
  color: #f5d300;
  border: 1px solid #191919;
  letter-spacing: 2px;
  padding: 0.5rem 2.5rem;
  margin: 0.5rem 0 0 0;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.5s, background-color 0.5s;
  animation: on .6s ease-in-out 4s forwards;
}
.text button:hover {
  background: #f5d300;
  color: #191919;
  border: 1px solid #191919;
}

.splash {
  width: 100vw;
  max-width: 100%;
  height: 100vh;
  max-height: 100%;
  /* position: fixed; */
  top: 0;
  display: flex;
  overflow: hidden;
}
.splash_logo {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  margin: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 120px;
  text-align: center;
  height: 30px;
  font-size: 26px;
  font-weight: 600;
  color: #ffffff;
  opacity: 1;
  will-change: opacity;
  animation: logo .3s ease-in 1.5s forwards, off .6s ease-in-out 3.2s forwards;
}
.splash_logo:before {
  display: block;
  position: absolute;
  left: 15px;
  bottom: -10px;
  width: 20px;
  height: 0px;
  background-color: #757474;
  content: "";
}
.splash_logo:after {
  display: block;
  position: absolute;
  left: 15px;
  top: 0px;
  width: 20px;
  height: 0px;
  background-color: #757474;
  content: "";
  will-change: width;
}
.splash_svg {
  position: relative;
  margin: auto;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  bottom: 0;
  right: 0;
}
.splash_svg svg {
  width: 100%;
  height: 100%;
  backface-visibility: visible;
}
.splash_svg svg rect {
  width: 100%;
  height: 100%;
  fill: #f5d300;
  stroke: 0;
  -webkit-clip-path: polygon(42vw 38vh, 58vw 38vh, 58vw 62vh, 42vw 62vh);
  clip-path: polygon(42vw 38vh, 58vw 38vh, 58vw 62vh, 42vw 62vh);
  animation: expand .7s ease-in forwards 2.7s;
}
@media (max-width: 768px) {
  .splash_svg svg rect {
    -webkit-clip-path: polygon(22vw 40vh, 78vw 40vh, 78vw 60vh, 22vw 60vh);
    clip-path: polygon(22vw 40vh, 78vw 40vh, 78vw 60vh, 22vw 60vh);
    animation: expand_sp .7s ease-in forwards 2.7s;
  }
}
.splash_minimize {
  position: absolute;
  margin: auto;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 4;
}
.splash_minimize svg {
  width: 100%;
  height: 100%;
  backface-visibility: visible;
}
.splash_minimize svg rect {
  width: 100%;
  height: 100%;
  -webkit-clip-path: polygon(0vw 0vh, 100vw 0vh, 100vw 100vh, 0vw 100vh);
  clip-path: polygon(0vw 0vh, 100vw 0vh, 100vw 100vh, 0vw 100vh);
  animation: scale .2s ease-out forwards 1s, hide 1.3s ease-out forwards 1.2s;
}
@media (max-width: 768px) {
  .splash_minimize svg rect {
    animation: scale_sp .2s ease-out forwards 1s, hide 1.3s ease-out forwards 1.2s;
  }
}
@keyframes scale {
  100% {
    -webkit-clip-path: polygon(42vw 38vh, 58vw 38vh, 58vw 62vh, 42vw 62vh);
    clip-path: polygon(42vw 38vh, 58vw 38vh, 58vw 62vh, 42vw 62vh);
  }
}
@keyframes scale_sp {
  100% {
    -webkit-clip-path: polygon(25vw 40vh, 75vw 40vh, 75vw 60vh, 25vw 60vh);
    clip-path: polygon(22vw 40vh, 78vw 40vh, 78vw 60vh, 22vw 60vh);
  }
}
@keyframes hide {
  100% {
    fill: transparent;
  }
}
@keyframes off {
  100% {
    opacity: 0;
  }
}
@keyframes on {
  100% {
    opacity: 1;
  }
}
@keyframes logo {
  100% {
    fill: #292929;
  }
}
@keyframes type {
  0% {
    width: 0;
  }
}
@keyframes type2 {
  0% {
    width: 0;
  }
  50% {
    width: 0;
  }
  100% {
    width: 100;
  }
}
@keyframes expand {
  25% {
    -webkit-clip-path: polygon(0vw 0vh, 58vw 38vh, 58vw 62vh, 42vw 62vh);
    clip-path: polygon(0vw 0vh, 58vw 38vh, 58vw 62vh, 42vw 62vh);
    fill: white;
  }
  50% {
    -webkit-clip-path: polygon(0vw 0vh, 100vw 0vh, 58vw 62vh, 42vw 62vh);
    clip-path: polygon(0vw 0vh, 100vw 0vh, 58vw 62vh, 42vw 62vh);
    fill: #f5d300;
  }
  75% {
    -webkit-clip-path: polygon(0vw 0vh, 100vw 0vh, 58vw 62vh, 0vw 100vh);
    clip-path: polygon(0vw 0vh, 100vw 0vh, 58vw 62vh, 0vw 100vh);
    fill: white;
  }
  100% {
    -webkit-clip-path: polygon(0vw 0vh, 100vw 0vh, 100vw 100vh, 0vw 100vh);
    clip-path: polygon(0vw 0vh, 100vw 0vh, 100vw 100vh, 0vw 100vh);
    fill: #f5d300;
  }
}
@keyframes expand_sp {
  25% {
    -webkit-clip-path: polygon(0vw 0vh, 75vw 40vh, 75vw 58vh, 25vw 58vh);
    clip-path: polygon(0vw 0vh, 75vw 40vh, 75vw 58vh, 25vw 58vh);
    fill: white;
  }
  50% {
    -webkit-clip-path: polygon(0vw 0vh, 100vw 0vh, 75vw 60vh, 25vw 60vh);
    clip-path: polygon(0vw 0vh, 100vw 0vh, 75vw 60vh, 25vw 60vh);
    fill: #f5d300;
  }
  75% {
    -webkit-clip-path: polygon(0vw 0vh, 100vw 0vh, 75vw 60vh, 0vw 100vh);
    clip-path: polygon(0vw 0vh, 100vw 0vh, 75vw 60vh, 0vw 100vh);
    fill: white;
  }
  100% {
    -webkit-clip-path: polygon(0vw 0vh, 100vw 0vh, 100vw 100vh, 0vw 100vh);
    clip-path: polygon(0vw 0vh, 100vw 0vh, 100vw 100vh, 0vw 100vh);
    fill: #f5d300;
  }
}/*# sourceMappingURL=style.css.map */



/* メインビジュアルの背景色をkeyframe expandが終わった後に変更する */

#MainVisual {
  animation: changeBackground 0s forwards 5s;
  background-color: #191919;
}

@keyframes changeBackground {
  to {
    background-color: #f5d300;
  }
}