@charset "utf-8";

h2.title span.newyear_date{
  position: relative;
  padding-bottom: 1rem;
  margin: 10rem auto 3rem auto;
  font-size: 7rem;
  line-height: 6rem;
  font-family: "din-2014", sans-serif;
  font-weight: 600;
  font-style: italic;
  /* border-bottom: dashed 2px #fff; */
  background-color: none;
  width: 90%;
  z-index: 100;
}
/* 星空の背景のスタイル */
.stars {
  position: relative;
  width: 100%; /* 星空の横幅 */
  height: auto; /* 星空の縦幅 */
  overflow: hidden; /* 星が枠外にはみ出すのを防ぐ */
}

/* 星のスタイル */
.star {
  position: absolute;
  display: block;
  background-color: #f6ff00; /* 星の色 */
  border-radius: 50%;
  box-shadow: 0 0 4px 2px rgba(#fff, 0.2); /* 星の影 */
  opacity: 0;
  animation: twinkle 2.5s infinite;
}

/* 星がキラキラ光るアニメーション */
@keyframes twinkle {
  0% {
    opacity: 0;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scale(1);
  }
}

.newyear_title{
	background-image:url(../img/bg_title.png);
  background-size: 630px 80px; /* image size */
  animation: newyear_title 10s infinite linear;
}
@-webkit-keyframes newyear_title {
  from {
      background-position: 0  0;
  }
  to {
      background-position: -630px 0;
  }
}
@keyframes newyear_title {
  from {
      background-position: 0 0;
  }
  to {
      background-position: -630px 0;
  }
}
/* 拡大 */
.zoomIn{
  animation-name:zoomInAnime;
  animation-duration:0.5s;
  animation-fill-mode:forwards;
}

@keyframes zoomInAnime{
  from {
  transform: scale(0.2);
  opacity: 0;
  }

  to {
    transform: scale(1);
  opacity: 1;
  }
}
.zoomInTrigger,
.zoomOutTrigger{
    opacity: 0;
}
/* fadeUp */

.fadeUp{
  animation-name:fadeUpAnime;
  animation-duration:0.9s;
  animation-fill-mode:forwards;
  opacity:0;
  }
  
  @keyframes fadeUpAnime{
    from {
      opacity: 0;
    transform: translateY(100px);
    }
  
    to {
      opacity: 1;
    transform: translateY(0);
    }
  }
  
  
  /* スクロールをしたら出現する要素にはじめに透過0を指定　*/
   
  .fadeUpTrigger{
      opacity: 0;
  }

  .loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    background-image:url(../img/bg.jpg) ;
    /* background-size:  cover; */
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-repeat: repeat;
    background-size: 100%;
    /* animation: fadeOut 1.5s 4.5s forwards; */
  }
  
  @keyframes fadeOut {
    0% {
      opacity: 1;
    }
  
    100% {
      opacity: 0;
      visibility: hidden;
    }
  }
  
  .loading__logo {
    opacity: 0;
    animation: logo_fade 5s 0.2s forwards;
    width: 50%;
    max-width: 500px;
  }
  
  @keyframes logo_fade {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
  
    60% {
      opacity: 1;
      transform: translateY(0);
    }
  
    100% {
      opacity: 0;
    }
  }
  @media only screen and (max-width:768px){
    .loading__logo {
      width: 90%;
    }
  }

