@charset "UTF-8";


@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@200;400;600&display=swap');

body {
  /* 書体指定 */
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.backimg {
  background-image: url(../img/img_2048.jpeg);
  min-height: 100vh;
  background-size: cover;
  background-position: center top;
}

/* ---------------- */
/* 下からアニメーション */

.circles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.circles li {
  position: absolute;
  display: block;
  list-style: none;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
  animation: animate 25s linear infinite;
  bottom: -150px;
}

.circles li:nth-child(1) {
  left: 25%;
  width: 80px;
  height: 80px;
  animation-delay: 0s;
}


.circles li:nth-child(2) {
  left: 10%;
  width: 20px;
  height: 20px;
  animation-delay: 2s;
  animation-duration: 12s;
}

.circles li:nth-child(3) {
  left: 70%;
  width: 20px;
  height: 20px;
  animation-delay: 4s;
}

.circles li:nth-child(4) {
  left: 40%;
  width: 60px;
  height: 60px;
  animation-delay: 0s;
  animation-duration: 18s;
}

.circles li:nth-child(5) {
  left: 65%;
  width: 20px;
  height: 20px;
  animation-delay: 0s;
}

.circles li:nth-child(6) {
  left: 75%;
  width: 110px;
  height: 110px;
  animation-delay: 3s;
}

.circles li:nth-child(7) {
  left: 35%;
  width: 150px;
  height: 150px;
  animation-delay: 7s;
}

.circles li:nth-child(8) {
  left: 50%;
  width: 25px;
  height: 25px;
  animation-delay: 15s;
  animation-duration: 45s;
}

.circles li:nth-child(9) {
  left: 20%;
  width: 15px;
  height: 15px;
  animation-delay: 2s;
  animation-duration: 35s;
}

.circles li:nth-child(10) {
  left: 85%;
  width: 150px;
  height: 150px;
  animation-delay: 0s;
  animation-duration: 11s;
}


@keyframes animate {

  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
    border-radius: 0;
  }

  100% {
    transform: translateY(-1000px) rotate(720deg);
    opacity: 0;
    border-radius: 50%;
  }

}

/* ---------------- */

header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.catchtxt {
  color: azure;
  font-size: 1.3rem;
  font-weight: 200;
  padding-top: 40px;
}

h1 {
  width: 300px;
  height: 77px;
  margin: 40px 0;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  /* position: relative; */
}

h2 {
  font-size: 2.2rem;
  font-weight: 600;
  margin: 20px 0;
  color: #f3eb58;
}

.fade-in-text {
  position: relative;
  opacity: 0;
  /* 初めは透明に設定 */
  transform: translateY(-30px);
  /* 下からスライドするために位置を下に設定 */
  animation: fadeInFromBottom 5s forwards;
  /* フェードインアニメーションの設定 */
}

@keyframes fadeInFromBottom {
  to {
    opacity: 1;
    /* アニメーション終了時に完全に表示 */
    transform: translateY(0);
    /* アニメーション終了時の位置 */
  }
}



.explanation {
  font-size: 1.3rem;
  padding-top: 12px;
  color: azure;
  text-align: left;
  line-height: 2rem;
}

.contact {
  width: 280px;
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 40px;
  color: rgb(14, 59, 149);
  border: 1px solid azure;
  border-radius: 16px;
  background-color: rgb(243, 235, 88);
  padding: 10px;
  text-align: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.contact:hover {
  background-color: orange;
}

footer {
  position: relative;
  color: #f5ec58;
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

footer div {
  margin-top: 10px;
  margin-bottom: 10px;
}


/* 横幅450px以下 */
@media screen and (max-width: 450px) {

  .catchtxt {
    font-size: 0.9rem;
  }

}