@charset "utf-8";  


html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: sans-serif;
}

body{
  background-image: url("images/背景.jpg");
  background-repeat: repeat;
  background-size: cover;
  background-attachment: scroll;
  background-position: center top;

}

body:not(.content-visible) .content-wrapper {
  opacity: 0;
  visibility: hidden;
}

.logo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 1s ease, visibility 1s ease;
}

.logo-img {
  height: 600px;
  width: auto;
  opacity: 0;
  filter: drop-shadow(0px 8px 20px rgba(0,0,0,0.4));
}

.logo.active .logo-img {
  animation: popBounce 3s ease forwards;
}

@keyframes popBounce {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  25% {
    transform: scale(1.2);
    opacity: 1;
  }
  40% {
    transform: scale(0.9);
  }
  55% {
    transform: translateY(-20px);
  }
  65% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(-12px);
  }
  85% {
    transform: translateY(0);
  }
  100% {
    transform: scale(1);
  }
}

.fade-out {
  opacity: 0;
  visibility: hidden;
}

.mitanuki {
  text-align: center;
  margin-top: 50px;
  opacity: 0;
  display: none;
  transition: opacity 1s ease;
}

.mitanuki.show {
  display: block;
  opacity: 1;
  overflow: auto;
  filter: drop-shadow(0px 8px 20px rgba(0,0,0,0.4));
}

.mitanuki img{
  height: 500px;
  width: auto;  
  margin-top: 100px;
}


.nazotoki_title{
  font-size: 40px;
  border: 5px solid;
  border-radius: 30px;
  margin-left: 200px;
  padding: 10px 30px;
  width: fit-content;
  margin-bottom: 10px;
}

.nazotoki_caption{
  font-size: 30px;
  text-align: center;
}

.tunagi{
  margin-left: 200px;
  margin-bottom: 200px;
}

.tunagi img{
  height: 300px;
  width: auto;
}

.stamp_title{
  font-size: 40px;
  border: 5px solid;
  border-radius: 30px;
  width: fit-content;
  padding: 10px 30px;
  margin-left: 200px;
}

.stamp_caption{
  font-size: 30px;
  text-align: center;
}

.stamp_caption img{
  width: 400px;
  height: auto;
}

.fade-in{
  opacity: 0;
  transform: translateY(40px); 
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible{
  opacity: 1;
  transform: translateY(0);
}

/*スマホ*/
@media (min-width:1px) and (max-width: 767px) {
.logo-img{
  width: 100%;
}  

.mitanuki img{
  text-align: center;
  width: 80%;
  height: auto;
}

.nazotoki_title{
  margin-left: 10px;
  font-size: 25px;
}

.nazotoki_caption{
  text-align: center;
  font-size: 20px;
}

.tunagi {
  margin-bottom: 35px;
}

.tunagi img{
  height: 150px;
}

.stamp_title{
  margin-left: 10px;
  font-size: 25px;
}

.stamp_caption{
  text-align: center;
  font-size: 19px;
}

.stamp_caption img{
  width: 350px;
}
}

/*タブレット*/
@media (min-width: 768px) and (max-width: 1350px) {
.nazotoki_title {
  margin-left: 100px;
}

.stamp_title{
  margin-left: 100px;
}

.stamp_caption img{
  width: 450px;
}
}