@charset "utf-8";
@import "reset.css";
header {
  background-color: #fff;
  padding-top: 50px;
}
.h4 {
  font-family: 'Homemade Apple', cursive;
  text-align: center;
  font-size: 35%;
  animation-delay: 6s;
  animation: fadein-h4 3s ease 6.5s forwards;
  opacity: 0;
}
@keyframes fadein-h4 {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.line-1 {
  position: relative;
  top: 50%;
  width: 24em;
  margin: 0 auto;
  font-size: 0.7em;
  line-height: 2.2;
  font-weight: 300 !important;
  color: #2A5273;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  transform: translateY(-50%);
}
.anim-typewriter a:hover {
  text-decoration: underline;
}
/* Animation */
.anim-typewriter {
  animation: typewriter 4s steps(44) 4.5s 1 normal both, blinkTextCursor 500ms steps(44) infinite normal;
}
@keyframes typewriter {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
.h3 {
  animation: fadeOutAnime 1s ease 6s forwards;
}
@keyframes fadeOutAnime {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
#header-img {
  width: 13%;
  height: auto;
  margin: 5% auto;
  animation: pers 2s 1;
}
#header-img .flash {
  animation: flash .03s infinite;
}
@keyframes flash {
  0% {
    opacity: 1;
  }
  100% {
    opacity: .8;
  }
}
/* 画像hover時拡大 */
/*img:hover {
  transform: scale(1.5);
  transition-duration: 0.5s;
}*/
@media screen and (max-width:770px) {
  header {
    margin: 30% auto;
  }
}
@media screen and (max-width:420px) {
  #header-img {
    width: 60%;
  }
  .line-1 {
    font-size: 50%;
    letter-spacing: 0.15em;
    margin: 10% auto;
  }
}
@media screen and (max-width:330px) {
  .line-1 {
    letter-spacing: 0.1em;
  }
}
@media screen and (max-width:300px) {
  .line-1 {
    letter-spacing: 0em;
  }
}