@charset "utf-8";

.first-view {
  height: 45vw;
  white-space: nowrap;
  background-image: url(../images/index/head.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  overflow: hidden;
}


.first-view-text {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  color: #ffffff;
  font-weight: bold;
  text-shadow: 1px 1px 10px #000000;
  font-family: 'Montserrat', sans-serif;
  display: flex;
  flex-direction: column;
  z-index: 6;
  animation-name:fadeAnime;
  animation-duration:4s;
  animation-fill-mode:forwards;
  opacity:0;
  }
  
  @keyframes fadeAnime{
    from {
      opacity: 0;
    }
  
    to {
      opacity: 1;
    }
}

.year {
  text-align: left;
  font-size: 9vw;
  padding-top: 30px;
  display: flex;
}

.hokazya {
  transform: rotate(-5deg);
  font-size: 9vw;
  align-items: center;
  justify-content: center;
  display: flex;
  margin-right: 10px;
}

.shiyo {
  margin-top: -1.5vw;
  margin-bottom: 40px;
  transform: rotate(-5deg);
  font-size: 9vw;
  align-items: center;
  justify-content: center;
  display: flex;
  margin-left: 10px;
}

.name {
  font-size: 2vw;
  text-align: right;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  display: flex;
  padding-bottom: 10px;
  margin-left: -50px;
  padding-left: -50px;
  margin-right: 120px;
  margin-top: 5vw;
}

.pengin {
  margin-top: -7vw;
  margin-left: -75vw;
  margin-bottom: 20px;
  display: block;
    animation-name:fadeRightAnime;
    animation-duration:7s;
    animation-fill-mode:forwards;
    opacity:0;
    }
    
    @keyframes fadeRightAnime{
      from {
        opacity: 0;
      transform: translateX(400px);
      }
    
      to {
        opacity: 1;
      transform: translateX(-100px);
      }

      
    }
    

.lead {
  max-width: 1200px;
  margin: 60px auto;
}



.lead p {
  line-height: 2;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
}

.span {
  color:#00bfff;
}

.link-button-area {
  text-align: center;
  margin-top: 2.5vw;
}

.link-button {
  background-color: #123b8d;
  display: inline-block;
  min-width: 180px;
  line-height: 48px;
  border-radius: 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
}

.link-button:hover {
  background-color: #696969;
}

.news {
  background-color: #ffffff;
  margin-top: 80px;
  padding-top: 45px;
  padding-bottom: 55px;
}

.news h2 {
  color: #000000;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

.news h2::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background-color: #000000;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
}

.news-list {
  display: flex;
  padding-top: 40px;
  padding-bottom: 0px;
  padding-left: 73px;
  overflow: scroll;
  color: #000000;
}

.news-list li {
  flex-shrink: 0;
  width: 260px;
  margin-left: 0px;
}

.news-list li p {
  width: 190px;
  font-size: 14px;
  line-height: 18px;
}

.news-list li:first-child {
  margin-left: 0px;
}

.news-list li:last-child {
  margin-right: 0px;
}

.news-title {
  margin-top: 10px;
  font-weight: bold;
  line-height: 20px;
  margin-bottom: 10px;
}


.news-button-area {
  margin-top: 1.5vw;
  text-align: center;
}

.events {
  display: block;
  width: 650px;
  max-width: 60%;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  background-color: #ffffff;
  color: #000000;
  justify-content: center;
  align-items: center;
  padding-top: 2vw;
  padding-bottom: 4vw;
  padding:2em;
position: relative;
border:1px solid #c6d4c6;
}

.events:before{
  border-bottom:30px solid transparent;
  border-left:30px solid #000000;
  content: '';
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
  }
  
  .events:after{
  border-left:30px solid transparent;
  border-bottom:30px solid #000000;
  content: '';
  display: block;
  position: absolute;
  bottom: 0px;
  right: 0px;
  }


.events img {
  width: 0;
}

.events-text {
  margin-right: 0;
  margin-left: 0;
}

.events-text h2 {
  font-size: 23px;
  line-height: 20px;
  text-align: center;
}

.events-text h2::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background-color: #000000;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
}

.events-text p {
  font-weight: bold;
  font-size: 18px;
  line-height: 2;
  margin-top: 11px;
  text-align: center;
  margin-bottom: 17px;
}

@media (max-width: 900px) {
  .name {
    margin-top: 2vw;
  }
}

@media (max-width: 700px) {
  .first-view {
    height: 50vw;
  }

  .first-view-text {
    padding-left: 3vw;
    padding-right: 3vw;
    }

  .year {
    padding-top: 4vw;
    font-size: 11vw;
    margin-bottom: 0;
  }

  .tobitate {
    font-size: 10vw;
    margin-right: 50px;
  }

  .tobikome {
    font-size: 12vw;
    margin-left: 50px;
    margin-top: -6px;
    margin-bottom: 0px;
    margin-bottom: 20px;
  }

  .name {
    font-size: 2vw;
    text-align: right;
    padding-bottom: 0;
    margin-right: 10px;

   
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    display: flex;
    margin-left: -50px;
    padding-left: -50px;
    padding-top: 10px;
    margin-top: 0;
  }

  .lead {
    margin: 35px auto;
  }

  .lead p {
    font-size: 3vw;
  }

  .link-button {
    min-width: 100px;
    line-height: 35px;
    border-radius: 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
  }

  .link-button-area {
    margin-top: 20px;
  }

  .news {
    background-color: #ffffff;
    padding-top: 25px;
    padding-bottom: 25px;
    margin-top: 0;
  }

  .news h2 {
    font-size: 3.5vw;
  }

  .news h2::after {
    margin-top: 13px;
  }

  .news-list {
    padding-left: 50px;
    padding-top: 20px;
    padding-bottom: 0;
  }

  .news-list li {
    flex-shrink: 0;
    width: 140px;
    margin-left: 0px;
  }

  .news-list li:last-child {
    padding-right: 0px;
  }

  .news-list li p {
    width: 100px;
    font-size: 2vw;
    line-height: 3vw;
  }

  .news-title {
    margin-top: 5px;
    font-weight: bold;
    line-height: 12px;
  }

  .news-button-area {
    margin-top: 0;
  }

  .events {
    display: block;
    width: 500px;
    margin-top: 0px;
    padding: 0px 20px;
    padding-bottom: 20px;
    margin-bottom: 40px;
    max-width: 75%;
  }

  .events img {
    width: 0;
  }

  .events-text {
    margin-right: 0;
    margin-left: 0;
  }

  .events-text h2 {
    margin-top: 1vw;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
  }

  .events-text h2::after {
    content: '';
    display: block;
    width: 36px;
    height: 3px;
    background-color: #000000;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
  }

  .events-text p {
    font-size: 10px;
    line-height: 17px;
    margin-top: 11px;
    text-align: center;
    margin-bottom: 5px;
  }


.pengin {
  margin-top: -7vw;
  margin-left: -75vw;
  margin-bottom: 10px;
  display: block;
    animation-name:fadeRightAnime;
    animation-duration:4s;
    animation-fill-mode:forwards;
    opacity:0;
      margin-right: 3vw;

    }
    
    @keyframes fadeRightAnime{
      from {
        opacity: 0;
      transform: translateX(300px);
      }
    
      to {
        opacity: 1;
      transform: translateX(0px);
      }
    }

}

#splash {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 999;
  background: #f0f8ff;
  text-align: center;
  color: #fff;
}

#splash_logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes fade-in{
  0%{opacity: 0;}
  100%{opacity: 1;}
}

#splash_logo img {
  width: 260px;
  opacity: 0;
  animation:fade-in 1.5s;
  animation-fill-mode: forwards;
}
@media screen and (min-width: 600px) {
  #splash_logo img {
    width: 500px;
  }
}
  

  



